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.
82 lines
344 KiB
82 lines
344 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[921],{65352:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return pt}});var S=k(89490),C=k(11036),V=k(39224),F=k(43403),L=k(92310),B=k.n(L),H=k(29301),M=k(76846),e=k(96452),b=k(6089),o=k(80402),i=k(34280),t=k(49658),s=k(59301),a=k(71409),p=k(77900),h=k(8654);function c(j){var ae=j.prefixCls,Z=j.align,re=j.arrow,me=j.arrowPos,we=re||{},x=we.className,E=we.content,A=me.x,I=A===void 0?0:A,ee=me.y,X=ee===void 0?0:ee,ue=s.useRef();if(!Z||!Z.points)return null;var te={position:"absolute"};if(Z.autoArrow!==!1){var he=Z.points[0],ce=Z.points[1],le=he[0],Ve=he[1],et=ce[0],He=ce[1];le===et||!["t","b"].includes(le)?te.top=X:le==="t"?te.top=0:te.bottom=0,Ve===He||!["l","r"].includes(Ve)?te.left=I:Ve==="l"?te.left=0:te.right=0}return s.createElement("div",{ref:ue,className:B()("".concat(ae,"-arrow"),x),style:te},E)}function u(j){var ae=j.prefixCls,Z=j.open,re=j.zIndex,me=j.mask,we=j.motion;return me?s.createElement(p.default,(0,a.Z)({},we,{motionAppear:!0,visible:Z,removeOnLeave:!0}),function(x){var E=x.className;return s.createElement("div",{style:{zIndex:re},className:B()("".concat(ae,"-mask"),E)})}):null}var l=s.memo(function(j){var ae=j.children;return ae},function(j,ae){return ae.cache}),y=l,w=s.forwardRef(function(j,ae){var Z=j.popup,re=j.className,me=j.prefixCls,we=j.style,x=j.target,E=j.onVisibleChanged,A=j.open,I=j.keepDom,ee=j.fresh,X=j.onClick,ue=j.mask,te=j.arrow,he=j.arrowPos,ce=j.align,le=j.motion,Ve=j.maskMotion,et=j.forceRender,He=j.getPopupContainer,at=j.autoDestroy,je=j.portal,Te=j.zIndex,Et=j.onMouseEnter,Ut=j.onMouseLeave,$t=j.onPointerEnter,en=j.onPointerDownCapture,ln=j.ready,Mt=j.offsetX,sn=j.offsetY,dt=j.offsetR,Vt=j.offsetB,ot=j.onAlign,tn=j.onPrepare,St=j.stretch,nt=j.targetWidth,pe=j.targetHeight,yn=typeof Z=="function"?Z():Z,lt=A||I,ft=(He==null?void 0:He.length)>0,Pe=s.useState(!He||!ft),It=(0,C.Z)(Pe,2),_n=It[0],fn=It[1];if((0,i.Z)(function(){!_n&&ft&&x&&fn(!0)},[_n,ft,x]),!_n)return null;var Ge="auto",Tt={left:"-1000vw",top:"-1000vh",right:Ge,bottom:Ge};if(ln||!A){var Rt,hn=ce.points,Ht=ce.dynamicInset||((Rt=ce._experimental)===null||Rt===void 0?void 0:Rt.dynamicInset),mt=Ht&&hn[0][1]==="r",Gt=Ht&&hn[0][0]==="b";mt?(Tt.right=dt,Tt.left=Ge):(Tt.left=Mt,Tt.right=Ge),Gt?(Tt.bottom=Vt,Tt.top=Ge):(Tt.top=sn,Tt.bottom=Ge)}var vt={};return St&&(St.includes("height")&&pe?vt.height=pe:St.includes("minHeight")&&pe&&(vt.minHeight=pe),St.includes("width")&&nt?vt.width=nt:St.includes("minWidth")&&nt&&(vt.minWidth=nt)),A||(vt.pointerEvents="none"),s.createElement(je,{open:et||lt,getContainer:He&&function(){return He(x)},autoDestroy:at},s.createElement(u,{prefixCls:me,open:A,zIndex:Te,mask:ue,motion:Ve}),s.createElement(H.Z,{onResize:ot,disabled:!A},function(cn){return s.createElement(p.default,(0,a.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:et,leavedClassName:"".concat(me,"-hidden")},le,{onAppearPrepare:tn,onEnterPrepare:tn,visible:A,onVisibleChanged:function(Pt){var Zt;le==null||(Zt=le.onVisibleChanged)===null||Zt===void 0||Zt.call(le,Pt),E(Pt)}}),function(Lt,Pt){var Zt=Lt.className,bn=Lt.style,jt=B()(me,Zt,re);return s.createElement("div",{ref:(0,h.sQ)(cn,ae,Pt),className:jt,style:(0,S.Z)((0,S.Z)((0,S.Z)((0,S.Z)({"--arrow-x":"".concat(he.x||0,"px"),"--arrow-y":"".concat(he.y||0,"px")},Tt),vt),bn),{},{boxSizing:"border-box",zIndex:Te},we),onMouseEnter:Et,onMouseLeave:Ut,onPointerEnter:$t,onClick:X,onPointerDownCapture:en},te&&s.createElement(c,{prefixCls:me,arrow:te,arrowPos:he,align:ce}),s.createElement(y,{cache:!A&&!ee},yn))})}))}),T=w,N=s.forwardRef(function(j,ae){var Z=j.children,re=j.getTriggerDOMNode,me=(0,h.Yr)(Z),we=s.useCallback(function(E){(0,h.mH)(ae,re?re(E):E)},[re]),x=(0,h.x1)(we,(0,h.C4)(Z));return me?s.cloneElement(Z,{ref:x}):Z}),D=N,$=s.createContext(null),Q=$;function z(j){return j?Array.isArray(j)?j:[j]:[]}function xe(j,ae,Z,re){return s.useMemo(function(){var me=z(Z!=null?Z:ae),we=z(re!=null?re:ae),x=new Set(me),E=new Set(we);return j&&(x.has("hover")&&(x.delete("hover"),x.add("click")),E.has("hover")&&(E.delete("hover"),E.add("click"))),[x,E]},[j,ae,Z,re])}var g=k(29194);function _(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Z=arguments.length>2?arguments[2]:void 0;return Z?j[0]===ae[0]:j[0]===ae[0]&&j[1]===ae[1]}function d(j,ae,Z,re){for(var me=Z.points,we=Object.keys(j),x=0;x<we.length;x+=1){var E,A=we[x];if(_((E=j[A])===null||E===void 0?void 0:E.points,me,re))return"".concat(ae,"-placement-").concat(A)}return""}function m(j,ae,Z,re){return ae||(Z?{motionName:"".concat(j,"-").concat(Z)}:re?{motionName:re}:null)}function R(j){return j.ownerDocument.defaultView}function v(j){for(var ae=[],Z=j==null?void 0:j.parentElement,re=["hidden","scroll","clip","auto"];Z;){var me=R(Z).getComputedStyle(Z),we=me.overflowX,x=me.overflowY,E=me.overflow;[we,x,E].some(function(A){return re.includes(A)})&&ae.push(Z),Z=Z.parentElement}return ae}function n(j){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(j)?ae:j}function r(j){return n(parseFloat(j),0)}function f(j,ae){var Z=(0,S.Z)({},j);return(ae||[]).forEach(function(re){if(!(re instanceof HTMLBodyElement||re instanceof HTMLHtmlElement)){var me=R(re).getComputedStyle(re),we=me.overflow,x=me.overflowClipMargin,E=me.borderTopWidth,A=me.borderBottomWidth,I=me.borderLeftWidth,ee=me.borderRightWidth,X=re.getBoundingClientRect(),ue=re.offsetHeight,te=re.clientHeight,he=re.offsetWidth,ce=re.clientWidth,le=r(E),Ve=r(A),et=r(I),He=r(ee),at=n(Math.round(X.width/he*1e3)/1e3),je=n(Math.round(X.height/ue*1e3)/1e3),Te=(he-ce-et-He)*at,Et=(ue-te-le-Ve)*je,Ut=le*je,$t=Ve*je,en=et*at,ln=He*at,Mt=0,sn=0;if(we==="clip"){var dt=r(x);Mt=dt*at,sn=dt*je}var Vt=X.x+en-Mt,ot=X.y+Ut-sn,tn=Vt+X.width+2*Mt-en-ln-Te,St=ot+X.height+2*sn-Ut-$t-Et;Z.left=Math.max(Z.left,Vt),Z.top=Math.max(Z.top,ot),Z.right=Math.min(Z.right,tn),Z.bottom=Math.min(Z.bottom,St)}}),Z}function O(j){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,Z="".concat(ae),re=Z.match(/^(.*)\%$/);return re?j*(parseFloat(re[1])/100):parseFloat(Z)}function U(j,ae){var Z=ae||[],re=(0,C.Z)(Z,2),me=re[0],we=re[1];return[O(j.width,me),O(j.height,we)]}function Y(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[j[0],j[1]]}function _e(j,ae){var Z=ae[0],re=ae[1],me,we;return Z==="t"?we=j.y:Z==="b"?we=j.y+j.height:we=j.y+j.height/2,re==="l"?me=j.x:re==="r"?me=j.x+j.width:me=j.x+j.width/2,{x:me,y:we}}function de(j,ae){var Z={t:"b",b:"t",l:"r",r:"l"};return j.map(function(re,me){return me===ae?Z[re]||"c":re}).join("")}function Ce(j,ae,Z,re,me,we,x){var E=s.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:me[re]||{}}),A=(0,C.Z)(E,2),I=A[0],ee=A[1],X=s.useRef(0),ue=s.useMemo(function(){return ae?v(ae):[]},[ae]),te=s.useRef({}),he=function(){te.current={}};j||he();var ce=(0,b.Z)(function(){if(ae&&Z&&j){let Jt=function(yt,Ct){var Sn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Pn,Gn=Pe.x+yt,Qn=Pe.y+Ct,tr=Gn+mt,nr=Qn+Ht,Xn=Math.max(Gn,Sn.left),ve=Math.max(Qn,Sn.top),Oe=Math.min(tr,Sn.right),rt=Math.min(nr,Sn.bottom);return Math.max(0,(Oe-Xn)*(rt-ve))},Mn=function(){Nt=Pe.y+Re,Ft=Nt+Ht,Dt=Pe.x+ke,Yt=Dt+mt};var et,He,at,je,Te=ae,Et=Te.ownerDocument,Ut=R(Te),$t=Ut.getComputedStyle(Te),en=$t.width,ln=$t.height,Mt=$t.position,sn=Te.style.left,dt=Te.style.top,Vt=Te.style.right,ot=Te.style.bottom,tn=Te.style.overflow,St=(0,S.Z)((0,S.Z)({},me[re]),we),nt=Et.createElement("div");(et=Te.parentElement)===null||et===void 0||et.appendChild(nt),nt.style.left="".concat(Te.offsetLeft,"px"),nt.style.top="".concat(Te.offsetTop,"px"),nt.style.position=Mt,nt.style.height="".concat(Te.offsetHeight,"px"),nt.style.width="".concat(Te.offsetWidth,"px"),Te.style.left="0",Te.style.top="0",Te.style.right="auto",Te.style.bottom="auto",Te.style.overflow="hidden";var pe;if(Array.isArray(Z))pe={x:Z[0],y:Z[1],width:0,height:0};else{var yn,lt,ft=Z.getBoundingClientRect();ft.x=(yn=ft.x)!==null&&yn!==void 0?yn:ft.left,ft.y=(lt=ft.y)!==null&<!==void 0?lt:ft.top,pe={x:ft.x,y:ft.y,width:ft.width,height:ft.height}}var Pe=Te.getBoundingClientRect();Pe.x=(He=Pe.x)!==null&&He!==void 0?He:Pe.left,Pe.y=(at=Pe.y)!==null&&at!==void 0?at:Pe.top;var It=Et.documentElement,_n=It.clientWidth,fn=It.clientHeight,Ge=It.scrollWidth,Tt=It.scrollHeight,Rt=It.scrollTop,hn=It.scrollLeft,Ht=Pe.height,mt=Pe.width,Gt=pe.height,vt=pe.width,cn={left:0,top:0,right:_n,bottom:fn},Lt={left:-hn,top:-Rt,right:Ge-hn,bottom:Tt-Rt},Pt=St.htmlRegion,Zt="visible",bn="visibleFirst";Pt!=="scroll"&&Pt!==bn&&(Pt=Zt);var jt=Pt===bn,Tn=f(Lt,ue),Qe=f(cn,ue),Pn=Pt===Zt?Qe:Tn,fe=jt?Qe:Pn;Te.style.left="auto",Te.style.top="auto",Te.style.right="0",Te.style.bottom="0";var oe=Te.getBoundingClientRect();Te.style.left=sn,Te.style.top=dt,Te.style.right=Vt,Te.style.bottom=ot,Te.style.overflow=tn,(je=Te.parentElement)===null||je===void 0||je.removeChild(nt);var Ne=n(Math.round(mt/parseFloat(en)*1e3)/1e3),Me=n(Math.round(Ht/parseFloat(ln)*1e3)/1e3);if(Ne===0||Me===0||(0,M.Sh)(Z)&&!(0,g.Z)(Z))return;var gt=St.offset,Wt=St.targetOffset,Ee=U(Pe,gt),De=(0,C.Z)(Ee,2),P=De[0],K=De[1],G=U(pe,Wt),W=(0,C.Z)(G,2),J=W[0],ne=W[1];pe.x-=J,pe.y-=ne;var q=St.points||[],ie=(0,C.Z)(q,2),be=ie[0],ge=ie[1],Se=Y(ge),ye=Y(be),Fe=_e(pe,Se),Le=_e(Pe,ye),Ke=(0,S.Z)({},St),ke=Fe.x-Le.x+P,Re=Fe.y-Le.y+K,ze=Jt(ke,Re),it=Jt(ke,Re,Qe),Be=_e(pe,["t","l"]),Ie=_e(Pe,["t","l"]),tt=_e(pe,["b","r"]),Ue=_e(Pe,["b","r"]),Je=St.overflow||{},Bt=Je.adjustX,ut=Je.adjustY,zt=Je.shiftX,wt=Je.shiftY,kt=function(Ct){return typeof Ct=="boolean"?Ct:Ct>=0},Nt,Ft,Dt,Yt;Mn();var At=kt(ut),nn=ye[0]===Se[0];if(At&&ye[0]==="t"&&(Ft>fe.bottom||te.current.bt)){var Ye=Re;nn?Ye-=Ht-Gt:Ye=Be.y-Ue.y-K;var an=Jt(ke,Ye),Nn=Jt(ke,Ye,Qe);an>ze||an===ze&&(!jt||Nn>=it)?(te.current.bt=!0,Re=Ye,K=-K,Ke.points=[de(ye,0),de(Se,0)]):te.current.bt=!1}if(At&&ye[0]==="b"&&(Nt<fe.top||te.current.tb)){var rn=Re;nn?rn+=Ht-Gt:rn=tt.y-Ie.y-K;var Rn=Jt(ke,rn),Dn=Jt(ke,rn,Qe);Rn>ze||Rn===ze&&(!jt||Dn>=it)?(te.current.tb=!0,Re=rn,K=-K,Ke.points=[de(ye,0),de(Se,0)]):te.current.tb=!1}var Kt=kt(Bt),qt=ye[1]===Se[1];if(Kt&&ye[1]==="l"&&(Yt>fe.right||te.current.rl)){var pn=ke;qt?pn-=mt-vt:pn=Be.x-Ue.x-P;var kn=Jt(pn,Re),dn=Jt(pn,Re,Qe);kn>ze||kn===ze&&(!jt||dn>=it)?(te.current.rl=!0,ke=pn,P=-P,Ke.points=[de(ye,1),de(Se,1)]):te.current.rl=!1}if(Kt&&ye[1]==="r"&&(Dt<fe.left||te.current.lr)){var _t=ke;qt?_t+=mt-vt:_t=tt.x-Ie.x-P;var on=Jt(_t,Re),mn=Jt(_t,Re,Qe);on>ze||on===ze&&(!jt||mn>=it)?(te.current.lr=!0,ke=_t,P=-P,Ke.points=[de(ye,1),de(Se,1)]):te.current.lr=!1}Mn();var un=zt===!0?0:zt;typeof un=="number"&&(Dt<Qe.left&&(ke-=Dt-Qe.left-P,pe.x+vt<Qe.left+un&&(ke+=pe.x-Qe.left+vt-un)),Yt>Qe.right&&(ke-=Yt-Qe.right-P,pe.x>Qe.right-un&&(ke+=pe.x-Qe.right+un)));var Qt=wt===!0?0:wt;typeof Qt=="number"&&(Nt<Qe.top&&(Re-=Nt-Qe.top-K,pe.y+Gt<Qe.top+Qt&&(Re+=pe.y-Qe.top+Gt-Qt)),Ft>Qe.bottom&&(Re-=Ft-Qe.bottom-K,pe.y>Qe.bottom-Qt&&(Re+=pe.y-Qe.bottom+Qt)));var vn=Pe.x+ke,Ln=vn+mt,wn=Pe.y+Re,zn=wn+Ht,jn=pe.x,Wn=jn+vt,An=pe.y,Un=An+Gt,$n=Math.max(vn,jn),Fn=Math.min(Ln,Wn),gn=($n+Fn)/2,Vn=gn-vn,Hn=Math.max(wn,An),Kn=Math.min(zn,Un),Bn=(Hn+Kn)/2,Zn=Bn-wn;x==null||x(ae,Ke);var On=oe.right-Pe.x-(ke+Pe.width),Xt=oe.bottom-Pe.y-(Re+Pe.height);Ne===1&&(ke=Math.round(ke),On=Math.round(On)),Me===1&&(Re=Math.round(Re),Xt=Math.round(Xt));var Cn={ready:!0,offsetX:ke/Ne,offsetY:Re/Me,offsetR:On/Ne,offsetB:Xt/Me,arrowX:Vn/Ne,arrowY:Zn/Me,scaleX:Ne,scaleY:Me,align:Ke};ee(Cn)}}),le=function(){X.current+=1;var He=X.current;Promise.resolve().then(function(){X.current===He&&ce()})},Ve=function(){ee(function(He){return(0,S.Z)((0,S.Z)({},He),{},{ready:!1})})};return(0,i.Z)(Ve,[re]),(0,i.Z)(function(){j||Ve()},[j]),[I.ready,I.offsetX,I.offsetY,I.offsetR,I.offsetB,I.arrowX,I.arrowY,I.scaleX,I.scaleY,I.align,le]}var Ze=k(62730);function We(j,ae,Z,re,me){(0,i.Z)(function(){if(j&&ae&&Z){let X=function(){re(),me()};var we=ae,x=Z,E=v(we),A=v(x),I=R(x),ee=new Set([I].concat((0,Ze.Z)(E),(0,Ze.Z)(A)));return ee.forEach(function(ue){ue.addEventListener("scroll",X,{passive:!0})}),I.addEventListener("resize",X,{passive:!0}),re(),function(){ee.forEach(function(ue){ue.removeEventListener("scroll",X),I.removeEventListener("resize",X)})}}},[j,ae,Z])}var $e=k(48736);function Xe(j,ae,Z,re,me,we,x,E){var A=s.useRef(j);A.current=j;var I=s.useRef(!1);s.useEffect(function(){if(ae&&re&&(!me||we)){var X=function(){I.current=!1},ue=function(at){var je;A.current&&!x(((je=at.composedPath)===null||je===void 0||(je=je.call(at))===null||je===void 0?void 0:je[0])||at.target)&&!I.current&&E(!1)},te=R(re);te.addEventListener("pointerdown",X,!0),te.addEventListener("mousedown",ue,!0),te.addEventListener("contextmenu",ue,!0);var he=(0,e.A)(Z);if(he&&(he.addEventListener("mousedown",ue,!0),he.addEventListener("contextmenu",ue,!0)),0)var ce,le,Ve,et;return function(){te.removeEventListener("pointerdown",X,!0),te.removeEventListener("mousedown",ue,!0),te.removeEventListener("contextmenu",ue,!0),he&&(he.removeEventListener("mousedown",ue,!0),he.removeEventListener("contextmenu",ue,!0))}}},[ae,Z,re,me,we]);function ee(){I.current=!0}return ee}var ct=["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 qe(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:F.Z,ae=s.forwardRef(function(Z,re){var me=Z.prefixCls,we=me===void 0?"rc-trigger-popup":me,x=Z.children,E=Z.action,A=E===void 0?"hover":E,I=Z.showAction,ee=Z.hideAction,X=Z.popupVisible,ue=Z.defaultPopupVisible,te=Z.onPopupVisibleChange,he=Z.afterPopupVisibleChange,ce=Z.mouseEnterDelay,le=Z.mouseLeaveDelay,Ve=le===void 0?.1:le,et=Z.focusDelay,He=Z.blurDelay,at=Z.mask,je=Z.maskClosable,Te=je===void 0?!0:je,Et=Z.getPopupContainer,Ut=Z.forceRender,$t=Z.autoDestroy,en=Z.destroyPopupOnHide,ln=Z.popup,Mt=Z.popupClassName,sn=Z.popupStyle,dt=Z.popupPlacement,Vt=Z.builtinPlacements,ot=Vt===void 0?{}:Vt,tn=Z.popupAlign,St=Z.zIndex,nt=Z.stretch,pe=Z.getPopupClassNameFromAlign,yn=Z.fresh,lt=Z.alignPoint,ft=Z.onPopupClick,Pe=Z.onPopupAlign,It=Z.arrow,_n=Z.popupMotion,fn=Z.maskMotion,Ge=Z.popupTransitionName,Tt=Z.popupAnimation,Rt=Z.maskTransitionName,hn=Z.maskAnimation,Ht=Z.className,mt=Z.getTriggerDOMNode,Gt=(0,V.Z)(Z,ct),vt=$t||en||!1,cn=s.useState(!1),Lt=(0,C.Z)(cn,2),Pt=Lt[0],Zt=Lt[1];(0,i.Z)(function(){Zt((0,t.Z)())},[]);var bn=s.useRef({}),jt=s.useContext(Q),Tn=s.useMemo(function(){return{registerSubPopup:function(Oe,rt){bn.current[Oe]=rt,jt==null||jt.registerSubPopup(Oe,rt)}}},[jt]),Qe=(0,o.Z)(),Pn=s.useState(null),fe=(0,C.Z)(Pn,2),oe=fe[0],Ne=fe[1],Me=s.useRef(null),gt=(0,b.Z)(function(ve){Me.current=ve,(0,M.Sh)(ve)&&oe!==ve&&Ne(ve),jt==null||jt.registerSubPopup(Qe,ve)}),Wt=s.useState(null),Ee=(0,C.Z)(Wt,2),De=Ee[0],P=Ee[1],K=s.useRef(null),G=(0,b.Z)(function(ve){(0,M.Sh)(ve)&&De!==ve&&(P(ve),K.current=ve)}),W=s.Children.only(x),J=(W==null?void 0:W.props)||{},ne={},q=(0,b.Z)(function(ve){var Oe,rt,xt=De;return(xt==null?void 0:xt.contains(ve))||((Oe=(0,e.A)(xt))===null||Oe===void 0?void 0:Oe.host)===ve||ve===xt||(oe==null?void 0:oe.contains(ve))||((rt=(0,e.A)(oe))===null||rt===void 0?void 0:rt.host)===ve||ve===oe||Object.values(bn.current).some(function(ht){return(ht==null?void 0:ht.contains(ve))||ve===ht})}),ie=m(we,_n,Tt,Ge),be=m(we,fn,hn,Rt),ge=s.useState(ue||!1),Se=(0,C.Z)(ge,2),ye=Se[0],Fe=Se[1],Le=X!=null?X:ye,Ke=(0,b.Z)(function(ve){X===void 0&&Fe(ve)});(0,i.Z)(function(){Fe(X||!1)},[X]);var ke=s.useRef(Le);ke.current=Le;var Re=s.useRef([]);Re.current=[];var ze=(0,b.Z)(function(ve){var Oe;Ke(ve),((Oe=Re.current[Re.current.length-1])!==null&&Oe!==void 0?Oe:Le)!==ve&&(Re.current.push(ve),te==null||te(ve))}),it=s.useRef(),Be=function(){clearTimeout(it.current)},Ie=function(Oe){var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Be(),rt===0?ze(Oe):it.current=setTimeout(function(){ze(Oe)},rt*1e3)};s.useEffect(function(){return Be},[]);var tt=s.useState(!1),Ue=(0,C.Z)(tt,2),Je=Ue[0],Bt=Ue[1];(0,i.Z)(function(ve){(!ve||Le)&&Bt(!0)},[Le]);var ut=s.useState(null),zt=(0,C.Z)(ut,2),wt=zt[0],kt=zt[1],Nt=s.useState(null),Ft=(0,C.Z)(Nt,2),Dt=Ft[0],Yt=Ft[1],At=function(Oe){Yt([Oe.clientX,Oe.clientY])},nn=Ce(Le,oe,lt&&Dt!==null?Dt:De,dt,ot,tn,Pe),Ye=(0,C.Z)(nn,11),an=Ye[0],Nn=Ye[1],rn=Ye[2],Rn=Ye[3],Dn=Ye[4],Kt=Ye[5],qt=Ye[6],pn=Ye[7],kn=Ye[8],dn=Ye[9],_t=Ye[10],on=xe(Pt,A,I,ee),mn=(0,C.Z)(on,2),un=mn[0],Qt=mn[1],vn=un.has("click"),Ln=Qt.has("click")||Qt.has("contextMenu"),wn=(0,b.Z)(function(){Je||_t()}),zn=function(){ke.current&<&&Ln&&Ie(!1)};We(Le,De,oe,wn,zn),(0,i.Z)(function(){wn()},[Dt,dt]),(0,i.Z)(function(){Le&&!(ot!=null&&ot[dt])&&wn()},[JSON.stringify(tn)]);var jn=s.useMemo(function(){var ve=d(ot,we,dn,lt);return B()(ve,pe==null?void 0:pe(dn))},[dn,pe,ot,we,lt]);s.useImperativeHandle(re,function(){return{nativeElement:K.current,popupElement:Me.current,forceAlign:wn}});var Wn=s.useState(0),An=(0,C.Z)(Wn,2),Un=An[0],$n=An[1],Fn=s.useState(0),gn=(0,C.Z)(Fn,2),Vn=gn[0],Hn=gn[1],Kn=function(){if(nt&&De){var Oe=De.getBoundingClientRect();$n(Oe.width),Hn(Oe.height)}},Bn=function(){Kn(),wn()},Zn=function(Oe){Bt(!1),_t(),he==null||he(Oe)},On=function(){return new Promise(function(Oe){Kn(),kt(function(){return Oe})})};(0,i.Z)(function(){wt&&(_t(),wt(),kt(null))},[wt]);function Xt(ve,Oe,rt,xt){ne[ve]=function(ht){var Yn;xt==null||xt(ht),Ie(Oe,rt);for(var qn=arguments.length,In=new Array(qn>1?qn-1:0),er=1;er<qn;er++)In[er-1]=arguments[er];(Yn=J[ve])===null||Yn===void 0||Yn.call.apply(Yn,[J,ht].concat(In))}}(vn||Ln)&&(ne.onClick=function(ve){var Oe;ke.current&&Ln?Ie(!1):!ke.current&&vn&&(At(ve),Ie(!0));for(var rt=arguments.length,xt=new Array(rt>1?rt-1:0),ht=1;ht<rt;ht++)xt[ht-1]=arguments[ht];(Oe=J.onClick)===null||Oe===void 0||Oe.call.apply(Oe,[J,ve].concat(xt))});var Cn=Xe(Le,Ln,De,oe,at,Te,q,Ie),Jt=un.has("hover"),Mn=Qt.has("hover"),yt,Ct;Jt&&(Xt("onMouseEnter",!0,ce,function(ve){At(ve)}),Xt("onPointerEnter",!0,ce,function(ve){At(ve)}),yt=function(Oe){(Le||Je)&&oe!==null&&oe!==void 0&&oe.contains(Oe.target)&&Ie(!0,ce)},lt&&(ne.onMouseMove=function(ve){var Oe;(Oe=J.onMouseMove)===null||Oe===void 0||Oe.call(J,ve)})),Mn&&(Xt("onMouseLeave",!1,Ve),Xt("onPointerLeave",!1,Ve),Ct=function(){Ie(!1,Ve)}),un.has("focus")&&Xt("onFocus",!0,et),Qt.has("focus")&&Xt("onBlur",!1,He),un.has("contextMenu")&&(ne.onContextMenu=function(ve){var Oe;ke.current&&Qt.has("contextMenu")?Ie(!1):(At(ve),Ie(!0)),ve.preventDefault();for(var rt=arguments.length,xt=new Array(rt>1?rt-1:0),ht=1;ht<rt;ht++)xt[ht-1]=arguments[ht];(Oe=J.onContextMenu)===null||Oe===void 0||Oe.call.apply(Oe,[J,ve].concat(xt))}),Ht&&(ne.className=B()(J.className,Ht));var Sn=(0,S.Z)((0,S.Z)({},J),ne),Gn={},Qn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Qn.forEach(function(ve){Gt[ve]&&(Gn[ve]=function(){for(var Oe,rt=arguments.length,xt=new Array(rt),ht=0;ht<rt;ht++)xt[ht]=arguments[ht];(Oe=Sn[ve])===null||Oe===void 0||Oe.call.apply(Oe,[Sn].concat(xt)),Gt[ve].apply(Gt,xt)})});var tr=s.cloneElement(W,(0,S.Z)((0,S.Z)({},Sn),Gn)),nr={x:Kt,y:qt},Xn=It?(0,S.Z)({},It!==!0?It:{}):null;return s.createElement(s.Fragment,null,s.createElement(H.Z,{disabled:!Le,ref:G,onResize:Bn},s.createElement(D,{getTriggerDOMNode:mt},tr)),s.createElement(Q.Provider,{value:Tn},s.createElement(T,{portal:j,ref:gt,prefixCls:we,popup:ln,className:B()(Mt,jn),style:sn,target:De,onMouseEnter:yt,onMouseLeave:Ct,onPointerEnter:yt,zIndex:St,open:Le,keepDom:Je,fresh:yn,onClick:ft,onPointerDownCapture:Cn,mask:at,motion:ie,maskMotion:be,onVisibleChanged:Zn,onPrepare:On,forceRender:Ut,autoDestroy:vt,getPopupContainer:Et,align:dn,arrow:Xn,arrowPos:nr,ready:an,offsetX:Nn,offsetY:rn,offsetR:Rn,offsetB:Dn,onAlign:wn,stretch:nt,targetWidth:Un/pn,targetHeight:Vn/kn})))});return ae}var pt=qe(F.Z)},75975:function(Ae,se,k){"use strict";k.d(se,{SV:function(){return x},ZP:function(){return we}});var S=k(59301),C=k(76374);const V={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"]},F={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"]},L={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(`
|
|
`)}]},B={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(`
|
|
`)}]},H={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 M=k(53184),e=k.n(M),b=Object.defineProperty,o=Object.defineProperties,i=Object.getOwnPropertyDescriptors,t=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,p=(E,A,I)=>A in E?b(E,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):E[A]=I,h=(E,A)=>{for(var I in A||(A={}))s.call(A,I)&&p(E,I,A[I]);if(t)for(var I of t(A))a.call(A,I)&&p(E,I,A[I]);return E},c=(E,A)=>o(E,i(A)),u=(E,A,I)=>new Promise((ee,X)=>{var ue=ce=>{try{he(I.next(ce))}catch(le){X(le)}},te=ce=>{try{he(I.throw(ce))}catch(le){X(le)}},he=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);he((I=I.apply(E,A)).next())});const l={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"]}},y=(E,A)=>A.map(I=>({label:I,kind:E.languages.CompletionItemKind.Keyword,insertText:I})),w=E=>Object.keys(l.tables).map(A=>({label:A,kind:E.languages.CompletionItemKind.Variable,insertText:A})),T=(E,A)=>{const I=l.tables[E];return I?I.map(ee=>({label:ee,kind:A.languages.CompletionItemKind.Field,insertText:ee})):[]};function N(E,A,I,ee,X){let ue=A.getWordUntilPosition(I),te={startLineNumber:I.lineNumber,endLineNumber:I.lineNumber,startColumn:ue.startColumn,endColumn:ue.endColumn},he=ee.map(ce=>({label:ce,kind:E.languages.CompletionItemKind.Keyword,insertText:ce,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}));return X.map(ce=>{he.push(c(h({},ce),{range:te}))}),he}var D=E=>{l.languages.map(X=>(E.languages.registerDocumentFormattingEditProvider(X,{provideDocumentFormattingEdits(ue,te,he){return u(this,null,function*(){const ce=e()(ue.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:ue.getFullModelRange(),text:ce}]})}}),X));const A=L.quickKey.map(X=>({label:X.label,kind:E.languages.CompletionItemKind.Method,insertText:X.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet})),I=B.quickKey.map(X=>({label:X.label,kind:E.languages.CompletionItemKind.Method,insertText:X.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ee=F.quickKey.map(X=>({label:X.label,kind:E.languages.CompletionItemKind.Method,insertText:X.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet}));E.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(X,ue){var te=X.getWordUntilPosition(ue),he={startLineNumber:ue.lineNumber,endLineNumber:ue.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ce=X.getLineContent(ue.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...L.keywords.map(le=>({label:le,kind:E.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...L.quickKey.map(le=>({label:le.label,kind:E.languages.CompletionItemKind.Function,documentation:le.content,insertText:ce.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}}),E.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(X,ue){var te=X.getWordUntilPosition(ue),he={startLineNumber:ue.lineNumber,endLineNumber:ue.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn};return{suggestions:[...V.keywords.map(ce=>({label:ce,kind:E.languages.CompletionItemKind.Function,documentation:ce,insertText:ce,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}}),E.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(X,ue){var te=X.getWordUntilPosition(ue),he={startLineNumber:ue.lineNumber,endLineNumber:ue.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ce=X.getLineContent(ue.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...F.keywords.map(le=>({label:le,kind:E.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...F.quickKey.map(le=>({label:le.label,kind:E.languages.CompletionItemKind.Function,documentation:le.content,insertText:ce.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}}),E.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(X,ue){var te=X.getWordUntilPosition(ue),he={startLineNumber:ue.lineNumber,endLineNumber:ue.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ce=X.getLineContent(ue.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...H.keywords.map(le=>({label:le,kind:E.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...H.quickKey.map(le=>({label:le.label,kind:E.languages.CompletionItemKind.Function,documentation:le.content,insertText:ce.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}}),E.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(X,ue){var te=X.getWordUntilPosition(ue),he={startLineNumber:ue.lineNumber,endLineNumber:ue.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},ce=X.getLineContent(ue.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...B.keywords.map(le=>({label:le,kind:E.languages.CompletionItemKind.Function,documentation:le,insertText:le,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he})),...B.quickKey.map(le=>({label:le.label,kind:E.languages.CompletionItemKind.Function,documentation:le.content,insertText:ce.startsWith("#")?le.content.replace(/#/,""):le.content,insertTextRules:E.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:he}))]}}})};const $="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Q=Object.defineProperty,z=(E,A,I)=>A in E?Q(E,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):E[A]=I,xe=(E,A,I)=>z(E,typeof A!="symbol"?A+"":A,I);const g=class Er{constructor(A,I,ee){this.placeholder=A,this.editor=I,this.monaco=ee,I.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Er.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)}};xe(g,"ID","editor.widget.placeholderHint");var d=g,m=k(96236),R=k(6767),v=k(25399),n=k(89392),r=k(49535),f=k(56102),O=Object.defineProperty,U=Object.defineProperties,Y=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,Ce=Object.prototype.propertyIsEnumerable,Ze=(E,A,I)=>A in E?O(E,A,{enumerable:!0,configurable:!0,writable:!0,value:I}):E[A]=I,We=(E,A)=>{for(var I in A||(A={}))de.call(A,I)&&Ze(E,I,A[I]);if(_e)for(var I of _e(A))Ce.call(A,I)&&Ze(E,I,A[I]);return E},$e=(E,A)=>U(E,Y(A)),Xe=(E,A)=>{var I={};for(var ee in E)de.call(E,ee)&&A.indexOf(ee)<0&&(I[ee]=E[ee]);if(E!=null&&_e)for(var ee of _e(E))A.indexOf(ee)<0&&Ce.call(E,ee)&&(I[ee]=E[ee]);return I},ct=(E,A,I)=>new Promise((ee,X)=>{var ue=ce=>{try{he(I.next(ce))}catch(le){X(le)}},te=ce=>{try{he(I.throw(ce))}catch(le){X(le)}},he=ce=>ce.done?ee(ce.value):Promise.resolve(ce.value).then(ue,te);he((I=I.apply(E,A)).next())});function qe(E){return/^\d+$/.test(E)?`${E}px`:E}function pt(){}let j=!1;const ae={"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 Z(E=[]){let A=E;if(Array.isArray(E)){for(let I=0;I<E.length;I++){let ee=ae[E[I]];if(ee)return ee}return A[0]}return ae[A]||A}let re=null;const me=()=>ct(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(E){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",E)}});var we=E=>{var A=E,{width:I="100%",height:ee="100%",value:X,language:ue="javascript",style:te={},options:he={},overrideServices:ce={},theme:le="vs-dark",onEditBlur:Ve,isCopy:et=!1,onSave:He,autoHeight:at=!1,forbidCopy:je=!1,onChange:Te=pt,editorDidMount:Et=pt,onFocus:Ut=pt,onBreakPoint:$t=pt,breakPointValue:en=[],filename:ln="educoder.txt",errorLine:Mt,errorContent:sn="",highlightLine:dt,openBreakPoint:Vt=!1,placeholder:ot="",showMiniMap:tn=!0}=A,St=Xe(A,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const nt=(0,S.useRef)(),pe=(0,S.useRef)({}),yn=(0,S.useRef)(),lt=(0,S.useRef)(),ft=(0,S.useRef)([]),Pe=(0,S.useRef)(!1),It=(0,S.useRef)(),_n=(0,S.useRef)(),fn=(0,S.useRef)(!1),[Ge,Tt]=(0,S.useState)(!1);function Rt(){let fe;return nt.current&&(fe=new C.Z(oe=>{for(let Ne of oe)(Ne.target.offsetHeight>0||Ne.target.offsetWidth>0)&&pe.current.instance.layout()}),fe.observe(nt.current)),fe}function hn(){R.ZP.warning({content:decodeURIComponent($),key:"monaco-editor-tip"})}const Ht=()=>{let fe=pe.current.instance;if(X!=null&&fe&&Ge){const oe=fe.getModel();oe&&X!==oe.getValue()&&(j=!0,oe.setValue(X),fe.layout(),j=!1)}};(0,S.useEffect)(()=>{const fe=r.Z.subscribe("formatDocument",oe=>{var Ne;let Me=pe.current.instance;(Ne=Me==null?void 0:Me.getAction)==null||Ne.call(Me,"editor.action.formatDocument").run()});return window.updateMonacoValue=oe=>{Te(oe)},fe},[]),(0,S.useEffect)(()=>{var fe;let oe=pe.current.instance;lt.current&&clearTimeout(lt.current),lt.current=setTimeout(()=>{Ht()},500),X&&(X!=null&&X.length)&&((fe=oe==null?void 0:oe.updateOptions)==null||fe.call(oe,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(X.split(/\r\n|\r|\n/g).length))+3,5)}))},[X,Ge,pe.current]),(0,S.useEffect)(()=>{if(Mt&&pe.current&&pe.current.instance){let oe=pe.current.instance;oe.changeViewZones(function(Ne){var Me=document.createElement("div");Me.style.padding="10px 20px",Me.style.width="calc(100% - 20px)",Me.className="my-error-line-wrp",Me.innerHTML=sn,Ne.addZone({afterLineNumber:Mt||11,heightInLines:3,domNode:Me})});var fe={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}};oe.addOverlayWidget(fe),oe.revealPositionInCenter({lineNumber:20,column:1})}},[Mt,pe.current,Ge]);const mt=(fe="",oe)=>{if(!fe||fe.trim()==="")return!0;const Me=pe.current.instance.getModel().getLineTokens(oe);let gt=!1;for(let Wt=0;Wt<2;Wt++)Me.getStandardTokenType(Wt)===1&&(gt=!0);return gt};(0,S.useEffect)(()=>{var fe;const oe=(fe=pe.current)==null?void 0:fe.instance;if(oe&&Ge&&je){const Ne=oe.onDidBlurEditorWidget(()=>{fn.current=!1}),Me=oe.onDidFocusEditorText(()=>{fn.current=!0});return()=>{Ne.dispose(),Me.dispose()}}},[pe.current,Ge,je]),(0,S.useEffect)(()=>{var fe;if((fe=pe.current)!=null&&fe.instance&&Ge&&Vt){let oe=pe.current.instance,Ne=oe.getModel();if(!Ne)return;(()=>{var q;let ie=[],be=[];const ge=Ne.getAllDecorations();for(let ye of ge)ye.options.className==="highlighted-line"&&(ie.push((q=ye==null?void 0:ye.range)==null?void 0:q.startLineNumber),be.push(ye==null?void 0:ye.id));if(dt===ie[0])return;Ne.deltaDecorations(be,[]);const Se=Ne.getLineCount();dt&&dt<=Se&&(oe.deltaDecorations([],[{range:new re.Range(dt,1,dt,Ne.getLineMaxColumn(dt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),oe.revealLineInCenter(dt))})();const gt=(q=!1)=>{var ie;let be=[],ge=[];const Se=Ne.getAllDecorations();for(let ye of Se)ye.options.linesDecorationsClassName==="breakpoints-select"&&(be.push((ie=ye==null?void 0:ye.range)==null?void 0:ie.startLineNumber),ge.push(ye==null?void 0:ye.id));if(q)return{lines:be,ids:ge};$t(be)},Wt=q=>ct(void 0,null,function*(){let ie={range:new re.Range(q,1,q,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ne.deltaDecorations([],[ie]),gt()}),Ee=q=>ct(void 0,null,function*(){let ie=[];const be=oe.getLineDecorations(q);for(let ge of be)ge.options.linesDecorationsClassName==="breakpoints-select"&&ie.push(ge.id);yield Ne.deltaDecorations(ie,[]),gt()}),De=q=>{let ie=oe.getLineDecorations(q);for(let be of ie)if(be.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,n.isEqual)(en,gt(!0).lines)){Ne.deltaDecorations(gt(!0).ids,[]);const q=en.map(ie=>({range:new re.Range(ie,1,ie,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ne.deltaDecorations([],q)}const P=oe.onDidChangeModelContent(q=>{let ie=oe.getPosition();if(ie){let be=ie.lineNumber;clearTimeout(_n.current),_n.current=setTimeout(()=>{mt(Ne.getLineContent(be),be)?Ee(be):De(be)?(Ee(be),Wt(be)):gt()},100)}}),K=oe.onMouseDown(q=>{var ie,be,ge;if(q.target.detail&&((ge=(be=(ie=q.target)==null?void 0:ie.element)==null?void 0:be.className)!=null&&ge.includes("line-numbers"))){let Se=q.target.position.lineNumber;if(mt(Ne.getLineContent(Se),Se))return;De(Se)?Ee(Se):Wt(Se)}}),G=q=>{let ie={range:new re.Range(q,1,q,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};ft.current=oe.deltaDecorations(ft.current,[ie])},W=()=>{ft.current=oe.deltaDecorations(ft.current,[])},J=oe.onMouseMove(q=>{var ie,be,ge;if(W(),q.target.detail&&((ge=(be=(ie=q.target)==null?void 0:ie.element)==null?void 0:be.className)!=null&&ge.includes("line-numbers"))){let Se=q.target.position.lineNumber;if(mt(Ne.getLineContent(Se),Se))return;G(Se)}}),ne=oe.onMouseLeave(()=>{W()});return()=>{P.dispose(),K.dispose(),J.dispose(),ne.dispose()}}},[pe.current,Ge,en,dt,Vt,ue]),(0,S.useEffect)(()=>{var fe;(fe=pe.current)!=null&&fe.instance&&Vt&&pe.current.instance.setPosition({lineNumber:0,column:0})},[dt]);function Gt(){let fe=pe.current.instance;if(fe){const oe=fe.getSelection(),Ne=pe.current.pastePos||{},Me=new re.Range(Ne.startLineNumber||oe.endLineNumber,Ne.startColumn||oe.endColumn,Ne.endLineNumber||oe.endLineNumber,Ne.endColumn||oe.endColumn);setTimeout(()=>{fe.executeEdits("",[{range:Me,text:""}])},300)}}function vt(fe){(window.navigator.platform.match("Mac")?fe.metaKey:fe.ctrlKey)&&fe.keyCode==83&&(fe.preventDefault(),He())}const cn=()=>{if(at&&pe.current.instance){const fe=pe.current.instance.getContentHeight();Qe(fe<ee?ee:fe)}else Qe(ee)};function Lt(fe){var oe=document.createEvent("MouseEvents");oe.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),fe.dispatchEvent(oe)}const Pt=fe=>{if(!fn.current)return;const{keyCode:oe,ctrlKey:Ne,metaKey:Me,target:gt,type:Wt}=fe;return(Wt==="paste"||(oe===67||oe===86)&&(Me||Ne))&>.nodeName==="TEXTAREA"&&(hn(),fe.preventDefault()),!1};function Zt(fe,oe){var Ne=window.URL||window.webkitURL||window,Me=new Blob([oe]),gt=document.createElementNS("http://www.w3.org/1999/xhtml","a");gt.href=Ne.createObjectURL(Me),gt.download=fe,Lt(gt)}(0,S.useEffect)(()=>{cn()},[cn]),(0,S.useEffect)(()=>{nt.current&&!Ge&&Promise.all([k.e(8909),k.e(6656)]).then(k.bind(k,71448)).then(fe=>{try{re=fe,pe.current.instance=re.editor.create(nt.current,{value:X,language:Z(ue),theme:le,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:tn||!1}},ce);const oe=pe.current.instance;let gt=[...m.BH._menuItems].find(P=>P[0]._debugName=="EditorContext")[1],Wt=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Ee=(P,K)=>{var G,W;let J=P._first;do K.includes((W=(G=J.element)==null?void 0:G.command)==null?void 0:W.id)&&P._remove(J);while(J=J.next)};if(Et(oe,re),setTimeout(()=>{cn(),pe.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Zt(ln||"educoder.txt",oe.getValue())}})},500),pe.current.subscription=oe.onDidChangeModelContent(P=>{Pe.current?clearTimeout(It.current):(cn(),Te(oe.getValue(),P)),It.current=setTimeout(()=>{Pe.current=!1},500)}),window.Monaco||D(re,Z(ue)),je&&(Ee(gt,Wt),nt.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Pt),window.removeEventListener("paste",Pt),window.addEventListener("keydown",Pt),window.addEventListener("paste",Pt)),window.Monaco=re,Ve&&oe.onDidBlurEditorWidget(()=>{Ve(oe.getValue())}),Ut&&oe.onDidFocusEditorText(()=>{je&&me(),Ut(oe.getValue())}),je){me();try{oe.onDidPaste(P=>{const K=oe.getSelection(),G=pe.current.pastePos||{},W=new re.Range(G.startLineNumber||K.endLineNumber,G.startColumn||K.endColumn,G.endLineNumber||K.endLineNumber,G.endColumn||K.endColumn);oe.executeEdits("",[{range:P.range,text:""}])})}catch(P){}}let De=Rt();return ot&&typeof ot=="string"&&new d(ot,oe,re),Tt(!0),()=>{const P=pe.current.instance;P.dispose();const K=P.getModel();K&&K.dispose(),pe.current.subscription&&pe.current.subscription.dispose(),De.unobserve(nt.current)}}catch(oe){}})},[]),(0,S.useEffect)(()=>{if(pe.current.instance&&Ge)return document.addEventListener("keydown",vt,!1),()=>{document.removeEventListener("keydown",vt)}},[He,Ge]),(0,S.useEffect)(()=>{let fe=pe.current.instance;if(fe&&Ge){let oe=Z(ue);re.editor.setModelLanguage(fe.getModel(),oe)}},[ue,Ge]),(0,S.useEffect)(()=>{pe.current.instance&&Ge&&re.editor.setTheme(le)},[le,Ge]),(0,S.useEffect)(()=>{let fe=pe.current.instance;yn.current=he,fe&&Ge&&(fe.updateOptions(We({},he)),setTimeout(()=>{fe.getModel().updateOptions(We({},he))},200))},[JSON.stringify(he),Ge]),(0,S.useEffect)(()=>{let fe=pe.current.instance;fe&&Ge&&fe.layout()},[I,ee,Ge]);const[bn,jt]=(0,S.useState)(qe(I)),[Tn,Qe]=(0,S.useState)(qe(ee)),Pn=$e(We({},te),{width:bn,height:Tn,position:"relative"});return S.createElement("div",{className:"my-monaco-editor",ref:nt,style:Pn},et&&S.createElement(f.CopyToClipboard,{text:X,onCopy:()=>R.ZP.success("\u590D\u5236\u6210\u529F")},S.createElement(v.Z,{title:"\u590D\u5236\u4EE3\u7801"},S.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},S.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function x({width:E="100%",height:A="100%",original:I,modified:ee,language:X,options:ue={}}){const te=(0,S.useRef)(),[he,ce]=(0,S.useState)(null);function le(at){let je;return te.current&&(je=new C.Z(Te=>{for(let Et of Te)(Et.target.offsetHeight>0||Et.target.offsetWidth>0)&&at.layout()}),je.observe(te.current)),je}(0,S.useEffect)(()=>(te.current&&Promise.all([k.e(8909),k.e(9404)]).then(k.bind(k,2550)).then(at=>{re=at;const je=re.editor.createDiffEditor(te.current,$e(We({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},ue),{wordWrap:!0}));ce(je);let Te=le(je);return()=>{je.dispose();const Et=je.getModel();Et&&Et.dispose(),Te.unobserve(te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,S.useEffect)(()=>{he&&he.setModel({original:re.editor.createModel(I,X),modified:re.editor.createModel(ee,X)})},[I,ee,X,he]);const Ve=qe(E),et=qe(A),He={width:Ve,height:et};return S.createElement("div",{className:"my-diff-editor",ref:te,style:He})}},77329:function(Ae,se,k){"use strict";k.r(se),k.d(se,{default:function(){return u}});var S=k(59301),C=k(25690),V=k(91882),F=k(77019),L=k(5269),B=k(458),H=k(27812),M=k(75975),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"},b=k(38986),o=Object.defineProperty,i=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,a=(l,y,w)=>y in l?o(l,y,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[y]=w,p=(l,y)=>{for(var w in y||(y={}))t.call(y,w)&&a(l,w,y[w]);if(i)for(var w of i(y))s.call(y,w)&&a(l,w,y[w]);return l},h=(l,y,w)=>new Promise((T,N)=>{var D=z=>{try{Q(w.next(z))}catch(xe){N(xe)}},$=z=>{try{Q(w.throw(z))}catch(xe){N(xe)}},Q=z=>z.done?T(z.value):Promise.resolve(z.value).then(D,$);Q((w=w.apply(l,y)).next())});const c=({exercise:l,user:y,dispatch:w})=>{var T,N;const D=(T=window.location.pathname)==null?void 0:T.includes("exercise"),$=D?"exercise":"shixun_homework",Q=(0,C.useParams)(),[z]=(0,C.useSearchParams)(),{userInfo:xe}=y,g=z.get("name"),_=z.get("rule_id"),d=z.get("uuid"),m=z.get("language"),R=z.get("rowNumber"),v=z.get("issueId"),[n,r]=(0,S.useState)({}),[f,O]=(0,S.useState)({value:"",language:m.toLowerCase(),theme:"vs",options:{readOnly:!0},errorContent:"",errorLine:parseInt(R)}),[U,Y]=(0,S.useState)(!0);(0,S.useEffect)(()=>{_e()},[]);const _e=()=>h(void 0,null,function*(){var de,Ce,Ze;Y(!0);const We=yield(0,b.ZP)("/api/code_analyses_detail/code_detail.json",{method:"get",params:{rule_id:_,uuid:d,issue_id:v}});if(We.status===0){f.value=(Ce=(de=We.data)==null?void 0:de.codes)==null?void 0:Ce.map(Xe=>Xe.code).join(`
|
|
`);const $e=document.createElement("div");$e.innerHTML=f.value,f.value=$e.innerText,f.errorContent=(Ze=We==null?void 0:We.data)==null?void 0:Ze.errMessage,O(p({},f)),r(We.data)}Y(!1)});return S.createElement("section",{className:"edu-container"},S.createElement("section",{className:"animated fadeIn"},S.createElement("aside",{className:"mt10"},xe&&S.createElement(V.Z,{separator:">"},S.createElement(V.Z.Item,null,S.createElement(C.Link,{to:`/classrooms/${Q.coursesId}/${$}`},(N=xe==null?void 0:xe.course)==null?void 0:N.course_name)),S.createElement(V.Z.Item,null,S.createElement(C.Link,{to:`/classrooms/${Q.coursesId}/${$}`},D?"\u8003\u8BD5":"\u5B9E\u8BAD","\u5217\u8868")),S.createElement(V.Z.Item,null,S.createElement(C.Link,{to:`/classrooms/${Q.coursesId}/${$}/${Q==null?void 0:Q.exerciseId}/detail`},D?"\u8BD5\u5377":"\u4F5C\u4E1A","\u8BE6\u60C5")),S.createElement(V.Z.Item,null,g))),S.createElement("aside",{className:[e.title,"mt20"].join(" ")},S.createElement(F.Z,{style:{width:"100%"}},S.createElement(L.Z,{flex:"1",style:{lineHeight:"24px"}},S.createElement(C.Link,{to:`/classrooms/${Q.coursesId}/${$}/${Q.exerciseId}/analysis/${Q.studentId}`},S.createElement(H.Z,{className:"font16 c-black"})),S.createElement("strong",{className:"font20 ml5"},"\u4EE3\u7801\u8BE6\u60C5"))))),S.createElement("section",{className:e.wrap},S.createElement(B.Z,{loading:U,active:!0,paragraph:{rows:5}},S.createElement("div",{className:e.title},n==null?void 0:n.title),S.createElement("div",{className:e.code},S.createElement(M.ZP,p({},f))),S.createElement("div",{className:e.error,dangerouslySetInnerHTML:{__html:(n==null?void 0:n.example)||""}}))))};var u=(0,C.connect)(({exercise:l,user:y})=>({exercise:l,user:y}))(c)},25769:function(Ae,se,k){"use strict";var S=k(98040),C={"text/plain":"Text","text/html":"Url",default:"Text"},V="Copy to clipboard: #{key}, Enter";function F(B){var H=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return B.replace(/#{\s*key\s*}/g,H)}function L(B,H){var M,e,b,o,i,t,s=!1;H||(H={}),M=H.debug||!1;try{b=S(),o=document.createRange(),i=document.getSelection(),t=document.createElement("span"),t.textContent=B,t.ariaHidden="true",t.style.all="unset",t.style.position="fixed",t.style.top=0,t.style.clip="rect(0, 0, 0, 0)",t.style.whiteSpace="pre",t.style.webkitUserSelect="text",t.style.MozUserSelect="text",t.style.msUserSelect="text",t.style.userSelect="text",t.addEventListener("copy",function(p){if(p.stopPropagation(),H.format)if(p.preventDefault(),typeof p.clipboardData=="undefined"){M&&console.warn("unable to use e.clipboardData"),M&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=C[H.format]||C.default;window.clipboardData.setData(h,B)}else p.clipboardData.clearData(),p.clipboardData.setData(H.format,B);H.onCopy&&(p.preventDefault(),H.onCopy(p.clipboardData))}),document.body.appendChild(t),o.selectNodeContents(t),i.addRange(o);var a=document.execCommand("copy");if(!a)throw new Error("copy command was unsuccessful");s=!0}catch(p){M&&console.error("unable to copy using execCommand: ",p),M&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(H.format||"text",B),H.onCopy&&H.onCopy(window.clipboardData),s=!0}catch(h){M&&console.error("unable to copy using clipboardData: ",h),M&&console.error("falling back to prompt"),e=F("message"in H?H.message:V),window.prompt(e,B)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(o):i.removeAllRanges()),t&&document.body.removeChild(t),b()}return s}Ae.exports=L},53184:function(Ae,se,k){"use strict";var S,C;function V(F,L,B){var H=function(M,e){return F.js_beautify(M,e)};return H.js=F.js_beautify,H.css=L.css_beautify,H.html=B.html_beautify,H.js_beautify=F.js_beautify,H.css_beautify=L.css_beautify,H.html_beautify=B.html_beautify,H}S=[k(58553),k(87804),k(40998)],C=function(F,L,B){return V(F,L,B)}.apply(se,S),C!==void 0&&(Ae.exports=C)},87804:function(Ae,se){var k,S;(function(){var C;(function(){"use strict";var F=[,,function(M){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 t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(i))return!0;return!1},e.prototype.set_indent=function(i,t){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=t||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 t=i.lastIndexOf(`
|
|
`);t!==-1?this.__character_count=i.length-t: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 b(i,t){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)),t=t||"",i.indent_level>0&&(t=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}b.prototype.get_indent_size=function(i,t){var s=this.__base_string_length;return t=t||0,i<0&&(s=0),s+=i*this.__indent_size,s+=t,s},b.prototype.get_indent_string=function(i,t){var s=this.__base_string;return t=t||0,i<0&&(i=0,s=""),t+=i*this.__indent_size,this.__ensure_cache(t),s+=this.__cache[t],s},b.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},b.prototype.__add_column=function(){var i=this.__cache.length,t=0,s="";this.__indent_size&&i>=this.__indent_size&&(t=Math.floor(i/this.__indent_size),i-=t*this.__indent_size,s=new Array(t+1).join(this.__indent_string)),i&&(s+=new Array(i+1).join(" ")),this.__cache.push(s)};function o(i,t){this.__indent_cache=new b(i,t),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()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(i,t){return this.__indent_cache.get_indent_string(i,t)},o.prototype.get_indent_size=function(i,t){return this.__indent_cache.get_indent_size(i,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(i){this.trim(!0);var t=this.current_line.pop();t&&(t[t.length-1]===`
|
|
`&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return i!==`
|
|
`&&(s=s.replace(/[\n]/g,i)),s},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(i,t){return i=i||0,t=t||0,this.next_line.set_indent(i,t),this.__lines.length>1?(this.current_line.set_indent(i,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(i){for(var t=0;t<i.newlines;t++)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},o.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()},o.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(" "))},o.prototype.remove_indent=function(i){for(var t=this.__lines.length;i<t;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},o.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},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(i,t){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)!==t){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},M.exports.Output=o},,,,function(M){function e(i,t){this.raw_options=b(i,t),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,t){var s=this.raw_options[i],a=t||[];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,t){var s=this.raw_options[i],a=s===void 0?!!t:!!s;return a},e.prototype._get_characters=function(i,t){var s=this.raw_options[i],a=t||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),a},e.prototype._get_number=function(i,t){var s=this.raw_options[i];t=parseInt(t,10),isNaN(t)&&(t=0);var a=parseInt(s,10);return isNaN(a)&&(a=t),a},e.prototype._get_selection=function(i,t,s){var a=this._get_selection_list(i,t,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+i+`' can only be one of the following values:
|
|
`+t+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a[0]},e.prototype._get_selection_list=function(i,t,s){if(!t||t.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[t[0]],!this._is_valid_selection(s,t))throw new Error("Invalid Default Value!");var a=this._get_array(i,s);if(!this._is_valid_selection(a,t))throw new Error("Invalid Option Value: The option '"+i+`' can contain only the following values:
|
|
`+t+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a},e.prototype._is_valid_selection=function(i,t){return i.length&&t.length&&!i.some(function(s){return t.indexOf(s)===-1})};function b(i,t){var s={};i=o(i);var a;for(a in i)a!==t&&(s[a]=i[a]);if(t&&i[t])for(a in i[t])s[a]=i[t][a];return s}function o(i){var t={},s;for(s in i){var a=s.replace(/-/g,"_");t[a]=i[s]}return t}M.exports.Options=e,M.exports.normalizeOpts=o,M.exports.mergeOpts=b},,function(M){var e=RegExp.prototype.hasOwnProperty("sticky");function b(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}b.prototype.restart=function(){this.__position=0},b.prototype.back=function(){this.__position>0&&(this.__position-=1)},b.prototype.hasNext=function(){return this.__position<this.__input_length},b.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},b.prototype.peek=function(o){var i=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(i=this.__input.charAt(o)),i},b.prototype.__match=function(o,i){o.lastIndex=i;var t=o.exec(this.__input);return t&&!(e&&o.sticky)&&t.index!==i&&(t=null),t},b.prototype.test=function(o,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(o,i):!1},b.prototype.testChar=function(o,i){var t=this.peek(i);return o.lastIndex=0,t!==null&&o.test(t)},b.prototype.match=function(o){var i=this.__match(o,this.__position);return i?this.__position+=i[0].length:i=null,i},b.prototype.read=function(o,i,t){var s="",a;return o&&(a=this.match(o),a&&(s+=a[0])),i&&(a||!o)&&(s+=this.readUntil(i,t)),s},b.prototype.readUntil=function(o,i){var t="",s=this.__position;o.lastIndex=this.__position;var a=o.exec(this.__input);return a?(s=a.index,i&&(s+=a[0].length)):s=this.__input_length,t=this.__input.substring(this.__position,s),this.__position=s,t},b.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},b.prototype.get_regexp=function(o,i){var t=null,s="g";return i&&e&&(s="y"),typeof o=="string"&&o!==""?t=new RegExp(o,s):o&&(t=new RegExp(o.source,s)),t},b.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},b.prototype.peekUntilAfter=function(o){var i=this.__position,t=this.readUntilAfter(o);return this.__position=i,t},b.prototype.lookBack=function(o){var i=this.__position-1;return i>=o.length&&this.__input.substring(i-o.length,i).toLowerCase()===o},M.exports.InputScanner=b},,,,,function(M){function e(b,o){b=typeof b=="string"?b:b.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(b+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(b+/\sbeautify\signore:end\s/.source+o,"g")}e.prototype.get_directives=function(b){if(!b.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(b);i;)o[i[1]]=i[2],i=this.__directive_pattern.exec(b);return o},e.prototype.readIgnored=function(b){return b.readUntilAfter(this.__directives_end_ignore_pattern)},M.exports.Directives=e},,function(M,e,b){var o=b(16).Beautifier,i=b(17).Options;function t(s,a){var p=new o(s,a);return p.beautify()}M.exports=t,M.exports.defaultOptions=function(){return new i}},function(M,e,b){var o=b(17).Options,i=b(2).Output,t=b(8).InputScanner,s=b(13).Directives,a=new s(/\/\*/,/\*\//),p=/\r\n|[\r\n]/,h=/\r\n|[\r\n]/g,c=/\s/,u=/(?:\s|\n)+/g,l=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,y=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function w(T,N){this._source_text=T||"",this._options=new o(N),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"]}w.prototype.eatString=function(T){var N="";for(this._ch=this._input.next();this._ch;){if(N+=this._ch,this._ch==="\\")N+=this._input.next();else if(T.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return N},w.prototype.eatWhitespace=function(T){for(var N=c.test(this._input.peek()),D=0;c.test(this._input.peek());)this._ch=this._input.next(),T&&this._ch===`
|
|
`&&(D===0||D<this._options.max_preserve_newlines)&&(D++,this._output.add_new_line(!0));return N},w.prototype.foundNestedPseudoClass=function(){for(var T=0,N=1,D=this._input.peek(N);D;){if(D==="{")return!0;if(D==="(")T+=1;else if(D===")"){if(T===0)return!1;T-=1}else if(D===";"||D==="}")return!1;N++,D=this._input.peek(N)}return!1},w.prototype.print_string=function(T){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(T)},w.prototype.preserveSingleSpace=function(T){T&&(this._output.space_before_token=!0)},w.prototype.indent=function(){this._indentLevel++},w.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},w.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var T=this._source_text,N=this._options.eol;N==="auto"&&(N=`
|
|
`,T&&p.test(T||"")&&(N=T.match(p)[0])),T=T.replace(h,`
|
|
`);var D=T.match(/^[\t ]*/)[0];this._output=new i(this._options,D),this._input=new t(T),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var $=0,Q=!1,z=!1,xe=!1,g=!1,_=!1,d=this._ch,m=!1,R,v,n;R=this._input.read(u),v=R!=="",n=d,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),d=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var r=this._input.read(l),f=a.get_directives(r);f&&f.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(y)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(v),this.print_string(this._ch);var O=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);O.match(/[ :]$/)&&(O=this.eatString(": ").replace(/\s+$/,""),this.print_string(O),this._output.space_before_token=!0),$===0&&O.indexOf(":")!==-1&&(z=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(v),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var U=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);U.match(/[ :]$/)&&(U=this.eatString(": ").replace(/\s+$/,""),this.print_string(U),this._output.space_before_token=!0),$===0&&U.indexOf(":")!==-1?(z=!0,this.indent()):U in this.NESTED_AT_RULE?(this._nestedLevel+=1,U in this.CONDITIONAL_GROUP_RULE&&(xe=!0)):$===0&&!z&&(g=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(v),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")z&&(z=!1,this.outdent()),g=!1,xe?(xe=!1,Q=this._indentLevel>=this._nestedLevel):Q=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&Q&&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)):(n==="("?this._output.space_before_token=!1:n!==","&&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(),n==="{"&&this._output.trim(!0),z&&(this.outdent(),z=!1),this.print_string(this._ch),Q=!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 Y=0;Y<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;Y++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[Y])){m=!0;break}(Q||xe)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!g&&$===0?(this.print_string(":"),z||(z=!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 _e=n==='"'||n==="'";this.preserveSingleSpace(_e||v),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")m=!1,$===0?(z&&(this.outdent(),z=!1),g=!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(),$++,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(")")),$&&($--,this.outdent()));else{var de=!1;this._input.lookBack("with")&&(de=!0),this.preserveSingleSpace(v||de),this.print_string(this._ch),z&&n==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),_=!0):(this.eatWhitespace(),$++,this.indent())}else if(this._ch===")")$&&($--,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&&(!z||_)&&$===0&&!g?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!z&&$===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&&c.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(v),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),c.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 Ce=n==='"'||n==="'";this.preserveSingleSpace(Ce||v),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&m&&this._output.add_new_line()}var Ze=this._output.get_code(N);return Ze},M.exports.Beautifier=w},function(M,e,b){var o=b(6).Options;function i(t){o.call(this,t,"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 p=0;p<a.length;p++)a[p]!=="expand"?this.brace_style="collapse":this.brace_style=a[p]}i.prototype=new o,M.exports.Options=i}],L={};function B(M){var e=L[M];if(e!==void 0)return e.exports;var b=L[M]={exports:{}};return F[M](b,b.exports,B),b.exports}var H=B(15);C=H})();var V=C;k=[],S=function(){return{css_beautify:V}}.apply(se,k),S!==void 0&&(Ae.exports=S)})()},40998:function(Ae,se,k){var S,C;(function(){var V;(function(){"use strict";var H=[,,function(o){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 p=this.__items.length-1;p>=0;p--)if(this.__items[p].match(a))return!0;return!1},i.prototype.set_indent=function(a,p){this.is_empty()&&(this.__indent_count=a||0,this.__alignment_count=p||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 p=a.lastIndexOf(`
|
|
`);p!==-1?this.__character_count=a.length-p: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 t(a,p){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)),p=p||"",a.indent_level>0&&(p=new Array(a.indent_level+1).join(this.__indent_string)),this.__base_string=p,this.__base_string_length=p.length}t.prototype.get_indent_size=function(a,p){var h=this.__base_string_length;return p=p||0,a<0&&(h=0),h+=a*this.__indent_size,h+=p,h},t.prototype.get_indent_string=function(a,p){var h=this.__base_string;return p=p||0,a<0&&(a=0,h=""),p+=a*this.__indent_size,this.__ensure_cache(p),h+=this.__cache[p],h},t.prototype.__ensure_cache=function(a){for(;a>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var a=this.__cache.length,p=0,h="";this.__indent_size&&a>=this.__indent_size&&(p=Math.floor(a/this.__indent_size),a-=p*this.__indent_size,h=new Array(p+1).join(this.__indent_string)),a&&(h+=new Array(a+1).join(" ")),this.__cache.push(h)};function s(a,p){this.__indent_cache=new t(a,p),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,p){return this.__indent_cache.get_indent_string(a,p)},s.prototype.get_indent_size=function(a,p){return this.__indent_cache.get_indent_size(a,p)},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 p=this.current_line.pop();p&&(p[p.length-1]===`
|
|
`&&(p=p.replace(/\n+$/g,"")),this.current_line.push(p)),this._end_with_newline&&this.__add_outputline();var h=this.__lines.join(`
|
|
`);return a!==`
|
|
`&&(h=h.replace(/[\n]/g,a)),h},s.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},s.prototype.set_indent=function(a,p){return a=a||0,p=p||0,this.next_line.set_indent(a,p),this.__lines.length>1?(this.current_line.set_indent(a,p),!0):(this.current_line.set_indent(),!1)},s.prototype.add_raw_token=function(a){for(var p=0;p<a.newlines;p++)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 p=this.__lines.length;a<p;)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,p){for(var h=this.__lines.length-2;h>=0;){var c=this.__lines[h];if(c.is_empty())break;if(c.item(0).indexOf(a)!==0&&c.item(-1)!==p){this.__lines.splice(h+1,0,new i(this)),this.previous_line=this.__lines[this.__lines.length-2];break}h--}},o.exports.Output=s},function(o){function i(t,s,a,p){this.type=t,this.text=s,this.comments_before=null,this.newlines=a||0,this.whitespace_before=p||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}o.exports.Token=i},,,function(o){function i(a,p){this.raw_options=t(a,p),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,p){var h=this.raw_options[a],c=p||[];return typeof h=="object"?h!==null&&typeof h.concat=="function"&&(c=h.concat()):typeof h=="string"&&(c=h.split(/[^a-zA-Z0-9_\/\-]+/)),c},i.prototype._get_boolean=function(a,p){var h=this.raw_options[a],c=h===void 0?!!p:!!h;return c},i.prototype._get_characters=function(a,p){var h=this.raw_options[a],c=p||"";return typeof h=="string"&&(c=h.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),c},i.prototype._get_number=function(a,p){var h=this.raw_options[a];p=parseInt(p,10),isNaN(p)&&(p=0);var c=parseInt(h,10);return isNaN(c)&&(c=p),c},i.prototype._get_selection=function(a,p,h){var c=this._get_selection_list(a,p,h);if(c.length!==1)throw new Error("Invalid Option Value: The option '"+a+`' can only be one of the following values:
|
|
`+p+`
|
|
You passed in: '`+this.raw_options[a]+"'");return c[0]},i.prototype._get_selection_list=function(a,p,h){if(!p||p.length===0)throw new Error("Selection list cannot be empty.");if(h=h||[p[0]],!this._is_valid_selection(h,p))throw new Error("Invalid Default Value!");var c=this._get_array(a,h);if(!this._is_valid_selection(c,p))throw new Error("Invalid Option Value: The option '"+a+`' can contain only the following values:
|
|
`+p+`
|
|
You passed in: '`+this.raw_options[a]+"'");return c},i.prototype._is_valid_selection=function(a,p){return a.length&&p.length&&!a.some(function(h){return p.indexOf(h)===-1})};function t(a,p){var h={};a=s(a);var c;for(c in a)c!==p&&(h[c]=a[c]);if(p&&a[p])for(c in a[p])h[c]=a[p][c];return h}function s(a){var p={},h;for(h in a){var c=h.replace(/-/g,"_");p[c]=a[h]}return p}o.exports.Options=i,o.exports.normalizeOpts=s,o.exports.mergeOpts=t},,function(o){var i=RegExp.prototype.hasOwnProperty("sticky");function t(s){this.__input=s||"",this.__input_length=this.__input.length,this.__position=0}t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var s=null;return this.hasNext()&&(s=this.__input.charAt(this.__position),this.__position+=1),s},t.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},t.prototype.__match=function(s,a){s.lastIndex=a;var p=s.exec(this.__input);return p&&!(i&&s.sticky)&&p.index!==a&&(p=null),p},t.prototype.test=function(s,a){return a=a||0,a+=this.__position,a>=0&&a<this.__input_length?!!this.__match(s,a):!1},t.prototype.testChar=function(s,a){var p=this.peek(a);return s.lastIndex=0,p!==null&&s.test(p)},t.prototype.match=function(s){var a=this.__match(s,this.__position);return a?this.__position+=a[0].length:a=null,a},t.prototype.read=function(s,a,p){var h="",c;return s&&(c=this.match(s),c&&(h+=c[0])),a&&(c||!s)&&(h+=this.readUntil(a,p)),h},t.prototype.readUntil=function(s,a){var p="",h=this.__position;s.lastIndex=this.__position;var c=s.exec(this.__input);return c?(h=c.index,a&&(h+=c[0].length)):h=this.__input_length,p=this.__input.substring(this.__position,h),this.__position=h,p},t.prototype.readUntilAfter=function(s){return this.readUntil(s,!0)},t.prototype.get_regexp=function(s,a){var p=null,h="g";return a&&i&&(h="y"),typeof s=="string"&&s!==""?p=new RegExp(s,h):s&&(p=new RegExp(s.source,h)),p},t.prototype.get_literal_regexp=function(s){return RegExp(s.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(s){var a=this.__position,p=this.readUntilAfter(s);return this.__position=a,p},t.prototype.lookBack=function(s){var a=this.__position-1;return a>=s.length&&this.__input.substring(a-s.length,a).toLowerCase()===s},o.exports.InputScanner=t},function(o,i,t){var s=t(8).InputScanner,a=t(3).Token,p=t(10).TokenStream,h=t(11).WhitespacePattern,c={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},u=function(l,y){this._input=new s(l),this._options=y||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new h(this._input)};u.prototype.tokenize=function(){this._input.restart(),this.__tokens=new p,this._reset();for(var l,y=new a(c.START,""),w=null,T=[],N=new p;y.type!==c.EOF;){for(l=this._get_next_token(y,w);this._is_comment(l);)N.add(l),l=this._get_next_token(y,w);N.isEmpty()||(l.comments_before=N,N=new p),l.parent=w,this._is_opening(l)?(T.push(w),w=l):w&&this._is_closing(l,w)&&(l.opened=w,w.closed=l,w=T.pop(),l.parent=w),l.previous=y,y.next=l,this.__tokens.add(l),y=l}return this.__tokens},u.prototype._is_first_token=function(){return this.__tokens.isEmpty()},u.prototype._reset=function(){},u.prototype._get_next_token=function(l,y){this._readWhitespace();var w=this._input.read(/.+/g);return w?this._create_token(c.RAW,w):this._create_token(c.EOF,"")},u.prototype._is_comment=function(l){return!1},u.prototype._is_opening=function(l){return!1},u.prototype._is_closing=function(l,y){return!1},u.prototype._create_token=function(l,y){var w=new a(l,y,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return w},u.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},o.exports.Tokenizer=u,o.exports.TOKEN=c},function(o){function i(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}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 t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},i.prototype.peek=function(t){var s=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(s=this.__tokens[t]),s},i.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},o.exports.TokenStream=i},function(o,i,t){var s=t(12).Pattern;function a(p,h){s.call(this,p,h),h?this._line_regexp=this._input.get_regexp(h._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}a.prototype=new s,a.prototype.__set_whitespace_patterns=function(p,h){p+="\\t ",h+="\\n\\r",this._match_pattern=this._input.get_regexp("["+p+h+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+h+"]")},a.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var p=this._input.read(this._match_pattern);if(p===" ")this.whitespace_before_token=" ";else if(p){var h=this.__split(this._newline_regexp,p);this.newline_count=h.length-1,this.whitespace_before_token=h[this.newline_count]}return p},a.prototype.matching=function(p,h){var c=this._create();return c.__set_whitespace_patterns(p,h),c._update(),c},a.prototype._create=function(){return new a(this._input,this)},a.prototype.__split=function(p,h){p.lastIndex=0;for(var c=0,u=[],l=p.exec(h);l;)u.push(h.substring(c,l.index)),c=l.index+l[0].length,l=p.exec(h);return c<h.length?u.push(h.substring(c,h.length)):u.push(""),u},o.exports.WhitespacePattern=a},function(o){function i(t,s){this._input=t,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 t=this._input.read(this._starting_pattern);return(!this._starting_pattern||t)&&(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},i.prototype.read_match=function(){return this._input.match(this._match_pattern)},i.prototype.until_after=function(t){var s=this._create();return s._until_after=!0,s._until_pattern=this._input.get_regexp(t),s._update(),s},i.prototype.until=function(t){var s=this._create();return s._until_after=!1,s._until_pattern=this._input.get_regexp(t),s._update(),s},i.prototype.starting_with=function(t){var s=this._create();return s._starting_pattern=this._input.get_regexp(t,!0),s._update(),s},i.prototype.matching=function(t){var s=this._create();return s._match_pattern=this._input.get_regexp(t,!0),s._update(),s},i.prototype._create=function(){return new i(this._input,this)},i.prototype._update=function(){},o.exports.Pattern=i},function(o){function i(t,s){t=typeof t=="string"?t:t.source,s=typeof s=="string"?s:s.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+s,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+s,"g")}i.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var s={};this.__directive_pattern.lastIndex=0;for(var a=this.__directive_pattern.exec(t);a;)s[a[1]]=a[2],a=this.__directive_pattern.exec(t);return s},i.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},o.exports.Directives=i},function(o,i,t){var s=t(12).Pattern,a={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function p(h,c){s.call(this,h,c),this.__template_pattern=null,this._disabled=Object.assign({},a),this._excluded=Object.assign({},a),c&&(this.__template_pattern=this._input.get_regexp(c.__template_pattern),this._excluded=Object.assign(this._excluded,c._excluded),this._disabled=Object.assign(this._disabled,c._disabled));var u=new s(h);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}/)}}p.prototype=new s,p.prototype._create=function(){return new p(this._input,this)},p.prototype._update=function(){this.__set_templated_pattern()},p.prototype.disable=function(h){var c=this._create();return c._disabled[h]=!0,c._update(),c},p.prototype.read_options=function(h){var c=this._create();for(var u in a)c._disabled[u]=h.templating.indexOf(u)===-1;return c._update(),c},p.prototype.exclude=function(h){var c=this._create();return c._excluded[h]=!0,c._update(),c},p.prototype.read=function(){var h="";this._match_pattern?h=this._input.read(this._starting_pattern):h=this._input.read(this._starting_pattern,this.__template_pattern);for(var c=this._read_template();c;)this._match_pattern?c+=this._input.read(this._match_pattern):c+=this._input.readUntil(this.__template_pattern),h+=c,c=this._read_template();return this._until_after&&(h+=this._input.readUntilAfter(this._until_pattern)),h},p.prototype.__set_templated_pattern=function(){var h=[];this._disabled.php||h.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||h.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||h.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(h.push(this.__patterns.django._starting_pattern.source),h.push(this.__patterns.django_value._starting_pattern.source),h.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||h.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&h.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+h.join("|")+")")},p.prototype._read_template=function(){var h="",c=this._input.peek();if(c==="<"){var u=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&u==="?"&&(h=h||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&u==="%"&&(h=h||this.__patterns.erb.read())}else c==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(h=h||this.__patterns.handlebars_comment.read(),h=h||this.__patterns.handlebars_unescaped.read(),h=h||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(h=h||this.__patterns.django_value.read()),this._excluded.django||(h=h||this.__patterns.django_comment.read(),h=h||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(h=h||this.__patterns.smarty_comment.read(),h=h||this.__patterns.smarty_literal.read(),h=h||this.__patterns.smarty.read()));return h},o.exports.TemplatablePattern=p},,,,function(o,i,t){var s=t(19).Beautifier,a=t(20).Options;function p(h,c,u,l){var y=new s(h,c,u,l);return y.beautify()}o.exports=p,o.exports.defaultOptions=function(){return new a}},function(o,i,t){var s=t(20).Options,a=t(2).Output,p=t(21).Tokenizer,h=t(21).TOKEN,c=/\r\n|[\r\n]/,u=/\r\n|[\r\n]/g,l=function(g,_){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new a(g,_)};l.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},l.prototype.set_space_before_token=function(g,_){this._output.space_before_token=g,this._output.non_breaking_space=_},l.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},l.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},l.prototype.print_preserved_newlines=function(g){var _=0;g.type!==h.TEXT&&g.previous.type!==h.TEXT&&(_=g.newlines?1:0),this.preserve_newlines&&(_=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var d=0;d<_;d++)this.print_newline(d>0);return _!==0},l.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},l.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},l.prototype.print_newline=function(g){this._output.add_new_line(g)},l.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},l.prototype.indent=function(){this.indent_level++},l.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},l.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var y=function(g){for(var _=null,d=g.next;d.type!==h.EOF&&g.closed!==d;){if(d.type===h.ATTRIBUTE&&d.text==="type"){d.next&&d.next.type===h.EQUALS&&d.next.next&&d.next.next.type===h.VALUE&&(_=d.next.next.text);break}d=d.next}return _},w=function(g,_){var d=null,m=null;return _.closed?(g==="script"?d="text/javascript":g==="style"&&(d="text/css"),d=y(_)||d,d.search("text/css")>-1?m="css":d.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?m="javascript":d.search(/(text|application|dojo)\/(x-)?(html)/)>-1?m="html":d.search(/test\/null/)>-1&&(m="null"),m):null};function T(g,_){return _.indexOf(g)!==-1}function N(g,_,d){this.parent=g||null,this.tag=_?_.tag_name:"",this.indent_level=d||0,this.parser_token=_||null}function D(g){this._printer=g,this._current_frame=null}D.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},D.prototype.record_tag=function(g){var _=new N(this._current_frame,g,this._printer.indent_level);this._current_frame=_},D.prototype._try_pop_frame=function(g){var _=null;return g&&(_=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),_},D.prototype._get_frame=function(g,_){for(var d=this._current_frame;d&&g.indexOf(d.tag)===-1;){if(_&&_.indexOf(d.tag)!==-1){d=null;break}d=d.parent}return d},D.prototype.try_pop=function(g,_){var d=this._get_frame([g],_);return this._try_pop_frame(d)},D.prototype.indent_to_tag=function(g){var _=this._get_frame(g);_&&(this._printer.indent_level=_.indent_level)};function $(g,_,d,m){this._source_text=g||"",_=_||{},this._js_beautify=d,this._css_beautify=m,this._tag_stack=null;var R=new s(_,"html");this._options=R,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"}$.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,_=this._options.eol;this._options.eol==="auto"&&(_=`
|
|
`,g&&c.test(g)&&(_=g.match(c)[0])),g=g.replace(u,`
|
|
`);var d=g.match(/^[\t ]*/)[0],m={text:"",type:""},R=new Q(this._options),v=new l(this._options,d),n=new p(g,this._options).tokenize();this._tag_stack=new D(v);for(var r=null,f=n.next();f.type!==h.EOF;)f.type===h.TAG_OPEN||f.type===h.COMMENT?(r=this._handle_tag_open(v,f,R,m,n),R=r):f.type===h.ATTRIBUTE||f.type===h.EQUALS||f.type===h.VALUE||f.type===h.TEXT&&!R.tag_complete?r=this._handle_inside_tag(v,f,R,m):f.type===h.TAG_CLOSE?r=this._handle_tag_close(v,f,R):f.type===h.TEXT?r=this._handle_text(v,f,R):f.type===h.CONTROL_FLOW_OPEN?r=this._handle_control_flow_open(v,f):f.type===h.CONTROL_FLOW_CLOSE?r=this._handle_control_flow_close(v,f):v.add_raw_token(f),m=r,f=n.next();var O=v._output.get_code(_);return O},$.prototype._handle_control_flow_open=function(g,_){var d={text:_.text,type:_.type};return g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),_.newlines?g.print_preserved_newlines(_):g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),g.print_token(_),g.indent(),d},$.prototype._handle_control_flow_close=function(g,_){var d={text:_.text,type:_.type};return g.deindent(),_.newlines?g.print_preserved_newlines(_):g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),g.print_token(_),d},$.prototype._handle_tag_close=function(g,_,d){var m={text:_.text,type:_.type};return g.alignment_size=0,d.tag_complete=!0,g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),d.is_unformatted?g.add_raw_token(_):(d.tag_start_char==="<"&&(g.set_space_before_token(_.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&d.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(_)),d.indent_content&&!(d.is_unformatted||d.is_content_unformatted)&&(g.indent(),d.indent_content=!1),!d.is_inline_element&&!(d.is_unformatted||d.is_content_unformatted)&&g.set_wrap_point(),m},$.prototype._handle_inside_tag=function(g,_,d,m){var R=d.has_wrapped_attrs,v={text:_.text,type:_.type};return g.set_space_before_token(_.newlines||_.whitespace_before!=="",!0),d.is_unformatted?g.add_raw_token(_):d.tag_start_char==="{"&&_.type===h.TEXT?g.print_preserved_newlines(_)?(_.newlines=0,g.add_raw_token(_)):g.print_token(_):(_.type===h.ATTRIBUTE?g.set_space_before_token(!0):(_.type===h.EQUALS||_.type===h.VALUE&&_.previous.type===h.EQUALS)&&g.set_space_before_token(!1),_.type===h.ATTRIBUTE&&d.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(_),R=R||_.newlines!==0),this._is_wrap_attributes_force&&d.attr_count>=this._options.wrap_attributes_min_attrs&&(m.type!==h.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),R=!0)),g.print_token(_),R=R||g.previous_token_wrapped(),d.has_wrapped_attrs=R),v},$.prototype._handle_text=function(g,_,d){var m={text:_.text,type:"TK_CONTENT"};return d.custom_beautifier_name?this._print_custom_beatifier_text(g,_,d):d.is_unformatted||d.is_content_unformatted?g.add_raw_token(_):(g.traverse_whitespace(_),g.print_token(_)),m},$.prototype._print_custom_beatifier_text=function(g,_,d){var m=this;if(_.text!==""){var R=_.text,v,n=1,r="",f="";d.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?v=this._js_beautify:d.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?v=this._css_beautify:d.custom_beautifier_name==="html"&&(v=function(Ce,Ze){var We=new $(Ce,Ze,m._js_beautify,m._css_beautify);return We.beautify()}),this._options.indent_scripts==="keep"?n=0:this._options.indent_scripts==="separate"&&(n=-g.indent_level);var O=g.get_full_indent(n);if(R=R.replace(/\n[ \t]*$/,""),d.custom_beautifier_name!=="html"&&R[0]==="<"&&R.match(/^(<!--|<!\[CDATA\[)/)){var U=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(R);if(!U){g.add_raw_token(_);return}r=O+U[1]+`
|
|
`,R=U[4],U[5]&&(f=O+U[5]),R=R.replace(/\n[ \t]*$/,""),(U[2]||U[3].indexOf(`
|
|
`)!==-1)&&(U=U[3].match(/[ \t]+$/),U&&(_.whitespace_before=U[0]))}if(R)if(v){var Y=function(){this.eol=`
|
|
`};Y.prototype=this._options.raw_options;var _e=new Y;R=v(O+R,_e)}else{var de=_.whitespace_before;de&&(R=R.replace(new RegExp(`
|
|
(`+de+")?","g"),`
|
|
`)),R=O+R.replace(/\n/g,`
|
|
`+O)}r&&(R?R=r+R+`
|
|
`+f:R=r+f),g.print_newline(!1),R&&(_.text=R,_.whitespace_before="",_.newlines=0,g.add_raw_token(_),g.print_newline(!0))}},$.prototype._handle_tag_open=function(g,_,d,m,R){var v=this._get_tag_open_token(_);if((d.is_unformatted||d.is_content_unformatted)&&!d.is_empty_element&&_.type===h.TAG_OPEN&&!v.is_start_tag?(g.add_raw_token(_),v.start_tag_token=this._tag_stack.try_pop(v.tag_name)):(g.traverse_whitespace(_),this._set_tag_position(g,_,v,d,m),v.is_inline_element||g.set_wrap_point(),g.print_token(_)),v.is_start_tag&&this._is_wrap_attributes_force){var n=0,r;do r=R.peek(n),r.type===h.ATTRIBUTE&&(v.attr_count+=1),n+=1;while(r.type!==h.EOF&&r.type!==h.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(v.alignment_size=_.text.length+1),!v.tag_complete&&!v.is_unformatted&&(g.alignment_size=v.alignment_size),v};var Q=function(g,_,d){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="",!d)this.tag_complete=!0;else{var m;this.tag_start_char=d.text[0],this.text=d.text,this.tag_start_char==="<"?(m=d.text.match(/^<([^\s>]*)/),this.tag_check=m?m[1]:""):(m=d.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=m?m[1]:"",(d.text.startsWith("{{#>")||d.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&d.next!==null?this.tag_check=d.next.text.split(" ")[0]:this.tag_check=d.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),d.type===h.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||d.closed&&d.closed.text==="/>";var R=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(R=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!g.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(R)))}};$.prototype._get_tag_open_token=function(g){var _=new Q(this._options,this._tag_stack.get_parser_token(),g);return _.alignment_size=this._options.wrap_attributes_indent_size,_.is_end_tag=_.is_end_tag||T(_.tag_check,this._options.void_elements),_.is_empty_element=_.tag_complete||_.is_start_tag&&_.is_end_tag,_.is_unformatted=!_.tag_complete&&T(_.tag_check,this._options.unformatted),_.is_content_unformatted=!_.is_empty_element&&T(_.tag_check,this._options.content_unformatted),_.is_inline_element=T(_.tag_name,this._options.inline)||this._options.inline_custom_elements&&_.tag_name.includes("-")||_.tag_start_char==="{",_},$.prototype._set_tag_position=function(g,_,d,m,R){if(d.is_empty_element||(d.is_end_tag?d.start_tag_token=this._tag_stack.try_pop(d.tag_name):(this._do_optional_end_element(d)&&(d.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(d),(d.tag_name==="script"||d.tag_name==="style")&&!(d.is_unformatted||d.is_content_unformatted)&&(d.custom_beautifier_name=w(d.tag_check,_)))),T(d.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),d.is_empty_element){if(d.tag_start_char==="{"&&d.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),d.indent_content=!0;var v=g.current_line_has_match(/{{#if/);v||g.print_newline(!1)}d.tag_name==="!--"&&R.type===h.TAG_CLOSE&&m.is_end_tag&&d.text.indexOf(`
|
|
`)===-1||(d.is_inline_element||d.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,d))}else if(d.is_end_tag){var n=!1;n=d.start_tag_token&&d.start_tag_token.multiline_content,n=n||!d.is_inline_element&&!(m.is_inline_element||m.is_unformatted)&&!(R.type===h.TAG_CLOSE&&d.start_tag_token===m)&&R.type!=="TK_CONTENT",(d.is_content_unformatted||d.is_unformatted)&&(n=!1),n&&g.print_newline(!1)}else d.indent_content=!d.custom_beautifier_name,d.tag_start_char==="<"&&(d.tag_name==="html"?d.indent_content=this._options.indent_inner_html:d.tag_name==="head"?d.indent_content=this._options.indent_head_inner_html:d.tag_name==="body"&&(d.indent_content=this._options.indent_body_inner_html)),!(d.is_inline_element||d.is_unformatted)&&(R.type!=="TK_CONTENT"||d.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,d)},$.prototype._calcluate_parent_multiline=function(g,_){_.parent&&g._output.just_added_newline()&&!((_.is_inline_element||_.is_unformatted)&&_.parent.is_inline_element)&&(_.parent.multiline_content=!0)};var z=["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"],xe=["a","audio","del","ins","map","noscript","video"];$.prototype._do_optional_end_element=function(g){var _=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")_=_||this._tag_stack.try_pop("head");else if(g.tag_name==="li")_=_||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")_=_||this._tag_stack.try_pop("dt",["dl"]),_=_||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&z.indexOf(g.tag_name)!==-1){var d=g.parent.parent;(!d||xe.indexOf(d.tag_name)===-1)&&(_=_||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(_=_||this._tag_stack.try_pop("rt",["ruby","rtc"]),_=_||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?_=_||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?_=_||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?_=_||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(_=_||this._tag_stack.try_pop("caption",["table"]),_=_||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.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"])):g.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"])):(g.tag_name==="th"||g.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 g.parent=this._tag_stack.get_parser_token(),_}},o.exports.Beautifier=$},function(o,i,t){var s=t(6).Options;function a(p){s.call(this,p,"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,o.exports.Options=a},function(o,i,t){var s=t(9).Tokenizer,a=t(9).TOKEN,p=t(13).Directives,h=t(14).TemplatablePattern,c=t(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},l=new p(/<\!--/,/-->/),y=function(w,T){s.call(this,w,T),this._current_tag_name="";var N=new h(this._input).read_options(this._options),D=new c(this._input);if(this.__patterns={word:N.until(/[\n\r\t <]/),word_control_flow_close_excluded:N.until(/[\n\r\t <}]/),single_quote:N.until_after(/'/),double_quote:N.until_after(/"/),attribute:N.until(/[\n\r\t =>]|\/>/),element_name:N.until(/[\n\r\t >\/]/),angular_control_flow_start:D.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:D.starting_with(/{{!--/).until_after(/--}}/),handlebars:D.starting_with(/{{/).until_after(/}}/),handlebars_open:D.until(/[\n\r\t }]/),handlebars_raw_close:D.until(/}}/),comment:D.starting_with(/<!--/).until_after(/-->/),cdata:D.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:D.starting_with(/<!\[/).until_after(/]>/),processing:D.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 $=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=D.matching($).until_after($)}};y.prototype=new s,y.prototype._is_comment=function(w){return!1},y.prototype._is_opening=function(w){return w.type===u.TAG_OPEN||w.type===u.CONTROL_FLOW_OPEN},y.prototype._is_closing=function(w,T){return w.type===u.TAG_CLOSE&&T&&((w.text===">"||w.text==="/>")&&T.text[0]==="<"||w.text==="}}"&&T.text[0]==="{"&&T.text[1]==="{")||w.type===u.CONTROL_FLOW_CLOSE&&w.text==="}"&&T.text.endsWith("{")},y.prototype._reset=function(){this._current_tag_name=""},y.prototype._get_next_token=function(w,T){var N=null;this._readWhitespace();var D=this._input.peek();return D===null?this._create_token(u.EOF,""):(N=N||this._read_open_handlebars(D,T),N=N||this._read_attribute(D,w,T),N=N||this._read_close(D,T),N=N||this._read_script_and_style(D,w),N=N||this._read_control_flows(D,T),N=N||this._read_raw_content(D,w,T),N=N||this._read_content_word(D,T),N=N||this._read_comment_or_cdata(D),N=N||this._read_processing(D),N=N||this._read_open(D,T),N=N||this._create_token(u.UNKNOWN,this._input.next()),N)},y.prototype._read_comment_or_cdata=function(w){var T=null,N=null,D=null;if(w==="<"){var $=this._input.peek(1);$==="!"&&(N=this.__patterns.comment.read(),N?(D=l.get_directives(N),D&&D.ignore==="start"&&(N+=l.readIgnored(this._input))):N=this.__patterns.cdata.read()),N&&(T=this._create_token(u.COMMENT,N),T.directives=D)}return T},y.prototype._read_processing=function(w){var T=null,N=null,D=null;if(w==="<"){var $=this._input.peek(1);($==="!"||$==="?")&&(N=this.__patterns.conditional_comment.read(),N=N||this.__patterns.processing.read()),N&&(T=this._create_token(u.COMMENT,N),T.directives=D)}return T},y.prototype._read_open=function(w,T){var N=null,D=null;return(!T||T.type===u.CONTROL_FLOW_OPEN)&&w==="<"&&(N=this._input.next(),this._input.peek()==="/"&&(N+=this._input.next()),N+=this.__patterns.element_name.read(),D=this._create_token(u.TAG_OPEN,N)),D},y.prototype._read_open_handlebars=function(w,T){var N=null,D=null;return(!T||T.type===u.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&w==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(N=this.__patterns.handlebars_comment.read(),N=N||this.__patterns.handlebars.read(),D=this._create_token(u.COMMENT,N)):(N=this.__patterns.handlebars_open.read(),D=this._create_token(u.TAG_OPEN,N))),D},y.prototype._read_control_flows=function(w,T){var N="",D=null;if(!this._options.templating.includes("angular"))return D;if(w==="@"){if(N=this.__patterns.angular_control_flow_start.read(),N==="")return D;for(var $=N.endsWith("(")?1:0,Q=0;!(N.endsWith("{")&&$===Q);){var z=this._input.next();if(z===null)break;z==="("?$++:z===")"&&Q++,N+=z}D=this._create_token(u.CONTROL_FLOW_OPEN,N)}else w==="}"&&T&&T.type===u.CONTROL_FLOW_OPEN&&(N=this._input.next(),D=this._create_token(u.CONTROL_FLOW_CLOSE,N));return D},y.prototype._read_close=function(w,T){var N=null,D=null;return T&&T.type===u.TAG_OPEN&&(T.text[0]==="<"&&(w===">"||w==="/"&&this._input.peek(1)===">")?(N=this._input.next(),w==="/"&&(N+=this._input.next()),D=this._create_token(u.TAG_CLOSE,N)):T.text[0]==="{"&&w==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),D=this._create_token(u.TAG_CLOSE,"}}"))),D},y.prototype._read_attribute=function(w,T,N){var D=null,$="";if(N&&N.text[0]==="<")if(w==="=")D=this._create_token(u.EQUALS,this._input.next());else if(w==='"'||w==="'"){var Q=this._input.next();w==='"'?Q+=this.__patterns.double_quote.read():Q+=this.__patterns.single_quote.read(),D=this._create_token(u.VALUE,Q)}else $=this.__patterns.attribute.read(),$&&(T.type===u.EQUALS?D=this._create_token(u.VALUE,$):D=this._create_token(u.ATTRIBUTE,$));return D},y.prototype._is_content_unformatted=function(w){return this._options.void_elements.indexOf(w)===-1&&(this._options.content_unformatted.indexOf(w)!==-1||this._options.unformatted.indexOf(w)!==-1)},y.prototype._read_raw_content=function(w,T,N){var D="";if(N&&N.text[0]==="{")D=this.__patterns.handlebars_raw_close.read();else if(T.type===u.TAG_CLOSE&&T.opened.text[0]==="<"&&T.text[0]!=="/"){var $=T.opened.text.substr(1).toLowerCase();this._is_content_unformatted($)&&(D=this._input.readUntil(new RegExp("</"+$+"[\\n\\r\\t ]*?>","ig")))}return D?this._create_token(u.TEXT,D):null},y.prototype._read_script_and_style=function(w,T){if(T.type===u.TAG_CLOSE&&T.opened.text[0]==="<"&&T.text[0]!=="/"){var N=T.opened.text.substr(1).toLowerCase();if(N==="script"||N==="style"){var D=this._read_comment_or_cdata(w);if(D)return D.type=u.TEXT,D;var $=this._input.readUntil(new RegExp("</"+N+"[\\n\\r\\t ]*?>","ig"));if($)return this._create_token(u.TEXT,$)}}return null},y.prototype._read_content_word=function(w,T){var N="";return this._options.unformatted_content_delimiter&&w===this._options.unformatted_content_delimiter[0]&&(N=this.__patterns.unformatted_content_delimiter.read()),N||(N=T&&T.type===u.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),N?this._create_token(u.TEXT,N):null},o.exports.Tokenizer=y,o.exports.TOKEN=u}],M={};function e(o){var i=M[o];if(i!==void 0)return i.exports;var t=M[o]={exports:{}};return H[o](t,t.exports,e),t.exports}var b=e(18);V=b})();var F=V;if(1)S=[k,k(58553),k(87804)],C=function(H){var M=k(58553),e=k(87804);return{html_beautify:function(b,o){return F(b,o,M.js_beautify,e.css_beautify)}}}.apply(se,S),C!==void 0&&(Ae.exports=C);else var L,B})()},58553:function(Ae,se){var k,S;(function(){var C;(function(){"use strict";var F=[function(M,e,b){var o=b(1).Beautifier,i=b(5).Options;function t(s,a){var p=new o(s,a);return p.beautify()}M.exports=t,M.exports.defaultOptions=function(){return new i}},function(M,e,b){var o=b(2).Output,i=b(3).Token,t=b(4),s=b(5).Options,a=b(7).Tokenizer,p=b(7).line_starters,h=b(7).positionable_operators,c=b(7).TOKEN;function u(r,f){return f.indexOf(r)!==-1}function l(r){return r.replace(/^\s+/g,"")}function y(r){for(var f={},O=0;O<r.length;O++)f[r[O].replace(/-/g,"_")]=r[O];return f}function w(r,f){return r&&r.type===c.RESERVED&&r.text===f}function T(r,f){return r&&r.type===c.RESERVED&&u(r.text,f)}var N=["case","return","do","if","throw","else","await","break","continue","async"],D=["before-newline","after-newline","preserve-newline"],$=y(D),Q=[$.before_newline,$.preserve_newline],z={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function xe(r,f){f.multiline_frame||f.mode===z.ForInitializer||f.mode===z.Conditional||r.remove_indent(f.start_line_index)}function g(r){r=r.replace(t.allLineBreaks,`
|
|
`);for(var f=[],O=r.indexOf(`
|
|
`);O!==-1;)f.push(r.substring(0,O)),r=r.substring(O+1),O=r.indexOf(`
|
|
`);return r.length&&f.push(r),f}function _(r){return r===z.ArrayLiteral}function d(r){return u(r,[z.Expression,z.ForInitializer,z.Conditional])}function m(r,f){for(var O=0;O<r.length;O++){var U=r[O].trim();if(U.charAt(0)!==f)return!1}return!0}function R(r,f){for(var O=0,U=r.length,Y;O<U;O++)if(Y=r[O],Y&&Y.indexOf(f)!==0)return!1;return!0}function v(r,f){f=f||{},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(f)}v.prototype.create_flags=function(r,f){var O=0;r&&(O=r.indentation_level,!this._output.just_added_newline()&&r.line_indent_level>O&&(O=r.line_indent_level));var U={mode:f,parent:r,last_token:r?r.last_token:new i(c.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:O,alignment:0,line_indent_level:r?r.line_indent_level:O,start_line_index:this._output.get_line_number(),ternary_depth:0};return U},v.prototype._reset=function(r){var f=r.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new o(this._options,f),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(z.BlockStatement);var O=new a(r,this._options);return this._tokens=O.tokenize(),r},v.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var r,f=this._reset(this._source_text),O=this._options.eol;this._options.eol==="auto"&&(O=`
|
|
`,f&&t.lineBreak.test(f||"")&&(O=f.match(t.lineBreak)[0]));for(var U=this._tokens.next();U;)this.handle_token(U),this._last_last_text=this._flags.last_token.text,this._flags.last_token=U,U=this._tokens.next();return r=this._output.get_code(O),r},v.prototype.handle_token=function(r,f){r.type===c.START_EXPR?this.handle_start_expr(r):r.type===c.END_EXPR?this.handle_end_expr(r):r.type===c.START_BLOCK?this.handle_start_block(r):r.type===c.END_BLOCK?this.handle_end_block(r):r.type===c.WORD?this.handle_word(r):r.type===c.RESERVED?this.handle_word(r):r.type===c.SEMICOLON?this.handle_semicolon(r):r.type===c.STRING?this.handle_string(r):r.type===c.EQUALS?this.handle_equals(r):r.type===c.OPERATOR?this.handle_operator(r):r.type===c.COMMA?this.handle_comma(r):r.type===c.BLOCK_COMMENT?this.handle_block_comment(r,f):r.type===c.COMMENT?this.handle_comment(r,f):r.type===c.DOT?this.handle_dot(r):r.type===c.EOF?this.handle_eof(r):r.type===c.UNKNOWN?this.handle_unknown(r,f):this.handle_unknown(r,f)},v.prototype.handle_whitespace_and_comments=function(r,f){var O=r.newlines,U=this._options.keep_array_indentation&&_(this._flags.mode);if(r.comments_before)for(var Y=r.comments_before.next();Y;)this.handle_whitespace_and_comments(Y,f),this.handle_token(Y,f),Y=r.comments_before.next();if(U)for(var _e=0;_e<O;_e+=1)this.print_newline(_e>0,f);else if(this._options.max_preserve_newlines&&O>this._options.max_preserve_newlines&&(O=this._options.max_preserve_newlines),this._options.preserve_newlines&&O>1){this.print_newline(!1,f);for(var de=1;de<O;de+=1)this.print_newline(!0,f)}};var n=["async","break","continue","return","throw","yield"];v.prototype.allow_wrap_or_preserved_newline=function(r,f){if(f=f===void 0?!1:f,!this._output.just_added_newline()){var O=this._options.preserve_newlines&&r.newlines||f,U=u(this._flags.last_token.text,h)||u(r.text,h);if(U){var Y=u(this._flags.last_token.text,h)&&u(this._options.operator_position,Q)||u(r.text,h);O=O&&Y}if(O)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(T(this._flags.last_token,n))return;this._output.set_wrap_point()}}},v.prototype.print_newline=function(r,f){if(!f&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==c.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var O=this._tokens.peek();this._flags.mode===z.Statement&&!(this._flags.if_block&&w(O,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(r)&&(this._flags.multiline_frame=!0)},v.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))},v.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===c.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var f=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(f),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)},v.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},v.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))},v.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)},v.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===z.Statement&&xe(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},v.prototype.start_of_object_property=function(){return this._flags.parent.mode===z.ObjectLiteral&&this._flags.mode===z.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"]))},v.prototype.start_of_statement=function(r){var f=!1;return f=f||T(this._flags.last_token,["var","let","const"])&&r.type===c.WORD,f=f||w(this._flags.last_token,"do"),f=f||!(this._flags.parent.mode===z.ObjectLiteral&&this._flags.mode===z.Statement)&&T(this._flags.last_token,n)&&!r.newlines,f=f||w(this._flags.last_token,"else")&&!(w(r,"if")&&!r.comments_before),f=f||this._flags.last_token.type===c.END_EXPR&&(this._previous_flags.mode===z.ForInitializer||this._previous_flags.mode===z.Conditional),f=f||this._flags.last_token.type===c.WORD&&this._flags.mode===z.BlockStatement&&!this._flags.in_case&&!(r.text==="--"||r.text==="++")&&this._last_last_text!=="function"&&r.type!==c.WORD&&r.type!==c.RESERVED,f=f||this._flags.mode===z.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||T(this._flags.last_token,["get","set"])),f?(this.set_mode(z.Statement),this.indent(),this.handle_whitespace_and_comments(r,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r,T(r,["do","for","if","while"])),!0):!1},v.prototype.handle_start_expr=function(r){this.start_of_statement(r)||this.handle_whitespace_and_comments(r);var f=z.Expression;if(r.text==="["){if(this._flags.last_token.type===c.WORD||this._flags.last_token.text===")"){T(this._flags.last_token,p)&&(this._output.space_before_token=!0),this.print_token(r),this.set_mode(f),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}f=z.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,[c.START_EXPR,c.END_EXPR,c.WORD,c.OPERATOR,c.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===c.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,f=z.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,f=z.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,p)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r);else if(this._flags.last_token.type===c.WORD){this._output.space_before_token=!1;var O=this._tokens.peek(-3);if(this._options.space_after_named_function&&O){var U=this._tokens.peek(-4);T(O,["async","function"])||O.text==="*"&&T(U,["async","function"])?this._output.space_before_token=!0:this._flags.mode===z.ObjectLiteral?(O.text==="{"||O.text===","||O.text==="*"&&(U.text==="{"||U.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===c.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===z.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===c.START_BLOCK?this.print_newline():(this._flags.last_token.type===c.END_EXPR||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===c.COMMA)&&this.allow_wrap_or_preserved_newline(r,r.newlines),this.print_token(r),this.set_mode(f),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},v.prototype.handle_end_expr=function(r){for(;this._flags.mode===z.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===c.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(),xe(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===z.Conditional&&(this._previous_flags.mode=z.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},v.prototype.handle_start_block=function(r){this.handle_whitespace_and_comments(r);var f=this._tokens.peek(),O=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===c.END_EXPR?(this.set_mode(z.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(z.BlockStatement):O&&(u(O.text,[":",","])&&u(f.type,[c.STRING,c.WORD,c.RESERVED])||u(f.text,["get","set","..."])&&u(O.type,[c.WORD,c.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(O.text,[":",","])?this.set_mode(z.BlockStatement):this.set_mode(z.ObjectLiteral):this._flags.last_token.type===c.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(z.BlockStatement):u(this._flags.last_token.type,[c.EQUALS,c.START_EXPR,c.COMMA,c.OPERATOR])||T(this._flags.last_token,["return","throw","import","default"])?this.set_mode(z.ObjectLiteral):this.set_mode(z.BlockStatement),this._flags.last_token&&T(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var U=!f.comments_before&&f.text==="}",Y=U&&this._flags.last_word==="function"&&this._flags.last_token.type===c.END_EXPR;if(this._options.brace_preserve_inline){var _e=0,de=null;this._flags.inline_frame=!0;do if(_e+=1,de=this._tokens.peek(_e-1),de.newlines){this._flags.inline_frame=!1;break}while(de.type!==c.EOF&&!(de.type===c.END_BLOCK&&de.opened===r))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&r.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==c.OPERATOR&&(Y||this._flags.last_token.type===c.EQUALS||T(this._flags.last_token,N)&&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===c.START_EXPR||this._flags.last_token.type===c.COMMA)&&((this._flags.last_token.type===c.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.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!==c.OPERATOR&&this._flags.last_token.type!==c.START_EXPR&&(u(this._flags.last_token.type,[c.START_BLOCK,c.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(r),this.indent(),!U&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},v.prototype.handle_end_block=function(r){for(this.handle_whitespace_and_comments(r);this._flags.mode===z.Statement;)this.restore_mode();var f=this._flags.last_token.type===c.START_BLOCK;this._flags.inline_frame&&!f?this._output.space_before_token=!0:this._options.brace_style==="expand"?f||this.print_newline():f||(_(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)},v.prototype.handle_word=function(r){if(r.type===c.RESERVED){if(u(r.text,["set","get"])&&this._flags.mode!==z.ObjectLiteral)r.type=c.WORD;else if(r.text==="import"&&u(this._tokens.peek().text,["(","."]))r.type=c.WORD;else if(u(r.text,["as","from"])&&!this._flags.import_block)r.type=c.WORD;else if(this._flags.mode===z.ObjectLiteral){var f=this._tokens.peek();f.text===":"&&(r.type=c.WORD)}}if(this.start_of_statement(r)?T(this._flags.last_token,["var","let","const"])&&r.type===c.WORD&&(this._flags.declaration_statement=!0):r.newlines&&!d(this._flags.mode)&&(this._flags.last_token.type!==c.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==c.EQUALS&&(this._options.preserve_newlines||!T(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(w(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&&w(r,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===z.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&T(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===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR)&&!this.start_of_object_property()&&!(u(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===z.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(r),w(r,"function")){(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(u(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===c.OPERATOR))&&!this._output.just_added_blankline()&&!r.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD?T(this._flags.last_token,["get","set","new","export"])||T(this._flags.last_token,n)?this._output.space_before_token=!0:w(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===c.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(d(this._flags.mode)||_(this._flags.mode))||this.print_newline(),this.print_token(r),this._flags.last_word=r.text;return}var O="NONE";if(this._flags.last_token.type===c.END_BLOCK?this._previous_flags.inline_frame?O="SPACE":T(r,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&r.newlines?O="NEWLINE":(O="SPACE",this._output.space_before_token=!0):O="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&this._flags.mode===z.BlockStatement?O="NEWLINE":this._flags.last_token.type===c.SEMICOLON&&d(this._flags.mode)?O="SPACE":this._flags.last_token.type===c.STRING?O="NEWLINE":this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===z.ObjectLiteral&&u(this._last_last_text,["{",","]))?O="SPACE":this._flags.last_token.type===c.START_BLOCK?this._flags.inline_frame?O="SPACE":O="NEWLINE":this._flags.last_token.type===c.END_EXPR&&(this._output.space_before_token=!0,O="NEWLINE"),T(r,p)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?O="SPACE":O="NEWLINE"),T(r,["else","catch","finally"]))if((!(this._flags.last_token.type===c.END_BLOCK&&this._previous_flags.mode===z.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 U=this._output.current_line;U.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else O==="NEWLINE"?T(this._flags.last_token,N)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&T(r,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==c.END_EXPR?(this._flags.last_token.type!==c.START_EXPR||!T(r,["var","let","const"]))&&this._flags.last_token.text!==":"&&(w(r,"if")&&w(r.previous,"else")?this._output.space_before_token=!0:this.print_newline()):T(r,p)&&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():O==="SPACE"&&(this._output.space_before_token=!0);r.previous&&(r.previous.type===c.WORD||r.previous.type===c.RESERVED)&&(this._output.space_before_token=!0),this.print_token(r),this._flags.last_word=r.text,r.type===c.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&&w(r,"from")&&(this._flags.import_block=!1))},v.prototype.handle_semicolon=function(r){this.start_of_statement(r)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(r);for(var f=this._tokens.peek();this._flags.mode===z.Statement&&!(this._flags.if_block&&w(f,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(r)},v.prototype.handle_string=function(r){r.text.startsWith("`")&&r.newlines===0&&r.whitespace_before===""&&(r.previous.text===")"||this._flags.last_token.type===c.WORD)||(this.start_of_statement(r)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(r),this._flags.last_token.type===c.RESERVED||this._flags.last_token.type===c.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR||this._flags.last_token.type===c.EQUALS||this._flags.last_token.type===c.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(r):r.text.startsWith("`")&&this._flags.last_token.type===c.END_EXPR&&(r.previous.text==="]"||r.previous.text===")")&&r.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(r)},v.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},v.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?(d(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===z.ObjectLiteral||this._flags.mode===z.Statement&&this._flags.parent.mode===z.ObjectLiteral?(this._flags.mode===z.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(r)},v.prototype.handle_operator=function(r){var f=r.text==="*"&&(T(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[c.START_BLOCK,c.COMMA,c.END_BLOCK,c.SEMICOLON])),O=u(r.text,["-","+"])&&(u(this._flags.last_token.type,[c.START_BLOCK,c.START_EXPR,c.EQUALS,c.OPERATOR])||u(this._flags.last_token.text,p)||this._flags.last_token.text===",");if(!this.start_of_statement(r)){var U=!f;this.handle_whitespace_and_comments(r,U)}if(r.text==="*"&&this._flags.last_token.type===c.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===c.OPERATOR&&u(this._options.operator_position,Q)&&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!==c.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 Y=!0,_e=!0,de=!1;if(r.text===":"?this._flags.ternary_depth===0?Y=!1:(this._flags.ternary_depth-=1,de=!0):r.text==="?"&&(this._flags.ternary_depth+=1),!O&&!f&&this._options.preserve_newlines&&u(r.text,h)){var Ce=r.text===":",Ze=Ce&&de,We=Ce&&!de;switch(this._options.operator_position){case $.before_newline:this._output.space_before_token=!We,this.print_token(r),(!Ce||Ze)&&this.allow_wrap_or_preserved_newline(r),this._output.space_before_token=!0;return;case $.after_newline:this._output.space_before_token=!0,!Ce||Ze?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 $.preserve_newline:We||this.allow_wrap_or_preserved_newline(r),Y=!(this._output.just_added_newline()||We),this._output.space_before_token=Y,this.print_token(r),this._output.space_before_token=!0;return}}if(f){this.allow_wrap_or_preserved_newline(r),Y=!1;var $e=this._tokens.peek();_e=$e&&u($e.type,[c.WORD,c.RESERVED])}else if(r.text==="...")this.allow_wrap_or_preserved_newline(r),Y=this._flags.last_token.type===c.START_BLOCK,_e=!1;else if(u(r.text,["--","++","!","~"])||O){if((this._flags.last_token.type===c.COMMA||this._flags.last_token.type===c.START_EXPR)&&this.allow_wrap_or_preserved_newline(r),Y=!1,_e=!1,r.newlines&&(r.text==="--"||r.text==="++"||r.text==="~")){var Xe=T(this._flags.last_token,N)&&r.newlines;Xe&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Xe,!0)}this._flags.last_token.text===";"&&d(this._flags.mode)&&(Y=!0),this._flags.last_token.type===c.RESERVED?Y=!0:this._flags.last_token.type===c.END_EXPR?Y=!(this._flags.last_token.text==="]"&&(r.text==="--"||r.text==="++")):this._flags.last_token.type===c.OPERATOR&&(Y=u(r.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(r.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(_e=!0)),(this._flags.mode===z.BlockStatement&&!this._flags.inline_frame||this._flags.mode===z.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||Y,this.print_token(r),this._output.space_before_token=_e},v.prototype.handle_block_comment=function(r,f){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,f),this.print_token(r),r.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!t.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,f)},v.prototype.print_block_commment=function(r,f){var O=g(r.text),U,Y=!1,_e=!1,de=r.whitespace_before,Ce=de.length;if(this.print_newline(!1,f),this.print_token_line_indentation(r),this._output.add_token(O[0]),this.print_newline(!1,f),O.length>1){for(O=O.slice(1),Y=m(O,"*"),_e=R(O,de),Y&&(this._flags.alignment=1),U=0;U<O.length;U++)Y?(this.print_token_line_indentation(r),this._output.add_token(l(O[U]))):_e&&O[U]?(this.print_token_line_indentation(r),this._output.add_token(O[U].substring(Ce))):(this._output.current_line.set_indent(-1),this._output.add_token(O[U])),this.print_newline(!1,f);this._flags.alignment=0}},v.prototype.handle_comment=function(r,f){r.newlines?this.print_newline(!1,f):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(r),this.print_newline(!1,f)},v.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),T(this._flags.last_token,N)?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)},v.prototype.handle_unknown=function(r,f){this.print_token(r),r.text[r.text.length-1]===`
|
|
`&&this.print_newline(!1,f)},v.prototype.handle_eof=function(r){for(;this._flags.mode===z.Statement;)this.restore_mode();this.handle_whitespace_and_comments(r)},M.exports.Beautifier=v},function(M){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 t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(i))return!0;return!1},e.prototype.set_indent=function(i,t){this.is_empty()&&(this.__indent_count=i||0,this.__alignment_count=t||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 t=i.lastIndexOf(`
|
|
`);t!==-1?this.__character_count=i.length-t: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 b(i,t){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)),t=t||"",i.indent_level>0&&(t=new Array(i.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}b.prototype.get_indent_size=function(i,t){var s=this.__base_string_length;return t=t||0,i<0&&(s=0),s+=i*this.__indent_size,s+=t,s},b.prototype.get_indent_string=function(i,t){var s=this.__base_string;return t=t||0,i<0&&(i=0,s=""),t+=i*this.__indent_size,this.__ensure_cache(t),s+=this.__cache[t],s},b.prototype.__ensure_cache=function(i){for(;i>=this.__cache.length;)this.__add_column()},b.prototype.__add_column=function(){var i=this.__cache.length,t=0,s="";this.__indent_size&&i>=this.__indent_size&&(t=Math.floor(i/this.__indent_size),i-=t*this.__indent_size,s=new Array(t+1).join(this.__indent_string)),i&&(s+=new Array(i+1).join(" ")),this.__cache.push(s)};function o(i,t){this.__indent_cache=new b(i,t),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()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(i,t){return this.__indent_cache.get_indent_string(i,t)},o.prototype.get_indent_size=function(i,t){return this.__indent_cache.get_indent_size(i,t)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(i){return this.is_empty()||!i&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(i){this.trim(!0);var t=this.current_line.pop();t&&(t[t.length-1]===`
|
|
`&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var s=this.__lines.join(`
|
|
`);return i!==`
|
|
`&&(s=s.replace(/[\n]/g,i)),s},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(i,t){return i=i||0,t=t||0,this.next_line.set_indent(i,t),this.__lines.length>1?(this.current_line.set_indent(i,t),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(i){for(var t=0;t<i.newlines;t++)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},o.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()},o.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(" "))},o.prototype.remove_indent=function(i){for(var t=this.__lines.length;i<t;)this.__lines[i]._remove_indent(),i++;this.current_line._remove_wrap_indent()},o.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},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(i,t){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)!==t){this.__lines.splice(s+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}s--}},M.exports.Output=o},function(M){function e(b,o,i,t){this.type=b,this.text=o,this.comments_before=null,this.newlines=i||0,this.whitespace_before=t||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}M.exports.Token=e},function(M,e){var b="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",o="\\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",t="\\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+"|["+b+i+"])",p="(?:"+s+"|["+o+i+t+"])*";e.identifier=new RegExp(a+p,"g"),e.identifierStart=new RegExp(a),e.identifierMatch=new RegExp("(?:"+s+"|["+o+i+t+"])+");var h=/[\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(M,e,b){var o=b(6).Options,i=["before-newline","after-newline","preserve-newline"];function t(s){o.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 p=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var h=0;h<p.length;h++)p[h]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=p[h];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)}t.prototype=new o,M.exports.Options=t},function(M){function e(i,t){this.raw_options=b(i,t),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,t){var s=this.raw_options[i],a=t||[];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,t){var s=this.raw_options[i],a=s===void 0?!!t:!!s;return a},e.prototype._get_characters=function(i,t){var s=this.raw_options[i],a=t||"";return typeof s=="string"&&(a=s.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),a},e.prototype._get_number=function(i,t){var s=this.raw_options[i];t=parseInt(t,10),isNaN(t)&&(t=0);var a=parseInt(s,10);return isNaN(a)&&(a=t),a},e.prototype._get_selection=function(i,t,s){var a=this._get_selection_list(i,t,s);if(a.length!==1)throw new Error("Invalid Option Value: The option '"+i+`' can only be one of the following values:
|
|
`+t+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a[0]},e.prototype._get_selection_list=function(i,t,s){if(!t||t.length===0)throw new Error("Selection list cannot be empty.");if(s=s||[t[0]],!this._is_valid_selection(s,t))throw new Error("Invalid Default Value!");var a=this._get_array(i,s);if(!this._is_valid_selection(a,t))throw new Error("Invalid Option Value: The option '"+i+`' can contain only the following values:
|
|
`+t+`
|
|
You passed in: '`+this.raw_options[i]+"'");return a},e.prototype._is_valid_selection=function(i,t){return i.length&&t.length&&!i.some(function(s){return t.indexOf(s)===-1})};function b(i,t){var s={};i=o(i);var a;for(a in i)a!==t&&(s[a]=i[a]);if(t&&i[t])for(a in i[t])s[a]=i[t][a];return s}function o(i){var t={},s;for(s in i){var a=s.replace(/-/g,"_");t[a]=i[s]}return t}M.exports.Options=e,M.exports.normalizeOpts=o,M.exports.mergeOpts=b},function(M,e,b){var o=b(8).InputScanner,i=b(9).Tokenizer,t=b(9).TOKEN,s=b(13).Directives,a=b(4),p=b(12).Pattern,h=b(14).TemplatablePattern;function c(m,R){return R.indexOf(m)!==-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:t.START,RAW:t.RAW,EOF:t.EOF},l=new s(/\/\*/,/\*\//),y=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,w=/[0-9]/,T=/[^\d\.]/,N=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),D=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";D=D.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),D="\\?\\.(?!\\d) "+D,D=D.replace(/ /g,"|");var $=new RegExp(D),Q="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),z=Q.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),xe=new RegExp("^(?:"+z.join("|")+")$"),g,_=function(m,R){i.call(this,m,R),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var v=new p(this._input),n=new h(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(a.identifier).matching(a.identifierMatch),number:v.matching(y),punct:v.matching($),comment:v.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:v.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:v.matching(/<!--/),html_comment_end:v.matching(/-->/),include:v.starting_with(/#include/).until_after(a.lineBreak),shebang:v.starting_with(/#!/).until_after(a.lineBreak),xml:v.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:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};_.prototype=new i,_.prototype._is_comment=function(m){return m.type===u.COMMENT||m.type===u.BLOCK_COMMENT||m.type===u.UNKNOWN},_.prototype._is_opening=function(m){return m.type===u.START_BLOCK||m.type===u.START_EXPR},_.prototype._is_closing=function(m,R){return(m.type===u.END_BLOCK||m.type===u.END_EXPR)&&R&&(m.text==="]"&&R.text==="["||m.text===")"&&R.text==="("||m.text==="}"&&R.text==="{")},_.prototype._reset=function(){g=!1},_.prototype._get_next_token=function(m,R){var v=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(u.EOF,""):(v=v||this._read_non_javascript(n),v=v||this._read_string(n),v=v||this._read_pair(n,this._input.peek(1)),v=v||this._read_word(m),v=v||this._read_singles(n),v=v||this._read_comment(n),v=v||this._read_regexp(n,m),v=v||this._read_xml(n,m),v=v||this._read_punctuation(),v=v||this._create_token(u.UNKNOWN,this._input.next()),v)},_.prototype._read_word=function(m){var R;if(R=this.__patterns.identifier.read(),R!=="")return R=R.replace(a.allLineBreaks,`
|
|
`),!(m.type===u.DOT||m.type===u.RESERVED&&(m.text==="set"||m.text==="get"))&&xe.test(R)?(R==="in"||R==="of")&&(m.type===u.WORD||m.type===u.STRING)?this._create_token(u.OPERATOR,R):this._create_token(u.RESERVED,R):this._create_token(u.WORD,R);if(R=this.__patterns.number.read(),R!=="")return this._create_token(u.WORD,R)},_.prototype._read_singles=function(m){var R=null;return m==="("||m==="["?R=this._create_token(u.START_EXPR,m):m===")"||m==="]"?R=this._create_token(u.END_EXPR,m):m==="{"?R=this._create_token(u.START_BLOCK,m):m==="}"?R=this._create_token(u.END_BLOCK,m):m===";"?R=this._create_token(u.SEMICOLON,m):m==="."&&T.test(this._input.peek(1))?R=this._create_token(u.DOT,m):m===","&&(R=this._create_token(u.COMMA,m)),R&&this._input.next(),R},_.prototype._read_pair=function(m,R){var v=null;return m==="#"&&R==="{"&&(v=this._create_token(u.START_BLOCK,m+R)),v&&(this._input.next(),this._input.next()),v},_.prototype._read_punctuation=function(){var m=this.__patterns.punct.read();if(m!=="")return m==="="?this._create_token(u.EQUALS,m):m==="?."?this._create_token(u.DOT,m):this._create_token(u.OPERATOR,m)},_.prototype._read_non_javascript=function(m){var R="";if(m==="#"){if(this._is_first_token()&&(R=this.__patterns.shebang.read(),R))return this._create_token(u.UNKNOWN,R.trim()+`
|
|
`);if(R=this.__patterns.include.read(),R)return this._create_token(u.UNKNOWN,R.trim()+`
|
|
`);m=this._input.next();var v="#";if(this._input.hasNext()&&this._input.testChar(w)){do m=this._input.next(),v+=m;while(this._input.hasNext()&&m!=="#"&&m!=="=");return m==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(v+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(v+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,v)}this._input.back()}else if(m==="<"&&this._is_first_token()){if(R=this.__patterns.html_comment_start.read(),R){for(;this._input.hasNext()&&!this._input.testChar(a.newline);)R+=this._input.next();return g=!0,this._create_token(u.COMMENT,R)}}else if(g&&m==="-"&&(R=this.__patterns.html_comment_end.read(),R))return g=!1,this._create_token(u.COMMENT,R);return null},_.prototype._read_comment=function(m){var R=null;if(m==="/"){var v="";if(this._input.peek(1)==="*"){v=this.__patterns.block_comment.read();var n=l.get_directives(v);n&&n.ignore==="start"&&(v+=l.readIgnored(this._input)),v=v.replace(a.allLineBreaks,`
|
|
`),R=this._create_token(u.BLOCK_COMMENT,v),R.directives=n}else this._input.peek(1)==="/"&&(v=this.__patterns.comment.read(),R=this._create_token(u.COMMENT,v))}return R},_.prototype._read_string=function(m){if(m==="`"||m==="'"||m==='"'){var R=this._input.next();return this.has_char_escapes=!1,m==="`"?R+=this._read_string_recursive("`",!0,"${"):R+=this._read_string_recursive(m),this.has_char_escapes&&this._options.unescape_strings&&(R=d(R)),this._input.peek()===m&&(R+=this._input.next()),R=R.replace(a.allLineBreaks,`
|
|
`),this._create_token(u.STRING,R)}return null},_.prototype._allow_regexp_or_xml=function(m){return m.type===u.RESERVED&&c(m.text,["return","case","throw","else","do","typeof","yield"])||m.type===u.END_EXPR&&m.text===")"&&m.opened.previous.type===u.RESERVED&&c(m.opened.previous.text,["if","while","for"])||c(m.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(m,R){if(m==="/"&&this._allow_regexp_or_xml(R)){for(var v=this._input.next(),n=!1,r=!1;this._input.hasNext()&&(n||r||this._input.peek()!==m)&&!this._input.testChar(a.newline);)v+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?r=!0:this._input.peek()==="]"&&(r=!1)),this._input.next();return this._input.peek()===m&&(v+=this._input.next(),v+=this._input.read(a.identifier)),this._create_token(u.STRING,v)}return null},_.prototype._read_xml=function(m,R){if(this._options.e4x&&m==="<"&&this._allow_regexp_or_xml(R)){var v="",n=this.__patterns.xml.read_match();if(n){for(var r=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),f=r.indexOf("{")===0,O=0;n;){var U=!!n[1],Y=n[2],_e=!!n[n.length-1]||Y.slice(0,8)==="![CDATA[";if(!_e&&(Y===r||f&&Y.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(U?--O:++O),v+=n[0],O<=0)break;n=this.__patterns.xml.read_match()}return n||(v+=this._input.match(/[\s\S]*/g)[0]),v=v.replace(a.allLineBreaks,`
|
|
`),this._create_token(u.STRING,v)}}return null};function d(m){for(var R="",v=0,n=new o(m),r=null;n.hasNext();)if(r=n.match(/([\s]|[^\\]|\\\\)+/g),r&&(R+=r[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")r=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")r=n.match(/u([0-9A-Fa-f]{4})/g),r||(r=n.match(/u\{([0-9A-Fa-f]+)\}/g));else{R+="\\",n.hasNext()&&(R+=n.next());continue}if(!r||(v=parseInt(r[1],16),v>126&&v<=255&&r[0].indexOf("x")===0))return m;v>=0&&v<32||v>1114111?R+="\\"+r[0]:v===34||v===39||v===92?R+="\\"+String.fromCharCode(v):R+=String.fromCharCode(v)}return R}_.prototype._read_string_recursive=function(m,R,v){var n,r;m==="'"?r=this.__patterns.single_quote:m==='"'?r=this.__patterns.double_quote:m==="`"?r=this.__patterns.template_text:m==="}"&&(r=this.__patterns.template_expression);for(var f=r.read(),O="";this._input.hasNext();){if(O=this._input.next(),O===m||!R&&a.newline.test(O)){this._input.back();break}else O==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),O+=this._input.next()):v&&(v==="${"&&O==="$"&&this._input.peek()==="{"&&(O+=this._input.next()),v===O&&(m==="`"?O+=this._read_string_recursive("}",R,"`"):O+=this._read_string_recursive("`",R,"${"),this._input.hasNext()&&(O+=this._input.next())));O+=r.read(),f+=O}return f},M.exports.Tokenizer=_,M.exports.TOKEN=u,M.exports.positionable_operators=N.slice(),M.exports.line_starters=Q.slice()},function(M){var e=RegExp.prototype.hasOwnProperty("sticky");function b(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}b.prototype.restart=function(){this.__position=0},b.prototype.back=function(){this.__position>0&&(this.__position-=1)},b.prototype.hasNext=function(){return this.__position<this.__input_length},b.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},b.prototype.peek=function(o){var i=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(i=this.__input.charAt(o)),i},b.prototype.__match=function(o,i){o.lastIndex=i;var t=o.exec(this.__input);return t&&!(e&&o.sticky)&&t.index!==i&&(t=null),t},b.prototype.test=function(o,i){return i=i||0,i+=this.__position,i>=0&&i<this.__input_length?!!this.__match(o,i):!1},b.prototype.testChar=function(o,i){var t=this.peek(i);return o.lastIndex=0,t!==null&&o.test(t)},b.prototype.match=function(o){var i=this.__match(o,this.__position);return i?this.__position+=i[0].length:i=null,i},b.prototype.read=function(o,i,t){var s="",a;return o&&(a=this.match(o),a&&(s+=a[0])),i&&(a||!o)&&(s+=this.readUntil(i,t)),s},b.prototype.readUntil=function(o,i){var t="",s=this.__position;o.lastIndex=this.__position;var a=o.exec(this.__input);return a?(s=a.index,i&&(s+=a[0].length)):s=this.__input_length,t=this.__input.substring(this.__position,s),this.__position=s,t},b.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},b.prototype.get_regexp=function(o,i){var t=null,s="g";return i&&e&&(s="y"),typeof o=="string"&&o!==""?t=new RegExp(o,s):o&&(t=new RegExp(o.source,s)),t},b.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},b.prototype.peekUntilAfter=function(o){var i=this.__position,t=this.readUntilAfter(o);return this.__position=i,t},b.prototype.lookBack=function(o){var i=this.__position-1;return i>=o.length&&this.__input.substring(i-o.length,i).toLowerCase()===o},M.exports.InputScanner=b},function(M,e,b){var o=b(8).InputScanner,i=b(3).Token,t=b(10).TokenStream,s=b(11).WhitespacePattern,a={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},p=function(h,c){this._input=new o(h),this._options=c||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new s(this._input)};p.prototype.tokenize=function(){this._input.restart(),this.__tokens=new t,this._reset();for(var h,c=new i(a.START,""),u=null,l=[],y=new t;c.type!==a.EOF;){for(h=this._get_next_token(c,u);this._is_comment(h);)y.add(h),h=this._get_next_token(c,u);y.isEmpty()||(h.comments_before=y,y=new t),h.parent=u,this._is_opening(h)?(l.push(u),u=h):u&&this._is_closing(h,u)&&(h.opened=u,u.closed=h,u=l.pop(),h.parent=u),h.previous=c,c.next=h,this.__tokens.add(h),c=h}return this.__tokens},p.prototype._is_first_token=function(){return this.__tokens.isEmpty()},p.prototype._reset=function(){},p.prototype._get_next_token=function(h,c){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(a.RAW,u):this._create_token(a.EOF,"")},p.prototype._is_comment=function(h){return!1},p.prototype._is_opening=function(h){return!1},p.prototype._is_closing=function(h,c){return!1},p.prototype._create_token=function(h,c){var u=new i(h,c,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},p.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},M.exports.Tokenizer=p,M.exports.TOKEN=a},function(M){function e(b){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=b}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 b=null;return this.hasNext()&&(b=this.__tokens[this.__position],this.__position+=1),b},e.prototype.peek=function(b){var o=null;return b=b||0,b+=this.__position,b>=0&&b<this.__tokens_length&&(o=this.__tokens[b]),o},e.prototype.add=function(b){this.__parent_token&&(b.parent=this.__parent_token),this.__tokens.push(b),this.__tokens_length+=1},M.exports.TokenStream=e},function(M,e,b){var o=b(12).Pattern;function i(t,s){o.call(this,t,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 o,i.prototype.__set_whitespace_patterns=function(t,s){t+="\\t ",s+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+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 t=this._input.read(this._match_pattern);if(t===" ")this.whitespace_before_token=" ";else if(t){var s=this.__split(this._newline_regexp,t);this.newline_count=s.length-1,this.whitespace_before_token=s[this.newline_count]}return t},i.prototype.matching=function(t,s){var a=this._create();return a.__set_whitespace_patterns(t,s),a._update(),a},i.prototype._create=function(){return new i(this._input,this)},i.prototype.__split=function(t,s){t.lastIndex=0;for(var a=0,p=[],h=t.exec(s);h;)p.push(s.substring(a,h.index)),a=h.index+h[0].length,h=t.exec(s);return a<s.length?p.push(s.substring(a,s.length)):p.push(""),p},M.exports.WhitespacePattern=i},function(M){function e(b,o){this._input=b,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}e.prototype.read=function(){var b=this._input.read(this._starting_pattern);return(!this._starting_pattern||b)&&(b+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),b},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(b){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(b),o._update(),o},e.prototype.until=function(b){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(b),o._update(),o},e.prototype.starting_with=function(b){var o=this._create();return o._starting_pattern=this._input.get_regexp(b,!0),o._update(),o},e.prototype.matching=function(b){var o=this._create();return o._match_pattern=this._input.get_regexp(b,!0),o._update(),o},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},M.exports.Pattern=e},function(M){function e(b,o){b=typeof b=="string"?b:b.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(b+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(b+/\sbeautify\signore:end\s/.source+o,"g")}e.prototype.get_directives=function(b){if(!b.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var i=this.__directive_pattern.exec(b);i;)o[i[1]]=i[2],i=this.__directive_pattern.exec(b);return o},e.prototype.readIgnored=function(b){return b.readUntilAfter(this.__directives_end_ignore_pattern)},M.exports.Directives=e},function(M,e,b){var o=b(12).Pattern,i={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function t(s,a){o.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 p=new o(s);this.__patterns={handlebars_comment:p.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:p.starting_with(/{{{/).until_after(/}}}/),handlebars:p.starting_with(/{{/).until_after(/}}/),php:p.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:p.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:p.starting_with(/{%/).until_after(/%}/),django_value:p.starting_with(/{{/).until_after(/}}/),django_comment:p.starting_with(/{#/).until_after(/#}/),smarty:p.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:p.starting_with(/{\*/).until_after(/\*}/),smarty_literal:p.starting_with(/{literal}/).until_after(/{\/literal}/)}}t.prototype=new o,t.prototype._create=function(){return new t(this._input,this)},t.prototype._update=function(){this.__set_templated_pattern()},t.prototype.disable=function(s){var a=this._create();return a._disabled[s]=!0,a._update(),a},t.prototype.read_options=function(s){var a=this._create();for(var p in i)a._disabled[p]=s.templating.indexOf(p)===-1;return a._update(),a},t.prototype.exclude=function(s){var a=this._create();return a._excluded[s]=!0,a._update(),a},t.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},t.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("|")+")")},t.prototype._read_template=function(){var s="",a=this._input.peek();if(a==="<"){var p=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&p==="?"&&(s=s||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&p==="%"&&(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},M.exports.TemplatablePattern=t}],L={};function B(M){var e=L[M];if(e!==void 0)return e.exports;var b=L[M]={exports:{}};return F[M](b,b.exports,B),b.exports}var H=B(0);C=H})();var V=C;k=[],S=function(){return{js_beautify:V}}.apply(se,k),S!==void 0&&(Ae.exports=S)})()},75918:function(Ae,se,k){"use strict";k.d(se,{Wi:function(){return B},Z0:function(){return H},aU:function(){return L},eZ:function(){return e},wY:function(){return M}});var S=k(4348),C=k(69323),V=k(13268),F=function(b,o,i,t){function s(a){return a instanceof i?a:new i(function(p){p(a)})}return new(i||(i=Promise))(function(a,p){function h(l){try{u(t.next(l))}catch(y){p(y)}}function c(l){try{u(t.throw(l))}catch(y){p(y)}}function u(l){l.done?a(l.value):s(l.value).then(h,c)}u((t=t.apply(b,o||[])).next())})};class L extends C.JT{constructor(o,i="",t="",s=!0,a){super(),this._onDidChange=this._register(new S.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=o,this._label=i,this._cssClass=t,this._enabled=s,this._actionCallback=a}get id(){return this._id}get label(){return this._label}set label(o){this._setLabel(o)}_setLabel(o){this._label!==o&&(this._label=o,this._onDidChange.fire({label:o}))}get tooltip(){return this._tooltip||""}set tooltip(o){this._setTooltip(o)}_setTooltip(o){this._tooltip!==o&&(this._tooltip=o,this._onDidChange.fire({tooltip:o}))}get class(){return this._cssClass}set class(o){this._setClass(o)}_setClass(o){this._cssClass!==o&&(this._cssClass=o,this._onDidChange.fire({class:o}))}get enabled(){return this._enabled}set enabled(o){this._setEnabled(o)}_setEnabled(o){this._enabled!==o&&(this._enabled=o,this._onDidChange.fire({enabled:o}))}get checked(){return this._checked}set checked(o){this._setChecked(o)}_setChecked(o){this._checked!==o&&(this._checked=o,this._onDidChange.fire({checked:o}))}run(o,i){return F(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(o))})}}class B extends C.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new S.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new S.Q5),this.onDidRun=this._onDidRun.event}run(o,i){return F(this,void 0,void 0,function*(){if(!o.enabled)return;this._onBeforeRun.fire({action:o});let t;try{yield this.runAction(o,i)}catch(s){t=s}this._onDidRun.fire({action:o,error:t})})}runAction(o,i){return F(this,void 0,void 0,function*(){yield o.run(i)})}}class H extends L{constructor(o){super(H.ID,o,o?"separator text":"separator"),this.checked=!1,this.enabled=!1}}H.ID="vs.actions.separator";class M{constructor(o,i,t,s){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=o,this.label=i,this.class=s,this._actions=t}get actions(){return this._actions}dispose(){}run(){return F(this,void 0,void 0,function*(){})}}class e extends L{constructor(){super(e.ID,V.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(Ae,se,k){"use strict";k.d(se,{ok:function(){return S}});function S(C,V){if(!C)throw new Error(V?`Assertion failed (${V})`:"Assertion Failed")}},52615:function(Ae,se,k){"use strict";k.d(se,{CM:function(){return L},JL:function(){return B},dT:function(){return M},fK:function(){return F},lA:function(){return H}});var S=k(4348);class C{constructor(){this._icons=new Map,this._onDidRegister=new S.Q5}add(b){const o=this._icons.get(b.id);o?b.description?o.description=b.description:console.error(`Duplicate registration of codicon ${b.id}`):(this._icons.set(b.id,b),this._onDidRegister.fire(b))}get(b){return this._icons.get(b)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const V=new C,F=V;function L(e,b){return new H(e,b)}function B(e){return e?e.replace(/\$\((.*?)\)/g,(b,o)=>` ${o} `).trim():""}class H{constructor(b,o,i){this.id=b,this.definition=o,this.description=i,V.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var M;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const b=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function o(s){if(s instanceof H)return["codicon","codicon-"+s.id];const a=b.exec(s.id);if(!a)return o(H.error);let[,p,h]=a;const c=["codicon","codicon-"+p];return h&&c.push("codicon-modifier-"+h.substr(1)),c}e.asClassNameArray=o;function i(s){return o(s).join(" ")}e.asClassName=i;function t(s){return"."+o(s).join(".")}e.asCSSSelector=t})(M||(M={})),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"})}(H||(H={}))},79881:function(Ae,se,k){"use strict";k.d(se,{B8:function(){return o},Cp:function(){return F},F0:function(){return M},L6:function(){return b},VV:function(){return H},b1:function(){return e},dL:function(){return V},ri:function(){return L}});class S{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(t){setTimeout(()=>{throw t.stack?new Error(t.message+`
|
|
|
|
`+t.stack):t},0)}}emit(t){this.listeners.forEach(s=>{s(t)})}onUnexpectedError(t){this.unexpectedErrorHandler(t),this.emit(t)}onUnexpectedExternalError(t){this.unexpectedErrorHandler(t)}}const C=new S;function V(i){H(i)||C.onUnexpectedError(i)}function F(i){H(i)||C.onUnexpectedExternalError(i)}function L(i){if(i instanceof Error){let{name:t,message:s}=i;const a=i.stacktrace||i.stack;return{$isError:!0,name:t,message:s,stack:a}}return i}const B="Canceled";function H(i){return i instanceof Error&&i.name===B&&i.message===B}function M(){const i=new Error(B);return i.name=i.message,i}function e(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}function b(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}class o extends Error{constructor(t){super("NotSupported"),t&&(this.message=t)}}},4348:function(Ae,se,k){"use strict";k.d(se,{D0:function(){return o},E7:function(){return i},K3:function(){return b},Q5:function(){return e},ZD:function(){return t},ju:function(){return L}});var S=k(79881),C=k(69323),V=k(34502),F=k(95830),L;(function(s){s.None=()=>C.JT.None;function a(d){return(m,R=null,v)=>{let n=!1,r;return r=d(f=>{if(!n)return r?r.dispose():n=!0,m.call(R,f)},null,v),n&&r.dispose(),r}}s.once=a;function p(d,m){return w((R,v=null,n)=>d(r=>R.call(v,m(r)),null,n))}s.map=p;function h(d,m){return w((R,v=null,n)=>d(r=>{m(r),R.call(v,r)},null,n))}s.forEach=h;function c(d,m){return w((R,v=null,n)=>d(r=>m(r)&&R.call(v,r),null,n))}s.filter=c;function u(d){return d}s.signal=u;function l(...d){return(m,R=null,v)=>(0,C.F8)(...d.map(n=>n(r=>m.call(R,r),null,v)))}s.any=l;function y(d,m,R){let v=R;return p(d,n=>(v=m(v,n),v))}s.reduce=y;function w(d){let m;const R=new e({onFirstListenerAdd(){m=d(R.fire,R)},onLastListenerRemove(){m.dispose()}});return R.event}function T(d,m,R=100,v=!1,n){let r,f,O,U=0;const Y=new e({leakWarningThreshold:n,onFirstListenerAdd(){r=d(_e=>{U++,f=m(f,_e),v&&!O&&(Y.fire(f),f=void 0),clearTimeout(O),O=setTimeout(()=>{const de=f;f=void 0,O=void 0,(!v||U>1)&&Y.fire(de),U=0},R)})},onLastListenerRemove(){r.dispose()}});return Y.event}s.debounce=T;function N(d,m=(R,v)=>R===v){let R=!0,v;return c(d,n=>{const r=R||!m(n,v);return R=!1,v=n,r})}s.latch=N;function D(d,m){return[s.filter(d,m),s.filter(d,R=>!m(R))]}s.split=D;function $(d,m=!1,R=[]){let v=R.slice(),n=d(O=>{v?v.push(O):f.fire(O)});const r=()=>{v&&v.forEach(O=>f.fire(O)),v=null},f=new e({onFirstListenerAdd(){n||(n=d(O=>f.fire(O)))},onFirstListenerDidAdd(){v&&(m?setTimeout(r):r())},onLastListenerRemove(){n&&n.dispose(),n=null}});return f.event}s.buffer=$;class Q{constructor(m){this.event=m}map(m){return new Q(p(this.event,m))}forEach(m){return new Q(h(this.event,m))}filter(m){return new Q(c(this.event,m))}reduce(m,R){return new Q(y(this.event,m,R))}latch(){return new Q(N(this.event))}debounce(m,R=100,v=!1,n){return new Q(T(this.event,m,R,v,n))}on(m,R,v){return this.event(m,R,v)}once(m,R,v){return a(this.event)(m,R,v)}}function z(d){return new Q(d)}s.chain=z;function xe(d,m,R=v=>v){const v=(...O)=>f.fire(R(...O)),n=()=>d.on(m,v),r=()=>d.removeListener(m,v),f=new e({onFirstListenerAdd:n,onLastListenerRemove:r});return f.event}s.fromNodeEventEmitter=xe;function g(d,m,R=v=>v){const v=(...O)=>f.fire(R(...O)),n=()=>d.addEventListener(m,v),r=()=>d.removeEventListener(m,v),f=new e({onFirstListenerAdd:n,onLastListenerRemove:r});return f.event}s.fromDOMEventEmitter=g;function _(d){return new Promise(m=>a(d)(m))}s.toPromise=_})(L||(L={}));class B{constructor(a){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${a}_${B._idPool++}`}start(a){this._stopWatch=new F.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}}}B._idPool=0;let H=-1;class M{constructor(a,p=Math.random().toString(18).slice(2,5)){this.customThreshold=a,this.name=p,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(a){let p=H;if(typeof this.customThreshold=="number"&&(p=this.customThreshold),p<=0||a<p)return;this._stacks||(this._stacks=new Map);const h=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),c=this._stacks.get(h)||0;if(this._stacks.set(h,c+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=p*.5;let u,l=0;for(const[y,w]of this._stacks)(!u||l<w)&&(u=y,l=w);console.warn(`[${this.name}] potential listener LEAK detected, having ${a} listeners already. MOST frequent listener (${l}):`),console.warn(u)}return()=>{const u=this._stacks.get(h)||0;this._stacks.set(h,u-1)}}}class e{constructor(a){var p;this._disposed=!1,this._options=a,this._leakageMon=H>0?new M(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((p=this._options)===null||p===void 0)&&p._profName?new B(this._options._profName):void 0}get event(){return this._event||(this._event=(a,p,h)=>{var c;this._listeners||(this._listeners=new V.S);const u=this._listeners.isEmpty();u&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const l=this._listeners.push(p?[a,p]:a);u&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,a,p);const y=(c=this._leakageMon)===null||c===void 0?void 0:c.check(this._listeners.size),w=(0,C.OF)(()=>{y&&y(),this._disposed||(l(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return h instanceof C.SL?h.add(w):Array.isArray(h)&&h.push(w),w}),this._event}fire(a){var p,h;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new V.S);for(let c of this._listeners)this._deliveryQueue.push([c,a]);for((p=this._perfMon)===null||p===void 0||p.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[c,u]=this._deliveryQueue.shift();try{typeof c=="function"?c.call(void 0,u):c[0].call(c[1],u)}catch(l){(0,S.dL)(l)}}(h=this._perfMon)===null||h===void 0||h.stop()}}dispose(){var a,p,h,c,u;this._disposed||(this._disposed=!0,(a=this._listeners)===null||a===void 0||a.clear(),(p=this._deliveryQueue)===null||p===void 0||p.clear(),(c=(h=this._options)===null||h===void 0?void 0:h.onLastListenerRemove)===null||c===void 0||c.call(h),(u=this._leakageMon)===null||u===void 0||u.dispose())}}class b extends e{constructor(a){super(a),this._isPaused=0,this._eventQueue=new V.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 o extends b{constructor(a){var p;super(a),this._delay=(p=a.delay)!==null&&p!==void 0?p: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(p,h,c)=>a(u=>{const l=this.buffers[this.buffers.length-1];l?l.push(()=>p.call(h,u)):p.call(h,u)},void 0,c)}bufferEvents(a){const p=[];this.buffers.push(p);const h=a();return this.buffers.pop(),p.forEach(c=>c()),h}}class t{constructor(){this.listening=!1,this.inputEvent=L.None,this.inputEventListener=C.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(Ae,se,k){"use strict";k.d(se,{I:function(){return S}});function S(C){const V=this;let F=!1,L;return function(){return F||(F=!0,L=C.apply(V,arguments)),L}}},88226:function(Ae,se,k){"use strict";k.d(se,{$:function(){return S}});var S;(function(C){function V(l){return l&&typeof l=="object"&&typeof l[Symbol.iterator]=="function"}C.is=V;const F=Object.freeze([]);function L(){return F}C.empty=L;function*B(l){yield l}C.single=B;function H(l){return l||F}C.from=H;function M(l){return!l||l[Symbol.iterator]().next().done===!0}C.isEmpty=M;function e(l){return l[Symbol.iterator]().next().value}C.first=e;function b(l,y){for(const w of l)if(y(w))return!0;return!1}C.some=b;function o(l,y){for(const w of l)if(y(w))return w}C.find=o;function*i(l,y){for(const w of l)y(w)&&(yield w)}C.filter=i;function*t(l,y){let w=0;for(const T of l)yield y(T,w++)}C.map=t;function*s(...l){for(const y of l)for(const w of y)yield w}C.concat=s;function*a(l){for(const y of l)for(const w of y)yield w}C.concatNested=a;function p(l,y,w){let T=w;for(const N of l)T=y(T,N);return T}C.reduce=p;function*h(l,y,w=l.length){for(y<0&&(y+=l.length),w<0?w+=l.length:w>l.length&&(w=l.length);y<w;y++)yield l[y]}C.slice=h;function c(l,y=Number.POSITIVE_INFINITY){const w=[];if(y===0)return[w,l];const T=l[Symbol.iterator]();for(let N=0;N<y;N++){const D=T.next();if(D.done)return[w,C.empty()];w.push(D.value)}return[w,{[Symbol.iterator](){return T}}]}C.consume=c;function u(l,y,w=(T,N)=>T===N){const T=l[Symbol.iterator](),N=y[Symbol.iterator]();for(;;){const D=T.next(),$=N.next();if(D.done!==$.done)return!1;if(D.done)return!0;if(!w(D.value,$.value))return!1}}C.equals=u})(S||(S={}))},69323:function(Ae,se,k){"use strict";k.d(se,{B9:function(){return t},F8:function(){return s},JT:function(){return h},Jz:function(){return u},OF:function(){return a},SL:function(){return p},Wf:function(){return i},XK:function(){return c},dk:function(){return b}});var S=k(17845),C=k(88226);const V=!1;let F=null;function L(l){F=l}if(V){const l="__is_disposable_tracked__";L(new class{trackDisposable(y){const w=new Error("Potentially leaked disposable").stack;setTimeout(()=>{y[l]||console.log(w)},3e3)}setParent(y,w){if(y&&y!==h.None)try{y[l]=!0}catch(T){}}markAsDisposed(y){if(y&&y!==h.None)try{y[l]=!0}catch(w){}}markAsSingleton(y){}})}function B(l){return F==null||F.trackDisposable(l),l}function H(l){F==null||F.markAsDisposed(l)}function M(l,y){F==null||F.setParent(l,y)}function e(l,y){if(F)for(const w of l)F.setParent(w,y)}function b(l){return F==null||F.markAsSingleton(l),l}class o extends Error{constructor(y){super(`Encountered errors while disposing of store. Errors: [${y.join(", ")}]`),this.errors=y}}function i(l){return typeof l.dispose=="function"&&l.dispose.length===0}function t(l){if(C.$.is(l)){let y=[];for(const w of l)if(w)try{w.dispose()}catch(T){y.push(T)}if(y.length===1)throw y[0];if(y.length>1)throw new o(y);return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}function s(...l){const y=a(()=>t(l));return e(l,y),y}function a(l){const y=B({dispose:(0,S.I)(()=>{H(y),l()})});return y}class p{constructor(){this._toDispose=new Set,this._isDisposed=!1,B(this)}dispose(){this._isDisposed||(H(this),this._isDisposed=!0,this.clear())}clear(){try{t(this._toDispose.values())}finally{this._toDispose.clear()}}add(y){if(!y)return y;if(y===this)throw new Error("Cannot register a disposable on itself!");return M(y,this),this._isDisposed?p.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(y),y}}p.DISABLE_DISPOSED_WARNING=!1;class h{constructor(){this._store=new p,B(this),M(this._store,this)}dispose(){H(this),this._store.dispose()}_register(y){if(y===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(y)}}h.None=Object.freeze({dispose(){}});class c{constructor(){this._isDisposed=!1,B(this)}get value(){return this._isDisposed?void 0:this._value}set value(y){var w;this._isDisposed||y===this._value||((w=this._value)===null||w===void 0||w.dispose(),y&&M(y,this),this._value=y)}clear(){this.value=void 0}dispose(){var y;this._isDisposed=!0,H(this),(y=this._value)===null||y===void 0||y.dispose(),this._value=void 0}clearAndLeak(){const y=this._value;return this._value=void 0,y&&M(y,null),y}}class u{constructor(y){this.object=y}dispose(){}}},34502:function(Ae,se,k){"use strict";k.d(se,{S:function(){return C}});class S{constructor(F){this.element=F,this.next=S.Undefined,this.prev=S.Undefined}}S.Undefined=new S(void 0);class C{constructor(){this._first=S.Undefined,this._last=S.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===S.Undefined}clear(){let F=this._first;for(;F!==S.Undefined;){const L=F.next;F.prev=S.Undefined,F.next=S.Undefined,F=L}this._first=S.Undefined,this._last=S.Undefined,this._size=0}unshift(F){return this._insert(F,!1)}push(F){return this._insert(F,!0)}_insert(F,L){const B=new S(F);if(this._first===S.Undefined)this._first=B,this._last=B;else if(L){const M=this._last;this._last=B,B.prev=M,M.next=B}else{const M=this._first;this._first=B,B.next=M,M.prev=B}this._size+=1;let H=!1;return()=>{H||(H=!0,this._remove(B))}}shift(){if(this._first!==S.Undefined){const F=this._first.element;return this._remove(this._first),F}}pop(){if(this._last!==S.Undefined){const F=this._last.element;return this._remove(this._last),F}}_remove(F){if(F.prev!==S.Undefined&&F.next!==S.Undefined){const L=F.prev;L.next=F.next,F.next.prev=L}else F.prev===S.Undefined&&F.next===S.Undefined?(this._first=S.Undefined,this._last=S.Undefined):F.next===S.Undefined?(this._last=this._last.prev,this._last.next=S.Undefined):F.prev===S.Undefined&&(this._first=this._first.next,this._first.prev=S.Undefined);this._size-=1}*[Symbol.iterator](){let F=this._first;for(;F!==S.Undefined;)yield F.element,F=F.next}}},23345:function(Ae,se,k){"use strict";k.d(se,{$L:function(){return T},ED:function(){return u},IJ:function(){return y},OS:function(){return Q},WE:function(){return D},dz:function(){return l},gn:function(){return N},li:function(){return a},r:function(){return g},tY:function(){return w},xS:function(){return $}});var S=k(97671),C;const V="en";let F=!1,L=!1,B=!1,H=!1,M=!1,e=!1,b=!1,o,i=null,t=null,s;const a=typeof self=="object"?self:typeof k.g=="object"?k.g:{};let p;typeof a.vscode!="undefined"&&typeof a.vscode.process!="undefined"?p=a.vscode.process:typeof S!="undefined"&&(p=S);const h=typeof((C=p==null?void 0:p.versions)===null||C===void 0?void 0:C.electron)=="string"&&p.type==="renderer";if(typeof navigator=="object"&&!h)s=navigator.userAgent,F=s.indexOf("Windows")>=0,L=s.indexOf("Macintosh")>=0,b=(s.indexOf("Macintosh")>=0||s.indexOf("iPad")>=0||s.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,B=s.indexOf("Linux")>=0,e=!0,o=navigator.language,i=o;else if(typeof p=="object"){F=p.platform==="win32",L=p.platform==="darwin",B=p.platform==="linux",H=B&&!!p.env.SNAP&&!!p.env.SNAP_REVISION,o=V,i=V;const _=p.env.VSCODE_NLS_CONFIG;if(_)try{const d=JSON.parse(_),m=d.availableLanguages["*"];o=d.locale,i=m||V,t=d._translationsConfigFile}catch(d){}M=!0}else console.error("Unable to resolve platform.");let c=0;L?c=1:F?c=3:B&&(c=2);const u=F,l=L,y=B,w=M,T=e,N=b,D=s,$=function(){if(a.setImmediate)return a.setImmediate.bind(a);if(typeof a.postMessage=="function"&&!a.importScripts){let m=[];a.addEventListener("message",v=>{if(v.data&&v.data.vscodeSetImmediateId)for(let n=0,r=m.length;n<r;n++){const f=m[n];if(f.id===v.data.vscodeSetImmediateId){m.splice(n,1),f.callback();return}}});let R=0;return v=>{const n=++R;m.push({id:n,callback:v}),a.postMessage({vscodeSetImmediateId:n},"*")}}if(typeof(p==null?void 0:p.nextTick)=="function")return p.nextTick.bind(p);const d=Promise.resolve();return m=>d.then(m)}(),Q=L||b?2:F?1:3;let z=!0,xe=!1;function g(){if(!xe){xe=!0;const _=new Uint8Array(2);_[0]=1,_[1]=2,z=new Uint16Array(_.buffer)[0]===513}return z}},95830:function(Ae,se,k){"use strict";k.d(se,{G:function(){return V}});var S=k(23345);const C=S.li.performance&&typeof S.li.performance.now=="function";class V{constructor(L){this._highResolution=C&&L,this._startTime=this._now(),this._stopTime=-1}static create(L=!0){return new V(L)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?S.li.performance.now():Date.now()}}},82983:function(Ae,se,k){"use strict";k.d(se,{$i:function(){return U},C8:function(){return Ze},GF:function(){return o},HO:function(){return R},IO:function(){return i},K7:function(){return Ce},Kw:function(){return Xe},LC:function(){return a},Mh:function(){return $},P1:function(){return Q},PJ:function(){return ct},Qe:function(){return Y},R1:function(){return b},RP:function(){return f},S6:function(){return qe},TT:function(){return u},Ut:function(){return n},V8:function(){return p},WU:function(){return V},YK:function(){return xe},YU:function(){return F},ZG:function(){return z},ZH:function(){return _},ab:function(){return _e},c1:function(){return We},df:function(){return T},ec:function(){return L},fi:function(){return pt},fy:function(){return B},j3:function(){return H},j_:function(){return y},m5:function(){return S},mK:function(){return w},mr:function(){return t},oH:function(){return Z},oL:function(){return M},ok:function(){return D},ow:function(){return h},qq:function(){return N},qu:function(){return c},rL:function(){return g},uS:function(){return $e},un:function(){return e},uq:function(){return s},vH:function(){return m},xe:function(){return de},zY:function(){return l}});function S(x){return!x||typeof x!="string"?!0:x.trim().length===0}const C=/{(\d+)}/g;function V(x,...E){return E.length===0?x:x.replace(C,function(A,I){const ee=parseInt(I,10);return isNaN(ee)||ee<0||ee>=E.length?A:E[ee]})}function F(x){return x.replace(/[<>&]/g,function(E){switch(E){case"<":return"<";case">":return">";case"&":return"&";default:return E}})}function L(x){return x.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function B(x,E=" "){const A=H(x,E);return M(A,E)}function H(x,E){if(!x||!E)return x;const A=E.length;if(A===0||x.length===0)return x;let I=0;for(;x.indexOf(E,I)===I;)I=I+A;return x.substring(I)}function M(x,E){if(!x||!E)return x;const A=E.length,I=x.length;if(A===0||I===0)return x;let ee=I,X=-1;for(;X=x.lastIndexOf(E,ee-1),!(X===-1||X+A!==ee);){if(X===0)return"";ee=X}return x.substring(0,ee)}function e(x){return x.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function b(x){return x.replace(/\*/g,"")}function o(x,E,A={}){if(!x)throw new Error("Cannot create regex from empty string");E||(x=L(x)),A.wholeWord&&(/\B/.test(x.charAt(0))||(x="\\b"+x),/\B/.test(x.charAt(x.length-1))||(x=x+"\\b"));let I="";return A.global&&(I+="g"),A.matchCase||(I+="i"),A.multiline&&(I+="m"),A.unicode&&(I+="u"),new RegExp(x,I)}function i(x){return x.source==="^"||x.source==="^$"||x.source==="$"||x.source==="^\\s*$"?!1:!!(x.exec("")&&x.lastIndex===0)}function t(x){return(x.global?"g":"")+(x.ignoreCase?"i":"")+(x.multiline?"m":"")+(x.unicode?"u":"")}function s(x){return x.split(/\r\n|\r|\n/)}function a(x){for(let E=0,A=x.length;E<A;E++){const I=x.charCodeAt(E);if(I!==32&&I!==9)return E}return-1}function p(x,E=0,A=x.length){for(let I=E;I<A;I++){const ee=x.charCodeAt(I);if(ee!==32&&ee!==9)return x.substring(E,I)}return x.substring(E,A)}function h(x,E=x.length-1){for(let A=E;A>=0;A--){const I=x.charCodeAt(A);if(I!==32&&I!==9)return A}return-1}function c(x,E){return x<E?-1:x>E?1:0}function u(x,E,A=0,I=x.length,ee=0,X=E.length){for(;A<I&&ee<X;A++,ee++){let he=x.charCodeAt(A),ce=E.charCodeAt(ee);if(he<ce)return-1;if(he>ce)return 1}const ue=I-A,te=X-ee;return ue<te?-1:ue>te?1:0}function l(x,E){return y(x,E,0,x.length,0,E.length)}function y(x,E,A=0,I=x.length,ee=0,X=E.length){for(;A<I&&ee<X;A++,ee++){let he=x.charCodeAt(A),ce=E.charCodeAt(ee);if(he===ce)continue;if(he>=128||ce>=128)return u(x.toLowerCase(),E.toLowerCase(),A,I,ee,X);w(he)&&(he-=32),w(ce)&&(ce-=32);const le=he-ce;if(le!==0)return le}const ue=I-A,te=X-ee;return ue<te?-1:ue>te?1:0}function w(x){return x>=97&&x<=122}function T(x){return x>=65&&x<=90}function N(x,E){return x.length===E.length&&y(x,E)===0}function D(x,E){const A=E.length;return E.length>x.length?!1:y(x,E,0,A)===0}function $(x,E){let A,I=Math.min(x.length,E.length);for(A=0;A<I;A++)if(x.charCodeAt(A)!==E.charCodeAt(A))return A;return I}function Q(x,E){let A,I=Math.min(x.length,E.length);const ee=x.length-1,X=E.length-1;for(A=0;A<I;A++)if(x.charCodeAt(ee-A)!==E.charCodeAt(X-A))return A;return I}function z(x){return 55296<=x&&x<=56319}function xe(x){return 56320<=x&&x<=57343}function g(x,E){return(x-55296<<10)+(E-56320)+65536}function _(x,E,A){const I=x.charCodeAt(A);if(z(I)&&A+1<E){const ee=x.charCodeAt(A+1);if(xe(ee))return g(I,ee)}return I}function d(x,E){const A=x.charCodeAt(E-1);if(xe(A)&&E>1){const I=x.charCodeAt(E-2);if(z(I))return g(I,A)}return A}function m(x,E){const A=j.getInstance(),I=E,ee=x.length,X=_(x,ee,E);E+=X>=65536?2:1;let ue=A.getGraphemeBreakType(X);for(;E<ee;){const te=_(x,ee,E),he=A.getGraphemeBreakType(te);if(pt(ue,he))break;E+=te>=65536?2:1,ue=he}return E-I}function R(x,E){const A=j.getInstance(),I=E,ee=d(x,E);E-=ee>=65536?2:1;let X=A.getGraphemeBreakType(ee);for(;E>0;){const ue=d(x,E),te=A.getGraphemeBreakType(ue);if(pt(te,X))break;E-=ue>=65536?2:1,X=te}return I-E}const v=/(?:[\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 n(x){return v.test(x)}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 f(x){return r.test(x)}const O=/^[\t\n\r\x20-\x7E]*$/;function U(x){return O.test(x)}const Y=/[\u2028\u2029]/;function _e(x){return Y.test(x)}function de(x){for(let E=0,A=x.length;E<A;E++)if(Ce(x.charCodeAt(E)))return!0;return!1}function Ce(x){return x=+x,x>=11904&&x<=55215||x>=63744&&x<=64255||x>=65281&&x<=65374}function Ze(x){return x>=127462&&x<=127487||x===8986||x===8987||x===9200||x===9203||x>=9728&&x<=10175||x===11088||x===11093||x>=127744&&x<=128591||x>=128640&&x<=128764||x>=128992&&x<=129003||x>=129280&&x<=129535||x>=129648&&x<=129750}const We="\uFEFF";function $e(x){return!!(x&&x.length>0&&x.charCodeAt(0)===65279)}function Xe(x,E=!1){return x?(E&&(x=x.replace(/\\./g,"")),x.toLowerCase()!==x):!1}function ct(x){return x=x%(2*26),x<26?String.fromCharCode(97+x):String.fromCharCode(65+x-26)}function qe(x){return j.getInstance().getGraphemeBreakType(x)}function pt(x,E){return x===0?E!==5&&E!==7:x===2&&E===3?!1:x===4||x===2||x===3||E===4||E===2||E===3?!0:!(x===8&&(E===8||E===9||E===11||E===12)||(x===11||x===9)&&(E===9||E===10)||(x===12||x===10)&&E===10||E===5||E===13||E===7||x===1||x===13&&E===14||x===6&&E===6)}class j{constructor(){this._data=ae()}static getInstance(){return j._INSTANCE||(j._INSTANCE=new j),j._INSTANCE}getGraphemeBreakType(E){if(E<32)return E===10?3:E===13?2:4;if(E<127)return 0;const A=this._data,I=A.length/3;let ee=1;for(;ee<=I;)if(E<A[3*ee])ee=2*ee;else if(E>A[3*ee+1])ee=2*ee+1;else return A[3*ee+2];return 0}}j._INSTANCE=null;function ae(){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 Z(x,E){if(x===0)return 0;const A=re(x,E);if(A!==void 0)return A;const I=d(E,x);return x-=me(I),x}function re(x,E){let A=d(E,x);for(x-=me(A);we(A)||A===65039||A===8419;){if(x===0)return;A=d(E,x),x-=me(A)}if(Ze(A)){if(x>=0){const I=d(E,x);I===8205&&(x-=me(I))}return x}}function me(x){return x>=65536?2:1}function we(x){return 127995<=x&&x<=127999}},72999:function(Ae,se,k){"use strict";k.d(se,{$E:function(){return a},$K:function(){return H},D8:function(){return i},HD:function(){return C},IU:function(){return p},Jp:function(){return M},Kn:function(){return V},cW:function(){return b},f6:function(){return h},hj:function(){return F},jn:function(){return L},kJ:function(){return S},mf:function(){return o},o8:function(){return B},p_:function(){return e},vE:function(){return c}});function S(u){return Array.isArray(u)}function C(u){return typeof u=="string"}function V(u){return typeof u=="object"&&u!==null&&!Array.isArray(u)&&!(u instanceof RegExp)&&!(u instanceof Date)}function F(u){return typeof u=="number"&&!isNaN(u)}function L(u){return u===!0||u===!1}function B(u){return typeof u=="undefined"}function H(u){return!M(u)}function M(u){return B(u)||u===null}function e(u,l){if(!u)throw new Error(l?`Unexpected type, expected '${l}'`:"Unexpected type")}function b(u){if(M(u))throw new Error("Assertion Failed: argument is undefined or null");return u}function o(u){return typeof u=="function"}function i(u,l){const y=Math.min(u.length,l.length);for(let w=0;w<y;w++)t(u[w],l[w])}function t(u,l){if(C(l)){if(typeof u!==l)throw new Error(`argument does not match constraint: typeof ${l}`)}else if(o(l)){try{if(u instanceof l)return}catch(y){}if(!M(u)&&u.constructor===l||l.length===1&&l.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 l=[],y=Object.getPrototypeOf(u);for(;Object.prototype!==y;)l=l.concat(Object.getOwnPropertyNames(y)),y=Object.getPrototypeOf(y);return l}function a(u){const l=[];for(const y of s(u))typeof u[y]=="function"&&l.push(y);return l}function p(u,l){const y=T=>function(){const N=Array.prototype.slice.call(arguments,0);return l(T,N)};let w={};for(const T of u)w[T]=y(T);return w}function h(u){return u===null?void 0:u}function c(u,l="Unreachable"){throw new Error(l)}},13268:function(Ae,se,k){"use strict";k.d(se,{N:function(){return C}});function S(V,F){let L;return F.length===0?L=V:L=V.replace(/\{(\d+)\}/g,function(B,H){const M=H[0];return typeof F[M]!="undefined"?F[M]:B}),L}function C(V,F,...L){return S(F,L)}},96236:function(Ae,se,k){"use strict";k.d(se,{BH:function(){return p},NZ:function(){return h},U8:function(){return c},co:function(){return a},eH:function(){return s},vr:function(){return t}});var S=k(75918),C=k(52615),V=k(4348),F=k(88226),L=k(69323),B=k(34502),H=k(35884),M=k(90689),e=k(16925),b=k(49055),o=function(u,l,y,w){var T=arguments.length,N=T<3?l:w===null?w=Object.getOwnPropertyDescriptor(l,y):w,D;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")N=Reflect.decorate(u,l,y,w);else for(var $=u.length-1;$>=0;$--)(D=u[$])&&(N=(T<3?D(N):T>3?D(l,y,N):D(l,y))||N);return T>3&&N&&Object.defineProperty(l,y,N),N},i=function(u,l){return function(y,w){l(y,w,u)}};function t(u){return u.command!==void 0}class s{constructor(l){this.id=s._idPool++,this._debugName=l}}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"),p=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new V.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:u=>u===s.CommandPalette}}addCommand(u){return this.addCommands(F.$.single(u))}addCommands(u){for(const l of u)this._commands.set(l.id,l);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,L.OF)(()=>{let l=!1;for(const y of u)l=this._commands.delete(y.id)||l;l&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(u){return this._commands.get(u)}getCommands(){const u=new Map;return this._commands.forEach((l,y)=>u.set(y,l)),u}appendMenuItem(u,l){return this.appendMenuItems(F.$.single({id:u,item:l}))}appendMenuItems(u){const l=new Set,y=new B.S;for(const{id:w,item:T}of u){let N=this._menuItems.get(w);N||(N=new B.S,this._menuItems.set(w,N)),y.push(N.push(T)),l.add(w)}return this._onDidChangeMenu.fire(l),(0,L.OF)(()=>{if(y.size>0){for(let w of y)w();this._onDidChangeMenu.fire(l),y.clear()}})}getMenuItems(u){let l;return this._menuItems.has(u)?l=[...this._menuItems.get(u)]:l=[],u===s.CommandPalette&&this._appendImplicitItems(l),l}_appendImplicitItems(u){const l=new Set;for(const y of u)t(y)&&(l.add(y.command.id),y.alt&&l.add(y.alt.id));this._commands.forEach((y,w)=>{l.has(w)||u.push({command:y})})}};class h extends S.wY{constructor(l,y,w,T){super(`submenuitem.${l.submenu.id}`,typeof l.title=="string"?l.title:l.title.value,[],"submenu"),this.item=l,this._menuService=y,this._contextKeyService=w,this._options=T}get actions(){const l=[],y=this._menuService.createMenu(this.item.submenu,this._contextKeyService),w=y.getActions(this._options);y.dispose();for(const[,T]of w)T.length>0&&(l.push(...T),l.push(new S.Z0));return l.length&&l.pop(),l}}let c=class Rr{constructor(l,y,w,T,N){var D,$;if(this._commandService=N,this.id=l.id,this.label=w!=null&&w.renderShortTitle&&l.shortTitle?typeof l.shortTitle=="string"?l.shortTitle:l.shortTitle.value:typeof l.title=="string"?l.title:l.title.value,this.tooltip=($=typeof l.tooltip=="string"?l.tooltip:(D=l.tooltip)===null||D===void 0?void 0:D.value)!==null&&$!==void 0?$:"",this.enabled=!l.precondition||T.contextMatchesRules(l.precondition),this.checked=void 0,l.toggled){const Q=l.toggled.condition?l.toggled:{condition:l.toggled};this.checked=T.contextMatchesRules(Q.condition),this.checked&&Q.tooltip&&(this.tooltip=typeof Q.tooltip=="string"?Q.tooltip:Q.tooltip.value),Q.title&&(this.label=typeof Q.title=="string"?Q.title:Q.title.value)}this.item=l,this.alt=y?new Rr(y,void 0,w,T,N):void 0,this._options=w,b.kS.isThemeIcon(l.icon)&&(this.class=C.dT.asClassName(l.icon))}dispose(){}run(...l){var y,w;let T=[];return!((y=this._options)===null||y===void 0)&&y.arg&&(T=[...T,this._options.arg]),!((w=this._options)===null||w===void 0)&&w.shouldForwardArgs&&(T=[...T,...l]),this._commandService.executeCommand(this.id,...T)}};c=o([i(3,M.i6),i(4,H.H)],c)},35884:function(Ae,se,k){"use strict";k.d(se,{H:function(){return H},P:function(){return M}});var S=k(4348),C=k(88226),V=k(69323),F=k(34502),L=k(72999),B=k(16925);const H=(0,B.yh)("commandService"),M=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new S.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,b){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!b)throw new Error("invalid command");return this.registerCommand({id:e,handler:b})}if(e.description){const a=[];for(let h of e.description.args)a.push(h.constraint);const p=e.handler;e.handler=function(h,...c){return(0,L.D8)(c,a),p(h,...c)}}const{id:o}=e;let i=this._commands.get(o);i||(i=new F.S,this._commands.set(o,i));let t=i.unshift(e),s=(0,V.OF)(()=>{t();const a=this._commands.get(o);a!=null&&a.isEmpty()&&this._commands.delete(o)});return this._onDidRegisterCommand.fire(o),s}registerCommandAlias(e,b){return M.registerCommand(e,(o,...i)=>o.get(H).executeCommand(b,...i))}getCommand(e){const b=this._commands.get(e);if(!(!b||b.isEmpty()))return C.$.first(b)}getCommands(){const e=new Map;for(const b of this._commands.keys()){const o=this.getCommand(b);o&&e.set(b,o)}return e}};M.registerCommand("noop",()=>{})},90689:function(Ae,se,k){"use strict";k.d(se,{Ao:function(){return H},Eq:function(){return g},Fb:function(){return M},K8:function(){return m},i6:function(){return xe},uy:function(){return z}});var S=k(23345),C=k(82983),V=k(16925);let F=S.WE||"";const L=new Map;L.set("false",!1),L.set("true",!0),L.set("isMac",S.dz),L.set("isLinux",S.IJ),L.set("isWindows",S.ED),L.set("isWeb",S.$L),L.set("isMacNative",S.dz&&!S.$L),L.set("isEdge",F.indexOf("Edg/")>=0),L.set("isFirefox",F.indexOf("Firefox")>=0),L.set("isChrome",F.indexOf("Chrome")>=0),L.set("isSafari",F.indexOf("Safari")>=0);const B=Object.prototype.hasOwnProperty;class H{static has(n){return i.create(n)}static equals(n,r){return t.create(n,r)}static regex(n,r){return T.create(n,r)}static not(n){return h.create(n)}static and(...n){return $.create(n,null)}static or(...n){return Q.create(n,null,!0)}static deserialize(n,r=!1){if(n)return this._deserializeOrExpression(n,r)}static _deserializeOrExpression(n,r){let f=n.split("||");return Q.create(f.map(O=>this._deserializeAndExpression(O,r)),null,!0)}static _deserializeAndExpression(n,r){let f=n.split("&&");return $.create(f.map(O=>this._deserializeOne(O,r)),null)}static _deserializeOne(n,r){if(n=n.trim(),n.indexOf("!=")>=0){let f=n.split("!=");return p.create(f[0].trim(),this._deserializeValue(f[1],r))}if(n.indexOf("==")>=0){let f=n.split("==");return t.create(f[0].trim(),this._deserializeValue(f[1],r))}if(n.indexOf("=~")>=0){let f=n.split("=~");return T.create(f[0].trim(),this._deserializeRegexValue(f[1],r))}if(n.indexOf(" in ")>=0){let f=n.split(" in ");return s.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(n)){const f=n.split(">=");return l.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(n)){const f=n.split(">");return u.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(n)){const f=n.split("<=");return w.create(f[0].trim(),f[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(n)){const f=n.split("<");return y.create(f[0].trim(),f[1].trim())}return/^\!\s*/.test(n)?h.create(n.substr(1).trim()):i.create(n)}static _deserializeValue(n,r){if(n=n.trim(),n==="true")return!0;if(n==="false")return!1;let f=/^'([^']*)'$/.exec(n);return f?f[1].trim():n}static _deserializeRegexValue(n,r){if((0,C.m5)(n)){if(r)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let f=n.indexOf("/"),O=n.lastIndexOf("/");if(f===O||f<0){if(r)throw new Error(`bad regexp-value '${n}', missing /-enclosure`);return console.warn(`bad regexp-value '${n}', missing /-enclosure`),null}let U=n.slice(f+1,O),Y=n[O+1]==="i"?"i":"";try{return new RegExp(U,Y)}catch(_e){if(r)throw new Error(`bad regexp-value '${n}', parse error: ${_e}`);return console.warn(`bad regexp-value '${n}', parse error: ${_e}`),null}}}function M(v,n){const r=v?v.substituteConstants():void 0,f=n?n.substituteConstants():void 0;return!r&&!f?!0:!r||!f?!1:r.equals(f)}function e(v,n){return v.cmp(n)}class b{constructor(){this.type=0}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!1}serialize(){return"false"}keys(){return[]}negate(){return o.INSTANCE}}b.INSTANCE=new b;class o{constructor(){this.type=1}cmp(n){return this.type-n.type}equals(n){return n.type===this.type}substituteConstants(){return this}evaluate(n){return!0}serialize(){return"true"}keys(){return[]}negate(){return b.INSTANCE}}o.INSTANCE=new o;class i{constructor(n,r){this.key=n,this.negated=r,this.type=2}static create(n,r=null){const f=L.get(n);return typeof f=="boolean"?f?o.INSTANCE:b.INSTANCE:new i(n,r)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=L.get(this.key);return typeof n=="boolean"?n?o.INSTANCE:b.INSTANCE:this}evaluate(n){return!!n.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=h.create(this.key,this)),this.negated}}class t{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=4}static create(n,r,f=null){if(typeof r=="boolean")return r?i.create(n,f):h.create(n,f);const O=L.get(n);return typeof O=="boolean"?r===(O?"true":"false")?o.INSTANCE:b.INSTANCE:new t(n,r,f)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=L.get(this.key);if(typeof n=="boolean"){const r=n?"true":"false";return this.value===r?o.INSTANCE:b.INSTANCE}return this}evaluate(n){return n.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=p.create(this.key,this.value,this)),this.negated}}class s{constructor(n,r){this.key=n,this.valueKey=r,this.type=10,this.negated=null}static create(n,r){return new s(n,r)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.valueKey,n.key,n.valueKey)}equals(n){return n.type===this.type?this.key===n.key&&this.valueKey===n.valueKey:!1}substituteConstants(){return this}evaluate(n){const r=n.getValue(this.valueKey),f=n.getValue(this.key);return Array.isArray(r)?r.indexOf(f)>=0:typeof f=="string"&&typeof r=="object"&&r!==null?B.call(r,f):!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(n){this._actual=n,this.type=11}static create(n){return new a(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class p{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=5}static create(n,r,f=null){if(typeof r=="boolean")return r?h.create(n,f):i.create(n,f);const O=L.get(n);return typeof O=="boolean"?r===(O?"true":"false")?b.INSTANCE:o.INSTANCE:new p(n,r,f)}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){const n=L.get(this.key);if(typeof n=="boolean"){const r=n?"true":"false";return this.value===r?b.INSTANCE:o.INSTANCE}return this}evaluate(n){return n.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=t.create(this.key,this.value,this)),this.negated}}class h{constructor(n,r){this.key=n,this.negated=r,this.type=3}static create(n,r=null){const f=L.get(n);return typeof f=="boolean"?f?b.INSTANCE:o.INSTANCE:new h(n,r)}cmp(n){return n.type!==this.type?this.type-n.type:_(this.key,n.key)}equals(n){return n.type===this.type?this.key===n.key:!1}substituteConstants(){const n=L.get(this.key);return typeof n=="boolean"?n?b.INSTANCE:o.INSTANCE:this}evaluate(n){return!n.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 c(v,n){if(typeof v=="string"){const r=parseFloat(v);isNaN(r)||(v=r)}return typeof v=="string"||typeof v=="number"?n(v):b.INSTANCE}class u{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=12}static create(n,r,f=null){return c(r,O=>new u(n,O,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class l{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=13}static create(n,r,f=null){return c(r,O=>new l(n,O,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=y.create(this.key,this.value,this)),this.negated}}class y{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=14}static create(n,r,f=null){return c(r,O=>new y(n,O,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=l.create(this.key,this.value,this)),this.negated}}class w{constructor(n,r,f){this.key=n,this.value=r,this.negated=f,this.type=15}static create(n,r,f=null){return c(r,O=>new w(n,O,f))}cmp(n){return n.type!==this.type?this.type-n.type:d(this.key,this.value,n.key,n.value)}equals(n){return n.type===this.type?this.key===n.key&&this.value===n.value:!1}substituteConstants(){return this}evaluate(n){return typeof this.value=="string"?!1:parseFloat(n.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 T{constructor(n,r){this.key=n,this.regexp=r,this.type=7,this.negated=null}static create(n,r){return new T(n,r)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.key<n.key)return-1;if(this.key>n.key)return 1;const r=this.regexp?this.regexp.source:"",f=n.regexp?n.regexp.source:"";return r<f?-1:r>f?1:0}equals(n){if(n.type===this.type){const r=this.regexp?this.regexp.source:"",f=n.regexp?n.regexp.source:"";return this.key===n.key&&r===f}return!1}substituteConstants(){return this}evaluate(n){let r=n.getValue(this.key);return this.regexp?this.regexp.test(r):!1}serialize(){const n=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${n}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=N.create(this)),this.negated}}class N{constructor(n){this._actual=n,this.type=8}static create(n){return new N(n)}cmp(n){return n.type!==this.type?this.type-n.type:this._actual.cmp(n._actual)}equals(n){return n.type===this.type?this._actual.equals(n._actual):!1}substituteConstants(){return this}evaluate(n){return!this._actual.evaluate(n)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function D(v){let n=null;for(let r=0,f=v.length;r<f;r++){const O=v[r].substituteConstants();if(v[r]!==O&&n===null){n=[];for(let U=0;U<r;U++)n[U]=v[U]}n!==null&&(n[r]=O)}return n===null?v:n}class ${constructor(n,r){this.expr=n,this.negated=r,this.type=6}static create(n,r){return $._normalizeArr(n,r)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let r=0,f=this.expr.length;r<f;r++){const O=e(this.expr[r],n.expr[r]);if(O!==0)return O}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let r=0,f=this.expr.length;r<f;r++)if(!this.expr[r].equals(n.expr[r]))return!1;return!0}return!1}substituteConstants(){const n=D(this.expr);return n===this.expr?this:$.create(n,this.negated)}evaluate(n){for(let r=0,f=this.expr.length;r<f;r++)if(!this.expr[r].evaluate(n))return!1;return!0}static _normalizeArr(n,r){const f=[];let O=!1;for(const U of n)if(U){if(U.type===1){O=!0;continue}if(U.type===0)return b.INSTANCE;if(U.type===6){f.push(...U.expr);continue}f.push(U)}if(f.length===0&&O)return o.INSTANCE;if(f.length!==0){if(f.length===1)return f[0];f.sort(e);for(let U=1;U<f.length;U++)f[U-1].equals(f[U])&&(f.splice(U,1),U--);if(f.length===1)return f[0];for(;f.length>1;){const U=f[f.length-1];if(U.type!==9)break;f.pop();const Y=f.pop(),_e=f.length===0,de=Q.create(U.expr.map(Ce=>$.create([Ce,Y],null)),null,_e);de&&(f.push(de),f.sort(e))}return f.length===1?f[0]:new $(f,r)}}serialize(){return this.expr.map(n=>n.serialize()).join(" && ")}keys(){const n=[];for(let r of this.expr)n.push(...r.keys());return n}negate(){if(!this.negated){const n=[];for(let r of this.expr)n.push(r.negate());this.negated=Q.create(n,this,!0)}return this.negated}}class Q{constructor(n,r){this.expr=n,this.negated=r,this.type=9}static create(n,r,f){return Q._normalizeArr(n,r,f)}cmp(n){if(n.type!==this.type)return this.type-n.type;if(this.expr.length<n.expr.length)return-1;if(this.expr.length>n.expr.length)return 1;for(let r=0,f=this.expr.length;r<f;r++){const O=e(this.expr[r],n.expr[r]);if(O!==0)return O}return 0}equals(n){if(n.type===this.type){if(this.expr.length!==n.expr.length)return!1;for(let r=0,f=this.expr.length;r<f;r++)if(!this.expr[r].equals(n.expr[r]))return!1;return!0}return!1}substituteConstants(){const n=D(this.expr);return n===this.expr?this:Q.create(n,this.negated,!1)}evaluate(n){for(let r=0,f=this.expr.length;r<f;r++)if(this.expr[r].evaluate(n))return!0;return!1}static _normalizeArr(n,r,f){let O=[],U=!1;if(n){for(let Y=0,_e=n.length;Y<_e;Y++){const de=n[Y];if(de){if(de.type===0){U=!0;continue}if(de.type===1)return o.INSTANCE;if(de.type===9){O=O.concat(de.expr);continue}O.push(de)}}if(O.length===0&&U)return b.INSTANCE;O.sort(e)}if(O.length!==0){if(O.length===1)return O[0];for(let Y=1;Y<O.length;Y++)O[Y-1].equals(O[Y])&&(O.splice(Y,1),Y--);if(O.length===1)return O[0];if(f){for(let Y=0;Y<O.length;Y++)for(let _e=Y+1;_e<O.length;_e++)m(O[Y],O[_e])&&(O.splice(_e,1),_e--);if(O.length===1)return O[0]}return new Q(O,r)}}serialize(){return this.expr.map(n=>n.serialize()).join(" || ")}keys(){const n=[];for(let r of this.expr)n.push(...r.keys());return n}negate(){if(!this.negated){let n=[];for(let r of this.expr)n.push(r.negate());for(;n.length>1;){const r=n.shift(),f=n.shift(),O=[];for(const Y of R(r))for(const _e of R(f))O.push($.create([Y,_e],null));const U=n.length===0;n.unshift(Q.create(O,null,U))}this.negated=n[0]}return this.negated}}class z extends i{constructor(n,r,f){super(n,null),this._defaultValue=r,typeof f=="object"?z._info.push(Object.assign(Object.assign({},f),{key:n})):f!==!0&&z._info.push({key:n,description:f,type:r!=null?typeof r:void 0})}static all(){return z._info.values()}bindTo(n){return n.createKey(this.key,this._defaultValue)}getValue(n){return n.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(n){return t.create(this.key,n)}}z._info=[];const xe=(0,V.yh)("contextKeyService"),g="setContext";function _(v,n){return v<n?-1:v>n?1:0}function d(v,n,r,f){return v<r?-1:v>r?1:n<f?-1:n>f?1:0}function m(v,n){if(n.type===6&&v.type!==9&&v.type!==6){for(const O of n.expr)if(v.equals(O))return!0}const r=v.negate(),f=R(r).concat(R(n));f.sort(e);for(let O=0;O<f.length;O++){const Y=f[O].negate();for(let _e=O+1;_e<f.length;_e++){const de=f[_e];if(Y.equals(de))return!0}}return!1}function R(v){return v.type===9?v.expr:[v]}},16925:function(Ae,se,k){"use strict";k.d(se,{I8:function(){return S},TG:function(){return C},jt:function(){return L},yh:function(){return F}});var S;(function(B){B.serviceIds=new Map,B.DI_TARGET="$di$target",B.DI_DEPENDENCIES="$di$dependencies";function H(M){return M[B.DI_DEPENDENCIES]||[]}B.getServiceDependencies=H})(S||(S={}));const C=F("instantiationService");function V(B,H,M,e){H[S.DI_TARGET]===H?H[S.DI_DEPENDENCIES].push({id:B,index:M,optional:e}):(H[S.DI_DEPENDENCIES]=[{id:B,index:M,optional:e}],H[S.DI_TARGET]=H)}function F(B){if(S.serviceIds.has(B))return S.serviceIds.get(B);const H=function(M,e,b){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");V(H,M,b,!1)};return H.toString=()=>B,S.serviceIds.set(B,H),H}function L(B){return function(H,M,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");V(B,H,e,!0)}}},44650:function(Ae,se,k){"use strict";k.d(se,{B:function(){return F}});var S=k(76068),C=k(72999);class V{constructor(){this.data=new Map}add(B,H){S.ok(C.HD(B)),S.ok(C.Kn(H)),S.ok(!this.data.has(B),"There is already an extension with this id"),this.data.set(B,H)}as(B){return this.data.get(B)||null}}const F=new V},66213:function(Ae,se,k){"use strict";k.d(se,{e:function(){return S}});var S;(function(C){C.DARK="dark",C.LIGHT="light",C.HIGH_CONTRAST="hc"})(S||(S={}))},49055:function(Ae,se,k){"use strict";k.d(se,{EN:function(){return e},IP:function(){return i},Ic:function(){return a},XE:function(){return H},bB:function(){return p},kS:function(){return b},m6:function(){return o}});var S=k(52615),C=k(4348),V=k(69323),F=k(16925),L=k(44650),B=k(66213);const H=(0,F.yh)("themeService");var M;(function(h){function c(u){return u&&typeof u=="object"&&typeof u.id=="string"}h.isThemeColor=c})(M||(M={}));function e(h){return{id:h}}var b;(function(h){function c(N){return N&&typeof N=="object"&&typeof N.id=="string"&&(typeof N.color=="undefined"||M.isThemeColor(N.color))}h.isThemeIcon=c;const u=new RegExp(`^\\$\\((${S.dT.iconNameExpression}(?:${S.dT.iconModifierExpression})?)\\)$`);function l(N){const D=u.exec(N);if(!D)return;let[,$]=D;return{id:$}}h.fromString=l;function y(N,D){let $=N.id;const Q=$.lastIndexOf("~");return Q!==-1&&($=$.substring(0,Q)),D&&($=`${$}~${D}`),{id:$}}h.modify=y;function w(N,D){var $,Q;return N.id===D.id&&(($=N.color)===null||$===void 0?void 0:$.id)===((Q=D.color)===null||Q===void 0?void 0:Q.id)}h.isEqual=w;function T(N,D){return{id:N.id,color:D?e(D):void 0}}h.asThemeIcon=T,h.asClassNameArray=S.dT.asClassNameArray,h.asClassName=S.dT.asClassName,h.asCSSSelector=S.dT.asCSSSelector})(b||(b={}));function o(h){switch(h){case B.e.DARK:return"vs-dark";case B.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const i={ThemingContribution:"base.contributions.theming"};class t{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new C.Q5}onColorThemeChange(c){return this.themingParticipants.push(c),this.onThemingParticipantAddedEmitter.fire(c),(0,V.OF)(()=>{const u=this.themingParticipants.indexOf(c);this.themingParticipants.splice(u,1)})}getThemingParticipants(){return this.themingParticipants}}let s=new t;L.B.add(i.ThemingContribution,s);function a(h){return s.onColorThemeChange(h)}class p extends V.JT{constructor(c){super(),this.themeService=c,this.theme=c.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(u=>this.onThemeChange(u)))}onThemeChange(c){this.theme=c,this.updateStyles()}updateStyles(){}}},96478:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return N}});var S=k(71409),C=k(87075),V=k(11036),F=k(39224),L=k(65352),B=k(92310),H=k.n(B),M=k(8654),e=k(59301),b=k(10228),o=k(16089),i=b.Z.ESC,t=b.Z.TAB;function s(D){var $=D.visible,Q=D.triggerRef,z=D.onVisibleChange,xe=D.autoFocus,g=D.overlayRef,_=e.useRef(!1),d=function(){if($){var n,r;(n=Q.current)===null||n===void 0||(r=n.focus)===null||r===void 0||r.call(n),z==null||z(!1)}},m=function(){var n;return(n=g.current)!==null&&n!==void 0&&n.focus?(g.current.focus(),_.current=!0,!0):!1},R=function(n){switch(n.keyCode){case i:d();break;case t:{var r=!1;_.current||(r=m()),r?n.preventDefault():d();break}}};e.useEffect(function(){return $?(window.addEventListener("keydown",R),xe&&(0,o.Z)(m,3),function(){window.removeEventListener("keydown",R),_.current=!1}):function(){_.current=!1}},[$])}var a=(0,e.forwardRef)(function(D,$){var Q=D.overlay,z=D.arrow,xe=D.prefixCls,g=(0,e.useMemo)(function(){var d;return typeof Q=="function"?d=Q():d=Q,d},[Q]),_=(0,M.sQ)($,(0,M.C4)(g));return e.createElement(e.Fragment,null,z&&e.createElement("div",{className:"".concat(xe,"-arrow")}),e.cloneElement(g,{ref:(0,M.Yr)(g)?_:void 0}))}),p=a,h={adjustX:1,adjustY:1},c=[0,0],u={topLeft:{points:["bl","tl"],overflow:h,offset:[0,-4],targetOffset:c},top:{points:["bc","tc"],overflow:h,offset:[0,-4],targetOffset:c},topRight:{points:["br","tr"],overflow:h,offset:[0,-4],targetOffset:c},bottomLeft:{points:["tl","bl"],overflow:h,offset:[0,4],targetOffset:c},bottom:{points:["tc","bc"],overflow:h,offset:[0,4],targetOffset:c},bottomRight:{points:["tr","br"],overflow:h,offset:[0,4],targetOffset:c}},l=u,y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function w(D,$){var Q,z=D.arrow,xe=z===void 0?!1:z,g=D.prefixCls,_=g===void 0?"rc-dropdown":g,d=D.transitionName,m=D.animation,R=D.align,v=D.placement,n=v===void 0?"bottomLeft":v,r=D.placements,f=r===void 0?l:r,O=D.getPopupContainer,U=D.showAction,Y=D.hideAction,_e=D.overlayClassName,de=D.overlayStyle,Ce=D.visible,Ze=D.trigger,We=Ze===void 0?["hover"]:Ze,$e=D.autoFocus,Xe=D.overlay,ct=D.children,qe=D.onVisibleChange,pt=(0,F.Z)(D,y),j=e.useState(),ae=(0,V.Z)(j,2),Z=ae[0],re=ae[1],me="visible"in D?Ce:Z,we=e.useRef(null),x=e.useRef(null),E=e.useRef(null);e.useImperativeHandle($,function(){return we.current});var A=function(Ve){re(Ve),qe==null||qe(Ve)};s({visible:me,triggerRef:E,onVisibleChange:A,autoFocus:$e,overlayRef:x});var I=function(Ve){var et=D.onOverlayClick;re(!1),et&&et(Ve)},ee=function(){return e.createElement(p,{ref:x,overlay:Xe,prefixCls:_,arrow:xe})},X=function(){return typeof Xe=="function"?ee:ee()},ue=function(){var Ve=D.minOverlayWidthMatchTrigger,et=D.alignPoint;return"minOverlayWidthMatchTrigger"in D?Ve:!et},te=function(){var Ve=D.openClassName;return Ve!==void 0?Ve:"".concat(_,"-open")},he=e.cloneElement(ct,{className:H()((Q=ct.props)===null||Q===void 0?void 0:Q.className,me&&te()),ref:(0,M.Yr)(ct)?(0,M.sQ)(E,(0,M.C4)(ct)):void 0}),ce=Y;return!ce&&We.indexOf("contextMenu")!==-1&&(ce=["click"]),e.createElement(L.Z,(0,S.Z)({builtinPlacements:f},pt,{prefixCls:_,ref:we,popupClassName:H()(_e,(0,C.Z)({},"".concat(_,"-show-arrow"),xe)),popupStyle:de,action:We,showAction:U,hideAction:ce,popupPlacement:n,popupAlign:R,popupTransitionName:d,popupAnimation:m,popupVisible:me,stretch:ue()?"minWidth":"",popup:X(),onPopupVisibleChange:A,onPopupClick:I,getPopupContainer:O}),he)}var T=e.forwardRef(w),N=T},28321:function(Ae,se,k){"use strict";k.d(se,{iz:function(){return Zt},ck:function(){return ot},BW:function(){return Qe},sN:function(){return ot},Wd:function(){return Lt},ZP:function(){return De},Xl:function(){return Q}});var S=k(71409),C=k(87075),V=k(89490),F=k(62730),L=k(11036),B=k(39224),H=k(92310),M=k.n(H),e=k(11780),b=k(18929),o=k(13697),i=k(48736),t=k(59301),s=k(4676),a=t.createContext(null);function p(P,K){return P===void 0?null:"".concat(P,"-").concat(K)}function h(P){var K=t.useContext(a);return p(K,P)}var c=k(80547),u=["children","locked"],l=t.createContext(null);function y(P,K){var G=(0,V.Z)({},P);return Object.keys(K).forEach(function(W){var J=K[W];J!==void 0&&(G[W]=J)}),G}function w(P){var K=P.children,G=P.locked,W=(0,B.Z)(P,u),J=t.useContext(l),ne=(0,c.Z)(function(){return y(J,W)},[J,W],function(q,ie){return!G&&(q[0]!==ie[0]||!(0,o.Z)(q[1],ie[1],!0))});return t.createElement(l.Provider,{value:ne},K)}var T=[],N=t.createContext(null);function D(){return t.useContext(N)}var $=t.createContext(T);function Q(P){var K=t.useContext($);return t.useMemo(function(){return P!==void 0?[].concat((0,F.Z)(K),[P]):K},[K,P])}var z=t.createContext(null),xe=t.createContext({}),g=xe,_=k(29194);function d(P){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,_.Z)(P)){var G=P.nodeName.toLowerCase(),W=["input","select","textarea","button"].includes(G)||P.isContentEditable||G==="a"&&!!P.getAttribute("href"),J=P.getAttribute("tabindex"),ne=Number(J),q=null;return J&&!Number.isNaN(ne)?q=ne:W&&q===null&&(q=0),W&&P.disabled&&(q=null),q!==null&&(q>=0||K&&q<0)}return!1}function m(P){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,G=(0,F.Z)(P.querySelectorAll("*")).filter(function(W){return d(W,K)});return d(P,K)&&G.unshift(P),G}var R=null;function v(){R=document.activeElement}function n(){R=null}function r(){if(R)try{R.focus()}catch(P){}}function f(P,K){if(K.keyCode===9){var G=m(P),W=G[K.shiftKey?0:G.length-1],J=W===document.activeElement||P===document.activeElement;if(J){var ne=G[K.shiftKey?G.length-1:0];ne.focus(),K.preventDefault()}}}var O=k(10228),U=k(16089),Y=O.Z.LEFT,_e=O.Z.RIGHT,de=O.Z.UP,Ce=O.Z.DOWN,Ze=O.Z.ENTER,We=O.Z.ESC,$e=O.Z.HOME,Xe=O.Z.END,ct=[de,Ce,Y,_e];function qe(P,K,G,W){var J,ne="prev",q="next",ie="children",be="parent";if(P==="inline"&&W===Ze)return{inlineTrigger:!0};var ge=(0,C.Z)((0,C.Z)({},de,ne),Ce,q),Se=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},Y,G?q:ne),_e,G?ne:q),Ce,ie),Ze,ie),ye=(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},de,ne),Ce,q),Ze,ie),We,be),Y,G?ie:be),_e,G?be:ie),Fe={inline:ge,horizontal:Se,vertical:ye,inlineSub:ge,horizontalSub:ye,verticalSub:ye},Le=(J=Fe["".concat(P).concat(K?"":"Sub")])===null||J===void 0?void 0:J[W];switch(Le){case ne:return{offset:-1,sibling:!0};case q:return{offset:1,sibling:!0};case be:return{offset:-1,sibling:!1};case ie:return{offset:1,sibling:!1};default:return null}}function pt(P){for(var K=P;K;){if(K.getAttribute("data-menu-list"))return K;K=K.parentElement}return null}function j(P,K){for(var G=P||document.activeElement;G;){if(K.has(G))return G;G=G.parentElement}return null}function ae(P,K){var G=m(P,!0);return G.filter(function(W){return K.has(W)})}function Z(P,K,G){var W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!P)return null;var J=ae(P,K),ne=J.length,q=J.findIndex(function(ie){return G===ie});return W<0?q===-1?q=ne-1:q-=1:W>0&&(q+=1),q=(q+ne)%ne,J[q]}var re=function(K,G){var W=new Set,J=new Map,ne=new Map;return K.forEach(function(q){var ie=document.querySelector("[data-menu-id='".concat(p(G,q),"']"));ie&&(W.add(ie),ne.set(ie,q),J.set(q,ie))}),{elements:W,key2element:J,element2key:ne}};function me(P,K,G,W,J,ne,q,ie,be,ge){var Se=t.useRef(),ye=t.useRef();ye.current=K;var Fe=function(){U.Z.cancel(Se.current)};return t.useEffect(function(){return function(){Fe()}},[]),function(Le){var Ke=Le.which;if([].concat(ct,[Ze,We,$e,Xe]).includes(Ke)){var ke=ne(),Re=re(ke,W),ze=Re,it=ze.elements,Be=ze.key2element,Ie=ze.element2key,tt=Be.get(K),Ue=j(tt,it),Je=Ie.get(Ue),Bt=qe(P,q(Je,!0).length===1,G,Ke);if(!Bt&&Ke!==$e&&Ke!==Xe)return;(ct.includes(Ke)||[$e,Xe].includes(Ke))&&Le.preventDefault();var ut=function(At){if(At){var nn=At,Ye=At.querySelector("a");Ye!=null&&Ye.getAttribute("href")&&(nn=Ye);var an=Ie.get(At);ie(an),Fe(),Se.current=(0,U.Z)(function(){ye.current===an&&nn.focus()})}};if([$e,Xe].includes(Ke)||Bt.sibling||!Ue){var zt;!Ue||P==="inline"?zt=J.current:zt=pt(Ue);var wt,kt=ae(zt,it);Ke===$e?wt=kt[0]:Ke===Xe?wt=kt[kt.length-1]:wt=Z(zt,it,Ue,Bt.offset),ut(wt)}else if(Bt.inlineTrigger)be(Je);else if(Bt.offset>0)be(Je,!0),Fe(),Se.current=(0,U.Z)(function(){Re=re(ke,W);var Yt=Ue.getAttribute("aria-controls"),At=document.getElementById(Yt),nn=Z(At,Re.elements);ut(nn)},5);else if(Bt.offset<0){var Nt=q(Je,!0),Ft=Nt[Nt.length-2],Dt=Be.get(Ft);be(Ft,!1),ut(Dt)}}ge==null||ge(Le)}}function we(P){Promise.resolve().then(P)}var x="__RC_UTIL_PATH_SPLIT__",E=function(K){return K.join(x)},A=function(K){return K.split(x)},I="rc-menu-more";function ee(){var P=t.useState({}),K=(0,L.Z)(P,2),G=K[1],W=(0,t.useRef)(new Map),J=(0,t.useRef)(new Map),ne=t.useState([]),q=(0,L.Z)(ne,2),ie=q[0],be=q[1],ge=(0,t.useRef)(0),Se=(0,t.useRef)(!1),ye=function(){Se.current||G({})},Fe=(0,t.useCallback)(function(Be,Ie){var tt=E(Ie);J.current.set(tt,Be),W.current.set(Be,tt),ge.current+=1;var Ue=ge.current;we(function(){Ue===ge.current&&ye()})},[]),Le=(0,t.useCallback)(function(Be,Ie){var tt=E(Ie);J.current.delete(tt),W.current.delete(Be)},[]),Ke=(0,t.useCallback)(function(Be){be(Be)},[]),ke=(0,t.useCallback)(function(Be,Ie){var tt=W.current.get(Be)||"",Ue=A(tt);return Ie&&ie.includes(Ue[0])&&Ue.unshift(I),Ue},[ie]),Re=(0,t.useCallback)(function(Be,Ie){return Be.filter(function(tt){return tt!==void 0}).some(function(tt){var Ue=ke(tt,!0);return Ue.includes(Ie)})},[ke]),ze=function(){var Ie=(0,F.Z)(W.current.keys());return ie.length&&Ie.push(I),Ie},it=(0,t.useCallback)(function(Be){var Ie="".concat(W.current.get(Be)).concat(x),tt=new Set;return(0,F.Z)(J.current.keys()).forEach(function(Ue){Ue.startsWith(Ie)&&tt.add(J.current.get(Ue))}),tt},[]);return t.useEffect(function(){return function(){Se.current=!0}},[]),{registerPath:Fe,unregisterPath:Le,refreshOverflowKeys:Ke,isSubPathKey:Re,getKeyPath:ke,getKeys:ze,getSubPathKeys:it}}function X(P){var K=t.useRef(P);K.current=P;var G=t.useCallback(function(){for(var W,J=arguments.length,ne=new Array(J),q=0;q<J;q++)ne[q]=arguments[q];return(W=K.current)===null||W===void 0?void 0:W.call.apply(W,[K].concat(ne))},[]);return P?G:void 0}var ue=Math.random().toFixed(5).toString().slice(2),te=0;function he(P){var K=(0,b.Z)(P,{value:P}),G=(0,L.Z)(K,2),W=G[0],J=G[1];return t.useEffect(function(){te+=1;var ne="".concat(ue,"-").concat(te);J("rc-menu-uuid-".concat(ne))},[]),W}var ce=k(16552),le=k(19210),Ve=k(46654),et=k(37205),He=k(2738),at=k(8654);function je(P,K,G,W){var J=t.useContext(l),ne=J.activeKey,q=J.onActive,ie=J.onInactive,be={active:ne===P};return K||(be.onMouseEnter=function(ge){G==null||G({key:P,domEvent:ge}),q(P)},be.onMouseLeave=function(ge){W==null||W({key:P,domEvent:ge}),ie(P)}),be}function Te(P){var K=t.useContext(l),G=K.mode,W=K.rtl,J=K.inlineIndent;if(G!=="inline")return null;var ne=P;return W?{paddingRight:ne*J}:{paddingLeft:ne*J}}function Et(P){var K=P.icon,G=P.props,W=P.children,J;return K===null||K===!1?null:(typeof K=="function"?J=t.createElement(K,(0,V.Z)({},G)):typeof K!="boolean"&&(J=K),J||W||null)}var Ut=["item"];function $t(P){var K=P.item,G=(0,B.Z)(P,Ut);return Object.defineProperty(G,"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."),K}}),G}var en=["title","attribute","elementRef"],ln=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Mt=["active"],sn=function(P){(0,Ve.Z)(G,P);var K=(0,et.Z)(G);function G(){return(0,ce.Z)(this,G),K.apply(this,arguments)}return(0,le.Z)(G,[{key:"render",value:function(){var J=this.props,ne=J.title,q=J.attribute,ie=J.elementRef,be=(0,B.Z)(J,en),ge=(0,He.Z)(be,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,i.ZP)(!q,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(e.Z.Item,(0,S.Z)({},q,{title:typeof ne=="string"?ne:void 0},ge,{ref:ie}))}}]),G}(t.Component),dt=t.forwardRef(function(P,K){var G=P.style,W=P.className,J=P.eventKey,ne=P.warnKey,q=P.disabled,ie=P.itemIcon,be=P.children,ge=P.role,Se=P.onMouseEnter,ye=P.onMouseLeave,Fe=P.onClick,Le=P.onKeyDown,Ke=P.onFocus,ke=(0,B.Z)(P,ln),Re=h(J),ze=t.useContext(l),it=ze.prefixCls,Be=ze.onItemClick,Ie=ze.disabled,tt=ze.overflowDisabled,Ue=ze.itemIcon,Je=ze.selectedKeys,Bt=ze.onActive,ut=t.useContext(g),zt=ut._internalRenderMenuItem,wt="".concat(it,"-item"),kt=t.useRef(),Nt=t.useRef(),Ft=Ie||q,Dt=(0,at.x1)(K,Nt),Yt=Q(J),At=function(_t){return{key:J,keyPath:(0,F.Z)(Yt).reverse(),item:kt.current,domEvent:_t}},nn=ie||Ue,Ye=je(J,Ft,Se,ye),an=Ye.active,Nn=(0,B.Z)(Ye,Mt),rn=Je.includes(J),Rn=Te(Yt.length),Dn=function(_t){if(!Ft){var on=At(_t);Fe==null||Fe($t(on)),Be(on)}},Kt=function(_t){if(Le==null||Le(_t),_t.which===O.Z.ENTER){var on=At(_t);Fe==null||Fe($t(on)),Be(on)}},qt=function(_t){Bt(J),Ke==null||Ke(_t)},pn={};P.role==="option"&&(pn["aria-selected"]=rn);var kn=t.createElement(sn,(0,S.Z)({ref:kt,elementRef:Dt,role:ge===null?"none":ge||"menuitem",tabIndex:q?null:-1,"data-menu-id":tt&&Re?null:Re},(0,He.Z)(ke,["extra"]),Nn,pn,{component:"li","aria-disabled":q,style:(0,V.Z)((0,V.Z)({},Rn),G),className:M()(wt,(0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(wt,"-active"),an),"".concat(wt,"-selected"),rn),"".concat(wt,"-disabled"),Ft),W),onClick:Dn,onKeyDown:Kt,onFocus:qt}),be,t.createElement(Et,{props:(0,V.Z)((0,V.Z)({},P),{},{isSelected:rn}),icon:nn}));return zt&&(kn=zt(kn,P,{selected:rn})),kn});function Vt(P,K){var G=P.eventKey,W=D(),J=Q(G);return t.useEffect(function(){if(W)return W.registerPath(G,J),function(){W.unregisterPath(G,J)}},[J]),W?null:t.createElement(dt,(0,S.Z)({},P,{ref:K}))}var ot=t.forwardRef(Vt),tn=["className","children"],St=function(K,G){var W=K.className,J=K.children,ne=(0,B.Z)(K,tn),q=t.useContext(l),ie=q.prefixCls,be=q.mode,ge=q.rtl;return t.createElement("ul",(0,S.Z)({className:M()(ie,ge&&"".concat(ie,"-rtl"),"".concat(ie,"-sub"),"".concat(ie,"-").concat(be==="inline"?"inline":"vertical"),W),role:"menu"},ne,{"data-menu-list":!0,ref:G}),J)},nt=t.forwardRef(St);nt.displayName="SubMenuList";var pe=nt,yn=k(11592);function lt(P,K){return(0,yn.Z)(P).map(function(G,W){if(t.isValidElement(G)){var J,ne,q=G.key,ie=(J=(ne=G.props)===null||ne===void 0?void 0:ne.eventKey)!==null&&J!==void 0?J:q,be=ie==null;be&&(ie="tmp_key-".concat([].concat((0,F.Z)(K),[W]).join("-")));var ge={key:ie,eventKey:ie};return t.cloneElement(G,ge)}return G})}var ft=k(65352),Pe={adjustX:1,adjustY:1},It={topLeft:{points:["bl","tl"],overflow:Pe},topRight:{points:["br","tr"],overflow:Pe},bottomLeft:{points:["tl","bl"],overflow:Pe},bottomRight:{points:["tr","br"],overflow:Pe},leftTop:{points:["tr","tl"],overflow:Pe},leftBottom:{points:["br","bl"],overflow:Pe},rightTop:{points:["tl","tr"],overflow:Pe},rightBottom:{points:["bl","br"],overflow:Pe}},_n={topLeft:{points:["bl","tl"],overflow:Pe},topRight:{points:["br","tr"],overflow:Pe},bottomLeft:{points:["tl","bl"],overflow:Pe},bottomRight:{points:["tr","br"],overflow:Pe},rightTop:{points:["tr","tl"],overflow:Pe},rightBottom:{points:["br","bl"],overflow:Pe},leftTop:{points:["tl","tr"],overflow:Pe},leftBottom:{points:["bl","br"],overflow:Pe}},fn=null;function Ge(P,K,G){if(K)return K;if(G)return G[P]||G.other}var Tt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Rt(P){var K=P.prefixCls,G=P.visible,W=P.children,J=P.popup,ne=P.popupStyle,q=P.popupClassName,ie=P.popupOffset,be=P.disabled,ge=P.mode,Se=P.onVisibleChange,ye=t.useContext(l),Fe=ye.getPopupContainer,Le=ye.rtl,Ke=ye.subMenuOpenDelay,ke=ye.subMenuCloseDelay,Re=ye.builtinPlacements,ze=ye.triggerSubMenuAction,it=ye.forceSubMenuRender,Be=ye.rootClassName,Ie=ye.motion,tt=ye.defaultMotions,Ue=t.useState(!1),Je=(0,L.Z)(Ue,2),Bt=Je[0],ut=Je[1],zt=Le?(0,V.Z)((0,V.Z)({},_n),Re):(0,V.Z)((0,V.Z)({},It),Re),wt=Tt[ge],kt=Ge(ge,Ie,tt),Nt=t.useRef(kt);ge!=="inline"&&(Nt.current=kt);var Ft=(0,V.Z)((0,V.Z)({},Nt.current),{},{leavedClassName:"".concat(K,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Dt=t.useRef();return t.useEffect(function(){return Dt.current=(0,U.Z)(function(){ut(G)}),function(){U.Z.cancel(Dt.current)}},[G]),t.createElement(ft.Z,{prefixCls:K,popupClassName:M()("".concat(K,"-popup"),(0,C.Z)({},"".concat(K,"-rtl"),Le),q,Be),stretch:ge==="horizontal"?"minWidth":null,getPopupContainer:Fe,builtinPlacements:zt,popupPlacement:wt,popupVisible:Bt,popup:J,popupStyle:ne,popupAlign:ie&&{offset:ie},action:be?[]:[ze],mouseEnterDelay:Ke,mouseLeaveDelay:ke,onPopupVisibleChange:Se,forceRender:it,popupMotion:Ft,fresh:!0},W)}var hn=k(77900);function Ht(P){var K=P.id,G=P.open,W=P.keyPath,J=P.children,ne="inline",q=t.useContext(l),ie=q.prefixCls,be=q.forceSubMenuRender,ge=q.motion,Se=q.defaultMotions,ye=q.mode,Fe=t.useRef(!1);Fe.current=ye===ne;var Le=t.useState(!Fe.current),Ke=(0,L.Z)(Le,2),ke=Ke[0],Re=Ke[1],ze=Fe.current?G:!1;t.useEffect(function(){Fe.current&&Re(!1)},[ye]);var it=(0,V.Z)({},Ge(ne,ge,Se));W.length>1&&(it.motionAppear=!1);var Be=it.onVisibleChanged;return it.onVisibleChanged=function(Ie){return!Fe.current&&!Ie&&Re(!0),Be==null?void 0:Be(Ie)},ke?null:t.createElement(w,{mode:ne,locked:!Fe.current},t.createElement(hn.default,(0,S.Z)({visible:ze},it,{forceRender:be,removeOnLeave:!1,leavedClassName:"".concat(ie,"-hidden")}),function(Ie){var tt=Ie.className,Ue=Ie.style;return t.createElement(pe,{id:K,className:tt,style:Ue},J)}))}var mt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Gt=["active"],vt=t.forwardRef(function(P,K){var G=P.style,W=P.className,J=P.title,ne=P.eventKey,q=P.warnKey,ie=P.disabled,be=P.internalPopupClose,ge=P.children,Se=P.itemIcon,ye=P.expandIcon,Fe=P.popupClassName,Le=P.popupOffset,Ke=P.popupStyle,ke=P.onClick,Re=P.onMouseEnter,ze=P.onMouseLeave,it=P.onTitleClick,Be=P.onTitleMouseEnter,Ie=P.onTitleMouseLeave,tt=(0,B.Z)(P,mt),Ue=h(ne),Je=t.useContext(l),Bt=Je.prefixCls,ut=Je.mode,zt=Je.openKeys,wt=Je.disabled,kt=Je.overflowDisabled,Nt=Je.activeKey,Ft=Je.selectedKeys,Dt=Je.itemIcon,Yt=Je.expandIcon,At=Je.onItemClick,nn=Je.onOpenChange,Ye=Je.onActive,an=t.useContext(g),Nn=an._internalRenderSubMenuItem,rn=t.useContext(z),Rn=rn.isSubPathKey,Dn=Q(),Kt="".concat(Bt,"-submenu"),qt=wt||ie,pn=t.useRef(),kn=t.useRef(),dn=Se!=null?Se:Dt,_t=ye!=null?ye:Yt,on=zt.includes(ne),mn=!kt&&on,un=Rn(Ft,ne),Qt=je(ne,qt,Be,Ie),vn=Qt.active,Ln=(0,B.Z)(Qt,Gt),wn=t.useState(!1),zn=(0,L.Z)(wn,2),jn=zn[0],Wn=zn[1],An=function(Ct){qt||Wn(Ct)},Un=function(Ct){An(!0),Re==null||Re({key:ne,domEvent:Ct})},$n=function(Ct){An(!1),ze==null||ze({key:ne,domEvent:Ct})},Fn=t.useMemo(function(){return vn||(ut!=="inline"?jn||Rn([Nt],ne):!1)},[ut,vn,Nt,jn,ne,Rn]),gn=Te(Dn.length),Vn=function(Ct){qt||(it==null||it({key:ne,domEvent:Ct}),ut==="inline"&&nn(ne,!on))},Hn=X(function(yt){ke==null||ke($t(yt)),At(yt)}),Kn=function(Ct){ut!=="inline"&&nn(ne,Ct)},Bn=function(){Ye(ne)},Zn=Ue&&"".concat(Ue,"-popup"),On=t.useMemo(function(){return t.createElement(Et,{icon:ut!=="horizontal"?_t:void 0,props:(0,V.Z)((0,V.Z)({},P),{},{isOpen:mn,isSubMenu:!0})},t.createElement("i",{className:"".concat(Kt,"-arrow")}))},[ut,_t,P,mn,Kt]),Xt=t.createElement("div",(0,S.Z)({role:"menuitem",style:gn,className:"".concat(Kt,"-title"),tabIndex:qt?null:-1,ref:pn,title:typeof J=="string"?J:null,"data-menu-id":kt&&Ue?null:Ue,"aria-expanded":mn,"aria-haspopup":!0,"aria-controls":Zn,"aria-disabled":qt,onClick:Vn,onFocus:Bn},Ln),J,On),Cn=t.useRef(ut);if(ut!=="inline"&&Dn.length>1?Cn.current="vertical":Cn.current=ut,!kt){var Jt=Cn.current;Xt=t.createElement(Rt,{mode:Jt,prefixCls:Kt,visible:!be&&mn&&ut!=="inline",popupClassName:Fe,popupOffset:Le,popupStyle:Ke,popup:t.createElement(w,{mode:Jt==="horizontal"?"vertical":Jt},t.createElement(pe,{id:Zn,ref:kn},ge)),disabled:qt,onVisibleChange:Kn},Xt)}var Mn=t.createElement(e.Z.Item,(0,S.Z)({ref:K,role:"none"},tt,{component:"li",style:G,className:M()(Kt,"".concat(Kt,"-").concat(ut),W,(0,C.Z)((0,C.Z)((0,C.Z)((0,C.Z)({},"".concat(Kt,"-open"),mn),"".concat(Kt,"-active"),Fn),"".concat(Kt,"-selected"),un),"".concat(Kt,"-disabled"),qt)),onMouseEnter:Un,onMouseLeave:$n}),Xt,!kt&&t.createElement(Ht,{id:Zn,open:mn,keyPath:Dn},ge));return Nn&&(Mn=Nn(Mn,P,{selected:un,active:Fn,open:mn,disabled:qt})),t.createElement(w,{onItemClick:Hn,mode:ut==="horizontal"?"vertical":ut,itemIcon:dn,expandIcon:_t},Mn)}),cn=t.forwardRef(function(P,K){var G=P.eventKey,W=P.children,J=Q(G),ne=lt(W,J),q=D();t.useEffect(function(){if(q)return q.registerPath(G,J),function(){q.unregisterPath(G,J)}},[J]);var ie;return q?ie=ne:ie=t.createElement(vt,(0,S.Z)({ref:K},P),ne),t.createElement($.Provider,{value:J},ie)}),Lt=cn,Pt=k(28788);function Zt(P){var K=P.className,G=P.style,W=t.useContext(l),J=W.prefixCls,ne=D();return ne?null:t.createElement("li",{role:"separator",className:M()("".concat(J,"-item-divider"),K),style:G})}var bn=["className","title","eventKey","children"],jt=t.forwardRef(function(P,K){var G=P.className,W=P.title,J=P.eventKey,ne=P.children,q=(0,B.Z)(P,bn),ie=t.useContext(l),be=ie.prefixCls,ge="".concat(be,"-item-group");return t.createElement("li",(0,S.Z)({ref:K,role:"presentation"},q,{onClick:function(ye){return ye.stopPropagation()},className:M()(ge,G)}),t.createElement("div",{role:"presentation",className:"".concat(ge,"-title"),title:typeof W=="string"?W:void 0},W),t.createElement("ul",{role:"group",className:"".concat(ge,"-list")},ne))}),Tn=t.forwardRef(function(P,K){var G=P.eventKey,W=P.children,J=Q(G),ne=lt(W,J),q=D();return q?ne:t.createElement(jt,(0,S.Z)({ref:K},(0,He.Z)(P,["warnKey"])),ne)}),Qe=Tn,Pn=["label","children","key","type","extra"];function fe(P,K,G){var W=K.item,J=K.group,ne=K.submenu,q=K.divider;return(P||[]).map(function(ie,be){if(ie&&(0,Pt.Z)(ie)==="object"){var ge=ie,Se=ge.label,ye=ge.children,Fe=ge.key,Le=ge.type,Ke=ge.extra,ke=(0,B.Z)(ge,Pn),Re=Fe!=null?Fe:"tmp-".concat(be);return ye||Le==="group"?Le==="group"?t.createElement(J,(0,S.Z)({key:Re},ke,{title:Se}),fe(ye,K,G)):t.createElement(ne,(0,S.Z)({key:Re},ke,{title:Se}),fe(ye,K,G)):Le==="divider"?t.createElement(q,(0,S.Z)({key:Re},ke)):t.createElement(W,(0,S.Z)({key:Re},ke,{extra:Ke}),Se,(!!Ke||Ke===0)&&t.createElement("span",{className:"".concat(G,"-item-extra")},Ke))}return null}).filter(function(ie){return ie})}function oe(P,K,G,W,J){var ne=P,q=(0,V.Z)({divider:Zt,item:ot,group:Qe,submenu:Lt},W);return K&&(ne=fe(K,q,J)),lt(ne,G)}var Ne=["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","_internalComponents"],Me=[],gt=t.forwardRef(function(P,K){var G,W=P,J=W.prefixCls,ne=J===void 0?"rc-menu":J,q=W.rootClassName,ie=W.style,be=W.className,ge=W.tabIndex,Se=ge===void 0?0:ge,ye=W.items,Fe=W.children,Le=W.direction,Ke=W.id,ke=W.mode,Re=ke===void 0?"vertical":ke,ze=W.inlineCollapsed,it=W.disabled,Be=W.disabledOverflow,Ie=W.subMenuOpenDelay,tt=Ie===void 0?.1:Ie,Ue=W.subMenuCloseDelay,Je=Ue===void 0?.1:Ue,Bt=W.forceSubMenuRender,ut=W.defaultOpenKeys,zt=W.openKeys,wt=W.activeKey,kt=W.defaultActiveFirst,Nt=W.selectable,Ft=Nt===void 0?!0:Nt,Dt=W.multiple,Yt=Dt===void 0?!1:Dt,At=W.defaultSelectedKeys,nn=W.selectedKeys,Ye=W.onSelect,an=W.onDeselect,Nn=W.inlineIndent,rn=Nn===void 0?24:Nn,Rn=W.motion,Dn=W.defaultMotions,Kt=W.triggerSubMenuAction,qt=Kt===void 0?"hover":Kt,pn=W.builtinPlacements,kn=W.itemIcon,dn=W.expandIcon,_t=W.overflowedIndicator,on=_t===void 0?"...":_t,mn=W.overflowedIndicatorPopupClassName,un=W.getPopupContainer,Qt=W.onClick,vn=W.onOpenChange,Ln=W.onKeyDown,wn=W.openAnimation,zn=W.openTransitionName,jn=W._internalRenderMenuItem,Wn=W._internalRenderSubMenuItem,An=W._internalComponents,Un=(0,B.Z)(W,Ne),$n=t.useMemo(function(){return[oe(Fe,ye,Me,An,ne),oe(Fe,ye,Me,{},ne)]},[Fe,ye,An]),Fn=(0,L.Z)($n,2),gn=Fn[0],Vn=Fn[1],Hn=t.useState(!1),Kn=(0,L.Z)(Hn,2),Bn=Kn[0],Zn=Kn[1],On=t.useRef(),Xt=he(Ke),Cn=Le==="rtl",Jt=(0,b.Z)(ut,{value:zt,postState:function(st){return st||Me}}),Mn=(0,L.Z)(Jt,2),yt=Mn[0],Ct=Mn[1],Sn=function(st){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function xn(){Ct(st),vn==null||vn(st)}bt?(0,s.flushSync)(xn):xn()},Gn=t.useState(yt),Qn=(0,L.Z)(Gn,2),tr=Qn[0],nr=Qn[1],Xn=t.useRef(!1),ve=t.useMemo(function(){return(Re==="inline"||Re==="vertical")&&ze?["vertical",ze]:[Re,!1]},[Re,ze]),Oe=(0,L.Z)(ve,2),rt=Oe[0],xt=Oe[1],ht=rt==="inline",Yn=t.useState(rt),qn=(0,L.Z)(Yn,2),In=qn[0],er=qn[1],kr=t.useState(xt),hr=(0,L.Z)(kr,2),Or=hr[0],Sr=hr[1];t.useEffect(function(){er(rt),Sr(xt),Xn.current&&(ht?Ct(tr):Sn(Me))},[rt,xt]);var Tr=t.useState(0),cr=(0,L.Z)(Tr,2),sr=cr[0],Pr=cr[1],ur=sr>=gn.length-1||In!=="horizontal"||Be;t.useEffect(function(){ht&&nr(yt)},[yt]),t.useEffect(function(){return Xn.current=!0,function(){Xn.current=!1}},[]);var Jn=ee(),pr=Jn.registerPath,dr=Jn.unregisterPath,Nr=Jn.refreshOverflowKeys,mr=Jn.isSubPathKey,Dr=Jn.getKeyPath,vr=Jn.getKeys,Ar=Jn.getSubPathKeys,Cr=t.useMemo(function(){return{registerPath:pr,unregisterPath:dr}},[pr,dr]),Mr=t.useMemo(function(){return{isSubPathKey:mr}},[mr]);t.useEffect(function(){Nr(ur?Me:gn.slice(sr+1).map(function(Ot){return Ot.key}))},[sr,ur]);var Ir=(0,b.Z)(wt||kt&&((G=gn[0])===null||G===void 0?void 0:G.key),{value:wt}),gr=(0,L.Z)(Ir,2),rr=gr[0],lr=gr[1],Lr=X(function(Ot){lr(Ot)}),jr=X(function(){lr(void 0)});(0,t.useImperativeHandle)(K,function(){return{list:On.current,focus:function(st){var bt,xn=vr(),En=re(xn,Xt),or=En.elements,_r=En.key2element,Hr=En.element2key,wr=ae(On.current,or),xr=rr!=null?rr:wr[0]?Hr.get(wr[0]):(bt=gn.find(function(Gr){return!Gr.props.disabled}))===null||bt===void 0?void 0:bt.key,ir=_r.get(xr);if(xr&&ir){var fr;ir==null||(fr=ir.focus)===null||fr===void 0||fr.call(ir,st)}}}});var Fr=(0,b.Z)(At||[],{value:nn,postState:function(st){return Array.isArray(st)?st:st==null?Me:[st]}}),yr=(0,L.Z)(Fr,2),ar=yr[0],Kr=yr[1],Zr=function(st){if(Ft){var bt=st.key,xn=ar.includes(bt),En;Yt?xn?En=ar.filter(function(_r){return _r!==bt}):En=[].concat((0,F.Z)(ar),[bt]):En=[bt],Kr(En);var or=(0,V.Z)((0,V.Z)({},st),{},{selectedKeys:En});xn?an==null||an(or):Ye==null||Ye(or)}!Yt&&yt.length&&In!=="inline"&&Sn(Me)},Wr=X(function(Ot){Qt==null||Qt($t(Ot)),Zr(Ot)}),br=X(function(Ot,st){var bt=yt.filter(function(En){return En!==Ot});if(st)bt.push(Ot);else if(In!=="inline"){var xn=Ar(Ot);bt=bt.filter(function(En){return!xn.has(En)})}(0,o.Z)(yt,bt,!0)||Sn(bt,!0)}),Br=function(st,bt){var xn=bt!=null?bt:!yt.includes(st);br(st,xn)},zr=me(In,rr,Cn,Xt,On,vr,Dr,lr,Br,Ln);t.useEffect(function(){Zn(!0)},[]);var Ur=t.useMemo(function(){return{_internalRenderMenuItem:jn,_internalRenderSubMenuItem:Wn}},[jn,Wn]),$r=In!=="horizontal"||Be?gn:gn.map(function(Ot,st){return t.createElement(w,{key:Ot.key,overflowDisabled:st>sr},Ot)}),Vr=t.createElement(e.Z,(0,S.Z)({id:Ke,ref:On,prefixCls:"".concat(ne,"-overflow"),component:"ul",itemComponent:ot,className:M()(ne,"".concat(ne,"-root"),"".concat(ne,"-").concat(In),be,(0,C.Z)((0,C.Z)({},"".concat(ne,"-inline-collapsed"),Or),"".concat(ne,"-rtl"),Cn),q),dir:Le,style:ie,role:"menu",tabIndex:Se,data:$r,renderRawItem:function(st){return st},renderRawRest:function(st){var bt=st.length,xn=bt?gn.slice(-bt):null;return t.createElement(Lt,{eventKey:I,title:on,disabled:ur,internalPopupClose:bt===0,popupClassName:mn},xn)},maxCount:In!=="horizontal"||Be?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(st){Pr(st)},onKeyDown:zr},Un));return t.createElement(g.Provider,{value:Ur},t.createElement(a.Provider,{value:Xt},t.createElement(w,{prefixCls:ne,rootClassName:q,mode:In,openKeys:yt,rtl:Cn,disabled:it,motion:Bn?Rn:null,defaultMotions:Bn?Dn:null,activeKey:rr,onActive:Lr,onInactive:jr,selectedKeys:ar,inlineIndent:rn,subMenuOpenDelay:tt,subMenuCloseDelay:Je,forceSubMenuRender:Bt,builtinPlacements:pn,triggerSubMenuAction:qt,getPopupContainer:un,itemIcon:kn,expandIcon:dn,onItemClick:Wr,onOpenChange:br},t.createElement(z.Provider,{value:Mr},Vr),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(N.Provider,{value:Cr},Vn)))))}),Wt=gt,Ee=Wt;Ee.Item=ot,Ee.SubMenu=Lt,Ee.ItemGroup=Qe,Ee.Divider=Zt;var De=Ee},11780:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return v}});var S=k(71409),C=k(89490),V=k(11036),F=k(39224),L=k(59301),B=k(92310),H=k.n(B),M=k(29301),e=k(34280),b=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],o=void 0;function i(n,r){var f=n.prefixCls,O=n.invalidate,U=n.item,Y=n.renderItem,_e=n.responsive,de=n.responsiveDisabled,Ce=n.registerSize,Ze=n.itemKey,We=n.className,$e=n.style,Xe=n.children,ct=n.display,qe=n.order,pt=n.component,j=pt===void 0?"div":pt,ae=(0,F.Z)(n,b),Z=_e&&!ct;function re(A){Ce(Ze,A)}L.useEffect(function(){return function(){re(null)}},[]);var me=Y&&U!==o?Y(U,{index:qe}):Xe,we;O||(we={opacity:Z?0:1,height:Z?0:o,overflowY:Z?"hidden":o,order:_e?qe:o,pointerEvents:Z?"none":o,position:Z?"absolute":o});var x={};Z&&(x["aria-hidden"]=!0);var E=L.createElement(j,(0,S.Z)({className:H()(!O&&f,We),style:(0,C.Z)((0,C.Z)({},we),$e)},x,ae,{ref:r}),me);return _e&&(E=L.createElement(M.Z,{onResize:function(I){var ee=I.offsetWidth;re(ee)},disabled:de},E)),E}var t=L.forwardRef(i);t.displayName="Item";var s=t,a=k(6089),p=k(4676),h=k(16089);function c(n){if(typeof MessageChannel=="undefined")(0,h.Z)(n);else{var r=new MessageChannel;r.port1.onmessage=function(){return n()},r.port2.postMessage(void 0)}}function u(){var n=L.useRef(null),r=function(O){n.current||(n.current=[],c(function(){(0,p.unstable_batchedUpdates)(function(){n.current.forEach(function(U){U()}),n.current=null})})),n.current.push(O)};return r}function l(n,r){var f=L.useState(r),O=(0,V.Z)(f,2),U=O[0],Y=O[1],_e=(0,a.Z)(function(de){n(function(){Y(de)})});return[U,_e]}var y=L.createContext(null),w=["component"],T=["className"],N=["className"],D=function(r,f){var O=L.useContext(y);if(!O){var U=r.component,Y=U===void 0?"div":U,_e=(0,F.Z)(r,w);return L.createElement(Y,(0,S.Z)({},_e,{ref:f}))}var de=O.className,Ce=(0,F.Z)(O,T),Ze=r.className,We=(0,F.Z)(r,N);return L.createElement(y.Provider,{value:null},L.createElement(s,(0,S.Z)({ref:f,className:H()(de,Ze)},Ce,We)))},$=L.forwardRef(D);$.displayName="RawItem";var Q=$,z=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],xe="responsive",g="invalidate";function _(n){return"+ ".concat(n.length," ...")}function d(n,r){var f=n.prefixCls,O=f===void 0?"rc-overflow":f,U=n.data,Y=U===void 0?[]:U,_e=n.renderItem,de=n.renderRawItem,Ce=n.itemKey,Ze=n.itemWidth,We=Ze===void 0?10:Ze,$e=n.ssr,Xe=n.style,ct=n.className,qe=n.maxCount,pt=n.renderRest,j=n.renderRawRest,ae=n.suffix,Z=n.component,re=Z===void 0?"div":Z,me=n.itemComponent,we=n.onVisibleChange,x=(0,F.Z)(n,z),E=$e==="full",A=u(),I=l(A,null),ee=(0,V.Z)(I,2),X=ee[0],ue=ee[1],te=X||0,he=l(A,new Map),ce=(0,V.Z)(he,2),le=ce[0],Ve=ce[1],et=l(A,0),He=(0,V.Z)(et,2),at=He[0],je=He[1],Te=l(A,0),Et=(0,V.Z)(Te,2),Ut=Et[0],$t=Et[1],en=l(A,0),ln=(0,V.Z)(en,2),Mt=ln[0],sn=ln[1],dt=(0,L.useState)(null),Vt=(0,V.Z)(dt,2),ot=Vt[0],tn=Vt[1],St=(0,L.useState)(null),nt=(0,V.Z)(St,2),pe=nt[0],yn=nt[1],lt=L.useMemo(function(){return pe===null&&E?Number.MAX_SAFE_INTEGER:pe||0},[pe,X]),ft=(0,L.useState)(!1),Pe=(0,V.Z)(ft,2),It=Pe[0],_n=Pe[1],fn="".concat(O,"-item"),Ge=Math.max(at,Ut),Tt=qe===xe,Rt=Y.length&&Tt,hn=qe===g,Ht=Rt||typeof qe=="number"&&Y.length>qe,mt=(0,L.useMemo)(function(){var Ee=Y;return Rt?X===null&&E?Ee=Y:Ee=Y.slice(0,Math.min(Y.length,te/We)):typeof qe=="number"&&(Ee=Y.slice(0,qe)),Ee},[Y,We,X,qe,Rt]),Gt=(0,L.useMemo)(function(){return Rt?Y.slice(lt+1):Y.slice(mt.length)},[Y,mt,Rt,lt]),vt=(0,L.useCallback)(function(Ee,De){var P;return typeof Ce=="function"?Ce(Ee):(P=Ce&&(Ee==null?void 0:Ee[Ce]))!==null&&P!==void 0?P:De},[Ce]),cn=(0,L.useCallback)(_e||function(Ee){return Ee},[_e]);function Lt(Ee,De,P){pe===Ee&&(De===void 0||De===ot)||(yn(Ee),P||(_n(Ee<Y.length-1),we==null||we(Ee)),De!==void 0&&tn(De))}function Pt(Ee,De){ue(De.clientWidth)}function Zt(Ee,De){Ve(function(P){var K=new Map(P);return De===null?K.delete(Ee):K.set(Ee,De),K})}function bn(Ee,De){$t(De),je(Ut)}function jt(Ee,De){sn(De)}function Tn(Ee){return le.get(vt(mt[Ee],Ee))}(0,e.Z)(function(){if(te&&typeof Ge=="number"&&mt){var Ee=Mt,De=mt.length,P=De-1;if(!De){Lt(0,null);return}for(var K=0;K<De;K+=1){var G=Tn(K);if(E&&(G=G||0),G===void 0){Lt(K-1,void 0,!0);break}if(Ee+=G,P===0&&Ee<=te||K===P-1&&Ee+Tn(P)<=te){Lt(P,null);break}else if(Ee+Ge>te){Lt(K-1,Ee-G-Mt+Ut);break}}ae&&Tn(0)+Mt>te&&tn(null)}},[te,le,Ut,Mt,vt,mt]);var Qe=It&&!!Gt.length,Pn={};ot!==null&&Rt&&(Pn={position:"absolute",left:ot,top:0});var fe={prefixCls:fn,responsive:Rt,component:me,invalidate:hn},oe=de?function(Ee,De){var P=vt(Ee,De);return L.createElement(y.Provider,{key:P,value:(0,C.Z)((0,C.Z)({},fe),{},{order:De,item:Ee,itemKey:P,registerSize:Zt,display:De<=lt})},de(Ee,De))}:function(Ee,De){var P=vt(Ee,De);return L.createElement(s,(0,S.Z)({},fe,{order:De,key:P,item:Ee,renderItem:cn,itemKey:P,registerSize:Zt,display:De<=lt}))},Ne={order:Qe?lt:Number.MAX_SAFE_INTEGER,className:"".concat(fn,"-rest"),registerSize:bn,display:Qe},Me=pt||_,gt=j?L.createElement(y.Provider,{value:(0,C.Z)((0,C.Z)({},fe),Ne)},j(Gt)):L.createElement(s,(0,S.Z)({},fe,Ne),typeof Me=="function"?Me(Gt):Me),Wt=L.createElement(re,(0,S.Z)({className:H()(!hn&&O,ct),style:Xe,ref:r},x),mt.map(oe),Ht?gt:null,ae&&L.createElement(s,(0,S.Z)({},fe,{responsive:Tt,responsiveDisabled:!Rt,order:lt,className:"".concat(fn,"-suffix"),registerSize:jt,display:!0,style:Pn}),ae));return Tt?L.createElement(M.Z,{onResize:Pt,disabled:!Rt},Wt):Wt}var m=L.forwardRef(d);m.displayName="Overflow",m.Item=Q,m.RESPONSIVE=xe,m.INVALIDATE=g;var R=m,v=R},29301:function(Ae,se,k){"use strict";k.d(se,{Z:function(){return g}});var S=k(71409),C=k(59301),V=k(11592),F=k(48736),L=k(89490),B=k(28788),H=k(76846),M=k(8654),e=C.createContext(null);function b(_){var d=_.children,m=_.onBatchResize,R=C.useRef(0),v=C.useRef([]),n=C.useContext(e),r=C.useCallback(function(f,O,U){R.current+=1;var Y=R.current;v.current.push({size:f,element:O,data:U}),Promise.resolve().then(function(){Y===R.current&&(m==null||m(v.current),v.current=[])}),n==null||n(f,O,U)},[m,n]);return C.createElement(e.Provider,{value:r},d)}var o=k(76374),i=new Map;function t(_){_.forEach(function(d){var m,R=d.target;(m=i.get(R))===null||m===void 0||m.forEach(function(v){return v(R)})})}var s=new o.Z(t),a=null,p=null;function h(_,d){i.has(_)||(i.set(_,new Set),s.observe(_)),i.get(_).add(d)}function c(_,d){i.has(_)&&(i.get(_).delete(d),i.get(_).size||(s.unobserve(_),i.delete(_)))}var u=k(16552),l=k(19210),y=k(46654),w=k(37205),T=function(_){(0,y.Z)(m,_);var d=(0,w.Z)(m);function m(){return(0,u.Z)(this,m),d.apply(this,arguments)}return(0,l.Z)(m,[{key:"render",value:function(){return this.props.children}}]),m}(C.Component);function N(_,d){var m=_.children,R=_.disabled,v=C.useRef(null),n=C.useRef(null),r=C.useContext(e),f=typeof m=="function",O=f?m(v):m,U=C.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),Y=!f&&C.isValidElement(O)&&(0,M.Yr)(O),_e=Y?(0,M.C4)(O):null,de=(0,M.x1)(_e,v),Ce=function(){var Xe;return(0,H.ZP)(v.current)||(v.current&&(0,B.Z)(v.current)==="object"?(0,H.ZP)((Xe=v.current)===null||Xe===void 0?void 0:Xe.nativeElement):null)||(0,H.ZP)(n.current)};C.useImperativeHandle(d,function(){return Ce()});var Ze=C.useRef(_);Ze.current=_;var We=C.useCallback(function($e){var Xe=Ze.current,ct=Xe.onResize,qe=Xe.data,pt=$e.getBoundingClientRect(),j=pt.width,ae=pt.height,Z=$e.offsetWidth,re=$e.offsetHeight,me=Math.floor(j),we=Math.floor(ae);if(U.current.width!==me||U.current.height!==we||U.current.offsetWidth!==Z||U.current.offsetHeight!==re){var x={width:me,height:we,offsetWidth:Z,offsetHeight:re};U.current=x;var E=Z===Math.round(j)?j:Z,A=re===Math.round(ae)?ae:re,I=(0,L.Z)((0,L.Z)({},x),{},{offsetWidth:E,offsetHeight:A});r==null||r(I,$e,qe),ct&&Promise.resolve().then(function(){ct(I,$e)})}},[]);return C.useEffect(function(){var $e=Ce();return $e&&!R&&h($e,We),function(){return c($e,We)}},[v.current,R]),C.createElement(T,{ref:n},Y?C.cloneElement(O,{ref:de}):O)}var D=C.forwardRef(N),$=D,Q="rc-observer-key";function z(_,d){var m=_.children,R=typeof m=="function"?[m]:(0,V.Z)(m);return R.map(function(v,n){var r=(v==null?void 0:v.key)||"".concat(Q,"-").concat(n);return C.createElement($,(0,S.Z)({},_,{key:r,ref:n===0?d:void 0}),v)})}var xe=C.forwardRef(z);xe.Collection=b;var g=xe},29125:function(Ae,se,k){"use strict";k.d(se,{G:function(){return F},Z:function(){return c}});var S=k(92310),C=k.n(S),V=k(59301);function F(u){var l=u.children,y=u.prefixCls,w=u.id,T=u.overlayInnerStyle,N=u.bodyClassName,D=u.className,$=u.style;return V.createElement("div",{className:C()("".concat(y,"-content"),D),style:$},V.createElement("div",{className:C()("".concat(y,"-inner"),N),id:w,role:"tooltip",style:T},typeof l=="function"?l():l))}var L=k(71409),B=k(89490),H=k(39224),M=k(65352),e={shiftX:64,adjustY:1},b={adjustX:1,shiftY:!0},o=[0,0],i={left:{points:["cr","cl"],overflow:b,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:b,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:e,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:e,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:e,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:b,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:e,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:b,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:e,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:b,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:e,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:b,offset:[-4,0],targetOffset:o}},t=null,s=k(80402),a=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],p=function(l,y){var w=l.overlayClassName,T=l.trigger,N=T===void 0?["hover"]:T,D=l.mouseEnterDelay,$=D===void 0?0:D,Q=l.mouseLeaveDelay,z=Q===void 0?.1:Q,xe=l.overlayStyle,g=l.prefixCls,_=g===void 0?"rc-tooltip":g,d=l.children,m=l.onVisibleChange,R=l.afterVisibleChange,v=l.transitionName,n=l.animation,r=l.motion,f=l.placement,O=f===void 0?"right":f,U=l.align,Y=U===void 0?{}:U,_e=l.destroyTooltipOnHide,de=_e===void 0?!1:_e,Ce=l.defaultVisible,Ze=l.getTooltipContainer,We=l.overlayInnerStyle,$e=l.arrowContent,Xe=l.overlay,ct=l.id,qe=l.showArrow,pt=qe===void 0?!0:qe,j=l.classNames,ae=l.styles,Z=(0,H.Z)(l,a),re=(0,s.Z)(ct),me=(0,V.useRef)(null);(0,V.useImperativeHandle)(y,function(){return me.current});var we=(0,B.Z)({},Z);"visible"in l&&(we.popupVisible=l.visible);var x=function(){return V.createElement(F,{key:"content",prefixCls:_,id:re,bodyClassName:j==null?void 0:j.body,overlayInnerStyle:(0,B.Z)((0,B.Z)({},We),ae==null?void 0:ae.body)},Xe)},E=function(){var I=V.Children.only(d),ee=(I==null?void 0:I.props)||{},X=(0,B.Z)((0,B.Z)({},ee),{},{"aria-describedby":Xe?re:null});return V.cloneElement(d,X)};return V.createElement(M.Z,(0,L.Z)({popupClassName:C()(w,j==null?void 0:j.root),prefixCls:_,popup:x,action:N,builtinPlacements:i,popupPlacement:O,ref:me,popupAlign:Y,getPopupContainer:Ze,onPopupVisibleChange:m,afterPopupVisibleChange:R,popupTransitionName:v,popupAnimation:n,popupMotion:r,defaultPopupVisible:Ce,autoDestroy:de,mouseLeaveDelay:z,popupStyle:(0,B.Z)((0,B.Z)({},xe),ae==null?void 0:ae.root),mouseEnterDelay:$,arrow:pt},we),E())},h=(0,V.forwardRef)(p),c=h},49658:function(Ae,se){"use strict";se.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var k=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(k)||/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(k==null?void 0:k.substr(0,4))}},83145:function(Ae,se,k){"use strict";Object.defineProperty(se,"__esModule",{value:!0}),se.CopyToClipboard=void 0;var S=V(k(59301)),C=V(k(25769));function V(u){return u&&u.__esModule?u:{default:u}}function F(u){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?F=function(y){return typeof y}:F=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},F(u)}function L(u,l){var y=Object.keys(u);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(u);l&&(w=w.filter(function(T){return Object.getOwnPropertyDescriptor(u,T).enumerable})),y.push.apply(y,w)}return y}function B(u){for(var l=1;l<arguments.length;l++){var y=arguments[l]!=null?arguments[l]:{};l%2?L(y,!0).forEach(function(w){h(u,w,y[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(y)):L(y).forEach(function(w){Object.defineProperty(u,w,Object.getOwnPropertyDescriptor(y,w))})}return u}function H(u,l){if(u==null)return{};var y=M(u,l),w,T;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(u);for(T=0;T<N.length;T++)w=N[T],!(l.indexOf(w)>=0)&&Object.prototype.propertyIsEnumerable.call(u,w)&&(y[w]=u[w])}return y}function M(u,l){if(u==null)return{};var y={},w=Object.keys(u),T,N;for(N=0;N<w.length;N++)T=w[N],!(l.indexOf(T)>=0)&&(y[T]=u[T]);return y}function e(u,l){if(!(u instanceof l))throw new TypeError("Cannot call a class as a function")}function b(u,l){for(var y=0;y<l.length;y++){var w=l[y];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(u,w.key,w)}}function o(u,l,y){return l&&b(u.prototype,l),y&&b(u,y),u}function i(u,l){return l&&(F(l)==="object"||typeof l=="function")?l:s(u)}function t(u){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},t(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,l){if(typeof l!="function"&&l!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(l&&l.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),l&&p(u,l)}function p(u,l){return p=Object.setPrototypeOf||function(w,T){return w.__proto__=T,w},p(u,l)}function h(u,l,y){return l in u?Object.defineProperty(u,l,{value:y,enumerable:!0,configurable:!0,writable:!0}):u[l]=y,u}var c=function(u){a(l,u);function l(){var y,w;e(this,l);for(var T=arguments.length,N=new Array(T),D=0;D<T;D++)N[D]=arguments[D];return w=i(this,(y=t(l)).call.apply(y,[this].concat(N))),h(s(w),"onClick",function($){var Q=w.props,z=Q.text,xe=Q.onCopy,g=Q.children,_=Q.options,d=S.default.Children.only(g),m=(0,C.default)(z,_);xe&&xe(z,m),d&&d.props&&typeof d.props.onClick=="function"&&d.props.onClick($)}),w}return o(l,[{key:"render",value:function(){var w=this.props,T=w.text,N=w.onCopy,D=w.options,$=w.children,Q=H(w,["text","onCopy","options","children"]),z=S.default.Children.only($);return S.default.cloneElement(z,B({},Q,{onClick:this.onClick}))}}]),l}(S.default.PureComponent);se.CopyToClipboard=c,h(c,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(Ae,se,k){"use strict";var S=k(83145),C=S.CopyToClipboard;C.CopyToClipboard=C,Ae.exports=C},76374:function(Ae,se,k){"use strict";var S=function(){if(typeof Map!="undefined")return Map;function g(_,d){var m=-1;return _.some(function(R,v){return R[0]===d?(m=v,!0):!1}),m}return function(){function _(){this.__entries__=[]}return Object.defineProperty(_.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),_.prototype.get=function(d){var m=g(this.__entries__,d),R=this.__entries__[m];return R&&R[1]},_.prototype.set=function(d,m){var R=g(this.__entries__,d);~R?this.__entries__[R][1]=m:this.__entries__.push([d,m])},_.prototype.delete=function(d){var m=this.__entries__,R=g(m,d);~R&&m.splice(R,1)},_.prototype.has=function(d){return!!~g(this.__entries__,d)},_.prototype.clear=function(){this.__entries__.splice(0)},_.prototype.forEach=function(d,m){m===void 0&&(m=null);for(var R=0,v=this.__entries__;R<v.length;R++){var n=v[R];d.call(m,n[1],n[0])}},_}()}(),C=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,V=function(){return typeof k.g!="undefined"&&k.g.Math===Math?k.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),F=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(V):function(g){return setTimeout(function(){return g(Date.now())},1e3/60)}}(),L=2;function B(g,_){var d=!1,m=!1,R=0;function v(){d&&(d=!1,g()),m&&r()}function n(){F(v)}function r(){var f=Date.now();if(d){if(f-R<L)return;m=!0}else d=!0,m=!1,setTimeout(n,_);R=f}return r}var H=20,M=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",b=function(){function g(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=B(this.refresh.bind(this),H)}return g.prototype.addObserver=function(_){~this.observers_.indexOf(_)||this.observers_.push(_),this.connected_||this.connect_()},g.prototype.removeObserver=function(_){var d=this.observers_,m=d.indexOf(_);~m&&d.splice(m,1),!d.length&&this.connected_&&this.disconnect_()},g.prototype.refresh=function(){var _=this.updateObservers_();_&&this.refresh()},g.prototype.updateObservers_=function(){var _=this.observers_.filter(function(d){return d.gatherActive(),d.hasActive()});return _.forEach(function(d){return d.broadcastActive()}),_.length>0},g.prototype.connect_=function(){!C||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)},g.prototype.disconnect_=function(){!C||!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)},g.prototype.onTransitionEnd_=function(_){var d=_.propertyName,m=d===void 0?"":d,R=M.some(function(v){return!!~m.indexOf(v)});R&&this.refresh()},g.getInstance=function(){return this.instance_||(this.instance_=new g),this.instance_},g.instance_=null,g}(),o=function(g,_){for(var d=0,m=Object.keys(_);d<m.length;d++){var R=m[d];Object.defineProperty(g,R,{value:_[R],enumerable:!1,writable:!1,configurable:!0})}return g},i=function(g){var _=g&&g.ownerDocument&&g.ownerDocument.defaultView;return _||V},t=T(0,0,0,0);function s(g){return parseFloat(g)||0}function a(g){for(var _=[],d=1;d<arguments.length;d++)_[d-1]=arguments[d];return _.reduce(function(m,R){var v=g["border-"+R+"-width"];return m+s(v)},0)}function p(g){for(var _=["top","right","bottom","left"],d={},m=0,R=_;m<R.length;m++){var v=R[m],n=g["padding-"+v];d[v]=s(n)}return d}function h(g){var _=g.getBBox();return T(0,0,_.width,_.height)}function c(g){var _=g.clientWidth,d=g.clientHeight;if(!_&&!d)return t;var m=i(g).getComputedStyle(g),R=p(m),v=R.left+R.right,n=R.top+R.bottom,r=s(m.width),f=s(m.height);if(m.boxSizing==="border-box"&&(Math.round(r+v)!==_&&(r-=a(m,"left","right")+v),Math.round(f+n)!==d&&(f-=a(m,"top","bottom")+n)),!l(g)){var O=Math.round(r+v)-_,U=Math.round(f+n)-d;Math.abs(O)!==1&&(r-=O),Math.abs(U)!==1&&(f-=U)}return T(R.left,R.top,r,f)}var u=function(){return typeof SVGGraphicsElement!="undefined"?function(g){return g instanceof i(g).SVGGraphicsElement}:function(g){return g instanceof i(g).SVGElement&&typeof g.getBBox=="function"}}();function l(g){return g===i(g).document.documentElement}function y(g){return C?u(g)?h(g):c(g):t}function w(g){var _=g.x,d=g.y,m=g.width,R=g.height,v=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,n=Object.create(v.prototype);return o(n,{x:_,y:d,width:m,height:R,top:d,right:_+m,bottom:R+d,left:_}),n}function T(g,_,d,m){return{x:g,y:_,width:d,height:m}}var N=function(){function g(_){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=T(0,0,0,0),this.target=_}return g.prototype.isActive=function(){var _=y(this.target);return this.contentRect_=_,_.width!==this.broadcastWidth||_.height!==this.broadcastHeight},g.prototype.broadcastRect=function(){var _=this.contentRect_;return this.broadcastWidth=_.width,this.broadcastHeight=_.height,_},g}(),D=function(){function g(_,d){var m=w(d);o(this,{target:_,contentRect:m})}return g}(),$=function(){function g(_,d,m){if(this.activeObservations_=[],this.observations_=new S,typeof _!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=_,this.controller_=d,this.callbackCtx_=m}return g.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 d=this.observations_;d.has(_)||(d.set(_,new N(_)),this.controller_.addObserver(this),this.controller_.refresh())}},g.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 d=this.observations_;d.has(_)&&(d.delete(_),d.size||this.controller_.removeObserver(this))}},g.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},g.prototype.gatherActive=function(){var _=this;this.clearActive(),this.observations_.forEach(function(d){d.isActive()&&_.activeObservations_.push(d)})},g.prototype.broadcastActive=function(){if(this.hasActive()){var _=this.callbackCtx_,d=this.activeObservations_.map(function(m){return new D(m.target,m.broadcastRect())});this.callback_.call(_,d,_),this.clearActive()}},g.prototype.clearActive=function(){this.activeObservations_.splice(0)},g.prototype.hasActive=function(){return this.activeObservations_.length>0},g}(),Q=typeof WeakMap!="undefined"?new WeakMap:new S,z=function(){function g(_){if(!(this instanceof g))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var d=b.getInstance(),m=new $(_,d,this);Q.set(this,m)}return g}();["observe","unobserve","disconnect"].forEach(function(g){z.prototype[g]=function(){var _;return(_=Q.get(this))[g].apply(_,arguments)}});var xe=function(){return typeof V.ResizeObserver!="undefined"?V.ResizeObserver:z}();se.Z=xe},98040:function(Ae){Ae.exports=function(){var se=document.getSelection();if(!se.rangeCount)return function(){};for(var k=document.activeElement,S=[],C=0;C<se.rangeCount;C++)S.push(se.getRangeAt(C));switch(k.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":k.blur();break;default:k=null;break}return se.removeAllRanges(),function(){se.type==="Caret"&&se.removeAllRanges(),se.rangeCount||S.forEach(function(V){se.addRange(V)}),k&&k.focus()}}}}]);
|