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(xe,re,f){"use strict";f.d(re,{Z:function(){return D}});var x=f(96663),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(xe,re,f){"use strict";f.d(re,{Z:function(){return D}});var x=f(96663),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(xe,re,f){"use strict";f.d(re,{Z:function(){return D}});var x=f(96663),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(xe,re,f){"use strict";f.d(re,{Z:function(){return D}});var x=f(96663),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(xe,re,f){"use strict";f.d(re,{Z:function(){return D}});var x=f(96663),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(xe,re,f){"use strict";f.d(re,{Z:function(){return ke}});var x=f(44127),R=f(72071),W=f(6620),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(96663),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,ee=V===void 0?0:V,ue=s.useRef();if(!p||!p.points)return null;var ae={position:"absolute"};if(p.autoArrow!==!1){var oe=p.points[0],ye=p.points[1],ve=oe[0],me=oe[1],Ne=ye[0],Oe=ye[1];ve===Ne||!["t","b"].includes(ve)?ae.top=ee:ve==="t"?ae.top=0:ae.bottom=0,me===Oe||!["l","r"].includes(me)?ae.left=F:me==="l"?ae.left=0:ae.right=0}return s.createElement("div",{ref:ue,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,ee=k.onClick,ue=k.mask,ae=k.arrow,oe=k.arrowPos,ye=k.align,ve=k.motion,me=k.maskMotion,Ne=k.forceRender,Oe=k.getPopupContainer,_e=k.autoDestroy,ze=k.portal,Ge=k.zIndex,qe=k.onMouseEnter,Ke=k.onMouseLeave,pt=k.onPointerEnter,et=k.ready,ft=k.offsetX,nt=k.offsetY,wt=k.offsetR,He=k.offsetB,tt=k.onAlign,We=k.onPrepare,Ie=k.stretch,je=k.targetWidth,xt=k.targetHeight,it=typeof p=="function"?p():p,Et=Z||F,Pt=(Oe==null?void 0:Oe.length)>0,dt=s.useState(!Oe||!Pt),Mt=(0,R.Z)(dt,2),lt=Mt[0],wn=Mt[1];if((0,i.Z)(function(){!lt&&Pt&&S&&wn(!0)},[lt,Pt,S]),!lt)return null;var Kt="auto",Ot={left:"-1000vw",top:"-1000vh",right:Kt,bottom:Kt};if(et||!Z){var St,Ft=ye.points,un=ye.dynamicInset||((St=ye._experimental)===null||St===void 0?void 0:St.dynamicInset),Ut=un&&Ft[0][1]==="r",sn=un&&Ft[0][0]==="b";Ut?(Ot.right=wt,Ot.left=Kt):(Ot.left=ft,Ot.right=Kt),sn?(Ot.bottom=He,Ot.top=Kt):(Ot.top=nt,Ot.bottom=Kt)}var Ct={};return Ie&&(Ie.includes("height")&&xt?Ct.height=xt:Ie.includes("minHeight")&&xt&&(Ct.minHeight=xt),Ie.includes("width")&&je?Ct.width=je:Ie.includes("minWidth")&&je&&(Ct.minWidth=je)),Z||(Ct.pointerEvents="none"),s.createElement(ze,{open:Ne||Et,getContainer:Oe&&function(){return Oe(S)},autoDestroy:_e},s.createElement(u,{prefixCls:j,open:Z,zIndex:Ge,mask:ue,motion:me}),s.createElement(K.Z,{onResize:tt,disabled:!Z},function(Qt){return s.createElement(g.default,(0,a.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ne,leavedClassName:"".concat(j,"-hidden")},ve,{onAppearPrepare:We,onEnterPrepare:We,visible:Z,onVisibleChanged:function(Ht){var cn;ve==null||(cn=ve.onVisibleChanged)===null||cn===void 0||cn.call(ve,Ht),$(Ht)}}),function(tn,Ht){var cn=tn.className,at=tn.style,an=U()(j,cn,N);return s.createElement("div",{ref:(0,v.sQ)(Qt,B,Ht),className:an,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")},Ot),Ct),at),{},{boxSizing:"border-box",zIndex:Ge},o),onMouseEnter:qe,onMouseLeave:Ke,onPointerEnter:pt,onClick:ee},ae&&s.createElement(h,{prefixCls:j,arrow:ae,arrowPos:oe,align:ye}),s.createElement(I,{cache:!Z&&!V},it))})}))}),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 ne(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,ee=N.getBoundingClientRect(),ue=N.offsetHeight,ae=N.clientHeight,oe=N.offsetWidth,ye=N.clientWidth,ve=r($),me=r(Z),Ne=r(F),Oe=r(V),_e=t(Math.round(ee.width/oe*1e3)/1e3),ze=t(Math.round(ee.height/ue*1e3)/1e3),Ge=(oe-ye-Ne-Oe)*_e,qe=(ue-ae-ve-me)*ze,Ke=ve*ze,pt=me*ze,et=Ne*_e,ft=Oe*_e,nt=0,wt=0;if(o==="clip"){var He=r(S);nt=He*_e,wt=He*ze}var tt=ee.x+et-nt,We=ee.y+Ke-wt,Ie=tt+ee.width+2*nt-et-ft-Ge,je=We+ee.height+2*wt-Ke-pt-qe;p.left=Math.max(p.left,tt),p.top=Math.max(p.top,We),p.right=Math.min(p.right,Ie),p.bottom=Math.min(p.bottom,je)}}),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 q(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[k[0],k[1]]}function fe(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 he(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 ge(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],ee=s.useRef(0),ue=s.useMemo(function(){return B?b(B):[]},[B]),ae=s.useRef({}),oe=function(){ae.current={}};k||oe();var ye=(0,E.Z)(function(){if(B&&p&&k){let qt=function(jt,bn){var yn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:an,rn=it.x+jt,en=it.y+bn,Hn=rn+St,Xn=en+Ot,Vn=Math.max(rn,yn.left),qn=Math.max(en,yn.top),Qn=Math.min(Hn,yn.right),Kn=Math.min(Xn,yn.bottom);return Math.max(0,(Qn-Vn)*(Kn-qn))},kn=function(){Lt=it.y+Te,It=Lt+Ot,$t=it.x+Be,Vt=$t+St};var Ne,Oe,_e=B,ze=_e.ownerDocument,Ge=O(_e),qe=Ge.getComputedStyle(_e),Ke=qe.width,pt=qe.height,et=qe.position,ft=_e.style.left,nt=_e.style.top,wt=_e.style.right,He=_e.style.bottom,tt=_e.style.overflow,We=(0,x.Z)((0,x.Z)({},j[N]),o),Ie=ze.createElement("div");(Ne=_e.parentElement)===null||Ne===void 0||Ne.appendChild(Ie),Ie.style.left="".concat(_e.offsetLeft,"px"),Ie.style.top="".concat(_e.offsetTop,"px"),Ie.style.position=et,Ie.style.height="".concat(_e.offsetHeight,"px"),Ie.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 je;if(Array.isArray(p))je={x:p[0],y:p[1],width:0,height:0};else{var xt=p.getBoundingClientRect();je={x:xt.x,y:xt.y,width:xt.width,height:xt.height}}var it=_e.getBoundingClientRect(),Et=ze.documentElement,Pt=Et.clientWidth,dt=Et.clientHeight,Mt=Et.scrollWidth,lt=Et.scrollHeight,wn=Et.scrollTop,Kt=Et.scrollLeft,Ot=it.height,St=it.width,Ft=je.height,un=je.width,Ut={left:0,top:0,right:Pt,bottom:dt},sn={left:-Kt,top:-wn,right:Mt-Kt,bottom:lt-wn},Ct=We.htmlRegion,Qt="visible",tn="visibleFirst";Ct!=="scroll"&&Ct!==tn&&(Ct=Qt);var Ht=Ct===tn,cn=m(sn,ue),at=m(Ut,ue),an=Ct===Qt?at:cn,Dt=Ht?at:an;_e.style.left="auto",_e.style.top="auto",_e.style.right="0",_e.style.bottom="0";var we=_e.getBoundingClientRect();_e.style.left=ft,_e.style.top=nt,_e.style.right=wt,_e.style.bottom=He,_e.style.overflow=tt,(Oe=_e.parentElement)===null||Oe===void 0||Oe.removeChild(Ie);var de=t(Math.round(St/parseFloat(Ke)*1e3)/1e3),De=t(Math.round(Ot/parseFloat(pt)*1e3)/1e3);if(de===0||De===0||(0,D.Sh)(p)&&!(0,w.Z)(p))return;var mt=We.offset,Ve=We.targetOffset,Zt=X(it,mt),dn=(0,R.Z)(Zt,2),Rt=dn[0],Ee=dn[1],H=X(je,Ve),Y=(0,R.Z)(H,2),ie=Y[0],ce=Y[1];je.x-=ie,je.y-=ce;var te=We.points||[],le=(0,R.Z)(te,2),se=le[0],pe=le[1],Re=q(pe),be=q(se),Fe=fe(je,Re),Xe=fe(it,be),rt=(0,x.Z)({},We),Be=Fe.x-Xe.x+Rt,Te=Fe.y-Xe.y+Ee,ut=qt(Be,Te),ot=qt(Be,Te,at),gt=fe(je,["t","l"]),st=fe(it,["t","l"]),Je=fe(je,["b","r"]),Ye=fe(it,["b","r"]),Qe=We.overflow||{},ht=Qe.adjustX,At=Qe.adjustY,ct=Qe.shiftX,nn=Qe.shiftY,bt=function(bn){return typeof bn=="boolean"?bn:bn>=0},Lt,It,$t,Vt;kn();var Yt=bt(At),fn=be[0]===Re[0];if(Yt&&be[0]==="t"&&(It>Dt.bottom||ae.current.bt)){var Bt=Te;fn?Bt-=Ot-Ft:Bt=gt.y-Ye.y-Ee;var Gt=qt(Be,Bt),hn=qt(Be,Bt,at);Gt>ut||Gt===ut&&(!Ht||hn>=ot)?(ae.current.bt=!0,Te=Bt,Ee=-Ee,rt.points=[he(be,0),he(Re,0)]):ae.current.bt=!1}if(Yt&&be[0]==="b"&&(Lt<Dt.top||ae.current.tb)){var vt=Te;fn?vt+=Ot-Ft:vt=Je.y-st.y-Ee;var Sn=qt(Be,vt),Tn=qt(Be,vt,at);Sn>ut||Sn===ut&&(!Ht||Tn>=ot)?(ae.current.tb=!0,Te=vt,Ee=-Ee,rt.points=[he(be,0),he(Re,0)]):ae.current.tb=!1}var xn=bt(ht),Cn=be[1]===Re[1];if(xn&&be[1]==="l"&&(Vt>Dt.right||ae.current.rl)){var _n=Be;Cn?_n-=St-un:_n=gt.x-Ye.x-Rt;var Xt=qt(_n,Te),on=qt(_n,Te,at);Xt>ut||Xt===ut&&(!Ht||on>=ot)?(ae.current.rl=!0,Be=_n,Rt=-Rt,rt.points=[he(be,1),he(Re,1)]):ae.current.rl=!1}if(xn&&be[1]==="r"&&($t<Dt.left||ae.current.lr)){var mn=Be;Cn?mn+=St-un:mn=Je.x-st.x-Rt;var Rn=qt(mn,Te),gn=qt(mn,Te,at);Rn>ut||Rn===ut&&(!Ht||gn>=ot)?(ae.current.lr=!0,Be=mn,Rt=-Rt,rt.points=[he(be,1),he(Re,1)]):ae.current.lr=!1}kn();var Tt=ct===!0?0:ct;typeof Tt=="number"&&($t<at.left&&(Be-=$t-at.left-Rt,je.x+un<at.left+Tt&&(Be+=je.x-at.left+un-Tt)),Vt>at.right&&(Be-=Vt-at.right-Rt,je.x>at.right-Tt&&(Be+=je.x-at.right+Tt)));var Jt=nn===!0?0:nn;typeof Jt=="number"&&(Lt<at.top&&(Te-=Lt-at.top-Ee,je.y+Ft<at.top+Jt&&(Te+=je.y-at.top+Ft-Jt)),It>at.bottom&&(Te-=It-at.bottom-Ee,je.y>at.bottom-Jt&&(Te+=je.y-at.bottom+Jt)));var pn=it.x+Be,Pn=pn+St,ln=it.y+Te,In=ln+Ot,$n=je.x,Nn=$n+un,Wn=je.y,An=Wn+Ft,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(In,An),Un=(Bn+jn)/2,Mn=Un-ln;S==null||S(B,rt);var Dn=we.right-it.x-(Be+it.width),zn=we.bottom-it.y-(Te+it.height);V({ready:!0,offsetX:Be/de,offsetY:Te/De,offsetR:Dn/de,offsetB:zn/De,arrowX:Fn/de,arrowY:Mn/De,scaleX:de,scaleY:De,align:rt})}}),ve=function(){ee.current+=1;var Oe=ee.current;Promise.resolve().then(function(){ee.current===Oe&&ye()})},me=function(){V(function(Oe){return(0,x.Z)((0,x.Z)({},Oe),{},{ready:!1})})};return(0,i.Z)(me,[N]),(0,i.Z)(function(){k||me()},[k]),[F.ready,F.offsetX,F.offsetY,F.offsetR,F.offsetB,F.arrowX,F.arrowY,F.scaleX,F.scaleY,F.align,ve]}var Ce=f(19127);function Me(k,B,p,N,j){(0,i.Z)(function(){if(k&&B&&p){let ee=function(){N(),j()};var o=B,S=p,$=b(o),Z=b(S),F=O(S),V=new Set([F].concat((0,Ce.Z)($),(0,Ce.Z)(Z)));return V.forEach(function(ue){ue.addEventListener("scroll",ee,{passive:!0})}),F.addEventListener("resize",ee,{passive:!0}),N(),function(){V.forEach(function(ue){ue.removeEventListener("scroll",ee),F.removeEventListener("resize",ee)})}}},[k,B,p])}var $e=f(48736),Pe=f(16089);function Ue(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,Pe.Z)(function(){F.current=!1});return function(){Pe.Z.cancel(V)}},[k]),s.useEffect(function(){if(B&&N&&(!j||o)){var V=function(){var et=!1,ft=function(He){var tt=He.target;et=S(tt)},nt=function(He){var tt=He.target;!F.current&&Z.current&&!et&&!S(tt)&&$(!1)};return[ft,nt]},ee=V(),ue=(0,R.Z)(ee,2),ae=ue[0],oe=ue[1],ye=V(),ve=(0,R.Z)(ye,2),me=ve[0],Ne=ve[1],Oe=O(N);Oe.addEventListener("mousedown",ae,!0),Oe.addEventListener("click",oe,!0),Oe.addEventListener("contextmenu",oe,!0);var _e=(0,e.A)(p);if(_e&&(_e.addEventListener("mousedown",me,!0),_e.addEventListener("click",Ne,!0),_e.addEventListener("contextmenu",Ne,!0)),0)var ze,Ge,qe,Ke;return function(){Oe.removeEventListener("mousedown",ae,!0),Oe.removeEventListener("click",oe,!0),Oe.removeEventListener("contextmenu",oe,!0),_e&&(_e.removeEventListener("mousedown",me,!0),_e.removeEventListener("click",Ne,!0),_e.removeEventListener("contextmenu",Ne,!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,ee=p.popupVisible,ue=p.defaultPopupVisible,ae=p.onPopupVisibleChange,oe=p.afterPopupVisibleChange,ye=p.mouseEnterDelay,ve=p.mouseLeaveDelay,me=ve===void 0?.1:ve,Ne=p.focusDelay,Oe=p.blurDelay,_e=p.mask,ze=p.maskClosable,Ge=ze===void 0?!0:ze,qe=p.getPopupContainer,Ke=p.forceRender,pt=p.autoDestroy,et=p.destroyPopupOnHide,ft=p.popup,nt=p.popupClassName,wt=p.popupStyle,He=p.popupPlacement,tt=p.builtinPlacements,We=tt===void 0?{}:tt,Ie=p.popupAlign,je=p.zIndex,xt=p.stretch,it=p.getPopupClassNameFromAlign,Et=p.fresh,Pt=p.alignPoint,dt=p.onPopupClick,Mt=p.onPopupAlign,lt=p.arrow,wn=p.popupMotion,Kt=p.maskMotion,Ot=p.popupTransitionName,St=p.popupAnimation,Ft=p.maskTransitionName,un=p.maskAnimation,Ut=p.className,sn=p.getTriggerDOMNode,Ct=(0,W.Z)(p,Le),Qt=pt||et||!1,tn=s.useState(!1),Ht=(0,R.Z)(tn,2),cn=Ht[0],at=Ht[1];(0,i.Z)(function(){at((0,n.Z)())},[]);var an=s.useRef({}),Dt=s.useContext(J),we=s.useMemo(function(){return{registerSubPopup:function(Ae,Nt){an.current[Ae]=Nt,Dt==null||Dt.registerSubPopup(Ae,Nt)}}},[Dt]),de=(0,c.Z)(),De=s.useState(null),mt=(0,R.Z)(De,2),Ve=mt[0],Zt=mt[1],dn=(0,E.Z)(function(Se){(0,D.Sh)(Se)&&Ve!==Se&&Zt(Se),Dt==null||Dt.registerSubPopup(de,Se)}),Rt=s.useState(null),Ee=(0,R.Z)(Rt,2),H=Ee[0],Y=Ee[1],ie=s.useRef(null),ce=(0,E.Z)(function(Se){(0,D.Sh)(Se)&&H!==Se&&(Y(Se),ie.current=Se)}),te=s.Children.only(S),le=(te==null?void 0:te.props)||{},se={},pe=(0,E.Z)(function(Se){var Ae,Nt,zt=H;return(zt==null?void 0:zt.contains(Se))||((Ae=(0,e.A)(zt))===null||Ae===void 0?void 0:Ae.host)===Se||Se===zt||(Ve==null?void 0:Ve.contains(Se))||((Nt=(0,e.A)(Ve))===null||Nt===void 0?void 0:Nt.host)===Se||Se===Ve||Object.values(an.current).some(function(_t){return(_t==null?void 0:_t.contains(Se))||Se===_t})}),Re=l(o,wn,St,Ot),be=l(o,Kt,un,Ft),Fe=s.useState(ue||!1),Xe=(0,R.Z)(Fe,2),rt=Xe[0],Be=Xe[1],Te=ee!=null?ee:rt,ut=(0,E.Z)(function(Se){ee===void 0&&Be(Se)});(0,i.Z)(function(){Be(ee||!1)},[ee]);var ot=s.useRef(Te);ot.current=Te;var gt=s.useRef([]);gt.current=[];var st=(0,E.Z)(function(Se){var Ae;ut(Se),((Ae=gt.current[gt.current.length-1])!==null&&Ae!==void 0?Ae:Te)!==Se&&(gt.current.push(Se),ae==null||ae(Se))}),Je=s.useRef(),Ye=function(){clearTimeout(Je.current)},Qe=function(Ae){var Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ye(),Nt===0?st(Ae):Je.current=setTimeout(function(){st(Ae)},Nt*1e3)};s.useEffect(function(){return Ye},[]);var ht=s.useState(!1),At=(0,R.Z)(ht,2),ct=At[0],nn=At[1];(0,i.Z)(function(Se){(!Se||Te)&&nn(!0)},[Te]);var bt=s.useState(null),Lt=(0,R.Z)(bt,2),It=Lt[0],$t=Lt[1],Vt=s.useState([0,0]),Yt=(0,R.Z)(Vt,2),fn=Yt[0],Bt=Yt[1],Gt=function(Ae){Bt([Ae.clientX,Ae.clientY])},hn=ge(Te,Ve,Pt?fn:H,He,We,Ie,Mt),vt=(0,R.Z)(hn,11),Sn=vt[0],Tn=vt[1],xn=vt[2],Cn=vt[3],_n=vt[4],Xt=vt[5],on=vt[6],mn=vt[7],Rn=vt[8],gn=vt[9],Tt=vt[10],Jt=ne(cn,Z,F,V),pn=(0,R.Z)(Jt,2),Pn=pn[0],ln=pn[1],In=Pn.has("click"),$n=ln.has("click")||ln.has("contextMenu"),Nn=(0,E.Z)(function(){ct||Tt()}),Wn=function(){ot.current&&Pt&&$n&&Qe(!1)};Me(Te,H,Ve,Nn,Wn),(0,i.Z)(function(){Nn()},[fn,He]),(0,i.Z)(function(){Te&&!(We!=null&&We[He])&&Nn()},[JSON.stringify(Ie)]);var An=s.useMemo(function(){var Se=y(We,o,gn,Pt);return U()(Se,it==null?void 0:it(gn))},[gn,it,We,o,Pt]);s.useImperativeHandle(N,function(){return{nativeElement:ie.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(xt&&H){var Ae=H.getBoundingClientRect();Fn(Ae.width),Mn(Ae.height)}},zn=function(){Dn(),Nn()},qt=function(Ae){nn(!1),Tt(),oe==null||oe(Ae)},kn=function(){return new Promise(function(Ae){Dn(),$t(function(){return Ae})})};(0,i.Z)(function(){It&&(Tt(),It(),$t(null))},[It]);function jt(Se,Ae,Nt,zt){se[Se]=function(_t){var Yn;zt==null||zt(_t),Qe(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=le[Se])===null||Yn===void 0||Yn.call.apply(Yn,[le,_t].concat(tr))}}(In||$n)&&(se.onClick=function(Se){var Ae;ot.current&&$n?Qe(!1):!ot.current&&In&&(Gt(Se),Qe(!0));for(var Nt=arguments.length,zt=new Array(Nt>1?Nt-1:0),_t=1;_t<Nt;_t++)zt[_t-1]=arguments[_t];(Ae=le.onClick)===null||Ae===void 0||Ae.call.apply(Ae,[le,Se].concat(zt))}),Ue(Te,$n,H,Ve,_e,Ge,pe,Qe);var bn=Pn.has("hover"),yn=ln.has("hover"),rn,en;bn&&(jt("onMouseEnter",!0,ye,function(Se){Gt(Se)}),jt("onPointerEnter",!0,ye,function(Se){Gt(Se)}),rn=function(Ae){(Te||ct)&&Ve!==null&&Ve!==void 0&&Ve.contains(Ae.target)&&Qe(!0,ye)},Pt&&(se.onMouseMove=function(Se){var Ae;(Ae=le.onMouseMove)===null||Ae===void 0||Ae.call(le,Se)})),yn&&(jt("onMouseLeave",!1,me),jt("onPointerLeave",!1,me),en=function(){Qe(!1,me)}),Pn.has("focus")&&jt("onFocus",!0,Ne),ln.has("focus")&&jt("onBlur",!1,Oe),Pn.has("contextMenu")&&(se.onContextMenu=function(Se){var Ae;ot.current&&ln.has("contextMenu")?Qe(!1):(Gt(Se),Qe(!0)),Se.preventDefault();for(var Nt=arguments.length,zt=new Array(Nt>1?Nt-1:0),_t=1;_t<Nt;_t++)zt[_t-1]=arguments[_t];(Ae=le.onContextMenu)===null||Ae===void 0||Ae.call.apply(Ae,[le,Se].concat(zt))}),Ut&&(se.className=U()(le.className,Ut));var Hn=(0,x.Z)((0,x.Z)({},le),se),Xn={},Vn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Vn.forEach(function(Se){Ct[Se]&&(Xn[Se]=function(){for(var Ae,Nt=arguments.length,zt=new Array(Nt),_t=0;_t<Nt;_t++)zt[_t]=arguments[_t];(Ae=Hn[Se])===null||Ae===void 0||Ae.call.apply(Ae,[Hn].concat(zt)),Ct[Se].apply(Ct,zt)})});var qn=s.cloneElement(te,(0,x.Z)((0,x.Z)({},Hn),Xn)),Qn={x:Xt,y:on},Kn=lt?(0,x.Z)({},lt!==!0?lt:{}):null;return s.createElement(s.Fragment,null,s.createElement(K.Z,{disabled:!Te,ref:ce,onResize:zn},s.createElement(L,{getTriggerDOMNode:sn},qn)),s.createElement(J.Provider,{value:we},s.createElement(M,{portal:k,ref:dn,prefixCls:o,popup:ft,className:U()(nt,An),style:wt,target:H,onMouseEnter:rn,onMouseLeave:en,onPointerEnter:rn,zIndex:je,open:Te,keepDom:ct,fresh:Et,onClick:dt,mask:_e,motion:Re,maskMotion:be,onVisibleChanged:qt,onPrepare:kn,forceRender:Ke,autoDestroy:Qt,getPopupContainer:qe,align:gn,arrow:Kn,arrowPos:Qn,ready:Sn,offsetX:Tn,offsetY:xn,offsetR:Cn,offsetB:_n,onAlign:Nn,stretch:xt,targetWidth:vn/mn,targetHeight:Un/Rn})))});return B}var ke=Ze(z.Z)},23954:function(xe,re,f){"use strict";f.d(re,{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{ue($.next(ae))}catch(oe){F(oe)}},ee=ae=>{try{ue($.throw(ae))}catch(oe){F(oe)}},ue=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(V,ee);ue(($=$.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($),ee={startLineNumber:$.lineNumber,endLineNumber:$.lineNumber,startColumn:V.startColumn,endColumn:V.endColumn},ue=Z.map(ae=>({label:ae,kind:o.languages.CompletionItemKind.Keyword,insertText:ae,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ee}));return F.map(ae=>{ue.push(h(v({},ae),{range:ee}))}),ue}var L=o=>{d.languages.map(F=>(o.languages.registerDocumentFormattingEditProvider(F,{provideDocumentFormattingEdits(V,ee,ue){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 ee=F.getWordUntilPosition(V),ue={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ae=F.getLineContent(V.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...A.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ue})),...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:ue}))]}}}),o.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(F,V){var ee=F.getWordUntilPosition(V),ue={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn};return{suggestions:[...W.keywords.map(ae=>({label:ae,kind:o.languages.CompletionItemKind.Function,documentation:ae,insertText:ae,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ue}))]}}}),o.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(F,V){var ee=F.getWordUntilPosition(V),ue={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ae=F.getLineContent(V.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...z.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ue})),...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:ue}))]}}}),o.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(F,V){var ee=F.getWordUntilPosition(V),ue={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ae=F.getLineContent(V.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...K.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ue})),...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:ue}))]}}}),o.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(F,V){var ee=F.getWordUntilPosition(V),ue={startLineNumber:V.lineNumber,endLineNumber:V.lineNumber,startColumn:ee.startColumn,endColumn:ee.endColumn},ae=F.getLineContent(V.lineNumber).substring(ee.startColumn-2,ee.endColumn);return{suggestions:[...U.keywords.map(oe=>({label:oe,kind:o.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:o.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ue})),...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:ue}))]}}})};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]=$,ne=(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)}};ne(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,q=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ge=Object.prototype.propertyIsEnumerable,Ce=(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={}))he.call(S,$)&&Ce(o,$,S[$]);if(fe)for(var $ of fe(S))ge.call(S,$)&&Ce(o,$,S[$]);return o},$e=(o,S)=>X(o,q(S)),Pe=(o,S)=>{var $={};for(var Z in o)he.call(o,Z)&&S.indexOf(Z)<0&&($[Z]=o[Z]);if(o!=null&&fe)for(var Z of fe(o))S.indexOf(Z)<0&&ge.call(o,Z)&&($[Z]=o[Z]);return $},Ue=(o,S,$)=>new Promise((Z,F)=>{var V=ae=>{try{ue($.next(ae))}catch(oe){F(oe)}},ee=ae=>{try{ue($.throw(ae))}catch(oe){F(oe)}},ue=ae=>ae.done?Z(ae.value):Promise.resolve(ae.value).then(V,ee);ue(($=$.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:ee={},options:ue={},overrideServices:ae={},theme:oe="vs-dark",onEditBlur:ye,isCopy:ve=!1,onSave:me,autoHeight:Ne=!1,forbidCopy:Oe=!1,onChange:_e=Ze,editorDidMount:ze=Ze,onFocus:Ge=Ze,onBreakPoint:qe=Ze,breakPointValue:Ke=[],filename:pt="educoder.txt",errorLine:et,errorContent:ft="",highlightLine:nt,openBreakPoint:wt=!1,placeholder:He=""}=S,tt=Pe(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"]);const We=(0,x.useRef)(),Ie=(0,x.useRef)({}),je=(0,x.useRef)(),xt=(0,x.useRef)(),it=(0,x.useRef)([]),Et=(0,x.useRef)(!1),Pt=(0,x.useRef)(),dt=(0,x.useRef)(),Mt=(0,x.useRef)(!1),[lt,wn]=(0,x.useState)(!1);function Kt(){let we;return We.current&&(we=new R.Z(de=>{for(let De of de)(De.target.offsetHeight>0||De.target.offsetWidth>0)&&Ie.current.instance.layout()}),we.observe(We.current)),we}function Ot(){O.ZP.warning({content:decodeURIComponent(G),key:"monaco-editor-tip"})}const St=()=>{let we=Ie.current.instance;if(F!=null&&we&<){const de=we.getModel();de&&F!==de.getValue()&&(ke=!0,de.setValue(F),we.layout(),ke=!1)}};(0,x.useEffect)(()=>{const we=r.Z.subscribe("formatDocument",de=>{var De;let mt=Ie.current.instance;(De=mt==null?void 0:mt.getAction)==null||De.call(mt,"editor.action.formatDocument").run()});return window.updateMonacoValue=de=>{_e(de)},we},[]),(0,x.useEffect)(()=>{var we;let de=Ie.current.instance;xt.current&&clearTimeout(xt.current),xt.current=setTimeout(()=>{St()},500),F&&(F!=null&&F.length)&&((we=de==null?void 0:de.updateOptions)==null||we.call(de,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(F.split(/\r\n|\r|\n/g).length))+3,5)}))},[F,lt,Ie.current]),(0,x.useEffect)(()=>{if(et&&Ie.current&&Ie.current.instance){let de=Ie.current.instance;de.changeViewZones(function(De){var mt=document.createElement("div");mt.style.padding="10px 20px",mt.style.width="calc(100% - 20px)",mt.className="my-error-line-wrp",mt.innerHTML=ft,De.addZone({afterLineNumber:et||11,heightInLines:3,domNode:mt})});var we={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(we),de.revealPositionInCenter({lineNumber:20,column:1})}},[et,Ie.current,lt]);const Ft=(we="",de)=>{if(!we||we.trim()==="")return!0;const mt=Ie.current.instance.getModel().getLineTokens(de);let Ve=!1;for(let Zt=0;Zt<2;Zt++)mt.getStandardTokenType(Zt)===1&&(Ve=!0);return Ve};(0,x.useEffect)(()=>{var we;const de=(we=Ie.current)==null?void 0:we.instance;if(de&<&&Oe){const De=de.onDidBlurEditorWidget(()=>{Mt.current=!1}),mt=de.onDidFocusEditorText(()=>{Mt.current=!0});return()=>{De.dispose(),mt.dispose()}}},[Ie.current,lt,Oe]),(0,x.useEffect)(()=>{var we;if((we=Ie.current)!=null&&we.instance&<&&wt){let de=Ie.current.instance,De=de.getModel();if(!De)return;(()=>{var le;let se=[],pe=[];const Re=De.getAllDecorations();for(let Fe of Re)Fe.options.className==="highlighted-line"&&(se.push((le=Fe==null?void 0:Fe.range)==null?void 0:le.startLineNumber),pe.push(Fe==null?void 0:Fe.id));if(nt===se[0])return;De.deltaDecorations(pe,[]);const be=De.getLineCount();nt&&nt<=be&&(de.deltaDecorations([],[{range:new p.Range(nt,1,nt,De.getLineMaxColumn(nt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),de.revealLineInCenter(nt))})();const Ve=(le=!1)=>{var se;let pe=[],Re=[];const be=De.getAllDecorations();for(let Fe of be)Fe.options.linesDecorationsClassName==="breakpoints-select"&&(pe.push((se=Fe==null?void 0:Fe.range)==null?void 0:se.startLineNumber),Re.push(Fe==null?void 0:Fe.id));if(le)return{lines:pe,ids:Re};qe(pe)},Zt=le=>Ue(void 0,null,function*(){let se={range:new p.Range(le,1,le,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield De.deltaDecorations([],[se]),Ve()}),dn=le=>Ue(void 0,null,function*(){let se=[];const pe=de.getLineDecorations(le);for(let Re of pe)Re.options.linesDecorationsClassName==="breakpoints-select"&&se.push(Re.id);yield De.deltaDecorations(se,[]),Ve()}),Rt=le=>{let se=de.getLineDecorations(le);for(let pe of se)if(pe.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,t.isEqual)(Ke,Ve(!0).lines)){De.deltaDecorations(Ve(!0).ids,[]);const le=Ke.map(se=>({range:new p.Range(se,1,se,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));De.deltaDecorations([],le)}const Ee=de.onDidChangeModelContent(le=>{let se=de.getPosition();if(se){let pe=se.lineNumber;clearTimeout(dt.current),dt.current=setTimeout(()=>{Ft(De.getLineContent(pe),pe)?dn(pe):Rt(pe)?(dn(pe),Zt(pe)):Ve()},100)}}),H=de.onMouseDown(le=>{var se,pe,Re;if(le.target.detail&&((Re=(pe=(se=le.target)==null?void 0:se.element)==null?void 0:pe.className)!=null&&Re.includes("line-numbers"))){let be=le.target.position.lineNumber;if(Ft(De.getLineContent(be),be))return;Rt(be)?dn(be):Zt(be)}}),Y=le=>{let se={range:new p.Range(le,1,le,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};it.current=de.deltaDecorations(it.current,[se])},ie=()=>{it.current=de.deltaDecorations(it.current,[])},ce=de.onMouseMove(le=>{var se,pe,Re;if(ie(),le.target.detail&&((Re=(pe=(se=le.target)==null?void 0:se.element)==null?void 0:pe.className)!=null&&Re.includes("line-numbers"))){let be=le.target.position.lineNumber;if(Ft(De.getLineContent(be),be))return;Y(be)}}),te=de.onMouseLeave(()=>{ie()});return()=>{Ee.dispose(),H.dispose(),ce.dispose(),te.dispose()}}},[Ie.current,lt,Ke,nt,wt,V]),(0,x.useEffect)(()=>{var we;(we=Ie.current)!=null&&we.instance&&wt&&Ie.current.instance.setPosition({lineNumber:0,column:0})},[nt]);function un(){let we=Ie.current.instance;if(we){const de=we.getSelection(),De=Ie.current.pastePos||{},mt=new p.Range(De.startLineNumber||de.endLineNumber,De.startColumn||de.endColumn,De.endLineNumber||de.endLineNumber,De.endColumn||de.endColumn);setTimeout(()=>{we.executeEdits("",[{range:mt,text:""}])},300)}}function Ut(we){(window.navigator.platform.match("Mac")?we.metaKey:we.ctrlKey)&&we.keyCode==83&&(we.preventDefault(),me())}const sn=()=>{if(Ne&&Ie.current.instance){const we=Ie.current.instance.getContentHeight();an(we<Z?Z:we)}else an(Z)};function Ct(we){var de=document.createEvent("MouseEvents");de.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),we.dispatchEvent(de)}const Qt=we=>{if(!Mt.current)return;const{keyCode:de,ctrlKey:De,metaKey:mt,target:Ve,type:Zt}=we;return(Zt==="paste"||(de===67||de===86)&&(mt||De))&&Ve.nodeName==="TEXTAREA"&&(Ot(),we.preventDefault()),!1};function tn(we,de){var De=window.URL||window.webkitURL||window,mt=new Blob([de]),Ve=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ve.href=De.createObjectURL(mt),Ve.download=we,Ct(Ve)}(0,x.useEffect)(()=>{sn()},[sn]),(0,x.useEffect)(()=>{We.current&&!lt&&Promise.all([f.e(8909),f.e(3267)]).then(f.bind(f,71448)).then(we=>{try{p=we,Ie.current.instance=p.editor.create(We.current,{value:F,language:B(V),theme:oe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ae);const de=Ie.current.instance;let Ve=[...l.BH._menuItems].find(Ee=>Ee[0]._debugName=="EditorContext")[1],Zt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],dn=(Ee,H)=>{var Y,ie;let ce=Ee._first;do H.includes((ie=(Y=ce.element)==null?void 0:Y.command)==null?void 0:ie.id)&&Ee._remove(ce);while(ce=ce.next)};if(ze(de,p),setTimeout(()=>{sn(),Ie.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{tn(pt||"educoder.txt",de.getValue())}})},500),Ie.current.subscription=de.onDidChangeModelContent(Ee=>{Et.current?clearTimeout(Pt.current):(sn(),_e(de.getValue(),Ee)),Pt.current=setTimeout(()=>{Et.current=!1},500)}),window.Monaco||L(p,B(V)),Oe&&(dn(Ve,Zt),We.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Qt),window.removeEventListener("paste",Qt),window.addEventListener("keydown",Qt),window.addEventListener("paste",Qt)),window.Monaco=p,ye&&de.onDidBlurEditorWidget(()=>{ye(de.getValue())}),Ge&&de.onDidFocusEditorText(()=>{Ge(de.getValue())}),Oe)try{de.onDidPaste(Ee=>{const H=de.getSelection(),Y=Ie.current.pastePos||{},ie=new p.Range(Y.startLineNumber||H.endLineNumber,Y.startColumn||H.endColumn,Y.endLineNumber||H.endLineNumber,Y.endColumn||H.endColumn);de.executeEdits("",[{range:Ee.range,text:""}])})}catch(Ee){}let Rt=Kt();return He&&typeof He=="string"&&new y(He,de,p),wn(!0),()=>{const Ee=Ie.current.instance;Ee.dispose();const H=Ee.getModel();H&&H.dispose(),Ie.current.subscription&&Ie.current.subscription.dispose(),Rt.unobserve(We.current)}}catch(de){}})},[]),(0,x.useEffect)(()=>{if(Ie.current.instance&<)return document.addEventListener("keydown",Ut,!1),()=>{document.removeEventListener("keydown",Ut)}},[me,lt]),(0,x.useEffect)(()=>{let we=Ie.current.instance;if(we&<){let de=B(V);p.editor.setModelLanguage(we.getModel(),de)}},[V,lt]),(0,x.useEffect)(()=>{Ie.current.instance&<&&p.editor.setTheme(oe)},[oe,lt]),(0,x.useEffect)(()=>{let we=Ie.current.instance;je.current=ue,we&<&&(we.updateOptions(Me({},ue)),setTimeout(()=>{we.getModel().updateOptions(Me({},ue))},200))},[JSON.stringify(ue),lt]),(0,x.useEffect)(()=>{let we=Ie.current.instance;we&<&&we.layout()},[$,Z,lt]);const[Ht,cn]=(0,x.useState)(Le($)),[at,an]=(0,x.useState)(Le(Z)),Dt=$e(Me({},ee),{width:Ht,height:at,position:"relative"});return x.createElement("div",{className:"my-monaco-editor",ref:We,style:Dt},ve&&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 ee=(0,x.useRef)(),[ue,ae]=(0,x.useState)(null);function oe(Ne){let Oe;return ee.current&&(Oe=new R.Z(_e=>{for(let ze of _e)(ze.target.offsetHeight>0||ze.target.offsetWidth>0)&&Ne.layout()}),Oe.observe(ee.current)),Oe}(0,x.useEffect)(()=>(ee.current&&Promise.all([f.e(8909),f.e(9404)]).then(f.bind(f,2550)).then(Ne=>{p=Ne;const Oe=p.editor.createDiffEditor(ee.current,$e(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(Oe);let _e=oe(Oe);return()=>{Oe.dispose();const ze=Oe.getModel();ze&&ze.dispose(),_e.unobserve(ee.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,x.useEffect)(()=>{ue&&ue.setModel({original:p.editor.createModel($,F),modified:p.editor.createModel(Z,F)})},[$,Z,F,ue]);const ye=Le(o),ve=Le(S),me={width:ye,height:ve};return x.createElement("div",{className:"my-diff-editor",ref:ee,style:me})}},17933:function(xe,re,f){"use strict";f.r(re),f.d(re,{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(ne){P(ne)}},G=Q=>{try{J(C.throw(Q))}catch(ne){P(ne)}},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:ne}=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,q]=(0,x.useState)(!0);(0,x.useEffect)(()=>{fe()},[]);const fe=()=>v(void 0,null,function*(){var he,ge,Ce;q(!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=(ge=(he=Me.data)==null?void 0:he.codes)==null?void 0:ge.map(Pe=>Pe.code).join(`
|
|
`);const $e=document.createElement("div");$e.innerHTML=m.value,m.value=$e.innerText,m.errorContent=(Ce=Me==null?void 0:Me.data)==null?void 0:Ce.errMessage,T(g({},m)),r(Me.data)}q(!1)});return x.createElement("section",{className:"edu-container"},x.createElement("section",{className:"animated fadeIn"},x.createElement("aside",{className:"mt10"},ne&&x.createElement(W.Z,{separator:">"},x.createElement(W.Z.Item,null,x.createElement(R.Link,{to:`/classrooms/${J.coursesId}/${G}`},(P=ne==null?void 0:ne.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(xe,re,f){"use strict";f.d(re,{o2:function(){return A},yT:function(){return U}});var x=f(19127),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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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 q=n(t,r);return s(l,t,q,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,fe=(he=>{if(r||m){const ge=Object.assign({},T);if(r){const Ce=r||{},{items:Me}=Ce,$e=g(Ce,["items"]);ge.menu=Object.assign(Object.assign({},$e),{items:Me==null?void 0:Me.map((Pe,Ue)=>{var{key:Le,title:Ze,label:ke,path:k}=Pe,B=g(Pe,["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:Ue,label:p})})})}else m&&(ge.overlay=m);return A.createElement(e.Z,Object.assign({placement:"bottom"},ge),A.createElement("span",{className:`${O}-overlay-link`},he,A.createElement(D.Z,null)))}return he})(t);return fe!=null?A.createElement(A.Fragment,null,A.createElement("li",null,fe),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 ne=(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:q,itemRender:fe,params:he={}}=l,ge=Q(l,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Ce,direction:Me,breadcrumb:$e}=A.useContext(K.E_);let Pe;const Ue=Ce("breadcrumb",O),[Le,Ze]=P(Ue),ke=J(X,T),k=a(Ue,fe);if(ke&&ke.length>0){const N=[],j=X||T;Pe=ke.map((o,S)=>{const{path:$,key:Z,type:F,menu:V,overlay:ee,onClick:ue,className:ae,separator:oe,dropdownProps:ye}=o,ve=ne(he,$);ve!==void 0&&N.push(ve);const me=Z!=null?Z:S;if(F==="separator")return A.createElement(c,{key:me},oe);const Ne={},Oe=S===ke.length-1;V?Ne.menu=V:ee&&(Ne.overlay=ee);let{href:_e}=o;return N.length&&ve!==void 0&&(_e=`#/${N.join("/")}`),A.createElement(v,Object.assign({key:me},Ne,(0,z.Z)(o,{data:!0,aria:!0}),{className:ae,dropdownProps:ye,href:_e,separator:Oe?"":b,onClick:ue,prefixCls:Ue}),k(o,he,j,N,_e))})}else if(q){const N=(0,W.Z)(q).length;Pe=(0,W.Z)(q).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()(Ue,$e==null?void 0:$e.className,{[`${Ue}-rtl`]:Me==="rtl"},r,m,Ze),p=Object.assign(Object.assign({},$e==null?void 0:$e.style),t);return Le(A.createElement("nav",Object.assign({className:B,style:p},ge),A.createElement("ol",null,Pe)))};w.Item=u,w.Separator=c;var _=w,y=_},91857:function(xe,re,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:ne,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:q,transitionName:fe}=C,{getPopupContainer:he,getPrefixCls:ge,direction:Ce}=x.useContext(i.E_),Me=x.useMemo(()=>{const V=ge();return fe!==void 0?fe:X.includes("top")?`${V}-slide-down`:`${V}-slide-up`},[ge,X,fe]),$e=x.useMemo(()=>X?X.includes("Center")?X.slice(0,X.indexOf("Center")):X:Ce==="rtl"?"bottomRight":"bottomLeft",[X,Ce]),Pe=ge("dropdown",L),[Ue,Le]=(0,g.Z)(Pe),[,Ze]=(0,a.Z)(),ke=x.Children.only(G),k=(0,c.Tm)(ke,{className:z()(`${Pe}-trigger`,{[`${Pe}-rtl`]:Ce==="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,{[`${Pe}-rtl`]:Ce==="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 q=="function"?V=q():V=q,ne&&(V=ne(V)),V=x.Children.only(typeof V=="string"?x.createElement("span",null,V):V),x.createElement(s.J,{prefixCls:`${Pe}-menu`,expandIcon:x.createElement("span",{className:`${Pe}-menu-submenu-arrow`},x.createElement(R.Z,{className:`${Pe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Z,validator:ee=>{let{mode:ue}=ee}},V)};return Ue(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:Pe,getPopupContainer:w||he,transitionName:Me,trigger:B,overlay:F,placement:$e,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,re.Z=h},47211:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{D:function(){return d},Z:function(){return M}});var x=f(96663),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:ne,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,q=h(P,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:fe}=(0,R.useContext)(v.Gs),[he,ge]=(0,R.useState)("collapsed"in P?P.collapsed:w),[Ce,Me]=(0,R.useState)(!1);(0,R.useEffect)(()=>{"collapsed"in P&&ge(P.collapsed)},[P.collapsed]);const $e=(k,B)=>{"collapsed"in P||ge(k),T==null||T(k,B)},Pe=(0,R.useRef)();Pe.current=k=>{Me(k.matches),X==null||X(k.matches),he!==k.matches&&$e(k.matches,"responsive")},(0,R.useEffect)(()=>{function k(p){return Pe.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 fe.addSider(k),()=>fe.removeSider(k)},[]);const Ue=()=>{$e(!he,"clickTrigger")},{getPrefixCls:Le}=(0,R.useContext)(g.E_),Ze=()=>{const k=Le("layout-sider",G),B=(0,n.Z)(q,["collapsed"]),p=he?t:b,N=a(p)?`${p}px`:String(p),j=parseFloat(String(t||0))===0?R.createElement("span",{onClick:Ue,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)}[he?"collapsed":"expanded"],Z=Q!==null?j||R.createElement("div",{className:`${k}-trigger`,onClick:Ue,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`]:!!he,[`${k}-has-trigger`]:l&&Q!==null&&!j,[`${k}-below`]:!!Ce,[`${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`},ne),l||Ce&&j?Z:null)},ke=R.useMemo(()=>({siderCollapsed:he}),[he]);return R.createElement(d.Provider,{value:ke},Ze())})},84966:function(xe,re,f){"use strict";f.d(re,{VY:function(){return d},$_:function(){return u},h4:function(){return h},Gs:function(){return n},ZP:function(){return I}});var x=f(19127),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:ne,headerPadding:w,headerColor:_,footerPadding:y,triggerHeight:l,zeroTriggerHeight:O,zeroTriggerWidth:b,motionDurationMid:t,motionDurationSlow:r,fontSize:m,borderRadius:T,bodyBg:X,headerBg:q,siderBg:fe}=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:fe,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:ne,insetInlineEnd:-b,zIndex:1,width:b,height:O,color:G,fontSize:C.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:fe,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:ne,padding:w,color:_,lineHeight:`${ne}px`,background:q,[`${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:ne,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:ne,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,ne)=>A.createElement(G,Object.assign({ref:ne,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:ne}=A.useContext(U.E_),w=ne("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:ne,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),q=W()(m,{[`${m}-has-sider`]:typeof _=="boolean"?_:L.length>0,[`${m}-rtl`]:P==="rtl"},r==null?void 0:r.className,Q,ne,X),fe=A.useMemo(()=>({siderHook:{addSider:he=>{G(ge=>[].concat((0,x.Z)(ge),[he]))},removeSider:he=>{G(ge=>ge.filter(Ce=>Ce!==he))}}}),[]);return T(A.createElement(n.Provider,{value:fe},A.createElement(y,Object.assign({ref:M,className:q,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(xe,re,f){"use strict";f.d(re,{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))});re.Z=A},20834:function(xe,re,f){"use strict";f.d(re,{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:ee}=R.useContext(a),ue=Ne=>{const Oe=R.createElement("span",{className:`${$}-title-content`},N);return(!j||(0,n.l$)(N)&&N.type==="span")&&N&&Ne&&Z&&typeof N=="string"?R.createElement("div",{className:`${$}-inline-collapsed-noicon`},N.charAt(0)):Oe},{siderCollapsed:ae}=R.useContext(W.D);let oe=o;typeof o=="undefined"?oe=Z?N:"":o===!1&&(oe="");const ye={title:oe};!ae&&!ee&&(ye.title=null,ye.open=!1);const ve=(0,E.Z)(N).length;let me=R.createElement(x.ck,Object.assign({},(0,c.Z)(k,["title","icon","danger"]),{className:A()({[`${$}-item-danger`]:S,[`${$}-item-only-child`]:(j?ve+1:ve)===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`)}),ue(ee));return V||(me=R.createElement(i.Z,Object.assign({},ye,{placement:F==="rtl"?"left":"right",overlayClassName:`${$}-inline-collapsed-tooltip`}),me)),me},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 ee;if(!N)ee=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";ee=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 ue=R.useMemo(()=>Object.assign(Object.assign({},S),{firstLevel:!1}),[S]);return R.createElement(a.Provider,{value:ue},R.createElement(x.Wd,Object.assign({},(0,c.Z)(k,["icon"]),{title:ee,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),ne=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:ee,motionDurationSlow:ue,motionEaseInOut:ae,motionEaseOut:oe,itemPaddingInline:ye,motionDurationMid:ve,itemHoverColor:me,lineType:Ne,colorSplit:Oe,itemDisabledColor:_e,dangerItemColor:ze,dangerItemHoverColor:Ge,dangerItemSelectedColor:qe,dangerItemActiveBg:Ke,dangerItemSelectedBg:pt,itemHoverBg:et,itemActiveBg:ft,menuSubMenuBg:nt,horizontalItemSelectedColor:wt,horizontalItemSelectedBg:He,horizontalItemBorderRadius:tt,horizontalItemHoverBg:We,popupBg:Ie}=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:me}},[`&:not(${p}-horizontal)`]:{[`${p}-item:not(${p}-item-selected)`]:{"&:hover":{backgroundColor:et},"&:active":{backgroundColor:ft}},[`${p}-submenu-title`]:{"&:hover":{backgroundColor:et},"&:active":{backgroundColor:ft}}},[`${p}-item-danger`]:{color:ze,[`&${p}-item:hover`]:{[`&:not(${p}-item-selected):not(${p}-submenu-selected)`]:{color:Ge}},[`&${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:pt}},[`${p}-item, ${p}-submenu-title`]:{[`&:not(${p}-item-disabled):focus-visible`]:Object.assign({},m(k))},[`&${p}-submenu > ${p}`]:{backgroundColor:nt},[`&${p}-popup > ${p}`]:{backgroundColor:Ie},[`&${p}-horizontal`]:Object.assign(Object.assign({},B==="dark"?{borderBottom:0}:{}),{[`> ${p}-item, > ${p}-submenu`]:{top:ee,marginTop:-ee,marginBottom:0,borderRadius:tt,"&::after":{position:"absolute",insetInline:ye,bottom:0,borderBottom:`${F}px solid transparent`,transition:`border-color ${ue} ${ae}`,content:'""'},"&:hover, &-active, &-open":{background:We,"&::after":{borderBottomWidth:F,borderBottomColor:wt}},"&-selected":{color:wt,backgroundColor:He,"&:hover":{backgroundColor:He},"&::after":{borderBottomWidth:F,borderBottomColor:wt}}}}),[`&${p}-root`]:{[`&${p}-inline, &${p}-vertical`]:{borderInlineEnd:`${ee}px ${Ne} ${Oe}`}},[`&${p}-inline`]:{[`${p}-sub${p}-inline`]:{background:$},[`${p}-item, ${p}-submenu-title`]:ee&&V?{width:`calc(100% + ${ee}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 ${ve} ${oe}`,`opacity ${ve} ${oe}`].join(","),content:'""'},[`&${p}-item-danger`]:{"&::after":{borderInlineEndColor:qe}}},[`${p}-selected, ${p}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${ve} ${ae}`,`opacity ${ve} ${ae}`].join(",")}}}}}};const q=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 he=k=>{const{componentCls:B,iconCls:p,itemHeight:N,colorTextLightSolid:j,dropdownWidth:o,controlHeightLG:S,motionDurationMid:$,motionEaseOut:Z,paddingXL:F,itemMarginInline:V,fontSizeLG:ee,motionDurationSlow:ue,paddingXS:ae,boxShadowSecondary:oe,collapsedWidth:ye,collapsedIconSize:ve}=k,me={height:N,lineHeight:`${N}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[B]:{"&-inline, &-vertical":Object.assign({[`&${B}-root`]:{boxShadow:"none"}},q(k))},[`${B}-submenu-popup`]:{[`${B}-vertical`]:Object.assign(Object.assign({},q(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 ${ue}`,`background ${ue}`,`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`]:me,[`& ${B}-item-group-title`]:{paddingInlineStart:F}},[`${B}-item`]:me}},{[`${B}-inline-collapsed`]:{width:ye,[`&${B}-root`]:{[`${B}-item, ${B}-submenu ${B}-submenu-title`]:{[`> ${B}-inline-collapsed-noicon`]:{fontSize:ee,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% - ${ee/2}px - ${V}px)`,textOverflow:"clip",[`
|
|
${B}-submenu-arrow,
|
|
${B}-submenu-expand-icon
|
|
`]:{opacity:0},[`${B}-item-icon, ${p}`]:{margin:0,fontSize:ve,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 ge=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"}}}},Ce=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:ee,borderRadiusLG:ue,subMenuItemBorderRadius:ae,menuArrowSize:oe,menuArrowOffset:ye,lineType:ve,menuPanelMaskInset:me,groupTitleLineHeight:Ne,groupTitleFontSize:Oe}=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:Oe,lineHeight:Ne,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:ve,borderWidth:0,borderTopWidth:V,marginBlock:V,padding:0,"&-dashed":{borderStyle:"dashed"}}}),ge(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:ee,borderRadius:ue,boxShadow:"none",transformOrigin:"0 0",[`&${p}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${me}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:me},"\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:ue},ge(k)),Ce(k)),{[`${p}-item, ${p}-submenu > ${p}-submenu-title`]:{borderRadius:ae},[`${p}-submenu-title::after`]:{transition:`transform ${j} ${S}`}})}}),Ce(k)),{[`&-inline-collapsed ${p}-submenu-arrow,
|
|
&-inline ${p}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ye})`},"&::after":{transform:`rotate(45deg) translateX(-${ye})`}},[`${p}-submenu-open${p}-submenu-inline > ${p}-submenu-title > ${p}-submenu-arrow`]:{transform:`translateY(-${oe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ye})`},"&::before":{transform:`rotate(45deg) translateX(${ye})`}}})},{[`${B}-layout-header`]:{[p]:{lineHeight:"inherit"}}}]};var $e=(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:ee,darkSubMenuItemBg:ue,darkItemSelectedColor:ae,darkItemSelectedBg:oe,darkDangerItemSelectedBg:ye,darkItemHoverBg:ve,darkGroupTitleColor:me,darkItemHoverColor:Ne,darkItemDisabledColor:Oe,darkDangerItemHoverColor:_e,darkDangerItemSelectedColor:ze,darkDangerItemActiveBg:Ge}=N,qe=Z/7*5,Ke=(0,l.TS)(N,{menuArrowSize:qe,menuHorizontalHeight:$*1.15,menuArrowOffset:`${qe*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:j}),pt=(0,l.TS)(Ke,{itemColor:F,itemHoverColor:Ne,groupTitleColor:me,itemSelectedColor:ae,itemBg:ee,popupBg:ee,subMenuItemBg:ue,itemActiveBg:"transparent",itemSelectedBg:oe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:ve,itemDisabledColor:Oe,dangerItemColor:V,dangerItemHoverColor:_e,dangerItemSelectedColor:ze,dangerItemActiveBg:Ge,dangerItemSelectedBg:ye,menuSubMenuBg:ue,horizontalItemSelectedColor:S,horizontalItemSelectedBg:o});return[Me(Ke),b(Ke),he(Ke),X(Ke,"light"),X(pt,"dark"),r(Ke),(0,ne.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:ee,colorFillContent:ue,lineWidth:ae,lineWidthBold:oe,controlItemBgActive:ye,colorBgTextHover:ve,controlHeightLG:me,lineHeight:Ne,colorBgElevated:Oe,marginXXS:_e,padding:ze,fontSize:Ge,controlHeightSM:qe,fontSizeLG:Ke,colorTextLightSolid:pt,colorErrorHover:et}=N,ft=new J.C(pt).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:ve,itemHoverBg:ve,colorItemBgActive:ue,itemActiveBg:ye,colorSubItemBg:ee,subMenuItemBg:ee,colorItemBgSelected:ye,itemSelectedBg:ye,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:me,groupTitleLineHeight:Ne,collapsedWidth:me*2,popupBg:Oe,itemMarginBlock:_e,itemPaddingInline:ze,horizontalLineHeight:`${me*1.15}px`,iconSize:Ge,iconMarginInlineEnd:qe-Ge,collapsedIconSize:Ke,groupTitleFontSize:Ge,darkItemDisabledColor:new J.C(pt).setAlpha(.25).toRgbString(),darkItemColor:ft,darkDangerItemColor:o,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:pt,darkItemSelectedBg:j,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:ft,darkItemHoverColor:pt,darkDangerItemHoverColor:et,darkDangerItemSelectedColor:pt,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),Pe=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:ee,className:ue,style:ae,theme:oe="light",expandIcon:ye,_internalDisableMenuItemTitleTooltip:ve,inlineCollapsed:me,siderCollapsed:Ne,items:Oe,children:_e,rootClassName:ze,mode:Ge,selectable:qe,onClick:Ke,overflowedIndicatorPopupClassName:pt}=k,et=Pe(k,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ft=(0,c.Z)(et,["collapsedWidth"]),nt=G(Oe)||_e;(p=o.validator)===null||p===void 0||p.call(o,{mode:Ge});const wt=(0,I.useEvent)(function(){var Mt;Ke==null||Ke.apply(void 0,arguments),(Mt=o.onClick)===null||Mt===void 0||Mt.call(o)}),He=o.mode||Ge,tt=qe!=null?qe:o.selectable,We=R.useMemo(()=>Ne!==void 0?Ne:me,[me,Ne]),Ie={horizontal:{motionName:`${V}-slide-up`},inline:(0,C.Z)(V),other:{motionName:`${V}-zoom-big`}},je=S("menu",ee||o.prefixCls),[xt,it]=$e(je,!j),Et=A()(`${je}-${oe}`,F==null?void 0:F.className,ue);let Pt;if(typeof ye=="function")Pt=ye;else if(ye===null||ye===!1)Pt=null;else if(o.expandIcon===null||o.expandIcon===!1)Pt=null;else{const Mt=ye!=null?ye:o.expandIcon;Pt=(0,n.Tm)(Mt,{className:A()(`${je}-submenu-expand-icon`,(0,n.l$)(Mt)?(N=Mt.props)===null||N===void 0?void 0:N.className:"")})}const dt=R.useMemo(()=>({prefixCls:je,inlineCollapsed:We||!1,direction:Z,firstLevel:!0,theme:oe,mode:He,disableMenuItemTitleTooltip:ve}),[je,We,Z,ve,oe]);return xt(R.createElement(M.Z.Provider,{value:null},R.createElement(a.Provider,{value:dt},R.createElement(x.ZP,Object.assign({getPopupContainer:$,overflowedIndicator:R.createElement(d.Z,null),overflowedIndicatorPopupClassName:A()(je,`${je}-${oe}`,pt),mode:He,selectable:tt,onClick:wt},ft,{inlineCollapsed:We,style:Object.assign(Object.assign({},F==null?void 0:F.style),ae),className:Et,prefixCls:je,direction:Z,defaultMotions:Ie,expandIcon:Pt,ref:B,rootClassName:A()(ze,it)}),nt))))});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(xe,re,f){"use strict";f.d(re,{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:ee,controlHeightSM:ue,gradientFromColor:ae,padding:oe,marginSM:ye,borderRadius:ve,titleHeight:me,blockRadius:Ne,paragraphLiHeight:Oe,controlHeightXS:_e,paragraphMarginTop:ze}=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(ee)),[`${j}-sm`]:Object.assign({},n(ue))},[`${N}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${o}`]:{width:"100%",height:me,background:ae,borderRadius:Ne,[`+ ${S}`]:{marginBlockStart:ue}},[`${S}`]:{padding:0,"> li":{width:"100%",height:Oe,listStyle:"none",background:ae,borderRadius:Ne,"+ li":{marginBlockStart:_e}}},[`${S}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${N}-content`]:{[`${o}, ${S} > li`]:{borderRadius:ve}}},[`${N}-with-avatar ${N}-content`]:{[`${o}`]:{marginBlockStart:ye,[`+ ${S}`]:{marginBlockStart:ze}}},[`${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),[ee,ue]=P(V),ae=(0,A.Z)(p,["prefixCls","className"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S},j,o,ue);return ee(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),[ee,ue]=P(V),ae=(0,A.Z)(p,["prefixCls"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S,[`${V}-block`]:$},j,o,ue);return ee(W.createElement("div",{className:oe},W.createElement(K,Object.assign({prefixCls:`${V}-button`,size:Z},ae))))};const ne="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,ee]=P(F),ue=R()(F,`${F}-element`,{[`${F}-active`]:$},j,o,ee);return V(W.createElement("div",{className:ue},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:ne,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),[ee,ue]=P(V),ae=(0,A.Z)(p,["prefixCls"]),oe=R()(V,`${V}-element`,{[`${V}-active`]:S,[`${V}-block`]:$},j,o,ue);return ee(W.createElement("div",{className:oe},W.createElement(K,Object.assign({prefixCls:`${V}-input`,size:Z},ae))))},O=f(96663),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,fe=p=>{const{prefixCls:N,className:j,rootClassName:o,style:S,active:$,children:Z}=p,{getPrefixCls:F}=W.useContext(z.E_),V=F("skeleton",N),[ee,ue]=P(V),ae=R()(V,`${V}-element`,{[`${V}-active`]:$},ue,j,o),oe=Z!=null?Z:W.createElement(X,null);return ee(W.createElement("div",{className:ae},W.createElement("div",{className:R()(`${V}-image`,j),style:S},oe)))},he=f(19127),Ce=p=>{const N=F=>{const{width:V,rows:ee=2}=p;if(Array.isArray(V))return V[F];if(ee-1===F)return V},{prefixCls:j,className:o,style:S,rows:$}=p,Z=(0,he.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)},$e=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 Pe(p){return p&&typeof p=="object"?p:{}}function Ue(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:ee=!0,active:ue,round:ae}=p,{getPrefixCls:oe,direction:ye,skeleton:ve}=W.useContext(z.E_),me=oe("skeleton",N),[Ne,Oe]=P(me);if(j||!("loading"in p)){const _e=!!F,ze=!!V,Ge=!!ee;let qe;if(_e){const et=Object.assign(Object.assign({prefixCls:`${me}-avatar`},Ue(ze,Ge)),Pe(F));qe=W.createElement("div",{className:`${me}-header`},W.createElement(K,Object.assign({},et)))}let Ke;if(ze||Ge){let et;if(ze){const nt=Object.assign(Object.assign({prefixCls:`${me}-title`},Le(_e,Ge)),Pe(V));et=W.createElement($e,Object.assign({},nt))}let ft;if(Ge){const nt=Object.assign(Object.assign({prefixCls:`${me}-paragraph`},Ze(_e,ze)),Pe(ee));ft=W.createElement(Ce,Object.assign({},nt))}Ke=W.createElement("div",{className:`${me}-content`},et,ft)}const pt=R()(me,{[`${me}-with-avatar`]:_e,[`${me}-active`]:ue,[`${me}-rtl`]:ye==="rtl",[`${me}-round`]:ae},ve==null?void 0:ve.className,o,S,Oe);return Ne(W.createElement("div",{className:pt,style:Object.assign(Object.assign({},ve==null?void 0:ve.style),$)},qe,Ke))}return typeof Z!="undefined"?Z:null};ke.Button=Q,ke.Avatar=G,ke.Input=l,ke.Image=_,ke.Node=fe;var k=ke,B=k},8378:function(xe,re){"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`}}});re.Z=f},92899:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{i:function(){return x}});const x=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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=ne=>{const{componentCls:w,tooltipMaxWidth:_,tooltipColor:y,tooltipBg:l,tooltipBorderRadius:O,zIndexPopup:b,controlHeight:t,boxShadowSecondary:r,paddingSM:m,paddingXS:T,tooltipRadiusOuter:X}=ne;return[{[w]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,i.Wf)(ne)),{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)(ne,(q,fe)=>{let{darkColor:he}=fe;return{[`&${w}-${q}`]:{[`${w}-inner`]:{backgroundColor:he},[`${w}-arrow`]:{"--antd-arrow-background-color":he}}}})),{"&-rtl":{direction:"rtl"}})},(0,s.ZP)((0,g.TS)(ne,{borderRadiusOuter:X}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:O,limitVerticalRadius:!0}),{[`${w}-pure`]:{position:"relative",maxWidth:"none",margin:ne.sizePopupArrow}}]};var u=(ne,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})(ne),d=f(36785);function I(ne,w){const _=(0,d.o2)(w),y=W()({[`${ne}-${w}`]:w&&_}),l={},O={};return w&&!_&&(l.background=w,O["--antd-arrow-background-color"]=w),{className:y,overlayStyle:l,arrowStyle:O}}var M=ne=>{const{prefixCls:w,className:_,placement:y="top",title:l,color:O,overlayInnerStyle:b}=ne,{getPrefixCls:t}=x.useContext(e.E_),r=t("tooltip",w),[m,T]=u(r,!0),X=I(r,O),q=X.arrowStyle,fe=Object.assign(Object.assign({},b),X.overlayStyle),he=W()(T,r,`${r}-pure`,`${r}-placement-${y}`,_,X.className);return m(x.createElement("div",{className:he,style:q},x.createElement("div",{className:`${r}-arrow`}),x.createElement(z.G,Object.assign({},ne,{className:T,prefixCls:r,overlayInnerStyle:fe}),l)))},P=function(ne,w){var _={};for(var y in ne)Object.prototype.hasOwnProperty.call(ne,y)&&w.indexOf(y)<0&&(_[y]=ne[y]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,y=Object.getOwnPropertySymbols(ne);l<y.length;l++)w.indexOf(y[l])<0&&Object.prototype.propertyIsEnumerable.call(ne,y[l])&&(_[y[l]]=ne[y[l]]);return _};const L=(ne,w)=>{const _={},y=Object.assign({},ne);return w.forEach(l=>{ne&&l in ne&&(_[l]=ne[l],delete y[l])}),{picked:_,omitted:y}};function G(ne,w){const _=ne.type;if((_.__ANT_BUTTON===!0||ne.type==="button")&&ne.props.disabled||_.__ANT_SWITCH===!0&&(ne.props.disabled||ne.props.loading)||_.__ANT_RADIO===!0&&ne.props.disabled){const{picked:y,omitted:l}=L(ne.props.style,["position","left","right","top","bottom","float","display","zIndex"]),O=Object.assign(Object.assign({display:"inline-block"},y),{cursor:"not-allowed",width:ne.props.block?"100%":void 0}),b=Object.assign(Object.assign({},l),{pointerEvents:"none"}),t=(0,D.Tm)(ne,{style:b,className:null});return x.createElement("span",{style:O,className:W()(ne.props.className,`${w}-disabled-compatible-wrapper`)},t)}return ne}const J=x.forwardRef((ne,w)=>{var _,y;const{prefixCls:l,openClassName:O,getTooltipContainer:b,overlayClassName:t,color:r,overlayInnerStyle:m,children:T,afterOpenChange:X,afterVisibleChange:q,destroyTooltipOnHide:fe,arrow:he=!0,title:ge,overlay:Ce,builtinPlacements:Me,arrowPointAtCenter:$e=!1,autoAdjustOverflow:Pe=!0}=ne,Ue=!!he,[,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:(_=ne.open)!==null&&_!==void 0?_:ne.visible,defaultValue:(y=ne.defaultOpen)!==null&&y!==void 0?y:ne.defaultVisible}),o=!ge&&!Ce&&ge!==0,S=He=>{var tt,We;j(o?!1:He),o||((tt=ne.onOpenChange)===null||tt===void 0||tt.call(ne,He),(We=ne.onVisibleChange)===null||We===void 0||We.call(ne,He))},$=x.useMemo(()=>{var He,tt;let We=$e;return typeof he=="object"&&(We=(tt=(He=he.pointAtCenter)!==null&&He!==void 0?He:he.arrowPointAtCenter)!==null&&tt!==void 0?tt:$e),Me||(0,K.Z)({arrowPointAtCenter:We,autoAdjustOverflow:Pe,arrowWidth:Ue?Le.sizePopupArrow:0,borderRadius:Le.borderRadius,offset:Le.marginXXS,visibleFirst:!0})},[$e,he,Me,Le]),Z=x.useMemo(()=>ge===0?ge:Ce||ge||"",[Ce,ge]),F=x.createElement(E.BR,null,typeof Z=="function"?Z():Z),{getPopupContainer:V,placement:ee="top",mouseEnterDelay:ue=.1,mouseLeaveDelay:ae=.1,overlayStyle:oe,rootClassName:ye}=ne,ve=P(ne,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),me=ke("tooltip",l),Ne=ke(),Oe=ne["data-popover-inject"];let _e=N;!("open"in ne)&&!("visible"in ne)&&o&&(_e=!1);const ze=G((0,D.l$)(T)&&!(0,D.M2)(T)?T:x.createElement("span",null,T),me),Ge=ze.props,qe=!Ge.className||typeof Ge.className=="string"?W()(Ge.className,O||`${me}-open`):Ge.className,[Ke,pt]=u(me,!Oe),et=I(me,r),ft=et.arrowStyle,nt=Object.assign(Object.assign({},m),et.overlayStyle),wt=W()(t,{[`${me}-rtl`]:k==="rtl"},et.className,ye,pt);return Ke(x.createElement(z.Z,Object.assign({},ve,{showArrow:Ue,placement:ee,mouseEnterDelay:ue,mouseLeaveDelay:ae,prefixCls:me,overlayClassName:wt,overlayStyle:Object.assign(Object.assign({},ft),oe),getTooltipContainer:V||b||Ze,ref:B,builtinPlacements:$,overlay:F,visible:_e,onVisibleChange:S,afterVisibleChange:X!=null?X:q,overlayInnerStyle:nt,arrowContent:x.createElement("span",{className:`${me}-arrow-content`}),motion:{motionName:(0,U.m)(Ne,"zoom-big-fast",ne.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!fe}),_e?(0,D.Tm)(ze,{className:qe}):ze))});J._InternalPanelDoNotUseOrYouWillBeFired=M;var Q=J},25769:function(xe,re,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}xe.exports=A},53184:function(xe,re,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(re,x),R!==void 0&&(xe.exports=R)},87804:function(xe,re){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,ne=!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&&(ne=!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,ne?(ne=!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 q=0;q<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;q++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[q])){l=!0;break}(J||ne)&&!(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 fe=t==='"'||t==="'";this.preserveSingleSpace(fe||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 he=!1;this._input.lookBack("with")&&(he=!0),this.preserveSingleSpace(b||he),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 ge=t==='"'||t==="'";this.preserveSingleSpace(ge||b),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&l&&this._output.add_new_line()}var Ce=this._output.get_code(P);return Ce},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(re,f),x!==void 0&&(xe.exports=x)})()},40998:function(xe,re,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(ge,Ce){var Me=new G(ge,Ce,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 q=function(){this.eol=`
|
|
`};q.prototype=this._options.raw_options;var fe=new q;O=b(T+O,fe)}else{var he=_.whitespace_before;he&&(O=O.replace(new RegExp(`
|
|
(`+he+")?","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"],ne=["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||ne.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(re,x),R!==void 0&&(xe.exports=R);else var A,U})()},58553:function(xe,re){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 ne(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,q;T<X;T++)if(q=r[T],q&&q.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 q=r.comments_before.next();q;)this.handle_whitespace_and_comments(q,m),this.handle_token(q,m),q=r.comments_before.next();if(X)for(var fe=0;fe<T;fe+=1)this.print_newline(fe>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 he=1;he<T;he+=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 q=u(this._flags.last_token.text,v)&&u(this._options.operator_position,J)||u(r.text,v);T=T&&q}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&&ne(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(),ne(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==="}",q=X&&this._flags.last_word==="function"&&this._flags.last_token.type===h.END_EXPR;if(this._options.brace_preserve_inline){var fe=0,he=null;this._flags.inline_frame=!0;do if(fe+=1,he=this._tokens.peek(fe-1),he.newlines){this._flags.inline_frame=!1;break}while(he.type!==h.EOF&&!(he.type===h.END_BLOCK&&he.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&&(q||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 q=!0,fe=!0,he=!1;if(r.text===":"?this._flags.ternary_depth===0?q=!1:(this._flags.ternary_depth-=1,he=!0):r.text==="?"&&(this._flags.ternary_depth+=1),!T&&!m&&this._options.preserve_newlines&&u(r.text,v)){var ge=r.text===":",Ce=ge&&he,Me=ge&&!he;switch(this._options.operator_position){case G.before_newline:this._output.space_before_token=!Me,this.print_token(r),(!ge||Ce)&&this.allow_wrap_or_preserved_newline(r),this._output.space_before_token=!0;return;case G.after_newline:this._output.space_before_token=!0,!ge||Ce?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),q=!(this._output.just_added_newline()||Me),this._output.space_before_token=q,this.print_token(r),this._output.space_before_token=!0;return}}if(m){this.allow_wrap_or_preserved_newline(r),q=!1;var $e=this._tokens.peek();fe=$e&&u($e.type,[h.WORD,h.RESERVED])}else if(r.text==="...")this.allow_wrap_or_preserved_newline(r),q=this._flags.last_token.type===h.START_BLOCK,fe=!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),q=!1,fe=!1,r.newlines&&(r.text==="--"||r.text==="++"||r.text==="~")){var Pe=M(this._flags.last_token,P)&&r.newlines;Pe&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Pe,!0)}this._flags.last_token.text===";"&&y(this._flags.mode)&&(q=!0),this._flags.last_token.type===h.RESERVED?q=!0:this._flags.last_token.type===h.END_EXPR?q=!(this._flags.last_token.text==="]"&&(r.text==="--"||r.text==="++")):this._flags.last_token.type===h.OPERATOR&&(q=u(r.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(r.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(fe=!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||q,this.print_token(r),this._output.space_before_token=fe},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,q=!1,fe=!1,he=r.whitespace_before,ge=he.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),q=l(T,"*"),fe=O(T,he),q&&(this._flags.alignment=1),X=0;X<T.length;X++)q?(this.print_token_line_indentation(r),this._output.add_token(d(T[X]))):fe&&T[X]?(this.print_token_line_indentation(r),this._output.add_token(T[X].substring(ge))):(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"]),ne=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"))&&ne.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],q=t[2],fe=!!t[t.length-1]||q.slice(0,8)==="![CDATA[";if(!fe&&(q===r||m&&q.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(re,f),x!==void 0&&(xe.exports=x)})()},75918:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{ok:function(){return x}});function x(R,W){if(!R)throw new Error(W?`Assertion failed (${W})`:"Assertion Failed")}},52615:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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 q=new e({leakWarningThreshold:t,onFirstListenerAdd(){r=y(fe=>{X++,m=l(m,fe),b&&!T&&(q.fire(m),m=void 0),clearTimeout(T),T=setTimeout(()=>{const he=m;m=void 0,T=void 0,(!b||X>1)&&q.fire(he),X=0},O)})},onLastListenerRemove(){r.dispose()}});return q.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 ne(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=ne;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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{$: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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{$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,ne=!1;function w(){if(!ne){ne=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,Q=new Uint16Array(_.buffer)[0]===513}return Q}},95830:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{$i:function(){return X},C8:function(){return Ce},GF:function(){return c},HO:function(){return O},IO:function(){return i},K7:function(){return ge},Kw:function(){return Pe},LC:function(){return a},Mh:function(){return G},P1:function(){return J},PJ:function(){return Ue},Qe:function(){return q},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 ne},YU:function(){return z},ZG:function(){return Q},ZH:function(){return _},ab:function(){return fe},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 $e},un:function(){return e},uq:function(){return s},vH:function(){return l},xe:function(){return he},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 ee=Z-$,ue=V-F;return ee<ue?-1:ee>ue?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 ye=ae-oe;if(ye!==0)return ye}const ee=Z-$,ue=V-F;return ee<ue?-1:ee>ue?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 ne(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(ne(F))return w(Z,F)}return Z}function y(o,S){const $=o.charCodeAt(S-1);if(ne($)&&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 ee=$.getGraphemeBreakType(V);for(;S<F;){const ue=_(o,F,S),ae=$.getGraphemeBreakType(ue);if(Ze(ee,ae))break;S+=ue>=65536?2:1,ee=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 ee=y(o,S),ue=$.getGraphemeBreakType(ee);if(Ze(ue,V))break;S-=ee>=65536?2:1,V=ue}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 q=/[\u2028\u2029]/;function fe(o){return q.test(o)}function he(o){for(let S=0,$=o.length;S<$;S++)if(ge(o.charCodeAt(S)))return!0;return!1}function ge(o){return o=+o,o>=11904&&o<=55215||o>=63744&&o<=64255||o>=65281&&o<=65374}function Ce(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 $e(o){return!!(o&&o.length>0&&o.charCodeAt(0)===65279)}function Pe(o,S=!1){return o?(S&&(o=o.replace(/\\./g,"")),o.toLowerCase()!==o):!1}function Ue(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(Ce($)){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(xe,re,f){"use strict";f.d(re,{$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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{Ao:function(){return K},Eq:function(){return w},Fb:function(){return D},K8:function(){return l},i6:function(){return ne},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),q=t[T+1]==="i"?"i":"";try{return new RegExp(X,q)}catch(fe){if(r)throw new Error(`bad regexp-value '${t}', parse error: ${fe}`);return console.warn(`bad regexp-value '${t}', parse error: ${fe}`),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 q=m.pop(),fe=m.length===0,he=J.create(X.expr.map(ge=>G.create([ge,q],null)),null,fe);he&&(m.push(he),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 q=0,fe=t.length;q<fe;q++){const he=t[q];if(he){if(he.type===0){X=!0;continue}if(he.type===1)return c.INSTANCE;if(he.type===9){T=T.concat(he.expr);continue}T.push(he)}}if(T.length===0&&X)return E.INSTANCE;T.sort(e)}if(T.length!==0){if(T.length===1)return T[0];for(let q=1;q<T.length;q++)T[q-1].equals(T[q])&&(T.splice(q,1),q--);if(T.length===1)return T[0];if(m){for(let q=0;q<T.length;q++)for(let fe=q+1;fe<T.length;fe++)l(T[q],T[fe])&&(T.splice(fe,1),fe--);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 q of O(r))for(const fe of O(m))T.push(G.create([q,fe],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 ne=(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 q=m[T].negate();for(let fe=T+1;fe<m.length;fe++){const he=m[fe];if(q.equals(he))return!0}}return!1}function O(b){return b.type===9?b.expr:[b]}},16925:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{e:function(){return x}});var x;(function(R){R.DARK="dark",R.LIGHT="light",R.HIGH_CONTRAST="hc"})(x||(x={}))},49055:function(xe,re,f){"use strict";f.d(re,{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(xe,re,f){"use strict";f.d(re,{Z:function(){return P}});var x=f(96663),R=f(90493),W=f(72071),z=f(6620),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,ne=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),ne&&(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,ne=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(ne,"-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,ne=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,q=L.hideAction,fe=L.overlayClassName,he=L.overlayStyle,ge=L.visible,Ce=L.trigger,Me=Ce===void 0?["hover"]:Ce,$e=L.autoFocus,Pe=L.overlay,Ue=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?ge:B,j=e.useRef(null),o=e.useRef(null),S=e.useRef(null);e.useImperativeHandle(G,function(){return j.current});var $=function(ve){p(ve),Le==null||Le(ve)};s({visible:N,triggerRef:S,onVisibleChange:$,autoFocus:$e,overlayRef:o});var Z=function(ve){var me=L.onOverlayClick;p(!1),me&&me(ve)},F=function(){return e.createElement(g,{ref:o,overlay:Pe,prefixCls:_,arrow:ne})},V=function(){return typeof Pe=="function"?F:F()},ee=function(){var ve=L.minOverlayWidthMatchTrigger,me=L.alignPoint;return"minOverlayWidthMatchTrigger"in L?ve:!me},ue=function(){var ve=L.openClassName;return ve!==void 0?ve:"".concat(_,"-open")},ae=e.cloneElement(Ue,{className:K()((J=Ue.props)===null||J===void 0?void 0:J.className,N&&ue()),ref:(0,D.Yr)(Ue)?(0,D.sQ)(S,Ue.ref):void 0}),oe=q;return!oe&&Me.indexOf("contextMenu")!==-1&&(oe=["click"]),e.createElement(A.Z,(0,x.Z)({builtinPlacements:m},Ze,{prefixCls:_,ref:j,popupClassName:K()(fe,(0,R.Z)({},"".concat(_,"-show-arrow"),ne)),popupStyle:he,action:Me,showAction:X,hideAction:oe,popupPlacement:t,popupAlign:O,popupTransitionName:y,popupAnimation:l,popupVisible:N,stretch:ee()?"minWidth":"",popup:V(),onPopupVisibleChange:$,onPopupClick:Z,getPopupContainer:T}),ae)}var M=e.forwardRef(C),P=M},15285:function(xe,re,f){"use strict";f.d(re,{iz:function(){return Dt},ck:function(){return tt},BW:function(){return an},sN:function(){return tt},Wd:function(){return Qt},ZP:function(){return Ee},Xl:function(){return J}});var x=f(96663),R=f(90493),W=f(44127),z=f(19127),A=f(72071),U=f(6620),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 ie=(0,W.Z)({},H);return Object.keys(Y).forEach(function(ce){var te=Y[ce];te!==void 0&&(ie[ce]=te)}),ie}function C(H){var Y=H.children,ie=H.locked,ce=(0,U.Z)(H,u),te=n.useContext(d),le=(0,h.Z)(function(){return I(te,ce)},[te,ce],function(se,pe){return!ie&&(se[0]!==pe[0]||!(0,c.Z)(se[1],pe[1],!0))});return n.createElement(d.Provider,{value:le},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),ne=n.createContext({}),w=ne,_=f(29194);function y(H){var Y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(H)){var ie=H.nodeName.toLowerCase(),ce=["input","select","textarea","button"].includes(ie)||H.isContentEditable||ie==="a"&&!!H.getAttribute("href"),te=H.getAttribute("tabindex"),le=Number(te),se=null;return te&&!Number.isNaN(le)?se=le:ce&&se===null&&(se=0),ce&&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,ie=(0,z.Z)(H.querySelectorAll("*")).filter(function(ce){return y(ce,Y)});return y(H,Y)&&ie.unshift(H),ie}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 ie=l(H),ce=ie[Y.shiftKey?0:ie.length-1],te=ce===document.activeElement||H===document.activeElement;if(te){var le=ie[Y.shiftKey?ie.length-1:0];le.focus(),Y.preventDefault()}}}var T=f(10228),X=f(16089),q=T.Z.LEFT,fe=T.Z.RIGHT,he=T.Z.UP,ge=T.Z.DOWN,Ce=T.Z.ENTER,Me=T.Z.ESC,$e=T.Z.HOME,Pe=T.Z.END,Ue=[he,ge,q,fe];function Le(H,Y,ie,ce){var te,le,se,pe,Re="prev",be="next",Fe="children",Xe="parent";if(H==="inline"&&ce===Ce)return{inlineTrigger:!0};var rt=(te={},(0,R.Z)(te,he,Re),(0,R.Z)(te,ge,be),te),Be=(le={},(0,R.Z)(le,q,ie?be:Re),(0,R.Z)(le,fe,ie?Re:be),(0,R.Z)(le,ge,Fe),(0,R.Z)(le,Ce,Fe),le),Te=(se={},(0,R.Z)(se,he,Re),(0,R.Z)(se,ge,be),(0,R.Z)(se,Ce,Fe),(0,R.Z)(se,Me,Xe),(0,R.Z)(se,q,ie?Fe:Xe),(0,R.Z)(se,fe,ie?Xe:Fe),se),ut={inline:rt,horizontal:Be,vertical:Te,inlineSub:rt,horizontalSub:Te,verticalSub:Te},ot=(pe=ut["".concat(H).concat(Y?"":"Sub")])===null||pe===void 0?void 0:pe[ce];switch(ot){case Re:return{offset:-1,sibling:!0};case be:return{offset:1,sibling:!0};case Xe:return{offset:-1,sibling:!1};case Fe: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 ie=H||document.activeElement;ie;){if(Y.has(ie))return ie;ie=ie.parentElement}return null}function k(H,Y){var ie=l(H,!0);return ie.filter(function(ce){return Y.has(ce)})}function B(H,Y,ie){var ce=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!H)return null;var te=k(H,Y),le=te.length,se=te.findIndex(function(pe){return ie===pe});return ce<0?se===-1?se=le-1:se-=1:ce>0&&(se+=1),se=(se+le)%le,te[se]}var p=function(Y,ie){var ce=new Set,te=new Map,le=new Map;return Y.forEach(function(se){var pe=document.querySelector("[data-menu-id='".concat(g(ie,se),"']"));pe&&(ce.add(pe),le.set(pe,se),te.set(se,pe))}),{elements:ce,key2element:te,element2key:le}};function N(H,Y,ie,ce,te,le,se,pe,Re,be){var Fe=n.useRef(),Xe=n.useRef();Xe.current=Y;var rt=function(){X.Z.cancel(Fe.current)};return n.useEffect(function(){return function(){rt()}},[]),function(Be){var Te=Be.which;if([].concat(Ue,[Ce,Me,$e,Pe]).includes(Te)){var ut=le(),ot=p(ut,ce),gt=ot,st=gt.elements,Je=gt.key2element,Ye=gt.element2key,Qe=Je.get(Y),ht=ke(Qe,st),At=Ye.get(ht),ct=Le(H,se(At,!0).length===1,ie,Te);if(!ct&&Te!==$e&&Te!==Pe)return;(Ue.includes(Te)||[$e,Pe].includes(Te))&&Be.preventDefault();var nn=function(Bt){if(Bt){var Gt=Bt,hn=Bt.querySelector("a");hn!=null&&hn.getAttribute("href")&&(Gt=hn);var vt=Ye.get(Bt);pe(vt),rt(),Fe.current=(0,X.Z)(function(){Xe.current===vt&&Gt.focus()})}};if([$e,Pe].includes(Te)||ct.sibling||!ht){var bt;!ht||H==="inline"?bt=te.current:bt=Ze(ht);var Lt,It=k(bt,st);Te===$e?Lt=It[0]:Te===Pe?Lt=It[It.length-1]:Lt=B(bt,st,ht,ct.offset),nn(Lt)}else if(ct.inlineTrigger)Re(At);else if(ct.offset>0)Re(At,!0),rt(),Fe.current=(0,X.Z)(function(){ot=p(ut,ce);var fn=ht.getAttribute("aria-controls"),Bt=document.getElementById(fn),Gt=B(Bt,ot.elements);nn(Gt)},5);else if(ct.offset<0){var $t=se(At,!0),Vt=$t[$t.length-2],Yt=Je.get(Vt);Re(Vt,!1),nn(Yt)}}be==null||be(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),ie=Y[1],ce=(0,n.useRef)(new Map),te=(0,n.useRef)(new Map),le=n.useState([]),se=(0,A.Z)(le,2),pe=se[0],Re=se[1],be=(0,n.useRef)(0),Fe=(0,n.useRef)(!1),Xe=function(){Fe.current||ie({})},rt=(0,n.useCallback)(function(Je,Ye){var Qe=S(Ye);te.current.set(Qe,Je),ce.current.set(Je,Qe),be.current+=1;var ht=be.current;j(function(){ht===be.current&&Xe()})},[]),Be=(0,n.useCallback)(function(Je,Ye){var Qe=S(Ye);te.current.delete(Qe),ce.current.delete(Je)},[]),Te=(0,n.useCallback)(function(Je){Re(Je)},[]),ut=(0,n.useCallback)(function(Je,Ye){var Qe=ce.current.get(Je)||"",ht=$(Qe);return Ye&&pe.includes(ht[0])&&ht.unshift(Z),ht},[pe]),ot=(0,n.useCallback)(function(Je,Ye){return Je.some(function(Qe){var ht=ut(Qe,!0);return ht.includes(Ye)})},[ut]),gt=function(){var Ye=(0,z.Z)(ce.current.keys());return pe.length&&Ye.push(Z),Ye},st=(0,n.useCallback)(function(Je){var Ye="".concat(ce.current.get(Je)).concat(o),Qe=new Set;return(0,z.Z)(te.current.keys()).forEach(function(ht){ht.startsWith(Ye)&&Qe.add(te.current.get(ht))}),Qe},[]);return n.useEffect(function(){return function(){Fe.current=!0}},[]),{registerPath:rt,unregisterPath:Be,refreshOverflowKeys:Te,isSubPathKey:ot,getKeyPath:ut,getKeys:gt,getSubPathKeys:st}}function V(H){var Y=n.useRef(H);Y.current=H;var ie=n.useCallback(function(){for(var ce,te=arguments.length,le=new Array(te),se=0;se<te;se++)le[se]=arguments[se];return(ce=Y.current)===null||ce===void 0?void 0:ce.call.apply(ce,[Y].concat(le))},[]);return H?ie:void 0}var ee=Math.random().toFixed(5).toString().slice(2),ue=0;function ae(H){var Y=(0,E.Z)(H,{value:H}),ie=(0,A.Z)(Y,2),ce=ie[0],te=ie[1];return n.useEffect(function(){ue+=1;var le="".concat(ee,"-").concat(ue);te("rc-menu-uuid-".concat(le))},[]),ce}var oe=f(52884),ye=f(95727),ve=f(65711),me=f(85745),Ne=f(2738),Oe=f(8654);function _e(H,Y,ie,ce){var te=n.useContext(d),le=te.activeKey,se=te.onActive,pe=te.onInactive,Re={active:le===H};return Y||(Re.onMouseEnter=function(be){ie==null||ie({key:H,domEvent:be}),se(H)},Re.onMouseLeave=function(be){ce==null||ce({key:H,domEvent:be}),pe(H)}),Re}function ze(H){var Y=n.useContext(d),ie=Y.mode,ce=Y.rtl,te=Y.inlineIndent;if(ie!=="inline")return null;var le=H;return ce?{paddingRight:le*te}:{paddingLeft:le*te}}function Ge(H){var Y=H.icon,ie=H.props,ce=H.children,te;return Y===null||Y===!1?null:(typeof Y=="function"?te=n.createElement(Y,(0,W.Z)({},ie)):typeof Y!="boolean"&&(te=Y),te||ce||null)}var qe=["item"];function Ke(H){var Y=H.item,ie=(0,U.Z)(H,qe);return Object.defineProperty(ie,"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}}),ie}var pt=["title","attribute","elementRef"],et=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ft=["active"],nt=function(H){(0,ve.Z)(ie,H);var Y=(0,me.Z)(ie);function ie(){return(0,oe.Z)(this,ie),Y.apply(this,arguments)}return(0,ye.Z)(ie,[{key:"render",value:function(){var te=this.props,le=te.title,se=te.attribute,pe=te.elementRef,Re=(0,U.Z)(te,pt),be=(0,Ne.Z)(Re,["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 le=="string"?le:void 0},be,{ref:pe}))}}]),ie}(n.Component),wt=n.forwardRef(function(H,Y){var ie,ce=H.style,te=H.className,le=H.eventKey,se=H.warnKey,pe=H.disabled,Re=H.itemIcon,be=H.children,Fe=H.role,Xe=H.onMouseEnter,rt=H.onMouseLeave,Be=H.onClick,Te=H.onKeyDown,ut=H.onFocus,ot=(0,U.Z)(H,et),gt=v(le),st=n.useContext(d),Je=st.prefixCls,Ye=st.onItemClick,Qe=st.disabled,ht=st.overflowDisabled,At=st.itemIcon,ct=st.selectedKeys,nn=st.onActive,bt=n.useContext(w),Lt=bt._internalRenderMenuItem,It="".concat(Je,"-item"),$t=n.useRef(),Vt=n.useRef(),Yt=Qe||pe,fn=(0,Oe.x1)(Y,Vt),Bt=J(le),Gt=function(Tt){return{key:le,keyPath:(0,z.Z)(Bt).reverse(),item:$t.current,domEvent:Tt}},hn=Re||At,vt=_e(le,Yt,Xe,rt),Sn=vt.active,Tn=(0,U.Z)(vt,ft),xn=ct.includes(le),Cn=ze(Bt.length),_n=function(Tt){if(!Yt){var Jt=Gt(Tt);Be==null||Be(Ke(Jt)),Ye(Jt)}},Xt=function(Tt){if(Te==null||Te(Tt),Tt.which===T.Z.ENTER){var Jt=Gt(Tt);Be==null||Be(Ke(Jt)),Ye(Jt)}},on=function(Tt){nn(le),ut==null||ut(Tt)},mn={};H.role==="option"&&(mn["aria-selected"]=xn);var Rn=n.createElement(nt,(0,x.Z)({ref:$t,elementRef:fn,role:Fe===null?"none":Fe||"menuitem",tabIndex:pe?null:-1,"data-menu-id":ht&>?null:gt},ot,Tn,mn,{component:"li","aria-disabled":pe,style:(0,W.Z)((0,W.Z)({},Cn),ce),className:D()(It,(ie={},(0,R.Z)(ie,"".concat(It,"-active"),Sn),(0,R.Z)(ie,"".concat(It,"-selected"),xn),(0,R.Z)(ie,"".concat(It,"-disabled"),Yt),ie),te),onClick:_n,onKeyDown:Xt,onFocus:on}),be,n.createElement(Ge,{props:(0,W.Z)((0,W.Z)({},H),{},{isSelected:xn}),icon:hn}));return Lt&&(Rn=Lt(Rn,H,{selected:xn})),Rn});function He(H,Y){var ie=H.eventKey,ce=L(),te=J(ie);return n.useEffect(function(){if(ce)return ce.registerPath(ie,te),function(){ce.unregisterPath(ie,te)}},[te]),ce?null:n.createElement(wt,(0,x.Z)({},H,{ref:Y}))}var tt=n.forwardRef(He),We=["className","children"],Ie=function(Y,ie){var ce=Y.className,te=Y.children,le=(0,U.Z)(Y,We),se=n.useContext(d),pe=se.prefixCls,Re=se.mode,be=se.rtl;return n.createElement("ul",(0,x.Z)({className:D()(pe,be&&"".concat(pe,"-rtl"),"".concat(pe,"-sub"),"".concat(pe,"-").concat(Re==="inline"?"inline":"vertical"),ce),role:"menu"},le,{"data-menu-list":!0,ref:ie}),te)},je=n.forwardRef(Ie);je.displayName="SubMenuList";var xt=je,it=f(11592);function Et(H,Y){return(0,it.Z)(H).map(function(ie,ce){if(n.isValidElement(ie)){var te,le,se=ie.key,pe=(te=(le=ie.props)===null||le===void 0?void 0:le.eventKey)!==null&&te!==void 0?te:se,Re=pe==null;Re&&(pe="tmp_key-".concat([].concat((0,z.Z)(Y),[ce]).join("-")));var be={key:pe,eventKey:pe};return n.cloneElement(ie,be)}return ie})}var Pt=f(35593),dt={adjustX:1,adjustY:1},Mt={topLeft:{points:["bl","tl"],overflow:dt},topRight:{points:["br","tr"],overflow:dt},bottomLeft:{points:["tl","bl"],overflow:dt},bottomRight:{points:["tr","br"],overflow:dt},leftTop:{points:["tr","tl"],overflow:dt},leftBottom:{points:["br","bl"],overflow:dt},rightTop:{points:["tl","tr"],overflow:dt},rightBottom:{points:["bl","br"],overflow:dt}},lt={topLeft:{points:["bl","tl"],overflow:dt},topRight:{points:["br","tr"],overflow:dt},bottomLeft:{points:["tl","bl"],overflow:dt},bottomRight:{points:["tr","br"],overflow:dt},rightTop:{points:["tr","tl"],overflow:dt},rightBottom:{points:["br","bl"],overflow:dt},leftTop:{points:["tl","tr"],overflow:dt},leftBottom:{points:["bl","br"],overflow:dt}},wn=null;function Kt(H,Y,ie){if(Y)return Y;if(ie)return ie[H]||ie.other}var Ot={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function St(H){var Y=H.prefixCls,ie=H.visible,ce=H.children,te=H.popup,le=H.popupStyle,se=H.popupClassName,pe=H.popupOffset,Re=H.disabled,be=H.mode,Fe=H.onVisibleChange,Xe=n.useContext(d),rt=Xe.getPopupContainer,Be=Xe.rtl,Te=Xe.subMenuOpenDelay,ut=Xe.subMenuCloseDelay,ot=Xe.builtinPlacements,gt=Xe.triggerSubMenuAction,st=Xe.forceSubMenuRender,Je=Xe.rootClassName,Ye=Xe.motion,Qe=Xe.defaultMotions,ht=n.useState(!1),At=(0,A.Z)(ht,2),ct=At[0],nn=At[1],bt=Be?(0,W.Z)((0,W.Z)({},lt),ot):(0,W.Z)((0,W.Z)({},Mt),ot),Lt=Ot[be],It=Kt(be,Ye,Qe),$t=n.useRef(It);be!=="inline"&&($t.current=It);var Vt=(0,W.Z)((0,W.Z)({},$t.current),{},{leavedClassName:"".concat(Y,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Yt=n.useRef();return n.useEffect(function(){return Yt.current=(0,X.Z)(function(){nn(ie)}),function(){X.Z.cancel(Yt.current)}},[ie]),n.createElement(Pt.Z,{prefixCls:Y,popupClassName:D()("".concat(Y,"-popup"),(0,R.Z)({},"".concat(Y,"-rtl"),Be),se,Je),stretch:be==="horizontal"?"minWidth":null,getPopupContainer:rt,builtinPlacements:bt,popupPlacement:Lt,popupVisible:ct,popup:te,popupStyle:le,popupAlign:pe&&{offset:pe},action:Re?[]:[gt],mouseEnterDelay:Te,mouseLeaveDelay:ut,onPopupVisibleChange:Fe,forceRender:st,popupMotion:Vt,fresh:!0},ce)}var Ft=f(77900);function un(H){var Y=H.id,ie=H.open,ce=H.keyPath,te=H.children,le="inline",se=n.useContext(d),pe=se.prefixCls,Re=se.forceSubMenuRender,be=se.motion,Fe=se.defaultMotions,Xe=se.mode,rt=n.useRef(!1);rt.current=Xe===le;var Be=n.useState(!rt.current),Te=(0,A.Z)(Be,2),ut=Te[0],ot=Te[1],gt=rt.current?ie:!1;n.useEffect(function(){rt.current&&ot(!1)},[Xe]);var st=(0,W.Z)({},Kt(le,be,Fe));ce.length>1&&(st.motionAppear=!1);var Je=st.onVisibleChanged;return st.onVisibleChanged=function(Ye){return!rt.current&&!Ye&&ot(!0),Je==null?void 0:Je(Ye)},ut?null:n.createElement(C,{mode:le,locked:!rt.current},n.createElement(Ft.default,(0,x.Z)({visible:gt},st,{forceRender:Re,removeOnLeave:!1,leavedClassName:"".concat(pe,"-hidden")}),function(Ye){var Qe=Ye.className,ht=Ye.style;return n.createElement(xt,{id:Y,className:Qe,style:ht},te)}))}var Ut=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],sn=["active"],Ct=function(Y){var ie,ce=Y.style,te=Y.className,le=Y.title,se=Y.eventKey,pe=Y.warnKey,Re=Y.disabled,be=Y.internalPopupClose,Fe=Y.children,Xe=Y.itemIcon,rt=Y.expandIcon,Be=Y.popupClassName,Te=Y.popupOffset,ut=Y.popupStyle,ot=Y.onClick,gt=Y.onMouseEnter,st=Y.onMouseLeave,Je=Y.onTitleClick,Ye=Y.onTitleMouseEnter,Qe=Y.onTitleMouseLeave,ht=(0,U.Z)(Y,Ut),At=v(se),ct=n.useContext(d),nn=ct.prefixCls,bt=ct.mode,Lt=ct.openKeys,It=ct.disabled,$t=ct.overflowDisabled,Vt=ct.activeKey,Yt=ct.selectedKeys,fn=ct.itemIcon,Bt=ct.expandIcon,Gt=ct.onItemClick,hn=ct.onOpenChange,vt=ct.onActive,Sn=n.useContext(w),Tn=Sn._internalRenderSubMenuItem,xn=n.useContext(Q),Cn=xn.isSubPathKey,_n=J(),Xt="".concat(nn,"-submenu"),on=It||Re,mn=n.useRef(),Rn=n.useRef(),gn=Xe!=null?Xe:fn,Tt=rt!=null?rt:Bt,Jt=Lt.includes(se),pn=!$t&&Jt,Pn=Cn(Yt,se),ln=_e(se,on,Ye,Qe),In=ln.active,$n=(0,U.Z)(ln,sn),Nn=n.useState(!1),Wn=(0,A.Z)(Nn,2),An=Wn[0],Zn=Wn[1],Ln=function(en){on||Zn(en)},vn=function(en){Ln(!0),gt==null||gt({key:se,domEvent:en})},Fn=function(en){Ln(!1),st==null||st({key:se,domEvent:en})},Bn=n.useMemo(function(){return In||(bt!=="inline"?An||Cn([Vt],se):!1)},[bt,In,Vt,An,se,Cn]),jn=ze(_n.length),Un=function(en){on||(Je==null||Je({key:se,domEvent:en}),bt==="inline"&&hn(se,!Jt))},Mn=V(function(rn){ot==null||ot(Ke(rn)),Gt(rn)}),Dn=function(en){bt!=="inline"&&hn(se,en)},zn=function(){vt(se)},qt=At&&"".concat(At,"-popup"),kn=n.createElement("div",(0,x.Z)({role:"menuitem",style:jn,className:"".concat(Xt,"-title"),tabIndex:on?null:-1,ref:mn,title:typeof le=="string"?le:null,"data-menu-id":$t&&At?null:At,"aria-expanded":pn,"aria-haspopup":!0,"aria-controls":qt,"aria-disabled":on,onClick:Un,onFocus:zn},$n),le,n.createElement(Ge,{icon:bt!=="horizontal"?Tt:void 0,props:(0,W.Z)((0,W.Z)({},Y),{},{isOpen:pn,isSubMenu:!0})},n.createElement("i",{className:"".concat(Xt,"-arrow")}))),jt=n.useRef(bt);if(bt!=="inline"&&_n.length>1?jt.current="vertical":jt.current=bt,!$t){var bn=jt.current;kn=n.createElement(St,{mode:bn,prefixCls:Xt,visible:!be&&pn&&bt!=="inline",popupClassName:Be,popupOffset:Te,popupStyle:ut,popup:n.createElement(C,{mode:bn==="horizontal"?"vertical":bn},n.createElement(xt,{id:qt,ref:Rn},Fe)),disabled:on,onVisibleChange:Dn},kn)}var yn=n.createElement(e.Z.Item,(0,x.Z)({role:"none"},ht,{component:"li",style:ce,className:D()(Xt,"".concat(Xt,"-").concat(bt),te,(ie={},(0,R.Z)(ie,"".concat(Xt,"-open"),pn),(0,R.Z)(ie,"".concat(Xt,"-active"),Bn),(0,R.Z)(ie,"".concat(Xt,"-selected"),Pn),(0,R.Z)(ie,"".concat(Xt,"-disabled"),on),ie)),onMouseEnter:vn,onMouseLeave:Fn}),kn,!$t&&n.createElement(un,{id:qt,open:pn,keyPath:_n},Fe));return Tn&&(yn=Tn(yn,Y,{selected:Pn,active:Bn,open:pn,disabled:on})),n.createElement(C,{onItemClick:Mn,mode:bt==="horizontal"?"vertical":bt,itemIcon:gn,expandIcon:Tt},yn)};function Qt(H){var Y=H.eventKey,ie=H.children,ce=J(Y),te=Et(ie,ce),le=L();n.useEffect(function(){if(le)return le.registerPath(Y,ce),function(){le.unregisterPath(Y,ce)}},[ce]);var se;return le?se=te:se=n.createElement(Ct,H,te),n.createElement(G.Provider,{value:ce},se)}var tn=f(20135),Ht=["className","title","eventKey","children"],cn=["children"],at=function(Y){var ie=Y.className,ce=Y.title,te=Y.eventKey,le=Y.children,se=(0,U.Z)(Y,Ht),pe=n.useContext(d),Re=pe.prefixCls,be="".concat(Re,"-item-group");return n.createElement("li",(0,x.Z)({role:"presentation"},se,{onClick:function(Xe){return Xe.stopPropagation()},className:D()(be,ie)}),n.createElement("div",{role:"presentation",className:"".concat(be,"-title"),title:typeof ce=="string"?ce:void 0},ce),n.createElement("ul",{role:"group",className:"".concat(be,"-list")},le))};function an(H){var Y=H.children,ie=(0,U.Z)(H,cn),ce=J(ie.eventKey),te=Et(Y,ce),le=L();return le?te:n.createElement(at,(0,Ne.Z)(ie,["warnKey"]),te)}function Dt(H){var Y=H.className,ie=H.style,ce=n.useContext(d),te=ce.prefixCls,le=L();return le?null:n.createElement("li",{role:"separator",className:D()("".concat(te,"-item-divider"),Y),style:ie})}var we=["label","children","key","type"];function de(H){return(H||[]).map(function(Y,ie){if(Y&&(0,tn.Z)(Y)==="object"){var ce=Y,te=ce.label,le=ce.children,se=ce.key,pe=ce.type,Re=(0,U.Z)(ce,we),be=se!=null?se:"tmp-".concat(ie);return le||pe==="group"?pe==="group"?n.createElement(an,(0,x.Z)({key:be},Re,{title:te}),de(le)):n.createElement(Qt,(0,x.Z)({key:be},Re,{title:te}),de(le)):pe==="divider"?n.createElement(Dt,(0,x.Z)({key:be},Re)):n.createElement(tt,(0,x.Z)({key:be},Re),te)}return null}).filter(function(Y){return Y})}function De(H,Y,ie){var ce=H;return Y&&(ce=de(Y)),Et(ce,ie)}var mt=["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"],Ve=[],Zt=n.forwardRef(function(H,Y){var ie,ce,te=H,le=te.prefixCls,se=le===void 0?"rc-menu":le,pe=te.rootClassName,Re=te.style,be=te.className,Fe=te.tabIndex,Xe=Fe===void 0?0:Fe,rt=te.items,Be=te.children,Te=te.direction,ut=te.id,ot=te.mode,gt=ot===void 0?"vertical":ot,st=te.inlineCollapsed,Je=te.disabled,Ye=te.disabledOverflow,Qe=te.subMenuOpenDelay,ht=Qe===void 0?.1:Qe,At=te.subMenuCloseDelay,ct=At===void 0?.1:At,nn=te.forceSubMenuRender,bt=te.defaultOpenKeys,Lt=te.openKeys,It=te.activeKey,$t=te.defaultActiveFirst,Vt=te.selectable,Yt=Vt===void 0?!0:Vt,fn=te.multiple,Bt=fn===void 0?!1:fn,Gt=te.defaultSelectedKeys,hn=te.selectedKeys,vt=te.onSelect,Sn=te.onDeselect,Tn=te.inlineIndent,xn=Tn===void 0?24:Tn,Cn=te.motion,_n=te.defaultMotions,Xt=te.triggerSubMenuAction,on=Xt===void 0?"hover":Xt,mn=te.builtinPlacements,Rn=te.itemIcon,gn=te.expandIcon,Tt=te.overflowedIndicator,Jt=Tt===void 0?"...":Tt,pn=te.overflowedIndicatorPopupClassName,Pn=te.getPopupContainer,ln=te.onClick,In=te.onOpenChange,$n=te.onKeyDown,Nn=te.openAnimation,Wn=te.openTransitionName,An=te._internalRenderMenuItem,Zn=te._internalRenderSubMenuItem,Ln=(0,U.Z)(te,mt),vn=n.useMemo(function(){return De(Be,rt,Ve)},[Be,rt]),Fn=n.useState(!1),Bn=(0,A.Z)(Fn,2),jn=Bn[0],Un=Bn[1],Mn=n.useRef(),Dn=ae(ut),zn=Te==="rtl",qt=(0,E.Z)(bt,{value:Lt,postState:function(yt){return yt||Ve}}),kn=(0,A.Z)(qt,2),jt=kn[0],bn=kn[1],yn=function(yt){var kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function En(){bn(yt),In==null||In(yt)}kt?(0,s.flushSync)(En):En()},rn=n.useState(jt),en=(0,A.Z)(rn,2),Hn=en[0],Xn=en[1],Vn=n.useRef(!1),qn=n.useMemo(function(){return(gt==="inline"||gt==="vertical")&&st?["vertical",st]:[gt,!1]},[gt,st]),Qn=(0,A.Z)(qn,2),Kn=Qn[0],Se=Qn[1],Ae=Kn==="inline",Nt=n.useState(Kn),zt=(0,A.Z)(Nt,2),_t=zt[0],Yn=zt[1],er=n.useState(Se),tr=(0,A.Z)(er,2),Jn=tr[0],Er=tr[1];n.useEffect(function(){Yn(Kn),Er(Se),Vn.current&&(Ae?bn(Hn):yn(Ve))},[Kn,Se]);var Or=n.useState(0),fr=(0,A.Z)(Or,2),ir=fr[0],Sr=fr[1],or=ir>=vn.length-1||_t!=="horizontal"||Ye;n.useEffect(function(){Ae&&Xn(jt)},[jt]),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?Ve:vn.slice(ir+1).map(function(Wt){return Wt.key}))},[ir,or]);var $r=(0,E.Z)(It||$t&&((ie=vn[0])===null||ie===void 0?void 0:ie.key),{value:It}),mr=(0,A.Z)($r,2),nr=mr[0],lr=mr[1],Nr=V(function(Wt){lr(Wt)}),kr=V(function(){lr(void 0)});(0,n.useImperativeHandle)(Y,function(){return{list:Mn.current,focus:function(yt){var kt,En=dr(),On=p(En,Dn),ar=On.elements,ur=On.key2element,Kr=On.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,yt)}}}});var Mr=(0,E.Z)(Gt||[],{value:hn,postState:function(yt){return Array.isArray(yt)?yt:yt==null?Ve:[yt]}}),gr=(0,A.Z)(Mr,2),sr=gr[0],Dr=gr[1],Ar=function(yt){if(Yt){var kt=yt.key,En=sr.includes(kt),On;Bt?En?On=sr.filter(function(ur){return ur!==kt}):On=[].concat((0,z.Z)(sr),[kt]):On=[kt],Dr(On);var ar=(0,W.Z)((0,W.Z)({},yt),{},{selectedKeys:On});En?Sn==null||Sn(ar):vt==null||vt(ar)}!Bt&&jt.length&&_t!=="inline"&&yn(Ve)},Lr=V(function(Wt){ln==null||ln(Ke(Wt)),Ar(Wt)}),vr=V(function(Wt,yt){var kt=jt.filter(function(On){return On!==Wt});if(yt)kt.push(Wt);else if(_t!=="inline"){var En=Ir(Wt);kt=kt.filter(function(On){return!En.has(On)})}(0,c.Z)(jt,kt,!0)||yn(kt,!0)}),Br=function(yt,kt){var En=kt!=null?kt:!jt.includes(yt);vr(yt,En)},jr=N(_t,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=_t!=="horizontal"||Ye?vn:vn.map(function(Wt,yt){return n.createElement(C,{key:Wt.key,overflowDisabled:yt>ir},Wt)}),Zr=n.createElement(e.Z,(0,x.Z)({id:ut,ref:Mn,prefixCls:"".concat(se,"-overflow"),component:"ul",itemComponent:tt,className:D()(se,"".concat(se,"-root"),"".concat(se,"-").concat(_t),be,(ce={},(0,R.Z)(ce,"".concat(se,"-inline-collapsed"),Jn),(0,R.Z)(ce,"".concat(se,"-rtl"),zn),ce),pe),dir:Te,style:Re,role:"menu",tabIndex:Xe,data:Wr,renderRawItem:function(yt){return yt},renderRawRest:function(yt){var kt=yt.length,En=kt?vn.slice(-kt):null;return n.createElement(Qt,{eventKey:Z,title:Jt,disabled:or,internalPopupClose:kt===0,popupClassName:pn},En)},maxCount:_t!=="horizontal"||Ye?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(yt){Sr(yt)},onKeyDown:jr},Ln));return n.createElement(w.Provider,{value:zr},n.createElement(a.Provider,{value:Dn},n.createElement(C,{prefixCls:se,rootClassName:pe,mode:_t,openKeys:jt,rtl:zn,disabled:Je,motion:jn?Cn:null,defaultMotions:jn?_n:null,activeKey:nr,onActive:Nr,onInactive:kr,selectedKeys:sr,inlineIndent:xn,subMenuOpenDelay:ht,subMenuCloseDelay:ct,forceSubMenuRender:nn,builtinPlacements:mn,triggerSubMenuAction:on,getPopupContainer:Pn,itemIcon:Rn,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)))))}),dn=Zt,Rt=dn;Rt.Item=tt,Rt.SubMenu=Qt,Rt.ItemGroup=an,Rt.Divider=Dt;var Ee=Rt},11780:function(xe,re,f){"use strict";f.d(re,{Z:function(){return b}});var x=f(96663),R=f(44127),W=f(72071),z=f(6620),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,q=t.renderItem,fe=t.responsive,he=t.responsiveDisabled,ge=t.registerSize,Ce=t.itemKey,Me=t.className,$e=t.style,Pe=t.children,Ue=t.display,Le=t.order,Ze=t.component,ke=Ze===void 0?"div":Ze,k=(0,z.Z)(t,E),B=fe&&!Ue;function p($){ge(Ce,$)}A.useEffect(function(){return function(){p(null)}},[]);var N=q&&X!==c?q(X,{index:Le}):Pe,j;T||(j={opacity:B?0:1,height:B?0:c,overflowY:B?"hidden":c,order:fe?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),$e)},o,k,{ref:r}),N);return fe&&(S=A.createElement(D.Z,{onResize:function(Z){var F=Z.offsetWidth;p(F)},disabled:he},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],q=T[1],fe=(0,a.Z)(function(he){t(function(){q(he)})});return[X,fe]}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,q=X===void 0?"div":X,fe=(0,z.Z)(r,C);return A.createElement(q,(0,x.Z)({},fe,{ref:m}))}var he=T.className,ge=(0,z.Z)(T,M),Ce=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()(he,Ce)},ge,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"],ne="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,q=X===void 0?[]:X,fe=t.renderItem,he=t.renderRawItem,ge=t.itemKey,Ce=t.itemWidth,Me=Ce===void 0?10:Ce,$e=t.ssr,Pe=t.style,Ue=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=$e==="full",$=u(),Z=d($,null),F=(0,W.Z)(Z,2),V=F[0],ee=F[1],ue=V||0,ae=d($,new Map),oe=(0,W.Z)(ae,2),ye=oe[0],ve=oe[1],me=d($,0),Ne=(0,W.Z)(me,2),Oe=Ne[0],_e=Ne[1],ze=d($,0),Ge=(0,W.Z)(ze,2),qe=Ge[0],Ke=Ge[1],pt=d($,0),et=(0,W.Z)(pt,2),ft=et[0],nt=et[1],wt=(0,A.useState)(null),He=(0,W.Z)(wt,2),tt=He[0],We=He[1],Ie=(0,A.useState)(null),je=(0,W.Z)(Ie,2),xt=je[0],it=je[1],Et=A.useMemo(function(){return xt===null&&S?Number.MAX_SAFE_INTEGER:xt||0},[xt,V]),Pt=(0,A.useState)(!1),dt=(0,W.Z)(Pt,2),Mt=dt[0],lt=dt[1],wn="".concat(T,"-item"),Kt=Math.max(Oe,qe),Ot=Le===ne,St=q.length&&Ot,Ft=Le===w,un=St||typeof Le=="number"&&q.length>Le,Ut=(0,A.useMemo)(function(){var Ee=q;return St?V===null&&S?Ee=q:Ee=q.slice(0,Math.min(q.length,ue/Me)):typeof Le=="number"&&(Ee=q.slice(0,Le)),Ee},[q,Me,V,Le,St]),sn=(0,A.useMemo)(function(){return St?q.slice(Et+1):q.slice(Ut.length)},[q,Ut,St,Et]),Ct=(0,A.useCallback)(function(Ee,H){var Y;return typeof ge=="function"?ge(Ee):(Y=ge&&(Ee==null?void 0:Ee[ge]))!==null&&Y!==void 0?Y:H},[ge]),Qt=(0,A.useCallback)(fe||function(Ee){return Ee},[fe]);function tn(Ee,H,Y){xt===Ee&&(H===void 0||H===tt)||(it(Ee),Y||(lt(Ee<q.length-1),j==null||j(Ee)),H!==void 0&&We(H))}function Ht(Ee,H){ee(H.clientWidth)}function cn(Ee,H){ve(function(Y){var ie=new Map(Y);return H===null?ie.delete(Ee):ie.set(Ee,H),ie})}function at(Ee,H){Ke(H),_e(qe)}function an(Ee,H){nt(H)}function Dt(Ee){return ye.get(Ct(Ut[Ee],Ee))}(0,e.Z)(function(){if(ue&&typeof Kt=="number"&&Ut){var Ee=ft,H=Ut.length,Y=H-1;if(!H){tn(0,null);return}for(var ie=0;ie<H;ie+=1){var ce=Dt(ie);if(S&&(ce=ce||0),ce===void 0){tn(ie-1,void 0,!0);break}if(Ee+=ce,Y===0&&Ee<=ue||ie===Y-1&&Ee+Dt(Y)<=ue){tn(Y,null);break}else if(Ee+Kt>ue){tn(ie-1,Ee-ce-ft+qe);break}}k&&Dt(0)+ft>ue&&We(null)}},[ue,ye,qe,ft,Ct,Ut]);var we=Mt&&!!sn.length,de={};tt!==null&&St&&(de={position:"absolute",left:tt,top:0});var De={prefixCls:wn,responsive:St,component:N,invalidate:Ft},mt=he?function(Ee,H){var Y=Ct(Ee,H);return A.createElement(I.Provider,{key:Y,value:(0,R.Z)((0,R.Z)({},De),{},{order:H,item:Ee,itemKey:Y,registerSize:cn,display:H<=Et})},he(Ee,H))}:function(Ee,H){var Y=Ct(Ee,H);return A.createElement(s,(0,x.Z)({},De,{order:H,key:Y,item:Ee,renderItem:Qt,itemKey:Y,registerSize:cn,display:H<=Et}))},Ve={order:we?Et:Number.MAX_SAFE_INTEGER,className:"".concat(wn,"-rest"),registerSize:at,display:we},Zt=Ze||_,dn=ke?A.createElement(I.Provider,{value:(0,R.Z)((0,R.Z)({},De),Ve)},ke(sn)):A.createElement(s,(0,x.Z)({},De,Ve),typeof Zt=="function"?Zt(sn):Zt),Rt=A.createElement(p,(0,x.Z)({className:K()(!Ft&&T,Ue),style:Pe,ref:r},o),Ut.map(mt),un?dn:null,k&&A.createElement(s,(0,x.Z)({},De,{responsive:Ot,responsiveDisabled:!St,order:Et,className:"".concat(wn,"-suffix"),registerSize:an,display:!0,style:de}),k));return Ot?A.createElement(D.Z,{onResize:Ht,disabled:!St},Rt):Rt}var l=A.forwardRef(y);l.displayName="Overflow",l.Item=J,l.RESPONSIVE=ne,l.INVALIDATE=w;var O=l,b=O},29301:function(xe,re,f){"use strict";f.d(re,{Z:function(){return w}});var x=f(96663),R=f(59301),W=f(11592),z=f(48736),A=f(44127),U=f(20135),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 q=O.current;b.current.push({size:m,element:T,data:X}),Promise.resolve().then(function(){q===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(52884),d=f(95727),I=f(65711),C=f(85745),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}),q=!m&&R.isValidElement(T)&&(0,D.Yr)(T),fe=q?(0,D.C4)(T):null,he=(0,D.x1)(fe,b),ge=function(){var Pe;return(0,K.ZP)(b.current)||(b.current&&(0,U.Z)(b.current)==="object"?(0,K.ZP)((Pe=b.current)===null||Pe===void 0?void 0:Pe.nativeElement):null)||(0,K.ZP)(t.current)};R.useImperativeHandle(y,function(){return ge()});var Ce=R.useRef(_);Ce.current=_;var Me=R.useCallback(function($e){var Pe=Ce.current,Ue=Pe.onResize,Le=Pe.data,Ze=$e.getBoundingClientRect(),ke=Ze.width,k=Ze.height,B=$e.offsetWidth,p=$e.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,$e,Le),Ue&&Promise.resolve().then(function(){Ue(Z,$e)})}},[]);return R.useEffect(function(){var $e=ge();return $e&&!O&&v($e,Me),function(){return h($e,Me)}},[b.current,O]),R.createElement(M,{ref:t},q?R.cloneElement(T,{ref:he}):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 ne=R.forwardRef(Q);ne.Collection=E;var w=ne},55477:function(xe,re,f){"use strict";f.d(re,{G:function(){return n},Z:function(){return v}});var x=f(96663),R=f(44127),W=f(6620),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,ne=u.prefixCls,w=ne===void 0?"rc-tooltip":ne,_=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,q=u.destroyTooltipOnHide,fe=q===void 0?!1:q,he=u.defaultVisible,ge=u.getTooltipContainer,Ce=u.overlayInnerStyle,Me=u.arrowContent,$e=u.overlay,Pe=u.id,Ue=u.showArrow,Le=Ue===void 0?!0:Ue,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:Pe,overlayInnerStyle:Ce},$e)};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:ge,onPopupVisibleChange:y,afterPopupVisibleChange:l,popupTransitionName:O,popupAnimation:b,popupMotion:t,defaultPopupVisible:he,autoDestroy:fe,mouseLeaveDelay:J,popupStyle:Q,mouseEnterDelay:L,arrow:Le},k),_)},g=(0,A.forwardRef)(a),v=g},49658:function(xe,re){"use strict";re.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(xe,re,f){"use strict";Object.defineProperty(re,"__esModule",{value:!0}),re.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,ne=J.onCopy,w=J.children,_=J.options,y=x.default.Children.only(w),l=(0,R.default)(Q,_);ne&&ne(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);re.CopyToClipboard=h,v(h,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(xe,re,f){"use strict";var x=f(83145),R=x.CopyToClipboard;R.CopyToClipboard=R,xe.exports=R},76374:function(xe,re,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 ne=function(){return typeof W.ResizeObserver!="undefined"?W.ResizeObserver:Q}();re.Z=ne},98040:function(xe){xe.exports=function(){var re=document.getSelection();if(!re.rangeCount)return function(){};for(var f=document.activeElement,x=[],R=0;R<re.rangeCount;R++)x.push(re.getRangeAt(R));switch(f.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":f.blur();break;default:f=null;break}return re.removeAllRanges(),function(){re.type==="Caret"&&re.removeAllRanges(),re.rangeCount||x.forEach(function(W){re.addRange(W)}),f&&f.focus()}}}}]);
|