You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
420 KiB
126 lines
420 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[921],{27812:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return D}});var x=f(72308),R=f(59301),W={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"},z=W,A=f(7657),U=function(E,c){return R.createElement(A.Z,(0,x.Z)({},E,{ref:c,icon:z}))},K=R.forwardRef(U),D=K},84105:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return D}});var x=f(72308),R=f(59301),W={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"},z=W,A=f(7657),U=function(E,c){return R.createElement(A.Z,(0,x.Z)({},E,{ref:c,icon:z}))},K=R.forwardRef(U),D=K},18785:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return D}});var x=f(72308),R=f(59301),W={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"},z=W,A=f(7657),U=function(E,c){return R.createElement(A.Z,(0,x.Z)({},E,{ref:c,icon:z}))},K=R.forwardRef(U),D=K},33853:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return D}});var x=f(72308),R=f(59301),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},z=W,A=f(7657),U=function(E,c){return R.createElement(A.Z,(0,x.Z)({},E,{ref:c,icon:z}))},K=R.forwardRef(U),D=K},38819:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return D}});var x=f(72308),R=f(59301),W={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"},z=W,A=f(7657),U=function(E,c){return R.createElement(A.Z,(0,x.Z)({},E,{ref:c,icon:z}))},K=R.forwardRef(U),D=K},35593:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return ke}});var x=f(77321),R=f(52487),W=f(74416),z=f(43403),A=f(92310),U=f.n(A),K=f(29301),D=f(76846),e=f(96452),E=f(6089),c=f(80402),i=f(34280),n=f(49658),s=f(59301),a=f(72308),g=f(77900),v=f(8654);function h(k){var B=k.prefixCls,p=k.align,N=k.arrow,j=k.arrowPos,o=N||{},S=o.className,$=o.content,Z=j.x,F=Z===void 0?0:Z,V=j.y,te=V===void 0?0:V,le=s.useRef();if(!p||!p.points)return null;var ae={position:"absolute"};if(p.autoArrow!==!1){var oe=p.points[0],Ee=p.points[1],ye=oe[0],ge=oe[1],$e=Ee[0],Se=Ee[1];ye===$e||!["t","b"].includes(ye)?ae.top=te:ye==="t"?ae.top=0:ae.bottom=0,ge===Se||!["l","r"].includes(ge)?ae.left=F:ge==="l"?ae.left=0:ae.right=0}return s.createElement("div",{ref:le,className:U()("".concat(B,"-arrow"),S),style:ae},$)}function u(k){var B=k.prefixCls,p=k.open,N=k.zIndex,j=k.mask,o=k.motion;return j?s.createElement(g.default,(0,a.Z)({},o,{motionAppear:!0,visible:p,removeOnLeave:!0}),function(S){var $=S.className;return s.createElement("div",{style:{zIndex:N},className:U()("".concat(B,"-mask"),$)})}):null}var d=s.memo(function(k){var B=k.children;return B},function(k,B){return B.cache}),I=d,C=s.forwardRef(function(k,B){var p=k.popup,N=k.className,j=k.prefixCls,o=k.style,S=k.target,$=k.onVisibleChanged,Z=k.open,F=k.keepDom,V=k.fresh,te=k.onClick,le=k.mask,ae=k.arrow,oe=k.arrowPos,Ee=k.align,ye=k.motion,ge=k.maskMotion,$e=k.forceRender,Se=k.getPopupContainer,_e=k.autoDestroy,We=k.portal,Ve=k.zIndex,qe=k.onMouseEnter,Ke=k.onMouseLeave,_t=k.onPointerEnter,et=k.ready,ct=k.offsetX,tt=k.offsetY,xt=k.offsetR,He=k.offsetB,Ye=k.onAlign,Xe=k.onPrepare,rt=k.stretch,me=k.targetWidth,Tt=k.targetHeight,st=typeof p=="function"?p():p,vt=Z||F,Pt=(Se==null?void 0:Se.length)>0,pt=s.useState(!Se||!Pt),Wt=(0,R.Z)(pt,2),en=Wt[0],dt=Wt[1];if((0,i.Z)(function(){!en&&Pt&&S&&dt(!0)},[en,Pt,S]),!en)return null;var Kt="auto",Et={left:"-1000vw",top:"-1000vh",right:Kt,bottom:Kt};if(et||!Z){var Ot,tn=Ee.points,Xt=Ee.dynamicInset||((Ot=Ee._experimental)===null||Ot===void 0?void 0:Ot.dynamicInset),nn=Xt&&tn[0][1]==="r",dn=Xt&&tn[0][0]==="b";nn?(Et.right=xt,Et.left=Kt):(Et.left=ct,Et.right=Kt),dn?(Et.bottom=He,Et.top=Kt):(Et.top=tt,Et.bottom=Kt)}var bt={};return rt&&(rt.includes("height")&&Tt?bt.height=Tt:rt.includes("minHeight")&&Tt&&(bt.minHeight=Tt),rt.includes("width")&&me?bt.width=me:rt.includes("minWidth")&&me&&(bt.minWidth=me)),Z||(bt.pointerEvents="none"),s.createElement(We,{open:$e||vt,getContainer:Se&&function(){return Se(S)},autoDestroy:_e},s.createElement(u,{prefixCls:j,open:Z,zIndex:Ve,mask:le,motion:ge}),s.createElement(K.Z,{onResize:Ye,disabled:!Z},function(un){return s.createElement(g.default,(0,a.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$e,leavedClassName:"".concat(j,"-hidden")},ye,{onAppearPrepare:Xe,onEnterPrepare:Xe,visible:Z,onVisibleChanged:function(Ft){var an;ye==null||(an=ye.onVisibleChanged)===null||an===void 0||an.call(ye,Ft),$(Ft)}}),function(Zt,Ft){var an=Zt.className,ot=Zt.style,cn=U()(j,an,N);return s.createElement("div",{ref:(0,v.sQ)(un,B,Ft),className:cn,style:(0,x.Z)((0,x.Z)((0,x.Z)((0,x.Z)({"--arrow-x":"".concat(oe.x||0,"px"),"--arrow-y":"".concat(oe.y||0,"px")},Et),bt),ot),{},{boxSizing:"border-box",zIndex:Ve},o),onMouseEnter:qe,onMouseLeave:Ke,onPointerEnter:_t,onClick:te},ae&&s.createElement(h,{prefixCls:j,arrow:ae,arrowPos:oe,align:Ee}),s.createElement(I,{cache:!Z&&!V},st))})}))}),M=C,P=s.forwardRef(function(k,B){var p=k.children,N=k.getTriggerDOMNode,j=(0,v.Yr)(p),o=s.useCallback(function($){(0,v.mH)(B,N?N($):$)},[N]),S=(0,v.x1)(o,p.ref);return j?s.cloneElement(p,{ref:S}):p}),L=P,G=s.createContext(null),J=G;function Q(k){return k?Array.isArray(k)?k:[k]:[]}function re(k,B,p,N){return s.useMemo(function(){var j=Q(p!=null?p:B),o=Q(N!=null?N:B),S=new Set(j),$=new Set(o);return k&&(S.has("hover")&&(S.delete("hover"),S.add("click")),$.has("hover")&&($.delete("hover"),$.add("click"))),[S,$]},[k,B,p,N])}var w=f(29194);function _(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],p=arguments.length>2?arguments[2]:void 0;return p?k[0]===B[0]:k[0]===B[0]&&k[1]===B[1]}function y(k,B,p,N){for(var j=p.points,o=Object.keys(k),S=0;S<o.length;S+=1){var $,Z=o[S];if(_(($=k[Z])===null||$===void 0?void 0:$.points,j,N))return"".concat(B,"-placement-").concat(Z)}return""}function l(k,B,p,N){return B||(p?{motionName:"".concat(k,"-").concat(p)}:N?{motionName:N}:null)}function O(k){return k.ownerDocument.defaultView}function b(k){for(var B=[],p=k==null?void 0:k.parentElement,N=["hidden","scroll","clip","auto"];p;){var j=O(p).getComputedStyle(p),o=j.overflowX,S=j.overflowY,$=j.overflow;[o,S,$].some(function(Z){return N.includes(Z)})&&B.push(p),p=p.parentElement}return B}function t(k){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(k)?B:k}function r(k){return t(parseFloat(k),0)}function m(k,B){var p=(0,x.Z)({},k);return(B||[]).forEach(function(N){if(!(N instanceof HTMLBodyElement||N instanceof HTMLHtmlElement)){var j=O(N).getComputedStyle(N),o=j.overflow,S=j.overflowClipMargin,$=j.borderTopWidth,Z=j.borderBottomWidth,F=j.borderLeftWidth,V=j.borderRightWidth,te=N.getBoundingClientRect(),le=N.offsetHeight,ae=N.clientHeight,oe=N.offsetWidth,Ee=N.clientWidth,ye=r($),ge=r(Z),$e=r(F),Se=r(V),_e=t(Math.round(te.width/oe*1e3)/1e3),We=t(Math.round(te.height/le*1e3)/1e3),Ve=(oe-Ee-$e-Se)*_e,qe=(le-ae-ye-ge)*We,Ke=ye*We,_t=ge*We,et=$e*_e,ct=Se*_e,tt=0,xt=0;if(o==="clip"){var He=r(S);tt=He*_e,xt=He*We}var Ye=te.x+et-tt,Xe=te.y+Ke-xt,rt=Ye+te.width+2*tt-et-ct-Ve,me=Xe+te.height+2*xt-Ke-_t-qe;p.left=Math.max(p.left,Ye),p.top=Math.max(p.top,Xe),p.right=Math.min(p.right,rt),p.bottom=Math.min(p.bottom,me)}}),p}function T(k){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,p="".concat(B),N=p.match(/^(.*)\%$/);return N?k*(parseFloat(N[1])/100):parseFloat(p)}function X(k,B){var p=B||[],N=(0,R.Z)(p,2),j=N[0],o=N[1];return[T(k.width,j),T(k.height,o)]}function ee(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[k[0],k[1]]}function ce(k,B){var p=B[0],N=B[1],j,o;return p==="t"?o=k.y:p==="b"?o=k.y+k.height:o=k.y+k.height/2,N==="l"?j=k.x:N==="r"?j=k.x+k.width:j=k.x+k.width/2,{x:j,y:o}}function fe(k,B){var p={t:"b",b:"t",l:"r",r:"l"};return k.map(function(N,j){return j===B?p[N]||"c":N}).join("")}function be(k,B,p,N,j,o,S){var $=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:j[N]||{}}),Z=(0,R.Z)($,2),F=Z[0],V=Z[1],te=s.useRef(0),le=s.useMemo(function(){return B?b(B):[]},[B]),ae=s.useRef({}),oe=function(){ae.current={}};k||oe();var Ee=(0,E.Z)(function(){if(B&&p&&k){let Jt=function(Bt,bn){var yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:cn,sn=st.x+Bt,qt=st.y+bn,Hn=sn+Ot,Xn=qt+Et,Vn=Math.max(sn,yn.left),qn=Math.max(qt,yn.top),Qn=Math.min(Hn,yn.right),Kn=Math.min(Xn,yn.bottom);return Math.max(0,(Qn-Vn)*(Kn-qn))},kn=function(){At=st.y+Ie,Rt=At+Et,$t=st.x+Be,Ht=$t+Ot};var $e,Se,_e=B,We=_e.ownerDocument,Ve=O(_e),qe=Ve.getComputedStyle(_e),Ke=qe.width,_t=qe.height,et=qe.position,ct=_e.style.left,tt=_e.style.top,xt=_e.style.right,He=_e.style.bottom,Ye=_e.style.overflow,Xe=(0,x.Z)((0,x.Z)({},j[N]),o),rt=We.createElement("div");($e=_e.parentElement)===null||$e===void 0||$e.appendChild(rt),rt.style.left="".concat(_e.offsetLeft,"px"),rt.style.top="".concat(_e.offsetTop,"px"),rt.style.position=et,rt.style.height="".concat(_e.offsetHeight,"px"),rt.style.width="".concat(_e.offsetWidth,"px"),_e.style.left="0",_e.style.top="0",_e.style.right="auto",_e.style.bottom="auto",_e.style.overflow="hidden";var me;if(Array.isArray(p))me={x:p[0],y:p[1],width:0,height:0};else{var Tt=p.getBoundingClientRect();me={x:Tt.x,y:Tt.y,width:Tt.width,height:Tt.height}}var st=_e.getBoundingClientRect(),vt=We.documentElement,Pt=vt.clientWidth,pt=vt.clientHeight,Wt=vt.scrollWidth,en=vt.scrollHeight,dt=vt.scrollTop,Kt=vt.scrollLeft,Et=st.height,Ot=st.width,tn=me.height,Xt=me.width,nn={left:0,top:0,right:Pt,bottom:pt},dn={left:-Kt,top:-dt,right:Wt-Kt,bottom:en-dt},bt=Xe.htmlRegion,un="visible",Zt="visibleFirst";bt!=="scroll"&&bt!==Zt&&(bt=un);var Ft=bt===Zt,an=m(dn,le),ot=m(nn,le),cn=bt===un?ot:an,Mt=Ft?ot:cn;_e.style.left="auto",_e.style.top="auto",_e.style.right="0",_e.style.bottom="0";var In=_e.getBoundingClientRect();_e.style.left=ct,_e.style.top=tt,_e.style.right=xt,_e.style.bottom=He,_e.style.overflow=Ye,(Se=_e.parentElement)===null||Se===void 0||Se.removeChild(rt);var ve=t(Math.round(Ot/parseFloat(Ke)*1e3)/1e3),de=t(Math.round(Et/parseFloat(_t)*1e3)/1e3);if(ve===0||de===0||(0,D.Sh)(p)&&!(0,w.Z)(p))return;var Ue=Xe.offset,je=Xe.targetOffset,St=X(st,Ue),Ut=(0,R.Z)(St,2),Ct=Ut[0],Ne=Ut[1],H=X(me,je),Y=(0,R.Z)(H,2),ne=Y[0],ue=Y[1];me.x-=ne,me.y-=ue;var q=Xe.points||[],he=(0,R.Z)(q,2),se=he[0],pe=he[1],xe=ee(pe),we=ee(se),ze=ce(me,xe),De=ce(st,we),nt=(0,x.Z)({},Xe),Be=ze.x-De.x+Ct,Ie=ze.y-De.y+Ne,lt=Jt(Be,Ie),at=Jt(Be,Ie,ot),mt=ce(me,["t","l"]),it=ce(st,["t","l"]),Je=ce(me,["b","r"]),Qe=ce(st,["b","r"]),Ge=Xe.overflow||{},ft=Ge.adjustX,Dt=Ge.adjustY,ut=Ge.shiftX,rn=Ge.shiftY,yt=function(bn){return typeof bn=="boolean"?bn:bn>=0},At,Rt,$t,Ht;kn();var Qt=yt(Dt),fn=we[0]===xe[0];if(Qt&&we[0]==="t"&&(Rt>Mt.bottom||ae.current.bt)){var Lt=Ie;fn?Lt-=Et-tn:Lt=mt.y-Qe.y-Ne;var Vt=Jt(Be,Lt),hn=Jt(Be,Lt,ot);Vt>lt||Vt===lt&&(!Ft||hn>=at)?(ae.current.bt=!0,Ie=Lt,Ne=-Ne,nt.points=[fe(we,0),fe(xe,0)]):ae.current.bt=!1}if(Qt&&we[0]==="b"&&(At<Mt.top||ae.current.tb)){var gt=Ie;fn?gt+=Et-tn:gt=Je.y-it.y-Ne;var On=Jt(Be,gt),Tn=Jt(Be,gt,ot);On>lt||On===lt&&(!Ft||Tn>=at)?(ae.current.tb=!0,Ie=gt,Ne=-Ne,nt.points=[fe(we,0),fe(xe,0)]):ae.current.tb=!1}var wn=yt(ft),Sn=we[1]===xe[1];if(wn&&we[1]==="l"&&(Ht>Mt.right||ae.current.rl)){var _n=Be;Sn?_n-=Ot-Xt:_n=mt.x-Qe.x-Ct;var Gt=Jt(_n,Ie),on=Jt(_n,Ie,ot);Gt>lt||Gt===lt&&(!Ft||on>=at)?(ae.current.rl=!0,Be=_n,Ct=-Ct,nt.points=[fe(we,1),fe(xe,1)]):ae.current.rl=!1}if(wn&&we[1]==="r"&&($t<Mt.left||ae.current.lr)){var mn=Be;Sn?mn+=Ot-Xt:mn=Je.x-it.x-Ct;var Cn=Jt(mn,Ie),gn=Jt(mn,Ie,ot);Cn>lt||Cn===lt&&(!Ft||gn>=at)?(ae.current.lr=!0,Be=mn,Ct=-Ct,nt.points=[fe(we,1),fe(xe,1)]):ae.current.lr=!1}kn();var It=ut===!0?0:ut;typeof It=="number"&&($t<ot.left&&(Be-=$t-ot.left-Ct,me.x+Xt<ot.left+It&&(Be+=me.x-ot.left+Xt-It)),Ht>ot.right&&(Be-=Ht-ot.right-Ct,me.x>ot.right-It&&(Be+=me.x-ot.right+It)));var Yt=rn===!0?0:rn;typeof Yt=="number"&&(At<ot.top&&(Ie-=At-ot.top-Ne,me.y+tn<ot.top+Yt&&(Ie+=me.y-ot.top+tn-Yt)),Rt>ot.bottom&&(Ie-=Rt-ot.bottom-Ne,me.y>ot.bottom-Yt&&(Ie+=me.y-ot.bottom+Yt)));var pn=st.x+Be,Pn=pn+Ot,ln=st.y+Ie,Rn=ln+Et,$n=me.x,Nn=$n+Xt,Wn=me.y,An=Wn+tn,Zn=Math.max(pn,$n),Ln=Math.min(Pn,Nn),vn=(Zn+Ln)/2,Fn=vn-pn,Bn=Math.max(ln,Wn),jn=Math.min(Rn,An),Un=(Bn+jn)/2,Mn=Un-ln;S==null||S(B,nt);var Dn=In.right-st.x-(Be+st.width),zn=In.bottom-st.y-(Ie+st.height);V({ready:!0,offsetX:Be/ve,offsetY:Ie/de,offsetR:Dn/ve,offsetB:zn/de,arrowX:Fn/ve,arrowY:Mn/de,scaleX:ve,scaleY:de,align:nt})}}),ye=function(){te.current+=1;var Se=te.current;Promise.resolve().then(function(){te.current===Se&&Ee()})},ge=function(){V(function(Se){return(0,x.Z)((0,x.Z)({},Se),{},{ready:!1})})};return(0,i.Z)(ge,[N]),(0,i.Z)(function(){k||ge()},[k]),[F.ready,F.offsetX,F.offsetY,F.offsetR,F.offsetB,F.arrowX,F.arrowY,F.scaleX,F.scaleY,F.align,ye]}var Re=f(80702);function Me(k,B,p,N,j){(0,i.Z)(function(){if(k&&B&&p){let te=function(){N(),j()};var o=B,S=p,$=b(o),Z=b(S),F=O(S),V=new Set([F].concat((0,Re.Z)($),(0,Re.Z)(Z)));return V.forEach(function(le){le.addEventListener("scroll",te,{passive:!0})}),F.addEventListener("resize",te,{passive:!0}),N(),function(){V.forEach(function(le){le.removeEventListener("scroll",te),F.removeEventListener("resize",te)})}}},[k,B,p])}var Pe=f(48736),Te=f(16089);function Fe(k,B,p,N,j,o,S,$){var Z=s.useRef(k),F=s.useRef(!1);Z.current!==k&&(F.current=!0,Z.current=k),s.useEffect(function(){var V=(0,Te.Z)(function(){F.current=!1});return function(){Te.Z.cancel(V)}},[k]),s.useEffect(function(){if(B&&N&&(!j||o)){var V=function(){var et=!1,ct=function(He){var Ye=He.target;et=S(Ye)},tt=function(He){var Ye=He.target;!F.current&&Z.current&&!et&&!S(Ye)&&$(!1)};return[ct,tt]},te=V(),le=(0,R.Z)(te,2),ae=le[0],oe=le[1],Ee=V(),ye=(0,R.Z)(Ee,2),ge=ye[0],$e=ye[1],Se=O(N);Se.addEventListener("mousedown",ae,!0),Se.addEventListener("click",oe,!0),Se.addEventListener("contextmenu",oe,!0);var _e=(0,e.A)(p);if(_e&&(_e.addEventListener("mousedown",ge,!0),_e.addEventListener("click",$e,!0),_e.addEventListener("contextmenu",$e,!0)),0)var We,Ve,qe,Ke;return function(){Se.removeEventListener("mousedown",ae,!0),Se.removeEventListener("click",oe,!0),Se.removeEventListener("contextmenu",oe,!0),_e&&(_e.removeEventListener("mousedown",ge,!0),_e.removeEventListener("click",$e,!0),_e.removeEventListener("contextmenu",$e,!0))}}},[B,p,N,j,o])}var Le=["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 Ze(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z.Z,B=s.forwardRef(function(p,N){var j=p.prefixCls,o=j===void 0?"rc-trigger-popup":j,S=p.children,$=p.action,Z=$===void 0?"hover":$,F=p.showAction,V=p.hideAction,te=p.popupVisible,le=p.defaultPopupVisible,ae=p.onPopupVisibleChange,oe=p.afterPopupVisibleChange,Ee=p.mouseEnterDelay,ye=p.mouseLeaveDelay,ge=ye===void 0?.1:ye,$e=p.focusDelay,Se=p.blurDelay,_e=p.mask,We=p.maskClosable,Ve=We===void 0?!0:We,qe=p.getPopupContainer,Ke=p.forceRender,_t=p.autoDestroy,et=p.destroyPopupOnHide,ct=p.popup,tt=p.popupClassName,xt=p.popupStyle,He=p.popupPlacement,Ye=p.builtinPlacements,Xe=Ye===void 0?{}:Ye,rt=p.popupAlign,me=p.zIndex,Tt=p.stretch,st=p.getPopupClassNameFromAlign,vt=p.fresh,Pt=p.alignPoint,pt=p.onPopupClick,Wt=p.onPopupAlign,en=p.arrow,dt=p.popupMotion,Kt=p.maskMotion,Et=p.popupTransitionName,Ot=p.popupAnimation,tn=p.maskTransitionName,Xt=p.maskAnimation,nn=p.className,dn=p.getTriggerDOMNode,bt=(0,W.Z)(p,Le),un=_t||et||!1,Zt=s.useState(!1),Ft=(0,R.Z)(Zt,2),an=Ft[0],ot=Ft[1];(0,i.Z)(function(){ot((0,n.Z)())},[]);var cn=s.useRef({}),Mt=s.useContext(J),In=s.useMemo(function(){return{registerSubPopup:function(Ae,Nt){cn.current[Ae]=Nt,Mt==null||Mt.registerSubPopup(Ae,Nt)}}},[Mt]),ve=(0,c.Z)(),de=s.useState(null),Ue=(0,R.Z)(de,2),je=Ue[0],St=Ue[1],Ut=(0,E.Z)(function(Ce){(0,D.Sh)(Ce)&&je!==Ce&&St(Ce),Mt==null||Mt.registerSubPopup(ve,Ce)}),Ct=s.useState(null),Ne=(0,R.Z)(Ct,2),H=Ne[0],Y=Ne[1],ne=s.useRef(null),ue=(0,E.Z)(function(Ce){(0,D.Sh)(Ce)&&H!==Ce&&(Y(Ce),ne.current=Ce)}),q=s.Children.only(S),he=(q==null?void 0:q.props)||{},se={},pe=(0,E.Z)(function(Ce){var Ae,Nt,jt=H;return(jt==null?void 0:jt.contains(Ce))||((Ae=(0,e.A)(jt))===null||Ae===void 0?void 0:Ae.host)===Ce||Ce===jt||(je==null?void 0:je.contains(Ce))||((Nt=(0,e.A)(je))===null||Nt===void 0?void 0:Nt.host)===Ce||Ce===je||Object.values(cn.current).some(function(ht){return(ht==null?void 0:ht.contains(Ce))||Ce===ht})}),xe=l(o,dt,Ot,Et),we=l(o,Kt,Xt,tn),ze=s.useState(le||!1),De=(0,R.Z)(ze,2),nt=De[0],Be=De[1],Ie=te!=null?te:nt,lt=(0,E.Z)(function(Ce){te===void 0&&Be(Ce)});(0,i.Z)(function(){Be(te||!1)},[te]);var at=s.useRef(Ie);at.current=Ie;var mt=s.useRef([]);mt.current=[];var it=(0,E.Z)(function(Ce){var Ae;lt(Ce),((Ae=mt.current[mt.current.length-1])!==null&&Ae!==void 0?Ae:Ie)!==Ce&&(mt.current.push(Ce),ae==null||ae(Ce))}),Je=s.useRef(),Qe=function(){clearTimeout(Je.current)},Ge=function(Ae){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Qe(),Nt===0?it(Ae):Je.current=setTimeout(function(){it(Ae)},Nt*1e3)};s.useEffect(function(){return Qe},[]);var ft=s.useState(!1),Dt=(0,R.Z)(ft,2),ut=Dt[0],rn=Dt[1];(0,i.Z)(function(Ce){(!Ce||Ie)&&rn(!0)},[Ie]);var yt=s.useState(null),At=(0,R.Z)(yt,2),Rt=At[0],$t=At[1],Ht=s.useState([0,0]),Qt=(0,R.Z)(Ht,2),fn=Qt[0],Lt=Qt[1],Vt=function(Ae){Lt([Ae.clientX,Ae.clientY])},hn=be(Ie,je,Pt?fn:H,He,Xe,rt,Wt),gt=(0,R.Z)(hn,11),On=gt[0],Tn=gt[1],wn=gt[2],Sn=gt[3],_n=gt[4],Gt=gt[5],on=gt[6],mn=gt[7],Cn=gt[8],gn=gt[9],It=gt[10],Yt=re(an,Z,F,V),pn=(0,R.Z)(Yt,2),Pn=pn[0],ln=pn[1],Rn=Pn.has("click"),$n=ln.has("click")||ln.has("contextMenu"),Nn=(0,E.Z)(function(){ut||It()}),Wn=function(){at.current&&Pt&&$n&&Ge(!1)};Me(Ie,H,je,Nn,Wn),(0,i.Z)(function(){Nn()},[fn,He]),(0,i.Z)(function(){Ie&&!(Xe!=null&&Xe[He])&&Nn()},[JSON.stringify(rt)]);var An=s.useMemo(function(){var Ce=y(Xe,o,gn,Pt);return U()(Ce,st==null?void 0:st(gn))},[gn,st,Xe,o,Pt]);s.useImperativeHandle(N,function(){return{nativeElement:ne.current,forceAlign:Nn}});var Zn=s.useState(0),Ln=(0,R.Z)(Zn,2),vn=Ln[0],Fn=Ln[1],Bn=s.useState(0),jn=(0,R.Z)(Bn,2),Un=jn[0],Mn=jn[1],Dn=function(){if(Tt&&H){var Ae=H.getBoundingClientRect();Fn(Ae.width),Mn(Ae.height)}},zn=function(){Dn(),Nn()},Jt=function(Ae){rn(!1),It(),oe==null||oe(Ae)},kn=function(){return new Promise(function(Ae){Dn(),$t(function(){return Ae})})};(0,i.Z)(function(){Rt&&(It(),Rt(),$t(null))},[Rt]);function Bt(Ce,Ae,Nt,jt){se[Ce]=function(ht){var Yn;jt==null||jt(ht),Ge(Ae,Nt);for(var er=arguments.length,tr=new Array(er>1?er-1:0),Jn=1;Jn<er;Jn++)tr[Jn-1]=arguments[Jn];(Yn=he[Ce])===null||Yn===void 0||Yn.call.apply(Yn,[he,ht].concat(tr))}}(Rn||$n)&&(se.onClick=function(Ce){var Ae;at.current&&$n?Ge(!1):!at.current&&Rn&&(Vt(Ce),Ge(!0));for(var Nt=arguments.length,jt=new Array(Nt>1?Nt-1:0),ht=1;ht<Nt;ht++)jt[ht-1]=arguments[ht];(Ae=he.onClick)===null||Ae===void 0||Ae.call.apply(Ae,[he,Ce].concat(jt))}),Fe(Ie,$n,H,je,_e,Ve,pe,Ge);var bn=Pn.has("hover"),yn=ln.has("hover"),sn,qt;bn&&(Bt("onMouseEnter",!0,Ee,function(Ce){Vt(Ce)}),Bt("onPointerEnter",!0,Ee,function(Ce){Vt(Ce)}),sn=function(Ae){(Ie||ut)&&je!==null&&je!==void 0&&je.contains(Ae.target)&&Ge(!0,Ee)},Pt&&(se.onMouseMove=function(Ce){var Ae;(Ae=he.onMouseMove)===null||Ae===void 0||Ae.call(he,Ce)})),yn&&(Bt("onMouseLeave",!1,ge),Bt("onPointerLeave",!1,ge),qt=function(){Ge(!1,ge)}),Pn.has("focus")&&Bt("onFocus",!0,$e),ln.has("focus")&&Bt("onBlur",!1,Se),Pn.has("contextMenu")&&(se.onContextMenu=function(Ce){var Ae;at.current&&ln.has("contextMenu")?Ge(!1):(Vt(Ce),Ge(!0)),Ce.preventDefault();for(var Nt=arguments.length,jt=new Array(Nt>1?Nt-1:0),ht=1;ht<Nt;ht++)jt[ht-1]=arguments[ht];(Ae=he.onContextMenu)===null||Ae===void 0||Ae.call.apply(Ae,[he,Ce].concat(jt))}),nn&&(se.className=U()(he.className,nn));var Hn=(0,x.Z)((0,x.Z)({},he),se),Xn={},Vn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Vn.forEach(function(Ce){bt[Ce]&&(Xn[Ce]=function(){for(var Ae,Nt=arguments.length,jt=new Array(Nt),ht=0;ht<Nt;ht++)jt[ht]=arguments[ht];(Ae=Hn[Ce])===null||Ae===void 0||Ae.call.apply(Ae,[Hn].concat(jt)),bt[Ce].apply(bt,jt)})});var qn=s.cloneElement(q,(0,x.Z)((0,x.Z)({},Hn),Xn)),Qn={x:Gt,y:on},Kn=en?(0,x.Z)({},en!==!0?en:{}):null;return s.createElement(s.Fragment,null,s.createElement(K.Z,{disabled:!Ie,ref:ue,onResize:zn},s.createElement(L,{getTriggerDOMNode:dn},qn)),s.createElement(J.Provider,{value:In},s.createElement(M,{portal:k,ref:Ut,prefixCls:o,popup:ct,className:U()(tt,An),style:xt,target:H,onMouseEnter:sn,onMouseLeave:qt,onPointerEnter:sn,zIndex:me,open:Ie,keepDom:ut,fresh:vt,onClick:pt,mask:_e,motion:xe,maskMotion:we,onVisibleChanged:Jt,onPrepare:kn,forceRender:Ke,autoDestroy:un,getPopupContainer:qe,align:gn,arrow:Kn,arrowPos:Qn,ready:On,offsetX:Tn,offsetY:wn,offsetR:Sn,offsetB:_n,onAlign:Nn,stretch:Tt,targetWidth:vn/mn,targetHeight:Un/Cn})))});return B}var ke=Ze(z.Z)},23954:function(Oe,ie,f){"use strict";f.d(ie,{SV:function(){return j},ZP:function(){return N}});var x=f(59301),R=f(76374);const W={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},z={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},A={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},U={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},K={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var D=f(53184),e=f.n(D),E=Object.defineProperty,c=Object.defineProperties,i=Object.getOwnPropertyDescriptors,n=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,g=(o,S,$)=>S in o?E(o,S,{enumerable:!0,configurable:!0,writable:!0,value:$}):o[S]=$,v=(o,S)=>{for(var $ in S||(S={}))s.call(S,$)&&g(o,$,S[$]);if(n)for(var $ of n(S))a.call(S,$)&&g(o,$,S[$]);return o},h=(o,S)=>c(o,i(S)),u=(o,S,$)=>new Promise((Z,F)=>{var V=ae=>{try{le($.next(ae))}catch(oe){F(oe)}},te=ae=>{try{le($.throw(ae))}catch(oe){F(oe)}},le=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(V,te);le(($=$.apply(o,S)).next())});const d={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},I=(o,S)=>S.map($=>({label:$,kind:o.languages.CompletionItemKind.Keyword,insertText:$})),C=o=>Object.keys(d.tables).map(S=>({label:S,kind:o.languages.CompletionItemKind.Variable,insertText:S})),M=(o,S)=>{const $=d.tables[o];return $?$.map(Z=>({label:Z,kind:S.languages.CompletionItemKind.Field,insertText:Z})):[]};function P(o,S,$,Z,F){let V=S.getWordUntilPosition($),te={startLineNumber:$.lineNumber,endLineNumber:$.lineNumber,startColumn:V.startColumn,endColumn:V.endColumn},le=Z.map(ae=>({label:ae,kind:o.languages.CompletionItemKind.Keyword,insertText:ae,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}));return F.map(ae=>{le.push(h(v({},ae),{range:te}))}),le}var L=o=>{d.languages.map(F=>(o.languages.registerDocumentFormattingEditProvider(F,{provideDocumentFormattingEdits(V,te,le){return u(this,null,function*(){const ae=e()(V.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:V.getFullModelRange(),text:ae}]})}}),F));const S=A.quickKey.map(F=>({label:F.label,kind:o.languages.CompletionItemKind.Method,insertText:F.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet})),$=U.quickKey.map(F=>({label:F.label,kind:o.languages.CompletionItemKind.Method,insertText:F.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Z=z.quickKey.map(F=>({label:F.label,kind:o.languages.CompletionItemKind.Method,insertText:F.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet}));o.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(F,V){var te=F.getWordUntilPosition(V),le={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ae=F.getLineContent(V.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...A.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...A.quickKey.map(oe=>({label:oe.label,kind:o.languages.CompletionItemKind.Function,documentation:oe.content,insertText:ae.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}}),o.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(F,V){var te=F.getWordUntilPosition(V),le={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn};return{suggestions:[...W.keywords.map(ae=>({label:ae,kind:o.languages.CompletionItemKind.Function,documentation:ae,insertText:ae,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}}),o.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(F,V){var te=F.getWordUntilPosition(V),le={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ae=F.getLineContent(V.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...z.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...z.quickKey.map(oe=>({label:oe.label,kind:o.languages.CompletionItemKind.Function,documentation:oe.content,insertText:ae.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}}),o.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(F,V){var te=F.getWordUntilPosition(V),le={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ae=F.getLineContent(V.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...K.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...K.quickKey.map(oe=>({label:oe.label,kind:o.languages.CompletionItemKind.Function,documentation:oe.content,insertText:ae.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}}),o.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(F,V){var te=F.getWordUntilPosition(V),le={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ae=F.getLineContent(V.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...U.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...U.quickKey.map(oe=>({label:oe.label,kind:o.languages.CompletionItemKind.Function,documentation:oe.content,insertText:ae.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}})};const G="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var J=Object.defineProperty,Q=(o,S,$)=>S in o?J(o,S,{enumerable:!0,configurable:!0,writable:!0,value:$}):o[S]=$,re=(o,S,$)=>Q(o,typeof S!="symbol"?S+"":S,$);const w=class wr{constructor(S,$,Z){this.placeholder=S,this.editor=$,this.monaco=Z,$.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return wr.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};re(w,"ID","editor.widget.placeholderHint");var y=w,l=f(96236),O=f(8591),b=f(6848),t=f(89392),r=f(34604),m=f(56102),T=Object.defineProperty,X=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,ce=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,Re=(o,S,$)=>S in o?T(o,S,{enumerable:!0,configurable:!0,writable:!0,value:$}):o[S]=$,Me=(o,S)=>{for(var $ in S||(S={}))fe.call(S,$)&&Re(o,$,S[$]);if(ce)for(var $ of ce(S))be.call(S,$)&&Re(o,$,S[$]);return o},Pe=(o,S)=>X(o,ee(S)),Te=(o,S)=>{var $={};for(var Z in o)fe.call(o,Z)&&S.indexOf(Z)<0&&($[Z]=o[Z]);if(o!=null&&ce)for(var Z of ce(o))S.indexOf(Z)<0&&be.call(o,Z)&&($[Z]=o[Z]);return $},Fe=(o,S,$)=>new Promise((Z,F)=>{var V=ae=>{try{le($.next(ae))}catch(oe){F(oe)}},te=ae=>{try{le($.throw(ae))}catch(oe){F(oe)}},le=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(V,te);le(($=$.apply(o,S)).next())});function Le(o){return/^\d+$/.test(o)?`${o}px`:o}function Ze(){}let ke=!1;const k={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function B(o=[]){let S=o;if(Array.isArray(o)){for(let $=0;$<o.length;$++){let Z=k[o[$]];if(Z)return Z}return S[0]}return k[S]||S}let p=null;var N=o=>{var S=o,{width:$="100%",height:Z="100%",value:F,language:V="javascript",style:te={},options:le={},overrideServices:ae={},theme:oe="vs-dark",onEditBlur:Ee,isCopy:ye=!1,onSave:ge,autoHeight:$e=!1,forbidCopy:Se=!1,onChange:_e=Ze,editorDidMount:We=Ze,onFocus:Ve=Ze,onBreakPoint:qe=Ze,breakPointValue:Ke=[],filename:_t="educoder.txt",errorLine:et,errorContent:ct="",highlightLine:tt,openBreakPoint:xt=!1,placeholder:He="",showMiniMap:Ye=!0}=S,Xe=Te(S,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const rt=(0,x.useRef)(),me=(0,x.useRef)({}),Tt=(0,x.useRef)(),st=(0,x.useRef)(),vt=(0,x.useRef)([]),Pt=(0,x.useRef)(!1),pt=(0,x.useRef)(),Wt=(0,x.useRef)(),en=(0,x.useRef)(!1),[dt,Kt]=(0,x.useState)(!1);function Et(){let ve;return rt.current&&(ve=new R.Z(de=>{for(let Ue of de)(Ue.target.offsetHeight>0||Ue.target.offsetWidth>0)&&me.current.instance.layout()}),ve.observe(rt.current)),ve}function Ot(){O.ZP.warning({content:decodeURIComponent(G),key:"monaco-editor-tip"})}const tn=()=>{let ve=me.current.instance;if(F!=null&&ve&&dt){const de=ve.getModel();de&&F!==de.getValue()&&(ke=!0,de.setValue(F),ve.layout(),ke=!1)}};(0,x.useEffect)(()=>{const ve=r.Z.subscribe("formatDocument",de=>{var Ue;let je=me.current.instance;(Ue=je==null?void 0:je.getAction)==null||Ue.call(je,"editor.action.formatDocument").run()});return window.updateMonacoValue=de=>{_e(de)},ve},[]),(0,x.useEffect)(()=>{var ve;let de=me.current.instance;st.current&&clearTimeout(st.current),st.current=setTimeout(()=>{tn()},500),F&&(F!=null&&F.length)&&((ve=de==null?void 0:de.updateOptions)==null||ve.call(de,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(F.split(/\r\n|\r|\n/g).length))+3,5)}))},[F,dt,me.current]),(0,x.useEffect)(()=>{if(et&&me.current&&me.current.instance){let de=me.current.instance;de.changeViewZones(function(Ue){var je=document.createElement("div");je.style.padding="10px 20px",je.style.width="calc(100% - 20px)",je.className="my-error-line-wrp",je.innerHTML=ct,Ue.addZone({afterLineNumber:et||11,heightInLines:3,domNode:je})});var ve={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};de.addOverlayWidget(ve),de.revealPositionInCenter({lineNumber:20,column:1})}},[et,me.current,dt]);const Xt=(ve="",de)=>{if(!ve||ve.trim()==="")return!0;const je=me.current.instance.getModel().getLineTokens(de);let St=!1;for(let Ut=0;Ut<2;Ut++)je.getStandardTokenType(Ut)===1&&(St=!0);return St};(0,x.useEffect)(()=>{var ve;const de=(ve=me.current)==null?void 0:ve.instance;if(de&&dt&&Se){const Ue=de.onDidBlurEditorWidget(()=>{en.current=!1}),je=de.onDidFocusEditorText(()=>{en.current=!0});return()=>{Ue.dispose(),je.dispose()}}},[me.current,dt,Se]),(0,x.useEffect)(()=>{var ve;if((ve=me.current)!=null&&ve.instance&&dt&&xt){let de=me.current.instance,Ue=de.getModel();if(!Ue)return;(()=>{var se;let pe=[],xe=[];const we=Ue.getAllDecorations();for(let De of we)De.options.className==="highlighted-line"&&(pe.push((se=De==null?void 0:De.range)==null?void 0:se.startLineNumber),xe.push(De==null?void 0:De.id));if(tt===pe[0])return;Ue.deltaDecorations(xe,[]);const ze=Ue.getLineCount();tt&&tt<=ze&&(de.deltaDecorations([],[{range:new p.Range(tt,1,tt,Ue.getLineMaxColumn(tt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),de.revealLineInCenter(tt))})();const St=(se=!1)=>{var pe;let xe=[],we=[];const ze=Ue.getAllDecorations();for(let De of ze)De.options.linesDecorationsClassName==="breakpoints-select"&&(xe.push((pe=De==null?void 0:De.range)==null?void 0:pe.startLineNumber),we.push(De==null?void 0:De.id));if(se)return{lines:xe,ids:we};qe(xe)},Ut=se=>Fe(void 0,null,function*(){let pe={range:new p.Range(se,1,se,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ue.deltaDecorations([],[pe]),St()}),Ct=se=>Fe(void 0,null,function*(){let pe=[];const xe=de.getLineDecorations(se);for(let we of xe)we.options.linesDecorationsClassName==="breakpoints-select"&&pe.push(we.id);yield Ue.deltaDecorations(pe,[]),St()}),Ne=se=>{let pe=de.getLineDecorations(se);for(let xe of pe)if(xe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,t.isEqual)(Ke,St(!0).lines)){Ue.deltaDecorations(St(!0).ids,[]);const se=Ke.map(pe=>({range:new p.Range(pe,1,pe,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ue.deltaDecorations([],se)}const H=de.onDidChangeModelContent(se=>{let pe=de.getPosition();if(pe){let xe=pe.lineNumber;clearTimeout(Wt.current),Wt.current=setTimeout(()=>{Xt(Ue.getLineContent(xe),xe)?Ct(xe):Ne(xe)?(Ct(xe),Ut(xe)):St()},100)}}),Y=de.onMouseDown(se=>{var pe,xe,we;if(se.target.detail&&((we=(xe=(pe=se.target)==null?void 0:pe.element)==null?void 0:xe.className)!=null&&we.includes("line-numbers"))){let ze=se.target.position.lineNumber;if(Xt(Ue.getLineContent(ze),ze))return;Ne(ze)?Ct(ze):Ut(ze)}}),ne=se=>{let pe={range:new p.Range(se,1,se,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};vt.current=de.deltaDecorations(vt.current,[pe])},ue=()=>{vt.current=de.deltaDecorations(vt.current,[])},q=de.onMouseMove(se=>{var pe,xe,we;if(ue(),se.target.detail&&((we=(xe=(pe=se.target)==null?void 0:pe.element)==null?void 0:xe.className)!=null&&we.includes("line-numbers"))){let ze=se.target.position.lineNumber;if(Xt(Ue.getLineContent(ze),ze))return;ne(ze)}}),he=de.onMouseLeave(()=>{ue()});return()=>{H.dispose(),Y.dispose(),q.dispose(),he.dispose()}}},[me.current,dt,Ke,tt,xt,V]),(0,x.useEffect)(()=>{var ve;(ve=me.current)!=null&&ve.instance&&xt&&me.current.instance.setPosition({lineNumber:0,column:0})},[tt]);function nn(){let ve=me.current.instance;if(ve){const de=ve.getSelection(),Ue=me.current.pastePos||{},je=new p.Range(Ue.startLineNumber||de.endLineNumber,Ue.startColumn||de.endColumn,Ue.endLineNumber||de.endLineNumber,Ue.endColumn||de.endColumn);setTimeout(()=>{ve.executeEdits("",[{range:je,text:""}])},300)}}function dn(ve){(window.navigator.platform.match("Mac")?ve.metaKey:ve.ctrlKey)&&ve.keyCode==83&&(ve.preventDefault(),ge())}const bt=()=>{if($e&&me.current.instance){const ve=me.current.instance.getContentHeight();Mt(ve<Z?Z:ve)}else Mt(Z)};function un(ve){var de=document.createEvent("MouseEvents");de.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),ve.dispatchEvent(de)}const Zt=ve=>{if(!en.current)return;const{keyCode:de,ctrlKey:Ue,metaKey:je,target:St,type:Ut}=ve;return(Ut==="paste"||(de===67||de===86)&&(je||Ue))&&St.nodeName==="TEXTAREA"&&(Ot(),ve.preventDefault()),!1};function Ft(ve,de){var Ue=window.URL||window.webkitURL||window,je=new Blob([de]),St=document.createElementNS("http://www.w3.org/1999/xhtml","a");St.href=Ue.createObjectURL(je),St.download=ve,un(St)}(0,x.useEffect)(()=>{bt()},[bt]),(0,x.useEffect)(()=>{rt.current&&!dt&&Promise.all([f.e(8909),f.e(3267)]).then(f.bind(f,71448)).then(ve=>{try{p=ve,me.current.instance=p.editor.create(rt.current,{value:F,language:B(V),theme:oe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ye||!1}},ae);const de=me.current.instance;let St=[...l.BH._menuItems].find(H=>H[0]._debugName=="EditorContext")[1],Ut=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ct=(H,Y)=>{var ne,ue;let q=H._first;do Y.includes((ue=(ne=q.element)==null?void 0:ne.command)==null?void 0:ue.id)&&H._remove(q);while(q=q.next)};if(We(de,p),setTimeout(()=>{bt(),me.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Ft(_t||"educoder.txt",de.getValue())}})},500),me.current.subscription=de.onDidChangeModelContent(H=>{Pt.current?clearTimeout(pt.current):(bt(),_e(de.getValue(),H)),pt.current=setTimeout(()=>{Pt.current=!1},500)}),window.Monaco||L(p,B(V)),Se&&(Ct(St,Ut),rt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Zt),window.removeEventListener("paste",Zt),window.addEventListener("keydown",Zt),window.addEventListener("paste",Zt)),window.Monaco=p,Ee&&de.onDidBlurEditorWidget(()=>{Ee(de.getValue())}),Ve&&de.onDidFocusEditorText(()=>{Ve(de.getValue())}),Se)try{de.onDidPaste(H=>{const Y=de.getSelection(),ne=me.current.pastePos||{},ue=new p.Range(ne.startLineNumber||Y.endLineNumber,ne.startColumn||Y.endColumn,ne.endLineNumber||Y.endLineNumber,ne.endColumn||Y.endColumn);de.executeEdits("",[{range:H.range,text:""}])})}catch(H){}let Ne=Et();return He&&typeof He=="string"&&new y(He,de,p),Kt(!0),()=>{const H=me.current.instance;H.dispose();const Y=H.getModel();Y&&Y.dispose(),me.current.subscription&&me.current.subscription.dispose(),Ne.unobserve(rt.current)}}catch(de){}})},[]),(0,x.useEffect)(()=>{if(me.current.instance&&dt)return document.addEventListener("keydown",dn,!1),()=>{document.removeEventListener("keydown",dn)}},[ge,dt]),(0,x.useEffect)(()=>{let ve=me.current.instance;if(ve&&dt){let de=B(V);p.editor.setModelLanguage(ve.getModel(),de)}},[V,dt]),(0,x.useEffect)(()=>{me.current.instance&&dt&&p.editor.setTheme(oe)},[oe,dt]),(0,x.useEffect)(()=>{let ve=me.current.instance;Tt.current=le,ve&&dt&&(ve.updateOptions(Me({},le)),setTimeout(()=>{ve.getModel().updateOptions(Me({},le))},200))},[JSON.stringify(le),dt]),(0,x.useEffect)(()=>{let ve=me.current.instance;ve&&dt&&ve.layout()},[$,Z,dt]);const[an,ot]=(0,x.useState)(Le($)),[cn,Mt]=(0,x.useState)(Le(Z)),In=Pe(Me({},te),{width:an,height:cn,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:rt,style:In},ye&&x.createElement(m.CopyToClipboard,{text:F,onCopy:()=>O.ZP.success("\u590D\u5236\u6210\u529F")},x.createElement(b.Z,{title:"\u590D\u5236\u4EE3\u7801"},x.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},x.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function j({width:o="100%",height:S="100%",original:$,modified:Z,language:F,options:V={}}){const te=(0,x.useRef)(),[le,ae]=(0,x.useState)(null);function oe($e){let Se;return te.current&&(Se=new R.Z(_e=>{for(let We of _e)(We.target.offsetHeight>0||We.target.offsetWidth>0)&&$e.layout()}),Se.observe(te.current)),Se}(0,x.useEffect)(()=>(te.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then($e=>{p=$e;const Se=p.editor.createDiffEditor(te.current,Pe(Me({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},V),{wordWrap:!0}));ae(Se);let _e=oe(Se);return()=>{Se.dispose();const We=Se.getModel();We&&We.dispose(),_e.unobserve(te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{le&&le.setModel({original:p.editor.createModel($,F),modified:p.editor.createModel(Z,F)})},[$,Z,F,le]);const Ee=Le(o),ye=Le(S),ge={width:Ee,height:ye};return x.createElement("div",{className:"my-diff-editor",ref:te,style:ge})}},17933:function(Oe,ie,f){"use strict";f.r(ie),f.d(ie,{default:function(){return u}});var x=f(59301),R=f(89070),W=f(66104),z=f(95237),A=f(43604),U=f(61621),K=f(27812),D=f(23954),e={flex_box_center:"flex_box_center___aDZ0y",flex_space_between:"flex_space_between___YgV77",flex_box_vertical_center:"flex_box_vertical_center___RiXOn",flex_box_center_end:"flex_box_center_end___leo_X",flex_box_column:"flex_box_column___yVux9",title:"title___eoGRP",wrap:"wrap___sXyah",code:"code___NIt6L",error:"error___p_cW8"},E=f(99064),c=Object.defineProperty,i=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(d,I,C)=>I in d?c(d,I,{enumerable:!0,configurable:!0,writable:!0,value:C}):d[I]=C,g=(d,I)=>{for(var C in I||(I={}))n.call(I,C)&&a(d,C,I[C]);if(i)for(var C of i(I))s.call(I,C)&&a(d,C,I[C]);return d},v=(d,I,C)=>new Promise((M,P)=>{var L=Q=>{try{J(C.next(Q))}catch(re){P(re)}},G=Q=>{try{J(C.throw(Q))}catch(re){P(re)}},J=Q=>Q.done?M(Q.value):Promise.resolve(Q.value).then(L,G);J((C=C.apply(d,I)).next())});const h=({exercise:d,user:I,dispatch:C})=>{var M,P;const L=(M=window.location.pathname)==null?void 0:M.includes("exercise"),G=L?"exercise":"shixun_homework",J=(0,R.useParams)(),[Q]=(0,R.useSearchParams)(),{userInfo:re}=I,w=Q.get("name"),_=Q.get("rule_id"),y=Q.get("uuid"),l=Q.get("language"),O=Q.get("rowNumber"),b=Q.get("issueId"),[t,r]=(0,x.useState)({}),[m,T]=(0,x.useState)({value:"",language:l.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(O)}),[X,ee]=(0,x.useState)(!0);(0,x.useEffect)(()=>{ce()},[]);const ce=()=>v(void 0,null,function*(){var fe,be,Re;ee(!0);const Me=yield(0,E.ZP)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:_,uuid:y,issue_id:b}});if(Me.status===0){m.value=(be=(fe=Me.data)==null?void 0:fe.codes)==null?void 0:be.map(Te=>Te.code).join(`
|
|
`);const Pe=document.createElement("div");Pe.innerHTML=m.value,m.value=Pe.innerText,m.errorContent=(Re=Me==null?void 0:Me.data)==null?void 0:Re.errMessage,T(g({},m)),r(Me.data)}ee(!1)});return x.createElement("section",{className:"edu-container"},x.createElement("section",{className:"animated fadeIn"},x.createElement("aside",{className:"mt10"},re&&x.createElement(W.Z,{separator:">"},x.createElement(W.Z.Item,null,x.createElement(R.Link,{to:`/classrooms/${J.coursesId}/${G}`},(P=re==null?void 0:re.course)==null?void 0:P.course_name)),x.createElement(W.Z.Item,null,x.createElement(R.Link,{to:`/classrooms/${J.coursesId}/${G}`},L?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),x.createElement(W.Z.Item,null,x.createElement(R.Link,{to:`/classrooms/${J.coursesId}/${G}/${J==null?void 0:J.exerciseId}/detail`},L?"\u8BD5\u5377":"\u4F5C\u4E1A","\u8BE6\u60C5")),x.createElement(W.Z.Item,null,w))),x.createElement("aside",{className:[e.title,"mt20"].join(" ")},x.createElement(z.Z,{style:{width:"100%"}},x.createElement(A.Z,{flex:"1",style:{lineHeight:"24px"}},x.createElement(R.Link,{to:`/classrooms/${J.coursesId}/${G}/${J.exerciseId}/analysis/${J.studentId}`},x.createElement(K.Z,{className:"font16 c-black"})),x.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),x.createElement("section",{className:e.wrap},x.createElement(U.Z,{loading:X,active:!0,paragraph:{rows:5}},x.createElement("div",{className:e.title},t==null?void 0:t.title),x.createElement("div",{className:e.code},x.createElement(D.ZP,g({},m))),x.createElement("div",{className:e.error,dangerouslySetInnerHTML:{__html:(t==null?void 0:t.example)||""}}))))};var u=(0,R.connect)(({exercise:d,user:I})=>({exercise:d,user:I}))(h)},36785:function(Oe,ie,f){"use strict";f.d(ie,{o2:function(){return A},yT:function(){return U}});var x=f(80702),R=f(33166);const W=R.i.map(K=>`${K}-inverse`),z=["success","processing","error","default","warning"];function A(K){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,x.Z)(W),(0,x.Z)(R.i)).includes(K):R.i.includes(K)}function U(K){return z.includes(K)}},79676:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return U}});var x=f(19447);function R(K,D,e,E){if(E===!1)return{adjustX:!1,adjustY:!1};const c=E&&typeof E=="object"?E:{},i={};switch(K){case"top":case"bottom":i.shiftX=D.dropdownArrowOffset*2+e;break;case"left":case"right":i.shiftY=D.dropdownArrowOffsetVertical*2+e;break}const n=Object.assign(Object.assign({},i),c);return n.shiftX||(n.adjustX=!0),n.shiftY||(n.adjustY=!0),n}const W={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},z={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},A=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function U(K){const{arrowWidth:D,autoAdjustOverflow:e,arrowPointAtCenter:E,offset:c,borderRadius:i,visibleFirst:n}=K,s=D/2,a={};return Object.keys(W).forEach(g=>{const v=E&&z[g]||W[g],h=Object.assign(Object.assign({},v),{offset:[0,0]});switch(a[g]=h,A.has(g)&&(h.autoArrow=!1),g){case"top":case"topLeft":case"topRight":h.offset[1]=-s-c;break;case"bottom":case"bottomLeft":case"bottomRight":h.offset[1]=s+c;break;case"left":case"leftTop":case"leftBottom":h.offset[0]=-s-c;break;case"right":case"rightTop":case"rightBottom":h.offset[0]=s+c;break}const u=(0,x.fS)({contentRadius:i,limitVerticalRadius:!0});if(E)switch(g){case"topLeft":case"bottomLeft":h.offset[0]=-u.dropdownArrowOffset-s;break;case"topRight":case"bottomRight":h.offset[0]=u.dropdownArrowOffset+s;break;case"leftTop":case"rightTop":h.offset[1]=-u.dropdownArrowOffset-s;break;case"leftBottom":case"rightBottom":h.offset[1]=u.dropdownArrowOffset+s;break}h.overflow=R(g,u,D,e),n&&(h.htmlRegion="visibleFirst")}),a}},66104:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return y}});var x=f(92310),R=f.n(x),W=f(11592),z=f(26112),A=f(59301),U=f(92343),K=f(36355),D=f(84105),e=f(91857);const E=l=>{let{children:O}=l;const{getPrefixCls:b}=A.useContext(K.E_),t=b("breadcrumb");return A.createElement("li",{className:`${t}-separator`,"aria-hidden":"true"},O===""?O:O||"/")};E.__ANT_BREADCRUMB_SEPARATOR=!0;var c=E,i=function(l,O){var b={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&O.indexOf(t)<0&&(b[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(l);r<t.length;r++)O.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(l,t[r])&&(b[t[r]]=l[t[r]]);return b};function n(l,O){if(l.title===void 0||l.title===null)return null;const b=Object.keys(O).join("|");return typeof l.title=="object"?l.title:String(l.title).replace(new RegExp(`:(${b})`,"g"),(t,r)=>O[r]||t)}function s(l,O,b,t){if(b==null)return null;const{className:r,onClick:m}=O,T=i(O,["className","onClick"]),X=Object.assign(Object.assign({},(0,z.Z)(T,{data:!0,aria:!0})),{onClick:m});return t!==void 0?A.createElement("a",Object.assign({},X,{className:R()(`${l}-link`,r),href:t}),b):A.createElement("span",Object.assign({},X,{className:R()(`${l}-link`,r)}),b)}function a(l,O){return(t,r,m,T,X)=>{if(O)return O(t,r,m,T);const ee=n(t,r);return s(l,t,ee,X)}}var g=function(l,O){var b={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&O.indexOf(t)<0&&(b[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(l);r<t.length;r++)O.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(l,t[r])&&(b[t[r]]=l[t[r]]);return b};const v=l=>{const{prefixCls:O,separator:b="/",children:t,menu:r,overlay:m,dropdownProps:T,href:X}=l,ce=(fe=>{if(r||m){const be=Object.assign({},T);if(r){const Re=r||{},{items:Me}=Re,Pe=g(Re,["items"]);be.menu=Object.assign(Object.assign({},Pe),{items:Me==null?void 0:Me.map((Te,Fe)=>{var{key:Le,title:Ze,label:ke,path:k}=Te,B=g(Te,["key","title","label","path"]);let p=ke!=null?ke:Ze;return k&&(p=A.createElement("a",{href:`${X}${k}`},p)),Object.assign(Object.assign({},B),{key:Le!=null?Le:Fe,label:p})})})}else m&&(be.overlay=m);return A.createElement(e.Z,Object.assign({placement:"bottom"},be),A.createElement("span",{className:`${O}-overlay-link`},fe,A.createElement(D.Z,null)))}return fe})(t);return ce!=null?A.createElement(A.Fragment,null,A.createElement("li",null,ce),b&&A.createElement(c,null,b)):null},h=l=>{const{prefixCls:O,children:b,href:t}=l,r=g(l,["prefixCls","children","href"]),{getPrefixCls:m}=A.useContext(K.E_),T=m("breadcrumb",O);return A.createElement(v,Object.assign({},r,{prefixCls:T}),s(T,r,b,t))};h.__ANT_BREADCRUMB_ITEM=!0;var u=h,d=f(17313),I=f(83116),C=f(37613);const M=l=>{const{componentCls:O,iconCls:b}=l;return{[O]:Object.assign(Object.assign({},(0,d.Wf)(l)),{color:l.itemColor,fontSize:l.fontSize,[b]:{fontSize:l.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:l.linkColor,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.linkHoverColor,backgroundColor:l.colorBgTextHover}},(0,d.Qy)(l)),"li:last-child":{color:l.lastItemColor},[`${O}-separator`]:{marginInline:l.separatorMargin,color:l.separatorColor},[`${O}-link`]:{[`
|
|
> ${b} + span,
|
|
> ${b} + a
|
|
`]:{marginInlineStart:l.marginXXS}},[`${O}-overlay-link`]:{borderRadius:l.borderRadiusSM,height:l.lineHeight*l.fontSize,display:"inline-block",padding:`0 ${l.paddingXXS}px`,marginInline:-l.marginXXS,[`> ${b}`]:{marginInlineStart:l.marginXXS,fontSize:l.fontSizeIcon},"&:hover":{color:l.linkHoverColor,backgroundColor:l.colorBgTextHover,a:{color:l.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${l.componentCls}-rtl`]:{direction:"rtl"}})}};var P=(0,I.Z)("Breadcrumb",l=>{const O=(0,C.TS)(l,{});return[M(O)]},l=>({itemColor:l.colorTextDescription,lastItemColor:l.colorText,iconFontSize:l.fontSize,linkColor:l.colorTextDescription,linkHoverColor:l.colorText,separatorColor:l.colorTextDescription,separatorMargin:l.marginXS})),L=function(l,O){var b={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&O.indexOf(t)<0&&(b[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(l);r<t.length;r++)O.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(l,t[r])&&(b[t[r]]=l[t[r]]);return b};function G(l){const{breadcrumbName:O,children:b}=l,t=L(l,["breadcrumbName","children"]),r=Object.assign({title:O},t);return b&&(r.menu={items:b.map(m=>{var{breadcrumbName:T}=m,X=L(m,["breadcrumbName"]);return Object.assign(Object.assign({},X),{title:T})})}),r}function J(l,O){return(0,A.useMemo)(()=>l||(O?O.map(G):null),[l,O])}var Q=function(l,O){var b={};for(var t in l)Object.prototype.hasOwnProperty.call(l,t)&&O.indexOf(t)<0&&(b[t]=l[t]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,t=Object.getOwnPropertySymbols(l);r<t.length;r++)O.indexOf(t[r])<0&&Object.prototype.propertyIsEnumerable.call(l,t[r])&&(b[t[r]]=l[t[r]]);return b};const re=(l,O)=>{if(O===void 0)return O;let b=(O||"").replace(/^\//,"");return Object.keys(l).forEach(t=>{b=b.replace(`:${t}`,l[t])}),b},w=l=>{const{prefixCls:O,separator:b="/",style:t,className:r,rootClassName:m,routes:T,items:X,children:ee,itemRender:ce,params:fe={}}=l,be=Q(l,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Re,direction:Me,breadcrumb:Pe}=A.useContext(K.E_);let Te;const Fe=Re("breadcrumb",O),[Le,Ze]=P(Fe),ke=J(X,T),k=a(Fe,ce);if(ke&&ke.length>0){const N=[],j=X||T;Te=ke.map((o,S)=>{const{path:$,key:Z,type:F,menu:V,overlay:te,onClick:le,className:ae,separator:oe,dropdownProps:Ee}=o,ye=re(fe,$);ye!==void 0&&N.push(ye);const ge=Z!=null?Z:S;if(F==="separator")return A.createElement(c,{key:ge},oe);const $e={},Se=S===ke.length-1;V?$e.menu=V:te&&($e.overlay=te);let{href:_e}=o;return N.length&&ye!==void 0&&(_e=`#/${N.join("/")}`),A.createElement(v,Object.assign({key:ge},$e,(0,z.Z)(o,{data:!0,aria:!0}),{className:ae,dropdownProps:Ee,href:_e,separator:Se?"":b,onClick:le,prefixCls:Fe}),k(o,fe,j,N,_e))})}else if(ee){const N=(0,W.Z)(ee).length;Te=(0,W.Z)(ee).map((j,o)=>{if(!j)return j;const S=o===N-1;return(0,U.Tm)(j,{separator:S?"":b,key:o})})}const B=R()(Fe,Pe==null?void 0:Pe.className,{[`${Fe}-rtl`]:Me==="rtl"},r,m,Ze),p=Object.assign(Object.assign({},Pe==null?void 0:Pe.style),t);return Le(A.createElement("nav",Object.assign({className:B,style:p},be),A.createElement("ol",null,Te)))};w.Item=u,w.Separator=c;var _=w,y=_},91857:function(Oe,ie,f){"use strict";var x=f(59301),R=f(38819),W=f(92310),z=f.n(W),A=f(31561),U=f(70425),K=f(18929),D=f(2738),e=f(79676),E=f(53487),c=f(92343),i=f(36355),n=f(20834),s=f(40875),a=f(88088),g=f(47211);const v=null,h=C=>{const{menu:M,arrow:P,prefixCls:L,children:G,trigger:J,disabled:Q,dropdownRender:re,getPopupContainer:w,overlayClassName:_,rootClassName:y,open:l,onOpenChange:O,visible:b,onVisibleChange:t,mouseEnterDelay:r=.15,mouseLeaveDelay:m=.1,autoAdjustOverflow:T=!0,placement:X="",overlay:ee,transitionName:ce}=C,{getPopupContainer:fe,getPrefixCls:be,direction:Re}=x.useContext(i.E_),Me=x.useMemo(()=>{const V=be();return ce!==void 0?ce:X.includes("top")?`${V}-slide-down`:`${V}-slide-up`},[be,X,ce]),Pe=x.useMemo(()=>X?X.includes("Center")?X.slice(0,X.indexOf("Center")):X:Re==="rtl"?"bottomRight":"bottomLeft",[X,Re]),Te=be("dropdown",L),[Fe,Le]=(0,g.Z)(Te),[,Ze]=(0,a.Z)(),ke=x.Children.only(G),k=(0,c.Tm)(ke,{className:z()(`${Te}-trigger`,{[`${Te}-rtl`]:Re==="rtl"},ke.props.className),disabled:Q}),B=Q?[]:J;let p;B&&B.includes("contextMenu")&&(p=!0);const[N,j]=(0,K.Z)(!1,{value:l!=null?l:b}),o=(0,U.useEvent)(V=>{O==null||O(V),t==null||t(V),j(V)}),S=z()(_,y,Le,{[`${Te}-rtl`]:Re==="rtl"}),$=(0,e.Z)({arrowPointAtCenter:typeof P=="object"&&P.pointAtCenter,autoAdjustOverflow:T,offset:Ze.marginXXS,arrowWidth:P?Ze.sizePopupArrow:0,borderRadius:Ze.borderRadius}),Z=x.useCallback(()=>{j(!1)},[]),F=()=>{let V;return M!=null&&M.items?V=x.createElement(n.default,Object.assign({},M)):typeof ee=="function"?V=ee():V=ee,re&&(V=re(V)),V=x.Children.only(typeof V=="string"?x.createElement("span",null,V):V),x.createElement(s.J,{prefixCls:`${Te}-menu`,expandIcon:x.createElement("span",{className:`${Te}-menu-submenu-arrow`},x.createElement(R.Z,{className:`${Te}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Z,validator:te=>{let{mode:le}=te}},V)};return Fe(x.createElement(A.Z,Object.assign({alignPoint:p},(0,D.Z)(C,["rootClassName"]),{mouseEnterDelay:r,mouseLeaveDelay:m,visible:N,builtinPlacements:$,arrow:!!P,overlayClassName:S,prefixCls:Te,getPopupContainer:w||fe,transitionName:Me,trigger:B,overlay:F,placement:Pe,onVisibleChange:o}),k))};function u(C){return Object.assign(Object.assign({},C),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const d=(0,E.Z)(h,"dropdown",C=>C,u),I=C=>x.createElement(d,Object.assign({},C),x.createElement("span",null));h._InternalPanelDoNotUseOrYouWillBeFired=I,ie.Z=h},47211:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return c}});var x=f(17313),R=f(13826),W=f(92899),z=f(29878),A=f(19447),U=f(83116),K=f(37613),e=i=>{const{componentCls:n,menuCls:s,colorError:a,colorTextLightSolid:g}=i,v=`${s}-item`;return{[`${n}, ${n}-menu-submenu`]:{[`${s} ${v}`]:{[`&${v}-danger:not(${v}-disabled)`]:{color:a,"&:hover":{color:g,backgroundColor:a}}}}}};const E=i=>{const{componentCls:n,menuCls:s,zIndexPopup:a,dropdownArrowDistance:g,sizePopupArrow:v,antCls:h,iconCls:u,motionDurationMid:d,dropdownPaddingVertical:I,fontSize:C,dropdownEdgeChildPadding:M,colorTextDisabled:P,fontSizeIcon:L,controlPaddingHorizontal:G,colorBgElevated:J}=i;return[{[n]:Object.assign(Object.assign({},(0,x.Wf)(i)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-g+v/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${h}-btn`]:{[`& > ${u}-down, & > ${h}-btn-icon > ${u}-down`]:{fontSize:L}},[`${n}-wrap`]:{position:"relative",[`${h}-btn > ${u}-down`]:{fontSize:L},[`${u}-down::before`]:{transition:`transform ${d}`}},[`${n}-wrap-open`]:{[`${u}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${h}-slide-down-enter${h}-slide-down-enter-active${n}-placement-bottomLeft,
|
|
&${h}-slide-down-appear${h}-slide-down-appear-active${n}-placement-bottomLeft,
|
|
&${h}-slide-down-enter${h}-slide-down-enter-active${n}-placement-bottom,
|
|
&${h}-slide-down-appear${h}-slide-down-appear-active${n}-placement-bottom,
|
|
&${h}-slide-down-enter${h}-slide-down-enter-active${n}-placement-bottomRight,
|
|
&${h}-slide-down-appear${h}-slide-down-appear-active${n}-placement-bottomRight`]:{animationName:R.fJ},[`&${h}-slide-up-enter${h}-slide-up-enter-active${n}-placement-topLeft,
|
|
&${h}-slide-up-appear${h}-slide-up-appear-active${n}-placement-topLeft,
|
|
&${h}-slide-up-enter${h}-slide-up-enter-active${n}-placement-top,
|
|
&${h}-slide-up-appear${h}-slide-up-appear-active${n}-placement-top,
|
|
&${h}-slide-up-enter${h}-slide-up-enter-active${n}-placement-topRight,
|
|
&${h}-slide-up-appear${h}-slide-up-appear-active${n}-placement-topRight`]:{animationName:R.Qt},[`&${h}-slide-down-leave${h}-slide-down-leave-active${n}-placement-bottomLeft,
|
|
&${h}-slide-down-leave${h}-slide-down-leave-active${n}-placement-bottom,
|
|
&${h}-slide-down-leave${h}-slide-down-leave-active${n}-placement-bottomRight`]:{animationName:R.Uw},[`&${h}-slide-up-leave${h}-slide-up-leave-active${n}-placement-topLeft,
|
|
&${h}-slide-up-leave${h}-slide-up-leave-active${n}-placement-top,
|
|
&${h}-slide-up-leave${h}-slide-up-leave-active${n}-placement-topRight`]:{animationName:R.ly}})},(0,A.ZP)(i,{colorBg:J,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${n} ${s}`]:{position:"relative",margin:0},[`${s}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${n}, ${n}-menu-submenu`]:{[s]:Object.assign(Object.assign({padding:M,listStyleType:"none",backgroundColor:J,backgroundClip:"padding-box",borderRadius:i.borderRadiusLG,outline:"none",boxShadow:i.boxShadowSecondary},(0,x.Qy)(i)),{[`${s}-item-group-title`]:{padding:`${I}px ${G}px`,color:i.colorTextDescription,transition:`all ${d}`},[`${s}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${s}-item-icon`]:{minWidth:C,marginInlineEnd:i.marginXS,fontSize:i.fontSizeSM},[`${s}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${d}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${s}-item, ${s}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${I}px ${G}px`,color:i.colorText,fontWeight:"normal",fontSize:C,lineHeight:i.lineHeight,cursor:"pointer",transition:`all ${d}`,borderRadius:i.borderRadiusSM,"&:hover, &-active":{backgroundColor:i.controlItemBgHover}},(0,x.Qy)(i)),{"&-selected":{color:i.colorPrimary,backgroundColor:i.controlItemBgActive,"&:hover, &-active":{backgroundColor:i.controlItemBgActiveHover}},"&-disabled":{color:P,cursor:"not-allowed","&:hover":{color:P,backgroundColor:J,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${i.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:i.colorSplit},[`${n}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:i.paddingXS,[`${n}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:i.colorTextDescription,fontSize:L,fontStyle:"normal"}}}),[`${s}-item-group-list`]:{margin:`0 ${i.marginXS}px`,padding:0,listStyle:"none"},[`${s}-submenu-title`]:{paddingInlineEnd:G+i.fontSizeSM},[`${s}-submenu-vertical`]:{position:"relative"},[`${s}-submenu${s}-submenu-disabled ${n}-menu-submenu-title`]:{[`&, ${n}-menu-submenu-arrow-icon`]:{color:P,backgroundColor:J,cursor:"not-allowed"}},[`${s}-submenu-selected ${n}-menu-submenu-title`]:{color:i.colorPrimary}})}},[(0,R.oN)(i,"slide-up"),(0,R.oN)(i,"slide-down"),(0,W.Fm)(i,"move-up"),(0,W.Fm)(i,"move-down"),(0,z._y)(i,"zoom-big")]]};var c=(0,U.Z)("Dropdown",(i,n)=>{let{rootPrefixCls:s}=n;const{marginXXS:a,sizePopupArrow:g,controlHeight:v,fontSize:h,lineHeight:u,paddingXXS:d,componentCls:I,borderRadiusLG:C}=i,M=(v-h*u)/2,{dropdownArrowOffset:P}=(0,A.fS)({contentRadius:C}),L=(0,K.TS)(i,{menuCls:`${I}-menu`,rootPrefixCls:s,dropdownArrowDistance:g/2+a,dropdownArrowOffset:P,dropdownPaddingVertical:M,dropdownEdgeChildPadding:d});return[E(L),e(L)]},i=>({zIndexPopup:i.zIndexPopupBase+50}))},45818:function(Oe,ie,f){"use strict";f.d(ie,{D:function(){return d},Z:function(){return M}});var x=f(72308),R=f(59301),W={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},z=W,A=f(7657),U=function(L,G){return R.createElement(A.Z,(0,x.Z)({},L,{ref:G,icon:z}))},K=R.forwardRef(U),D=K,e=f(33853),E=f(38819),c=f(92310),i=f.n(c),n=f(2738),a=P=>!isNaN(parseFloat(P))&&isFinite(P),g=f(36355),v=f(84966),h=function(P,L){var G={};for(var J in P)Object.prototype.hasOwnProperty.call(P,J)&&L.indexOf(J)<0&&(G[J]=P[J]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Q=0,J=Object.getOwnPropertySymbols(P);Q<J.length;Q++)L.indexOf(J[Q])<0&&Object.prototype.propertyIsEnumerable.call(P,J[Q])&&(G[J[Q]]=P[J[Q]]);return G};const u={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},d=R.createContext({}),I=(()=>{let P=0;return function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return P+=1,`${L}${P}`}})();var M=R.forwardRef((P,L)=>{const{prefixCls:G,className:J,trigger:Q,children:re,defaultCollapsed:w=!1,theme:_="dark",style:y={},collapsible:l=!1,reverseArrow:O=!1,width:b=200,collapsedWidth:t=80,zeroWidthTriggerStyle:r,breakpoint:m,onCollapse:T,onBreakpoint:X}=P,ee=h(P,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ce}=(0,R.useContext)(v.Gs),[fe,be]=(0,R.useState)("collapsed"in P?P.collapsed:w),[Re,Me]=(0,R.useState)(!1);(0,R.useEffect)(()=>{"collapsed"in P&&be(P.collapsed)},[P.collapsed]);const Pe=(k,B)=>{"collapsed"in P||be(k),T==null||T(k,B)},Te=(0,R.useRef)();Te.current=k=>{Me(k.matches),X==null||X(k.matches),fe!==k.matches&&Pe(k.matches,"responsive")},(0,R.useEffect)(()=>{function k(p){return Te.current(p)}let B;if(typeof window!="undefined"){const{matchMedia:p}=window;if(p&&m&&m in u){B=p(`(max-width: ${u[m]})`);try{B.addEventListener("change",k)}catch(N){B.addListener(k)}k(B)}}return()=>{try{B==null||B.removeEventListener("change",k)}catch(p){B==null||B.removeListener(k)}}},[m]),(0,R.useEffect)(()=>{const k=I("ant-sider-");return ce.addSider(k),()=>ce.removeSider(k)},[]);const Fe=()=>{Pe(!fe,"clickTrigger")},{getPrefixCls:Le}=(0,R.useContext)(g.E_),Ze=()=>{const k=Le("layout-sider",G),B=(0,n.Z)(ee,["collapsed"]),p=fe?t:b,N=a(p)?`${p}px`:String(p),j=parseFloat(String(t||0))===0?R.createElement("span",{onClick:Fe,className:i()(`${k}-zero-width-trigger`,`${k}-zero-width-trigger-${O?"right":"left"}`),style:r},Q||R.createElement(D,null)):null,$={expanded:O?R.createElement(E.Z,null):R.createElement(e.Z,null),collapsed:O?R.createElement(e.Z,null):R.createElement(E.Z,null)}[fe?"collapsed":"expanded"],Z=Q!==null?j||R.createElement("div",{className:`${k}-trigger`,onClick:Fe,style:{width:N}},Q||$):null,F=Object.assign(Object.assign({},y),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),V=i()(k,`${k}-${_}`,{[`${k}-collapsed`]:!!fe,[`${k}-has-trigger`]:l&&Q!==null&&!j,[`${k}-below`]:!!Re,[`${k}-zero-width`]:parseFloat(N)===0},J);return R.createElement("aside",Object.assign({className:V},B,{style:F,ref:L}),R.createElement("div",{className:`${k}-children`},re),l||Re&&j?Z:null)},ke=R.useMemo(()=>({siderCollapsed:fe}),[fe]);return R.createElement(d.Provider,{value:ke},Ze())})},84966:function(Oe,ie,f){"use strict";f.d(ie,{VY:function(){return d},$_:function(){return u},h4:function(){return h},Gs:function(){return n},ZP:function(){return I}});var x=f(80702),R=f(92310),W=f.n(R),z=f(2738),A=f(59301),U=f(36355),K=f(83116),e=C=>{const{componentCls:M,bodyBg:P,lightSiderBg:L,lightTriggerBg:G,lightTriggerColor:J}=C;return{[`${M}-sider-light`]:{background:L,[`${M}-sider-trigger`]:{color:J,background:G},[`${M}-sider-zero-width-trigger`]:{color:J,background:G,border:`1px solid ${P}`,borderInlineStart:0}}}};const E=C=>{const{antCls:M,componentCls:P,colorText:L,triggerColor:G,footerBg:J,triggerBg:Q,headerHeight:re,headerPadding:w,headerColor:_,footerPadding:y,triggerHeight:l,zeroTriggerHeight:O,zeroTriggerWidth:b,motionDurationMid:t,motionDurationSlow:r,fontSize:m,borderRadius:T,bodyBg:X,headerBg:ee,siderBg:ce}=C;return{[P]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:X,"&, *":{boxSizing:"border-box"},[`&${P}-has-sider`]:{flexDirection:"row",[`> ${P}, > ${P}-content`]:{width:0}},[`${P}-header, &${P}-footer`]:{flex:"0 0 auto"},[`${P}-sider`]:{position:"relative",minWidth:0,background:ce,transition:`all ${t}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${M}-menu${M}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:l},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:l,color:G,lineHeight:`${l}px`,textAlign:"center",background:Q,cursor:"pointer",transition:`all ${t}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:re,insetInlineEnd:-b,zIndex:1,width:b,height:O,color:G,fontSize:C.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ce,borderStartStartRadius:0,borderStartEndRadius:T,borderEndEndRadius:T,borderEndStartRadius:0,cursor:"pointer",transition:`background ${r} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${r}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-b,borderStartStartRadius:T,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:T}}}}},e(C)),{"&-rtl":{direction:"rtl"}}),[`${P}-header`]:{height:re,padding:w,color:_,lineHeight:`${re}px`,background:ee,[`${M}-menu`]:{lineHeight:"inherit"}},[`${P}-footer`]:{padding:y,color:L,fontSize:m,background:J},[`${P}-content`]:{flex:"auto",minHeight:0}}};var c=(0,K.Z)("Layout",C=>[E(C)],C=>{const{colorBgLayout:M,controlHeight:P,controlHeightLG:L,colorText:G,controlHeightSM:J,marginXXS:Q,colorTextLightSolid:re,colorBgContainer:w}=C,_=L*1.25;return{colorBgHeader:"#001529",colorBgBody:M,colorBgTrigger:"#002140",bodyBg:M,headerBg:"#001529",headerHeight:P*2,headerPadding:`0 ${_}px`,headerColor:G,footerPadding:`${J}px ${_}px`,footerBg:M,siderBg:"#001529",triggerHeight:L+Q*2,triggerBg:"#002140",triggerColor:re,zeroTriggerWidth:L,zeroTriggerHeight:L,lightSiderBg:w,lightTriggerBg:w,lightTriggerColor:G}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),i=function(C,M){var P={};for(var L in C)Object.prototype.hasOwnProperty.call(C,L)&&M.indexOf(L)<0&&(P[L]=C[L]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,L=Object.getOwnPropertySymbols(C);G<L.length;G++)M.indexOf(L[G])<0&&Object.prototype.propertyIsEnumerable.call(C,L[G])&&(P[L[G]]=C[L[G]]);return P};const n=A.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function s(C){let{suffixCls:M,tagName:P,displayName:L}=C;return G=>A.forwardRef((Q,re)=>A.createElement(G,Object.assign({ref:re,suffixCls:M,tagName:P},Q)))}const a=A.forwardRef((C,M)=>{const{prefixCls:P,suffixCls:L,className:G,tagName:J}=C,Q=i(C,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:re}=A.useContext(U.E_),w=re("layout",P),[_,y]=c(w),l=L?`${w}-${L}`:w;return _(A.createElement(J,Object.assign({className:W()(P||l,G,y),ref:M},Q)))}),g=A.forwardRef((C,M)=>{const{direction:P}=A.useContext(U.E_),[L,G]=A.useState([]),{prefixCls:J,className:Q,rootClassName:re,children:w,hasSider:_,tagName:y,style:l}=C,O=i(C,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),b=(0,z.Z)(O,["suffixCls"]),{getPrefixCls:t,layout:r}=A.useContext(U.E_),m=t("layout",J),[T,X]=c(m),ee=W()(m,{[`${m}-has-sider`]:typeof _=="boolean"?_:L.length>0,[`${m}-rtl`]:P==="rtl"},r==null?void 0:r.className,Q,re,X),ce=A.useMemo(()=>({siderHook:{addSider:fe=>{G(be=>[].concat((0,x.Z)(be),[fe]))},removeSider:fe=>{G(be=>be.filter(Re=>Re!==fe))}}}),[]);return T(A.createElement(n.Provider,{value:ce},A.createElement(y,Object.assign({ref:M,className:ee,style:Object.assign(Object.assign({},r==null?void 0:r.style),l)},b),w)))}),v=s({tagName:"div",displayName:"Layout"})(g),h=s({suffixCls:"header",tagName:"header",displayName:"Header"})(a),u=s({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),d=s({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var I=v},40875:function(Oe,ie,f){"use strict";f.d(ie,{J:function(){return U}});var x=f(59301),R=f(33234),W=f(70425),z=function(K,D){var e={};for(var E in K)Object.prototype.hasOwnProperty.call(K,E)&&D.indexOf(E)<0&&(e[E]=K[E]);if(K!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,E=Object.getOwnPropertySymbols(K);c<E.length;c++)D.indexOf(E[c])<0&&Object.prototype.propertyIsEnumerable.call(K,E[c])&&(e[E[c]]=K[E[c]]);return e};const A=x.createContext(null),U=x.forwardRef((K,D)=>{const{children:e}=K,E=z(K,["children"]),c=x.useContext(A),i=x.useMemo(()=>Object.assign(Object.assign({},c),E),[c,E.prefixCls,E.mode,E.selectable]);return x.createElement(A.Provider,{value:i},x.createElement(R.BR,null,(0,W.supportNodeRef)(e)?x.cloneElement(e,{ref:D}):e))});ie.Z=A},20834:function(Oe,ie,f){"use strict";f.d(ie,{default:function(){return ke}});var x=f(15285),R=f(59301),W=f(45818),z=f(92310),A=f.n(z),U=f(36355),K=function(k,B){var p={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&B.indexOf(N)<0&&(p[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,N=Object.getOwnPropertySymbols(k);j<N.length;j++)B.indexOf(N[j])<0&&Object.prototype.propertyIsEnumerable.call(k,N[j])&&(p[N[j]]=k[N[j]]);return p},e=k=>{const{prefixCls:B,className:p,dashed:N}=k,j=K(k,["prefixCls","className","dashed"]),{getPrefixCls:o}=R.useContext(U.E_),S=o("menu",B),$=A()({[`${S}-item-divider-dashed`]:!!N},p);return R.createElement(x.iz,Object.assign({className:$},j))},E=f(11592),c=f(2738),i=f(6848),n=f(92343),a=(0,R.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),v=k=>{var B;const{className:p,children:N,icon:j,title:o,danger:S}=k,{prefixCls:$,firstLevel:Z,direction:F,disableMenuItemTitleTooltip:V,inlineCollapsed:te}=R.useContext(a),le=$e=>{const Se=R.createElement("span",{className:`${$}-title-content`},N);return(!j||(0,n.l$)(N)&&N.type==="span")&&N&&$e&&Z&&typeof N=="string"?R.createElement("div",{className:`${$}-inline-collapsed-noicon`},N.charAt(0)):Se},{siderCollapsed:ae}=R.useContext(W.D);let oe=o;typeof o=="undefined"?oe=Z?N:"":o===!1&&(oe="");const Ee={title:oe};!ae&&!te&&(Ee.title=null,Ee.open=!1);const ye=(0,E.Z)(N).length;let ge=R.createElement(x.ck,Object.assign({},(0,c.Z)(k,["title","icon","danger"]),{className:A()({[`${$}-item-danger`]:S,[`${$}-item-only-child`]:(j?ye+1:ye)===1},p),title:typeof o=="string"?o:void 0}),(0,n.Tm)(j,{className:A()((0,n.l$)(j)?(B=j.props)===null||B===void 0?void 0:B.className:"",`${$}-item-icon`)}),le(te));return V||(ge=R.createElement(i.Z,Object.assign({},Ee,{placement:F==="rtl"?"left":"right",overlayClassName:`${$}-inline-collapsed-tooltip`}),ge)),ge},u=k=>{var B;const{popupClassName:p,icon:N,title:j,theme:o}=k,S=R.useContext(a),{prefixCls:$,inlineCollapsed:Z,theme:F}=S,V=(0,x.Xl)();let te;if(!N)te=Z&&!V.length&&j&&typeof j=="string"?R.createElement("div",{className:`${$}-inline-collapsed-noicon`},j.charAt(0)):R.createElement("span",{className:`${$}-title-content`},j);else{const ae=(0,n.l$)(j)&&j.type==="span";te=R.createElement(R.Fragment,null,(0,n.Tm)(N,{className:A()((0,n.l$)(N)?(B=N.props)===null||B===void 0?void 0:B.className:"",`${$}-item-icon`)}),ae?j:R.createElement("span",{className:`${$}-title-content`},j))}const le=R.useMemo(()=>Object.assign(Object.assign({},S),{firstLevel:!1}),[S]);return R.createElement(a.Provider,{value:le},R.createElement(x.Wd,Object.assign({},(0,c.Z)(k,["icon"]),{title:te,popupClassName:A()($,p,`${$}-${o||F}`)})))},d=f(18785),I=f(70425),C=f(62892),M=f(40875),P=function(k,B){var p={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&B.indexOf(N)<0&&(p[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,N=Object.getOwnPropertySymbols(k);j<N.length;j++)B.indexOf(N[j])<0&&Object.prototype.propertyIsEnumerable.call(k,N[j])&&(p[N[j]]=k[N[j]]);return p};function L(k){return(k||[]).map((B,p)=>{if(B&&typeof B=="object"){const N=B,{label:j,children:o,key:S,type:$}=N,Z=P(N,["label","children","key","type"]),F=S!=null?S:`tmp-${p}`;return o||$==="group"?$==="group"?R.createElement(x.BW,Object.assign({key:F},Z,{title:j}),L(o)):R.createElement(u,Object.assign({key:F},Z,{title:j}),L(o)):$==="divider"?R.createElement(e,Object.assign({key:F},Z)):R.createElement(v,Object.assign({key:F},Z),j)}return null}).filter(B=>B)}function G(k){return R.useMemo(()=>k&&L(k),[k])}var J=f(64993),Q=f(17313),re=f(8378),w=f(13826),_=f(29878),y=f(83116),l=f(37613),b=k=>{const{componentCls:B,motionDurationSlow:p,horizontalLineHeight:N,colorSplit:j,lineWidth:o,lineType:S,itemPaddingInline:$}=k;return{[`${B}-horizontal`]:{lineHeight:N,border:0,borderBottom:`${o}px ${S} ${j}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${B}-item, ${B}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:$},[`> ${B}-item:hover,
|
|
> ${B}-item-active,
|
|
> ${B}-submenu ${B}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${B}-item, ${B}-submenu-title`]:{transition:[`border-color ${p}`,`background ${p}`].join(",")},[`${B}-submenu-arrow`]:{display:"none"}}}},r=k=>{let{componentCls:B,menuArrowOffset:p}=k;return{[`${B}-rtl`]:{direction:"rtl"},[`${B}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${B}-rtl${B}-vertical,
|
|
${B}-submenu-rtl ${B}-vertical`]:{[`${B}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${p})`},"&::after":{transform:`rotate(45deg) translateY(${p})`}}}}};const m=k=>Object.assign({},(0,Q.oN)(k));var X=(k,B)=>{const{componentCls:p,itemColor:N,itemSelectedColor:j,groupTitleColor:o,itemBg:S,subMenuItemBg:$,itemSelectedBg:Z,activeBarHeight:F,activeBarWidth:V,activeBarBorderWidth:te,motionDurationSlow:le,motionEaseInOut:ae,motionEaseOut:oe,itemPaddingInline:Ee,motionDurationMid:ye,itemHoverColor:ge,lineType:$e,colorSplit:Se,itemDisabledColor:_e,dangerItemColor:We,dangerItemHoverColor:Ve,dangerItemSelectedColor:qe,dangerItemActiveBg:Ke,dangerItemSelectedBg:_t,itemHoverBg:et,itemActiveBg:ct,menuSubMenuBg:tt,horizontalItemSelectedColor:xt,horizontalItemSelectedBg:He,horizontalItemBorderRadius:Ye,horizontalItemHoverBg:Xe,popupBg:rt}=k;return{[`${p}-${B}, ${p}-${B} > ${p}`]:{color:N,background:S,[`&${p}-root:focus-visible`]:Object.assign({},m(k)),[`${p}-item-group-title`]:{color:o},[`${p}-submenu-selected`]:{[`> ${p}-submenu-title`]:{color:j}},[`${p}-item-disabled, ${p}-submenu-disabled`]:{color:`${_e} !important`},[`${p}-item:not(${p}-item-selected):not(${p}-submenu-selected)`]:{[`&:hover, > ${p}-submenu-title:hover`]:{color:ge}},[`&:not(${p}-horizontal)`]:{[`${p}-item:not(${p}-item-selected)`]:{"&:hover":{backgroundColor:et},"&:active":{backgroundColor:ct}},[`${p}-submenu-title`]:{"&:hover":{backgroundColor:et},"&:active":{backgroundColor:ct}}},[`${p}-item-danger`]:{color:We,[`&${p}-item:hover`]:{[`&:not(${p}-item-selected):not(${p}-submenu-selected)`]:{color:Ve}},[`&${p}-item:active`]:{background:Ke}},[`${p}-item a`]:{"&, &:hover":{color:"inherit"}},[`${p}-item-selected`]:{color:j,[`&${p}-item-danger`]:{color:qe},"a, a:hover":{color:"inherit"}},[`& ${p}-item-selected`]:{backgroundColor:Z,[`&${p}-item-danger`]:{backgroundColor:_t}},[`${p}-item, ${p}-submenu-title`]:{[`&:not(${p}-item-disabled):focus-visible`]:Object.assign({},m(k))},[`&${p}-submenu > ${p}`]:{backgroundColor:tt},[`&${p}-popup > ${p}`]:{backgroundColor:rt},[`&${p}-horizontal`]:Object.assign(Object.assign({},B==="dark"?{borderBottom:0}:{}),{[`> ${p}-item, > ${p}-submenu`]:{top:te,marginTop:-te,marginBottom:0,borderRadius:Ye,"&::after":{position:"absolute",insetInline:Ee,bottom:0,borderBottom:`${F}px solid transparent`,transition:`border-color ${le} ${ae}`,content:'""'},"&:hover, &-active, &-open":{background:Xe,"&::after":{borderBottomWidth:F,borderBottomColor:xt}},"&-selected":{color:xt,backgroundColor:He,"&:hover":{backgroundColor:He},"&::after":{borderBottomWidth:F,borderBottomColor:xt}}}}),[`&${p}-root`]:{[`&${p}-inline, &${p}-vertical`]:{borderInlineEnd:`${te}px ${$e} ${Se}`}},[`&${p}-inline`]:{[`${p}-sub${p}-inline`]:{background:$},[`${p}-item, ${p}-submenu-title`]:te&&V?{width:`calc(100% + ${te}px)`}:{},[`${p}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${V}px solid ${j}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${ye} ${oe}`,`opacity ${ye} ${oe}`].join(","),content:'""'},[`&${p}-item-danger`]:{"&::after":{borderInlineEndColor:qe}}},[`${p}-selected, ${p}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ye} ${ae}`,`opacity ${ye} ${ae}`].join(",")}}}}}};const ee=k=>{const{componentCls:B,itemHeight:p,itemMarginInline:N,padding:j,menuArrowSize:o,marginXS:S,itemMarginBlock:$}=k,Z=j+o+S;return{[`${B}-item`]:{position:"relative",overflow:"hidden"},[`${B}-item, ${B}-submenu-title`]:{height:p,lineHeight:`${p}px`,paddingInline:j,overflow:"hidden",textOverflow:"ellipsis",marginInline:N,marginBlock:$,width:`calc(100% - ${N*2}px)`},[`> ${B}-item,
|
|
> ${B}-submenu > ${B}-submenu-title`]:{height:p,lineHeight:`${p}px`},[`${B}-item-group-list ${B}-submenu-title,
|
|
${B}-submenu-title`]:{paddingInlineEnd:Z}}};var fe=k=>{const{componentCls:B,iconCls:p,itemHeight:N,colorTextLightSolid:j,dropdownWidth:o,controlHeightLG:S,motionDurationMid:$,motionEaseOut:Z,paddingXL:F,itemMarginInline:V,fontSizeLG:te,motionDurationSlow:le,paddingXS:ae,boxShadowSecondary:oe,collapsedWidth:Ee,collapsedIconSize:ye}=k,ge={height:N,lineHeight:`${N}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[B]:{"&-inline, &-vertical":Object.assign({[`&${B}-root`]:{boxShadow:"none"}},ee(k))},[`${B}-submenu-popup`]:{[`${B}-vertical`]:Object.assign(Object.assign({},ee(k)),{boxShadow:oe})}},{[`${B}-submenu-popup ${B}-vertical${B}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${S*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${B}-inline`]:{width:"100%",[`&${B}-root`]:{[`${B}-item, ${B}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${le}`,`background ${le}`,`padding ${$} ${Z}`].join(","),[`> ${B}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${B}-sub${B}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${B}-submenu > ${B}-submenu-title`]:ge,[`& ${B}-item-group-title`]:{paddingInlineStart:F}},[`${B}-item`]:ge}},{[`${B}-inline-collapsed`]:{width:Ee,[`&${B}-root`]:{[`${B}-item, ${B}-submenu ${B}-submenu-title`]:{[`> ${B}-inline-collapsed-noicon`]:{fontSize:te,textAlign:"center"}}},[`> ${B}-item,
|
|
> ${B}-item-group > ${B}-item-group-list > ${B}-item,
|
|
> ${B}-item-group > ${B}-item-group-list > ${B}-submenu > ${B}-submenu-title,
|
|
> ${B}-submenu > ${B}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${te/2}px - ${V}px)`,textOverflow:"clip",[`
|
|
${B}-submenu-arrow,
|
|
${B}-submenu-expand-icon
|
|
`]:{opacity:0},[`${B}-item-icon, ${p}`]:{margin:0,fontSize:ye,lineHeight:`${N}px`,"+ span":{display:"inline-block",opacity:0}}},[`${B}-item-icon, ${p}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${B}-item-icon, ${p}`]:{display:"none"},"a, a:hover":{color:j}},[`${B}-item-group-title`]:Object.assign(Object.assign({},Q.vS),{paddingInline:ae})}}]};const be=k=>{const{componentCls:B,motionDurationSlow:p,motionDurationMid:N,motionEaseInOut:j,motionEaseOut:o,iconCls:S,iconSize:$,iconMarginInlineEnd:Z}=k;return{[`${B}-item, ${B}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${p}`,`background ${p}`,`padding ${p} ${j}`].join(","),[`${B}-item-icon, ${S}`]:{minWidth:$,fontSize:$,transition:[`font-size ${N} ${o}`,`margin ${p} ${j}`,`color ${p}`].join(","),"+ span":{marginInlineStart:Z,opacity:1,transition:[`opacity ${p} ${j}`,`margin ${p}`,`color ${p}`].join(",")}},[`${B}-item-icon`]:Object.assign({},(0,Q.Ro)()),[`&${B}-item-only-child`]:{[`> ${S}, > ${B}-item-icon`]:{marginInlineEnd:0}}},[`${B}-item-disabled, ${B}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${B}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Re=k=>{const{componentCls:B,motionDurationSlow:p,motionEaseInOut:N,borderRadius:j,menuArrowSize:o,menuArrowOffset:S}=k;return{[`${B}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:k.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${p} ${N}, opacity ${p}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:o*.6,height:o*.15,backgroundColor:"currentcolor",borderRadius:j,transition:[`background ${p} ${N}`,`transform ${p} ${N}`,`top ${p} ${N}`,`color ${p} ${N}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${S})`},"&::after":{transform:`rotate(-45deg) translateY(${S})`}}}}},Me=k=>{const{antCls:B,componentCls:p,fontSize:N,motionDurationSlow:j,motionDurationMid:o,motionEaseInOut:S,paddingXS:$,padding:Z,colorSplit:F,lineWidth:V,zIndexPopup:te,borderRadiusLG:le,subMenuItemBorderRadius:ae,menuArrowSize:oe,menuArrowOffset:Ee,lineType:ye,menuPanelMaskInset:ge,groupTitleLineHeight:$e,groupTitleFontSize:Se}=k;return[{"":{[`${p}`]:Object.assign(Object.assign({},(0,Q.dF)()),{"&-hidden":{display:"none"}})},[`${p}-submenu-hidden`]:{display:"none"}},{[p]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Q.Wf)(k)),(0,Q.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:N,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${j} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${p}-item`]:{flex:"none"}},[`${p}-item, ${p}-submenu, ${p}-submenu-title`]:{borderRadius:k.itemBorderRadius},[`${p}-item-group-title`]:{padding:`${$}px ${Z}px`,fontSize:Se,lineHeight:$e,transition:`all ${j}`},[`&-horizontal ${p}-submenu`]:{transition:[`border-color ${j} ${S}`,`background ${j} ${S}`].join(",")},[`${p}-submenu, ${p}-submenu-inline`]:{transition:[`border-color ${j} ${S}`,`background ${j} ${S}`,`padding ${o} ${S}`].join(",")},[`${p}-submenu ${p}-sub`]:{cursor:"initial",transition:[`background ${j} ${S}`,`padding ${j} ${S}`].join(",")},[`${p}-title-content`]:{transition:`color ${j}`},[`${p}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${p}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:F,borderStyle:ye,borderWidth:0,borderTopWidth:V,marginBlock:V,padding:0,"&-dashed":{borderStyle:"dashed"}}}),be(k)),{[`${p}-item-group`]:{[`${p}-item-group-list`]:{margin:0,padding:0,[`${p}-item, ${p}-submenu-title`]:{paddingInline:`${N*2}px ${Z}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:te,borderRadius:le,boxShadow:"none",transformOrigin:"0 0",[`&${p}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ge}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ge},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:k.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:k.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:k.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:k.paddingXS},[`> ${p}`]:Object.assign(Object.assign(Object.assign({borderRadius:le},be(k)),Re(k)),{[`${p}-item, ${p}-submenu > ${p}-submenu-title`]:{borderRadius:ae},[`${p}-submenu-title::after`]:{transition:`transform ${j} ${S}`}})}}),Re(k)),{[`&-inline-collapsed ${p}-submenu-arrow,
|
|
&-inline ${p}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ee})`},"&::after":{transform:`rotate(45deg) translateX(-${Ee})`}},[`${p}-submenu-open${p}-submenu-inline > ${p}-submenu-title > ${p}-submenu-arrow`]:{transform:`translateY(-${oe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ee})`},"&::before":{transform:`rotate(45deg) translateX(${Ee})`}}})},{[`${B}-layout-header`]:{[p]:{lineHeight:"inherit"}}}]};var Pe=(k,B)=>(0,y.Z)("Menu",N=>{if(B===!1)return[];const{colorBgElevated:j,colorPrimary:o,colorTextLightSolid:S,controlHeightLG:$,fontSize:Z,darkItemColor:F,darkDangerItemColor:V,darkItemBg:te,darkSubMenuItemBg:le,darkItemSelectedColor:ae,darkItemSelectedBg:oe,darkDangerItemSelectedBg:Ee,darkItemHoverBg:ye,darkGroupTitleColor:ge,darkItemHoverColor:$e,darkItemDisabledColor:Se,darkDangerItemHoverColor:_e,darkDangerItemSelectedColor:We,darkDangerItemActiveBg:Ve}=N,qe=Z/7*5,Ke=(0,l.TS)(N,{menuArrowSize:qe,menuHorizontalHeight:$*1.15,menuArrowOffset:`${qe*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:j}),_t=(0,l.TS)(Ke,{itemColor:F,itemHoverColor:$e,groupTitleColor:ge,itemSelectedColor:ae,itemBg:te,popupBg:te,subMenuItemBg:le,itemActiveBg:"transparent",itemSelectedBg:oe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ye,itemDisabledColor:Se,dangerItemColor:V,dangerItemHoverColor:_e,dangerItemSelectedColor:We,dangerItemActiveBg:Ve,dangerItemSelectedBg:Ee,menuSubMenuBg:le,horizontalItemSelectedColor:S,horizontalItemSelectedBg:o});return[Me(Ke),b(Ke),fe(Ke),X(Ke,"light"),X(_t,"dark"),r(Ke),(0,re.Z)(Ke),(0,w.oN)(Ke,"slide-up"),(0,w.oN)(Ke,"slide-down"),(0,_._y)(Ke,"zoom-big")]},N=>{const{colorPrimary:j,colorError:o,colorTextDisabled:S,colorErrorBg:$,colorText:Z,colorTextDescription:F,colorBgContainer:V,colorFillAlter:te,colorFillContent:le,lineWidth:ae,lineWidthBold:oe,controlItemBgActive:Ee,colorBgTextHover:ye,controlHeightLG:ge,lineHeight:$e,colorBgElevated:Se,marginXXS:_e,padding:We,fontSize:Ve,controlHeightSM:qe,fontSizeLG:Ke,colorTextLightSolid:_t,colorErrorHover:et}=N,ct=new J.C(_t).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:N.zIndexPopupBase+50,radiusItem:N.borderRadiusLG,itemBorderRadius:N.borderRadiusLG,radiusSubMenuItem:N.borderRadiusSM,subMenuItemBorderRadius:N.borderRadiusSM,colorItemText:Z,itemColor:Z,colorItemTextHover:Z,itemHoverColor:Z,colorItemTextHoverHorizontal:j,horizontalItemHoverColor:j,colorGroupTitle:F,groupTitleColor:F,colorItemTextSelected:j,itemSelectedColor:j,colorItemTextSelectedHorizontal:j,horizontalItemSelectedColor:j,colorItemBg:V,itemBg:V,colorItemBgHover:ye,itemHoverBg:ye,colorItemBgActive:le,itemActiveBg:Ee,colorSubItemBg:te,subMenuItemBg:te,colorItemBgSelected:Ee,itemSelectedBg:Ee,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:oe,activeBarHeight:oe,colorActiveBarBorderSize:ae,activeBarBorderWidth:ae,colorItemTextDisabled:S,itemDisabledColor:S,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:$,dangerItemActiveBg:$,colorDangerItemBgSelected:$,dangerItemSelectedBg:$,itemMarginInline:N.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ge,groupTitleLineHeight:$e,collapsedWidth:ge*2,popupBg:Se,itemMarginBlock:_e,itemPaddingInline:We,horizontalLineHeight:`${ge*1.15}px`,iconSize:Ve,iconMarginInlineEnd:qe-Ve,collapsedIconSize:Ke,groupTitleFontSize:Ve,darkItemDisabledColor:new J.C(_t).setAlpha(.25).toRgbString(),darkItemColor:ct,darkDangerItemColor:o,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:_t,darkItemSelectedBg:j,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:ct,darkItemHoverColor:_t,darkDangerItemHoverColor:et,darkDangerItemSelectedColor:_t,darkDangerItemActiveBg:o}},{deprecatedTokens:[["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"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(k),Te=function(k,B){var p={};for(var N in k)Object.prototype.hasOwnProperty.call(k,N)&&B.indexOf(N)<0&&(p[N]=k[N]);if(k!=null&&typeof Object.getOwnPropertySymbols=="function")for(var j=0,N=Object.getOwnPropertySymbols(k);j<N.length;j++)B.indexOf(N[j])<0&&Object.prototype.propertyIsEnumerable.call(k,N[j])&&(p[N[j]]=k[N[j]]);return p},Le=(0,R.forwardRef)((k,B)=>{var p,N;const j=R.useContext(M.Z),o=j||{},{getPrefixCls:S,getPopupContainer:$,direction:Z,menu:F}=R.useContext(U.E_),V=S(),{prefixCls:te,className:le,style:ae,theme:oe="light",expandIcon:Ee,_internalDisableMenuItemTitleTooltip:ye,inlineCollapsed:ge,siderCollapsed:$e,items:Se,children:_e,rootClassName:We,mode:Ve,selectable:qe,onClick:Ke,overflowedIndicatorPopupClassName:_t}=k,et=Te(k,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ct=(0,c.Z)(et,["collapsedWidth"]),tt=G(Se)||_e;(p=o.validator)===null||p===void 0||p.call(o,{mode:Ve});const xt=(0,I.useEvent)(function(){var Wt;Ke==null||Ke.apply(void 0,arguments),(Wt=o.onClick)===null||Wt===void 0||Wt.call(o)}),He=o.mode||Ve,Ye=qe!=null?qe:o.selectable,Xe=R.useMemo(()=>$e!==void 0?$e:ge,[ge,$e]),rt={horizontal:{motionName:`${V}-slide-up`},inline:(0,C.Z)(V),other:{motionName:`${V}-zoom-big`}},me=S("menu",te||o.prefixCls),[Tt,st]=Pe(me,!j),vt=A()(`${me}-${oe}`,F==null?void 0:F.className,le);let Pt;if(typeof Ee=="function")Pt=Ee;else if(Ee===null||Ee===!1)Pt=null;else if(o.expandIcon===null||o.expandIcon===!1)Pt=null;else{const Wt=Ee!=null?Ee:o.expandIcon;Pt=(0,n.Tm)(Wt,{className:A()(`${me}-submenu-expand-icon`,(0,n.l$)(Wt)?(N=Wt.props)===null||N===void 0?void 0:N.className:"")})}const pt=R.useMemo(()=>({prefixCls:me,inlineCollapsed:Xe||!1,direction:Z,firstLevel:!0,theme:oe,mode:He,disableMenuItemTitleTooltip:ye}),[me,Xe,Z,ye,oe]);return Tt(R.createElement(M.Z.Provider,{value:null},R.createElement(a.Provider,{value:pt},R.createElement(x.ZP,Object.assign({getPopupContainer:$,overflowedIndicator:R.createElement(d.Z,null),overflowedIndicatorPopupClassName:A()(me,`${me}-${oe}`,_t),mode:He,selectable:Ye,onClick:xt},ct,{inlineCollapsed:Xe,style:Object.assign(Object.assign({},F==null?void 0:F.style),ae),className:vt,prefixCls:me,direction:Z,defaultMotions:rt,expandIcon:Pt,ref:B,rootClassName:A()(We,st)}),tt))))});const Ze=(0,R.forwardRef)((k,B)=>{const p=(0,R.useRef)(null),N=R.useContext(W.D);return(0,R.useImperativeHandle)(B,()=>({menu:p.current,focus:j=>{var o;(o=p.current)===null||o===void 0||o.focus(j)}})),R.createElement(Le,Object.assign({ref:p},k,N))});Ze.Item=v,Ze.SubMenu=u,Ze.Divider=e,Ze.ItemGroup=x.BW;var ke=Ze},61621:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return B}});var x=f(92310),R=f.n(x),W=f(59301),z=f(36355),A=f(2738),K=p=>{const{prefixCls:N,className:j,style:o,size:S,shape:$}=p,Z=R()({[`${N}-lg`]:S==="large",[`${N}-sm`]:S==="small"}),F=R()({[`${N}-circle`]:$==="circle",[`${N}-square`]:$==="square",[`${N}-round`]:$==="round"}),V=W.useMemo(()=>typeof S=="number"?{width:S,height:S,lineHeight:`${S}px`}:{},[S]);return W.createElement("span",{className:R()(N,Z,F,j),style:Object.assign(Object.assign({},V),o)})},D=f(93083),e=f(83116),E=f(37613);const c=new D.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),i=p=>({height:p,lineHeight:`${p}px`}),n=p=>Object.assign({width:p},i(p)),s=p=>({background:p.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:c,animationDuration:p.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=p=>Object.assign({width:p*5,minWidth:p*5},i(p)),g=p=>{const{skeletonAvatarCls:N,gradientFromColor:j,controlHeight:o,controlHeightLG:S,controlHeightSM:$}=p;return{[`${N}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:j},n(o)),[`${N}${N}-circle`]:{borderRadius:"50%"},[`${N}${N}-lg`]:Object.assign({},n(S)),[`${N}${N}-sm`]:Object.assign({},n($))}},v=p=>{const{controlHeight:N,borderRadiusSM:j,skeletonInputCls:o,controlHeightLG:S,controlHeightSM:$,gradientFromColor:Z}=p;return{[`${o}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Z,borderRadius:j},a(N)),[`${o}-lg`]:Object.assign({},a(S)),[`${o}-sm`]:Object.assign({},a($))}},h=p=>Object.assign({width:p},i(p)),u=p=>{const{skeletonImageCls:N,imageSizeBase:j,gradientFromColor:o,borderRadiusSM:S}=p;return{[`${N}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:o,borderRadius:S},h(j*2)),{[`${N}-path`]:{fill:"#bfbfbf"},[`${N}-svg`]:Object.assign(Object.assign({},h(j)),{maxWidth:j*4,maxHeight:j*4}),[`${N}-svg${N}-svg-circle`]:{borderRadius:"50%"}}),[`${N}${N}-circle`]:{borderRadius:"50%"}}},d=(p,N,j)=>{const{skeletonButtonCls:o}=p;return{[`${j}${o}-circle`]:{width:N,minWidth:N,borderRadius:"50%"},[`${j}${o}-round`]:{borderRadius:N}}},I=p=>Object.assign({width:p*2,minWidth:p*2},i(p)),C=p=>{const{borderRadiusSM:N,skeletonButtonCls:j,controlHeight:o,controlHeightLG:S,controlHeightSM:$,gradientFromColor:Z}=p;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${j}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Z,borderRadius:N,width:o*2,minWidth:o*2},I(o))},d(p,o,j)),{[`${j}-lg`]:Object.assign({},I(S))}),d(p,S,`${j}-lg`)),{[`${j}-sm`]:Object.assign({},I($))}),d(p,$,`${j}-sm`))},M=p=>{const{componentCls:N,skeletonAvatarCls:j,skeletonTitleCls:o,skeletonParagraphCls:S,skeletonButtonCls:$,skeletonInputCls:Z,skeletonImageCls:F,controlHeight:V,controlHeightLG:te,controlHeightSM:le,gradientFromColor:ae,padding:oe,marginSM:Ee,borderRadius:ye,titleHeight:ge,blockRadius:$e,paragraphLiHeight:Se,controlHeightXS:_e,paragraphMarginTop:We}=p;return{[`${N}`]:{display:"table",width:"100%",[`${N}-header`]:{display:"table-cell",paddingInlineEnd:oe,verticalAlign:"top",[`${j}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:ae},n(V)),[`${j}-circle`]:{borderRadius:"50%"},[`${j}-lg`]:Object.assign({},n(te)),[`${j}-sm`]:Object.assign({},n(le))},[`${N}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${o}`]:{width:"100%",height:ge,background:ae,borderRadius:$e,[`+ ${S}`]:{marginBlockStart:le}},[`${S}`]:{padding:0,"> li":{width:"100%",height:Se,listStyle:"none",background:ae,borderRadius:$e,"+ li":{marginBlockStart:_e}}},[`${S}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${N}-content`]:{[`${o}, ${S} > li`]:{borderRadius:ye}}},[`${N}-with-avatar ${N}-content`]:{[`${o}`]:{marginBlockStart:Ee,[`+ ${S}`]:{marginBlockStart:We}}},[`${N}${N}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},C(p)),g(p)),v(p)),u(p)),[`${N}${N}-block`]:{width:"100%",[`${$}`]:{width:"100%"},[`${Z}`]:{width:"100%"}},[`${N}${N}-active`]:{[`
|
|
${o},
|
|
${S} > li,
|
|
${j},
|
|
${$},
|
|
${Z},
|
|
${F}
|
|
`]:Object.assign({},s(p))}}};var P=(0,e.Z)("Skeleton",p=>{const{componentCls:N}=p,j=(0,E.TS)(p,{skeletonAvatarCls:`${N}-avatar`,skeletonTitleCls:`${N}-title`,skeletonParagraphCls:`${N}-paragraph`,skeletonButtonCls:`${N}-button`,skeletonInputCls:`${N}-input`,skeletonImageCls:`${N}-image`,imageSizeBase:p.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${p.gradientFromColor} 25%, ${p.gradientToColor} 37%, ${p.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[M(j)]},p=>{const{colorFillContent:N,colorFill:j}=p,o=N,S=j;return{color:o,colorGradientEnd:S,gradientFromColor:o,gradientToColor:S,titleHeight:p.controlHeight/2,blockRadius:p.borderRadiusSM,paragraphMarginTop:p.marginLG+p.marginXXS,paragraphLiHeight:p.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),G=p=>{const{prefixCls:N,className:j,rootClassName:o,active:S,shape:$="circle",size:Z="default"}=p,{getPrefixCls:F}=W.useContext(z.E_),V=F("skeleton",N),[te,le]=P(V),ae=(0,A.Z)(p,["prefixCls","className"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S},j,o,le);return te(W.createElement("div",{className:oe},W.createElement(K,Object.assign({prefixCls:`${V}-avatar`,shape:$,size:Z},ae))))},Q=p=>{const{prefixCls:N,className:j,rootClassName:o,active:S,block:$=!1,size:Z="default"}=p,{getPrefixCls:F}=W.useContext(z.E_),V=F("skeleton",N),[te,le]=P(V),ae=(0,A.Z)(p,["prefixCls"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S,[`${V}-block`]:$},j,o,le);return te(W.createElement("div",{className:oe},W.createElement(K,Object.assign({prefixCls:`${V}-button`,size:Z},ae))))};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 _=p=>{const{prefixCls:N,className:j,rootClassName:o,style:S,active:$}=p,{getPrefixCls:Z}=W.useContext(z.E_),F=Z("skeleton",N),[V,te]=P(F),le=R()(F,`${F}-element`,{[`${F}-active`]:$},j,o,te);return V(W.createElement("div",{className:le},W.createElement("div",{className:R()(`${F}-image`,j),style:S},W.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${F}-image-svg`},W.createElement("path",{d:re,className:`${F}-image-path`})))))},l=p=>{const{prefixCls:N,className:j,rootClassName:o,active:S,block:$,size:Z="default"}=p,{getPrefixCls:F}=W.useContext(z.E_),V=F("skeleton",N),[te,le]=P(V),ae=(0,A.Z)(p,["prefixCls"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S,[`${V}-block`]:$},j,o,le);return te(W.createElement("div",{className:oe},W.createElement(K,Object.assign({prefixCls:`${V}-input`,size:Z},ae))))},O=f(72308),b={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"},t=b,r=f(7657),m=function(N,j){return W.createElement(r.Z,(0,O.Z)({},N,{ref:j,icon:t}))},T=W.forwardRef(m),X=T,ce=p=>{const{prefixCls:N,className:j,rootClassName:o,style:S,active:$,children:Z}=p,{getPrefixCls:F}=W.useContext(z.E_),V=F("skeleton",N),[te,le]=P(V),ae=R()(V,`${V}-element`,{[`${V}-active`]:$},le,j,o),oe=Z!=null?Z:W.createElement(X,null);return te(W.createElement("div",{className:ae},W.createElement("div",{className:R()(`${V}-image`,j),style:S},oe)))},fe=f(80702),Re=p=>{const N=F=>{const{width:V,rows:te=2}=p;if(Array.isArray(V))return V[F];if(te-1===F)return V},{prefixCls:j,className:o,style:S,rows:$}=p,Z=(0,fe.Z)(Array($)).map((F,V)=>W.createElement("li",{key:V,style:{width:N(V)}}));return W.createElement("ul",{className:R()(j,o),style:S},Z)},Pe=p=>{let{prefixCls:N,className:j,width:o,style:S}=p;return W.createElement("h3",{className:R()(N,j),style:Object.assign({width:o},S)})};function Te(p){return p&&typeof p=="object"?p:{}}function Fe(p,N){return p&&!N?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Le(p,N){return!p&&N?{width:"38%"}:p&&N?{width:"50%"}:{}}function Ze(p,N){const j={};return(!p||!N)&&(j.width="61%"),!p&&N?j.rows=3:j.rows=2,j}const ke=p=>{const{prefixCls:N,loading:j,className:o,rootClassName:S,style:$,children:Z,avatar:F=!1,title:V=!0,paragraph:te=!0,active:le,round:ae}=p,{getPrefixCls:oe,direction:Ee,skeleton:ye}=W.useContext(z.E_),ge=oe("skeleton",N),[$e,Se]=P(ge);if(j||!("loading"in p)){const _e=!!F,We=!!V,Ve=!!te;let qe;if(_e){const et=Object.assign(Object.assign({prefixCls:`${ge}-avatar`},Fe(We,Ve)),Te(F));qe=W.createElement("div",{className:`${ge}-header`},W.createElement(K,Object.assign({},et)))}let Ke;if(We||Ve){let et;if(We){const tt=Object.assign(Object.assign({prefixCls:`${ge}-title`},Le(_e,Ve)),Te(V));et=W.createElement(Pe,Object.assign({},tt))}let ct;if(Ve){const tt=Object.assign(Object.assign({prefixCls:`${ge}-paragraph`},Ze(_e,We)),Te(te));ct=W.createElement(Re,Object.assign({},tt))}Ke=W.createElement("div",{className:`${ge}-content`},et,ct)}const _t=R()(ge,{[`${ge}-with-avatar`]:_e,[`${ge}-active`]:le,[`${ge}-rtl`]:Ee==="rtl",[`${ge}-round`]:ae},ye==null?void 0:ye.className,o,S,Se);return $e(W.createElement("div",{className:_t,style:Object.assign(Object.assign({},ye==null?void 0:ye.style),$)},qe,Ke))}return typeof Z!="undefined"?Z:null};ke.Button=Q,ke.Avatar=G,ke.Input=l,ke.Image=_,ke.Node=ce;var k=ke,B=k},8378:function(Oe,ie){"use strict";const f=x=>({[x.componentCls]:{[`${x.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${x.motionDurationMid} ${x.motionEaseInOut},
|
|
opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}},[`${x.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${x.motionDurationMid} ${x.motionEaseInOut},
|
|
opacity ${x.motionDurationMid} ${x.motionEaseInOut} !important`}}});ie.Z=f},92899:function(Oe,ie,f){"use strict";f.d(ie,{Fm:function(){return i}});var x=f(93083),R=f(95406);const W=new x.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),z=new x.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),A=new x.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),U=new x.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new x.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new x.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),e=new x.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),E=new x.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),c={"move-up":{inKeyframes:e,outKeyframes:E},"move-down":{inKeyframes:W,outKeyframes:z},"move-left":{inKeyframes:A,outKeyframes:U},"move-right":{inKeyframes:K,outKeyframes:D}},i=(n,s)=>{const{antCls:a}=n,g=`${a}-${s}`,{inKeyframes:v,outKeyframes:h}=c[s];return[(0,R.R)(g,v,h,n.motionDurationMid),{[`
|
|
${g}-enter,
|
|
${g}-appear
|
|
`]:{opacity:0,animationTimingFunction:n.motionEaseOutCirc},[`${g}-leave`]:{animationTimingFunction:n.motionEaseInOutCirc}}]}},13826:function(Oe,ie,f){"use strict";f.d(ie,{Qt:function(){return A},Uw:function(){return z},fJ:function(){return W},ly:function(){return U},oN:function(){return i}});var x=f(93083),R=f(95406);const W=new x.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),z=new x.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),A=new x.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),U=new x.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),K=new x.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),D=new x.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),e=new x.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),E=new x.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),c={"slide-up":{inKeyframes:W,outKeyframes:z},"slide-down":{inKeyframes:A,outKeyframes:U},"slide-left":{inKeyframes:K,outKeyframes:D},"slide-right":{inKeyframes:e,outKeyframes:E}},i=(n,s)=>{const{antCls:a}=n,g=`${a}-${s}`,{inKeyframes:v,outKeyframes:h}=c[s];return[(0,R.R)(g,v,h,n.motionDurationMid),{[`
|
|
${g}-enter,
|
|
${g}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:n.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${g}-leave`]:{animationTimingFunction:n.motionEaseInQuint}}]}},19447:function(Oe,ie,f){"use strict";f.d(ie,{ZP:function(){return A},fS:function(){return W},qN:function(){return R}});var x=f(47585);const R=8;function W(U){const K=R,{contentRadius:D,limitVerticalRadius:e}=U,E=D>12?D+2:12;return{dropdownArrowOffset:E,dropdownArrowOffsetVertical:e?K:E}}function z(U,K){return U?K:{}}function A(U,K){const{componentCls:D,sizePopupArrow:e,borderRadiusXS:E,borderRadiusOuter:c,boxShadowPopoverArrow:i}=U,{colorBg:n,contentRadius:s=U.borderRadiusLG,limitVerticalRadius:a,arrowDistance:g=0,arrowPlacement:v={left:!0,right:!0,top:!0,bottom:!0}}=K,{dropdownArrowOffsetVertical:h,dropdownArrowOffset:u}=W({contentRadius:s,limitVerticalRadius:a});return{[D]:Object.assign(Object.assign(Object.assign(Object.assign({[`${D}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,x.r)(e,E,c,n,i)),{"&:before":{background:n}})]},z(!!v.top,{[[`&-placement-top ${D}-arrow`,`&-placement-topLeft ${D}-arrow`,`&-placement-topRight ${D}-arrow`].join(",")]:{bottom:g,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${D}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${D}-arrow`]:{left:{_skip_check_:!0,value:u}},[`&-placement-topRight ${D}-arrow`]:{right:{_skip_check_:!0,value:u}}})),z(!!v.bottom,{[[`&-placement-bottom ${D}-arrow`,`&-placement-bottomLeft ${D}-arrow`,`&-placement-bottomRight ${D}-arrow`].join(",")]:{top:g,transform:"translateY(-100%)"},[`&-placement-bottom ${D}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${D}-arrow`]:{left:{_skip_check_:!0,value:u}},[`&-placement-bottomRight ${D}-arrow`]:{right:{_skip_check_:!0,value:u}}})),z(!!v.left,{[[`&-placement-left ${D}-arrow`,`&-placement-leftTop ${D}-arrow`,`&-placement-leftBottom ${D}-arrow`].join(",")]:{right:{_skip_check_:!0,value:g},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${D}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${D}-arrow`]:{top:h},[`&-placement-leftBottom ${D}-arrow`]:{bottom:h}})),z(!!v.right,{[[`&-placement-right ${D}-arrow`,`&-placement-rightTop ${D}-arrow`,`&-placement-rightBottom ${D}-arrow`].join(",")]:{left:{_skip_check_:!0,value:g},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${D}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${D}-arrow`]:{top:h},[`&-placement-rightBottom ${D}-arrow`]:{bottom:h}}))}}},47585:function(Oe,ie,f){"use strict";f.d(ie,{r:function(){return x}});const x=(R,W,z,A,U)=>{const K=R/2,D=0,e=K,E=z*1/Math.sqrt(2),c=K-z*(1-1/Math.sqrt(2)),i=K-W*(1/Math.sqrt(2)),n=z*(Math.sqrt(2)-1)+W*(1/Math.sqrt(2)),s=2*K-i,a=n,g=2*K-E,v=c,h=2*K-D,u=e,d=K*Math.sqrt(2)+z*(Math.sqrt(2)-2),I=z*(Math.sqrt(2)-1);return{pointerEvents:"none",width:R,height:R,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:R,height:R/2,background:A,clipPath:{_multi_value_:!0,value:[`polygon(${I}px 100%, 50% ${I}px, ${2*K-I}px 100%, ${I}px 100%)`,`path('M ${D} ${e} A ${z} ${z} 0 0 0 ${E} ${c} L ${i} ${n} A ${W} ${W} 0 0 1 ${s} ${a} L ${g} ${v} A ${z} ${z} 0 0 0 ${h} ${u} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:d,height:d,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${W}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:U,zIndex:0,background:"transparent"}}}},33166:function(Oe,ie,f){"use strict";f.d(ie,{i:function(){return x}});const x=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return R}});var x=f(33166);function R(W,z){return x.i.reduce((A,U)=>{const K=W[`${U}1`],D=W[`${U}3`],e=W[`${U}6`],E=W[`${U}7`];return Object.assign(Object.assign({},A),z(U,{lightColor:K,lightBorderColor:D,darkColor:e,textColor:E}))},{})}},6848:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return Q}});var x=f(59301),R=f(92310),W=f.n(R),z=f(55477),A=f(18929),U=f(62892),K=f(79676),D=f(92343),e=f(36355),E=f(33234),c=f(88088),i=f(17313),n=f(29878),s=f(19447),a=f(45157),g=f(37613),v=f(83116);const h=re=>{const{componentCls:w,tooltipMaxWidth:_,tooltipColor:y,tooltipBg:l,tooltipBorderRadius:O,zIndexPopup:b,controlHeight:t,boxShadowSecondary:r,paddingSM:m,paddingXS:T,tooltipRadiusOuter:X}=re;return[{[w]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,i.Wf)(re)),{position:"absolute",zIndex:b,display:"block",width:"max-content",maxWidth:_,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":l,[`${w}-inner`]:{minWidth:t,minHeight:t,padding:`${m/2}px ${T}px`,color:y,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:l,borderRadius:O,boxShadow:r,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${w}-inner`]:{borderRadius:Math.min(O,s.qN)}},[`${w}-content`]:{position:"relative"}}),(0,a.Z)(re,(ee,ce)=>{let{darkColor:fe}=ce;return{[`&${w}-${ee}`]:{[`${w}-inner`]:{backgroundColor:fe},[`${w}-arrow`]:{"--antd-arrow-background-color":fe}}}})),{"&-rtl":{direction:"rtl"}})},(0,s.ZP)((0,g.TS)(re,{borderRadiusOuter:X}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:O,limitVerticalRadius:!0}),{[`${w}-pure`]:{position:"relative",maxWidth:"none",margin:re.sizePopupArrow}}]};var u=(re,w)=>(0,v.Z)("Tooltip",y=>{if(w===!1)return[];const{borderRadius:l,colorTextLightSolid:O,colorBgDefault:b,borderRadiusOuter:t}=y,r=(0,g.TS)(y,{tooltipMaxWidth:250,tooltipColor:O,tooltipBorderRadius:l,tooltipBg:b,tooltipRadiusOuter:t>4?4:t});return[h(r),(0,n._y)(y,"zoom-big-fast")]},y=>{let{zIndexPopupBase:l,colorBgSpotlight:O}=y;return{zIndexPopup:l+70,colorBgDefault:O}},{resetStyle:!1})(re),d=f(36785);function I(re,w){const _=(0,d.o2)(w),y=W()({[`${re}-${w}`]:w&&_}),l={},O={};return w&&!_&&(l.background=w,O["--antd-arrow-background-color"]=w),{className:y,overlayStyle:l,arrowStyle:O}}var M=re=>{const{prefixCls:w,className:_,placement:y="top",title:l,color:O,overlayInnerStyle:b}=re,{getPrefixCls:t}=x.useContext(e.E_),r=t("tooltip",w),[m,T]=u(r,!0),X=I(r,O),ee=X.arrowStyle,ce=Object.assign(Object.assign({},b),X.overlayStyle),fe=W()(T,r,`${r}-pure`,`${r}-placement-${y}`,_,X.className);return m(x.createElement("div",{className:fe,style:ee},x.createElement("div",{className:`${r}-arrow`}),x.createElement(z.G,Object.assign({},re,{className:T,prefixCls:r,overlayInnerStyle:ce}),l)))},P=function(re,w){var _={};for(var y in re)Object.prototype.hasOwnProperty.call(re,y)&&w.indexOf(y)<0&&(_[y]=re[y]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,y=Object.getOwnPropertySymbols(re);l<y.length;l++)w.indexOf(y[l])<0&&Object.prototype.propertyIsEnumerable.call(re,y[l])&&(_[y[l]]=re[y[l]]);return _};const L=(re,w)=>{const _={},y=Object.assign({},re);return w.forEach(l=>{re&&l in re&&(_[l]=re[l],delete y[l])}),{picked:_,omitted:y}};function G(re,w){const _=re.type;if((_.__ANT_BUTTON===!0||re.type==="button")&&re.props.disabled||_.__ANT_SWITCH===!0&&(re.props.disabled||re.props.loading)||_.__ANT_RADIO===!0&&re.props.disabled){const{picked:y,omitted:l}=L(re.props.style,["position","left","right","top","bottom","float","display","zIndex"]),O=Object.assign(Object.assign({display:"inline-block"},y),{cursor:"not-allowed",width:re.props.block?"100%":void 0}),b=Object.assign(Object.assign({},l),{pointerEvents:"none"}),t=(0,D.Tm)(re,{style:b,className:null});return x.createElement("span",{style:O,className:W()(re.props.className,`${w}-disabled-compatible-wrapper`)},t)}return re}const J=x.forwardRef((re,w)=>{var _,y;const{prefixCls:l,openClassName:O,getTooltipContainer:b,overlayClassName:t,color:r,overlayInnerStyle:m,children:T,afterOpenChange:X,afterVisibleChange:ee,destroyTooltipOnHide:ce,arrow:fe=!0,title:be,overlay:Re,builtinPlacements:Me,arrowPointAtCenter:Pe=!1,autoAdjustOverflow:Te=!0}=re,Fe=!!fe,[,Le]=(0,c.Z)(),{getPopupContainer:Ze,getPrefixCls:ke,direction:k}=x.useContext(e.E_),B=x.useRef(null),p=()=>{var He;(He=B.current)===null||He===void 0||He.forceAlign()};x.useImperativeHandle(w,()=>({forceAlign:p,forcePopupAlign:()=>{p()}}));const[N,j]=(0,A.Z)(!1,{value:(_=re.open)!==null&&_!==void 0?_:re.visible,defaultValue:(y=re.defaultOpen)!==null&&y!==void 0?y:re.defaultVisible}),o=!be&&!Re&&be!==0,S=He=>{var Ye,Xe;j(o?!1:He),o||((Ye=re.onOpenChange)===null||Ye===void 0||Ye.call(re,He),(Xe=re.onVisibleChange)===null||Xe===void 0||Xe.call(re,He))},$=x.useMemo(()=>{var He,Ye;let Xe=Pe;return typeof fe=="object"&&(Xe=(Ye=(He=fe.pointAtCenter)!==null&&He!==void 0?He:fe.arrowPointAtCenter)!==null&&Ye!==void 0?Ye:Pe),Me||(0,K.Z)({arrowPointAtCenter:Xe,autoAdjustOverflow:Te,arrowWidth:Fe?Le.sizePopupArrow:0,borderRadius:Le.borderRadius,offset:Le.marginXXS,visibleFirst:!0})},[Pe,fe,Me,Le]),Z=x.useMemo(()=>be===0?be:Re||be||"",[Re,be]),F=x.createElement(E.BR,null,typeof Z=="function"?Z():Z),{getPopupContainer:V,placement:te="top",mouseEnterDelay:le=.1,mouseLeaveDelay:ae=.1,overlayStyle:oe,rootClassName:Ee}=re,ye=P(re,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),ge=ke("tooltip",l),$e=ke(),Se=re["data-popover-inject"];let _e=N;!("open"in re)&&!("visible"in re)&&o&&(_e=!1);const We=G((0,D.l$)(T)&&!(0,D.M2)(T)?T:x.createElement("span",null,T),ge),Ve=We.props,qe=!Ve.className||typeof Ve.className=="string"?W()(Ve.className,O||`${ge}-open`):Ve.className,[Ke,_t]=u(ge,!Se),et=I(ge,r),ct=et.arrowStyle,tt=Object.assign(Object.assign({},m),et.overlayStyle),xt=W()(t,{[`${ge}-rtl`]:k==="rtl"},et.className,Ee,_t);return Ke(x.createElement(z.Z,Object.assign({},ye,{showArrow:Fe,placement:te,mouseEnterDelay:le,mouseLeaveDelay:ae,prefixCls:ge,overlayClassName:xt,overlayStyle:Object.assign(Object.assign({},ct),oe),getTooltipContainer:V||b||Ze,ref:B,builtinPlacements:$,overlay:F,visible:_e,onVisibleChange:S,afterVisibleChange:X!=null?X:ee,overlayInnerStyle:tt,arrowContent:x.createElement("span",{className:`${ge}-arrow-content`}),motion:{motionName:(0,U.m)($e,"zoom-big-fast",re.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ce}),_e?(0,D.Tm)(We,{className:qe}):We))});J._InternalPanelDoNotUseOrYouWillBeFired=M;var Q=J},25769:function(Oe,ie,f){"use strict";var x=f(98040),R={"text/plain":"Text","text/html":"Url",default:"Text"},W="Copy to clipboard: #{key}, Enter";function z(U){var K=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return U.replace(/#{\s*key\s*}/g,K)}function A(U,K){var D,e,E,c,i,n,s=!1;K||(K={}),D=K.debug||!1;try{E=x(),c=document.createRange(),i=document.getSelection(),n=document.createElement("span"),n.textContent=U,n.ariaHidden="true",n.style.all="unset",n.style.position="fixed",n.style.top=0,n.style.clip="rect(0, 0, 0, 0)",n.style.whiteSpace="pre",n.style.webkitUserSelect="text",n.style.MozUserSelect="text",n.style.msUserSelect="text",n.style.userSelect="text",n.addEventListener("copy",function(g){if(g.stopPropagation(),K.format)if(g.preventDefault(),typeof g.clipboardData=="undefined"){D&&console.warn("unable to use e.clipboardData"),D&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var v=R[K.format]||R.default;window.clipboardData.setData(v,U)}else g.clipboardData.clearData(),g.clipboardData.setData(K.format,U);K.onCopy&&(g.preventDefault(),K.onCopy(g.clipboardData))}),document.body.appendChild(n),c.selectNodeContents(n),i.addRange(c);var a=document.execCommand("copy");if(!a)throw new Error("copy command was unsuccessful");s=!0}catch(g){D&&console.error("unable to copy using execCommand: ",g),D&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(K.format||"text",U),K.onCopy&&K.onCopy(window.clipboardData),s=!0}catch(v){D&&console.error("unable to copy using clipboardData: ",v),D&&console.error("falling back to prompt"),e=z("message"in K?K.message:W),window.prompt(e,U)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(c):i.removeAllRanges()),n&&document.body.removeChild(n),E()}return s}Oe.exports=A},53184:function(Oe,ie,f){"use strict";var x,R;function W(z,A,U){var K=function(D,e){return z.js_beautify(D,e)};return K.js=z.js_beautify,K.css=A.css_beautify,K.html=U.html_beautify,K.js_beautify=z.js_beautify,K.css_beautify=A.css_beautify,K.html_beautify=U.html_beautify,K}x=[f(58553),f(87804),f(40998)],R=function(z,A,U){return W(z,A,U)}.apply(ie,x),R!==void 0&&(Oe.exports=R)},87804:function(Oe,ie){var f,x;(function(){var R;(function(){"use strict";var z=[,,function(D){function e(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var i=new e(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},e.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},e.prototype.has_match=function(i){for(var n=this.__items.length-1;n>=0;n--)if(this.__items[n].match(i))return!0;return!1},e.prototype.set_indent=function(i,n){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=n||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(i){this.__items.push(i);var n=i.lastIndexOf(`
|
|
`);n!==-1?this.__character_count=i.length-n:this.__character_count+=i.length},e.prototype.pop=function(){var i=null;return this.is_empty()||(i=this.__items.pop(),this.__character_count-=i.length),i},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var i="";return this.is_empty()?this.__parent.indent_empty_lines&&(i=this.__parent.get_indent_string(this.__indent_count)):(i=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),i+=this.__items.join("")),i};function E(i,n){this.__cache=[""],this.__indent_size=i.indent_size,this.__indent_string=i.indent_char,i.indent_with_tabs||(this.__indent_string=new Array(i.indent_size+1).join(i.indent_char)),n=n||"",i.indent_level>0&&(n=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=n,this.__base_string_length=n.length}E.prototype.get_indent_size=function(i,n){var s=this.__base_string_length;return n=n||0,i<0&&(s=0),s+=i*this.__indent_size,s+=n,s},E.prototype.get_indent_string=function(i,n){var s=this.__base_string;return n=n||0,i<0&&(i=0,s=""),n+=i*this.__indent_size,this.__ensure_cache(n),s+=this.__cache[n],s},E.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},E.prototype.__add_column=function(){var i=this.__cache.length,n=0,s="";this.__indent_size&&i>=this.__indent_size&&(n=Math.floor(i/this.__indent_size),i-=n*this.__indent_size,s=new Array(n+1).join(this.__indent_string)),i&&(s+=new Array(i+1).join(" ")),this.__cache.push(s)};function c(i,n){this.__indent_cache=new E(i,n),this.raw=!1,this._end_with_newline=i.end_with_newline,this.indent_size=i.indent_size,this.wrap_line_length=i.wrap_line_length,this.indent_empty_lines=i.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(i,n){return this.__indent_cache.get_indent_string(i,n)},c.prototype.get_indent_size=function(i,n){return this.__indent_cache.get_indent_size(i,n)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(i){this.trim(!0);var n=this.current_line.pop();n&&(n[n.length-1]===`
|
|
`&&(n=n.replace(/\n+$/g,"")),this.current_line.push(n)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return i!==`
|
|
`&&(s=s.replace(/[\n]/g,i)),s},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(i,n){return i=i||0,n=n||0,this.next_line.set_indent(i,n),this.__lines.length>1?(this.current_line.set_indent(i,n),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(i){for(var n=0;n<i.newlines;n++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(i.whitespace_before),this.current_line.push(i.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(i){this.__add_space_before_token(),this.current_line.push(i),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(i){for(var n=this.__lines.length;i<n;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(i){for(i=i===void 0?!1:i,this.current_line.trim();i&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(i,n){for(var s=this.__lines.length-2;s>=0;){var a=this.__lines[s];if(a.is_empty())break;if(a.item(0).indexOf(i)!==0&&a.item(-1)!==n){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},D.exports.Output=c},,,,function(D){function e(i,n){this.raw_options=E(i,n),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(i,n){var s=this.raw_options[i],a=n||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(a=s.concat()):typeof s=="string"&&(a=s.split(/[^a-zA-Z0-9_\/\-]+/)),a},e.prototype._get_boolean=function(i,n){var s=this.raw_options[i],a=s===void 0?!!n:!!s;return a},e.prototype._get_characters=function(i,n){var s=this.raw_options[i],a=n||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),a},e.prototype._get_number=function(i,n){var s=this.raw_options[i];n=parseInt(n,10),isNaN(n)&&(n=0);var a=parseInt(s,10);return isNaN(a)&&(a=n),a},e.prototype._get_selection=function(i,n,s){var a=this._get_selection_list(i,n,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+i+`' can only be one of the following values:
|
|
`+n+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a[0]},e.prototype._get_selection_list=function(i,n,s){if(!n||n.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[n[0]],!this._is_valid_selection(s,n))throw new Error("Invalid Default Value!");var a=this._get_array(i,s);if(!this._is_valid_selection(a,n))throw new Error("Invalid Option Value: The option '"+i+`' can contain only the following values:
|
|
`+n+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a},e.prototype._is_valid_selection=function(i,n){return i.length&&n.length&&!i.some(function(s){return n.indexOf(s)===-1})};function E(i,n){var s={};i=c(i);var a;for(a in i)a!==n&&(s[a]=i[a]);if(n&&i[n])for(a in i[n])s[a]=i[n][a];return s}function c(i){var n={},s;for(s in i){var a=s.replace(/-/g,"_");n[a]=i[s]}return n}D.exports.Options=e,D.exports.normalizeOpts=c,D.exports.mergeOpts=E},,function(D){var e=RegExp.prototype.hasOwnProperty("sticky");function E(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}E.prototype.restart=function(){this.__position=0},E.prototype.back=function(){this.__position>0&&(this.__position-=1)},E.prototype.hasNext=function(){return this.__position<this.__input_length},E.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},E.prototype.peek=function(c){var i=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(i=this.__input.charAt(c)),i},E.prototype.__match=function(c,i){c.lastIndex=i;var n=c.exec(this.__input);return n&&!(e&&c.sticky)&&n.index!==i&&(n=null),n},E.prototype.test=function(c,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(c,i):!1},E.prototype.testChar=function(c,i){var n=this.peek(i);return c.lastIndex=0,n!==null&&c.test(n)},E.prototype.match=function(c){var i=this.__match(c,this.__position);return i?this.__position+=i[0].length:i=null,i},E.prototype.read=function(c,i,n){var s="",a;return c&&(a=this.match(c),a&&(s+=a[0])),i&&(a||!c)&&(s+=this.readUntil(i,n)),s},E.prototype.readUntil=function(c,i){var n="",s=this.__position;c.lastIndex=this.__position;var a=c.exec(this.__input);return a?(s=a.index,i&&(s+=a[0].length)):s=this.__input_length,n=this.__input.substring(this.__position,s),this.__position=s,n},E.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},E.prototype.get_regexp=function(c,i){var n=null,s="g";return i&&e&&(s="y"),typeof c=="string"&&c!==""?n=new RegExp(c,s):c&&(n=new RegExp(c.source,s)),n},E.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},E.prototype.peekUntilAfter=function(c){var i=this.__position,n=this.readUntilAfter(c);return this.__position=i,n},E.prototype.lookBack=function(c){var i=this.__position-1;return i>=c.length&&this.__input.substring(i-c.length,i).toLowerCase()===c},D.exports.InputScanner=E},,,,,function(D){function e(E,c){E=typeof E=="string"?E:E.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(E+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(E+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(E){if(!E.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(E);i;)c[i[1]]=i[2],i=this.__directive_pattern.exec(E);return c},e.prototype.readIgnored=function(E){return E.readUntilAfter(this.__directives_end_ignore_pattern)},D.exports.Directives=e},,function(D,e,E){var c=E(16).Beautifier,i=E(17).Options;function n(s,a){var g=new c(s,a);return g.beautify()}D.exports=n,D.exports.defaultOptions=function(){return new i}},function(D,e,E){var c=E(17).Options,i=E(2).Output,n=E(8).InputScanner,s=E(13).Directives,a=new s(/\/\*/,/\*\//),g=/\r\n|[\r\n]/,v=/\r\n|[\r\n]/g,h=/\s/,u=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,I=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function C(M,P){this._source_text=M||"",this._options=new c(P),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}C.prototype.eatString=function(M){var P="";for(this._ch=this._input.next();this._ch;){if(P+=this._ch,this._ch==="\\")P+=this._input.next();else if(M.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return P},C.prototype.eatWhitespace=function(M){for(var P=h.test(this._input.peek()),L=0;h.test(this._input.peek());)this._ch=this._input.next(),M&&this._ch===`
|
|
`&&(L===0||L<this._options.max_preserve_newlines)&&(L++,this._output.add_new_line(!0));return P},C.prototype.foundNestedPseudoClass=function(){for(var M=0,P=1,L=this._input.peek(P);L;){if(L==="{")return!0;if(L==="(")M+=1;else if(L===")"){if(M===0)return!1;M-=1}else if(L===";"||L==="}")return!1;P++,L=this._input.peek(P)}return!1},C.prototype.print_string=function(M){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(M)},C.prototype.preserveSingleSpace=function(M){M&&(this._output.space_before_token=!0)},C.prototype.indent=function(){this._indentLevel++},C.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},C.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var M=this._source_text,P=this._options.eol;P==="auto"&&(P=`
|
|
`,M&&g.test(M||"")&&(P=M.match(g)[0])),M=M.replace(v,`
|
|
`);var L=M.match(/^[\t ]*/)[0];this._output=new i(this._options,L),this._input=new n(M),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var G=0,J=!1,Q=!1,re=!1,w=!1,_=!1,y=this._ch,l=!1,O,b,t;O=this._input.read(u),b=O!=="",t=y,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),y=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var r=this._input.read(d),m=a.get_directives(r);m&&m.ignore==="start"&&(r+=a.readIgnored(this._input)),this.print_string(r),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(I)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(b),this.print_string(this._ch);var T=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);T.match(/[ :]$/)&&(T=this.eatString(": ").replace(/\s+$/,""),this.print_string(T),this._output.space_before_token=!0),G===0&&T.indexOf(":")!==-1&&(Q=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(b),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var X=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);X.match(/[ :]$/)&&(X=this.eatString(": ").replace(/\s+$/,""),this.print_string(X),this._output.space_before_token=!0),G===0&&X.indexOf(":")!==-1?(Q=!0,this.indent()):X in this.NESTED_AT_RULE?(this._nestedLevel+=1,X in this.CONDITIONAL_GROUP_RULE&&(re=!0)):G===0&&!Q&&(w=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(b),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")Q&&(Q=!1,this.outdent()),w=!1,re?(re=!1,J=this._indentLevel>=this._nestedLevel):J=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&J&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(t==="("?this._output.space_before_token=!1:t!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),t==="{"&&this._output.trim(!0),Q&&(this.outdent(),Q=!1),this.print_string(this._ch),J=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ee=0;ee<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ee++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ee])){l=!0;break}(J||re)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!w&&G===0?(this.print_string(":"),Q||(Q=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var ce=t==='"'||t==="'";this.preserveSingleSpace(ce||b),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")l=!1,G===0?(Q&&(this.outdent(),Q=!1),w=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),G++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),G&&(G--,this.outdent()));else{var fe=!1;this._input.lookBack("with")&&(fe=!0),this.preserveSingleSpace(b||fe),this.print_string(this._ch),Q&&t==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),_=!0):(this.eatWhitespace(),G++,this.indent())}else if(this._ch===")")G&&(G--,this.outdent()),_&&this._input.peek()===";"&&this._options.selector_separator_newline&&(_=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!Q||_)&&G===0&&!w?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!Q&&G===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&h.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(b),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),h.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var be=t==='"'||t==="'";this.preserveSingleSpace(be||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&l&&this._output.add_new_line()}var Re=this._output.get_code(P);return Re},D.exports.Beautifier=C},function(D,e,E){var c=E(6).Options;function i(n){c.call(this,n,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var s=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||s;var a=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var g=0;g<a.length;g++)a[g]!=="expand"?this.brace_style="collapse":this.brace_style=a[g]}i.prototype=new c,D.exports.Options=i}],A={};function U(D){var e=A[D];if(e!==void 0)return e.exports;var E=A[D]={exports:{}};return z[D](E,E.exports,U),E.exports}var K=U(15);R=K})();var W=R;f=[],x=function(){return{css_beautify:W}}.apply(ie,f),x!==void 0&&(Oe.exports=x)})()},40998:function(Oe,ie,f){var x,R;(function(){var W;(function(){"use strict";var K=[,,function(c){function i(a){this.__parent=a,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}i.prototype.clone_empty=function(){var a=new i(this.__parent);return a.set_indent(this.__indent_count,this.__alignment_count),a},i.prototype.item=function(a){return a<0?this.__items[this.__items.length+a]:this.__items[a]},i.prototype.has_match=function(a){for(var g=this.__items.length-1;g>=0;g--)if(this.__items[g].match(a))return!0;return!1},i.prototype.set_indent=function(a,g){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=g||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},i.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},i.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},i.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var a=this.__parent.current_line;return a.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),a.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),a.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,a.__items[0]===" "&&(a.__items.splice(0,1),a.__character_count-=1),!0}return!1},i.prototype.is_empty=function(){return this.__items.length===0},i.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},i.prototype.push=function(a){this.__items.push(a);var g=a.lastIndexOf(`
|
|
`);g!==-1?this.__character_count=a.length-g:this.__character_count+=a.length},i.prototype.pop=function(){var a=null;return this.is_empty()||(a=this.__items.pop(),this.__character_count-=a.length),a},i.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},i.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},i.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},i.prototype.toString=function(){var a="";return this.is_empty()?this.__parent.indent_empty_lines&&(a=this.__parent.get_indent_string(this.__indent_count)):(a=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),a+=this.__items.join("")),a};function n(a,g){this.__cache=[""],this.__indent_size=a.indent_size,this.__indent_string=a.indent_char,a.indent_with_tabs||(this.__indent_string=new Array(a.indent_size+1).join(a.indent_char)),g=g||"",a.indent_level>0&&(g=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=g,this.__base_string_length=g.length}n.prototype.get_indent_size=function(a,g){var v=this.__base_string_length;return g=g||0,a<0&&(v=0),v+=a*this.__indent_size,v+=g,v},n.prototype.get_indent_string=function(a,g){var v=this.__base_string;return g=g||0,a<0&&(a=0,v=""),g+=a*this.__indent_size,this.__ensure_cache(g),v+=this.__cache[g],v},n.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var a=this.__cache.length,g=0,v="";this.__indent_size&&a>=this.__indent_size&&(g=Math.floor(a/this.__indent_size),a-=g*this.__indent_size,v=new Array(g+1).join(this.__indent_string)),a&&(v+=new Array(a+1).join(" ")),this.__cache.push(v)};function s(a,g){this.__indent_cache=new n(a,g),this.raw=!1,this._end_with_newline=a.end_with_newline,this.indent_size=a.indent_size,this.wrap_line_length=a.wrap_line_length,this.indent_empty_lines=a.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new i(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}s.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},s.prototype.get_line_number=function(){return this.__lines.length},s.prototype.get_indent_string=function(a,g){return this.__indent_cache.get_indent_string(a,g)},s.prototype.get_indent_size=function(a,g){return this.__indent_cache.get_indent_size(a,g)},s.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},s.prototype.add_new_line=function(a){return this.is_empty()||!a&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},s.prototype.get_code=function(a){this.trim(!0);var g=this.current_line.pop();g&&(g[g.length-1]===`
|
|
`&&(g=g.replace(/\n+$/g,"")),this.current_line.push(g)),this._end_with_newline&&this.__add_outputline();var v=this.__lines.join(`
|
|
`);return a!==`
|
|
`&&(v=v.replace(/[\n]/g,a)),v},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(a,g){return a=a||0,g=g||0,this.next_line.set_indent(a,g),this.__lines.length>1?(this.current_line.set_indent(a,g),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(a){for(var g=0;g<a.newlines;g++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(a.whitespace_before),this.current_line.push(a.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},s.prototype.add_token=function(a){this.__add_space_before_token(),this.current_line.push(a),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},s.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},s.prototype.remove_indent=function(a){for(var g=this.__lines.length;a<g;)this.__lines[a]._remove_indent(),a++;this.current_line._remove_wrap_indent()},s.prototype.trim=function(a){for(a=a===void 0?!1:a,this.current_line.trim();a&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},s.prototype.just_added_newline=function(){return this.current_line.is_empty()},s.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},s.prototype.ensure_empty_line_above=function(a,g){for(var v=this.__lines.length-2;v>=0;){var h=this.__lines[v];if(h.is_empty())break;if(h.item(0).indexOf(a)!==0&&h.item(-1)!==g){this.__lines.splice(v+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}v--}},c.exports.Output=s},function(c){function i(n,s,a,g){this.type=n,this.text=s,this.comments_before=null,this.newlines=a||0,this.whitespace_before=g||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}c.exports.Token=i},,,function(c){function i(a,g){this.raw_options=n(a,g),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}i.prototype._get_array=function(a,g){var v=this.raw_options[a],h=g||[];return typeof v=="object"?v!==null&&typeof v.concat=="function"&&(h=v.concat()):typeof v=="string"&&(h=v.split(/[^a-zA-Z0-9_\/\-]+/)),h},i.prototype._get_boolean=function(a,g){var v=this.raw_options[a],h=v===void 0?!!g:!!v;return h},i.prototype._get_characters=function(a,g){var v=this.raw_options[a],h=g||"";return typeof v=="string"&&(h=v.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),h},i.prototype._get_number=function(a,g){var v=this.raw_options[a];g=parseInt(g,10),isNaN(g)&&(g=0);var h=parseInt(v,10);return isNaN(h)&&(h=g),h},i.prototype._get_selection=function(a,g,v){var h=this._get_selection_list(a,g,v);if(h.length!==1)throw new Error("Invalid Option Value: The option '"+a+`' can only be one of the following values:
|
|
`+g+`
|
|
You passed in: '`+this.raw_options[a]+"'");return h[0]},i.prototype._get_selection_list=function(a,g,v){if(!g||g.length===0)throw new Error("Selection list cannot be empty.");if(v=v||[g[0]],!this._is_valid_selection(v,g))throw new Error("Invalid Default Value!");var h=this._get_array(a,v);if(!this._is_valid_selection(h,g))throw new Error("Invalid Option Value: The option '"+a+`' can contain only the following values:
|
|
`+g+`
|
|
You passed in: '`+this.raw_options[a]+"'");return h},i.prototype._is_valid_selection=function(a,g){return a.length&&g.length&&!a.some(function(v){return g.indexOf(v)===-1})};function n(a,g){var v={};a=s(a);var h;for(h in a)h!==g&&(v[h]=a[h]);if(g&&a[g])for(h in a[g])v[h]=a[g][h];return v}function s(a){var g={},v;for(v in a){var h=v.replace(/-/g,"_");g[h]=a[v]}return g}c.exports.Options=i,c.exports.normalizeOpts=s,c.exports.mergeOpts=n},,function(c){var i=RegExp.prototype.hasOwnProperty("sticky");function n(s){this.__input=s||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position<this.__input_length},n.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__input.charAt(this.__position),this.__position+=1),s},n.prototype.peek=function(s){var a=null;return s=s||0,s+=this.__position,s>=0&&s<this.__input_length&&(a=this.__input.charAt(s)),a},n.prototype.__match=function(s,a){s.lastIndex=a;var g=s.exec(this.__input);return g&&!(i&&s.sticky)&&g.index!==a&&(g=null),g},n.prototype.test=function(s,a){return a=a||0,a+=this.__position,a>=0&&a<this.__input_length?!!this.__match(s,a):!1},n.prototype.testChar=function(s,a){var g=this.peek(a);return s.lastIndex=0,g!==null&&s.test(g)},n.prototype.match=function(s){var a=this.__match(s,this.__position);return a?this.__position+=a[0].length:a=null,a},n.prototype.read=function(s,a,g){var v="",h;return s&&(h=this.match(s),h&&(v+=h[0])),a&&(h||!s)&&(v+=this.readUntil(a,g)),v},n.prototype.readUntil=function(s,a){var g="",v=this.__position;s.lastIndex=this.__position;var h=s.exec(this.__input);return h?(v=h.index,a&&(v+=h[0].length)):v=this.__input_length,g=this.__input.substring(this.__position,v),this.__position=v,g},n.prototype.readUntilAfter=function(s){return this.readUntil(s,!0)},n.prototype.get_regexp=function(s,a){var g=null,v="g";return a&&i&&(v="y"),typeof s=="string"&&s!==""?g=new RegExp(s,v):s&&(g=new RegExp(s.source,v)),g},n.prototype.get_literal_regexp=function(s){return RegExp(s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},n.prototype.peekUntilAfter=function(s){var a=this.__position,g=this.readUntilAfter(s);return this.__position=a,g},n.prototype.lookBack=function(s){var a=this.__position-1;return a>=s.length&&this.__input.substring(a-s.length,a).toLowerCase()===s},c.exports.InputScanner=n},function(c,i,n){var s=n(8).InputScanner,a=n(3).Token,g=n(10).TokenStream,v=n(11).WhitespacePattern,h={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(d,I){this._input=new s(d),this._options=I||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new v(this._input)};u.prototype.tokenize=function(){this._input.restart(),this.__tokens=new g,this._reset();for(var d,I=new a(h.START,""),C=null,M=[],P=new g;I.type!==h.EOF;){for(d=this._get_next_token(I,C);this._is_comment(d);)P.add(d),d=this._get_next_token(I,C);P.isEmpty()||(d.comments_before=P,P=new g),d.parent=C,this._is_opening(d)?(M.push(C),C=d):C&&this._is_closing(d,C)&&(d.opened=C,C.closed=d,C=M.pop(),d.parent=C),d.previous=I,I.next=d,this.__tokens.add(d),I=d}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(d,I){this._readWhitespace();var C=this._input.read(/.+/g);return C?this._create_token(h.RAW,C):this._create_token(h.EOF,"")},u.prototype._is_comment=function(d){return!1},u.prototype._is_opening=function(d){return!1},u.prototype._is_closing=function(d,I){return!1},u.prototype._create_token=function(d,I){var C=new a(d,I,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return C},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},c.exports.Tokenizer=u,c.exports.TOKEN=h},function(c){function i(n){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=n}i.prototype.restart=function(){this.__position=0},i.prototype.isEmpty=function(){return this.__tokens_length===0},i.prototype.hasNext=function(){return this.__position<this.__tokens_length},i.prototype.next=function(){var n=null;return this.hasNext()&&(n=this.__tokens[this.__position],this.__position+=1),n},i.prototype.peek=function(n){var s=null;return n=n||0,n+=this.__position,n>=0&&n<this.__tokens_length&&(s=this.__tokens[n]),s},i.prototype.add=function(n){this.__parent_token&&(n.parent=this.__parent_token),this.__tokens.push(n),this.__tokens_length+=1},c.exports.TokenStream=i},function(c,i,n){var s=n(12).Pattern;function a(g,v){s.call(this,g,v),v?this._line_regexp=this._input.get_regexp(v._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}a.prototype=new s,a.prototype.__set_whitespace_patterns=function(g,v){g+="\\t ",v+="\\n\\r",this._match_pattern=this._input.get_regexp("["+g+v+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+v+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var g=this._input.read(this._match_pattern);if(g===" ")this.whitespace_before_token=" ";else if(g){var v=this.__split(this._newline_regexp,g);this.newline_count=v.length-1,this.whitespace_before_token=v[this.newline_count]}return g},a.prototype.matching=function(g,v){var h=this._create();return h.__set_whitespace_patterns(g,v),h._update(),h},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(g,v){g.lastIndex=0;for(var h=0,u=[],d=g.exec(v);d;)u.push(v.substring(h,d.index)),h=d.index+d[0].length,d=g.exec(v);return h<v.length?u.push(v.substring(h,v.length)):u.push(""),u},c.exports.WhitespacePattern=a},function(c){function i(n,s){this._input=n,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,s&&(this._starting_pattern=this._input.get_regexp(s._starting_pattern,!0),this._match_pattern=this._input.get_regexp(s._match_pattern,!0),this._until_pattern=this._input.get_regexp(s._until_pattern),this._until_after=s._until_after)}i.prototype.read=function(){var n=this._input.read(this._starting_pattern);return(!this._starting_pattern||n)&&(n+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),n},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(n){var s=this._create();return s._until_after=!0,s._until_pattern=this._input.get_regexp(n),s._update(),s},i.prototype.until=function(n){var s=this._create();return s._until_after=!1,s._until_pattern=this._input.get_regexp(n),s._update(),s},i.prototype.starting_with=function(n){var s=this._create();return s._starting_pattern=this._input.get_regexp(n,!0),s._update(),s},i.prototype.matching=function(n){var s=this._create();return s._match_pattern=this._input.get_regexp(n,!0),s._update(),s},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},c.exports.Pattern=i},function(c){function i(n,s){n=typeof n=="string"?n:n.source,s=typeof s=="string"?s:s.source,this.__directives_block_pattern=new RegExp(n+/ beautify( \w+[:]\w+)+ /.source+s,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(n+/\sbeautify\signore:end\s/.source+s,"g")}i.prototype.get_directives=function(n){if(!n.match(this.__directives_block_pattern))return null;var s={};this.__directive_pattern.lastIndex=0;for(var a=this.__directive_pattern.exec(n);a;)s[a[1]]=a[2],a=this.__directive_pattern.exec(n);return s},i.prototype.readIgnored=function(n){return n.readUntilAfter(this.__directives_end_ignore_pattern)},c.exports.Directives=i},function(c,i,n){var s=n(12).Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function g(v,h){s.call(this,v,h),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),h&&(this.__template_pattern=this._input.get_regexp(h.__template_pattern),this._excluded=Object.assign(this._excluded,h._excluded),this._disabled=Object.assign(this._disabled,h._disabled));var u=new s(v);this.__patterns={handlebars_comment:u.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:u.starting_with(/{{{/).until_after(/}}}/),handlebars:u.starting_with(/{{/).until_after(/}}/),php:u.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:u.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:u.starting_with(/{%/).until_after(/%}/),django_value:u.starting_with(/{{/).until_after(/}}/),django_comment:u.starting_with(/{#/).until_after(/#}/),smarty:u.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:u.starting_with(/{\*/).until_after(/\*}/),smarty_literal:u.starting_with(/{literal}/).until_after(/{\/literal}/)}}g.prototype=new s,g.prototype._create=function(){return new g(this._input,this)},g.prototype._update=function(){this.__set_templated_pattern()},g.prototype.disable=function(v){var h=this._create();return h._disabled[v]=!0,h._update(),h},g.prototype.read_options=function(v){var h=this._create();for(var u in a)h._disabled[u]=v.templating.indexOf(u)===-1;return h._update(),h},g.prototype.exclude=function(v){var h=this._create();return h._excluded[v]=!0,h._update(),h},g.prototype.read=function(){var v="";this._match_pattern?v=this._input.read(this._starting_pattern):v=this._input.read(this._starting_pattern,this.__template_pattern);for(var h=this._read_template();h;)this._match_pattern?h+=this._input.read(this._match_pattern):h+=this._input.readUntil(this.__template_pattern),v+=h,h=this._read_template();return this._until_after&&(v+=this._input.readUntilAfter(this._until_pattern)),v},g.prototype.__set_templated_pattern=function(){var v=[];this._disabled.php||v.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||v.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||v.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||v.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(v.push(this.__patterns.django._starting_pattern.source),v.push(this.__patterns.django_value._starting_pattern.source),v.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||v.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&v.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+v.join("|")+")")},g.prototype._read_template=function(){var v="",h=this._input.peek();if(h==="<"){var u=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&u==="?"&&(v=v||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&u==="%"&&(v=v||this.__patterns.erb.read())}else h==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(v=v||this.__patterns.handlebars_comment.read(),v=v||this.__patterns.handlebars_unescaped.read(),v=v||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(v=v||this.__patterns.django_value.read()),this._excluded.django||(v=v||this.__patterns.django_comment.read(),v=v||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(v=v||this.__patterns.smarty_comment.read(),v=v||this.__patterns.smarty_literal.read(),v=v||this.__patterns.smarty.read()));return v},c.exports.TemplatablePattern=g},,,,function(c,i,n){var s=n(19).Beautifier,a=n(20).Options;function g(v,h,u,d){var I=new s(v,h,u,d);return I.beautify()}c.exports=g,c.exports.defaultOptions=function(){return new a}},function(c,i,n){var s=n(20).Options,a=n(2).Output,g=n(21).Tokenizer,v=n(21).TOKEN,h=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,d=function(w,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=w.max_preserve_newlines,this.preserve_newlines=w.preserve_newlines,this._output=new a(w,_)};d.prototype.current_line_has_match=function(w){return this._output.current_line.has_match(w)},d.prototype.set_space_before_token=function(w,_){this._output.space_before_token=w,this._output.non_breaking_space=_},d.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},d.prototype.add_raw_token=function(w){this._output.add_raw_token(w)},d.prototype.print_preserved_newlines=function(w){var _=0;w.type!==v.TEXT&&w.previous.type!==v.TEXT&&(_=w.newlines?1:0),this.preserve_newlines&&(_=w.newlines<this.max_preserve_newlines+1?w.newlines:this.max_preserve_newlines+1);for(var y=0;y<_;y++)this.print_newline(y>0);return _!==0},d.prototype.traverse_whitespace=function(w){return w.whitespace_before||w.newlines?(this.print_preserved_newlines(w)||(this._output.space_before_token=!0),!0):!1},d.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},d.prototype.print_newline=function(w){this._output.add_new_line(w)},d.prototype.print_token=function(w){w.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(w.text))},d.prototype.indent=function(){this.indent_level++},d.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},d.prototype.get_full_indent=function(w){return w=this.indent_level+(w||0),w<1?"":this._output.get_indent_string(w)};var I=function(w){for(var _=null,y=w.next;y.type!==v.EOF&&w.closed!==y;){if(y.type===v.ATTRIBUTE&&y.text==="type"){y.next&&y.next.type===v.EQUALS&&y.next.next&&y.next.next.type===v.VALUE&&(_=y.next.next.text);break}y=y.next}return _},C=function(w,_){var y=null,l=null;return _.closed?(w==="script"?y="text/javascript":w==="style"&&(y="text/css"),y=I(_)||y,y.search("text/css")>-1?l="css":y.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?l="javascript":y.search(/(text|application|dojo)\/(x-)?(html)/)>-1?l="html":y.search(/test\/null/)>-1&&(l="null"),l):null};function M(w,_){return _.indexOf(w)!==-1}function P(w,_,y){this.parent=w||null,this.tag=_?_.tag_name:"",this.indent_level=y||0,this.parser_token=_||null}function L(w){this._printer=w,this._current_frame=null}L.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},L.prototype.record_tag=function(w){var _=new P(this._current_frame,w,this._printer.indent_level);this._current_frame=_},L.prototype._try_pop_frame=function(w){var _=null;return w&&(_=w.parser_token,this._printer.indent_level=w.indent_level,this._current_frame=w.parent),_},L.prototype._get_frame=function(w,_){for(var y=this._current_frame;y&&w.indexOf(y.tag)===-1;){if(_&&_.indexOf(y.tag)!==-1){y=null;break}y=y.parent}return y},L.prototype.try_pop=function(w,_){var y=this._get_frame([w],_);return this._try_pop_frame(y)},L.prototype.indent_to_tag=function(w){var _=this._get_frame(w);_&&(this._printer.indent_level=_.indent_level)};function G(w,_,y,l){this._source_text=w||"",_=_||{},this._js_beautify=y,this._css_beautify=l,this._tag_stack=null;var O=new s(_,"html");this._options=O,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}G.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var w=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=`
|
|
`,w&&h.test(w)&&(_=w.match(h)[0])),w=w.replace(u,`
|
|
`);var y=w.match(/^[\t ]*/)[0],l={text:"",type:""},O=new J(this._options),b=new d(this._options,y),t=new g(w,this._options).tokenize();this._tag_stack=new L(b);for(var r=null,m=t.next();m.type!==v.EOF;)m.type===v.TAG_OPEN||m.type===v.COMMENT?(r=this._handle_tag_open(b,m,O,l,t),O=r):m.type===v.ATTRIBUTE||m.type===v.EQUALS||m.type===v.VALUE||m.type===v.TEXT&&!O.tag_complete?r=this._handle_inside_tag(b,m,O,l):m.type===v.TAG_CLOSE?r=this._handle_tag_close(b,m,O):m.type===v.TEXT?r=this._handle_text(b,m,O):m.type===v.CONTROL_FLOW_OPEN?r=this._handle_control_flow_open(b,m):m.type===v.CONTROL_FLOW_CLOSE?r=this._handle_control_flow_close(b,m):b.add_raw_token(m),l=r,m=t.next();var T=b._output.get_code(_);return T},G.prototype._handle_control_flow_open=function(w,_){var y={text:_.text,type:_.type};return w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),_.newlines?w.print_preserved_newlines(_):w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),w.print_token(_),w.indent(),y},G.prototype._handle_control_flow_close=function(w,_){var y={text:_.text,type:_.type};return w.deindent(),_.newlines?w.print_preserved_newlines(_):w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),w.print_token(_),y},G.prototype._handle_tag_close=function(w,_,y){var l={text:_.text,type:_.type};return w.alignment_size=0,y.tag_complete=!0,w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?w.add_raw_token(_):(y.tag_start_char==="<"&&(w.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&y.has_wrapped_attrs&&w.print_newline(!1)),w.print_token(_)),y.indent_content&&!(y.is_unformatted||y.is_content_unformatted)&&(w.indent(),y.indent_content=!1),!y.is_inline_element&&!(y.is_unformatted||y.is_content_unformatted)&&w.set_wrap_point(),l},G.prototype._handle_inside_tag=function(w,_,y,l){var O=y.has_wrapped_attrs,b={text:_.text,type:_.type};return w.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),y.is_unformatted?w.add_raw_token(_):y.tag_start_char==="{"&&_.type===v.TEXT?w.print_preserved_newlines(_)?(_.newlines=0,w.add_raw_token(_)):w.print_token(_):(_.type===v.ATTRIBUTE?w.set_space_before_token(!0):(_.type===v.EQUALS||_.type===v.VALUE&&_.previous.type===v.EQUALS)&&w.set_space_before_token(!1),_.type===v.ATTRIBUTE&&y.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(w.traverse_whitespace(_),O=O||_.newlines!==0),this._is_wrap_attributes_force&&y.attr_count>=this._options.wrap_attributes_min_attrs&&(l.type!==v.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(w.print_newline(!1),O=!0)),w.print_token(_),O=O||w.previous_token_wrapped(),y.has_wrapped_attrs=O),b},G.prototype._handle_text=function(w,_,y){var l={text:_.text,type:"TK_CONTENT"};return y.custom_beautifier_name?this._print_custom_beatifier_text(w,_,y):y.is_unformatted||y.is_content_unformatted?w.add_raw_token(_):(w.traverse_whitespace(_),w.print_token(_)),l},G.prototype._print_custom_beatifier_text=function(w,_,y){var l=this;if(_.text!==""){var O=_.text,b,t=1,r="",m="";y.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?b=this._js_beautify:y.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?b=this._css_beautify:y.custom_beautifier_name==="html"&&(b=function(be,Re){var Me=new G(be,Re,l._js_beautify,l._css_beautify);return Me.beautify()}),this._options.indent_scripts==="keep"?t=0:this._options.indent_scripts==="separate"&&(t=-w.indent_level);var T=w.get_full_indent(t);if(O=O.replace(/\n[ \t]*$/,""),y.custom_beautifier_name!=="html"&&O[0]==="<"&&O.match(/^(<!--|<!\[CDATA\[)/)){var X=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(O);if(!X){w.add_raw_token(_);return}r=T+X[1]+`
|
|
`,O=X[4],X[5]&&(m=T+X[5]),O=O.replace(/\n[ \t]*$/,""),(X[2]||X[3].indexOf(`
|
|
`)!==-1)&&(X=X[3].match(/[ \t]+$/),X&&(_.whitespace_before=X[0]))}if(O)if(b){var ee=function(){this.eol=`
|
|
`};ee.prototype=this._options.raw_options;var ce=new ee;O=b(T+O,ce)}else{var fe=_.whitespace_before;fe&&(O=O.replace(new RegExp(`
|
|
(`+fe+")?","g"),`
|
|
`)),O=T+O.replace(/\n/g,`
|
|
`+T)}r&&(O?O=r+O+`
|
|
`+m:O=r+m),w.print_newline(!1),O&&(_.text=O,_.whitespace_before="",_.newlines=0,w.add_raw_token(_),w.print_newline(!0))}},G.prototype._handle_tag_open=function(w,_,y,l,O){var b=this._get_tag_open_token(_);if((y.is_unformatted||y.is_content_unformatted)&&!y.is_empty_element&&_.type===v.TAG_OPEN&&!b.is_start_tag?(w.add_raw_token(_),b.start_tag_token=this._tag_stack.try_pop(b.tag_name)):(w.traverse_whitespace(_),this._set_tag_position(w,_,b,y,l),b.is_inline_element||w.set_wrap_point(),w.print_token(_)),b.is_start_tag&&this._is_wrap_attributes_force){var t=0,r;do r=O.peek(t),r.type===v.ATTRIBUTE&&(b.attr_count+=1),t+=1;while(r.type!==v.EOF&&r.type!==v.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(b.alignment_size=_.text.length+1),!b.tag_complete&&!b.is_unformatted&&(w.alignment_size=b.alignment_size),b};var J=function(w,_,y){if(this.parent=_||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!y)this.tag_complete=!0;else{var l;this.tag_start_char=y.text[0],this.text=y.text,this.tag_start_char==="<"?(l=y.text.match(/^<([^\s>]*)/),this.tag_check=l?l[1]:""):(l=y.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=l?l[1]:"",(y.text.startsWith("{{#>")||y.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&y.next!==null?this.tag_check=y.next.text.split(" ")[0]:this.tag_check=y.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),y.type===v.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||y.closed&&y.closed.text==="/>";var O=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(O=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!w.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(O)))}};G.prototype._get_tag_open_token=function(w){var _=new J(this._options,this._tag_stack.get_parser_token(),w);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||M(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&M(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&M(_.tag_check,this._options.content_unformatted),_.is_inline_element=M(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},G.prototype._set_tag_position=function(w,_,y,l,O){if(y.is_empty_element||(y.is_end_tag?y.start_tag_token=this._tag_stack.try_pop(y.tag_name):(this._do_optional_end_element(y)&&(y.is_inline_element||w.print_newline(!1)),this._tag_stack.record_tag(y),(y.tag_name==="script"||y.tag_name==="style")&&!(y.is_unformatted||y.is_content_unformatted)&&(y.custom_beautifier_name=C(y.tag_check,_)))),M(y.tag_check,this._options.extra_liners)&&(w.print_newline(!1),w._output.just_added_blankline()||w.print_newline(!0)),y.is_empty_element){if(y.tag_start_char==="{"&&y.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),y.indent_content=!0;var b=w.current_line_has_match(/{{#if/);b||w.print_newline(!1)}y.tag_name==="!--"&&O.type===v.TAG_CLOSE&&l.is_end_tag&&y.text.indexOf(`
|
|
`)===-1||(y.is_inline_element||y.is_unformatted||w.print_newline(!1),this._calcluate_parent_multiline(w,y))}else if(y.is_end_tag){var t=!1;t=y.start_tag_token&&y.start_tag_token.multiline_content,t=t||!y.is_inline_element&&!(l.is_inline_element||l.is_unformatted)&&!(O.type===v.TAG_CLOSE&&y.start_tag_token===l)&&O.type!=="TK_CONTENT",(y.is_content_unformatted||y.is_unformatted)&&(t=!1),t&&w.print_newline(!1)}else y.indent_content=!y.custom_beautifier_name,y.tag_start_char==="<"&&(y.tag_name==="html"?y.indent_content=this._options.indent_inner_html:y.tag_name==="head"?y.indent_content=this._options.indent_head_inner_html:y.tag_name==="body"&&(y.indent_content=this._options.indent_body_inner_html)),!(y.is_inline_element||y.is_unformatted)&&(O.type!=="TK_CONTENT"||y.is_content_unformatted)&&w.print_newline(!1),this._calcluate_parent_multiline(w,y)},G.prototype._calcluate_parent_multiline=function(w,_){_.parent&&w._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var Q=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],re=["a","audio","del","ins","map","noscript","video"];G.prototype._do_optional_end_element=function(w){var _=null;if(!(w.is_empty_element||!w.is_start_tag||!w.parent)){if(w.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(w.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(w.tag_name==="dd"||w.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(w.parent.tag_name==="p"&&Q.indexOf(w.tag_name)!==-1){var y=w.parent.parent;(!y||re.indexOf(y.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else w.tag_name==="rp"||w.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):w.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):w.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):w.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):w.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):w.tag_name==="tbody"||w.tag_name==="tfoot"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("thead",["table"]),_=_||this._tag_stack.try_pop("tbody",["table"])):w.tag_name==="tr"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"]),_=_||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(w.tag_name==="th"||w.tag_name==="td")&&(_=_||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),_=_||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return w.parent=this._tag_stack.get_parser_token(),_}},c.exports.Beautifier=G},function(c,i,n){var s=n(6).Options;function a(g){s.call(this,g,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}a.prototype=new s,c.exports.Options=a},function(c,i,n){var s=n(9).Tokenizer,a=n(9).TOKEN,g=n(13).Directives,v=n(14).TemplatablePattern,h=n(12).Pattern,u={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:a.START,RAW:a.RAW,EOF:a.EOF},d=new g(/<\!--/,/-->/),I=function(C,M){s.call(this,C,M),this._current_tag_name="";var P=new v(this._input).read_options(this._options),L=new h(this._input);if(this.__patterns={word:P.until(/[\n\r\t <]/),word_control_flow_close_excluded:P.until(/[\n\r\t <}]/),single_quote:P.until_after(/'/),double_quote:P.until_after(/"/),attribute:P.until(/[\n\r\t =>]|\/>/),element_name:P.until(/[\n\r\t >\/]/),angular_control_flow_start:L.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:L.starting_with(/{{!--/).until_after(/--}}/),handlebars:L.starting_with(/{{/).until_after(/}}/),handlebars_open:L.until(/[\n\r\t }]/),handlebars_raw_close:L.until(/}}/),comment:L.starting_with(/<!--/).until_after(/-->/),cdata:L.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:L.starting_with(/<!\[/).until_after(/]>/),processing:L.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var G=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=L.matching(G).until_after(G)}};I.prototype=new s,I.prototype._is_comment=function(C){return!1},I.prototype._is_opening=function(C){return C.type===u.TAG_OPEN||C.type===u.CONTROL_FLOW_OPEN},I.prototype._is_closing=function(C,M){return C.type===u.TAG_CLOSE&&M&&((C.text===">"||C.text==="/>")&&M.text[0]==="<"||C.text==="}}"&&M.text[0]==="{"&&M.text[1]==="{")||C.type===u.CONTROL_FLOW_CLOSE&&C.text==="}"&&M.text.endsWith("{")},I.prototype._reset=function(){this._current_tag_name=""},I.prototype._get_next_token=function(C,M){var P=null;this._readWhitespace();var L=this._input.peek();return L===null?this._create_token(u.EOF,""):(P=P||this._read_open_handlebars(L,M),P=P||this._read_attribute(L,C,M),P=P||this._read_close(L,M),P=P||this._read_script_and_style(L,C),P=P||this._read_control_flows(L,M),P=P||this._read_raw_content(L,C,M),P=P||this._read_content_word(L,M),P=P||this._read_comment_or_cdata(L),P=P||this._read_processing(L),P=P||this._read_open(L,M),P=P||this._create_token(u.UNKNOWN,this._input.next()),P)},I.prototype._read_comment_or_cdata=function(C){var M=null,P=null,L=null;if(C==="<"){var G=this._input.peek(1);G==="!"&&(P=this.__patterns.comment.read(),P?(L=d.get_directives(P),L&&L.ignore==="start"&&(P+=d.readIgnored(this._input))):P=this.__patterns.cdata.read()),P&&(M=this._create_token(u.COMMENT,P),M.directives=L)}return M},I.prototype._read_processing=function(C){var M=null,P=null,L=null;if(C==="<"){var G=this._input.peek(1);(G==="!"||G==="?")&&(P=this.__patterns.conditional_comment.read(),P=P||this.__patterns.processing.read()),P&&(M=this._create_token(u.COMMENT,P),M.directives=L)}return M},I.prototype._read_open=function(C,M){var P=null,L=null;return(!M||M.type===u.CONTROL_FLOW_OPEN)&&C==="<"&&(P=this._input.next(),this._input.peek()==="/"&&(P+=this._input.next()),P+=this.__patterns.element_name.read(),L=this._create_token(u.TAG_OPEN,P)),L},I.prototype._read_open_handlebars=function(C,M){var P=null,L=null;return(!M||M.type===u.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&C==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(P=this.__patterns.handlebars_comment.read(),P=P||this.__patterns.handlebars.read(),L=this._create_token(u.COMMENT,P)):(P=this.__patterns.handlebars_open.read(),L=this._create_token(u.TAG_OPEN,P))),L},I.prototype._read_control_flows=function(C,M){var P="",L=null;if(!this._options.templating.includes("angular"))return L;if(C==="@"){if(P=this.__patterns.angular_control_flow_start.read(),P==="")return L;for(var G=P.endsWith("(")?1:0,J=0;!(P.endsWith("{")&&G===J);){var Q=this._input.next();if(Q===null)break;Q==="("?G++:Q===")"&&J++,P+=Q}L=this._create_token(u.CONTROL_FLOW_OPEN,P)}else C==="}"&&M&&M.type===u.CONTROL_FLOW_OPEN&&(P=this._input.next(),L=this._create_token(u.CONTROL_FLOW_CLOSE,P));return L},I.prototype._read_close=function(C,M){var P=null,L=null;return M&&M.type===u.TAG_OPEN&&(M.text[0]==="<"&&(C===">"||C==="/"&&this._input.peek(1)===">")?(P=this._input.next(),C==="/"&&(P+=this._input.next()),L=this._create_token(u.TAG_CLOSE,P)):M.text[0]==="{"&&C==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),L=this._create_token(u.TAG_CLOSE,"}}"))),L},I.prototype._read_attribute=function(C,M,P){var L=null,G="";if(P&&P.text[0]==="<")if(C==="=")L=this._create_token(u.EQUALS,this._input.next());else if(C==='"'||C==="'"){var J=this._input.next();C==='"'?J+=this.__patterns.double_quote.read():J+=this.__patterns.single_quote.read(),L=this._create_token(u.VALUE,J)}else G=this.__patterns.attribute.read(),G&&(M.type===u.EQUALS?L=this._create_token(u.VALUE,G):L=this._create_token(u.ATTRIBUTE,G));return L},I.prototype._is_content_unformatted=function(C){return this._options.void_elements.indexOf(C)===-1&&(this._options.content_unformatted.indexOf(C)!==-1||this._options.unformatted.indexOf(C)!==-1)},I.prototype._read_raw_content=function(C,M,P){var L="";if(P&&P.text[0]==="{")L=this.__patterns.handlebars_raw_close.read();else if(M.type===u.TAG_CLOSE&&M.opened.text[0]==="<"&&M.text[0]!=="/"){var G=M.opened.text.substr(1).toLowerCase();this._is_content_unformatted(G)&&(L=this._input.readUntil(new RegExp("</"+G+"[\\n\\r\\t ]*?>","ig")))}return L?this._create_token(u.TEXT,L):null},I.prototype._read_script_and_style=function(C,M){if(M.type===u.TAG_CLOSE&&M.opened.text[0]==="<"&&M.text[0]!=="/"){var P=M.opened.text.substr(1).toLowerCase();if(P==="script"||P==="style"){var L=this._read_comment_or_cdata(C);if(L)return L.type=u.TEXT,L;var G=this._input.readUntil(new RegExp("</"+P+"[\\n\\r\\t ]*?>","ig"));if(G)return this._create_token(u.TEXT,G)}}return null},I.prototype._read_content_word=function(C,M){var P="";return this._options.unformatted_content_delimiter&&C===this._options.unformatted_content_delimiter[0]&&(P=this.__patterns.unformatted_content_delimiter.read()),P||(P=M&&M.type===u.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),P?this._create_token(u.TEXT,P):null},c.exports.Tokenizer=I,c.exports.TOKEN=u}],D={};function e(c){var i=D[c];if(i!==void 0)return i.exports;var n=D[c]={exports:{}};return K[c](n,n.exports,e),n.exports}var E=e(18);W=E})();var z=W;if(1)x=[f,f(58553),f(87804)],R=function(K){var D=f(58553),e=f(87804);return{html_beautify:function(E,c){return z(E,c,D.js_beautify,e.css_beautify)}}}.apply(ie,x),R!==void 0&&(Oe.exports=R);else var A,U})()},58553:function(Oe,ie){var f,x;(function(){var R;(function(){"use strict";var z=[function(D,e,E){var c=E(1).Beautifier,i=E(5).Options;function n(s,a){var g=new c(s,a);return g.beautify()}D.exports=n,D.exports.defaultOptions=function(){return new i}},function(D,e,E){var c=E(2).Output,i=E(3).Token,n=E(4),s=E(5).Options,a=E(7).Tokenizer,g=E(7).line_starters,v=E(7).positionable_operators,h=E(7).TOKEN;function u(r,m){return m.indexOf(r)!==-1}function d(r){return r.replace(/^\s+/g,"")}function I(r){for(var m={},T=0;T<r.length;T++)m[r[T].replace(/-/g,"_")]=r[T];return m}function C(r,m){return r&&r.type===h.RESERVED&&r.text===m}function M(r,m){return r&&r.type===h.RESERVED&&u(r.text,m)}var P=["case","return","do","if","throw","else","await","break","continue","async"],L=["before-newline","after-newline","preserve-newline"],G=I(L),J=[G.before_newline,G.preserve_newline],Q={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function re(r,m){m.multiline_frame||m.mode===Q.ForInitializer||m.mode===Q.Conditional||r.remove_indent(m.start_line_index)}function w(r){r=r.replace(n.allLineBreaks,`
|
|
`);for(var m=[],T=r.indexOf(`
|
|
`);T!==-1;)m.push(r.substring(0,T)),r=r.substring(T+1),T=r.indexOf(`
|
|
`);return r.length&&m.push(r),m}function _(r){return r===Q.ArrayLiteral}function y(r){return u(r,[Q.Expression,Q.ForInitializer,Q.Conditional])}function l(r,m){for(var T=0;T<r.length;T++){var X=r[T].trim();if(X.charAt(0)!==m)return!1}return!0}function O(r,m){for(var T=0,X=r.length,ee;T<X;T++)if(ee=r[T],ee&&ee.indexOf(m)!==0)return!1;return!0}function b(r,m){m=m||{},this._source_text=r||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new s(m)}b.prototype.create_flags=function(r,m){var T=0;r&&(T=r.indentation_level,!this._output.just_added_newline()&&r.line_indent_level>T&&(T=r.line_indent_level));var X={mode:m,parent:r,last_token:r?r.last_token:new i(h.START_BLOCK,""),last_word:r?r.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:T,alignment:0,line_indent_level:r?r.line_indent_level:T,start_line_index:this._output.get_line_number(),ternary_depth:0};return X},b.prototype._reset=function(r){var m=r.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new c(this._options,m),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Q.BlockStatement);var T=new a(r,this._options);return this._tokens=T.tokenize(),r},b.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var r,m=this._reset(this._source_text),T=this._options.eol;this._options.eol==="auto"&&(T=`
|
|
`,m&&n.lineBreak.test(m||"")&&(T=m.match(n.lineBreak)[0]));for(var X=this._tokens.next();X;)this.handle_token(X),this._last_last_text=this._flags.last_token.text,this._flags.last_token=X,X=this._tokens.next();return r=this._output.get_code(T),r},b.prototype.handle_token=function(r,m){r.type===h.START_EXPR?this.handle_start_expr(r):r.type===h.END_EXPR?this.handle_end_expr(r):r.type===h.START_BLOCK?this.handle_start_block(r):r.type===h.END_BLOCK?this.handle_end_block(r):r.type===h.WORD?this.handle_word(r):r.type===h.RESERVED?this.handle_word(r):r.type===h.SEMICOLON?this.handle_semicolon(r):r.type===h.STRING?this.handle_string(r):r.type===h.EQUALS?this.handle_equals(r):r.type===h.OPERATOR?this.handle_operator(r):r.type===h.COMMA?this.handle_comma(r):r.type===h.BLOCK_COMMENT?this.handle_block_comment(r,m):r.type===h.COMMENT?this.handle_comment(r,m):r.type===h.DOT?this.handle_dot(r):r.type===h.EOF?this.handle_eof(r):r.type===h.UNKNOWN?this.handle_unknown(r,m):this.handle_unknown(r,m)},b.prototype.handle_whitespace_and_comments=function(r,m){var T=r.newlines,X=this._options.keep_array_indentation&&_(this._flags.mode);if(r.comments_before)for(var ee=r.comments_before.next();ee;)this.handle_whitespace_and_comments(ee,m),this.handle_token(ee,m),ee=r.comments_before.next();if(X)for(var ce=0;ce<T;ce+=1)this.print_newline(ce>0,m);else if(this._options.max_preserve_newlines&&T>this._options.max_preserve_newlines&&(T=this._options.max_preserve_newlines),this._options.preserve_newlines&&T>1){this.print_newline(!1,m);for(var fe=1;fe<T;fe+=1)this.print_newline(!0,m)}};var t=["async","break","continue","return","throw","yield"];b.prototype.allow_wrap_or_preserved_newline=function(r,m){if(m=m===void 0?!1:m,!this._output.just_added_newline()){var T=this._options.preserve_newlines&&r.newlines||m,X=u(this._flags.last_token.text,v)||u(r.text,v);if(X){var ee=u(this._flags.last_token.text,v)&&u(this._options.operator_position,J)||u(r.text,v);T=T&&ee}if(T)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(M(this._flags.last_token,t))return;this._output.set_wrap_point()}}},b.prototype.print_newline=function(r,m){if(!m&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==h.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var T=this._tokens.peek();this._flags.mode===Q.Statement&&!(this._flags.if_block&&C(T,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(r)&&(this._flags.multiline_frame=!0)},b.prototype.print_token_line_indentation=function(r){this._output.just_added_newline()&&(this._options.keep_array_indentation&&r.newlines&&(r.text==="["||_(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(r.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},b.prototype.print_token=function(r){if(this._output.raw){this._output.add_raw_token(r);return}if(this._options.comma_first&&r.previous&&r.previous.type===h.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var m=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(m),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(r),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(r),this._output.non_breaking_space=!0,this._output.add_token(r.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},b.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.set_mode=function(r){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,r),this._flags=this.create_flags(this._previous_flags,r),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},b.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Q.Statement&&re(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},b.prototype.start_of_object_property=function(){return this._flags.parent.mode===Q.ObjectLiteral&&this._flags.mode===Q.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||M(this._flags.last_token,["get","set"]))},b.prototype.start_of_statement=function(r){var m=!1;return m=m||M(this._flags.last_token,["var","let","const"])&&r.type===h.WORD,m=m||C(this._flags.last_token,"do"),m=m||!(this._flags.parent.mode===Q.ObjectLiteral&&this._flags.mode===Q.Statement)&&M(this._flags.last_token,t)&&!r.newlines,m=m||C(this._flags.last_token,"else")&&!(C(r,"if")&&!r.comments_before),m=m||this._flags.last_token.type===h.END_EXPR&&(this._previous_flags.mode===Q.ForInitializer||this._previous_flags.mode===Q.Conditional),m=m||this._flags.last_token.type===h.WORD&&this._flags.mode===Q.BlockStatement&&!this._flags.in_case&&!(r.text==="--"||r.text==="++")&&this._last_last_text!=="function"&&r.type!==h.WORD&&r.type!==h.RESERVED,m=m||this._flags.mode===Q.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||M(this._flags.last_token,["get","set"])),m?(this.set_mode(Q.Statement),this.indent(),this.handle_whitespace_and_comments(r,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r,M(r,["do","for","if","while"])),!0):!1},b.prototype.handle_start_expr=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r);var m=Q.Expression;if(r.text==="["){if(this._flags.last_token.type===h.WORD||this._flags.last_token.text===")"){M(this._flags.last_token,g)&&(this._output.space_before_token=!0),this.print_token(r),this.set_mode(m),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}m=Q.ArrayLiteral,_(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),u(this._flags.last_token.type,[h.START_EXPR,h.END_EXPR,h.WORD,h.OPERATOR,h.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===h.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,m=Q.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,m=Q.Conditional):u(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&r.whitespace_before===""?this._output.space_before_token=!1:(u(this._flags.last_token.text,g)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===h.EQUALS||this._flags.last_token.type===h.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r);else if(this._flags.last_token.type===h.WORD){this._output.space_before_token=!1;var T=this._tokens.peek(-3);if(this._options.space_after_named_function&&T){var X=this._tokens.peek(-4);M(T,["async","function"])||T.text==="*"&&M(X,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Q.ObjectLiteral?(T.text==="{"||T.text===","||T.text==="*"&&(X.text==="{"||X.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(r);(this._flags.last_token.type===h.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===Q.ObjectLiteral&&u(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===h.START_BLOCK?this.print_newline():(this._flags.last_token.type===h.END_EXPR||this._flags.last_token.type===h.START_EXPR||this._flags.last_token.type===h.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===h.COMMA)&&this.allow_wrap_or_preserved_newline(r,r.newlines),this.print_token(r),this.set_mode(m),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},b.prototype.handle_end_expr=function(r){for(;this._flags.mode===Q.Statement;)this.restore_mode();this.handle_whitespace_and_comments(r),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(r,r.text==="]"&&_(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===h.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(r),this.restore_mode(),re(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Q.Conditional&&(this._previous_flags.mode=Q.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},b.prototype.handle_start_block=function(r){this.handle_whitespace_and_comments(r);var m=this._tokens.peek(),T=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===h.END_EXPR?(this.set_mode(Q.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Q.BlockStatement):T&&(u(T.text,[":",","])&&u(m.type,[h.STRING,h.WORD,h.RESERVED])||u(m.text,["get","set","..."])&&u(T.type,[h.WORD,h.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(T.text,[":",","])?this.set_mode(Q.BlockStatement):this.set_mode(Q.ObjectLiteral):this._flags.last_token.type===h.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(Q.BlockStatement):u(this._flags.last_token.type,[h.EQUALS,h.START_EXPR,h.COMMA,h.OPERATOR])||M(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Q.ObjectLiteral):this.set_mode(Q.BlockStatement),this._flags.last_token&&M(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var X=!m.comments_before&&m.text==="}",ee=X&&this._flags.last_word==="function"&&this._flags.last_token.type===h.END_EXPR;if(this._options.brace_preserve_inline){var ce=0,fe=null;this._flags.inline_frame=!0;do if(ce+=1,fe=this._tokens.peek(ce-1),fe.newlines){this._flags.inline_frame=!1;break}while(fe.type!==h.EOF&&!(fe.type===h.END_BLOCK&&fe.opened===r))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&r.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==h.OPERATOR&&(ee||this._flags.last_token.type===h.EQUALS||M(this._flags.last_token,P)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(_(this._previous_flags.mode)&&(this._flags.last_token.type===h.START_EXPR||this._flags.last_token.type===h.COMMA)&&((this._flags.last_token.type===h.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===h.COMMA||this._flags.last_token.type===h.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(r),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==h.OPERATOR&&this._flags.last_token.type!==h.START_EXPR&&(u(this._flags.last_token.type,[h.START_BLOCK,h.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(r),this.indent(),!X&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},b.prototype.handle_end_block=function(r){for(this.handle_whitespace_and_comments(r);this._flags.mode===Q.Statement;)this.restore_mode();var m=this._flags.last_token.type===h.START_BLOCK;this._flags.inline_frame&&!m?this._output.space_before_token=!0:this._options.brace_style==="expand"?m||this.print_newline():m||(_(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(r)},b.prototype.handle_word=function(r){if(r.type===h.RESERVED){if(u(r.text,["set","get"])&&this._flags.mode!==Q.ObjectLiteral)r.type=h.WORD;else if(r.text==="import"&&u(this._tokens.peek().text,["(","."]))r.type=h.WORD;else if(u(r.text,["as","from"])&&!this._flags.import_block)r.type=h.WORD;else if(this._flags.mode===Q.ObjectLiteral){var m=this._tokens.peek();m.text===":"&&(r.type=h.WORD)}}if(this.start_of_statement(r)?M(this._flags.last_token,["var","let","const"])&&r.type===h.WORD&&(this._flags.declaration_statement=!0):r.newlines&&!y(this._flags.mode)&&(this._flags.last_token.type!==h.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==h.EQUALS&&(this._options.preserve_newlines||!M(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(r),this.print_newline()):this.handle_whitespace_and_comments(r),this._flags.do_block&&!this._flags.do_while)if(C(r,"while")){this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&C(r,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Q.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&M(r,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(r),this._flags.in_case=!0;return}if((this._flags.last_token.type===h.COMMA||this._flags.last_token.type===h.START_EXPR||this._flags.last_token.type===h.EQUALS||this._flags.last_token.type===h.OPERATOR)&&!this.start_of_object_property()&&!(u(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===Q.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(r),C(r,"function")){(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(u(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===h.OPERATOR))&&!this._output.just_added_blankline()&&!r.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===h.RESERVED||this._flags.last_token.type===h.WORD?M(this._flags.last_token,["get","set","new","export"])||M(this._flags.last_token,t)?this._output.space_before_token=!0:C(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===h.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(y(this._flags.mode)||_(this._flags.mode))||this.print_newline(),this.print_token(r),this._flags.last_word=r.text;return}var T="NONE";if(this._flags.last_token.type===h.END_BLOCK?this._previous_flags.inline_frame?T="SPACE":M(r,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&r.newlines?T="NEWLINE":(T="SPACE",this._output.space_before_token=!0):T="NEWLINE":this._flags.last_token.type===h.SEMICOLON&&this._flags.mode===Q.BlockStatement?T="NEWLINE":this._flags.last_token.type===h.SEMICOLON&&y(this._flags.mode)?T="SPACE":this._flags.last_token.type===h.STRING?T="NEWLINE":this._flags.last_token.type===h.RESERVED||this._flags.last_token.type===h.WORD||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===Q.ObjectLiteral&&u(this._last_last_text,["{",","]))?T="SPACE":this._flags.last_token.type===h.START_BLOCK?this._flags.inline_frame?T="SPACE":T="NEWLINE":this._flags.last_token.type===h.END_EXPR&&(this._output.space_before_token=!0,T="NEWLINE"),M(r,g)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?T="SPACE":T="NEWLINE"),M(r,["else","catch","finally"]))if((!(this._flags.last_token.type===h.END_BLOCK&&this._previous_flags.mode===Q.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&r.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var X=this._output.current_line;X.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else T==="NEWLINE"?M(this._flags.last_token,P)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&M(r,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==h.END_EXPR?(this._flags.last_token.type!==h.START_EXPR||!M(r,["var","let","const"]))&&this._flags.last_token.text!==":"&&(C(r,"if")&&C(r.previous,"else")?this._output.space_before_token=!0:this.print_newline()):M(r,g)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&_(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():T==="SPACE"&&(this._output.space_before_token=!0);r.previous&&(r.previous.type===h.WORD||r.previous.type===h.RESERVED)&&(this._output.space_before_token=!0),this.print_token(r),this._flags.last_word=r.text,r.type===h.RESERVED&&(r.text==="do"?this._flags.do_block=!0:r.text==="if"?this._flags.if_block=!0:r.text==="import"?this._flags.import_block=!0:this._flags.import_block&&C(r,"from")&&(this._flags.import_block=!1))},b.prototype.handle_semicolon=function(r){this.start_of_statement(r)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(r);for(var m=this._tokens.peek();this._flags.mode===Q.Statement&&!(this._flags.if_block&&C(m,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(r)},b.prototype.handle_string=function(r){r.text.startsWith("`")&&r.newlines===0&&r.whitespace_before===""&&(r.previous.text===")"||this._flags.last_token.type===h.WORD)||(this.start_of_statement(r)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(r),this._flags.last_token.type===h.RESERVED||this._flags.last_token.type===h.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===h.COMMA||this._flags.last_token.type===h.START_EXPR||this._flags.last_token.type===h.EQUALS||this._flags.last_token.type===h.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r):r.text.startsWith("`")&&this._flags.last_token.type===h.END_EXPR&&(r.previous.text==="]"||r.previous.text===")")&&r.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(r)},b.prototype.handle_equals=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0},b.prototype.handle_comma=function(r){this.handle_whitespace_and_comments(r,!0),this.print_token(r),this._output.space_before_token=!0,this._flags.declaration_statement?(y(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(r)):this._flags.mode===Q.ObjectLiteral||this._flags.mode===Q.Statement&&this._flags.parent.mode===Q.ObjectLiteral?(this._flags.mode===Q.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(r)},b.prototype.handle_operator=function(r){var m=r.text==="*"&&(M(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[h.START_BLOCK,h.COMMA,h.END_BLOCK,h.SEMICOLON])),T=u(r.text,["-","+"])&&(u(this._flags.last_token.type,[h.START_BLOCK,h.START_EXPR,h.EQUALS,h.OPERATOR])||u(this._flags.last_token.text,g)||this._flags.last_token.text===",");if(!this.start_of_statement(r)){var X=!m;this.handle_whitespace_and_comments(r,X)}if(r.text==="*"&&this._flags.last_token.type===h.DOT){this.print_token(r);return}if(r.text==="::"){this.print_token(r);return}if(u(r.text,["-","+"])&&this.start_of_object_property()){this.print_token(r);return}if(this._flags.last_token.type===h.OPERATOR&&u(this._options.operator_position,J)&&this.allow_wrap_or_preserved_newline(r),r.text===":"&&this._flags.in_case){this.print_token(r),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==h.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var ee=!0,ce=!0,fe=!1;if(r.text===":"?this._flags.ternary_depth===0?ee=!1:(this._flags.ternary_depth-=1,fe=!0):r.text==="?"&&(this._flags.ternary_depth+=1),!T&&!m&&this._options.preserve_newlines&&u(r.text,v)){var be=r.text===":",Re=be&&fe,Me=be&&!fe;switch(this._options.operator_position){case G.before_newline:this._output.space_before_token=!Me,this.print_token(r),(!be||Re)&&this.allow_wrap_or_preserved_newline(r),this._output.space_before_token=!0;return;case G.after_newline:this._output.space_before_token=!0,!be||Re?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(r):this._output.space_before_token=!1,this.print_token(r),this._output.space_before_token=!0;return;case G.preserve_newline:Me||this.allow_wrap_or_preserved_newline(r),ee=!(this._output.just_added_newline()||Me),this._output.space_before_token=ee,this.print_token(r),this._output.space_before_token=!0;return}}if(m){this.allow_wrap_or_preserved_newline(r),ee=!1;var Pe=this._tokens.peek();ce=Pe&&u(Pe.type,[h.WORD,h.RESERVED])}else if(r.text==="...")this.allow_wrap_or_preserved_newline(r),ee=this._flags.last_token.type===h.START_BLOCK,ce=!1;else if(u(r.text,["--","++","!","~"])||T){if((this._flags.last_token.type===h.COMMA||this._flags.last_token.type===h.START_EXPR)&&this.allow_wrap_or_preserved_newline(r),ee=!1,ce=!1,r.newlines&&(r.text==="--"||r.text==="++"||r.text==="~")){var Te=M(this._flags.last_token,P)&&r.newlines;Te&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Te,!0)}this._flags.last_token.text===";"&&y(this._flags.mode)&&(ee=!0),this._flags.last_token.type===h.RESERVED?ee=!0:this._flags.last_token.type===h.END_EXPR?ee=!(this._flags.last_token.text==="]"&&(r.text==="--"||r.text==="++")):this._flags.last_token.type===h.OPERATOR&&(ee=u(r.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(r.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(ce=!0)),(this._flags.mode===Q.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Q.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ee,this.print_token(r),this._output.space_before_token=ce},b.prototype.handle_block_comment=function(r,m){if(this._output.raw){this._output.add_raw_token(r),r.directives&&r.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(r.directives){this.print_newline(!1,m),this.print_token(r),r.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!n.newline.test(r.text)&&!r.newlines){this._output.space_before_token=!0,this.print_token(r),this._output.space_before_token=!0;return}else this.print_block_commment(r,m)},b.prototype.print_block_commment=function(r,m){var T=w(r.text),X,ee=!1,ce=!1,fe=r.whitespace_before,be=fe.length;if(this.print_newline(!1,m),this.print_token_line_indentation(r),this._output.add_token(T[0]),this.print_newline(!1,m),T.length>1){for(T=T.slice(1),ee=l(T,"*"),ce=O(T,fe),ee&&(this._flags.alignment=1),X=0;X<T.length;X++)ee?(this.print_token_line_indentation(r),this._output.add_token(d(T[X]))):ce&&T[X]?(this.print_token_line_indentation(r),this._output.add_token(T[X].substring(be))):(this._output.current_line.set_indent(-1),this._output.add_token(T[X])),this.print_newline(!1,m);this._flags.alignment=0}},b.prototype.handle_comment=function(r,m){r.newlines?this.print_newline(!1,m):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(r),this.print_newline(!1,m)},b.prototype.handle_dot=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),M(this._flags.last_token,P)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(r,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(r)},b.prototype.handle_unknown=function(r,m){this.print_token(r),r.text[r.text.length-1]===`
|
|
`&&this.print_newline(!1,m)},b.prototype.handle_eof=function(r){for(;this._flags.mode===Q.Statement;)this.restore_mode();this.handle_whitespace_and_comments(r)},D.exports.Beautifier=b},function(D){function e(i){this.__parent=i,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var i=new e(this.__parent);return i.set_indent(this.__indent_count,this.__alignment_count),i},e.prototype.item=function(i){return i<0?this.__items[this.__items.length+i]:this.__items[i]},e.prototype.has_match=function(i){for(var n=this.__items.length-1;n>=0;n--)if(this.__items[n].match(i))return!0;return!1},e.prototype.set_indent=function(i,n){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=n||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var i=this.__parent.current_line;return i.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),i.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),i.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,i.__items[0]===" "&&(i.__items.splice(0,1),i.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(i){this.__items.push(i);var n=i.lastIndexOf(`
|
|
`);n!==-1?this.__character_count=i.length-n:this.__character_count+=i.length},e.prototype.pop=function(){var i=null;return this.is_empty()||(i=this.__items.pop(),this.__character_count-=i.length),i},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var i="";return this.is_empty()?this.__parent.indent_empty_lines&&(i=this.__parent.get_indent_string(this.__indent_count)):(i=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),i+=this.__items.join("")),i};function E(i,n){this.__cache=[""],this.__indent_size=i.indent_size,this.__indent_string=i.indent_char,i.indent_with_tabs||(this.__indent_string=new Array(i.indent_size+1).join(i.indent_char)),n=n||"",i.indent_level>0&&(n=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=n,this.__base_string_length=n.length}E.prototype.get_indent_size=function(i,n){var s=this.__base_string_length;return n=n||0,i<0&&(s=0),s+=i*this.__indent_size,s+=n,s},E.prototype.get_indent_string=function(i,n){var s=this.__base_string;return n=n||0,i<0&&(i=0,s=""),n+=i*this.__indent_size,this.__ensure_cache(n),s+=this.__cache[n],s},E.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},E.prototype.__add_column=function(){var i=this.__cache.length,n=0,s="";this.__indent_size&&i>=this.__indent_size&&(n=Math.floor(i/this.__indent_size),i-=n*this.__indent_size,s=new Array(n+1).join(this.__indent_string)),i&&(s+=new Array(i+1).join(" ")),this.__cache.push(s)};function c(i,n){this.__indent_cache=new E(i,n),this.raw=!1,this._end_with_newline=i.end_with_newline,this.indent_size=i.indent_size,this.wrap_line_length=i.wrap_line_length,this.indent_empty_lines=i.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}c.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},c.prototype.get_line_number=function(){return this.__lines.length},c.prototype.get_indent_string=function(i,n){return this.__indent_cache.get_indent_string(i,n)},c.prototype.get_indent_size=function(i,n){return this.__indent_cache.get_indent_size(i,n)},c.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},c.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},c.prototype.get_code=function(i){this.trim(!0);var n=this.current_line.pop();n&&(n[n.length-1]===`
|
|
`&&(n=n.replace(/\n+$/g,"")),this.current_line.push(n)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return i!==`
|
|
`&&(s=s.replace(/[\n]/g,i)),s},c.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},c.prototype.set_indent=function(i,n){return i=i||0,n=n||0,this.next_line.set_indent(i,n),this.__lines.length>1?(this.current_line.set_indent(i,n),!0):(this.current_line.set_indent(),!1)},c.prototype.add_raw_token=function(i){for(var n=0;n<i.newlines;n++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(i.whitespace_before),this.current_line.push(i.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},c.prototype.add_token=function(i){this.__add_space_before_token(),this.current_line.push(i),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},c.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},c.prototype.remove_indent=function(i){for(var n=this.__lines.length;i<n;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},c.prototype.trim=function(i){for(i=i===void 0?!1:i,this.current_line.trim();i&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},c.prototype.just_added_newline=function(){return this.current_line.is_empty()},c.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},c.prototype.ensure_empty_line_above=function(i,n){for(var s=this.__lines.length-2;s>=0;){var a=this.__lines[s];if(a.is_empty())break;if(a.item(0).indexOf(i)!==0&&a.item(-1)!==n){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},D.exports.Output=c},function(D){function e(E,c,i,n){this.type=E,this.text=c,this.comments_before=null,this.newlines=i||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}D.exports.Token=e},function(D,e){var E="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",c="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",i="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",n="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",s="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",a="(?:"+s+"|["+E+i+"])",g="(?:"+s+"|["+c+i+n+"])*";e.identifier=new RegExp(a+g,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+s+"|["+c+i+n+"])+");var v=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(D,e,E){var c=E(6).Options,i=["before-newline","after-newline","preserve-newline"];function n(s){c.call(this,s,"js");var a=this.raw_options.brace_style||null;a==="expand-strict"?this.raw_options.brace_style="expand":a==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var g=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var v=0;v<g.length;v++)g[v]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=g[v];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",i),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}n.prototype=new c,D.exports.Options=n},function(D){function e(i,n){this.raw_options=E(i,n),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(i,n){var s=this.raw_options[i],a=n||[];return typeof s=="object"?s!==null&&typeof s.concat=="function"&&(a=s.concat()):typeof s=="string"&&(a=s.split(/[^a-zA-Z0-9_\/\-]+/)),a},e.prototype._get_boolean=function(i,n){var s=this.raw_options[i],a=s===void 0?!!n:!!s;return a},e.prototype._get_characters=function(i,n){var s=this.raw_options[i],a=n||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),a},e.prototype._get_number=function(i,n){var s=this.raw_options[i];n=parseInt(n,10),isNaN(n)&&(n=0);var a=parseInt(s,10);return isNaN(a)&&(a=n),a},e.prototype._get_selection=function(i,n,s){var a=this._get_selection_list(i,n,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+i+`' can only be one of the following values:
|
|
`+n+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a[0]},e.prototype._get_selection_list=function(i,n,s){if(!n||n.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[n[0]],!this._is_valid_selection(s,n))throw new Error("Invalid Default Value!");var a=this._get_array(i,s);if(!this._is_valid_selection(a,n))throw new Error("Invalid Option Value: The option '"+i+`' can contain only the following values:
|
|
`+n+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a},e.prototype._is_valid_selection=function(i,n){return i.length&&n.length&&!i.some(function(s){return n.indexOf(s)===-1})};function E(i,n){var s={};i=c(i);var a;for(a in i)a!==n&&(s[a]=i[a]);if(n&&i[n])for(a in i[n])s[a]=i[n][a];return s}function c(i){var n={},s;for(s in i){var a=s.replace(/-/g,"_");n[a]=i[s]}return n}D.exports.Options=e,D.exports.normalizeOpts=c,D.exports.mergeOpts=E},function(D,e,E){var c=E(8).InputScanner,i=E(9).Tokenizer,n=E(9).TOKEN,s=E(13).Directives,a=E(4),g=E(12).Pattern,v=E(14).TemplatablePattern;function h(l,O){return O.indexOf(l)!==-1}var u={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:n.START,RAW:n.RAW,EOF:n.EOF},d=new s(/\/\*/,/\*\//),I=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,C=/[0-9]/,M=/[^\d\.]/,P=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),L=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";L=L.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),L="\\?\\.(?!\\d) "+L,L=L.replace(/ /g,"|");var G=new RegExp(L),J="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),Q=J.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),re=new RegExp("^(?:"+Q.join("|")+")$"),w,_=function(l,O){i.call(this,l,O),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var b=new g(this._input),t=new v(this._input).read_options(this._options);this.__patterns={template:t,identifier:t.starting_with(a.identifier).matching(a.identifierMatch),number:b.matching(I),punct:b.matching(G),comment:b.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:b.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:b.matching(/<!--/),html_comment_end:b.matching(/-->/),include:b.starting_with(/#include/).until_after(a.lineBreak),shebang:b.starting_with(/#!/).until_after(a.lineBreak),xml:b.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:t.until(/['\\\n\r\u2028\u2029]/),double_quote:t.until(/["\\\n\r\u2028\u2029]/),template_text:t.until(/[`\\$]/),template_expression:t.until(/[`}\\]/)}};_.prototype=new i,_.prototype._is_comment=function(l){return l.type===u.COMMENT||l.type===u.BLOCK_COMMENT||l.type===u.UNKNOWN},_.prototype._is_opening=function(l){return l.type===u.START_BLOCK||l.type===u.START_EXPR},_.prototype._is_closing=function(l,O){return(l.type===u.END_BLOCK||l.type===u.END_EXPR)&&O&&(l.text==="]"&&O.text==="["||l.text===")"&&O.text==="("||l.text==="}"&&O.text==="{")},_.prototype._reset=function(){w=!1},_.prototype._get_next_token=function(l,O){var b=null;this._readWhitespace();var t=this._input.peek();return t===null?this._create_token(u.EOF,""):(b=b||this._read_non_javascript(t),b=b||this._read_string(t),b=b||this._read_pair(t,this._input.peek(1)),b=b||this._read_word(l),b=b||this._read_singles(t),b=b||this._read_comment(t),b=b||this._read_regexp(t,l),b=b||this._read_xml(t,l),b=b||this._read_punctuation(),b=b||this._create_token(u.UNKNOWN,this._input.next()),b)},_.prototype._read_word=function(l){var O;if(O=this.__patterns.identifier.read(),O!=="")return O=O.replace(a.allLineBreaks,`
|
|
`),!(l.type===u.DOT||l.type===u.RESERVED&&(l.text==="set"||l.text==="get"))&&re.test(O)?(O==="in"||O==="of")&&(l.type===u.WORD||l.type===u.STRING)?this._create_token(u.OPERATOR,O):this._create_token(u.RESERVED,O):this._create_token(u.WORD,O);if(O=this.__patterns.number.read(),O!=="")return this._create_token(u.WORD,O)},_.prototype._read_singles=function(l){var O=null;return l==="("||l==="["?O=this._create_token(u.START_EXPR,l):l===")"||l==="]"?O=this._create_token(u.END_EXPR,l):l==="{"?O=this._create_token(u.START_BLOCK,l):l==="}"?O=this._create_token(u.END_BLOCK,l):l===";"?O=this._create_token(u.SEMICOLON,l):l==="."&&M.test(this._input.peek(1))?O=this._create_token(u.DOT,l):l===","&&(O=this._create_token(u.COMMA,l)),O&&this._input.next(),O},_.prototype._read_pair=function(l,O){var b=null;return l==="#"&&O==="{"&&(b=this._create_token(u.START_BLOCK,l+O)),b&&(this._input.next(),this._input.next()),b},_.prototype._read_punctuation=function(){var l=this.__patterns.punct.read();if(l!=="")return l==="="?this._create_token(u.EQUALS,l):l==="?."?this._create_token(u.DOT,l):this._create_token(u.OPERATOR,l)},_.prototype._read_non_javascript=function(l){var O="";if(l==="#"){if(this._is_first_token()&&(O=this.__patterns.shebang.read(),O))return this._create_token(u.UNKNOWN,O.trim()+`
|
|
`);if(O=this.__patterns.include.read(),O)return this._create_token(u.UNKNOWN,O.trim()+`
|
|
`);l=this._input.next();var b="#";if(this._input.hasNext()&&this._input.testChar(C)){do l=this._input.next(),b+=l;while(this._input.hasNext()&&l!=="#"&&l!=="=");return l==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(b+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(b+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,b)}this._input.back()}else if(l==="<"&&this._is_first_token()){if(O=this.__patterns.html_comment_start.read(),O){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)O+=this._input.next();return w=!0,this._create_token(u.COMMENT,O)}}else if(w&&l==="-"&&(O=this.__patterns.html_comment_end.read(),O))return w=!1,this._create_token(u.COMMENT,O);return null},_.prototype._read_comment=function(l){var O=null;if(l==="/"){var b="";if(this._input.peek(1)==="*"){b=this.__patterns.block_comment.read();var t=d.get_directives(b);t&&t.ignore==="start"&&(b+=d.readIgnored(this._input)),b=b.replace(a.allLineBreaks,`
|
|
`),O=this._create_token(u.BLOCK_COMMENT,b),O.directives=t}else this._input.peek(1)==="/"&&(b=this.__patterns.comment.read(),O=this._create_token(u.COMMENT,b))}return O},_.prototype._read_string=function(l){if(l==="`"||l==="'"||l==='"'){var O=this._input.next();return this.has_char_escapes=!1,l==="`"?O+=this._read_string_recursive("`",!0,"${"):O+=this._read_string_recursive(l),this.has_char_escapes&&this._options.unescape_strings&&(O=y(O)),this._input.peek()===l&&(O+=this._input.next()),O=O.replace(a.allLineBreaks,`
|
|
`),this._create_token(u.STRING,O)}return null},_.prototype._allow_regexp_or_xml=function(l){return l.type===u.RESERVED&&h(l.text,["return","case","throw","else","do","typeof","yield"])||l.type===u.END_EXPR&&l.text===")"&&l.opened.previous.type===u.RESERVED&&h(l.opened.previous.text,["if","while","for"])||h(l.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])},_.prototype._read_regexp=function(l,O){if(l==="/"&&this._allow_regexp_or_xml(O)){for(var b=this._input.next(),t=!1,r=!1;this._input.hasNext()&&(t||r||this._input.peek()!==l)&&!this._input.testChar(a.newline);)b+=this._input.peek(),t?t=!1:(t=this._input.peek()==="\\",this._input.peek()==="["?r=!0:this._input.peek()==="]"&&(r=!1)),this._input.next();return this._input.peek()===l&&(b+=this._input.next(),b+=this._input.read(a.identifier)),this._create_token(u.STRING,b)}return null},_.prototype._read_xml=function(l,O){if(this._options.e4x&&l==="<"&&this._allow_regexp_or_xml(O)){var b="",t=this.__patterns.xml.read_match();if(t){for(var r=t[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),m=r.indexOf("{")===0,T=0;t;){var X=!!t[1],ee=t[2],ce=!!t[t.length-1]||ee.slice(0,8)==="![CDATA[";if(!ce&&(ee===r||m&&ee.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(X?--T:++T),b+=t[0],T<=0)break;t=this.__patterns.xml.read_match()}return t||(b+=this._input.match(/[\s\S]*/g)[0]),b=b.replace(a.allLineBreaks,`
|
|
`),this._create_token(u.STRING,b)}}return null};function y(l){for(var O="",b=0,t=new c(l),r=null;t.hasNext();)if(r=t.match(/([\s]|[^\\]|\\\\)+/g),r&&(O+=r[0]),t.peek()==="\\"){if(t.next(),t.peek()==="x")r=t.match(/x([0-9A-Fa-f]{2})/g);else if(t.peek()==="u")r=t.match(/u([0-9A-Fa-f]{4})/g),r||(r=t.match(/u\{([0-9A-Fa-f]+)\}/g));else{O+="\\",t.hasNext()&&(O+=t.next());continue}if(!r||(b=parseInt(r[1],16),b>126&&b<=255&&r[0].indexOf("x")===0))return l;b>=0&&b<32||b>1114111?O+="\\"+r[0]:b===34||b===39||b===92?O+="\\"+String.fromCharCode(b):O+=String.fromCharCode(b)}return O}_.prototype._read_string_recursive=function(l,O,b){var t,r;l==="'"?r=this.__patterns.single_quote:l==='"'?r=this.__patterns.double_quote:l==="`"?r=this.__patterns.template_text:l==="}"&&(r=this.__patterns.template_expression);for(var m=r.read(),T="";this._input.hasNext();){if(T=this._input.next(),T===l||!O&&a.newline.test(T)){this._input.back();break}else T==="\\"&&this._input.hasNext()?(t=this._input.peek(),t==="x"||t==="u"?this.has_char_escapes=!0:t==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),T+=this._input.next()):b&&(b==="${"&&T==="$"&&this._input.peek()==="{"&&(T+=this._input.next()),b===T&&(l==="`"?T+=this._read_string_recursive("}",O,"`"):T+=this._read_string_recursive("`",O,"${"),this._input.hasNext()&&(T+=this._input.next())));T+=r.read(),m+=T}return m},D.exports.Tokenizer=_,D.exports.TOKEN=u,D.exports.positionable_operators=P.slice(),D.exports.line_starters=J.slice()},function(D){var e=RegExp.prototype.hasOwnProperty("sticky");function E(c){this.__input=c||"",this.__input_length=this.__input.length,this.__position=0}E.prototype.restart=function(){this.__position=0},E.prototype.back=function(){this.__position>0&&(this.__position-=1)},E.prototype.hasNext=function(){return this.__position<this.__input_length},E.prototype.next=function(){var c=null;return this.hasNext()&&(c=this.__input.charAt(this.__position),this.__position+=1),c},E.prototype.peek=function(c){var i=null;return c=c||0,c+=this.__position,c>=0&&c<this.__input_length&&(i=this.__input.charAt(c)),i},E.prototype.__match=function(c,i){c.lastIndex=i;var n=c.exec(this.__input);return n&&!(e&&c.sticky)&&n.index!==i&&(n=null),n},E.prototype.test=function(c,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(c,i):!1},E.prototype.testChar=function(c,i){var n=this.peek(i);return c.lastIndex=0,n!==null&&c.test(n)},E.prototype.match=function(c){var i=this.__match(c,this.__position);return i?this.__position+=i[0].length:i=null,i},E.prototype.read=function(c,i,n){var s="",a;return c&&(a=this.match(c),a&&(s+=a[0])),i&&(a||!c)&&(s+=this.readUntil(i,n)),s},E.prototype.readUntil=function(c,i){var n="",s=this.__position;c.lastIndex=this.__position;var a=c.exec(this.__input);return a?(s=a.index,i&&(s+=a[0].length)):s=this.__input_length,n=this.__input.substring(this.__position,s),this.__position=s,n},E.prototype.readUntilAfter=function(c){return this.readUntil(c,!0)},E.prototype.get_regexp=function(c,i){var n=null,s="g";return i&&e&&(s="y"),typeof c=="string"&&c!==""?n=new RegExp(c,s):c&&(n=new RegExp(c.source,s)),n},E.prototype.get_literal_regexp=function(c){return RegExp(c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},E.prototype.peekUntilAfter=function(c){var i=this.__position,n=this.readUntilAfter(c);return this.__position=i,n},E.prototype.lookBack=function(c){var i=this.__position-1;return i>=c.length&&this.__input.substring(i-c.length,i).toLowerCase()===c},D.exports.InputScanner=E},function(D,e,E){var c=E(8).InputScanner,i=E(3).Token,n=E(10).TokenStream,s=E(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},g=function(v,h){this._input=new c(v),this._options=h||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new n,this._reset();for(var v,h=new i(a.START,""),u=null,d=[],I=new n;h.type!==a.EOF;){for(v=this._get_next_token(h,u);this._is_comment(v);)I.add(v),v=this._get_next_token(h,u);I.isEmpty()||(v.comments_before=I,I=new n),v.parent=u,this._is_opening(v)?(d.push(u),u=v):u&&this._is_closing(v,u)&&(v.opened=u,u.closed=v,u=d.pop(),v.parent=u),v.previous=h,h.next=v,this.__tokens.add(v),h=v}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(v,h){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(a.RAW,u):this._create_token(a.EOF,"")},g.prototype._is_comment=function(v){return!1},g.prototype._is_opening=function(v){return!1},g.prototype._is_closing=function(v,h){return!1},g.prototype._create_token=function(v,h){var u=new i(v,h,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},D.exports.Tokenizer=g,D.exports.TOKEN=a},function(D){function e(E){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=E}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var E=null;return this.hasNext()&&(E=this.__tokens[this.__position],this.__position+=1),E},e.prototype.peek=function(E){var c=null;return E=E||0,E+=this.__position,E>=0&&E<this.__tokens_length&&(c=this.__tokens[E]),c},e.prototype.add=function(E){this.__parent_token&&(E.parent=this.__parent_token),this.__tokens.push(E),this.__tokens_length+=1},D.exports.TokenStream=e},function(D,e,E){var c=E(12).Pattern;function i(n,s){c.call(this,n,s),s?this._line_regexp=this._input.get_regexp(s._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}i.prototype=new c,i.prototype.__set_whitespace_patterns=function(n,s){n+="\\t ",s+="\\n\\r",this._match_pattern=this._input.get_regexp("["+n+s+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+s+"]")},i.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var n=this._input.read(this._match_pattern);if(n===" ")this.whitespace_before_token=" ";else if(n){var s=this.__split(this._newline_regexp,n);this.newline_count=s.length-1,this.whitespace_before_token=s[this.newline_count]}return n},i.prototype.matching=function(n,s){var a=this._create();return a.__set_whitespace_patterns(n,s),a._update(),a},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(n,s){n.lastIndex=0;for(var a=0,g=[],v=n.exec(s);v;)g.push(s.substring(a,v.index)),a=v.index+v[0].length,v=n.exec(s);return a<s.length?g.push(s.substring(a,s.length)):g.push(""),g},D.exports.WhitespacePattern=i},function(D){function e(E,c){this._input=E,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,c&&(this._starting_pattern=this._input.get_regexp(c._starting_pattern,!0),this._match_pattern=this._input.get_regexp(c._match_pattern,!0),this._until_pattern=this._input.get_regexp(c._until_pattern),this._until_after=c._until_after)}e.prototype.read=function(){var E=this._input.read(this._starting_pattern);return(!this._starting_pattern||E)&&(E+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),E},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(E){var c=this._create();return c._until_after=!0,c._until_pattern=this._input.get_regexp(E),c._update(),c},e.prototype.until=function(E){var c=this._create();return c._until_after=!1,c._until_pattern=this._input.get_regexp(E),c._update(),c},e.prototype.starting_with=function(E){var c=this._create();return c._starting_pattern=this._input.get_regexp(E,!0),c._update(),c},e.prototype.matching=function(E){var c=this._create();return c._match_pattern=this._input.get_regexp(E,!0),c._update(),c},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},D.exports.Pattern=e},function(D){function e(E,c){E=typeof E=="string"?E:E.source,c=typeof c=="string"?c:c.source,this.__directives_block_pattern=new RegExp(E+/ beautify( \w+[:]\w+)+ /.source+c,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(E+/\sbeautify\signore:end\s/.source+c,"g")}e.prototype.get_directives=function(E){if(!E.match(this.__directives_block_pattern))return null;var c={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(E);i;)c[i[1]]=i[2],i=this.__directive_pattern.exec(E);return c},e.prototype.readIgnored=function(E){return E.readUntilAfter(this.__directives_end_ignore_pattern)},D.exports.Directives=e},function(D,e,E){var c=E(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function n(s,a){c.call(this,s,a),this.__template_pattern=null,this._disabled=Object.assign({},i),this._excluded=Object.assign({},i),a&&(this.__template_pattern=this._input.get_regexp(a.__template_pattern),this._excluded=Object.assign(this._excluded,a._excluded),this._disabled=Object.assign(this._disabled,a._disabled));var g=new c(s);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}n.prototype=new c,n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){this.__set_templated_pattern()},n.prototype.disable=function(s){var a=this._create();return a._disabled[s]=!0,a._update(),a},n.prototype.read_options=function(s){var a=this._create();for(var g in i)a._disabled[g]=s.templating.indexOf(g)===-1;return a._update(),a},n.prototype.exclude=function(s){var a=this._create();return a._excluded[s]=!0,a._update(),a},n.prototype.read=function(){var s="";this._match_pattern?s=this._input.read(this._starting_pattern):s=this._input.read(this._starting_pattern,this.__template_pattern);for(var a=this._read_template();a;)this._match_pattern?a+=this._input.read(this._match_pattern):a+=this._input.readUntil(this.__template_pattern),s+=a,a=this._read_template();return this._until_after&&(s+=this._input.readUntilAfter(this._until_pattern)),s},n.prototype.__set_templated_pattern=function(){var s=[];this._disabled.php||s.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||s.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||s.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||s.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(s.push(this.__patterns.django._starting_pattern.source),s.push(this.__patterns.django_value._starting_pattern.source),s.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||s.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&s.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+s.join("|")+")")},n.prototype._read_template=function(){var s="",a=this._input.peek();if(a==="<"){var g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(s=s||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(s=s||this.__patterns.erb.read())}else a==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(s=s||this.__patterns.handlebars_comment.read(),s=s||this.__patterns.handlebars_unescaped.read(),s=s||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(s=s||this.__patterns.django_value.read()),this._excluded.django||(s=s||this.__patterns.django_comment.read(),s=s||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(s=s||this.__patterns.smarty_comment.read(),s=s||this.__patterns.smarty_literal.read(),s=s||this.__patterns.smarty.read()));return s},D.exports.TemplatablePattern=n}],A={};function U(D){var e=A[D];if(e!==void 0)return e.exports;var E=A[D]={exports:{}};return z[D](E,E.exports,U),E.exports}var K=U(0);R=K})();var W=R;f=[],x=function(){return{js_beautify:W}}.apply(ie,f),x!==void 0&&(Oe.exports=x)})()},75918:function(Oe,ie,f){"use strict";f.d(ie,{Wi:function(){return U},Z0:function(){return K},aU:function(){return A},eZ:function(){return e},wY:function(){return D}});var x=f(4348),R=f(69323),W=f(13268),z=function(E,c,i,n){function s(a){return a instanceof i?a:new i(function(g){g(a)})}return new(i||(i=Promise))(function(a,g){function v(d){try{u(n.next(d))}catch(I){g(I)}}function h(d){try{u(n.throw(d))}catch(I){g(I)}}function u(d){d.done?a(d.value):s(d.value).then(v,h)}u((n=n.apply(E,c||[])).next())})};class A extends R.JT{constructor(c,i="",n="",s=!0,a){super(),this._onDidChange=this._register(new x.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=c,this._label=i,this._cssClass=n,this._enabled=s,this._actionCallback=a}get id(){return this._id}get label(){return this._label}set label(c){this._setLabel(c)}_setLabel(c){this._label!==c&&(this._label=c,this._onDidChange.fire({label:c}))}get tooltip(){return this._tooltip||""}set tooltip(c){this._setTooltip(c)}_setTooltip(c){this._tooltip!==c&&(this._tooltip=c,this._onDidChange.fire({tooltip:c}))}get class(){return this._cssClass}set class(c){this._setClass(c)}_setClass(c){this._cssClass!==c&&(this._cssClass=c,this._onDidChange.fire({class:c}))}get enabled(){return this._enabled}set enabled(c){this._setEnabled(c)}_setEnabled(c){this._enabled!==c&&(this._enabled=c,this._onDidChange.fire({enabled:c}))}get checked(){return this._checked}set checked(c){this._setChecked(c)}_setChecked(c){this._checked!==c&&(this._checked=c,this._onDidChange.fire({checked:c}))}run(c,i){return z(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(c))})}}class U extends R.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new x.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new x.Q5),this.onDidRun=this._onDidRun.event}run(c,i){return z(this,void 0,void 0,function*(){if(!c.enabled)return;this._onBeforeRun.fire({action:c});let n;try{yield this.runAction(c,i)}catch(s){n=s}this._onDidRun.fire({action:c,error:n})})}runAction(c,i){return z(this,void 0,void 0,function*(){yield c.run(i)})}}class K extends A{constructor(c){super(K.ID,c,c?"separator text":"separator"),this.checked=!1,this.enabled=!1}}K.ID="vs.actions.separator";class D{constructor(c,i,n,s){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=c,this.label=i,this.class=s,this._actions=n}get actions(){return this._actions}dispose(){}run(){return z(this,void 0,void 0,function*(){})}}class e extends A{constructor(){super(e.ID,W.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Oe,ie,f){"use strict";f.d(ie,{ok:function(){return x}});function x(R,W){if(!R)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(Oe,ie,f){"use strict";f.d(ie,{CM:function(){return A},JL:function(){return U},dT:function(){return D},fK:function(){return z},lA:function(){return K}});var x=f(4348);class R{constructor(){this._icons=new Map,this._onDidRegister=new x.Q5}add(E){const c=this._icons.get(E.id);c?E.description?c.description=E.description:console.error(`Duplicate registration of codicon ${E.id}`):(this._icons.set(E.id,E),this._onDidRegister.fire(E))}get(E){return this._icons.get(E)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const W=new R,z=W;function A(e,E){return new K(e,E)}function U(e){return e?e.replace(/\$\((.*?)\)/g,(E,c)=>` ${c} `).trim():""}class K{constructor(E,c,i){this.id=E,this.definition=c,this.description=i,W.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var D;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const E=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function c(s){if(s instanceof K)return["codicon","codicon-"+s.id];const a=E.exec(s.id);if(!a)return c(K.error);let[,g,v]=a;const h=["codicon","codicon-"+g];return v&&h.push("codicon-modifier-"+v.substr(1)),h}e.asClassNameArray=c;function i(s){return c(s).join(" ")}e.asClassName=i;function n(s){return"."+c(s).join(".")}e.asCSSSelector=n})(D||(D={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(K||(K={}))},79881:function(Oe,ie,f){"use strict";f.d(ie,{B8:function(){return c},Cp:function(){return z},F0:function(){return D},L6:function(){return E},VV:function(){return K},b1:function(){return e},dL:function(){return W},ri:function(){return A}});class x{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(n){setTimeout(()=>{throw n.stack?new Error(n.message+`
|
|
|
|
`+n.stack):n},0)}}emit(n){this.listeners.forEach(s=>{s(n)})}onUnexpectedError(n){this.unexpectedErrorHandler(n),this.emit(n)}onUnexpectedExternalError(n){this.unexpectedErrorHandler(n)}}const R=new x;function W(i){K(i)||R.onUnexpectedError(i)}function z(i){K(i)||R.onUnexpectedExternalError(i)}function A(i){if(i instanceof Error){let{name:n,message:s}=i;const a=i.stacktrace||i.stack;return{$isError:!0,name:n,message:s,stack:a}}return i}const U="Canceled";function K(i){return i instanceof Error&&i.name===U&&i.message===U}function D(){const i=new Error(U);return i.name=i.message,i}function e(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}function E(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}class c extends Error{constructor(n){super("NotSupported"),n&&(this.message=n)}}},4348:function(Oe,ie,f){"use strict";f.d(ie,{D0:function(){return c},E7:function(){return i},K3:function(){return E},Q5:function(){return e},ZD:function(){return n},ju:function(){return A}});var x=f(79881),R=f(69323),W=f(34502),z=f(95830),A;(function(s){s.None=()=>R.JT.None;function a(y){return(l,O=null,b)=>{let t=!1,r;return r=y(m=>{if(!t)return r?r.dispose():t=!0,l.call(O,m)},null,b),t&&r.dispose(),r}}s.once=a;function g(y,l){return C((O,b=null,t)=>y(r=>O.call(b,l(r)),null,t))}s.map=g;function v(y,l){return C((O,b=null,t)=>y(r=>{l(r),O.call(b,r)},null,t))}s.forEach=v;function h(y,l){return C((O,b=null,t)=>y(r=>l(r)&&O.call(b,r),null,t))}s.filter=h;function u(y){return y}s.signal=u;function d(...y){return(l,O=null,b)=>(0,R.F8)(...y.map(t=>t(r=>l.call(O,r),null,b)))}s.any=d;function I(y,l,O){let b=O;return g(y,t=>(b=l(b,t),b))}s.reduce=I;function C(y){let l;const O=new e({onFirstListenerAdd(){l=y(O.fire,O)},onLastListenerRemove(){l.dispose()}});return O.event}function M(y,l,O=100,b=!1,t){let r,m,T,X=0;const ee=new e({leakWarningThreshold:t,onFirstListenerAdd(){r=y(ce=>{X++,m=l(m,ce),b&&!T&&(ee.fire(m),m=void 0),clearTimeout(T),T=setTimeout(()=>{const fe=m;m=void 0,T=void 0,(!b||X>1)&&ee.fire(fe),X=0},O)})},onLastListenerRemove(){r.dispose()}});return ee.event}s.debounce=M;function P(y,l=(O,b)=>O===b){let O=!0,b;return h(y,t=>{const r=O||!l(t,b);return O=!1,b=t,r})}s.latch=P;function L(y,l){return[s.filter(y,l),s.filter(y,O=>!l(O))]}s.split=L;function G(y,l=!1,O=[]){let b=O.slice(),t=y(T=>{b?b.push(T):m.fire(T)});const r=()=>{b&&b.forEach(T=>m.fire(T)),b=null},m=new e({onFirstListenerAdd(){t||(t=y(T=>m.fire(T)))},onFirstListenerDidAdd(){b&&(l?setTimeout(r):r())},onLastListenerRemove(){t&&t.dispose(),t=null}});return m.event}s.buffer=G;class J{constructor(l){this.event=l}map(l){return new J(g(this.event,l))}forEach(l){return new J(v(this.event,l))}filter(l){return new J(h(this.event,l))}reduce(l,O){return new J(I(this.event,l,O))}latch(){return new J(P(this.event))}debounce(l,O=100,b=!1,t){return new J(M(this.event,l,O,b,t))}on(l,O,b){return this.event(l,O,b)}once(l,O,b){return a(this.event)(l,O,b)}}function Q(y){return new J(y)}s.chain=Q;function re(y,l,O=b=>b){const b=(...T)=>m.fire(O(...T)),t=()=>y.on(l,b),r=()=>y.removeListener(l,b),m=new e({onFirstListenerAdd:t,onLastListenerRemove:r});return m.event}s.fromNodeEventEmitter=re;function w(y,l,O=b=>b){const b=(...T)=>m.fire(O(...T)),t=()=>y.addEventListener(l,b),r=()=>y.removeEventListener(l,b),m=new e({onFirstListenerAdd:t,onLastListenerRemove:r});return m.event}s.fromDOMEventEmitter=w;function _(y){return new Promise(l=>a(y)(l))}s.toPromise=_})(A||(A={}));class U{constructor(a){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${a}_${U._idPool++}`}start(a){this._stopWatch=new z.G(!0),this._listenerCount=a}stop(){if(this._stopWatch){const a=this._stopWatch.elapsed();this._elapsedOverall+=a,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${a.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}U._idPool=0;let K=-1;class D{constructor(a,g=Math.random().toString(18).slice(2,5)){this.customThreshold=a,this.name=g,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(a){let g=K;if(typeof this.customThreshold=="number"&&(g=this.customThreshold),g<=0||a<g)return;this._stacks||(this._stacks=new Map);const v=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),h=this._stacks.get(v)||0;if(this._stacks.set(v,h+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=g*.5;let u,d=0;for(const[I,C]of this._stacks)(!u||d<C)&&(u=I,d=C);console.warn(`[${this.name}] potential listener LEAK detected, having ${a} listeners already. MOST frequent listener (${d}):`),console.warn(u)}return()=>{const u=this._stacks.get(v)||0;this._stacks.set(v,u-1)}}}class e{constructor(a){var g;this._disposed=!1,this._options=a,this._leakageMon=K>0?new D(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((g=this._options)===null||g===void 0)&&g._profName?new U(this._options._profName):void 0}get event(){return this._event||(this._event=(a,g,v)=>{var h;this._listeners||(this._listeners=new W.S);const u=this._listeners.isEmpty();u&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const d=this._listeners.push(g?[a,g]:a);u&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,a,g);const I=(h=this._leakageMon)===null||h===void 0?void 0:h.check(this._listeners.size),C=(0,R.OF)(()=>{I&&I(),this._disposed||(d(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return v instanceof R.SL?v.add(C):Array.isArray(v)&&v.push(C),C}),this._event}fire(a){var g,v;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new W.S);for(let h of this._listeners)this._deliveryQueue.push([h,a]);for((g=this._perfMon)===null||g===void 0||g.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[h,u]=this._deliveryQueue.shift();try{typeof h=="function"?h.call(void 0,u):h[0].call(h[1],u)}catch(d){(0,x.dL)(d)}}(v=this._perfMon)===null||v===void 0||v.stop()}}dispose(){var a,g,v,h,u;this._disposed||(this._disposed=!0,(a=this._listeners)===null||a===void 0||a.clear(),(g=this._deliveryQueue)===null||g===void 0||g.clear(),(h=(v=this._options)===null||v===void 0?void 0:v.onLastListenerRemove)===null||h===void 0||h.call(v),(u=this._leakageMon)===null||u===void 0||u.dispose())}}class E extends e{constructor(a){super(a),this._isPaused=0,this._eventQueue=new W.S,this._mergeFn=a==null?void 0:a.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const a=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(a))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(a){this._listeners&&(this._isPaused!==0?this._eventQueue.push(a):super.fire(a))}}class c extends E{constructor(a){var g;super(a),this._delay=(g=a.delay)!==null&&g!==void 0?g:100}fire(a){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(a)}}class i{constructor(){this.buffers=[]}wrapEvent(a){return(g,v,h)=>a(u=>{const d=this.buffers[this.buffers.length-1];d?d.push(()=>g.call(v,u)):g.call(v,u)},void 0,h)}bufferEvents(a){const g=[];this.buffers.push(g);const v=a();return this.buffers.pop(),g.forEach(h=>h()),v}}class n{constructor(){this.listening=!1,this.inputEvent=A.None,this.inputEventListener=R.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(a){this.inputEvent=a,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=a(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(Oe,ie,f){"use strict";f.d(ie,{I:function(){return x}});function x(R){const W=this;let z=!1,A;return function(){return z||(z=!0,A=R.apply(W,arguments)),A}}},88226:function(Oe,ie,f){"use strict";f.d(ie,{$:function(){return x}});var x;(function(R){function W(d){return d&&typeof d=="object"&&typeof d[Symbol.iterator]=="function"}R.is=W;const z=Object.freeze([]);function A(){return z}R.empty=A;function*U(d){yield d}R.single=U;function K(d){return d||z}R.from=K;function D(d){return!d||d[Symbol.iterator]().next().done===!0}R.isEmpty=D;function e(d){return d[Symbol.iterator]().next().value}R.first=e;function E(d,I){for(const C of d)if(I(C))return!0;return!1}R.some=E;function c(d,I){for(const C of d)if(I(C))return C}R.find=c;function*i(d,I){for(const C of d)I(C)&&(yield C)}R.filter=i;function*n(d,I){let C=0;for(const M of d)yield I(M,C++)}R.map=n;function*s(...d){for(const I of d)for(const C of I)yield C}R.concat=s;function*a(d){for(const I of d)for(const C of I)yield C}R.concatNested=a;function g(d,I,C){let M=C;for(const P of d)M=I(M,P);return M}R.reduce=g;function*v(d,I,C=d.length){for(I<0&&(I+=d.length),C<0?C+=d.length:C>d.length&&(C=d.length);I<C;I++)yield d[I]}R.slice=v;function h(d,I=Number.POSITIVE_INFINITY){const C=[];if(I===0)return[C,d];const M=d[Symbol.iterator]();for(let P=0;P<I;P++){const L=M.next();if(L.done)return[C,R.empty()];C.push(L.value)}return[C,{[Symbol.iterator](){return M}}]}R.consume=h;function u(d,I,C=(M,P)=>M===P){const M=d[Symbol.iterator](),P=I[Symbol.iterator]();for(;;){const L=M.next(),G=P.next();if(L.done!==G.done)return!1;if(L.done)return!0;if(!C(L.value,G.value))return!1}}R.equals=u})(x||(x={}))},69323:function(Oe,ie,f){"use strict";f.d(ie,{B9:function(){return n},F8:function(){return s},JT:function(){return v},Jz:function(){return u},OF:function(){return a},SL:function(){return g},Wf:function(){return i},XK:function(){return h},dk:function(){return E}});var x=f(17845),R=f(88226);const W=!1;let z=null;function A(d){z=d}if(W){const d="__is_disposable_tracked__";A(new class{trackDisposable(I){const C=new Error("Potentially leaked disposable").stack;setTimeout(()=>{I[d]||console.log(C)},3e3)}setParent(I,C){if(I&&I!==v.None)try{I[d]=!0}catch(M){}}markAsDisposed(I){if(I&&I!==v.None)try{I[d]=!0}catch(C){}}markAsSingleton(I){}})}function U(d){return z==null||z.trackDisposable(d),d}function K(d){z==null||z.markAsDisposed(d)}function D(d,I){z==null||z.setParent(d,I)}function e(d,I){if(z)for(const C of d)z.setParent(C,I)}function E(d){return z==null||z.markAsSingleton(d),d}class c extends Error{constructor(I){super(`Encountered errors while disposing of store. Errors: [${I.join(", ")}]`),this.errors=I}}function i(d){return typeof d.dispose=="function"&&d.dispose.length===0}function n(d){if(R.$.is(d)){let I=[];for(const C of d)if(C)try{C.dispose()}catch(M){I.push(M)}if(I.length===1)throw I[0];if(I.length>1)throw new c(I);return Array.isArray(d)?[]:d}else if(d)return d.dispose(),d}function s(...d){const I=a(()=>n(d));return e(d,I),I}function a(d){const I=U({dispose:(0,x.I)(()=>{K(I),d()})});return I}class g{constructor(){this._toDispose=new Set,this._isDisposed=!1,U(this)}dispose(){this._isDisposed||(K(this),this._isDisposed=!0,this.clear())}clear(){try{n(this._toDispose.values())}finally{this._toDispose.clear()}}add(I){if(!I)return I;if(I===this)throw new Error("Cannot register a disposable on itself!");return D(I,this),this._isDisposed?g.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(I),I}}g.DISABLE_DISPOSED_WARNING=!1;class v{constructor(){this._store=new g,U(this),D(this._store,this)}dispose(){K(this),this._store.dispose()}_register(I){if(I===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(I)}}v.None=Object.freeze({dispose(){}});class h{constructor(){this._isDisposed=!1,U(this)}get value(){return this._isDisposed?void 0:this._value}set value(I){var C;this._isDisposed||I===this._value||((C=this._value)===null||C===void 0||C.dispose(),I&&D(I,this),this._value=I)}clear(){this.value=void 0}dispose(){var I;this._isDisposed=!0,K(this),(I=this._value)===null||I===void 0||I.dispose(),this._value=void 0}clearAndLeak(){const I=this._value;return this._value=void 0,I&&D(I,null),I}}class u{constructor(I){this.object=I}dispose(){}}},34502:function(Oe,ie,f){"use strict";f.d(ie,{S:function(){return R}});class x{constructor(z){this.element=z,this.next=x.Undefined,this.prev=x.Undefined}}x.Undefined=new x(void 0);class R{constructor(){this._first=x.Undefined,this._last=x.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===x.Undefined}clear(){let z=this._first;for(;z!==x.Undefined;){const A=z.next;z.prev=x.Undefined,z.next=x.Undefined,z=A}this._first=x.Undefined,this._last=x.Undefined,this._size=0}unshift(z){return this._insert(z,!1)}push(z){return this._insert(z,!0)}_insert(z,A){const U=new x(z);if(this._first===x.Undefined)this._first=U,this._last=U;else if(A){const D=this._last;this._last=U,U.prev=D,D.next=U}else{const D=this._first;this._first=U,U.next=D,D.prev=U}this._size+=1;let K=!1;return()=>{K||(K=!0,this._remove(U))}}shift(){if(this._first!==x.Undefined){const z=this._first.element;return this._remove(this._first),z}}pop(){if(this._last!==x.Undefined){const z=this._last.element;return this._remove(this._last),z}}_remove(z){if(z.prev!==x.Undefined&&z.next!==x.Undefined){const A=z.prev;A.next=z.next,z.next.prev=A}else z.prev===x.Undefined&&z.next===x.Undefined?(this._first=x.Undefined,this._last=x.Undefined):z.next===x.Undefined?(this._last=this._last.prev,this._last.next=x.Undefined):z.prev===x.Undefined&&(this._first=this._first.next,this._first.prev=x.Undefined);this._size-=1}*[Symbol.iterator](){let z=this._first;for(;z!==x.Undefined;)yield z.element,z=z.next}}},23345:function(Oe,ie,f){"use strict";f.d(ie,{$L:function(){return M},ED:function(){return u},IJ:function(){return I},OS:function(){return J},WE:function(){return L},dz:function(){return d},gn:function(){return P},li:function(){return a},r:function(){return w},tY:function(){return C},xS:function(){return G}});var x=f(97671),R;const W="en";let z=!1,A=!1,U=!1,K=!1,D=!1,e=!1,E=!1,c,i=null,n=null,s;const a=typeof self=="object"?self:typeof f.g=="object"?f.g:{};let g;typeof a.vscode!="undefined"&&typeof a.vscode.process!="undefined"?g=a.vscode.process:typeof x!="undefined"&&(g=x);const v=typeof((R=g==null?void 0:g.versions)===null||R===void 0?void 0:R.electron)=="string"&&g.type==="renderer";if(typeof navigator=="object"&&!v)s=navigator.userAgent,z=s.indexOf("Windows")>=0,A=s.indexOf("Macintosh")>=0,E=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,U=s.indexOf("Linux")>=0,e=!0,c=navigator.language,i=c;else if(typeof g=="object"){z=g.platform==="win32",A=g.platform==="darwin",U=g.platform==="linux",K=U&&!!g.env.SNAP&&!!g.env.SNAP_REVISION,c=W,i=W;const _=g.env.VSCODE_NLS_CONFIG;if(_)try{const y=JSON.parse(_),l=y.availableLanguages["*"];c=y.locale,i=l||W,n=y._translationsConfigFile}catch(y){}D=!0}else console.error("Unable to resolve platform.");let h=0;A?h=1:z?h=3:U&&(h=2);const u=z,d=A,I=U,C=D,M=e,P=E,L=s,G=function(){if(a.setImmediate)return a.setImmediate.bind(a);if(typeof a.postMessage=="function"&&!a.importScripts){let l=[];a.addEventListener("message",b=>{if(b.data&&b.data.vscodeSetImmediateId)for(let t=0,r=l.length;t<r;t++){const m=l[t];if(m.id===b.data.vscodeSetImmediateId){l.splice(t,1),m.callback();return}}});let O=0;return b=>{const t=++O;l.push({id:t,callback:b}),a.postMessage({vscodeSetImmediateId:t},"*")}}if(typeof(g==null?void 0:g.nextTick)=="function")return g.nextTick.bind(g);const y=Promise.resolve();return l=>y.then(l)}(),J=A||E?2:z?1:3;let Q=!0,re=!1;function w(){if(!re){re=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,Q=new Uint16Array(_.buffer)[0]===513}return Q}},95830:function(Oe,ie,f){"use strict";f.d(ie,{G:function(){return W}});var x=f(23345);const R=x.li.performance&&typeof x.li.performance.now=="function";class W{constructor(A){this._highResolution=R&&A,this._startTime=this._now(),this._stopTime=-1}static create(A=!0){return new W(A)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?x.li.performance.now():Date.now()}}},82983:function(Oe,ie,f){"use strict";f.d(ie,{$i:function(){return X},C8:function(){return Re},GF:function(){return c},HO:function(){return O},IO:function(){return i},K7:function(){return be},Kw:function(){return Te},LC:function(){return a},Mh:function(){return G},P1:function(){return J},PJ:function(){return Fe},Qe:function(){return ee},R1:function(){return E},RP:function(){return m},S6:function(){return Le},TT:function(){return u},Ut:function(){return t},V8:function(){return g},WU:function(){return W},YK:function(){return re},YU:function(){return z},ZG:function(){return Q},ZH:function(){return _},ab:function(){return ce},c1:function(){return Me},df:function(){return M},ec:function(){return A},fi:function(){return Ze},fy:function(){return U},j3:function(){return K},j_:function(){return I},m5:function(){return x},mK:function(){return C},mr:function(){return n},oH:function(){return B},oL:function(){return D},ok:function(){return L},ow:function(){return v},qq:function(){return P},qu:function(){return h},rL:function(){return w},uS:function(){return Pe},un:function(){return e},uq:function(){return s},vH:function(){return l},xe:function(){return fe},zY:function(){return d}});function x(o){return!o||typeof o!="string"?!0:o.trim().length===0}const R=/{(\d+)}/g;function W(o,...S){return S.length===0?o:o.replace(R,function($,Z){const F=parseInt(Z,10);return isNaN(F)||F<0||F>=S.length?$:S[F]})}function z(o){return o.replace(/[<>&]/g,function(S){switch(S){case"<":return"<";case">":return">";case"&":return"&";default:return S}})}function A(o){return o.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function U(o,S=" "){const $=K(o,S);return D($,S)}function K(o,S){if(!o||!S)return o;const $=S.length;if($===0||o.length===0)return o;let Z=0;for(;o.indexOf(S,Z)===Z;)Z=Z+$;return o.substring(Z)}function D(o,S){if(!o||!S)return o;const $=S.length,Z=o.length;if($===0||Z===0)return o;let F=Z,V=-1;for(;V=o.lastIndexOf(S,F-1),!(V===-1||V+$!==F);){if(V===0)return"";F=V}return o.substring(0,F)}function e(o){return o.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function E(o){return o.replace(/\*/g,"")}function c(o,S,$={}){if(!o)throw new Error("Cannot create regex from empty string");S||(o=A(o)),$.wholeWord&&(/\B/.test(o.charAt(0))||(o="\\b"+o),/\B/.test(o.charAt(o.length-1))||(o=o+"\\b"));let Z="";return $.global&&(Z+="g"),$.matchCase||(Z+="i"),$.multiline&&(Z+="m"),$.unicode&&(Z+="u"),new RegExp(o,Z)}function i(o){return o.source==="^"||o.source==="^$"||o.source==="$"||o.source==="^\\s*$"?!1:!!(o.exec("")&&o.lastIndex===0)}function n(o){return(o.global?"g":"")+(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")}function s(o){return o.split(/\r\n|\r|\n/)}function a(o){for(let S=0,$=o.length;S<$;S++){const Z=o.charCodeAt(S);if(Z!==32&&Z!==9)return S}return-1}function g(o,S=0,$=o.length){for(let Z=S;Z<$;Z++){const F=o.charCodeAt(Z);if(F!==32&&F!==9)return o.substring(S,Z)}return o.substring(S,$)}function v(o,S=o.length-1){for(let $=S;$>=0;$--){const Z=o.charCodeAt($);if(Z!==32&&Z!==9)return $}return-1}function h(o,S){return o<S?-1:o>S?1:0}function u(o,S,$=0,Z=o.length,F=0,V=S.length){for(;$<Z&&F<V;$++,F++){let ae=o.charCodeAt($),oe=S.charCodeAt(F);if(ae<oe)return-1;if(ae>oe)return 1}const te=Z-$,le=V-F;return te<le?-1:te>le?1:0}function d(o,S){return I(o,S,0,o.length,0,S.length)}function I(o,S,$=0,Z=o.length,F=0,V=S.length){for(;$<Z&&F<V;$++,F++){let ae=o.charCodeAt($),oe=S.charCodeAt(F);if(ae===oe)continue;if(ae>=128||oe>=128)return u(o.toLowerCase(),S.toLowerCase(),$,Z,F,V);C(ae)&&(ae-=32),C(oe)&&(oe-=32);const Ee=ae-oe;if(Ee!==0)return Ee}const te=Z-$,le=V-F;return te<le?-1:te>le?1:0}function C(o){return o>=97&&o<=122}function M(o){return o>=65&&o<=90}function P(o,S){return o.length===S.length&&I(o,S)===0}function L(o,S){const $=S.length;return S.length>o.length?!1:I(o,S,0,$)===0}function G(o,S){let $,Z=Math.min(o.length,S.length);for($=0;$<Z;$++)if(o.charCodeAt($)!==S.charCodeAt($))return $;return Z}function J(o,S){let $,Z=Math.min(o.length,S.length);const F=o.length-1,V=S.length-1;for($=0;$<Z;$++)if(o.charCodeAt(F-$)!==S.charCodeAt(V-$))return $;return Z}function Q(o){return 55296<=o&&o<=56319}function re(o){return 56320<=o&&o<=57343}function w(o,S){return(o-55296<<10)+(S-56320)+65536}function _(o,S,$){const Z=o.charCodeAt($);if(Q(Z)&&$+1<S){const F=o.charCodeAt($+1);if(re(F))return w(Z,F)}return Z}function y(o,S){const $=o.charCodeAt(S-1);if(re($)&&S>1){const Z=o.charCodeAt(S-2);if(Q(Z))return w(Z,$)}return $}function l(o,S){const $=ke.getInstance(),Z=S,F=o.length,V=_(o,F,S);S+=V>=65536?2:1;let te=$.getGraphemeBreakType(V);for(;S<F;){const le=_(o,F,S),ae=$.getGraphemeBreakType(le);if(Ze(te,ae))break;S+=le>=65536?2:1,te=ae}return S-Z}function O(o,S){const $=ke.getInstance(),Z=S,F=y(o,S);S-=F>=65536?2:1;let V=$.getGraphemeBreakType(F);for(;S>0;){const te=y(o,S),le=$.getGraphemeBreakType(te);if(Ze(le,V))break;S-=te>=65536?2:1,V=le}return Z-S}const b=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function t(o){return b.test(o)}const r=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function m(o){return r.test(o)}const T=/^[\t\n\r\x20-\x7E]*$/;function X(o){return T.test(o)}const ee=/[\u2028\u2029]/;function ce(o){return ee.test(o)}function fe(o){for(let S=0,$=o.length;S<$;S++)if(be(o.charCodeAt(S)))return!0;return!1}function be(o){return o=+o,o>=11904&&o<=55215||o>=63744&&o<=64255||o>=65281&&o<=65374}function Re(o){return o>=127462&&o<=127487||o===8986||o===8987||o===9200||o===9203||o>=9728&&o<=10175||o===11088||o===11093||o>=127744&&o<=128591||o>=128640&&o<=128764||o>=128992&&o<=129003||o>=129280&&o<=129535||o>=129648&&o<=129750}const Me="\uFEFF";function Pe(o){return!!(o&&o.length>0&&o.charCodeAt(0)===65279)}function Te(o,S=!1){return o?(S&&(o=o.replace(/\\./g,"")),o.toLowerCase()!==o):!1}function Fe(o){return o=o%(2*26),o<26?String.fromCharCode(97+o):String.fromCharCode(65+o-26)}function Le(o){return ke.getInstance().getGraphemeBreakType(o)}function Ze(o,S){return o===0?S!==5&&S!==7:o===2&&S===3?!1:o===4||o===2||o===3||S===4||S===2||S===3?!0:!(o===8&&(S===8||S===9||S===11||S===12)||(o===11||o===9)&&(S===9||S===10)||(o===12||o===10)&&S===10||S===5||S===13||S===7||o===1||o===13&&S===14||o===6&&S===6)}class ke{constructor(){this._data=k()}static getInstance(){return ke._INSTANCE||(ke._INSTANCE=new ke),ke._INSTANCE}getGraphemeBreakType(S){if(S<32)return S===10?3:S===13?2:4;if(S<127)return 0;const $=this._data,Z=$.length/3;let F=1;for(;F<=Z;)if(S<$[3*F])F=2*F;else if(S>$[3*F+1])F=2*F+1;else return $[3*F+2];return 0}}ke._INSTANCE=null;function k(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function B(o,S){if(o===0)return 0;const $=p(o,S);if($!==void 0)return $;const Z=y(S,o);return o-=N(Z),o}function p(o,S){let $=y(S,o);for(o-=N($);j($)||$===65039||$===8419;){if(o===0)return;$=y(S,o),o-=N($)}if(Re($)){if(o>=0){const Z=y(S,o);Z===8205&&(o-=N(Z))}return o}}function N(o){return o>=65536?2:1}function j(o){return 127995<=o&&o<=127999}},72999:function(Oe,ie,f){"use strict";f.d(ie,{$E:function(){return a},$K:function(){return K},D8:function(){return i},HD:function(){return R},IU:function(){return g},Jp:function(){return D},Kn:function(){return W},cW:function(){return E},f6:function(){return v},hj:function(){return z},jn:function(){return A},kJ:function(){return x},mf:function(){return c},o8:function(){return U},p_:function(){return e},vE:function(){return h}});function x(u){return Array.isArray(u)}function R(u){return typeof u=="string"}function W(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}function z(u){return typeof u=="number"&&!isNaN(u)}function A(u){return u===!0||u===!1}function U(u){return typeof u=="undefined"}function K(u){return!D(u)}function D(u){return U(u)||u===null}function e(u,d){if(!u)throw new Error(d?`Unexpected type, expected '${d}'`:"Unexpected type")}function E(u){if(D(u))throw new Error("Assertion Failed: argument is undefined or null");return u}function c(u){return typeof u=="function"}function i(u,d){const I=Math.min(u.length,d.length);for(let C=0;C<I;C++)n(u[C],d[C])}function n(u,d){if(R(d)){if(typeof u!==d)throw new Error(`argument does not match constraint: typeof ${d}`)}else if(c(d)){try{if(u instanceof d)return}catch(I){}if(!D(u)&&u.constructor===d||d.length===1&&d.call(void 0,u)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function s(u){let d=[],I=Object.getPrototypeOf(u);for(;Object.prototype!==I;)d=d.concat(Object.getOwnPropertyNames(I)),I=Object.getPrototypeOf(I);return d}function a(u){const d=[];for(const I of s(u))typeof u[I]=="function"&&d.push(I);return d}function g(u,d){const I=M=>function(){const P=Array.prototype.slice.call(arguments,0);return d(M,P)};let C={};for(const M of u)C[M]=I(M);return C}function v(u){return u===null?void 0:u}function h(u,d="Unreachable"){throw new Error(d)}},13268:function(Oe,ie,f){"use strict";f.d(ie,{N:function(){return R}});function x(W,z){let A;return z.length===0?A=W:A=W.replace(/\{(\d+)\}/g,function(U,K){const D=K[0];return typeof z[D]!="undefined"?z[D]:U}),A}function R(W,z,...A){return x(z,A)}},96236:function(Oe,ie,f){"use strict";f.d(ie,{BH:function(){return g},NZ:function(){return v},U8:function(){return h},co:function(){return a},eH:function(){return s},vr:function(){return n}});var x=f(75918),R=f(52615),W=f(4348),z=f(88226),A=f(69323),U=f(34502),K=f(35884),D=f(90689),e=f(16925),E=f(49055),c=function(u,d,I,C){var M=arguments.length,P=M<3?d:C===null?C=Object.getOwnPropertyDescriptor(d,I):C,L;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")P=Reflect.decorate(u,d,I,C);else for(var G=u.length-1;G>=0;G--)(L=u[G])&&(P=(M<3?L(P):M>3?L(d,I,P):L(d,I))||P);return M>3&&P&&Object.defineProperty(d,I,P),P},i=function(u,d){return function(I,C){d(I,C,u)}};function n(u){return u.command!==void 0}class s{constructor(d){this.id=s._idPool++,this._debugName=d}}s._idPool=0,s.CommandPalette=new s("CommandPalette"),s.EditorContext=new s("EditorContext"),s.SimpleEditorContext=new s("SimpleEditorContext"),s.EditorContextCopy=new s("EditorContextCopy"),s.EditorContextPeek=new s("EditorContextPeek"),s.MenubarEditMenu=new s("MenubarEditMenu"),s.MenubarCopy=new s("MenubarCopy"),s.MenubarGoMenu=new s("MenubarGoMenu"),s.MenubarSelectionMenu=new s("MenubarSelectionMenu"),s.InlineCompletionsActions=new s("InlineCompletionsActions");const a=(0,e.yh)("menuService"),g=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new W.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:u=>u===s.CommandPalette}}addCommand(u){return this.addCommands(z.$.single(u))}addCommands(u){for(const d of u)this._commands.set(d.id,d);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,A.OF)(()=>{let d=!1;for(const I of u)d=this._commands.delete(I.id)||d;d&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(u){return this._commands.get(u)}getCommands(){const u=new Map;return this._commands.forEach((d,I)=>u.set(I,d)),u}appendMenuItem(u,d){return this.appendMenuItems(z.$.single({id:u,item:d}))}appendMenuItems(u){const d=new Set,I=new U.S;for(const{id:C,item:M}of u){let P=this._menuItems.get(C);P||(P=new U.S,this._menuItems.set(C,P)),I.push(P.push(M)),d.add(C)}return this._onDidChangeMenu.fire(d),(0,A.OF)(()=>{if(I.size>0){for(let C of I)C();this._onDidChangeMenu.fire(d),I.clear()}})}getMenuItems(u){let d;return this._menuItems.has(u)?d=[...this._menuItems.get(u)]:d=[],u===s.CommandPalette&&this._appendImplicitItems(d),d}_appendImplicitItems(u){const d=new Set;for(const I of u)n(I)&&(d.add(I.command.id),I.alt&&d.add(I.alt.id));this._commands.forEach((I,C)=>{d.has(C)||u.push({command:I})})}};class v extends x.wY{constructor(d,I,C,M){super(`submenuitem.${d.submenu.id}`,typeof d.title=="string"?d.title:d.title.value,[],"submenu"),this.item=d,this._menuService=I,this._contextKeyService=C,this._options=M}get actions(){const d=[],I=this._menuService.createMenu(this.item.submenu,this._contextKeyService),C=I.getActions(this._options);I.dispose();for(const[,M]of C)M.length>0&&(d.push(...M),d.push(new x.Z0));return d.length&&d.pop(),d}}let h=class xr{constructor(d,I,C,M,P){var L,G;if(this._commandService=P,this.id=d.id,this.label=C!=null&&C.renderShortTitle&&d.shortTitle?typeof d.shortTitle=="string"?d.shortTitle:d.shortTitle.value:typeof d.title=="string"?d.title:d.title.value,this.tooltip=(G=typeof d.tooltip=="string"?d.tooltip:(L=d.tooltip)===null||L===void 0?void 0:L.value)!==null&&G!==void 0?G:"",this.enabled=!d.precondition||M.contextMatchesRules(d.precondition),this.checked=void 0,d.toggled){const J=d.toggled.condition?d.toggled:{condition:d.toggled};this.checked=M.contextMatchesRules(J.condition),this.checked&&J.tooltip&&(this.tooltip=typeof J.tooltip=="string"?J.tooltip:J.tooltip.value),J.title&&(this.label=typeof J.title=="string"?J.title:J.title.value)}this.item=d,this.alt=I?new xr(I,void 0,C,M,P):void 0,this._options=C,E.kS.isThemeIcon(d.icon)&&(this.class=R.dT.asClassName(d.icon))}dispose(){}run(...d){var I,C;let M=[];return!((I=this._options)===null||I===void 0)&&I.arg&&(M=[...M,this._options.arg]),!((C=this._options)===null||C===void 0)&&C.shouldForwardArgs&&(M=[...M,...d]),this._commandService.executeCommand(this.id,...M)}};h=c([i(3,D.i6),i(4,K.H)],h)},35884:function(Oe,ie,f){"use strict";f.d(ie,{H:function(){return K},P:function(){return D}});var x=f(4348),R=f(88226),W=f(69323),z=f(34502),A=f(72999),U=f(16925);const K=(0,U.yh)("commandService"),D=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new x.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,E){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!E)throw new Error("invalid command");return this.registerCommand({id:e,handler:E})}if(e.description){const a=[];for(let v of e.description.args)a.push(v.constraint);const g=e.handler;e.handler=function(v,...h){return(0,A.D8)(h,a),g(v,...h)}}const{id:c}=e;let i=this._commands.get(c);i||(i=new z.S,this._commands.set(c,i));let n=i.unshift(e),s=(0,W.OF)(()=>{n();const a=this._commands.get(c);a!=null&&a.isEmpty()&&this._commands.delete(c)});return this._onDidRegisterCommand.fire(c),s}registerCommandAlias(e,E){return D.registerCommand(e,(c,...i)=>c.get(K).executeCommand(E,...i))}getCommand(e){const E=this._commands.get(e);if(!(!E||E.isEmpty()))return R.$.first(E)}getCommands(){const e=new Map;for(const E of this._commands.keys()){const c=this.getCommand(E);c&&e.set(E,c)}return e}};D.registerCommand("noop",()=>{})},90689:function(Oe,ie,f){"use strict";f.d(ie,{Ao:function(){return K},Eq:function(){return w},Fb:function(){return D},K8:function(){return l},i6:function(){return re},uy:function(){return Q}});var x=f(23345),R=f(82983),W=f(16925);let z=x.WE||"";const A=new Map;A.set("false",!1),A.set("true",!0),A.set("isMac",x.dz),A.set("isLinux",x.IJ),A.set("isWindows",x.ED),A.set("isWeb",x.$L),A.set("isMacNative",x.dz&&!x.$L),A.set("isEdge",z.indexOf("Edg/")>=0),A.set("isFirefox",z.indexOf("Firefox")>=0),A.set("isChrome",z.indexOf("Chrome")>=0),A.set("isSafari",z.indexOf("Safari")>=0);const U=Object.prototype.hasOwnProperty;class K{static has(t){return i.create(t)}static equals(t,r){return n.create(t,r)}static regex(t,r){return M.create(t,r)}static not(t){return v.create(t)}static and(...t){return G.create(t,null)}static or(...t){return J.create(t,null,!0)}static deserialize(t,r=!1){if(t)return this._deserializeOrExpression(t,r)}static _deserializeOrExpression(t,r){let m=t.split("||");return J.create(m.map(T=>this._deserializeAndExpression(T,r)),null,!0)}static _deserializeAndExpression(t,r){let m=t.split("&&");return G.create(m.map(T=>this._deserializeOne(T,r)),null)}static _deserializeOne(t,r){if(t=t.trim(),t.indexOf("!=")>=0){let m=t.split("!=");return g.create(m[0].trim(),this._deserializeValue(m[1],r))}if(t.indexOf("==")>=0){let m=t.split("==");return n.create(m[0].trim(),this._deserializeValue(m[1],r))}if(t.indexOf("=~")>=0){let m=t.split("=~");return M.create(m[0].trim(),this._deserializeRegexValue(m[1],r))}if(t.indexOf(" in ")>=0){let m=t.split(" in ");return s.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(t)){const m=t.split(">=");return d.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(t)){const m=t.split(">");return u.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(t)){const m=t.split("<=");return C.create(m[0].trim(),m[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(t)){const m=t.split("<");return I.create(m[0].trim(),m[1].trim())}return/^\!\s*/.test(t)?v.create(t.substr(1).trim()):i.create(t)}static _deserializeValue(t,r){if(t=t.trim(),t==="true")return!0;if(t==="false")return!1;let m=/^'([^']*)'$/.exec(t);return m?m[1].trim():t}static _deserializeRegexValue(t,r){if((0,R.m5)(t)){if(r)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let m=t.indexOf("/"),T=t.lastIndexOf("/");if(m===T||m<0){if(r)throw new Error(`bad regexp-value '${t}', missing /-enclosure`);return console.warn(`bad regexp-value '${t}', missing /-enclosure`),null}let X=t.slice(m+1,T),ee=t[T+1]==="i"?"i":"";try{return new RegExp(X,ee)}catch(ce){if(r)throw new Error(`bad regexp-value '${t}', parse error: ${ce}`);return console.warn(`bad regexp-value '${t}', parse error: ${ce}`),null}}}function D(b,t){const r=b?b.substituteConstants():void 0,m=t?t.substituteConstants():void 0;return!r&&!m?!0:!r||!m?!1:r.equals(m)}function e(b,t){return b.cmp(t)}class E{constructor(){this.type=0}cmp(t){return this.type-t.type}equals(t){return t.type===this.type}substituteConstants(){return this}evaluate(t){return!1}serialize(){return"false"}keys(){return[]}negate(){return c.INSTANCE}}E.INSTANCE=new E;class c{constructor(){this.type=1}cmp(t){return this.type-t.type}equals(t){return t.type===this.type}substituteConstants(){return this}evaluate(t){return!0}serialize(){return"true"}keys(){return[]}negate(){return E.INSTANCE}}c.INSTANCE=new c;class i{constructor(t,r){this.key=t,this.negated=r,this.type=2}static create(t,r=null){const m=A.get(t);return typeof m=="boolean"?m?c.INSTANCE:E.INSTANCE:new i(t,r)}cmp(t){return t.type!==this.type?this.type-t.type:_(this.key,t.key)}equals(t){return t.type===this.type?this.key===t.key:!1}substituteConstants(){const t=A.get(this.key);return typeof t=="boolean"?t?c.INSTANCE:E.INSTANCE:this}evaluate(t){return!!t.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=v.create(this.key,this)),this.negated}}class n{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=4}static create(t,r,m=null){if(typeof r=="boolean")return r?i.create(t,m):v.create(t,m);const T=A.get(t);return typeof T=="boolean"?r===(T?"true":"false")?c.INSTANCE:E.INSTANCE:new n(t,r,m)}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){const t=A.get(this.key);if(typeof t=="boolean"){const r=t?"true":"false";return this.value===r?c.INSTANCE:E.INSTANCE}return this}evaluate(t){return t.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class s{constructor(t,r){this.key=t,this.valueKey=r,this.type=10,this.negated=null}static create(t,r){return new s(t,r)}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.valueKey,t.key,t.valueKey)}equals(t){return t.type===this.type?this.key===t.key&&this.valueKey===t.valueKey:!1}substituteConstants(){return this}evaluate(t){const r=t.getValue(this.valueKey),m=t.getValue(this.key);return Array.isArray(r)?r.indexOf(m)>=0:typeof m=="string"&&typeof r=="object"&&r!==null?U.call(r,m):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=a.create(this)),this.negated}}class a{constructor(t){this._actual=t,this.type=11}static create(t){return new a(t)}cmp(t){return t.type!==this.type?this.type-t.type:this._actual.cmp(t._actual)}equals(t){return t.type===this.type?this._actual.equals(t._actual):!1}substituteConstants(){return this}evaluate(t){return!this._actual.evaluate(t)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class g{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=5}static create(t,r,m=null){if(typeof r=="boolean")return r?v.create(t,m):i.create(t,m);const T=A.get(t);return typeof T=="boolean"?r===(T?"true":"false")?E.INSTANCE:c.INSTANCE:new g(t,r,m)}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){const t=A.get(this.key);if(typeof t=="boolean"){const r=t?"true":"false";return this.value===r?E.INSTANCE:c.INSTANCE}return this}evaluate(t){return t.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=n.create(this.key,this.value,this)),this.negated}}class v{constructor(t,r){this.key=t,this.negated=r,this.type=3}static create(t,r=null){const m=A.get(t);return typeof m=="boolean"?m?E.INSTANCE:c.INSTANCE:new v(t,r)}cmp(t){return t.type!==this.type?this.type-t.type:_(this.key,t.key)}equals(t){return t.type===this.type?this.key===t.key:!1}substituteConstants(){const t=A.get(this.key);return typeof t=="boolean"?t?E.INSTANCE:c.INSTANCE:this}evaluate(t){return!t.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=i.create(this.key,this)),this.negated}}function h(b,t){if(typeof b=="string"){const r=parseFloat(b);isNaN(r)||(b=r)}return typeof b=="string"||typeof b=="number"?t(b):E.INSTANCE}class u{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=12}static create(t,r,m=null){return h(r,T=>new u(t,T,m))}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){return this}evaluate(t){return typeof this.value=="string"?!1:parseFloat(t.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class d{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=13}static create(t,r,m=null){return h(r,T=>new d(t,T,m))}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){return this}evaluate(t){return typeof this.value=="string"?!1:parseFloat(t.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=I.create(this.key,this.value,this)),this.negated}}class I{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=14}static create(t,r,m=null){return h(r,T=>new I(t,T,m))}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){return this}evaluate(t){return typeof this.value=="string"?!1:parseFloat(t.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=d.create(this.key,this.value,this)),this.negated}}class C{constructor(t,r,m){this.key=t,this.value=r,this.negated=m,this.type=15}static create(t,r,m=null){return h(r,T=>new C(t,T,m))}cmp(t){return t.type!==this.type?this.type-t.type:y(this.key,this.value,t.key,t.value)}equals(t){return t.type===this.type?this.key===t.key&&this.value===t.value:!1}substituteConstants(){return this}evaluate(t){return typeof this.value=="string"?!1:parseFloat(t.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=u.create(this.key,this.value,this)),this.negated}}class M{constructor(t,r){this.key=t,this.regexp=r,this.type=7,this.negated=null}static create(t,r){return new M(t,r)}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.key<t.key)return-1;if(this.key>t.key)return 1;const r=this.regexp?this.regexp.source:"",m=t.regexp?t.regexp.source:"";return r<m?-1:r>m?1:0}equals(t){if(t.type===this.type){const r=this.regexp?this.regexp.source:"",m=t.regexp?t.regexp.source:"";return this.key===t.key&&r===m}return!1}substituteConstants(){return this}evaluate(t){let r=t.getValue(this.key);return this.regexp?this.regexp.test(r):!1}serialize(){const t=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${t}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=P.create(this)),this.negated}}class P{constructor(t){this._actual=t,this.type=8}static create(t){return new P(t)}cmp(t){return t.type!==this.type?this.type-t.type:this._actual.cmp(t._actual)}equals(t){return t.type===this.type?this._actual.equals(t._actual):!1}substituteConstants(){return this}evaluate(t){return!this._actual.evaluate(t)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function L(b){let t=null;for(let r=0,m=b.length;r<m;r++){const T=b[r].substituteConstants();if(b[r]!==T&&t===null){t=[];for(let X=0;X<r;X++)t[X]=b[X]}t!==null&&(t[r]=T)}return t===null?b:t}class G{constructor(t,r){this.expr=t,this.negated=r,this.type=6}static create(t,r){return G._normalizeArr(t,r)}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.expr.length<t.expr.length)return-1;if(this.expr.length>t.expr.length)return 1;for(let r=0,m=this.expr.length;r<m;r++){const T=e(this.expr[r],t.expr[r]);if(T!==0)return T}return 0}equals(t){if(t.type===this.type){if(this.expr.length!==t.expr.length)return!1;for(let r=0,m=this.expr.length;r<m;r++)if(!this.expr[r].equals(t.expr[r]))return!1;return!0}return!1}substituteConstants(){const t=L(this.expr);return t===this.expr?this:G.create(t,this.negated)}evaluate(t){for(let r=0,m=this.expr.length;r<m;r++)if(!this.expr[r].evaluate(t))return!1;return!0}static _normalizeArr(t,r){const m=[];let T=!1;for(const X of t)if(X){if(X.type===1){T=!0;continue}if(X.type===0)return E.INSTANCE;if(X.type===6){m.push(...X.expr);continue}m.push(X)}if(m.length===0&&T)return c.INSTANCE;if(m.length!==0){if(m.length===1)return m[0];m.sort(e);for(let X=1;X<m.length;X++)m[X-1].equals(m[X])&&(m.splice(X,1),X--);if(m.length===1)return m[0];for(;m.length>1;){const X=m[m.length-1];if(X.type!==9)break;m.pop();const ee=m.pop(),ce=m.length===0,fe=J.create(X.expr.map(be=>G.create([be,ee],null)),null,ce);fe&&(m.push(fe),m.sort(e))}return m.length===1?m[0]:new G(m,r)}}serialize(){return this.expr.map(t=>t.serialize()).join(" && ")}keys(){const t=[];for(let r of this.expr)t.push(...r.keys());return t}negate(){if(!this.negated){const t=[];for(let r of this.expr)t.push(r.negate());this.negated=J.create(t,this,!0)}return this.negated}}class J{constructor(t,r){this.expr=t,this.negated=r,this.type=9}static create(t,r,m){return J._normalizeArr(t,r,m)}cmp(t){if(t.type!==this.type)return this.type-t.type;if(this.expr.length<t.expr.length)return-1;if(this.expr.length>t.expr.length)return 1;for(let r=0,m=this.expr.length;r<m;r++){const T=e(this.expr[r],t.expr[r]);if(T!==0)return T}return 0}equals(t){if(t.type===this.type){if(this.expr.length!==t.expr.length)return!1;for(let r=0,m=this.expr.length;r<m;r++)if(!this.expr[r].equals(t.expr[r]))return!1;return!0}return!1}substituteConstants(){const t=L(this.expr);return t===this.expr?this:J.create(t,this.negated,!1)}evaluate(t){for(let r=0,m=this.expr.length;r<m;r++)if(this.expr[r].evaluate(t))return!0;return!1}static _normalizeArr(t,r,m){let T=[],X=!1;if(t){for(let ee=0,ce=t.length;ee<ce;ee++){const fe=t[ee];if(fe){if(fe.type===0){X=!0;continue}if(fe.type===1)return c.INSTANCE;if(fe.type===9){T=T.concat(fe.expr);continue}T.push(fe)}}if(T.length===0&&X)return E.INSTANCE;T.sort(e)}if(T.length!==0){if(T.length===1)return T[0];for(let ee=1;ee<T.length;ee++)T[ee-1].equals(T[ee])&&(T.splice(ee,1),ee--);if(T.length===1)return T[0];if(m){for(let ee=0;ee<T.length;ee++)for(let ce=ee+1;ce<T.length;ce++)l(T[ee],T[ce])&&(T.splice(ce,1),ce--);if(T.length===1)return T[0]}return new J(T,r)}}serialize(){return this.expr.map(t=>t.serialize()).join(" || ")}keys(){const t=[];for(let r of this.expr)t.push(...r.keys());return t}negate(){if(!this.negated){let t=[];for(let r of this.expr)t.push(r.negate());for(;t.length>1;){const r=t.shift(),m=t.shift(),T=[];for(const ee of O(r))for(const ce of O(m))T.push(G.create([ee,ce],null));const X=t.length===0;t.unshift(J.create(T,null,X))}this.negated=t[0]}return this.negated}}class Q extends i{constructor(t,r,m){super(t,null),this._defaultValue=r,typeof m=="object"?Q._info.push(Object.assign(Object.assign({},m),{key:t})):m!==!0&&Q._info.push({key:t,description:m,type:r!=null?typeof r:void 0})}static all(){return Q._info.values()}bindTo(t){return t.createKey(this.key,this._defaultValue)}getValue(t){return t.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(t){return n.create(this.key,t)}}Q._info=[];const re=(0,W.yh)("contextKeyService"),w="setContext";function _(b,t){return b<t?-1:b>t?1:0}function y(b,t,r,m){return b<r?-1:b>r?1:t<m?-1:t>m?1:0}function l(b,t){if(t.type===6&&b.type!==9&&b.type!==6){for(const T of t.expr)if(b.equals(T))return!0}const r=b.negate(),m=O(r).concat(O(t));m.sort(e);for(let T=0;T<m.length;T++){const ee=m[T].negate();for(let ce=T+1;ce<m.length;ce++){const fe=m[ce];if(ee.equals(fe))return!0}}return!1}function O(b){return b.type===9?b.expr:[b]}},16925:function(Oe,ie,f){"use strict";f.d(ie,{I8:function(){return x},TG:function(){return R},jt:function(){return A},yh:function(){return z}});var x;(function(U){U.serviceIds=new Map,U.DI_TARGET="$di$target",U.DI_DEPENDENCIES="$di$dependencies";function K(D){return D[U.DI_DEPENDENCIES]||[]}U.getServiceDependencies=K})(x||(x={}));const R=z("instantiationService");function W(U,K,D,e){K[x.DI_TARGET]===K?K[x.DI_DEPENDENCIES].push({id:U,index:D,optional:e}):(K[x.DI_DEPENDENCIES]=[{id:U,index:D,optional:e}],K[x.DI_TARGET]=K)}function z(U){if(x.serviceIds.has(U))return x.serviceIds.get(U);const K=function(D,e,E){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");W(K,D,E,!1)};return K.toString=()=>U,x.serviceIds.set(U,K),K}function A(U){return function(K,D,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");W(U,K,e,!0)}}},44650:function(Oe,ie,f){"use strict";f.d(ie,{B:function(){return z}});var x=f(76068),R=f(72999);class W{constructor(){this.data=new Map}add(U,K){x.ok(R.HD(U)),x.ok(R.Kn(K)),x.ok(!this.data.has(U),"There is already an extension with this id"),this.data.set(U,K)}as(U){return this.data.get(U)||null}}const z=new W},66213:function(Oe,ie,f){"use strict";f.d(ie,{e:function(){return x}});var x;(function(R){R.DARK="dark",R.LIGHT="light",R.HIGH_CONTRAST="hc"})(x||(x={}))},49055:function(Oe,ie,f){"use strict";f.d(ie,{EN:function(){return e},IP:function(){return i},Ic:function(){return a},XE:function(){return K},bB:function(){return g},kS:function(){return E},m6:function(){return c}});var x=f(52615),R=f(4348),W=f(69323),z=f(16925),A=f(44650),U=f(66213);const K=(0,z.yh)("themeService");var D;(function(v){function h(u){return u&&typeof u=="object"&&typeof u.id=="string"}v.isThemeColor=h})(D||(D={}));function e(v){return{id:v}}var E;(function(v){function h(P){return P&&typeof P=="object"&&typeof P.id=="string"&&(typeof P.color=="undefined"||D.isThemeColor(P.color))}v.isThemeIcon=h;const u=new RegExp(`^\\$\\((${x.dT.iconNameExpression}(?:${x.dT.iconModifierExpression})?)\\)$`);function d(P){const L=u.exec(P);if(!L)return;let[,G]=L;return{id:G}}v.fromString=d;function I(P,L){let G=P.id;const J=G.lastIndexOf("~");return J!==-1&&(G=G.substring(0,J)),L&&(G=`${G}~${L}`),{id:G}}v.modify=I;function C(P,L){var G,J;return P.id===L.id&&((G=P.color)===null||G===void 0?void 0:G.id)===((J=L.color)===null||J===void 0?void 0:J.id)}v.isEqual=C;function M(P,L){return{id:P.id,color:L?e(L):void 0}}v.asThemeIcon=M,v.asClassNameArray=x.dT.asClassNameArray,v.asClassName=x.dT.asClassName,v.asCSSSelector=x.dT.asCSSSelector})(E||(E={}));function c(v){switch(v){case U.e.DARK:return"vs-dark";case U.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const i={ThemingContribution:"base.contributions.theming"};class n{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new R.Q5}onColorThemeChange(h){return this.themingParticipants.push(h),this.onThemingParticipantAddedEmitter.fire(h),(0,W.OF)(()=>{const u=this.themingParticipants.indexOf(h);this.themingParticipants.splice(u,1)})}getThemingParticipants(){return this.themingParticipants}}let s=new n;A.B.add(i.ThemingContribution,s);function a(v){return s.onColorThemeChange(v)}class g extends W.JT{constructor(h){super(),this.themeService=h,this.theme=h.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(u=>this.onThemeChange(u)))}onThemeChange(h){this.theme=h,this.updateStyles()}updateStyles(){}}},31561:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return P}});var x=f(72308),R=f(49618),W=f(52487),z=f(74416),A=f(35593),U=f(92310),K=f.n(U),D=f(8654),e=f(59301),E=f(10228),c=f(16089),i=E.Z.ESC,n=E.Z.TAB;function s(L){var G=L.visible,J=L.triggerRef,Q=L.onVisibleChange,re=L.autoFocus,w=L.overlayRef,_=e.useRef(!1),y=function(){if(G){var t,r;(t=J.current)===null||t===void 0||(r=t.focus)===null||r===void 0||r.call(t),Q==null||Q(!1)}},l=function(){var t;return(t=w.current)!==null&&t!==void 0&&t.focus?(w.current.focus(),_.current=!0,!0):!1},O=function(t){switch(t.keyCode){case i:y();break;case n:{var r=!1;_.current||(r=l()),r?t.preventDefault():y();break}}};e.useEffect(function(){return G?(window.addEventListener("keydown",O),re&&(0,c.Z)(l,3),function(){window.removeEventListener("keydown",O),_.current=!1}):function(){_.current=!1}},[G])}var a=(0,e.forwardRef)(function(L,G){var J=L.overlay,Q=L.arrow,re=L.prefixCls,w=(0,e.useMemo)(function(){var y;return typeof J=="function"?y=J():y=J,y},[J]),_=(0,D.sQ)(G,w==null?void 0:w.ref);return e.createElement(e.Fragment,null,Q&&e.createElement("div",{className:"".concat(re,"-arrow")}),e.cloneElement(w,{ref:(0,D.Yr)(w)?_:void 0}))}),g=a,v={adjustX:1,adjustY:1},h=[0,0],u={topLeft:{points:["bl","tl"],overflow:v,offset:[0,-4],targetOffset:h},top:{points:["bc","tc"],overflow:v,offset:[0,-4],targetOffset:h},topRight:{points:["br","tr"],overflow:v,offset:[0,-4],targetOffset:h},bottomLeft:{points:["tl","bl"],overflow:v,offset:[0,4],targetOffset:h},bottom:{points:["tc","bc"],overflow:v,offset:[0,4],targetOffset:h},bottomRight:{points:["tr","br"],overflow:v,offset:[0,4],targetOffset:h}},d=u,I=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function C(L,G){var J,Q=L.arrow,re=Q===void 0?!1:Q,w=L.prefixCls,_=w===void 0?"rc-dropdown":w,y=L.transitionName,l=L.animation,O=L.align,b=L.placement,t=b===void 0?"bottomLeft":b,r=L.placements,m=r===void 0?d:r,T=L.getPopupContainer,X=L.showAction,ee=L.hideAction,ce=L.overlayClassName,fe=L.overlayStyle,be=L.visible,Re=L.trigger,Me=Re===void 0?["hover"]:Re,Pe=L.autoFocus,Te=L.overlay,Fe=L.children,Le=L.onVisibleChange,Ze=(0,z.Z)(L,I),ke=e.useState(),k=(0,W.Z)(ke,2),B=k[0],p=k[1],N="visible"in L?be:B,j=e.useRef(null),o=e.useRef(null),S=e.useRef(null);e.useImperativeHandle(G,function(){return j.current});var $=function(ye){p(ye),Le==null||Le(ye)};s({visible:N,triggerRef:S,onVisibleChange:$,autoFocus:Pe,overlayRef:o});var Z=function(ye){var ge=L.onOverlayClick;p(!1),ge&&ge(ye)},F=function(){return e.createElement(g,{ref:o,overlay:Te,prefixCls:_,arrow:re})},V=function(){return typeof Te=="function"?F:F()},te=function(){var ye=L.minOverlayWidthMatchTrigger,ge=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?ye:!ge},le=function(){var ye=L.openClassName;return ye!==void 0?ye:"".concat(_,"-open")},ae=e.cloneElement(Fe,{className:K()((J=Fe.props)===null||J===void 0?void 0:J.className,N&&le()),ref:(0,D.Yr)(Fe)?(0,D.sQ)(S,Fe.ref):void 0}),oe=ee;return!oe&&Me.indexOf("contextMenu")!==-1&&(oe=["click"]),e.createElement(A.Z,(0,x.Z)({builtinPlacements:m},Ze,{prefixCls:_,ref:j,popupClassName:K()(ce,(0,R.Z)({},"".concat(_,"-show-arrow"),re)),popupStyle:fe,action:Me,showAction:X,hideAction:oe,popupPlacement:t,popupAlign:O,popupTransitionName:y,popupAnimation:l,popupVisible:N,stretch:te()?"minWidth":"",popup:V(),onPopupVisibleChange:$,onPopupClick:Z,getPopupContainer:T}),ae)}var M=e.forwardRef(C),P=M},15285:function(Oe,ie,f){"use strict";f.d(ie,{iz:function(){return Mt},ck:function(){return Ye},BW:function(){return cn},sN:function(){return Ye},Wd:function(){return un},ZP:function(){return Ne},Xl:function(){return J}});var x=f(72308),R=f(49618),W=f(77321),z=f(80702),A=f(52487),U=f(74416),K=f(92310),D=f.n(K),e=f(11780),E=f(18929),c=f(13697),i=f(48736),n=f(59301),s=f(4676),a=n.createContext(null);function g(H,Y){return H===void 0?null:"".concat(H,"-").concat(Y)}function v(H){var Y=n.useContext(a);return g(Y,H)}var h=f(80547),u=["children","locked"],d=n.createContext(null);function I(H,Y){var ne=(0,W.Z)({},H);return Object.keys(Y).forEach(function(ue){var q=Y[ue];q!==void 0&&(ne[ue]=q)}),ne}function C(H){var Y=H.children,ne=H.locked,ue=(0,U.Z)(H,u),q=n.useContext(d),he=(0,h.Z)(function(){return I(q,ue)},[q,ue],function(se,pe){return!ne&&(se[0]!==pe[0]||!(0,c.Z)(se[1],pe[1],!0))});return n.createElement(d.Provider,{value:he},Y)}var M=[],P=n.createContext(null);function L(){return n.useContext(P)}var G=n.createContext(M);function J(H){var Y=n.useContext(G);return n.useMemo(function(){return H!==void 0?[].concat((0,z.Z)(Y),[H]):Y},[Y,H])}var Q=n.createContext(null),re=n.createContext({}),w=re,_=f(29194);function y(H){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(H)){var ne=H.nodeName.toLowerCase(),ue=["input","select","textarea","button"].includes(ne)||H.isContentEditable||ne==="a"&&!!H.getAttribute("href"),q=H.getAttribute("tabindex"),he=Number(q),se=null;return q&&!Number.isNaN(he)?se=he:ue&&se===null&&(se=0),ue&&H.disabled&&(se=null),se!==null&&(se>=0||Y&&se<0)}return!1}function l(H){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ne=(0,z.Z)(H.querySelectorAll("*")).filter(function(ue){return y(ue,Y)});return y(H,Y)&&ne.unshift(H),ne}var O=null;function b(){O=document.activeElement}function t(){O=null}function r(){if(O)try{O.focus()}catch(H){}}function m(H,Y){if(Y.keyCode===9){var ne=l(H),ue=ne[Y.shiftKey?0:ne.length-1],q=ue===document.activeElement||H===document.activeElement;if(q){var he=ne[Y.shiftKey?ne.length-1:0];he.focus(),Y.preventDefault()}}}var T=f(10228),X=f(16089),ee=T.Z.LEFT,ce=T.Z.RIGHT,fe=T.Z.UP,be=T.Z.DOWN,Re=T.Z.ENTER,Me=T.Z.ESC,Pe=T.Z.HOME,Te=T.Z.END,Fe=[fe,be,ee,ce];function Le(H,Y,ne,ue){var q,he,se,pe,xe="prev",we="next",ze="children",De="parent";if(H==="inline"&&ue===Re)return{inlineTrigger:!0};var nt=(q={},(0,R.Z)(q,fe,xe),(0,R.Z)(q,be,we),q),Be=(he={},(0,R.Z)(he,ee,ne?we:xe),(0,R.Z)(he,ce,ne?xe:we),(0,R.Z)(he,be,ze),(0,R.Z)(he,Re,ze),he),Ie=(se={},(0,R.Z)(se,fe,xe),(0,R.Z)(se,be,we),(0,R.Z)(se,Re,ze),(0,R.Z)(se,Me,De),(0,R.Z)(se,ee,ne?ze:De),(0,R.Z)(se,ce,ne?De:ze),se),lt={inline:nt,horizontal:Be,vertical:Ie,inlineSub:nt,horizontalSub:Ie,verticalSub:Ie},at=(pe=lt["".concat(H).concat(Y?"":"Sub")])===null||pe===void 0?void 0:pe[ue];switch(at){case xe:return{offset:-1,sibling:!0};case we:return{offset:1,sibling:!0};case De:return{offset:-1,sibling:!1};case ze:return{offset:1,sibling:!1};default:return null}}function Ze(H){for(var Y=H;Y;){if(Y.getAttribute("data-menu-list"))return Y;Y=Y.parentElement}return null}function ke(H,Y){for(var ne=H||document.activeElement;ne;){if(Y.has(ne))return ne;ne=ne.parentElement}return null}function k(H,Y){var ne=l(H,!0);return ne.filter(function(ue){return Y.has(ue)})}function B(H,Y,ne){var ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!H)return null;var q=k(H,Y),he=q.length,se=q.findIndex(function(pe){return ne===pe});return ue<0?se===-1?se=he-1:se-=1:ue>0&&(se+=1),se=(se+he)%he,q[se]}var p=function(Y,ne){var ue=new Set,q=new Map,he=new Map;return Y.forEach(function(se){var pe=document.querySelector("[data-menu-id='".concat(g(ne,se),"']"));pe&&(ue.add(pe),he.set(pe,se),q.set(se,pe))}),{elements:ue,key2element:q,element2key:he}};function N(H,Y,ne,ue,q,he,se,pe,xe,we){var ze=n.useRef(),De=n.useRef();De.current=Y;var nt=function(){X.Z.cancel(ze.current)};return n.useEffect(function(){return function(){nt()}},[]),function(Be){var Ie=Be.which;if([].concat(Fe,[Re,Me,Pe,Te]).includes(Ie)){var lt=he(),at=p(lt,ue),mt=at,it=mt.elements,Je=mt.key2element,Qe=mt.element2key,Ge=Je.get(Y),ft=ke(Ge,it),Dt=Qe.get(ft),ut=Le(H,se(Dt,!0).length===1,ne,Ie);if(!ut&&Ie!==Pe&&Ie!==Te)return;(Fe.includes(Ie)||[Pe,Te].includes(Ie))&&Be.preventDefault();var rn=function(Lt){if(Lt){var Vt=Lt,hn=Lt.querySelector("a");hn!=null&&hn.getAttribute("href")&&(Vt=hn);var gt=Qe.get(Lt);pe(gt),nt(),ze.current=(0,X.Z)(function(){De.current===gt&&Vt.focus()})}};if([Pe,Te].includes(Ie)||ut.sibling||!ft){var yt;!ft||H==="inline"?yt=q.current:yt=Ze(ft);var At,Rt=k(yt,it);Ie===Pe?At=Rt[0]:Ie===Te?At=Rt[Rt.length-1]:At=B(yt,it,ft,ut.offset),rn(At)}else if(ut.inlineTrigger)xe(Dt);else if(ut.offset>0)xe(Dt,!0),nt(),ze.current=(0,X.Z)(function(){at=p(lt,ue);var fn=ft.getAttribute("aria-controls"),Lt=document.getElementById(fn),Vt=B(Lt,at.elements);rn(Vt)},5);else if(ut.offset<0){var $t=se(Dt,!0),Ht=$t[$t.length-2],Qt=Je.get(Ht);xe(Ht,!1),rn(Qt)}}we==null||we(Be)}}function j(H){Promise.resolve().then(H)}var o="__RC_UTIL_PATH_SPLIT__",S=function(Y){return Y.join(o)},$=function(Y){return Y.split(o)},Z="rc-menu-more";function F(){var H=n.useState({}),Y=(0,A.Z)(H,2),ne=Y[1],ue=(0,n.useRef)(new Map),q=(0,n.useRef)(new Map),he=n.useState([]),se=(0,A.Z)(he,2),pe=se[0],xe=se[1],we=(0,n.useRef)(0),ze=(0,n.useRef)(!1),De=function(){ze.current||ne({})},nt=(0,n.useCallback)(function(Je,Qe){var Ge=S(Qe);q.current.set(Ge,Je),ue.current.set(Je,Ge),we.current+=1;var ft=we.current;j(function(){ft===we.current&&De()})},[]),Be=(0,n.useCallback)(function(Je,Qe){var Ge=S(Qe);q.current.delete(Ge),ue.current.delete(Je)},[]),Ie=(0,n.useCallback)(function(Je){xe(Je)},[]),lt=(0,n.useCallback)(function(Je,Qe){var Ge=ue.current.get(Je)||"",ft=$(Ge);return Qe&&pe.includes(ft[0])&&ft.unshift(Z),ft},[pe]),at=(0,n.useCallback)(function(Je,Qe){return Je.some(function(Ge){var ft=lt(Ge,!0);return ft.includes(Qe)})},[lt]),mt=function(){var Qe=(0,z.Z)(ue.current.keys());return pe.length&&Qe.push(Z),Qe},it=(0,n.useCallback)(function(Je){var Qe="".concat(ue.current.get(Je)).concat(o),Ge=new Set;return(0,z.Z)(q.current.keys()).forEach(function(ft){ft.startsWith(Qe)&&Ge.add(q.current.get(ft))}),Ge},[]);return n.useEffect(function(){return function(){ze.current=!0}},[]),{registerPath:nt,unregisterPath:Be,refreshOverflowKeys:Ie,isSubPathKey:at,getKeyPath:lt,getKeys:mt,getSubPathKeys:it}}function V(H){var Y=n.useRef(H);Y.current=H;var ne=n.useCallback(function(){for(var ue,q=arguments.length,he=new Array(q),se=0;se<q;se++)he[se]=arguments[se];return(ue=Y.current)===null||ue===void 0?void 0:ue.call.apply(ue,[Y].concat(he))},[]);return H?ne:void 0}var te=Math.random().toFixed(5).toString().slice(2),le=0;function ae(H){var Y=(0,E.Z)(H,{value:H}),ne=(0,A.Z)(Y,2),ue=ne[0],q=ne[1];return n.useEffect(function(){le+=1;var he="".concat(te,"-").concat(le);q("rc-menu-uuid-".concat(he))},[]),ue}var oe=f(96949),Ee=f(55090),ye=f(77205),ge=f(38793),$e=f(2738),Se=f(8654);function _e(H,Y,ne,ue){var q=n.useContext(d),he=q.activeKey,se=q.onActive,pe=q.onInactive,xe={active:he===H};return Y||(xe.onMouseEnter=function(we){ne==null||ne({key:H,domEvent:we}),se(H)},xe.onMouseLeave=function(we){ue==null||ue({key:H,domEvent:we}),pe(H)}),xe}function We(H){var Y=n.useContext(d),ne=Y.mode,ue=Y.rtl,q=Y.inlineIndent;if(ne!=="inline")return null;var he=H;return ue?{paddingRight:he*q}:{paddingLeft:he*q}}function Ve(H){var Y=H.icon,ne=H.props,ue=H.children,q;return Y===null||Y===!1?null:(typeof Y=="function"?q=n.createElement(Y,(0,W.Z)({},ne)):typeof Y!="boolean"&&(q=Y),q||ue||null)}var qe=["item"];function Ke(H){var Y=H.item,ne=(0,U.Z)(H,qe);return Object.defineProperty(ne,"item",{get:function(){return(0,i.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Y}}),ne}var _t=["title","attribute","elementRef"],et=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ct=["active"],tt=function(H){(0,ye.Z)(ne,H);var Y=(0,ge.Z)(ne);function ne(){return(0,oe.Z)(this,ne),Y.apply(this,arguments)}return(0,Ee.Z)(ne,[{key:"render",value:function(){var q=this.props,he=q.title,se=q.attribute,pe=q.elementRef,xe=(0,U.Z)(q,_t),we=(0,$e.Z)(xe,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,i.ZP)(!se,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),n.createElement(e.Z.Item,(0,x.Z)({},se,{title:typeof he=="string"?he:void 0},we,{ref:pe}))}}]),ne}(n.Component),xt=n.forwardRef(function(H,Y){var ne,ue=H.style,q=H.className,he=H.eventKey,se=H.warnKey,pe=H.disabled,xe=H.itemIcon,we=H.children,ze=H.role,De=H.onMouseEnter,nt=H.onMouseLeave,Be=H.onClick,Ie=H.onKeyDown,lt=H.onFocus,at=(0,U.Z)(H,et),mt=v(he),it=n.useContext(d),Je=it.prefixCls,Qe=it.onItemClick,Ge=it.disabled,ft=it.overflowDisabled,Dt=it.itemIcon,ut=it.selectedKeys,rn=it.onActive,yt=n.useContext(w),At=yt._internalRenderMenuItem,Rt="".concat(Je,"-item"),$t=n.useRef(),Ht=n.useRef(),Qt=Ge||pe,fn=(0,Se.x1)(Y,Ht),Lt=J(he),Vt=function(It){return{key:he,keyPath:(0,z.Z)(Lt).reverse(),item:$t.current,domEvent:It}},hn=xe||Dt,gt=_e(he,Qt,De,nt),On=gt.active,Tn=(0,U.Z)(gt,ct),wn=ut.includes(he),Sn=We(Lt.length),_n=function(It){if(!Qt){var Yt=Vt(It);Be==null||Be(Ke(Yt)),Qe(Yt)}},Gt=function(It){if(Ie==null||Ie(It),It.which===T.Z.ENTER){var Yt=Vt(It);Be==null||Be(Ke(Yt)),Qe(Yt)}},on=function(It){rn(he),lt==null||lt(It)},mn={};H.role==="option"&&(mn["aria-selected"]=wn);var Cn=n.createElement(tt,(0,x.Z)({ref:$t,elementRef:fn,role:ze===null?"none":ze||"menuitem",tabIndex:pe?null:-1,"data-menu-id":ft&&mt?null:mt},at,Tn,mn,{component:"li","aria-disabled":pe,style:(0,W.Z)((0,W.Z)({},Sn),ue),className:D()(Rt,(ne={},(0,R.Z)(ne,"".concat(Rt,"-active"),On),(0,R.Z)(ne,"".concat(Rt,"-selected"),wn),(0,R.Z)(ne,"".concat(Rt,"-disabled"),Qt),ne),q),onClick:_n,onKeyDown:Gt,onFocus:on}),we,n.createElement(Ve,{props:(0,W.Z)((0,W.Z)({},H),{},{isSelected:wn}),icon:hn}));return At&&(Cn=At(Cn,H,{selected:wn})),Cn});function He(H,Y){var ne=H.eventKey,ue=L(),q=J(ne);return n.useEffect(function(){if(ue)return ue.registerPath(ne,q),function(){ue.unregisterPath(ne,q)}},[q]),ue?null:n.createElement(xt,(0,x.Z)({},H,{ref:Y}))}var Ye=n.forwardRef(He),Xe=["className","children"],rt=function(Y,ne){var ue=Y.className,q=Y.children,he=(0,U.Z)(Y,Xe),se=n.useContext(d),pe=se.prefixCls,xe=se.mode,we=se.rtl;return n.createElement("ul",(0,x.Z)({className:D()(pe,we&&"".concat(pe,"-rtl"),"".concat(pe,"-sub"),"".concat(pe,"-").concat(xe==="inline"?"inline":"vertical"),ue),role:"menu"},he,{"data-menu-list":!0,ref:ne}),q)},me=n.forwardRef(rt);me.displayName="SubMenuList";var Tt=me,st=f(11592);function vt(H,Y){return(0,st.Z)(H).map(function(ne,ue){if(n.isValidElement(ne)){var q,he,se=ne.key,pe=(q=(he=ne.props)===null||he===void 0?void 0:he.eventKey)!==null&&q!==void 0?q:se,xe=pe==null;xe&&(pe="tmp_key-".concat([].concat((0,z.Z)(Y),[ue]).join("-")));var we={key:pe,eventKey:pe};return n.cloneElement(ne,we)}return ne})}var Pt=f(35593),pt={adjustX:1,adjustY:1},Wt={topLeft:{points:["bl","tl"],overflow:pt},topRight:{points:["br","tr"],overflow:pt},bottomLeft:{points:["tl","bl"],overflow:pt},bottomRight:{points:["tr","br"],overflow:pt},leftTop:{points:["tr","tl"],overflow:pt},leftBottom:{points:["br","bl"],overflow:pt},rightTop:{points:["tl","tr"],overflow:pt},rightBottom:{points:["bl","br"],overflow:pt}},en={topLeft:{points:["bl","tl"],overflow:pt},topRight:{points:["br","tr"],overflow:pt},bottomLeft:{points:["tl","bl"],overflow:pt},bottomRight:{points:["tr","br"],overflow:pt},rightTop:{points:["tr","tl"],overflow:pt},rightBottom:{points:["br","bl"],overflow:pt},leftTop:{points:["tl","tr"],overflow:pt},leftBottom:{points:["bl","br"],overflow:pt}},dt=null;function Kt(H,Y,ne){if(Y)return Y;if(ne)return ne[H]||ne.other}var Et={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Ot(H){var Y=H.prefixCls,ne=H.visible,ue=H.children,q=H.popup,he=H.popupStyle,se=H.popupClassName,pe=H.popupOffset,xe=H.disabled,we=H.mode,ze=H.onVisibleChange,De=n.useContext(d),nt=De.getPopupContainer,Be=De.rtl,Ie=De.subMenuOpenDelay,lt=De.subMenuCloseDelay,at=De.builtinPlacements,mt=De.triggerSubMenuAction,it=De.forceSubMenuRender,Je=De.rootClassName,Qe=De.motion,Ge=De.defaultMotions,ft=n.useState(!1),Dt=(0,A.Z)(ft,2),ut=Dt[0],rn=Dt[1],yt=Be?(0,W.Z)((0,W.Z)({},en),at):(0,W.Z)((0,W.Z)({},Wt),at),At=Et[we],Rt=Kt(we,Qe,Ge),$t=n.useRef(Rt);we!=="inline"&&($t.current=Rt);var Ht=(0,W.Z)((0,W.Z)({},$t.current),{},{leavedClassName:"".concat(Y,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Qt=n.useRef();return n.useEffect(function(){return Qt.current=(0,X.Z)(function(){rn(ne)}),function(){X.Z.cancel(Qt.current)}},[ne]),n.createElement(Pt.Z,{prefixCls:Y,popupClassName:D()("".concat(Y,"-popup"),(0,R.Z)({},"".concat(Y,"-rtl"),Be),se,Je),stretch:we==="horizontal"?"minWidth":null,getPopupContainer:nt,builtinPlacements:yt,popupPlacement:At,popupVisible:ut,popup:q,popupStyle:he,popupAlign:pe&&{offset:pe},action:xe?[]:[mt],mouseEnterDelay:Ie,mouseLeaveDelay:lt,onPopupVisibleChange:ze,forceRender:it,popupMotion:Ht,fresh:!0},ue)}var tn=f(77900);function Xt(H){var Y=H.id,ne=H.open,ue=H.keyPath,q=H.children,he="inline",se=n.useContext(d),pe=se.prefixCls,xe=se.forceSubMenuRender,we=se.motion,ze=se.defaultMotions,De=se.mode,nt=n.useRef(!1);nt.current=De===he;var Be=n.useState(!nt.current),Ie=(0,A.Z)(Be,2),lt=Ie[0],at=Ie[1],mt=nt.current?ne:!1;n.useEffect(function(){nt.current&&at(!1)},[De]);var it=(0,W.Z)({},Kt(he,we,ze));ue.length>1&&(it.motionAppear=!1);var Je=it.onVisibleChanged;return it.onVisibleChanged=function(Qe){return!nt.current&&!Qe&&at(!0),Je==null?void 0:Je(Qe)},lt?null:n.createElement(C,{mode:he,locked:!nt.current},n.createElement(tn.default,(0,x.Z)({visible:mt},it,{forceRender:xe,removeOnLeave:!1,leavedClassName:"".concat(pe,"-hidden")}),function(Qe){var Ge=Qe.className,ft=Qe.style;return n.createElement(Tt,{id:Y,className:Ge,style:ft},q)}))}var nn=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],dn=["active"],bt=function(Y){var ne,ue=Y.style,q=Y.className,he=Y.title,se=Y.eventKey,pe=Y.warnKey,xe=Y.disabled,we=Y.internalPopupClose,ze=Y.children,De=Y.itemIcon,nt=Y.expandIcon,Be=Y.popupClassName,Ie=Y.popupOffset,lt=Y.popupStyle,at=Y.onClick,mt=Y.onMouseEnter,it=Y.onMouseLeave,Je=Y.onTitleClick,Qe=Y.onTitleMouseEnter,Ge=Y.onTitleMouseLeave,ft=(0,U.Z)(Y,nn),Dt=v(se),ut=n.useContext(d),rn=ut.prefixCls,yt=ut.mode,At=ut.openKeys,Rt=ut.disabled,$t=ut.overflowDisabled,Ht=ut.activeKey,Qt=ut.selectedKeys,fn=ut.itemIcon,Lt=ut.expandIcon,Vt=ut.onItemClick,hn=ut.onOpenChange,gt=ut.onActive,On=n.useContext(w),Tn=On._internalRenderSubMenuItem,wn=n.useContext(Q),Sn=wn.isSubPathKey,_n=J(),Gt="".concat(rn,"-submenu"),on=Rt||xe,mn=n.useRef(),Cn=n.useRef(),gn=De!=null?De:fn,It=nt!=null?nt:Lt,Yt=At.includes(se),pn=!$t&&Yt,Pn=Sn(Qt,se),ln=_e(se,on,Qe,Ge),Rn=ln.active,$n=(0,U.Z)(ln,dn),Nn=n.useState(!1),Wn=(0,A.Z)(Nn,2),An=Wn[0],Zn=Wn[1],Ln=function(qt){on||Zn(qt)},vn=function(qt){Ln(!0),mt==null||mt({key:se,domEvent:qt})},Fn=function(qt){Ln(!1),it==null||it({key:se,domEvent:qt})},Bn=n.useMemo(function(){return Rn||(yt!=="inline"?An||Sn([Ht],se):!1)},[yt,Rn,Ht,An,se,Sn]),jn=We(_n.length),Un=function(qt){on||(Je==null||Je({key:se,domEvent:qt}),yt==="inline"&&hn(se,!Yt))},Mn=V(function(sn){at==null||at(Ke(sn)),Vt(sn)}),Dn=function(qt){yt!=="inline"&&hn(se,qt)},zn=function(){gt(se)},Jt=Dt&&"".concat(Dt,"-popup"),kn=n.createElement("div",(0,x.Z)({role:"menuitem",style:jn,className:"".concat(Gt,"-title"),tabIndex:on?null:-1,ref:mn,title:typeof he=="string"?he:null,"data-menu-id":$t&&Dt?null:Dt,"aria-expanded":pn,"aria-haspopup":!0,"aria-controls":Jt,"aria-disabled":on,onClick:Un,onFocus:zn},$n),he,n.createElement(Ve,{icon:yt!=="horizontal"?It:void 0,props:(0,W.Z)((0,W.Z)({},Y),{},{isOpen:pn,isSubMenu:!0})},n.createElement("i",{className:"".concat(Gt,"-arrow")}))),Bt=n.useRef(yt);if(yt!=="inline"&&_n.length>1?Bt.current="vertical":Bt.current=yt,!$t){var bn=Bt.current;kn=n.createElement(Ot,{mode:bn,prefixCls:Gt,visible:!we&&pn&&yt!=="inline",popupClassName:Be,popupOffset:Ie,popupStyle:lt,popup:n.createElement(C,{mode:bn==="horizontal"?"vertical":bn},n.createElement(Tt,{id:Jt,ref:Cn},ze)),disabled:on,onVisibleChange:Dn},kn)}var yn=n.createElement(e.Z.Item,(0,x.Z)({role:"none"},ft,{component:"li",style:ue,className:D()(Gt,"".concat(Gt,"-").concat(yt),q,(ne={},(0,R.Z)(ne,"".concat(Gt,"-open"),pn),(0,R.Z)(ne,"".concat(Gt,"-active"),Bn),(0,R.Z)(ne,"".concat(Gt,"-selected"),Pn),(0,R.Z)(ne,"".concat(Gt,"-disabled"),on),ne)),onMouseEnter:vn,onMouseLeave:Fn}),kn,!$t&&n.createElement(Xt,{id:Jt,open:pn,keyPath:_n},ze));return Tn&&(yn=Tn(yn,Y,{selected:Pn,active:Bn,open:pn,disabled:on})),n.createElement(C,{onItemClick:Mn,mode:yt==="horizontal"?"vertical":yt,itemIcon:gn,expandIcon:It},yn)};function un(H){var Y=H.eventKey,ne=H.children,ue=J(Y),q=vt(ne,ue),he=L();n.useEffect(function(){if(he)return he.registerPath(Y,ue),function(){he.unregisterPath(Y,ue)}},[ue]);var se;return he?se=q:se=n.createElement(bt,H,q),n.createElement(G.Provider,{value:ue},se)}var Zt=f(62853),Ft=["className","title","eventKey","children"],an=["children"],ot=function(Y){var ne=Y.className,ue=Y.title,q=Y.eventKey,he=Y.children,se=(0,U.Z)(Y,Ft),pe=n.useContext(d),xe=pe.prefixCls,we="".concat(xe,"-item-group");return n.createElement("li",(0,x.Z)({role:"presentation"},se,{onClick:function(De){return De.stopPropagation()},className:D()(we,ne)}),n.createElement("div",{role:"presentation",className:"".concat(we,"-title"),title:typeof ue=="string"?ue:void 0},ue),n.createElement("ul",{role:"group",className:"".concat(we,"-list")},he))};function cn(H){var Y=H.children,ne=(0,U.Z)(H,an),ue=J(ne.eventKey),q=vt(Y,ue),he=L();return he?q:n.createElement(ot,(0,$e.Z)(ne,["warnKey"]),q)}function Mt(H){var Y=H.className,ne=H.style,ue=n.useContext(d),q=ue.prefixCls,he=L();return he?null:n.createElement("li",{role:"separator",className:D()("".concat(q,"-item-divider"),Y),style:ne})}var In=["label","children","key","type"];function ve(H){return(H||[]).map(function(Y,ne){if(Y&&(0,Zt.Z)(Y)==="object"){var ue=Y,q=ue.label,he=ue.children,se=ue.key,pe=ue.type,xe=(0,U.Z)(ue,In),we=se!=null?se:"tmp-".concat(ne);return he||pe==="group"?pe==="group"?n.createElement(cn,(0,x.Z)({key:we},xe,{title:q}),ve(he)):n.createElement(un,(0,x.Z)({key:we},xe,{title:q}),ve(he)):pe==="divider"?n.createElement(Mt,(0,x.Z)({key:we},xe)):n.createElement(Ye,(0,x.Z)({key:we},xe),q)}return null}).filter(function(Y){return Y})}function de(H,Y,ne){var ue=H;return Y&&(ue=ve(Y)),vt(ue,ne)}var Ue=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],je=[],St=n.forwardRef(function(H,Y){var ne,ue,q=H,he=q.prefixCls,se=he===void 0?"rc-menu":he,pe=q.rootClassName,xe=q.style,we=q.className,ze=q.tabIndex,De=ze===void 0?0:ze,nt=q.items,Be=q.children,Ie=q.direction,lt=q.id,at=q.mode,mt=at===void 0?"vertical":at,it=q.inlineCollapsed,Je=q.disabled,Qe=q.disabledOverflow,Ge=q.subMenuOpenDelay,ft=Ge===void 0?.1:Ge,Dt=q.subMenuCloseDelay,ut=Dt===void 0?.1:Dt,rn=q.forceSubMenuRender,yt=q.defaultOpenKeys,At=q.openKeys,Rt=q.activeKey,$t=q.defaultActiveFirst,Ht=q.selectable,Qt=Ht===void 0?!0:Ht,fn=q.multiple,Lt=fn===void 0?!1:fn,Vt=q.defaultSelectedKeys,hn=q.selectedKeys,gt=q.onSelect,On=q.onDeselect,Tn=q.inlineIndent,wn=Tn===void 0?24:Tn,Sn=q.motion,_n=q.defaultMotions,Gt=q.triggerSubMenuAction,on=Gt===void 0?"hover":Gt,mn=q.builtinPlacements,Cn=q.itemIcon,gn=q.expandIcon,It=q.overflowedIndicator,Yt=It===void 0?"...":It,pn=q.overflowedIndicatorPopupClassName,Pn=q.getPopupContainer,ln=q.onClick,Rn=q.onOpenChange,$n=q.onKeyDown,Nn=q.openAnimation,Wn=q.openTransitionName,An=q._internalRenderMenuItem,Zn=q._internalRenderSubMenuItem,Ln=(0,U.Z)(q,Ue),vn=n.useMemo(function(){return de(Be,nt,je)},[Be,nt]),Fn=n.useState(!1),Bn=(0,A.Z)(Fn,2),jn=Bn[0],Un=Bn[1],Mn=n.useRef(),Dn=ae(lt),zn=Ie==="rtl",Jt=(0,E.Z)(yt,{value:At,postState:function(wt){return wt||je}}),kn=(0,A.Z)(Jt,2),Bt=kn[0],bn=kn[1],yn=function(wt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function xn(){bn(wt),Rn==null||Rn(wt)}kt?(0,s.flushSync)(xn):xn()},sn=n.useState(Bt),qt=(0,A.Z)(sn,2),Hn=qt[0],Xn=qt[1],Vn=n.useRef(!1),qn=n.useMemo(function(){return(mt==="inline"||mt==="vertical")&&it?["vertical",it]:[mt,!1]},[mt,it]),Qn=(0,A.Z)(qn,2),Kn=Qn[0],Ce=Qn[1],Ae=Kn==="inline",Nt=n.useState(Kn),jt=(0,A.Z)(Nt,2),ht=jt[0],Yn=jt[1],er=n.useState(Ce),tr=(0,A.Z)(er,2),Jn=tr[0],Er=tr[1];n.useEffect(function(){Yn(Kn),Er(Ce),Vn.current&&(Ae?bn(Hn):yn(je))},[Kn,Ce]);var Or=n.useState(0),fr=(0,A.Z)(Or,2),ir=fr[0],Sr=fr[1],or=ir>=vn.length-1||ht!=="horizontal"||Qe;n.useEffect(function(){Ae&&Xn(Bt)},[Bt]),n.useEffect(function(){return Vn.current=!0,function(){Vn.current=!1}},[]);var Gn=F(),hr=Gn.registerPath,_r=Gn.unregisterPath,Cr=Gn.refreshOverflowKeys,pr=Gn.isSubPathKey,Rr=Gn.getKeyPath,dr=Gn.getKeys,Ir=Gn.getSubPathKeys,Tr=n.useMemo(function(){return{registerPath:hr,unregisterPath:_r}},[hr,_r]),Pr=n.useMemo(function(){return{isSubPathKey:pr}},[pr]);n.useEffect(function(){Cr(or?je:vn.slice(ir+1).map(function(zt){return zt.key}))},[ir,or]);var $r=(0,E.Z)(Rt||$t&&((ne=vn[0])===null||ne===void 0?void 0:ne.key),{value:Rt}),mr=(0,A.Z)($r,2),nr=mr[0],lr=mr[1],Nr=V(function(zt){lr(zt)}),kr=V(function(){lr(void 0)});(0,n.useImperativeHandle)(Y,function(){return{list:Mn.current,focus:function(wt){var kt,xn=dr(),En=p(xn,Dn),ar=En.elements,ur=En.key2element,Kr=En.element2key,br=k(Mn.current,ar),yr=nr!=null?nr:br[0]?Kr.get(br[0]):(kt=vn.find(function(Fr){return!Fr.props.disabled}))===null||kt===void 0?void 0:kt.key,rr=ur.get(yr);if(yr&&rr){var cr;rr==null||(cr=rr.focus)===null||cr===void 0||cr.call(rr,wt)}}}});var Mr=(0,E.Z)(Vt||[],{value:hn,postState:function(wt){return Array.isArray(wt)?wt:wt==null?je:[wt]}}),gr=(0,A.Z)(Mr,2),sr=gr[0],Dr=gr[1],Ar=function(wt){if(Qt){var kt=wt.key,xn=sr.includes(kt),En;Lt?xn?En=sr.filter(function(ur){return ur!==kt}):En=[].concat((0,z.Z)(sr),[kt]):En=[kt],Dr(En);var ar=(0,W.Z)((0,W.Z)({},wt),{},{selectedKeys:En});xn?On==null||On(ar):gt==null||gt(ar)}!Lt&&Bt.length&&ht!=="inline"&&yn(je)},Lr=V(function(zt){ln==null||ln(Ke(zt)),Ar(zt)}),vr=V(function(zt,wt){var kt=Bt.filter(function(En){return En!==zt});if(wt)kt.push(zt);else if(ht!=="inline"){var xn=Ir(zt);kt=kt.filter(function(En){return!xn.has(En)})}(0,c.Z)(Bt,kt,!0)||yn(kt,!0)}),Br=function(wt,kt){var xn=kt!=null?kt:!Bt.includes(wt);vr(wt,xn)},jr=N(ht,nr,zn,Dn,Mn,dr,Rr,lr,Br,$n);n.useEffect(function(){Un(!0)},[]);var zr=n.useMemo(function(){return{_internalRenderMenuItem:An,_internalRenderSubMenuItem:Zn}},[An,Zn]),Wr=ht!=="horizontal"||Qe?vn:vn.map(function(zt,wt){return n.createElement(C,{key:zt.key,overflowDisabled:wt>ir},zt)}),Zr=n.createElement(e.Z,(0,x.Z)({id:lt,ref:Mn,prefixCls:"".concat(se,"-overflow"),component:"ul",itemComponent:Ye,className:D()(se,"".concat(se,"-root"),"".concat(se,"-").concat(ht),we,(ue={},(0,R.Z)(ue,"".concat(se,"-inline-collapsed"),Jn),(0,R.Z)(ue,"".concat(se,"-rtl"),zn),ue),pe),dir:Ie,style:xe,role:"menu",tabIndex:De,data:Wr,renderRawItem:function(wt){return wt},renderRawRest:function(wt){var kt=wt.length,xn=kt?vn.slice(-kt):null;return n.createElement(un,{eventKey:Z,title:Yt,disabled:or,internalPopupClose:kt===0,popupClassName:pn},xn)},maxCount:ht!=="horizontal"||Qe?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(wt){Sr(wt)},onKeyDown:jr},Ln));return n.createElement(w.Provider,{value:zr},n.createElement(a.Provider,{value:Dn},n.createElement(C,{prefixCls:se,rootClassName:pe,mode:ht,openKeys:Bt,rtl:zn,disabled:Je,motion:jn?Sn:null,defaultMotions:jn?_n:null,activeKey:nr,onActive:Nr,onInactive:kr,selectedKeys:sr,inlineIndent:wn,subMenuOpenDelay:ft,subMenuCloseDelay:ut,forceSubMenuRender:rn,builtinPlacements:mn,triggerSubMenuAction:on,getPopupContainer:Pn,itemIcon:Cn,expandIcon:gn,onItemClick:Lr,onOpenChange:vr},n.createElement(Q.Provider,{value:Pr},Zr),n.createElement("div",{style:{display:"none"},"aria-hidden":!0},n.createElement(P.Provider,{value:Tr},vn)))))}),Ut=St,Ct=Ut;Ct.Item=Ye,Ct.SubMenu=un,Ct.ItemGroup=cn,Ct.Divider=Mt;var Ne=Ct},11780:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return b}});var x=f(72308),R=f(77321),W=f(52487),z=f(74416),A=f(59301),U=f(92310),K=f.n(U),D=f(29301),e=f(34280),E=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],c=void 0;function i(t,r){var m=t.prefixCls,T=t.invalidate,X=t.item,ee=t.renderItem,ce=t.responsive,fe=t.responsiveDisabled,be=t.registerSize,Re=t.itemKey,Me=t.className,Pe=t.style,Te=t.children,Fe=t.display,Le=t.order,Ze=t.component,ke=Ze===void 0?"div":Ze,k=(0,z.Z)(t,E),B=ce&&!Fe;function p($){be(Re,$)}A.useEffect(function(){return function(){p(null)}},[]);var N=ee&&X!==c?ee(X,{index:Le}):Te,j;T||(j={opacity:B?0:1,height:B?0:c,overflowY:B?"hidden":c,order:ce?Le:c,pointerEvents:B?"none":c,position:B?"absolute":c});var o={};B&&(o["aria-hidden"]=!0);var S=A.createElement(ke,(0,x.Z)({className:K()(!T&&m,Me),style:(0,R.Z)((0,R.Z)({},j),Pe)},o,k,{ref:r}),N);return ce&&(S=A.createElement(D.Z,{onResize:function(Z){var F=Z.offsetWidth;p(F)},disabled:fe},S)),S}var n=A.forwardRef(i);n.displayName="Item";var s=n,a=f(6089),g=f(4676),v=f(16089);function h(t){if(typeof MessageChannel=="undefined")(0,v.Z)(t);else{var r=new MessageChannel;r.port1.onmessage=function(){return t()},r.port2.postMessage(void 0)}}function u(){var t=A.useRef(null),r=function(T){t.current||(t.current=[],h(function(){(0,g.unstable_batchedUpdates)(function(){t.current.forEach(function(X){X()}),t.current=null})})),t.current.push(T)};return r}function d(t,r){var m=A.useState(r),T=(0,W.Z)(m,2),X=T[0],ee=T[1],ce=(0,a.Z)(function(fe){t(function(){ee(fe)})});return[X,ce]}var I=A.createContext(null),C=["component"],M=["className"],P=["className"],L=function(r,m){var T=A.useContext(I);if(!T){var X=r.component,ee=X===void 0?"div":X,ce=(0,z.Z)(r,C);return A.createElement(ee,(0,x.Z)({},ce,{ref:m}))}var fe=T.className,be=(0,z.Z)(T,M),Re=r.className,Me=(0,z.Z)(r,P);return A.createElement(I.Provider,{value:null},A.createElement(s,(0,x.Z)({ref:m,className:K()(fe,Re)},be,Me)))},G=A.forwardRef(L);G.displayName="RawItem";var J=G,Q=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],re="responsive",w="invalidate";function _(t){return"+ ".concat(t.length," ...")}function y(t,r){var m=t.prefixCls,T=m===void 0?"rc-overflow":m,X=t.data,ee=X===void 0?[]:X,ce=t.renderItem,fe=t.renderRawItem,be=t.itemKey,Re=t.itemWidth,Me=Re===void 0?10:Re,Pe=t.ssr,Te=t.style,Fe=t.className,Le=t.maxCount,Ze=t.renderRest,ke=t.renderRawRest,k=t.suffix,B=t.component,p=B===void 0?"div":B,N=t.itemComponent,j=t.onVisibleChange,o=(0,z.Z)(t,Q),S=Pe==="full",$=u(),Z=d($,null),F=(0,W.Z)(Z,2),V=F[0],te=F[1],le=V||0,ae=d($,new Map),oe=(0,W.Z)(ae,2),Ee=oe[0],ye=oe[1],ge=d($,0),$e=(0,W.Z)(ge,2),Se=$e[0],_e=$e[1],We=d($,0),Ve=(0,W.Z)(We,2),qe=Ve[0],Ke=Ve[1],_t=d($,0),et=(0,W.Z)(_t,2),ct=et[0],tt=et[1],xt=(0,A.useState)(null),He=(0,W.Z)(xt,2),Ye=He[0],Xe=He[1],rt=(0,A.useState)(null),me=(0,W.Z)(rt,2),Tt=me[0],st=me[1],vt=A.useMemo(function(){return Tt===null&&S?Number.MAX_SAFE_INTEGER:Tt||0},[Tt,V]),Pt=(0,A.useState)(!1),pt=(0,W.Z)(Pt,2),Wt=pt[0],en=pt[1],dt="".concat(T,"-item"),Kt=Math.max(Se,qe),Et=Le===re,Ot=ee.length&&Et,tn=Le===w,Xt=Ot||typeof Le=="number"&&ee.length>Le,nn=(0,A.useMemo)(function(){var Ne=ee;return Ot?V===null&&S?Ne=ee:Ne=ee.slice(0,Math.min(ee.length,le/Me)):typeof Le=="number"&&(Ne=ee.slice(0,Le)),Ne},[ee,Me,V,Le,Ot]),dn=(0,A.useMemo)(function(){return Ot?ee.slice(vt+1):ee.slice(nn.length)},[ee,nn,Ot,vt]),bt=(0,A.useCallback)(function(Ne,H){var Y;return typeof be=="function"?be(Ne):(Y=be&&(Ne==null?void 0:Ne[be]))!==null&&Y!==void 0?Y:H},[be]),un=(0,A.useCallback)(ce||function(Ne){return Ne},[ce]);function Zt(Ne,H,Y){Tt===Ne&&(H===void 0||H===Ye)||(st(Ne),Y||(en(Ne<ee.length-1),j==null||j(Ne)),H!==void 0&&Xe(H))}function Ft(Ne,H){te(H.clientWidth)}function an(Ne,H){ye(function(Y){var ne=new Map(Y);return H===null?ne.delete(Ne):ne.set(Ne,H),ne})}function ot(Ne,H){Ke(H),_e(qe)}function cn(Ne,H){tt(H)}function Mt(Ne){return Ee.get(bt(nn[Ne],Ne))}(0,e.Z)(function(){if(le&&typeof Kt=="number"&&nn){var Ne=ct,H=nn.length,Y=H-1;if(!H){Zt(0,null);return}for(var ne=0;ne<H;ne+=1){var ue=Mt(ne);if(S&&(ue=ue||0),ue===void 0){Zt(ne-1,void 0,!0);break}if(Ne+=ue,Y===0&&Ne<=le||ne===Y-1&&Ne+Mt(Y)<=le){Zt(Y,null);break}else if(Ne+Kt>le){Zt(ne-1,Ne-ue-ct+qe);break}}k&&Mt(0)+ct>le&&Xe(null)}},[le,Ee,qe,ct,bt,nn]);var In=Wt&&!!dn.length,ve={};Ye!==null&&Ot&&(ve={position:"absolute",left:Ye,top:0});var de={prefixCls:dt,responsive:Ot,component:N,invalidate:tn},Ue=fe?function(Ne,H){var Y=bt(Ne,H);return A.createElement(I.Provider,{key:Y,value:(0,R.Z)((0,R.Z)({},de),{},{order:H,item:Ne,itemKey:Y,registerSize:an,display:H<=vt})},fe(Ne,H))}:function(Ne,H){var Y=bt(Ne,H);return A.createElement(s,(0,x.Z)({},de,{order:H,key:Y,item:Ne,renderItem:un,itemKey:Y,registerSize:an,display:H<=vt}))},je={order:In?vt:Number.MAX_SAFE_INTEGER,className:"".concat(dt,"-rest"),registerSize:ot,display:In},St=Ze||_,Ut=ke?A.createElement(I.Provider,{value:(0,R.Z)((0,R.Z)({},de),je)},ke(dn)):A.createElement(s,(0,x.Z)({},de,je),typeof St=="function"?St(dn):St),Ct=A.createElement(p,(0,x.Z)({className:K()(!tn&&T,Fe),style:Te,ref:r},o),nn.map(Ue),Xt?Ut:null,k&&A.createElement(s,(0,x.Z)({},de,{responsive:Et,responsiveDisabled:!Ot,order:vt,className:"".concat(dt,"-suffix"),registerSize:cn,display:!0,style:ve}),k));return Et?A.createElement(D.Z,{onResize:Ft,disabled:!Ot},Ct):Ct}var l=A.forwardRef(y);l.displayName="Overflow",l.Item=J,l.RESPONSIVE=re,l.INVALIDATE=w;var O=l,b=O},29301:function(Oe,ie,f){"use strict";f.d(ie,{Z:function(){return w}});var x=f(72308),R=f(59301),W=f(11592),z=f(48736),A=f(77321),U=f(62853),K=f(76846),D=f(8654),e=R.createContext(null);function E(_){var y=_.children,l=_.onBatchResize,O=R.useRef(0),b=R.useRef([]),t=R.useContext(e),r=R.useCallback(function(m,T,X){O.current+=1;var ee=O.current;b.current.push({size:m,element:T,data:X}),Promise.resolve().then(function(){ee===O.current&&(l==null||l(b.current),b.current=[])}),t==null||t(m,T,X)},[l,t]);return R.createElement(e.Provider,{value:r},y)}var c=f(76374),i=new Map;function n(_){_.forEach(function(y){var l,O=y.target;(l=i.get(O))===null||l===void 0||l.forEach(function(b){return b(O)})})}var s=new c.Z(n),a=null,g=null;function v(_,y){i.has(_)||(i.set(_,new Set),s.observe(_)),i.get(_).add(y)}function h(_,y){i.has(_)&&(i.get(_).delete(y),i.get(_).size||(s.unobserve(_),i.delete(_)))}var u=f(96949),d=f(55090),I=f(77205),C=f(38793),M=function(_){(0,I.Z)(l,_);var y=(0,C.Z)(l);function l(){return(0,u.Z)(this,l),y.apply(this,arguments)}return(0,d.Z)(l,[{key:"render",value:function(){return this.props.children}}]),l}(R.Component);function P(_,y){var l=_.children,O=_.disabled,b=R.useRef(null),t=R.useRef(null),r=R.useContext(e),m=typeof l=="function",T=m?l(b):l,X=R.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ee=!m&&R.isValidElement(T)&&(0,D.Yr)(T),ce=ee?(0,D.C4)(T):null,fe=(0,D.x1)(ce,b),be=function(){var Te;return(0,K.ZP)(b.current)||(b.current&&(0,U.Z)(b.current)==="object"?(0,K.ZP)((Te=b.current)===null||Te===void 0?void 0:Te.nativeElement):null)||(0,K.ZP)(t.current)};R.useImperativeHandle(y,function(){return be()});var Re=R.useRef(_);Re.current=_;var Me=R.useCallback(function(Pe){var Te=Re.current,Fe=Te.onResize,Le=Te.data,Ze=Pe.getBoundingClientRect(),ke=Ze.width,k=Ze.height,B=Pe.offsetWidth,p=Pe.offsetHeight,N=Math.floor(ke),j=Math.floor(k);if(X.current.width!==N||X.current.height!==j||X.current.offsetWidth!==B||X.current.offsetHeight!==p){var o={width:N,height:j,offsetWidth:B,offsetHeight:p};X.current=o;var S=B===Math.round(ke)?ke:B,$=p===Math.round(k)?k:p,Z=(0,A.Z)((0,A.Z)({},o),{},{offsetWidth:S,offsetHeight:$});r==null||r(Z,Pe,Le),Fe&&Promise.resolve().then(function(){Fe(Z,Pe)})}},[]);return R.useEffect(function(){var Pe=be();return Pe&&!O&&v(Pe,Me),function(){return h(Pe,Me)}},[b.current,O]),R.createElement(M,{ref:t},ee?R.cloneElement(T,{ref:fe}):T)}var L=R.forwardRef(P),G=L,J="rc-observer-key";function Q(_,y){var l=_.children,O=typeof l=="function"?[l]:(0,W.Z)(l);return O.map(function(b,t){var r=(b==null?void 0:b.key)||"".concat(J,"-").concat(t);return R.createElement(G,(0,x.Z)({},_,{key:r,ref:t===0?y:void 0}),b)})}var re=R.forwardRef(Q);re.Collection=E;var w=re},55477:function(Oe,ie,f){"use strict";f.d(ie,{G:function(){return n},Z:function(){return v}});var x=f(72308),R=f(77321),W=f(74416),z=f(35593),A=f(59301),U={shiftX:64,adjustY:1},K={adjustX:1,shiftY:!0},D=[0,0],e={left:{points:["cr","cl"],overflow:K,offset:[-4,0],targetOffset:D},right:{points:["cl","cr"],overflow:K,offset:[4,0],targetOffset:D},top:{points:["bc","tc"],overflow:U,offset:[0,-4],targetOffset:D},bottom:{points:["tc","bc"],overflow:U,offset:[0,4],targetOffset:D},topLeft:{points:["bl","tl"],overflow:U,offset:[0,-4],targetOffset:D},leftTop:{points:["tr","tl"],overflow:K,offset:[-4,0],targetOffset:D},topRight:{points:["br","tr"],overflow:U,offset:[0,-4],targetOffset:D},rightTop:{points:["tl","tr"],overflow:K,offset:[4,0],targetOffset:D},bottomRight:{points:["tr","br"],overflow:U,offset:[0,4],targetOffset:D},rightBottom:{points:["bl","br"],overflow:K,offset:[4,0],targetOffset:D},bottomLeft:{points:["tl","bl"],overflow:U,offset:[0,4],targetOffset:D},leftBottom:{points:["br","bl"],overflow:K,offset:[-4,0],targetOffset:D}},E=null,c=f(92310),i=f.n(c);function n(h){var u=h.children,d=h.prefixCls,I=h.id,C=h.overlayInnerStyle,M=h.className,P=h.style;return A.createElement("div",{className:i()("".concat(d,"-content"),M),style:P},A.createElement("div",{className:"".concat(d,"-inner"),id:I,role:"tooltip",style:C},typeof u=="function"?u():u))}var s=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],a=function(u,d){var I=u.overlayClassName,C=u.trigger,M=C===void 0?["hover"]:C,P=u.mouseEnterDelay,L=P===void 0?0:P,G=u.mouseLeaveDelay,J=G===void 0?.1:G,Q=u.overlayStyle,re=u.prefixCls,w=re===void 0?"rc-tooltip":re,_=u.children,y=u.onVisibleChange,l=u.afterVisibleChange,O=u.transitionName,b=u.animation,t=u.motion,r=u.placement,m=r===void 0?"right":r,T=u.align,X=T===void 0?{}:T,ee=u.destroyTooltipOnHide,ce=ee===void 0?!1:ee,fe=u.defaultVisible,be=u.getTooltipContainer,Re=u.overlayInnerStyle,Me=u.arrowContent,Pe=u.overlay,Te=u.id,Fe=u.showArrow,Le=Fe===void 0?!0:Fe,Ze=(0,W.Z)(u,s),ke=(0,A.useRef)(null);(0,A.useImperativeHandle)(d,function(){return ke.current});var k=(0,R.Z)({},Ze);"visible"in u&&(k.popupVisible=u.visible);var B=function(){return A.createElement(n,{key:"content",prefixCls:w,id:Te,overlayInnerStyle:Re},Pe)};return A.createElement(z.Z,(0,x.Z)({popupClassName:I,prefixCls:w,popup:B,action:M,builtinPlacements:e,popupPlacement:m,ref:ke,popupAlign:X,getPopupContainer:be,onPopupVisibleChange:y,afterPopupVisibleChange:l,popupTransitionName:O,popupAnimation:b,popupMotion:t,defaultPopupVisible:fe,autoDestroy:ce,mouseLeaveDelay:J,popupStyle:Q,mouseEnterDelay:L,arrow:Le},k),_)},g=(0,A.forwardRef)(a),v=g},49658:function(Oe,ie){"use strict";ie.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var f=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(f)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(f==null?void 0:f.substr(0,4))}},83145:function(Oe,ie,f){"use strict";Object.defineProperty(ie,"__esModule",{value:!0}),ie.CopyToClipboard=void 0;var x=W(f(59301)),R=W(f(25769));function W(u){return u&&u.__esModule?u:{default:u}}function z(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?z=function(I){return typeof I}:z=function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},z(u)}function A(u,d){var I=Object.keys(u);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(u);d&&(C=C.filter(function(M){return Object.getOwnPropertyDescriptor(u,M).enumerable})),I.push.apply(I,C)}return I}function U(u){for(var d=1;d<arguments.length;d++){var I=arguments[d]!=null?arguments[d]:{};d%2?A(I,!0).forEach(function(C){v(u,C,I[C])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(I)):A(I).forEach(function(C){Object.defineProperty(u,C,Object.getOwnPropertyDescriptor(I,C))})}return u}function K(u,d){if(u==null)return{};var I=D(u,d),C,M;if(Object.getOwnPropertySymbols){var P=Object.getOwnPropertySymbols(u);for(M=0;M<P.length;M++)C=P[M],!(d.indexOf(C)>=0)&&Object.prototype.propertyIsEnumerable.call(u,C)&&(I[C]=u[C])}return I}function D(u,d){if(u==null)return{};var I={},C=Object.keys(u),M,P;for(P=0;P<C.length;P++)M=C[P],!(d.indexOf(M)>=0)&&(I[M]=u[M]);return I}function e(u,d){if(!(u instanceof d))throw new TypeError("Cannot call a class as a function")}function E(u,d){for(var I=0;I<d.length;I++){var C=d[I];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(u,C.key,C)}}function c(u,d,I){return d&&E(u.prototype,d),I&&E(u,I),u}function i(u,d){return d&&(z(d)==="object"||typeof d=="function")?d:s(u)}function n(u){return n=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},n(u)}function s(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function a(u,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(d&&d.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),d&&g(u,d)}function g(u,d){return g=Object.setPrototypeOf||function(C,M){return C.__proto__=M,C},g(u,d)}function v(u,d,I){return d in u?Object.defineProperty(u,d,{value:I,enumerable:!0,configurable:!0,writable:!0}):u[d]=I,u}var h=function(u){a(d,u);function d(){var I,C;e(this,d);for(var M=arguments.length,P=new Array(M),L=0;L<M;L++)P[L]=arguments[L];return C=i(this,(I=n(d)).call.apply(I,[this].concat(P))),v(s(C),"onClick",function(G){var J=C.props,Q=J.text,re=J.onCopy,w=J.children,_=J.options,y=x.default.Children.only(w),l=(0,R.default)(Q,_);re&&re(Q,l),y&&y.props&&typeof y.props.onClick=="function"&&y.props.onClick(G)}),C}return c(d,[{key:"render",value:function(){var C=this.props,M=C.text,P=C.onCopy,L=C.options,G=C.children,J=K(C,["text","onCopy","options","children"]),Q=x.default.Children.only(G);return x.default.cloneElement(Q,U({},J,{onClick:this.onClick}))}}]),d}(x.default.PureComponent);ie.CopyToClipboard=h,v(h,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Oe,ie,f){"use strict";var x=f(83145),R=x.CopyToClipboard;R.CopyToClipboard=R,Oe.exports=R},76374:function(Oe,ie,f){"use strict";var x=function(){if(typeof Map!="undefined")return Map;function w(_,y){var l=-1;return _.some(function(O,b){return O[0]===y?(l=b,!0):!1}),l}return function(){function _(){this.__entries__=[]}return Object.defineProperty(_.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),_.prototype.get=function(y){var l=w(this.__entries__,y),O=this.__entries__[l];return O&&O[1]},_.prototype.set=function(y,l){var O=w(this.__entries__,y);~O?this.__entries__[O][1]=l:this.__entries__.push([y,l])},_.prototype.delete=function(y){var l=this.__entries__,O=w(l,y);~O&&l.splice(O,1)},_.prototype.has=function(y){return!!~w(this.__entries__,y)},_.prototype.clear=function(){this.__entries__.splice(0)},_.prototype.forEach=function(y,l){l===void 0&&(l=null);for(var O=0,b=this.__entries__;O<b.length;O++){var t=b[O];y.call(l,t[1],t[0])}},_}()}(),R=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,W=function(){return typeof f.g!="undefined"&&f.g.Math===Math?f.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),z=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(W):function(w){return setTimeout(function(){return w(Date.now())},1e3/60)}}(),A=2;function U(w,_){var y=!1,l=!1,O=0;function b(){y&&(y=!1,w()),l&&r()}function t(){z(b)}function r(){var m=Date.now();if(y){if(m-O<A)return;l=!0}else y=!0,l=!1,setTimeout(t,_);O=m}return r}var K=20,D=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",E=function(){function w(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=U(this.refresh.bind(this),K)}return w.prototype.addObserver=function(_){~this.observers_.indexOf(_)||this.observers_.push(_),this.connected_||this.connect_()},w.prototype.removeObserver=function(_){var y=this.observers_,l=y.indexOf(_);~l&&y.splice(l,1),!y.length&&this.connected_&&this.disconnect_()},w.prototype.refresh=function(){var _=this.updateObservers_();_&&this.refresh()},w.prototype.updateObservers_=function(){var _=this.observers_.filter(function(y){return y.gatherActive(),y.hasActive()});return _.forEach(function(y){return y.broadcastActive()}),_.length>0},w.prototype.connect_=function(){!R||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},w.prototype.disconnect_=function(){!R||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},w.prototype.onTransitionEnd_=function(_){var y=_.propertyName,l=y===void 0?"":y,O=D.some(function(b){return!!~l.indexOf(b)});O&&this.refresh()},w.getInstance=function(){return this.instance_||(this.instance_=new w),this.instance_},w.instance_=null,w}(),c=function(w,_){for(var y=0,l=Object.keys(_);y<l.length;y++){var O=l[y];Object.defineProperty(w,O,{value:_[O],enumerable:!1,writable:!1,configurable:!0})}return w},i=function(w){var _=w&&w.ownerDocument&&w.ownerDocument.defaultView;return _||W},n=M(0,0,0,0);function s(w){return parseFloat(w)||0}function a(w){for(var _=[],y=1;y<arguments.length;y++)_[y-1]=arguments[y];return _.reduce(function(l,O){var b=w["border-"+O+"-width"];return l+s(b)},0)}function g(w){for(var _=["top","right","bottom","left"],y={},l=0,O=_;l<O.length;l++){var b=O[l],t=w["padding-"+b];y[b]=s(t)}return y}function v(w){var _=w.getBBox();return M(0,0,_.width,_.height)}function h(w){var _=w.clientWidth,y=w.clientHeight;if(!_&&!y)return n;var l=i(w).getComputedStyle(w),O=g(l),b=O.left+O.right,t=O.top+O.bottom,r=s(l.width),m=s(l.height);if(l.boxSizing==="border-box"&&(Math.round(r+b)!==_&&(r-=a(l,"left","right")+b),Math.round(m+t)!==y&&(m-=a(l,"top","bottom")+t)),!d(w)){var T=Math.round(r+b)-_,X=Math.round(m+t)-y;Math.abs(T)!==1&&(r-=T),Math.abs(X)!==1&&(m-=X)}return M(O.left,O.top,r,m)}var u=function(){return typeof SVGGraphicsElement!="undefined"?function(w){return w instanceof i(w).SVGGraphicsElement}:function(w){return w instanceof i(w).SVGElement&&typeof w.getBBox=="function"}}();function d(w){return w===i(w).document.documentElement}function I(w){return R?u(w)?v(w):h(w):n}function C(w){var _=w.x,y=w.y,l=w.width,O=w.height,b=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,t=Object.create(b.prototype);return c(t,{x:_,y,width:l,height:O,top:y,right:_+l,bottom:O+y,left:_}),t}function M(w,_,y,l){return{x:w,y:_,width:y,height:l}}var P=function(){function w(_){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=M(0,0,0,0),this.target=_}return w.prototype.isActive=function(){var _=I(this.target);return this.contentRect_=_,_.width!==this.broadcastWidth||_.height!==this.broadcastHeight},w.prototype.broadcastRect=function(){var _=this.contentRect_;return this.broadcastWidth=_.width,this.broadcastHeight=_.height,_},w}(),L=function(){function w(_,y){var l=C(y);c(this,{target:_,contentRect:l})}return w}(),G=function(){function w(_,y,l){if(this.activeObservations_=[],this.observations_=new x,typeof _!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=_,this.controller_=y,this.callbackCtx_=l}return w.prototype.observe=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof i(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var y=this.observations_;y.has(_)||(y.set(_,new P(_)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(_){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(_ instanceof i(_).Element))throw new TypeError('parameter 1 is not of type "Element".');var y=this.observations_;y.has(_)&&(y.delete(_),y.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var _=this;this.clearActive(),this.observations_.forEach(function(y){y.isActive()&&_.activeObservations_.push(y)})},w.prototype.broadcastActive=function(){if(this.hasActive()){var _=this.callbackCtx_,y=this.activeObservations_.map(function(l){return new L(l.target,l.broadcastRect())});this.callback_.call(_,y,_),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0},w}(),J=typeof WeakMap!="undefined"?new WeakMap:new x,Q=function(){function w(_){if(!(this instanceof w))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var y=E.getInstance(),l=new G(_,y,this);J.set(this,l)}return w}();["observe","unobserve","disconnect"].forEach(function(w){Q.prototype[w]=function(){var _;return(_=J.get(this))[w].apply(_,arguments)}});var re=function(){return typeof W.ResizeObserver!="undefined"?W.ResizeObserver:Q}();ie.Z=re},98040:function(Oe){Oe.exports=function(){var ie=document.getSelection();if(!ie.rangeCount)return function(){};for(var f=document.activeElement,x=[],R=0;R<ie.rangeCount;R++)x.push(ie.getRangeAt(R));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return ie.removeAllRanges(),function(){ie.type==="Caret"&&ie.removeAllRanges(),ie.rangeCount||x.forEach(function(W){ie.addRange(W)}),f&&f.focus()}}}}]);
|