/*! For license information please see vendor-49d0a293.js.LICENSE.txt */ (self.webpackChunkscriptcat=self.webpackChunkscriptcat||[]).push([[127],{79752:(e,t,r)=>{"use strict";r.d(t,{LB:()=>He,g4:()=>te,Lg:()=>ae,we:()=>pe,pE:()=>A,ey:()=>S,VK:()=>O,_8:()=>w,hI:()=>j,Cj:()=>Je,O1:()=>Ge,Zj:()=>Qe,VT:()=>y,Dy:()=>g});var n=r(67294),i=r(73935),s=r(24285);const a={display:"none"};function o(e){let{id:t,value:r}=e;return n.createElement("div",{id:t,style:a},r)}const u={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};function l(e){let{id:t,announcement:r}=e;return n.createElement("div",{id:t,style:u,role:"status","aria-live":"assertive","aria-atomic":!0},r)}const c=(0,n.createContext)(null);const p={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},h={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function d(e){let{announcements:t=h,container:r,hiddenTextDescribedById:a,screenReaderInstructions:u=p}=e;const{announce:d,announcement:f}=function(){const[e,t]=(0,n.useState)("");return{announce:(0,n.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),m=(0,s.Ld)("DndLiveRegion"),[y,g]=(0,n.useState)(!1);if((0,n.useEffect)((()=>{g(!0)}),[]),function(e){const t=(0,n.useContext)(c);(0,n.useEffect)((()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)}),[e,t])}((0,n.useMemo)((()=>({onDragStart(e){let{active:r}=e;d(t.onDragStart({active:r}))},onDragMove(e){let{active:r,over:n}=e;t.onDragMove&&d(t.onDragMove({active:r,over:n}))},onDragOver(e){let{active:r,over:n}=e;d(t.onDragOver({active:r,over:n}))},onDragEnd(e){let{active:r,over:n}=e;d(t.onDragEnd({active:r,over:n}))},onDragCancel(e){let{active:r,over:n}=e;d(t.onDragCancel({active:r,over:n}))}})),[d,t])),!y)return null;const v=n.createElement(n.Fragment,null,n.createElement(o,{id:a,value:u.draggable}),n.createElement(l,{id:m,announcement:f}));return r?(0,i.createPortal)(v,r):v}var f;function m(){}function y(e,t){return(0,n.useMemo)((()=>({sensor:e,options:null!=t?t:{}})),[e,t])}function g(){for(var e=arguments.length,t=new Array(e),r=0;r[...t].filter((e=>null!=e))),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(f||(f={}));const v=Object.freeze({x:0,y:0});function b(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function D(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function x(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function E(e){let{left:t,top:r,height:n,width:i}=e;return[{x:t,y:r},{x:t+i,y:r},{x:t,y:r+n},{x:t+i,y:r+n}]}function w(e,t){if(!e||0===e.length)return null;const[r]=e;return t?r[t]:r}function C(e,t,r){return void 0===t&&(t=e.left),void 0===r&&(r=e.top),{x:t+.5*e.width,y:r+.5*e.height}}const A=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=C(t,t.left,t.top),s=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=b(C(n),i);s.push({id:t,data:{droppableContainer:e,value:r}})}}return s.sort(D)},S=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=E(t),s=[];for(const e of n){const{id:t}=e,n=r.get(t);if(n){const r=E(n),a=i.reduce(((e,t,n)=>e+b(r[n],t)),0),o=Number((a/4).toFixed(4));s.push({id:t,data:{droppableContainer:e,value:o}})}}return s.sort(D)};function _(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),s=Math.min(t.top+t.height,e.top+e.height),a=i-n,o=s-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const i=[];for(const e of n){const{id:n}=e,s=r.get(n);if(s){const r=_(s,t);r>0&&i.push({id:n,data:{droppableContainer:e,value:r}})}}return i.sort(x)};function T(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:v}function F(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i({...t,top:t.top+e*r.y,bottom:t.bottom+e*r.y,left:t.left+e*r.x,right:t.right+e*r.x})),{...t})}}const P=F(1);function N(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const I={ignoreTransform:!1};function O(e,t){void 0===t&&(t=I);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:t}=(0,s.Jj)(e),{transform:n,transformOrigin:i}=t(e);n&&(r=function(e,t,r){const n=N(t);if(!n)return e;const{scaleX:i,scaleY:s,x:a,y:o}=n,u=e.left-a-(1-i)*parseFloat(r),l=e.top-o-(1-s)*parseFloat(r.slice(r.indexOf(" ")+1)),c=i?e.width/i:e.width,p=s?e.height/s:e.height;return{width:c,height:p,top:l,right:u+c,bottom:l+p,left:u}}(r,n,i))}const{top:n,left:i,width:a,height:o,bottom:u,right:l}=r;return{top:n,left:i,width:a,height:o,bottom:u,right:l}}function B(e){return O(e,{ignoreTransform:!0})}function j(e,t){const r=[];return e?function n(i){if(null!=t&&r.length>=t)return r;if(!i)return r;if((0,s.qk)(i)&&null!=i.scrollingElement&&!r.includes(i.scrollingElement))return r.push(i.scrollingElement),r;if(!(0,s.Re)(i)||(0,s.vZ)(i))return r;if(r.includes(i))return r;const{getComputedStyle:a}=(0,s.Jj)(i),o=a(i);return i!==e&&function(e,t){void 0===t&&(t=(0,s.Jj)(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some((e=>{const n=t[e];return"string"==typeof n&&r.test(n)}))}(i,o)&&r.push(i),function(e,t){return void 0===t&&(t=(0,s.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(i,o)?r:n(i.parentNode)}(e):r}function L(e){const[t]=j(e,1);return null!=t?t:null}function M(e){return s.Nq&&e?(0,s.FJ)(e)?e:(0,s.UG)(e)?(0,s.qk)(e)||e===(0,s.r3)(e).scrollingElement?window:(0,s.Re)(e)?e:null:null:null}function R(e){return(0,s.FJ)(e)?e.scrollX:e.scrollLeft}function z(e){return(0,s.FJ)(e)?e.scrollY:e.scrollTop}function U(e){return{x:R(e),y:z(e)}}var V;function $(e){return!(!s.Nq||!e)&&e===document.scrollingElement}function W(e){const t={x:0,y:0},r=$(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=n.y,isRight:e.scrollLeft>=n.x,maxScroll:n,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(V||(V={}));const H={x:.2,y:.2};function q(e,t,r,n,i){let{top:s,left:a,right:o,bottom:u}=r;void 0===n&&(n=10),void 0===i&&(i=H);const{isTop:l,isBottom:c,isLeft:p,isRight:h}=W(e),d={x:0,y:0},f={x:0,y:0},m=t.height*i.y,y=t.width*i.x;return!l&&s<=t.top+m?(d.y=V.Backward,f.y=n*Math.abs((t.top+m-s)/m)):!c&&u>=t.bottom-m&&(d.y=V.Forward,f.y=n*Math.abs((t.bottom-m-u)/m)),!h&&o>=t.right-y?(d.x=V.Forward,f.x=n*Math.abs((t.right-y-o)/y)):!p&&a<=t.left+y&&(d.x=V.Backward,f.x=n*Math.abs((t.left+y-a)/y)),{direction:d,speed:f}}function K(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:r,right:n,bottom:i}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:i,width:e.clientWidth,height:e.clientHeight}}function Z(e){return e.reduce(((e,t)=>(0,s.IH)(e,U(t))),v)}function G(e,t){if(void 0===t&&(t=O),!e)return;const{top:r,left:n,bottom:i,right:s}=t(e);L(e)&&(i<=0||s<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const J=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+R(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+z(t)),0)}]];class Y{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=j(t),n=Z(r);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,i]of J)for(const s of t)Object.defineProperty(this,s,{get:()=>{const t=i(r),a=n[e]-t;return this.rect[s]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class X{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,r){var n;null==(n=this.target)||n.addEventListener(e,t,r),this.listeners.push([e,t,r])}}function Q(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return"number"==typeof t?Math.sqrt(r**2+n**2)>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t&&n>t.y}var ee,te;function re(e){e.preventDefault()}function ne(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ee||(ee={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(te||(te={}));const ie={start:[te.Space,te.Enter],cancel:[te.Esc],end:[te.Space,te.Enter]},se=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case te.Right:return{...r,x:r.x+25};case te.Left:return{...r,x:r.x-25};case te.Down:return{...r,y:r.y+25};case te.Up:return{...r,y:r.y-25}}};class ae{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new X((0,s.r3)(t)),this.windowListeners=new X((0,s.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(ee.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,r=e.node.current;r&&G(r),t(v)}handleKeyDown(e){if((0,s.vd)(e)){const{active:t,context:r,options:n}=this.props,{keyboardCodes:i=ie,coordinateGetter:a=se,scrollBehavior:o="smooth"}=n,{code:u}=e;if(i.end.includes(u))return void this.handleEnd(e);if(i.cancel.includes(u))return void this.handleCancel(e);const{collisionRect:l}=r.current,c=l?{x:l.left,y:l.top}:v;this.referenceCoordinates||(this.referenceCoordinates=c);const p=a(e,{active:t,context:r.current,currentCoordinates:c});if(p){const t=(0,s.$X)(p,c),n={x:0,y:0},{scrollableAncestors:i}=r.current;for(const r of i){const i=e.code,{isTop:s,isRight:a,isLeft:u,isBottom:l,maxScroll:c,minScroll:h}=W(r),d=K(r),f={x:Math.min(i===te.Right?d.right-d.width/2:d.right,Math.max(i===te.Right?d.left:d.left+d.width/2,p.x)),y:Math.min(i===te.Down?d.bottom-d.height/2:d.bottom,Math.max(i===te.Down?d.top:d.top+d.height/2,p.y))},m=i===te.Right&&!a||i===te.Left&&!u,y=i===te.Down&&!l||i===te.Up&&!s;if(m&&f.x!==p.x){const e=r.scrollLeft+t.x,s=i===te.Right&&e<=c.x||i===te.Left&&e>=h.x;if(s&&!t.y)return void r.scrollTo({left:e,behavior:o});n.x=s?r.scrollLeft-e:i===te.Right?r.scrollLeft-c.x:r.scrollLeft-h.x,n.x&&r.scrollBy({left:-n.x,behavior:o});break}if(y&&f.y!==p.y){const e=r.scrollTop+t.y,s=i===te.Down&&e<=c.y||i===te.Up&&e>=h.y;if(s&&!t.x)return void r.scrollTo({top:e,behavior:o});n.y=s?r.scrollTop-e:i===te.Down?r.scrollTop-c.y:r.scrollTop-h.y,n.y&&r.scrollBy({top:-n.y,behavior:o});break}}this.handleMove(e,(0,s.IH)((0,s.$X)(p,this.referenceCoordinates),n))}}}handleMove(e,t){const{onMove:r}=this.props;e.preventDefault(),r(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function oe(e){return Boolean(e&&"distance"in e)}function ue(e){return Boolean(e&&"delay"in e)}ae.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=ie,onActivation:i}=t,{active:s}=r;const{code:a}=e.nativeEvent;if(n.start.includes(a)){const t=s.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class le{constructor(e,t,r){var n;void 0===r&&(r=function(e){const{EventTarget:t}=(0,s.Jj)(e);return e instanceof t?e:(0,s.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:i}=e,{target:a}=i;this.props=e,this.events=t,this.document=(0,s.r3)(a),this.documentListeners=new X(this.document),this.listeners=new X(r),this.windowListeners=new X((0,s.Jj)(a)),this.initialCoordinates=null!=(n=(0,s.DC)(i))?n:v,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.DragStart,re),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),this.windowListeners.add(ee.ContextMenu,re),this.documentListeners.add(ee.Keydown,this.handleKeydown),t){if(oe(t))return;if(ue(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ee.Click,ne,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ee.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:r,initialCoordinates:n,props:i}=this,{onMove:a,options:{activationConstraint:o}}=i;if(!n)return;const u=null!=(t=(0,s.DC)(e))?t:v,l=(0,s.$X)(n,u);if(!r&&o){if(ue(o))return Q(l,o.tolerance)?this.handleCancel():void 0;if(oe(o))return null!=o.tolerance&&Q(l,o.tolerance)?this.handleCancel():Q(l,o.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(u)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===te.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ce={move:{name:"pointermove"},end:{name:"pointerup"}};class pe extends le{constructor(e){const{event:t}=e,r=(0,s.r3)(t.target);super(e,ce,r)}}pe.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!(!r.isPrimary||0!==r.button)&&(null==n||n({event:r}),!0)}}];const he={move:{name:"mousemove"},end:{name:"mouseup"}};var de;!function(e){e[e.RightClick=2]="RightClick"}(de||(de={}));(class extends le{constructor(e){super(e,he,(0,s.r3)(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button!==de.RightClick&&(null==n||n({event:r}),!0)}}];const fe={move:{name:"touchmove"},end:{name:"touchend"}};var me,ye;function ge(e){let{acceleration:t,activator:r=me.Pointer,canScroll:i,draggingRect:a,enabled:o,interval:u=5,order:l=ye.TreeOrder,pointerCoordinates:c,scrollableAncestors:p,scrollableAncestorRects:h,delta:d,threshold:f}=e;const m=function(e){let{delta:t,disabled:r}=e;const n=(0,s.D9)(t);return(0,s.Gj)((e=>{if(r||!n||!e)return ve;const i={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[V.Backward]:e.x[V.Backward]||-1===i.x,[V.Forward]:e.x[V.Forward]||1===i.x},y:{[V.Backward]:e.y[V.Backward]||-1===i.y,[V.Forward]:e.y[V.Forward]||1===i.y}}}),[r,t,n])}({delta:d,disabled:!o}),[y,g]=(0,s.Yz)(),v=(0,n.useRef)({x:0,y:0}),b=(0,n.useRef)({x:0,y:0}),D=(0,n.useMemo)((()=>{switch(r){case me.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case me.DraggableRect:return a}}),[r,a,c]),x=(0,n.useRef)(null),E=(0,n.useCallback)((()=>{const e=x.current;if(!e)return;const t=v.current.x*b.current.x,r=v.current.y*b.current.y;e.scrollBy(t,r)}),[]),w=(0,n.useMemo)((()=>l===ye.TreeOrder?[...p].reverse():p),[l,p]);(0,n.useEffect)((()=>{if(o&&p.length&&D){for(const e of w){if(!1===(null==i?void 0:i(e)))continue;const r=p.indexOf(e),n=h[r];if(!n)continue;const{direction:s,speed:a}=q(e,n,D,t,f);for(const e of["x","y"])m[e][s[e]]||(a[e]=0,s[e]=0);if(a.x>0||a.y>0)return g(),x.current=e,y(E,u),v.current=a,void(b.current=s)}v.current={x:0,y:0},b.current={x:0,y:0},g()}else g()}),[t,E,i,g,o,u,JSON.stringify(D),JSON.stringify(m),y,p,w,h,JSON.stringify(f)])}(class extends le{constructor(e){super(e,fe)}static setup(){return window.addEventListener(fe.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(fe.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:i}=r;return!(i.length>1)&&(null==n||n({event:r}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(me||(me={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(ye||(ye={}));const ve={x:{[V.Backward]:!1,[V.Forward]:!1},y:{[V.Backward]:!1,[V.Forward]:!1}};var be,De;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(be||(be={})),function(e){e.Optimized="optimized"}(De||(De={}));const xe=new Map;function Ee(e,t){return(0,s.Gj)((r=>e?r||("function"==typeof t?t(e):e):null),[t,e])}function we(e){let{callback:t,disabled:r}=e;const i=(0,s.zX)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(i)}),[r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}function Ce(e){return new Y(O(e),e)}function Ae(e,t,r){void 0===t&&(t=Ce);const[i,a]=(0,n.useReducer)((function(n){if(!e)return null;var i;if(!1===e.isConnected)return null!=(i=null!=n?n:r)?i:null;const s=t(e);if(JSON.stringify(n)===JSON.stringify(s))return n;return s}),null),o=function(e){let{callback:t,disabled:r}=e;const i=(0,s.zX)(t),a=(0,n.useMemo)((()=>{if(r||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(i)}),[i,r]);return(0,n.useEffect)((()=>()=>null==a?void 0:a.disconnect()),[a]),a}({callback(t){if(e)for(const r of t){const{type:t,target:n}=r;if("childList"===t&&n instanceof HTMLElement&&n.contains(e)){a();break}}}}),u=we({callback:a});return(0,s.LI)((()=>{a(),e?(null==u||u.observe(e),null==o||o.observe(document.body,{childList:!0,subtree:!0})):(null==u||u.disconnect(),null==o||o.disconnect())}),[e]),i}const Se=[];function _e(e,t){void 0===t&&(t=[]);const r=(0,n.useRef)(null);return(0,n.useEffect)((()=>{r.current=null}),t),(0,n.useEffect)((()=>{const t=e!==v;t&&!r.current&&(r.current=e),!t&&r.current&&(r.current=null)}),[e]),r.current?(0,s.$X)(e,r.current):v}function ke(e){return(0,n.useMemo)((()=>e?function(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}(e):null),[e])}const Te=[];function Fe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,s.Re)(t)?t:e}const Pe=[{sensor:pe,options:{}},{sensor:ae,options:{}}],Ne={current:{}},Ie={draggable:{measure:B},droppable:{measure:B,strategy:be.WhileDragging,frequency:De.Optimized},dragOverlay:{measure:O}};class Oe extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter((e=>{let{disabled:t}=e;return!t}))}getNodeFor(e){var t,r;return null!=(t=null==(r=this.get(e))?void 0:r.node.current)?t:void 0}}const Be={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Oe,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:m},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:m,windowRect:null,measuringScheduled:!1},je={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:m,draggableNodes:new Map,over:null,measureDroppableContainers:m},Le=(0,n.createContext)(je),Me=(0,n.createContext)(Be);function Re(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Oe}}}function ze(e,t){switch(t.type){case f.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case f.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case f.DragEnd:case f.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case f.RegisterDroppable:{const{element:r}=t,{id:n}=r,i=new Oe(e.droppable.containers);return i.set(n,r),{...e,droppable:{...e.droppable,containers:i}}}case f.SetDroppableDisabled:{const{id:r,key:n,disabled:i}=t,s=e.droppable.containers.get(r);if(!s||n!==s.key)return e;const a=new Oe(e.droppable.containers);return a.set(r,{...s,disabled:i}),{...e,droppable:{...e.droppable,containers:a}}}case f.UnregisterDroppable:{const{id:r,key:n}=t,i=e.droppable.containers.get(r);if(!i||n!==i.key)return e;const s=new Oe(e.droppable.containers);return s.delete(r),{...e,droppable:{...e.droppable,containers:s}}}default:return e}}function Ue(e){let{disabled:t}=e;const{active:r,activatorEvent:i,draggableNodes:a}=(0,n.useContext)(Le),o=(0,s.D9)(i),u=(0,s.D9)(null==r?void 0:r.id);return(0,n.useEffect)((()=>{if(!t&&!i&&o&&null!=u){if(!(0,s.vd)(o))return;if(document.activeElement===o.target)return;const e=a.get(u);if(!e)return;const{activatorNode:t,node:r}=e;if(!t.current&&!r.current)return;requestAnimationFrame((()=>{for(const e of[t.current,r.current]){if(!e)continue;const t=(0,s.so)(e);if(t){t.focus();break}}}))}}),[i,t,a,u,o]),null}function Ve(e,t){let{transform:r,...n}=t;return null!=e&&e.length?e.reduce(((e,t)=>t({transform:e,...n})),r):r}const $e=(0,n.createContext)({...v,scaleX:1,scaleY:1});var We;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(We||(We={}));const He=(0,n.memo)((function(e){var t,r,a,o;let{id:u,accessibility:l,autoScroll:p=!0,children:h,sensors:m=Pe,collisionDetection:y=k,measuring:g,modifiers:b,...D}=e;const x=(0,n.useReducer)(ze,void 0,Re),[E,C]=x,[A,S]=function(){const[e]=(0,n.useState)((()=>new Set)),t=(0,n.useCallback)((t=>(e.add(t),()=>e.delete(t))),[e]);return[(0,n.useCallback)((t=>{let{type:r,event:n}=t;e.forEach((e=>{var t;return null==(t=e[r])?void 0:t.call(e,n)}))}),[e]),t]}(),[_,F]=(0,n.useState)(We.Uninitialized),N=_===We.Initialized,{draggable:{active:I,nodes:B,translate:R},droppable:{containers:z}}=E,V=I?B.get(I):null,W=(0,n.useRef)({initial:null,translated:null}),H=(0,n.useMemo)((()=>{var e;return null!=I?{id:I,data:null!=(e=null==V?void 0:V.data)?e:Ne,rect:W}:null}),[I,V]),q=(0,n.useRef)(null),[K,G]=(0,n.useState)(null),[J,X]=(0,n.useState)(null),Q=(0,s.Ey)(D,Object.values(D)),ee=(0,s.Ld)("DndDescribedBy",u),te=(0,n.useMemo)((()=>z.getEnabled()),[z]),re=(ne=g,(0,n.useMemo)((()=>({draggable:{...Ie.draggable,...null==ne?void 0:ne.draggable},droppable:{...Ie.droppable,...null==ne?void 0:ne.droppable},dragOverlay:{...Ie.dragOverlay,...null==ne?void 0:ne.dragOverlay}})),[null==ne?void 0:ne.draggable,null==ne?void 0:ne.droppable,null==ne?void 0:ne.dragOverlay]));var ne;const{droppableRects:ie,measureDroppableContainers:se,measuringScheduled:ae}=function(e,t){let{dragging:r,dependencies:i,config:a}=t;const[o,u]=(0,n.useState)(null),l=null!=o,{frequency:c,measure:p,strategy:h}=a,d=(0,n.useRef)(e),f=function(){switch(h){case be.Always:return!1;case be.BeforeDragging:return r;default:return!r}}(),m=(0,s.Ey)(f),y=(0,n.useCallback)((function(e){void 0===e&&(e=[]),m.current||u((t=>t?t.concat(e):e))}),[m]),g=(0,n.useRef)(null),v=(0,s.Gj)((t=>{if(f&&!r)return xe;const n=o;if(!t||t===xe||d.current!==e||null!=n){const t=new Map;for(let r of e){if(!r)continue;if(n&&n.length>0&&!n.includes(r.id)&&r.rect.current){t.set(r.id,r.rect.current);continue}const e=r.node.current,i=e?new Y(p(e),e):null;r.rect.current=i,i&&t.set(r.id,i)}return t}return t}),[e,o,r,f,p]);return(0,n.useEffect)((()=>{d.current=e}),[e]),(0,n.useEffect)((()=>{f||requestAnimationFrame((()=>y()))}),[r,f]),(0,n.useEffect)((()=>{l&&u(null)}),[l]),(0,n.useEffect)((()=>{f||"number"!=typeof c||null!==g.current||(g.current=setTimeout((()=>{y(),g.current=null}),c))}),[c,f,y,...i]),{droppableRects:v,measureDroppableContainers:y,measuringScheduled:l}}(te,{dragging:N,dependencies:[R.x,R.y],config:re.droppable}),oe=function(e,t){const r=null!==t?e.get(t):void 0,n=r?r.node.current:null;return(0,s.Gj)((e=>{var r;return null===t?null:null!=(r=null!=n?n:e)?r:null}),[n,t])}(B,I),ue=(0,n.useMemo)((()=>J?(0,s.DC)(J):null),[J]),le=function(){const e=!1===(null==K?void 0:K.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,r=N&&!e&&!t;if("object"==typeof p)return{...p,enabled:r};return{enabled:r}}(),ce=function(e,t){return Ee(e,t)}(oe,re.draggable.measure);!function(e){let{activeNode:t,measure:r,initialRect:i,config:a=!0}=e;const o=(0,n.useRef)(!1),{x:u,y:l}="boolean"==typeof a?{x:a,y:a}:a;(0,s.LI)((()=>{if(!u&&!l||!t)return void(o.current=!1);if(o.current||!i)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const n=T(r(e),i);if(u||(n.x=0),l||(n.y=0),o.current=!0,Math.abs(n.x)>0||Math.abs(n.y)>0){const t=L(e);t&&t.scrollBy({top:n.y,left:n.x})}}),[t,u,l,i,r])}({activeNode:I?B.get(I):null,config:le.layoutShiftCompensation,initialRect:ce,measure:re.draggable.measure});const pe=Ae(oe,re.draggable.measure,ce),he=Ae(oe?oe.parentElement:null),de=(0,n.useRef)({activatorEvent:null,active:null,activeNode:oe,collisionRect:null,collisions:null,droppableRects:ie,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:z,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),fe=z.getNodeFor(null==(t=de.current.over)?void 0:t.id),me=function(e){let{measure:t}=e;const[r,i]=(0,n.useState)(null),a=we({callback:(0,n.useCallback)((e=>{for(const{target:r}of e)if((0,s.Re)(r)){i((e=>{const n=t(r);return e?{...e,width:n.width,height:n.height}:n}));break}}),[t])}),o=(0,n.useCallback)((e=>{const r=Fe(e);null==a||a.disconnect(),r&&(null==a||a.observe(r)),i(r?t(r):null)}),[t,a]),[u,l]=(0,s.wm)(o);return(0,n.useMemo)((()=>({nodeRef:u,rect:r,setRef:l})),[r,u,l])}({measure:re.dragOverlay.measure}),ye=null!=(r=me.nodeRef.current)?r:oe,ve=N?null!=(a=me.rect)?a:pe:null,De=Boolean(me.nodeRef.current&&me.rect),Ce=T(Oe=De?null:pe,Ee(Oe));var Oe;const Be=ke(ye?(0,s.Jj)(ye):null),je=function(e){const t=(0,n.useRef)(e),r=(0,s.Gj)((r=>e?r&&r!==Se&&e&&t.current&&e.parentNode===t.current.parentNode?r:j(e):Se),[e]);return(0,n.useEffect)((()=>{t.current=e}),[e]),r}(N?null!=fe?fe:oe:null),He=function(e,t){void 0===t&&(t=O);const[r]=e,i=ke(r?(0,s.Jj)(r):null),[a,o]=(0,n.useReducer)((function(){return e.length?e.map((e=>$(e)?i:new Y(t(e),e))):Te}),Te),u=we({callback:o});return e.length>0&&a===Te&&o(),(0,s.LI)((()=>{e.length?e.forEach((e=>null==u?void 0:u.observe(e))):(null==u||u.disconnect(),o())}),[e]),a}(je),qe=Ve(b,{transform:{x:R.x-Ce.x,y:R.y-Ce.y,scaleX:1,scaleY:1},activatorEvent:J,active:H,activeNodeRect:pe,containerNodeRect:he,draggingNodeRect:ve,over:de.current.over,overlayNodeRect:me.rect,scrollableAncestors:je,scrollableAncestorRects:He,windowRect:Be}),Ke=ue?(0,s.IH)(ue,R):null,Ze=function(e){const[t,r]=(0,n.useState)(null),i=(0,n.useRef)(e),a=(0,n.useCallback)((e=>{const t=M(e.target);t&&r((e=>e?(e.set(t,U(t)),new Map(e)):null))}),[]);return(0,n.useEffect)((()=>{const t=i.current;if(e!==t){n(t);const s=e.map((e=>{const t=M(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,U(t)]):null})).filter((e=>null!=e));r(s.length?new Map(s):null),i.current=e}return()=>{n(e),n(t)};function n(e){e.forEach((e=>{const t=M(e);null==t||t.removeEventListener("scroll",a)}))}}),[a,e]),(0,n.useMemo)((()=>e.length?t?Array.from(t.values()).reduce(((e,t)=>(0,s.IH)(e,t)),v):Z(e):v),[e,t])}(je),Ge=_e(Ze),Je=_e(Ze,[pe]),Ye=(0,s.IH)(qe,Ge),Xe=ve?P(ve,qe):null,Qe=H&&Xe?y({active:H,collisionRect:Xe,droppableRects:ie,droppableContainers:te,pointerCoordinates:Ke}):null,et=w(Qe,"id"),[tt,rt]=(0,n.useState)(null),nt=function(e,t,r){return{...e,scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1}}(De?qe:(0,s.IH)(qe,Je),null!=(o=null==tt?void 0:tt.rect)?o:null,pe),it=(0,n.useCallback)(((e,t)=>{let{sensor:r,options:n}=t;if(null==q.current)return;const s=B.get(q.current);if(!s)return;const a=e.nativeEvent,o=new r({active:q.current,activeNode:s,event:a,options:n,context:de,onStart(e){const t=q.current;if(null==t)return;const r=B.get(t);if(!r)return;const{onDragStart:n}=Q.current,s={active:{id:t,data:r.data,rect:W}};(0,i.unstable_batchedUpdates)((()=>{null==n||n(s),F(We.Initializing),C({type:f.DragStart,initialCoordinates:e,active:t}),A({type:"onDragStart",event:s})}))},onMove(e){C({type:f.DragMove,coordinates:e})},onEnd:u(f.DragEnd),onCancel:u(f.DragCancel)});function u(e){return async function(){const{active:t,collisions:r,over:n,scrollAdjustedTranslate:s}=de.current;let o=null;if(t&&s){const{cancelDrop:i}=Q.current;if(o={activatorEvent:a,active:t,collisions:r,delta:s,over:n},e===f.DragEnd&&"function"==typeof i){await Promise.resolve(i(o))&&(e=f.DragCancel)}}q.current=null,(0,i.unstable_batchedUpdates)((()=>{C({type:e}),F(We.Uninitialized),rt(null),G(null),X(null);const t=e===f.DragEnd?"onDragEnd":"onDragCancel";if(o){const e=Q.current[t];null==e||e(o),A({type:t,event:o})}}))}}(0,i.unstable_batchedUpdates)((()=>{G(o),X(e.nativeEvent)}))}),[B]),st=(0,n.useCallback)(((e,t)=>(r,n)=>{const i=r.nativeEvent,s=B.get(n);if(null!==q.current||!s||i.dndKit||i.defaultPrevented)return;const a={active:s};!0===e(r,t.options,a)&&(i.dndKit={capturedBy:t.sensor},q.current=n,it(r,t))}),[B,it]),at=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{const{sensor:n}=r;return[...e,...n.activators.map((e=>({eventName:e.eventName,handler:t(e.handler,r)})))]}),[])),[e,t])}(m,st);!function(e){(0,n.useEffect)((()=>{if(!s.Nq)return;const t=e.map((e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()}));return()=>{for(const e of t)null==e||e()}}),e.map((e=>{let{sensor:t}=e;return t})))}(m),(0,s.LI)((()=>{pe&&_===We.Initializing&&F(We.Initialized)}),[pe,_]),(0,n.useEffect)((()=>{const{onDragMove:e}=Q.current,{active:t,activatorEvent:r,collisions:n,over:s}=de.current;if(!t||!r)return;const a={active:t,activatorEvent:r,collisions:n,delta:{x:Ye.x,y:Ye.y},over:s};(0,i.unstable_batchedUpdates)((()=>{null==e||e(a),A({type:"onDragMove",event:a})}))}),[Ye.x,Ye.y]),(0,n.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:r,droppableContainers:n,scrollAdjustedTranslate:s}=de.current;if(!e||null==q.current||!t||!s)return;const{onDragOver:a}=Q.current,o=n.get(et),u=o&&o.rect.current?{id:o.id,rect:o.rect.current,data:o.data,disabled:o.disabled}:null,l={active:e,activatorEvent:t,collisions:r,delta:{x:s.x,y:s.y},over:u};(0,i.unstable_batchedUpdates)((()=>{rt(u),null==a||a(l),A({type:"onDragOver",event:l})}))}),[et]),(0,s.LI)((()=>{de.current={activatorEvent:J,active:H,activeNode:oe,collisionRect:Xe,collisions:Qe,droppableRects:ie,draggableNodes:B,draggingNode:ye,draggingNodeRect:ve,droppableContainers:z,over:tt,scrollableAncestors:je,scrollAdjustedTranslate:Ye},W.current={initial:ve,translated:Xe}}),[H,oe,Qe,Xe,B,ye,ve,ie,z,tt,je,Ye]),ge({...le,delta:R,draggingRect:Xe,pointerCoordinates:Ke,scrollableAncestors:je,scrollableAncestorRects:He});const ot=(0,n.useMemo)((()=>({active:H,activeNode:oe,activeNodeRect:pe,activatorEvent:J,collisions:Qe,containerNodeRect:he,dragOverlay:me,draggableNodes:B,droppableContainers:z,droppableRects:ie,over:tt,measureDroppableContainers:se,scrollableAncestors:je,scrollableAncestorRects:He,measuringConfiguration:re,measuringScheduled:ae,windowRect:Be})),[H,oe,pe,J,Qe,he,me,B,z,ie,tt,se,je,He,re,ae,Be]),ut=(0,n.useMemo)((()=>({activatorEvent:J,activators:at,active:H,activeNodeRect:pe,ariaDescribedById:{draggable:ee},dispatch:C,draggableNodes:B,over:tt,measureDroppableContainers:se})),[J,at,H,pe,C,ee,B,tt,se]);return n.createElement(c.Provider,{value:S},n.createElement(Le.Provider,{value:ut},n.createElement(Me.Provider,{value:ot},n.createElement($e.Provider,{value:nt},h)),n.createElement(Ue,{disabled:!1===(null==l?void 0:l.restoreFocus)})),n.createElement(d,{...l,hiddenTextDescribedById:ee}))})),qe=(0,n.createContext)(null),Ke="button",Ze="Droppable";function Ge(e){let{id:t,data:r,disabled:i=!1,attributes:a}=e;const o=(0,s.Ld)(Ze),{activators:u,activatorEvent:l,active:c,activeNodeRect:p,ariaDescribedById:h,draggableNodes:d,over:f}=(0,n.useContext)(Le),{role:m=Ke,roleDescription:y="draggable",tabIndex:g=0}=null!=a?a:{},v=(null==c?void 0:c.id)===t,b=(0,n.useContext)(v?$e:qe),[D,x]=(0,s.wm)(),[E,w]=(0,s.wm)(),C=function(e,t){return(0,n.useMemo)((()=>e.reduce(((e,r)=>{let{eventName:n,handler:i}=r;return e[n]=e=>{i(e,t)},e}),{})),[e,t])}(u,t),A=(0,s.Ey)(r);(0,s.LI)((()=>(d.set(t,{id:t,key:o,node:D,activatorNode:E,data:A}),()=>{const e=d.get(t);e&&e.key===o&&d.delete(t)})),[d,t]);return{active:c,activatorEvent:l,activeNodeRect:p,attributes:(0,n.useMemo)((()=>({role:m,tabIndex:g,"aria-disabled":i,"aria-pressed":!(!v||m!==Ke)||void 0,"aria-roledescription":y,"aria-describedby":h.draggable})),[i,m,g,v,y,h.draggable]),isDragging:v,listeners:i?void 0:C,node:D,over:f,setNodeRef:x,setActivatorNodeRef:w,transform:b}}function Je(){return(0,n.useContext)(Me)}const Ye="Droppable",Xe={timeout:25};function Qe(e){let{data:t,disabled:r=!1,id:i,resizeObserverConfig:a}=e;const o=(0,s.Ld)(Ye),{active:u,dispatch:l,over:c,measureDroppableContainers:p}=(0,n.useContext)(Le),h=(0,n.useRef)({disabled:r}),d=(0,n.useRef)(!1),m=(0,n.useRef)(null),y=(0,n.useRef)(null),{disabled:g,updateMeasurementsFor:v,timeout:b}={...Xe,...a},D=(0,s.Ey)(null!=v?v:i),x=we({callback:(0,n.useCallback)((()=>{d.current?(null!=y.current&&clearTimeout(y.current),y.current=setTimeout((()=>{p(Array.isArray(D.current)?D.current:[D.current]),y.current=null}),b)):d.current=!0}),[b]),disabled:g||!u}),E=(0,n.useCallback)(((e,t)=>{x&&(t&&(x.unobserve(t),d.current=!1),e&&x.observe(e))}),[x]),[w,C]=(0,s.wm)(E),A=(0,s.Ey)(t);return(0,n.useEffect)((()=>{x&&w.current&&(x.disconnect(),d.current=!1,x.observe(w.current))}),[w,x]),(0,s.LI)((()=>(l({type:f.RegisterDroppable,element:{id:i,key:o,disabled:r,node:w,rect:m,data:A}}),()=>l({type:f.UnregisterDroppable,key:o,id:i}))),[i]),(0,n.useEffect)((()=>{r!==h.current.disabled&&(l({type:f.SetDroppableDisabled,id:i,key:o,disabled:r}),h.current.disabled=r)}),[i,o,r,l]),{active:u,rect:m,isOver:(null==c?void 0:c.id)===i,node:w,over:c,setNodeRef:C}}},45587:(e,t,r)=>{"use strict";r.d(t,{Fo:()=>f,Rp:()=>a,is:()=>C,nB:()=>x,qw:()=>p});var n=r(67294),i=r(79752),s=r(24285);function a(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function o(e,t){return e.reduce(((e,r,n)=>{const i=t.get(r);return i&&(e[n]=i),e}),Array(e.length))}function u(e){return null!==e&&e>=0}const l=e=>{let{rects:t,activeIndex:r,overIndex:n,index:i}=e;const s=a(t,n,r),o=t[i],u=s[i];return u&&o?{x:u.left-o.left,y:u.top-o.top,scaleX:u.width/o.width,scaleY:u.height/o.height}:null},c={scaleX:1,scaleY:1},p=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:i,rects:s,overIndex:a}=e;const o=null!=(t=s[r])?t:n;if(!o)return null;if(i===r){const e=s[a];return e?{x:0,y:rr&&i<=a?{x:0,y:-o.height-u,...c}:i=a?{x:0,y:o.height+u,...c}:{x:0,y:0,...c}};const h="Sortable",d=n.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:l,disabled:{draggable:!1,droppable:!1}});function f(e){let{children:t,id:r,items:a,strategy:u=l,disabled:c=!1}=e;const{active:p,dragOverlay:f,droppableRects:m,over:y,measureDroppableContainers:g,measuringScheduled:v}=(0,i.Cj)(),b=(0,s.Ld)(h,r),D=Boolean(null!==f.rect),x=(0,n.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),E=null!=p,w=p?x.indexOf(p.id):-1,C=y?x.indexOf(y.id):-1,A=(0,n.useRef)(x),S=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{S&&E&&!v&&g(x)}),[S,x,E,g,v]),(0,n.useEffect)((()=>{A.current=x}),[x]);const T=(0,n.useMemo)((()=>({activeIndex:w,containerId:b,disabled:k,disableTransforms:_,items:x,overIndex:C,useDragOverlay:D,sortedRects:o(x,m),strategy:u})),[w,b,k.draggable,k.droppable,_,x,C,m,D,u]);return n.createElement(d.Provider,{value:T},t)}const m=e=>{let{id:t,items:r,activeIndex:n,overIndex:i}=e;return a(r,n,i).indexOf(t)},y=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:i,items:s,newIndex:a,previousItems:o,previousContainerId:u,transition:l}=e;return!(!l||!n)&&((o===s||i!==a)&&(!!r||a!==i&&t===u))},g={duration:200,easing:"ease"},v="transform",b=s.ux.Transition.toString({property:v,duration:0,easing:"linear"}),D={roleDescription:"sortable"};function x(e){let{animateLayoutChanges:t=y,attributes:r,disabled:a,data:o,getNewIndex:l=m,id:c,strategy:p,resizeObserverConfig:h,transition:f=g}=e;const{items:x,containerId:E,activeIndex:w,disabled:C,disableTransforms:A,sortedRects:S,overIndex:_,useDragOverlay:k,strategy:T}=(0,n.useContext)(d),F=function(e,t){var r,n;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{draggable:null!=(r=null==e?void 0:e.draggable)?r:t.draggable,droppable:null!=(n=null==e?void 0:e.droppable)?n:t.droppable}}(a,C),P=x.indexOf(c),N=(0,n.useMemo)((()=>({sortable:{containerId:E,index:P,items:x},...o})),[E,o,P,x]),I=(0,n.useMemo)((()=>x.slice(x.indexOf(c))),[x,c]),{rect:O,node:B,isOver:j,setNodeRef:L}=(0,i.Zj)({id:c,data:N,disabled:F.droppable,resizeObserverConfig:{updateMeasurementsFor:I,...h}}),{active:M,activatorEvent:R,activeNodeRect:z,attributes:U,setNodeRef:V,listeners:$,isDragging:W,over:H,setActivatorNodeRef:q,transform:K}=(0,i.O1)({id:c,data:N,attributes:{...D,...r},disabled:F.draggable}),Z=(0,s.HB)(L,V),G=Boolean(M),J=G&&!A&&u(w)&&u(_),Y=!k&&W,X=Y&&J?K:null,Q=J?null!=X?X:(null!=p?p:T)({rects:S,activeNodeRect:z,activeIndex:w,overIndex:_,index:P}):null,ee=u(w)&&u(_)?l({id:c,items:x,activeIndex:w,overIndex:_}):P,te=null==M?void 0:M.id,re=(0,n.useRef)({activeId:te,items:x,newIndex:ee,containerId:E}),ne=x!==re.current.items,ie=t({active:M,containerId:E,isDragging:W,isSorting:G,id:c,index:P,items:x,newIndex:re.current.newIndex,previousItems:re.current.items,previousContainerId:re.current.containerId,transition:f,wasDragging:null!=re.current.activeId}),se=function(e){let{disabled:t,index:r,node:a,rect:o}=e;const[u,l]=(0,n.useState)(null),c=(0,n.useRef)(r);return(0,s.LI)((()=>{if(!t&&r!==c.current&&a.current){const e=o.current;if(e){const t=(0,i.VK)(a.current,{ignoreTransform:!0}),r={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(r.x||r.y)&&l(r)}}r!==c.current&&(c.current=r)}),[t,r,a,o]),(0,n.useEffect)((()=>{u&&requestAnimationFrame((()=>{l(null)}))}),[u]),u}({disabled:!ie,index:P,node:B,rect:O});return(0,n.useEffect)((()=>{G&&re.current.newIndex!==ee&&(re.current.newIndex=ee),E!==re.current.containerId&&(re.current.containerId=E),x!==re.current.items&&(re.current.items=x)}),[G,ee,E,x]),(0,n.useEffect)((()=>{if(te===re.current.activeId)return;if(te&&!re.current.activeId)return void(re.current.activeId=te);const e=setTimeout((()=>{re.current.activeId=te}),50);return()=>clearTimeout(e)}),[te]),{active:M,activeIndex:w,attributes:U,data:N,rect:O,index:P,newIndex:ee,items:x,isOver:j,isSorting:G,isDragging:W,listeners:$,node:B,overIndex:_,over:H,setNodeRef:Z,setActivatorNodeRef:q,setDroppableNodeRef:L,setDraggableNodeRef:V,transform:null!=se?se:Q,transition:function(){if(se||ne&&re.current.newIndex===P)return b;if(Y&&!(0,s.vd)(R)||!f)return;if(G||ie)return s.ux.Transition.toString({...f,property:v});return}()}}function E(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const w=[i.g4.Down,i.g4.Right,i.g4.Up,i.g4.Left],C=(e,t)=>{let{context:{active:r,collisionRect:n,droppableRects:a,droppableContainers:o,over:u,scrollableAncestors:l}}=t;if(w.includes(e.code)){if(e.preventDefault(),!r||!n)return;const t=[];o.getEnabled().forEach((r=>{if(!r||null!=r&&r.disabled)return;const s=a.get(r.id);if(s)switch(e.code){case i.g4.Down:n.tops.top&&t.push(r);break;case i.g4.Left:n.left>s.left&&t.push(r);break;case i.g4.Right:n.left1&&(p=c[1].id),null!=p){const e=o.get(r.id),t=o.get(p),u=t?a.get(t.id):null,c=null==t?void 0:t.node.current;if(c&&u&&e&&t){const r=(0,i.hI)(c).some(((e,t)=>l[t]!==e)),a=A(e,t),o=function(e,t){if(!E(e)||!E(t))return!1;if(!A(e,t))return!1;return e.data.current.sortable.index{"use strict";r.d(t,{$X:()=>C,D9:()=>b,DC:()=>S,Ey:()=>y,FJ:()=>a,Gj:()=>g,HB:()=>i,IH:()=>w,Jj:()=>u,LI:()=>d,Ld:()=>x,Nq:()=>s,Re:()=>c,UG:()=>o,Yz:()=>m,qk:()=>l,r3:()=>h,so:()=>T,ux:()=>_,vZ:()=>p,vd:()=>A,wm:()=>v,zX:()=>f});var n=r(67294);function i(...e){return(0,n.useMemo)((()=>t=>{e.forEach((e=>e(t)))}),e)}const s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function o(e){return"nodeType"in e}function u(e){var t,r;return e?a(e)?e:o(e)&&null!=(t=null==(r=e.ownerDocument)?void 0:r.defaultView)?t:window:window}function l(e){const{Document:t}=u(e);return e instanceof t}function c(e){return!a(e)&&e instanceof u(e).HTMLElement}function p(e){return e instanceof u(e).SVGElement}function h(e){return e?a(e)?e.document:o(e)?l(e)?e:c(e)?e.ownerDocument:document:document:document}const d=798==r.j?s?n.useLayoutEffect:n.useEffect:null;function f(e){const t=(0,n.useRef)(e);return d((()=>{t.current=e})),(0,n.useCallback)((function(...e){return null==t.current?void 0:t.current(...e)}),[])}function m(){const e=(0,n.useRef)(null);return[(0,n.useCallback)(((t,r)=>{e.current=setInterval(t,r)}),[]),(0,n.useCallback)((()=>{null!==e.current&&(clearInterval(e.current),e.current=null)}),[])]}function y(e,t=[e]){const r=(0,n.useRef)(e);return d((()=>{r.current!==e&&(r.current=e)}),t),r}function g(e,t){const r=(0,n.useRef)();return(0,n.useMemo)((()=>{const t=e(r.current);return r.current=t,t}),[...t])}function v(e){const t=f(e),r=(0,n.useRef)(null),i=(0,n.useCallback)((e=>{e!==r.current&&(null==t||t(e,r.current)),r.current=e}),[]);return[r,i]}function b(e){const t=(0,n.useRef)();return(0,n.useEffect)((()=>{t.current=e}),[e]),t.current}let D={};function x(e,t){return(0,n.useMemo)((()=>{if(t)return t;const r=null==D[e]?0:D[e]+1;return D[e]=r,`${e}-${r}`}),[e,t])}function E(e){return(t,...r)=>r.reduce(((t,r)=>{const n=Object.entries(r);for(const[r,i]of n){const n=t[r];null!=n&&(t[r]=n+e*i)}return t}),{...t})}const w=798==r.j?E(1):null,C=798==r.j?E(-1):null;function A(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=u(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const _=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return`translate3d(${t?Math.round(t):0}px, ${r?Math.round(r):0}px, 0)`}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return`scaleX(${t}) scaleY(${r})`}},Transform:{toString(e){if(e)return[_.Translate.toString(e),_.Scale.toString(e)].join(" ")}},Transition:{toString:({property:e,duration:t,easing:r})=>`${e} ${t}ms ${r}`}}),k="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function T(e){return e.matches(k)?e:e.querySelector(k)}},37213:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E});var n=function(e){return function(t){return Math.pow(t,e)}},i=function(e){return function(t){return 1-Math.abs(Math.pow(t-1,e))}},s=function(e){return function(t){return t<.5?n(e)(2*t)/2:i(e)(2*t-1)/2+.5}},a=n(2),o=i(2),u=s(2),l=n(3),c=i(3),p=s(3),h=n(4),d=i(4),f=s(4),m=n(5),y=i(5),g=s(5),v=function(e){var t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375},b=function(e){return 1-v(1-e)},D=Object.freeze({linear:function(e){return e},quadIn:a,quadOut:o,quadInOut:u,cubicIn:l,cubicOut:c,cubicInOut:p,quartIn:h,quartOut:d,quartInOut:f,quintIn:m,quintOut:y,quintInOut:g,sineIn:function(e){return 1+Math.sin(Math.PI/2*e-Math.PI/2)},sineOut:function(e){return Math.sin(Math.PI/2*e)},sineInOut:function(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2},bounceOut:v,bounceIn:b,bounceInOut:function(e){return e<.5?.5*b(2*e):.5*v(2*e-1)+.5}}),x=function(e){var t=e.from,r=e.to,n=e.duration,i=e.delay,s=e.easing,a=e.onStart,o=e.onUpdate,u=e.onFinish;for(var l in t)void 0===r[l]&&(r[l]=t[l]);for(var c in r)void 0===t[c]&&(t[c]=r[c]);this.from=t,this.to=r,this.duration=n||500,this.delay=i||0,this.easing=s||"linear",this.onStart=a,this.onUpdate=o||function(){},this.onFinish=u,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};x.prototype.update=function(){if(this.time=Date.now(),!(this.timethis.duration?this.duration:this.elapsed,this.to)this.keys[e]=this.from[e]+(this.to[e]-this.from[e])*D[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}else this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys))},x.prototype.start=function(){var e=this;this.startTime=Date.now()+this.delay;var t=function(){e.update(),e.timer=requestAnimationFrame(t),e.finished&&(cancelAnimationFrame(e.timer),e.timer=null)};t()},x.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null};const E=798==r.j?x:null},30959:(e,t,r)=>{"use strict";r.d(t,{V_:()=>S});var n=Object.prototype.toString;function i(e){return"[object Array]"===n.call(e)}function s(e){return"[object Object]"===n.call(e)}function a(e){return"[object String]"===n.call(e)}function o(e){return"[object Function]"===n.call(e)}function u(e){return null==e||""===e}function l(e){return i(e)&&!e.length}var c=function(e,t){if("object"!=typeof e||"object"!=typeof t)return e===t;if(o(e)&&o(t))return e===t||e.toString()===t.toString();if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e){if(!c(e[r],t[r]))return!1}return!0},p="#{field} is not a #{type} type",h={required:"#{field} is required",type:{ip:p,email:p,url:p,string:p,number:p,array:p,object:p,boolean:p},number:{min:"`#{value}` is not greater than `#{min}`",max:"`#{value}` is not less than `#{max}`",equal:"`#{value}` is not equal to `#{equal}`",range:"`#{value}` is not in range `#{min} ~ #{max}`",positive:"`#{value}` is not a positive number",negative:"`#{value}` is not a negative number"},string:{maxLength:"#{field} cannot be longer than #{maxLength} characters",minLength:"#{field} must be at least #{minLength} characters",length:"#{field} must be exactly #{length} characters",match:"`#{value}` does not match pattern #{pattern}",uppercase:"`#{value}` must be all uppercase",lowercase:"`#{value}` must be all lowercased"},array:{length:"#{field} must be exactly #{length} in length",minLength:"#{field} cannot be less than #{minLength} in length",maxLength:"#{field} cannot be greater than #{maxLength} in length",includes:"#{field} is not includes #{includes}",deepEqual:"#{field} is not deep equal with #{deepEqual}",empty:"#{field} is not an empty array"},object:{deepEqual:"#{field} is not deep equal to expected value",hasKeys:"#{field} does not contain required fields",empty:"`#{field} is not an empty object"},boolean:{true:"Expect true but got `#{value}`",false:"Expect false but got `#{value}`"}},d=function(e,t){var r=this;this.getValidateMsg=function(e,t){void 0===t&&(t={});var n=Object.assign(Object.assign({},t),{value:r.obj,field:r.field,type:r.type}),u=function(e,t){for(var r=t.split("."),n=e,i=0;i=e,this.getValidateMsg("string.minLength",{minLength:e})):this},t.prototype.length=function(e){return this.obj?this.validate(this.obj.length===e,this.getValidateMsg("string.length",{length:e})):this},t.prototype.match=function(e){var t=e instanceof RegExp;return t&&(e.lastIndex=0),this.validate(void 0===this.obj||t&&e.test(this.obj),this.getValidateMsg("string.match",{pattern:e}))},r.uppercase.get=function(){return this.obj?this.validate(this.obj.toUpperCase()===this.obj,this.getValidateMsg("string.uppercase")):this},r.lowercase.get=function(){return this.obj?this.validate(this.obj.toLowerCase()===this.obj,this.getValidateMsg("string.lowercase")):this},Object.defineProperties(t.prototype,r),t}(d),y=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"number"})),this.validate(!r||!r.strict||function(e){return"[object Number]"===n.call(e)&&e==e}(this.obj),this.getValidateMsg("type.number"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={positive:{configurable:!0},negative:{configurable:!0}};return t.prototype.min=function(e){return u(this.obj)?this:this.validate(this.obj>=e,this.getValidateMsg("number.min",{min:e}))},t.prototype.max=function(e){return u(this.obj)?this:this.validate(this.obj<=e,this.getValidateMsg("number.max",{max:e}))},t.prototype.equal=function(e){return u(this.obj)?this:this.validate(this.obj===e,this.getValidateMsg("number.equal",{equal:e}))},t.prototype.range=function(e,t){return u(this.obj)?this:this.validate(this.obj>=e&&this.obj<=t,this.getValidateMsg("number.range",{min:e,max:t}))},r.positive.get=function(){return u(this.obj)?this:this.validate(this.obj>0,this.getValidateMsg("number.positive"))},r.negative.get=function(){return u(this.obj)?this:this.validate(this.obj<0,this.getValidateMsg("number.negative"))},Object.defineProperties(t.prototype,r),t}(d),g=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"array"})),this.validate(!r||!r.strict||i(this.obj),this.getValidateMsg("type.array",{value:this.obj,type:this.type}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={empty:{configurable:!0}};return t.prototype.length=function(e){return this.obj?this.validate(this.obj.length===e,this.getValidateMsg("array.length",{value:this.obj,length:e})):this},t.prototype.minLength=function(e){return this.obj?this.validate(this.obj.length>=e,this.getValidateMsg("array.minLength",{value:this.obj,minLength:e})):this},t.prototype.maxLength=function(e){return this.obj?this.validate(this.obj.length<=e,this.getValidateMsg("array.maxLength",{value:this.obj,maxLength:e})):this},t.prototype.includes=function(e){var t=this;return this.obj?this.validate(e.every((function(e){return-1!==t.obj.indexOf(e)})),this.getValidateMsg("array.includes",{value:this.obj,includes:e})):this},t.prototype.deepEqual=function(e){return this.obj?this.validate(c(this.obj,e),this.getValidateMsg("array.deepEqual",{value:this.obj,deepEqual:e})):this},r.empty.get=function(){return this.validate(l(this.obj),this.getValidateMsg("array.empty",{value:this.obj}))},Object.defineProperties(t.prototype,r),t}(d),v=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"object"})),this.validate(!r||!r.strict||s(this.obj),this.getValidateMsg("type.object"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={empty:{configurable:!0}};return t.prototype.deepEqual=function(e){return this.obj?this.validate(c(this.obj,e),this.getValidateMsg("object.deepEqual",{deepEqual:e})):this},t.prototype.hasKeys=function(e){var t=this;return this.obj?this.validate(e.every((function(e){return t.obj[e]})),this.getValidateMsg("object.hasKeys",{keys:e})):this},r.empty.get=function(){return this.validate(s(e=this.obj)&&0===Object.keys(e).length,this.getValidateMsg("object.empty"));var e},Object.defineProperties(t.prototype,r),t}(d),b=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"boolean"})),this.validate(!r||!r.strict||function(e){return"[object Boolean]"===n.call(e)}(this.obj),this.getValidateMsg("type.boolean"))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={true:{configurable:!0},false:{configurable:!0}};return r.true.get=function(){return this.validate(!0===this.obj,this.getValidateMsg("boolean.true"))},r.false.get=function(){return this.validate(!1===this.obj,this.getValidateMsg("boolean.false"))},Object.defineProperties(t.prototype,r),t}(d),D=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,x=new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),E=/^(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})(\.(2(5[0-5]{1}|[0-4]\d{1})|[0-1]?\d{1,2})){3}$/,w=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"type"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={email:{configurable:!0},url:{configurable:!0},ip:{configurable:!0}};return r.email.get=function(){return this.type="email",this.validate(void 0===this.obj||D.test(this.obj),this.getValidateMsg("type.email"))},r.url.get=function(){return this.type="url",this.validate(void 0===this.obj||x.test(this.obj),this.getValidateMsg("type.url"))},r.ip.get=function(){return this.type="ip",this.validate(void 0===this.obj||E.test(this.obj),this.getValidateMsg("type.ip"))},Object.defineProperties(t.prototype,r),t}(d),C=function(e){function t(t,r){e.call(this,t,Object.assign(Object.assign({},r),{type:"custom"}))}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var r={validate:{configurable:!0}};return r.validate.get=function(){var e=this;return function(t,r){var n;if(t)return(n=t(e.obj,e.addError.bind(e)))&&n.then?(r&&n.then((function(){r&&r(e.error)}),(function(e){console.error(e)})),[n,e]):(r&&r(e.error),e.error)}},Object.defineProperties(t.prototype,r),t}(d),A=function(e,t){this.string=new m(e,t),this.number=new y(e,t),this.array=new g(e,t),this.object=new v(e,t),this.boolean=new b(e,t),this.type=new w(e,t),this.custom=new C(e,t)};var S=function(e,t){void 0===t&&(t={}),this.schema=e,this.options=t};S.prototype.validate=function(e,t){var r=this;if(s(e)){var n=[],a=null;this.schema&&Object.keys(this.schema).forEach((function(t){if(i(r.schema[t]))for(var s=function(i){var s=r.schema[t][i],u=s.type,l=s.message;if(!u&&!s.validator)throw"You must specify a type to field "+t+"!";var c=new A(e[t],Object.assign(Object.assign({},r.options),{message:l,field:t})),p=c.type[u]||null;if(!p){if(s.validator)return p=c.custom.validate(s.validator),void("[object Array]"===Object.prototype.toString.call(p)&&p[0].then?n.push({function:p[0],_this:p[1],key:t}):p&&o(t,p));p=c[u]}if(Object.keys(s).forEach((function(e){s.required&&(p=p.isRequired),"message"!==e&&p[e]&&s[e]&&"object"==typeof p[e]&&(p=p[e]),p[e]&&void 0!==s[e]&&"function"==typeof p[e]&&(p=p[e](s[e]))})),p.collect((function(e){e&&o(t,e)})),a)return"break"},u=0;u0?Promise.all(n.map((function(e){return e.function}))).then((function(){n.forEach((function(e){e._this.error&&o(e.key,e._this.error)})),t&&t(a)})):t&&t(a)}function o(e,t){a||(a={}),a[e]&&!t.requiredError||(a[e]=t)}}},41976:function(e,t,r){var n,i,s;i=[r(68565)],n=function(e,t){var n={},i=t&&t.spawn;const s=r(35096)(e),a=r(65238)(s,i);return e.DateTime.prototype.getWeekDay=function(){return 7===this.weekday?0:this.weekday},n.job=(e,t,r,n,i,s,o,u,l)=>new a(e,t,r,n,i,s,o,u,l),n.time=(e,t)=>new s(e,t),n.sendAt=e=>n.time(e).sendAt(),n.timeout=e=>n.time(e).getTimeout(),n.CronJob=a,n.CronTime=s,n},void 0===(s="function"==typeof n?n.apply(t,i):n)||(e.exports=s)},65238:e=>{e.exports=function(e,t){function r(e){var r,n;switch(typeof e){case"string":return r=(n=e.split(" ")).shift(),t.bind(void 0,r,n);case"object":if(r=e&&e.command){n=e.args;var i=e.options;return t.bind(void 0,r,n,i)}}return e}function n(t,n,o,u,l,c,p,h,d){for(var f=t,m=0,y=0;y=0;e--)this._callbacks[e].call(this.context,this.onComplete)};n.prototype.fireOnTick=s,n.prototype.nextDates=function(e){return this.cronTime.sendAt(e)};var a=function(){if(!this.running){var e,t=2147483647,r=this,n=this.cronTime.getTimeout(),i=0;this.cronTime.realDate&&(this.runOnce=!0),n>=0?(this.running=!0,n>t&&(i=n-t,n=t),s(n)):this.stop()}function s(t){e=Date.now(),r._timeout=setTimeout(a,t),r.unrefTimeout&&"function"==typeof r._timeout.unref&&r._timeout.unref()}function a(){var a=e+n-Date.now();if(a>0){var o=r.cronTime.getTimeout();o>a&&(o=a),i+=o}r.lastExecution=new Date,i?(i>t?(i-=t,n=t):(n=i,i=0),s(n)):(r.running=!1,r.runOnce||r.start(),r.fireOnTick())}};return n.prototype.start=a,n.prototype.lastDate=function(){return this.lastExecution},n.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this.running=!1,"function"==typeof this.onComplete&&this.onComplete()},n}},35096:e=>{const t=[[0,59],[0,59],[0,23],[1,31],[0,11],[0,6]],r=[31,29,31,30,31,30,31,31,30,31,30,31],n=["0","*","*","*","*","*"],i={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11,sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6},s=["second","minute","hour","dayOfMonth","month","dayOfWeek"],a=s.length,o={"@yearly":"0 0 0 1 0 *","@monthly":"0 0 0 1 * *","@weekly":"0 0 0 * * 0","@daily":"0 0 0 * * *","@hourly":"0 0 * * * *","@minutely":"0 * * * * *","@secondly":"* * * * * *","@weekdays":"0 0 0 * * 1-5","@weekends":"0 0 0 * * 0,6"},u=/\*/g,l=/^(\d+)(?:-(\d+))?(?:\/(\d+))?$/g;e.exports=function(e){function c(t,r,n){if(this.source=t,r){if(e.DateTime.fromObject({},{zone:r}).invalid)throw new Error("Invalid timezone.");this.zone=r}void 0!==n&&(this.utcOffset=n);var i=this;s.map((e=>{i[e]={}})),this.source instanceof Date||this.source instanceof e.DateTime?(this.source instanceof Date&&(this.source=e.DateTime.fromJSDate(this.source)),this.realDate=!0):(this._parse(this.source),this._verifyParse())}return c.prototype={_verifyParse:function(){for(var e=Object.keys(this.month),t=Object.keys(this.dayOfMonth),n=!1,i=NaN,s=0;sl){delete this.dayOfMonth[p];var h=Number(p)%l;this.dayOfMonth[h]=!0}}},sendAt:function(t){var r=this.realDate?this.source:e.DateTime.local();if(this.zone&&(r=r.setZone(this.zone)),void 0!==this.utcOffset){let e=this.utcOffset>=60||this.utcOffset<=-60?this.utcOffset/60:this.utcOffset;e=parseInt(e);let t="UTC";if(e<0?t+=e:e>0&&(t+=`+${e}`),(r=r.setZone(t)).invalid)throw new Error("ERROR: You specified an invalid UTC offset.")}if(this.realDate){if(e.DateTime.local()>r)throw new Error("WARNING: Date in past. Will never be fired.");return r}if(isNaN(t)||t<0)return this._getNextDateFrom(r);for(var n=[];t>0;t--)r=this._getNextDateFrom(r),n.push(r);return n},getTimeout:function(){return Math.max(-1,this.sendAt()-e.DateTime.local())},toString:function(){return this.toJSON().join(" ")},toJSON:function(){var e=this;return s.map((function(t){return e._wcOrAll(t)}))},getNextDateFrom:function(e,t){return this._getNextDateFrom(e,t)},_getNextDateFrom:function(t,r){t instanceof Date&&(t=e.DateTime.fromJSDate(t));var n=t,i=t.toMillis();if(r&&(n=n.setZone(r)),this.realDate||n.millisecond>0&&(n=n.set({millisecond:0,second:n.second+1})),n.invalid)throw new Error("ERROR: You specified an invalid date.");for(var s=Date.now()+5e3;;){var a=n-t;if(Date.now()>s)throw new Error(`Something went wrong. It took over five seconds to find the next execution time for the cron job.\n\t\t\t\t\t\t\tPlease refer to the canonical issue (https://github.com/kelektiv/node-cron/issues/467) and provide the following string if you would like to help debug:\n\t\t\t\t\t\t\tTime Zone: ${r||'""'} - Cron String: ${this} - UTC offset: ${n.offset}\n\t\t\t\t\t\t\t- current Date: ${e.DateTime.local().toString()}`);if(n.month-1 in this.month||12===Object.keys(this.month).length){if(n.day in this.dayOfMonth||31===Object.keys(this.dayOfMonth).length||n.getWeekDay()in this.dayOfWeek&&7!==Object.keys(this.dayOfWeek).length){if(n.getWeekDay()in this.dayOfWeek||7===Object.keys(this.dayOfWeek).length||n.day in this.dayOfMonth&&31!==Object.keys(this.dayOfMonth).length)if(n.hour in this.hour||24===Object.keys(this.hour).length)if(n.minute in this.minute||60===Object.keys(this.minute).length)if(n.second in this.second||60===Object.keys(this.second).length){if(n.toMillis()!==i)break;{const e=n.second+1,t=n.minute+(60===e),r=n.hour+(60===t?1:0);if(n=n.set({second:e}),this._forwardDSTJump(r,t,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}}else{const e=59===n.second&&a>6e4?0:n.second+1,t=n.minute+(60===e),r=n.hour+(60===t?1:0);if(n=n.set({second:e}),this._forwardDSTJump(r,t,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}else{const e=59===n.minute&&a>36e5?0:n.minute+1,t=n.hour+(60===e?1:0);if(n=(n=n.set({minute:e})).set({second:0}),this._forwardDSTJump(t,e,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}else{const e=23===n.hour&&a>864e5?0:n.hour+1,t=n.minute;if(n=(n=n.set({hour:e})).set({minute:0,second:0}),this._forwardDSTJump(e,t,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}else if(n=(n=n.plus({days:1})).set({hour:0,minute:0,second:0}),this._forwardDSTJump(0,0,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}else if(n=(n=n.plus({days:1})).set({hour:0,minute:0,second:0}),this._forwardDSTJump(0,0,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}else if(n=(n=n.plus({months:1})).set({day:1,hour:0,minute:0,second:0}),this._forwardDSTJump(0,0,n)){const[e,t]=this._findPreviousDSTJump(n);if(n=t,e)break}}return n},_findPreviousDSTJump:function(e){let t,r,n,i,s=e;let a=0;do{if(++a>1440)throw new Error(`ERROR: This DST checking related function assumes the input DateTime (${e.toISO()}) is within 24 hours of a DST jump.`);t=s.minute-1,r=s.hour,t<0&&(t+=60,r=(r+24-1)%24),s=s.minus({minute:1}),n=s.minute,i=s.hour}while(t===n&&r===i);const o=s.plus({minute:1}).set({seconds:0,millisecond:0}),u=o.minus({second:1});return e.month in this.month&&e.day in this.dayOfMonth&&e.getWeekDay()in this.dayOfWeek?[this._checkTimeInSkippedRange(u,o),o]:[!1,o]},_checkTimeInSkippedRange:function(e,t){const r=(e.minute+1)%60,n=(e.hour+(0===r))%24,i=t.hour-n+1,s=0===r&&0===t.minute;return 2===i&&s?n in this.hour:1===i?n in this.hour&&this._checkTimeInSkippedRangeSingleHour(r,t.minute):this._checkTimeInSkippedRangeMultiHour(n,r,t.hour,t.minute)},_checkTimeInSkippedRangeSingleHour:function(e,t){for(let r=e;r=r)throw new Error(`ERROR: This DST checking related function assumes the forward jump starting hour (${e}) is less than the end hour (${r})`);const i=Array.from({length:60-t},((e,r)=>t+r)),s=Array.from({length:n},((e,t)=>t)),a=Array.from({length:60},((e,t)=>t));for(let t=e;t<=r;++t){if(!(t in this.hour))continue;const n=(o=t)===e?i:o===r?s:a;for(const e of n)if(e in this.minute)return!0}var o;return r in this.hour&&n in this.minute&&0 in this.second},_forwardDSTJump:function(e,t,r){const n=r.hour,i=r.minute;return e%24{if(e in i)return i[e];throw new Error(`Unknown alias: ${e}`)}))).trim().split(/\s+/);if(r.lengtha)throw new Error("Too many fields");for(var u=r.length,l=0;l{var t=e.indexOf("*");if(-1!==t&&0!==t)throw new Error(`Field (${e}) has an invalid wildcard expression`)}));for(var o=(e=e.replace(u,`${s}-${a}`)).split(","),c=0;c{o=parseInt(o,10),u=parseInt(u,10)||void 0;const c=!isNaN(parseInt(l,10));if("0"===l)throw new Error(`Field (${t}) has a step of zero`);if(l=parseInt(l,10)||1,u&&o>u)throw new Error(`Field (${t}) has an invalid range`);if(oa||!u&&o>a)throw new Error(`Field value (${e}) is out of range`);o=Math.min(Math.max(s,~~Math.abs(o)),a),u=u?Math.min(a,~~Math.abs(u)):c?a:o,n=o;do{i[n]=!0,n+=l}while(n<=u)}))}}},c}},40452:function(e,t,r){var n;e.exports=(n=r(78249),r(98269),r(68214),r(90888),r(75109),function(){var e=n,t=e.lib.BlockCipher,r=e.algo,i=[],s=[],a=[],o=[],u=[],l=[],c=[],p=[],h=[],d=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var r=0,n=0;for(t=0;t<256;t++){var f=n^n<<1^n<<2^n<<3^n<<4;f=f>>>8^255&f^99,i[r]=f,s[f]=r;var m=e[r],y=e[m],g=e[y],v=257*e[f]^16843008*f;a[r]=v<<24|v>>>8,o[r]=v<<16|v>>>16,u[r]=v<<8|v>>>24,l[r]=v,v=16843009*g^65537*y^257*m^16843008*r,c[f]=v<<24|v>>>8,p[f]=v<<16|v>>>16,h[f]=v<<8|v>>>24,d[f]=v,r?(r=m^e[e[e[g^m]]],n^=e[e[n]]):r=n=1}}();var f=[0,1,2,4,8,16,32,64,128,27,54],m=r.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,r=e.sigBytes/4,n=4*((this._nRounds=r+6)+1),s=this._keySchedule=[],a=0;a6&&a%r==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=f[a/r|0]<<24),s[a]=s[a-r]^l);for(var o=this._invKeySchedule=[],u=0;u>>24]]^p[i[l>>>16&255]]^h[i[l>>>8&255]]^d[i[255&l]]}}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,a,o,u,l,i)},decryptBlock:function(e,t){var r=e[t+1];e[t+1]=e[t+3],e[t+3]=r,this._doCryptBlock(e,t,this._invKeySchedule,c,p,h,d,s),r=e[t+1],e[t+1]=e[t+3],e[t+3]=r},_doCryptBlock:function(e,t,r,n,i,s,a,o){for(var u=this._nRounds,l=e[t]^r[0],c=e[t+1]^r[1],p=e[t+2]^r[2],h=e[t+3]^r[3],d=4,f=1;f>>24]^i[c>>>16&255]^s[p>>>8&255]^a[255&h]^r[d++],y=n[c>>>24]^i[p>>>16&255]^s[h>>>8&255]^a[255&l]^r[d++],g=n[p>>>24]^i[h>>>16&255]^s[l>>>8&255]^a[255&c]^r[d++],v=n[h>>>24]^i[l>>>16&255]^s[c>>>8&255]^a[255&p]^r[d++];l=m,c=y,p=g,h=v}m=(o[l>>>24]<<24|o[c>>>16&255]<<16|o[p>>>8&255]<<8|o[255&h])^r[d++],y=(o[c>>>24]<<24|o[p>>>16&255]<<16|o[h>>>8&255]<<8|o[255&l])^r[d++],g=(o[p>>>24]<<24|o[h>>>16&255]<<16|o[l>>>8&255]<<8|o[255&c])^r[d++],v=(o[h>>>24]<<24|o[l>>>16&255]<<16|o[c>>>8&255]<<8|o[255&p])^r[d++],e[t]=m,e[t+1]=y,e[t+2]=g,e[t+3]=v},keySize:8});e.AES=t._createHelper(m)}(),n.AES)},75109:function(e,t,r){var n;e.exports=(n=r(78249),r(90888),void(n.lib.Cipher||function(e){var t=n,r=t.lib,i=r.Base,s=r.WordArray,a=r.BufferedBlockAlgorithm,o=t.enc,u=(o.Utf8,o.Base64),l=t.algo.EvpKDF,c=r.Cipher=a.extend({cfg:i.extend(),createEncryptor:function(e,t){return this.create(this._ENC_XFORM_MODE,e,t)},createDecryptor:function(e,t){return this.create(this._DEC_XFORM_MODE,e,t)},init:function(e,t,r){this.cfg=this.cfg.extend(r),this._xformMode=e,this._key=t,this.reset()},reset:function(){a.reset.call(this),this._doReset()},process:function(e){return this._append(e),this._process()},finalize:function(e){return e&&this._append(e),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function e(e){return"string"==typeof e?b:g}return function(t){return{encrypt:function(r,n,i){return e(n).encrypt(t,r,n,i)},decrypt:function(r,n,i){return e(n).decrypt(t,r,n,i)}}}}()}),p=(r.StreamCipher=c.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),t.mode={}),h=r.BlockCipherMode=i.extend({createEncryptor:function(e,t){return this.Encryptor.create(e,t)},createDecryptor:function(e,t){return this.Decryptor.create(e,t)},init:function(e,t){this._cipher=e,this._iv=t}}),d=p.CBC=function(){var t=h.extend();function r(t,r,n){var i,s=this._iv;s?(i=s,this._iv=e):i=this._prevBlock;for(var a=0;a>>2];e.sigBytes-=t}},m=(r.BlockCipher=c.extend({cfg:c.cfg.extend({mode:d,padding:f}),reset:function(){var e;c.reset.call(this);var t=this.cfg,r=t.iv,n=t.mode;this._xformMode==this._ENC_XFORM_MODE?e=n.createEncryptor:(e=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==e?this._mode.init(this,r&&r.words):(this._mode=e.call(n,this,r&&r.words),this._mode.__creator=e)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e,t=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(t.pad(this._data,this.blockSize),e=this._process(!0)):(e=this._process(!0),t.unpad(e)),e},blockSize:4}),r.CipherParams=i.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}})),y=(t.format={}).OpenSSL={stringify:function(e){var t=e.ciphertext,r=e.salt;return(r?s.create([1398893684,1701076831]).concat(r).concat(t):t).toString(u)},parse:function(e){var t,r=u.parse(e),n=r.words;return 1398893684==n[0]&&1701076831==n[1]&&(t=s.create(n.slice(2,4)),n.splice(0,4),r.sigBytes-=16),m.create({ciphertext:r,salt:t})}},g=r.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(e,t,r,n){n=this.cfg.extend(n);var i=e.createEncryptor(r,n),s=i.finalize(t),a=i.cfg;return m.create({ciphertext:s,key:r,iv:a.iv,algorithm:e,mode:a.mode,padding:a.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,t,r,n){return n=this.cfg.extend(n),t=this._parse(t,n.format),e.createDecryptor(r,n).finalize(t.ciphertext)},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),v=(t.kdf={}).OpenSSL={execute:function(e,t,r,n){n||(n=s.random(8));var i=l.create({keySize:t+r}).compute(e,n),a=s.create(i.words.slice(t),4*r);return i.sigBytes=4*t,m.create({key:i,iv:a,salt:n})}},b=r.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:v}),encrypt:function(e,t,r,n){var i=(n=this.cfg.extend(n)).kdf.execute(r,e.keySize,e.ivSize);n.iv=i.iv;var s=g.encrypt.call(this,e,t,i.key,n);return s.mixIn(i),s},decrypt:function(e,t,r,n){n=this.cfg.extend(n),t=this._parse(t,n.format);var i=n.kdf.execute(r,e.keySize,e.ivSize,t.salt);return n.iv=i.iv,g.decrypt.call(this,e,t,i.key,n)}})}()))},78249:function(e,t,r){var n;e.exports=(n=n||function(e,t){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(42480)}catch(e){}var i=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},o=a.lib={},u=o.Base={extend:function(e){var t=s(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},l=o.WordArray=u.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||p).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,i=e.sigBytes;if(this.clamp(),n%4)for(var s=0;s>>2]>>>24-s%4*8&255;t[n+s>>>2]|=a<<24-(n+s)%4*8}else for(var o=0;o>>2]=r[o>>>2];return this.sigBytes+=i,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=u.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-i%4*8&255;n.push((s>>>4).toString(16)),n.push((15&s).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new l.init(r,t/2)}},h=c.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i>>2]>>>24-i%4*8&255;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new l.init(r,t)}},d=c.Utf8={stringify:function(e){try{return decodeURIComponent(escape(h.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return h.parse(unescape(encodeURIComponent(e)))}},f=o.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=d.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,i=n.words,s=n.sigBytes,a=this.blockSize,o=s/(4*a),u=(o=t?e.ceil(o):e.max((0|o)-this._minBufferSize,0))*a,c=e.min(4*u,s);if(u){for(var p=0;p>>6-a%4*2;i[s>>>2]|=o<<24-s%4*8,s++}return t.create(i,s)}e.enc.Base64={stringify:function(e){var t=e.words,r=e.sigBytes,n=this._map;e.clamp();for(var i=[],s=0;s>>2]>>>24-s%4*8&255)<<16|(t[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|t[s+2>>>2]>>>24-(s+2)%4*8&255,o=0;o<4&&s+.75*o>>6*(3-o)&63));var u=n.charAt(64);if(u)for(;i.length%4;)i.push(u);return i.join("")},parse:function(e){var t=e.length,n=this._map,i=this._reverseMap;if(!i){i=this._reverseMap=[];for(var s=0;s>>6-a%4*2;i[s>>>2]|=o<<24-s%4*8,s++}return t.create(i,s)}e.enc.Base64url={stringify:function(e,t=!0){var r=e.words,n=e.sigBytes,i=t?this._safe_map:this._map;e.clamp();for(var s=[],a=0;a>>2]>>>24-a%4*8&255)<<16|(r[a+1>>>2]>>>24-(a+1)%4*8&255)<<8|r[a+2>>>2]>>>24-(a+2)%4*8&255,u=0;u<4&&a+.75*u>>6*(3-u)&63));var l=i.charAt(64);if(l)for(;s.length%4;)s.push(l);return s.join("")},parse:function(e,t=!0){var n=e.length,i=t?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var a=0;a>>8&16711935}r.Utf16=r.Utf16BE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],i=0;i>>2]>>>16-i%4*8&65535;n.push(String.fromCharCode(s))}return n.join("")},parse:function(e){for(var r=e.length,n=[],i=0;i>>1]|=e.charCodeAt(i)<<16-i%2*16;return t.create(n,2*r)}},r.Utf16LE={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],s=0;s>>2]>>>16-s%4*8&65535);n.push(String.fromCharCode(a))}return n.join("")},parse:function(e){for(var r=e.length,n=[],s=0;s>>1]|=i(e.charCodeAt(s)<<16-s%2*16);return t.create(n,2*r)}}}(),n.enc.Utf16)},90888:function(e,t,r){var n,i,s,a,o,u,l,c;e.exports=(c=r(78249),r(62783),r(89824),i=(n=c).lib,s=i.Base,a=i.WordArray,o=n.algo,u=o.MD5,l=o.EvpKDF=s.extend({cfg:s.extend({keySize:4,hasher:u,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r,n=this.cfg,i=n.hasher.create(),s=a.create(),o=s.words,u=n.keySize,l=n.iterations;o.lengthn&&(t=e.finalize(t)),t.clamp();for(var i=this._oKey=t.clone(),s=this._iKey=t.clone(),o=i.words,u=s.words,l=0;l>>2]|=e[i]<<24-i%4*8;t.call(this,n,r)}else t.apply(this,arguments)};r.prototype=e}}(),n.lib.WordArray)},68214:function(e,t,r){var n;e.exports=(n=r(78249),function(e){var t=n,r=t.lib,i=r.WordArray,s=r.Hasher,a=t.algo,o=[];!function(){for(var t=0;t<64;t++)o[t]=4294967296*e.abs(e.sin(t+1))|0}();var u=a.MD5=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s=this._hash.words,a=e[t+0],u=e[t+1],d=e[t+2],f=e[t+3],m=e[t+4],y=e[t+5],g=e[t+6],v=e[t+7],b=e[t+8],D=e[t+9],x=e[t+10],E=e[t+11],w=e[t+12],C=e[t+13],A=e[t+14],S=e[t+15],_=s[0],k=s[1],T=s[2],F=s[3];_=l(_,k,T,F,a,7,o[0]),F=l(F,_,k,T,u,12,o[1]),T=l(T,F,_,k,d,17,o[2]),k=l(k,T,F,_,f,22,o[3]),_=l(_,k,T,F,m,7,o[4]),F=l(F,_,k,T,y,12,o[5]),T=l(T,F,_,k,g,17,o[6]),k=l(k,T,F,_,v,22,o[7]),_=l(_,k,T,F,b,7,o[8]),F=l(F,_,k,T,D,12,o[9]),T=l(T,F,_,k,x,17,o[10]),k=l(k,T,F,_,E,22,o[11]),_=l(_,k,T,F,w,7,o[12]),F=l(F,_,k,T,C,12,o[13]),T=l(T,F,_,k,A,17,o[14]),_=c(_,k=l(k,T,F,_,S,22,o[15]),T,F,u,5,o[16]),F=c(F,_,k,T,g,9,o[17]),T=c(T,F,_,k,E,14,o[18]),k=c(k,T,F,_,a,20,o[19]),_=c(_,k,T,F,y,5,o[20]),F=c(F,_,k,T,x,9,o[21]),T=c(T,F,_,k,S,14,o[22]),k=c(k,T,F,_,m,20,o[23]),_=c(_,k,T,F,D,5,o[24]),F=c(F,_,k,T,A,9,o[25]),T=c(T,F,_,k,f,14,o[26]),k=c(k,T,F,_,b,20,o[27]),_=c(_,k,T,F,C,5,o[28]),F=c(F,_,k,T,d,9,o[29]),T=c(T,F,_,k,v,14,o[30]),_=p(_,k=c(k,T,F,_,w,20,o[31]),T,F,y,4,o[32]),F=p(F,_,k,T,b,11,o[33]),T=p(T,F,_,k,E,16,o[34]),k=p(k,T,F,_,A,23,o[35]),_=p(_,k,T,F,u,4,o[36]),F=p(F,_,k,T,m,11,o[37]),T=p(T,F,_,k,v,16,o[38]),k=p(k,T,F,_,x,23,o[39]),_=p(_,k,T,F,C,4,o[40]),F=p(F,_,k,T,a,11,o[41]),T=p(T,F,_,k,f,16,o[42]),k=p(k,T,F,_,g,23,o[43]),_=p(_,k,T,F,D,4,o[44]),F=p(F,_,k,T,w,11,o[45]),T=p(T,F,_,k,S,16,o[46]),_=h(_,k=p(k,T,F,_,d,23,o[47]),T,F,a,6,o[48]),F=h(F,_,k,T,v,10,o[49]),T=h(T,F,_,k,A,15,o[50]),k=h(k,T,F,_,y,21,o[51]),_=h(_,k,T,F,w,6,o[52]),F=h(F,_,k,T,f,10,o[53]),T=h(T,F,_,k,x,15,o[54]),k=h(k,T,F,_,u,21,o[55]),_=h(_,k,T,F,b,6,o[56]),F=h(F,_,k,T,S,10,o[57]),T=h(T,F,_,k,g,15,o[58]),k=h(k,T,F,_,C,21,o[59]),_=h(_,k,T,F,m,6,o[60]),F=h(F,_,k,T,E,10,o[61]),T=h(T,F,_,k,d,15,o[62]),k=h(k,T,F,_,D,21,o[63]),s[0]=s[0]+_|0,s[1]=s[1]+k|0,s[2]=s[2]+T|0,s[3]=s[3]+F|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;r[i>>>5]|=128<<24-i%32;var s=e.floor(n/4294967296),a=n;r[15+(i+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),r[14+(i+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var o=this._hash,u=o.words,l=0;l<4;l++){var c=u[l];u[l]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8)}return o},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function l(e,t,r,n,i,s,a){var o=e+(t&r|~t&n)+i+a;return(o<>>32-s)+t}function c(e,t,r,n,i,s,a){var o=e+(t&n|r&~n)+i+a;return(o<>>32-s)+t}function p(e,t,r,n,i,s,a){var o=e+(t^r^n)+i+a;return(o<>>32-s)+t}function h(e,t,r,n,i,s,a){var o=e+(r^(t|~n))+i+a;return(o<>>32-s)+t}t.MD5=s._createHelper(u),t.HmacMD5=s._createHmacHelper(u)}(Math),n.MD5)},8568:function(e,t,r){var n;e.exports=(n=r(78249),r(75109),n.mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,r,n){var i,s=this._iv;s?(i=s.slice(0),this._iv=void 0):i=this._prevBlock,n.encryptBlock(i,0);for(var a=0;a>24&255)){var t=e>>16&255,r=e>>8&255,n=255&e;255===t?(t=0,255===r?(r=0,255===n?n=0:++n):++r):++t,e=0,e+=t<<16,e+=r<<8,e+=n}else e+=1<<24;return e}function r(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var i=e.Encryptor=e.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,s=this._iv,a=this._counter;s&&(a=this._counter=s.slice(0),this._iv=void 0),r(a);var o=a.slice(0);n.encryptBlock(o,0);for(var u=0;u>>2]|=i<<24-s%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)},92807:function(e,t,r){var n;e.exports=(n=r(78249),r(75109),n.pad.Iso10126={pad:function(e,t){var r=4*t,i=r-e.sigBytes%r;e.concat(n.lib.WordArray.random(i-1)).concat(n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)},71077:function(e,t,r){var n;e.exports=(n=r(78249),r(75109),n.pad.Iso97971={pad:function(e,t){e.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)},16991:function(e,t,r){var n;e.exports=(n=r(78249),r(75109),n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)},56475:function(e,t,r){var n;e.exports=(n=r(78249),r(75109),n.pad.ZeroPadding={pad:function(e,t){var r=4*t;e.clamp(),e.sigBytes+=r-(e.sigBytes%r||r)},unpad:function(e){var t=e.words,r=e.sigBytes-1;for(r=e.sigBytes-1;r>=0;r--)if(t[r>>>2]>>>24-r%4*8&255){e.sigBytes=r+1;break}}},n.pad.ZeroPadding)},2112:function(e,t,r){var n,i,s,a,o,u,l,c,p;e.exports=(p=r(78249),r(62783),r(89824),i=(n=p).lib,s=i.Base,a=i.WordArray,o=n.algo,u=o.SHA1,l=o.HMAC,c=o.PBKDF2=s.extend({cfg:s.extend({keySize:4,hasher:u,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var r=this.cfg,n=l.create(r.hasher,e),i=a.create(),s=a.create([1]),o=i.words,u=s.words,c=r.keySize,p=r.iterations;o.length>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],n=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)u.call(this);for(i=0;i<8;i++)n[i]^=r[i+4&7];if(t){var s=t.words,a=s[0],o=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=l>>>16|4294901760&c,h=c<<16|65535&l;for(n[0]^=l,n[1]^=p,n[2]^=c,n[3]^=h,n[4]^=l,n[5]^=p,n[6]^=c,n[7]^=h,i=0;i<4;i++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)s[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.RabbitLegacy=t._createHelper(o)}(),n.RabbitLegacy)},84454:function(e,t,r){var n;e.exports=(n=r(78249),r(98269),r(68214),r(90888),r(75109),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,i=[],s=[],a=[],o=r.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,r=0;r<4;r++)e[r]=16711935&(e[r]<<8|e[r]>>>24)|4278255360&(e[r]<<24|e[r]>>>8);var n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,r=0;r<4;r++)u.call(this);for(r=0;r<8;r++)i[r]^=n[r+4&7];if(t){var s=t.words,a=s[0],o=s[1],l=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),c=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),p=l>>>16|4294901760&c,h=c<<16|65535&l;for(i[0]^=l,i[1]^=p,i[2]^=c,i[3]^=h,i[4]^=l,i[5]^=p,i[6]^=c,i[7]^=h,r=0;r<4;r++)u.call(this)}},_doProcessBlock:function(e,t){var r=this._X;u.call(this),i[0]=r[0]^r[5]>>>16^r[3]<<16,i[1]=r[2]^r[7]>>>16^r[5]<<16,i[2]=r[4]^r[1]>>>16^r[7]<<16,i[3]=r[6]^r[3]>>>16^r[1]<<16;for(var n=0;n<4;n++)i[n]=16711935&(i[n]<<8|i[n]>>>24)|4278255360&(i[n]<<24|i[n]>>>8),e[t+n]^=i[n]},blockSize:4,ivSize:2});function u(){for(var e=this._X,t=this._C,r=0;r<8;r++)s[r]=t[r];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,r=0;r<8;r++){var n=e[r]+t[r],i=65535&n,o=n>>>16,u=((i*i>>>17)+i*o>>>15)+o*o,l=((4294901760&n)*n|0)+((65535&n)*n|0);a[r]=u^l}e[0]=a[0]+(a[7]<<16|a[7]>>>16)+(a[6]<<16|a[6]>>>16)|0,e[1]=a[1]+(a[0]<<8|a[0]>>>24)+a[7]|0,e[2]=a[2]+(a[1]<<16|a[1]>>>16)+(a[0]<<16|a[0]>>>16)|0,e[3]=a[3]+(a[2]<<8|a[2]>>>24)+a[1]|0,e[4]=a[4]+(a[3]<<16|a[3]>>>16)+(a[2]<<16|a[2]>>>16)|0,e[5]=a[5]+(a[4]<<8|a[4]>>>24)+a[3]|0,e[6]=a[6]+(a[5]<<16|a[5]>>>16)+(a[4]<<16|a[4]>>>16)|0,e[7]=a[7]+(a[6]<<8|a[6]>>>24)+a[5]|0}e.Rabbit=t._createHelper(o)}(),n.Rabbit)},51857:function(e,t,r){var n;e.exports=(n=r(78249),r(98269),r(68214),r(90888),r(75109),function(){var e=n,t=e.lib.StreamCipher,r=e.algo,i=r.RC4=t.extend({_doReset:function(){for(var e=this._key,t=e.words,r=e.sigBytes,n=this._S=[],i=0;i<256;i++)n[i]=i;i=0;for(var s=0;i<256;i++){var a=i%r,o=t[a>>>2]>>>24-a%4*8&255;s=(s+n[i]+o)%256;var u=n[i];n[i]=n[s],n[s]=u}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=s.call(this)},keySize:8,ivSize:0});function s(){for(var e=this._S,t=this._i,r=this._j,n=0,i=0;i<4;i++){r=(r+e[t=(t+1)%256])%256;var s=e[t];e[t]=e[r],e[r]=s,n|=e[(e[t]+e[r])%256]<<24-8*i}return this._i=t,this._j=r,n}e.RC4=t._createHelper(i);var a=r.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)s.call(this)}});e.RC4Drop=t._createHelper(a)}(),n.RC4)},30706:function(e,t,r){var n;e.exports=(n=r(78249),function(e){var t=n,r=t.lib,i=r.WordArray,s=r.Hasher,a=t.algo,o=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),l=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),p=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),d=a.RIPEMD160=s.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=0;r<16;r++){var n=t+r,i=e[n];e[n]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var s,a,d,D,x,E,w,C,A,S,_,k=this._hash.words,T=p.words,F=h.words,P=o.words,N=u.words,I=l.words,O=c.words;for(E=s=k[0],w=a=k[1],C=d=k[2],A=D=k[3],S=x=k[4],r=0;r<80;r+=1)_=s+e[t+P[r]]|0,_+=r<16?f(a,d,D)+T[0]:r<32?m(a,d,D)+T[1]:r<48?y(a,d,D)+T[2]:r<64?g(a,d,D)+T[3]:v(a,d,D)+T[4],_=(_=b(_|=0,I[r]))+x|0,s=x,x=D,D=b(d,10),d=a,a=_,_=E+e[t+N[r]]|0,_+=r<16?v(w,C,A)+F[0]:r<32?g(w,C,A)+F[1]:r<48?y(w,C,A)+F[2]:r<64?m(w,C,A)+F[3]:f(w,C,A)+F[4],_=(_=b(_|=0,O[r]))+S|0,E=S,S=A,A=b(C,10),C=w,w=_;_=k[1]+d+A|0,k[1]=k[2]+D+S|0,k[2]=k[3]+x+E|0,k[3]=k[4]+s+w|0,k[4]=k[0]+a+C|0,k[0]=_},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,s=i.words,a=0;a<5;a++){var o=s[a];s[a]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}return i},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,r){return e^t^r}function m(e,t,r){return e&t|~e&r}function y(e,t,r){return(e|~t)^r}function g(e,t,r){return e&r|t&~r}function v(e,t,r){return e^(t|~r)}function b(e,t){return e<>>32-t}t.RIPEMD160=s._createHelper(d),t.HmacRIPEMD160=s._createHmacHelper(d)}(Math),n.RIPEMD160)},62783:function(e,t,r){var n,i,s,a,o,u,l,c;e.exports=(c=r(78249),i=(n=c).lib,s=i.WordArray,a=i.Hasher,o=n.algo,u=[],l=o.SHA1=a.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],o=r[4],l=0;l<80;l++){if(l<16)u[l]=0|e[t+l];else{var c=u[l-3]^u[l-8]^u[l-14]^u[l-16];u[l]=c<<1|c>>>31}var p=(n<<5|n>>>27)+o+u[l];p+=l<20?1518500249+(i&s|~i&a):l<40?1859775393+(i^s^a):l<60?(i&s|i&a|s&a)-1894007588:(i^s^a)-899497514,o=a,a=s,s=i<<30|i>>>2,i=n,n=p}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+o|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[14+(n+64>>>9<<4)]=Math.floor(r/4294967296),t[15+(n+64>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=a.clone.call(this);return e._hash=this._hash.clone(),e}}),n.SHA1=a._createHelper(l),n.HmacSHA1=a._createHmacHelper(l),c.SHA1)},87792:function(e,t,r){var n,i,s,a,o,u;e.exports=(u=r(78249),r(52153),i=(n=u).lib.WordArray,s=n.algo,a=s.SHA256,o=s.SHA224=a.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=a._doFinalize.call(this);return e.sigBytes-=4,e}}),n.SHA224=a._createHelper(o),n.HmacSHA224=a._createHmacHelper(o),u.SHA224)},52153:function(e,t,r){var n;e.exports=(n=r(78249),function(e){var t=n,r=t.lib,i=r.WordArray,s=r.Hasher,a=t.algo,o=[],u=[];!function(){function t(t){for(var r=e.sqrt(t),n=2;n<=r;n++)if(!(t%n))return!1;return!0}function r(e){return 4294967296*(e-(0|e))|0}for(var n=2,i=0;i<64;)t(n)&&(i<8&&(o[i]=r(e.pow(n,.5))),u[i]=r(e.pow(n,1/3)),i++),n++}();var l=[],c=a.SHA256=s.extend({_doReset:function(){this._hash=new i.init(o.slice(0))},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],o=r[4],c=r[5],p=r[6],h=r[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var f=l[d-15],m=(f<<25|f>>>7)^(f<<14|f>>>18)^f>>>3,y=l[d-2],g=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;l[d]=m+l[d-7]+g+l[d-16]}var v=n&i^n&s^i&s,b=(n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22),D=h+((o<<26|o>>>6)^(o<<21|o>>>11)^(o<<7|o>>>25))+(o&c^~o&p)+u[d]+l[d];h=p,p=c,c=o,o=a+D|0,a=s,s=i,i=n,n=D+(b+v)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+a|0,r[4]=r[4]+o|0,r[5]=r[5]+c|0,r[6]=r[6]+p|0,r[7]=r[7]+h|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,i=8*t.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=e.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,t.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=s._createHelper(c),t.HmacSHA256=s._createHmacHelper(c)}(Math),n.SHA256)},13327:function(e,t,r){var n;e.exports=(n=r(78249),r(64938),function(e){var t=n,r=t.lib,i=r.WordArray,s=r.Hasher,a=t.x64.Word,o=t.algo,u=[],l=[],c=[];!function(){for(var e=1,t=0,r=0;r<24;r++){u[e+5*t]=(r+1)*(r+2)/2%64;var n=(2*e+3*t)%5;e=t%5,t=n}for(e=0;e<5;e++)for(t=0;t<5;t++)l[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var o=0,p=0,h=0;h<7;h++){if(1&i){var d=(1<>>24)|4278255360&(s<<24|s>>>8),a=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),(k=r[i]).high^=a,k.low^=s}for(var o=0;o<24;o++){for(var h=0;h<5;h++){for(var d=0,f=0,m=0;m<5;m++)d^=(k=r[h+5*m]).high,f^=k.low;var y=p[h];y.high=d,y.low=f}for(h=0;h<5;h++){var g=p[(h+4)%5],v=p[(h+1)%5],b=v.high,D=v.low;for(d=g.high^(b<<1|D>>>31),f=g.low^(D<<1|b>>>31),m=0;m<5;m++)(k=r[h+5*m]).high^=d,k.low^=f}for(var x=1;x<25;x++){var E=(k=r[x]).high,w=k.low,C=u[x];C<32?(d=E<>>32-C,f=w<>>32-C):(d=w<>>64-C,f=E<>>64-C);var A=p[l[x]];A.high=d,A.low=f}var S=p[0],_=r[0];for(S.high=_.high,S.low=_.low,h=0;h<5;h++)for(m=0;m<5;m++){var k=r[x=h+5*m],T=p[x],F=p[(h+1)%5+5*m],P=p[(h+2)%5+5*m];k.high=T.high^~F.high&P.high,k.low=T.low^~F.low&P.low}k=r[0];var N=c[o];k.high^=N.high,k.low^=N.low}},_doFinalize:function(){var t=this._data,r=t.words,n=(this._nDataBytes,8*t.sigBytes),s=32*this.blockSize;r[n>>>5]|=1<<24-n%32,r[(e.ceil((n+1)/s)*s>>>5)-1]|=128,t.sigBytes=4*r.length,this._process();for(var a=this._state,o=this.cfg.outputLength/8,u=o/8,l=[],c=0;c>>24)|4278255360&(h<<24|h>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(h)}return new i.init(l,o)},clone:function(){for(var e=s.clone.call(this),t=e._state=this._state.slice(0),r=0;r<25;r++)t[r]=t[r].clone();return e}});t.SHA3=s._createHelper(h),t.HmacSHA3=s._createHmacHelper(h)}(Math),n.SHA3)},17460:function(e,t,r){var n,i,s,a,o,u,l,c;e.exports=(c=r(78249),r(64938),r(70034),i=(n=c).x64,s=i.Word,a=i.WordArray,o=n.algo,u=o.SHA512,l=o.SHA384=u.extend({_doReset:function(){this._hash=new a.init([new s.init(3418070365,3238371032),new s.init(1654270250,914150663),new s.init(2438529370,812702999),new s.init(355462360,4144912697),new s.init(1731405415,4290775857),new s.init(2394180231,1750603025),new s.init(3675008525,1694076839),new s.init(1203062813,3204075428)])},_doFinalize:function(){var e=u._doFinalize.call(this);return e.sigBytes-=16,e}}),n.SHA384=u._createHelper(l),n.HmacSHA384=u._createHmacHelper(l),c.SHA384)},70034:function(e,t,r){var n;e.exports=(n=r(78249),r(64938),function(){var e=n,t=e.lib.Hasher,r=e.x64,i=r.Word,s=r.WordArray,a=e.algo;function o(){return i.create.apply(i,arguments)}var u=[o(1116352408,3609767458),o(1899447441,602891725),o(3049323471,3964484399),o(3921009573,2173295548),o(961987163,4081628472),o(1508970993,3053834265),o(2453635748,2937671579),o(2870763221,3664609560),o(3624381080,2734883394),o(310598401,1164996542),o(607225278,1323610764),o(1426881987,3590304994),o(1925078388,4068182383),o(2162078206,991336113),o(2614888103,633803317),o(3248222580,3479774868),o(3835390401,2666613458),o(4022224774,944711139),o(264347078,2341262773),o(604807628,2007800933),o(770255983,1495990901),o(1249150122,1856431235),o(1555081692,3175218132),o(1996064986,2198950837),o(2554220882,3999719339),o(2821834349,766784016),o(2952996808,2566594879),o(3210313671,3203337956),o(3336571891,1034457026),o(3584528711,2466948901),o(113926993,3758326383),o(338241895,168717936),o(666307205,1188179964),o(773529912,1546045734),o(1294757372,1522805485),o(1396182291,2643833823),o(1695183700,2343527390),o(1986661051,1014477480),o(2177026350,1206759142),o(2456956037,344077627),o(2730485921,1290863460),o(2820302411,3158454273),o(3259730800,3505952657),o(3345764771,106217008),o(3516065817,3606008344),o(3600352804,1432725776),o(4094571909,1467031594),o(275423344,851169720),o(430227734,3100823752),o(506948616,1363258195),o(659060556,3750685593),o(883997877,3785050280),o(958139571,3318307427),o(1322822218,3812723403),o(1537002063,2003034995),o(1747873779,3602036899),o(1955562222,1575990012),o(2024104815,1125592928),o(2227730452,2716904306),o(2361852424,442776044),o(2428436474,593698344),o(2756734187,3733110249),o(3204031479,2999351573),o(3329325298,3815920427),o(3391569614,3928383900),o(3515267271,566280711),o(3940187606,3454069534),o(4118630271,4000239992),o(116418474,1914138554),o(174292421,2731055270),o(289380356,3203993006),o(460393269,320620315),o(685471733,587496836),o(852142971,1086792851),o(1017036298,365543100),o(1126000580,2618297676),o(1288033470,3409855158),o(1501505948,4234509866),o(1607167915,987167468),o(1816402316,1246189591)],l=[];!function(){for(var e=0;e<80;e++)l[e]=o()}();var c=a.SHA512=t.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],a=r[3],o=r[4],c=r[5],p=r[6],h=r[7],d=n.high,f=n.low,m=i.high,y=i.low,g=s.high,v=s.low,b=a.high,D=a.low,x=o.high,E=o.low,w=c.high,C=c.low,A=p.high,S=p.low,_=h.high,k=h.low,T=d,F=f,P=m,N=y,I=g,O=v,B=b,j=D,L=x,M=E,R=w,z=C,U=A,V=S,$=_,W=k,H=0;H<80;H++){var q,K,Z=l[H];if(H<16)K=Z.high=0|e[t+2*H],q=Z.low=0|e[t+2*H+1];else{var G=l[H-15],J=G.high,Y=G.low,X=(J>>>1|Y<<31)^(J>>>8|Y<<24)^J>>>7,Q=(Y>>>1|J<<31)^(Y>>>8|J<<24)^(Y>>>7|J<<25),ee=l[H-2],te=ee.high,re=ee.low,ne=(te>>>19|re<<13)^(te<<3|re>>>29)^te>>>6,ie=(re>>>19|te<<13)^(re<<3|te>>>29)^(re>>>6|te<<26),se=l[H-7],ae=se.high,oe=se.low,ue=l[H-16],le=ue.high,ce=ue.low;K=(K=(K=X+ae+((q=Q+oe)>>>0>>0?1:0))+ne+((q+=ie)>>>0>>0?1:0))+le+((q+=ce)>>>0>>0?1:0),Z.high=K,Z.low=q}var pe,he=L&R^~L&U,de=M&z^~M&V,fe=T&P^T&I^P&I,me=F&N^F&O^N&O,ye=(T>>>28|F<<4)^(T<<30|F>>>2)^(T<<25|F>>>7),ge=(F>>>28|T<<4)^(F<<30|T>>>2)^(F<<25|T>>>7),ve=(L>>>14|M<<18)^(L>>>18|M<<14)^(L<<23|M>>>9),be=(M>>>14|L<<18)^(M>>>18|L<<14)^(M<<23|L>>>9),De=u[H],xe=De.high,Ee=De.low,we=$+ve+((pe=W+be)>>>0>>0?1:0),Ce=ge+me;$=U,W=V,U=R,V=z,R=L,z=M,L=B+(we=(we=(we=we+he+((pe+=de)>>>0>>0?1:0))+xe+((pe+=Ee)>>>0>>0?1:0))+K+((pe+=q)>>>0>>0?1:0))+((M=j+pe|0)>>>0>>0?1:0)|0,B=I,j=O,I=P,O=N,P=T,N=F,T=we+(ye+fe+(Ce>>>0>>0?1:0))+((F=pe+Ce|0)>>>0>>0?1:0)|0}f=n.low=f+F,n.high=d+T+(f>>>0>>0?1:0),y=i.low=y+N,i.high=m+P+(y>>>0>>0?1:0),v=s.low=v+O,s.high=g+I+(v>>>0>>0?1:0),D=a.low=D+j,a.high=b+B+(D>>>0>>0?1:0),E=o.low=E+M,o.high=x+L+(E>>>0>>0?1:0),C=c.low=C+z,c.high=w+R+(C>>>0>>0?1:0),S=p.low=S+V,p.high=A+U+(S>>>0>>0?1:0),k=h.low=k+W,h.high=_+$+(k>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,n=8*e.sigBytes;return t[n>>>5]|=128<<24-n%32,t[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),t[31+(n+128>>>10<<5)]=r,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(c),e.HmacSHA512=t._createHmacHelper(c)}(),n.SHA512)},94253:function(e,t,r){var n;e.exports=(n=r(78249),r(98269),r(68214),r(90888),r(75109),function(){var e=n,t=e.lib,r=t.WordArray,i=t.BlockCipher,s=e.algo,a=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],o=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],c=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=s.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],r=0;r<56;r++){var n=a[r]-1;t[r]=e[n>>>5]>>>31-n%32&1}for(var i=this._subKeys=[],s=0;s<16;s++){var l=i[s]=[],c=u[s];for(r=0;r<24;r++)l[r/6|0]|=t[(o[r]-1+c)%28]<<31-r%6,l[4+(r/6|0)]|=t[28+(o[r+24]-1+c)%28]<<31-r%6;for(l[0]=l[0]<<1|l[0]>>>31,r=1;r<7;r++)l[r]=l[r]>>>4*(r-1)+3;l[7]=l[7]<<5|l[7]>>>27}var p=this._invSubKeys=[];for(r=0;r<16;r++)p[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,r){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),h.call(this,1,1431655765);for(var n=0;n<16;n++){for(var i=r[n],s=this._lBlock,a=this._rBlock,o=0,u=0;u<8;u++)o|=l[u][((a^i[u])&c[u])>>>0];this._lBlock=a,this._rBlock=s^o}var p=this._lBlock;this._lBlock=this._rBlock,this._rBlock=p,h.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var r=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=r,this._lBlock^=r<>>e^this._lBlock)&t;this._lBlock^=r,this._rBlock^=r<192.");var t=e.slice(0,2),n=e.length<4?e.slice(0,2):e.slice(2,4),i=e.length<6?e.slice(0,2):e.slice(4,6);this._des1=p.createEncryptor(r.create(t)),this._des2=p.createEncryptor(r.create(n)),this._des3=p.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});e.TripleDES=i._createHelper(f)}(),n.TripleDES)},64938:function(e,t,r){var n;e.exports=(n=r(78249),function(e){var t=n,r=t.lib,i=r.Base,s=r.WordArray,a=t.x64={};a.Word=i.extend({init:function(e,t){this.high=e,this.low=t}}),a.WordArray=i.extend({init:function(t,r){t=this.words=t||[],this.sigBytes=r!=e?r:8*t.length},toX32:function(){for(var e=this.words,t=e.length,r=[],n=0;n{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,s){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(n)for(var o=0;o0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=s),r&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=r):c[2]=r),i&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=i):c[4]="".concat(i)),t.push(c))}},t}},61667:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},8081:e=>{"use strict";e.exports=function(e){return e[1]}},27484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",s="minute",a="hour",o="day",u="week",l="month",c="quarter",p="year",h="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},v={s:g,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+g(n,2,"0")+":"+g(i,2,"0")},m:function e(t,r){if(t.date()1)return e(a[0])}else{var o=t.name;D[o]=t,i=o}return!n&&i&&(b=i),i||!n&&b},w=function(e,t){if(x(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new A(r)},C=v;C.l=E,C.i=x,C.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var A=function(){function y(e){this.$L=E(e.locale,null,!0),this.parse(e)}var g=y.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(C.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(f);if(n){var i=n[2]-1||0,s=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,s)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return C},g.isValid=function(){return!(this.$d.toString()===d)},g.isSame=function(e,t){var r=w(e);return this.startOf(t)<=r&&r<=this.endOf(t)},g.isAfter=function(e,t){return w(e)68?1900:2e3)},o=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],l=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},c=function(e,t){var r,n=s.meridiem;if(n){for(var i=1;i<=24;i+=1)if(e.indexOf(n(i,0,t))>-1){r=i>12;break}}else r=e===(t?"pm":"PM");return r},p={A:[i,function(e){this.afternoon=c(e,!1)}],a:[i,function(e){this.afternoon=c(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,o("seconds")],ss:[n,o("seconds")],m:[n,o("minutes")],mm:[n,o("minutes")],H:[n,o("hours")],h:[n,o("hours")],HH:[n,o("hours")],hh:[n,o("hours")],D:[n,o("day")],DD:[r,o("day")],Do:[i,function(e){var t=s.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[n,o("month")],MM:[r,o("month")],MMM:[i,function(e){var t=l("months"),r=(l("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,o("year")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\d{4}/,o("year")],Z:u,ZZ:u};function h(r){var n,i;n=r,i=s&&s.formats;for(var a=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var s=n&&n.toUpperCase();return r||i[n]||e[n]||i[s].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),o=a.length,u=0;u-1)return new Date(("X"===t?1e3:1)*e);var n=h(t)(e),i=n.year,s=n.month,a=n.day,o=n.hours,u=n.minutes,l=n.seconds,c=n.milliseconds,p=n.zone,d=new Date,f=a||(i||s?1:d.getDate()),m=i||d.getFullYear(),y=0;i&&!s||(y=s>0?s-1:d.getMonth());var g=o||0,v=u||0,b=l||0,D=c||0;return p?new Date(Date.UTC(m,y,f,g,v,b,D+60*p.offset*1e3)):r?new Date(Date.UTC(m,y,f,g,v,b,D)):new Date(m,y,f,g,v,b,D)}catch(e){return new Date("")}}(t,o,n),this.init(),p&&!0!==p&&(this.$L=this.locale(p).$L),c&&t!=this.format(o)&&(this.$d=new Date("")),s={}}else if(o instanceof Array)for(var d=o.length,f=1;f<=d;f+=1){a[1]=o[f-1];var m=r.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}f===d&&(this.$d=new Date(""))}else i.call(this,e)}}}()},66607:function(e){e.exports=function(){"use strict";return function(e,t,r){t.prototype.isBetween=function(e,t,n,i){var s=r(e),a=r(t),o="("===(i=i||"()")[0],u=")"===i[1];return(o?this.isAfter(s,n):!this.isBefore(s,n))&&(u?this.isBefore(a,n):!this.isAfter(a,n))||(o?this.isBefore(s,n):!this.isAfter(s,n))&&(u?this.isAfter(a,n):!this.isBefore(a,n))}}}()},96671:function(e){e.exports=function(){"use strict";var e="month",t="quarter";return function(r,n){var i=n.prototype;i.quarter=function(e){return this.$utils().u(e)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(e-1))};var s=i.add;i.add=function(r,n){return r=Number(r),this.$utils().p(n)===t?this.add(3*r,e):s.bind(this)(r,n)};var a=i.startOf;i.startOf=function(r,n){var i=this.$utils(),s=!!i.u(n)||n;if(i.p(r)===t){var o=this.quarter()-1;return s?this.month(3*o).startOf(e).startOf("day"):this.month(3*o+2).endOf(e).endOf("day")}return a.bind(this)(r,n)}}}()},84110:function(e){e.exports=function(){"use strict";return function(e,t,r){e=e||{};var n=t.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(e,t,r,i){return n.fromToBase(e,t,r,i)}r.en.relativeTime=i,n.fromToBase=function(t,n,s,a,o){for(var u,l,c,p=s.$locale().relativeTime||i,h=e.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],d=h.length,f=0;f0,y<=m.r||!m.r){y<=1&&f>0&&(m=h[f-1]);var g=p[m.l];o&&(y=o(""+y)),l="string"==typeof g?g.replace("%d",y):g(y,n,m.l,c);break}}if(n)return l;var v=c?p.future:p.past;return"function"==typeof v?v(l):v.replace("%s",l)},n.to=function(e,t){return s(e,t,this,!0)},n.from=function(e,t){return s(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}()},55183:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(r,n,i){var s=n.prototype;s.week=function(r){if(void 0===r&&(r=null),null!==r)return this.add(7*(r-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var s=i(this).startOf(t).add(1,t).date(n),a=i(this).endOf(e);if(s.isBefore(a))return 1}var o=i(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),u=this.diff(o,e,!0);return u<0?i(this).startOf("week").week():Math.ceil(u)},s.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},172:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),r=this.year();return 1===t&&11===e?r+1:0===e&&t>=52?r-1:r}}}()},11132:(e,t,r)=>{"use strict";function n(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}r.d(t,{Z:()=>n})},5266:e=>{e.exports.compatMap={"GM.addElement":[{type:"tampermonkey",versionConstraint:">=4.11.6113"},{type:"violentmonkey",versionConstraint:">=2.13.0-beta.3"}],GM_addElement:[{type:"tampermonkey",versionConstraint:">=4.11.6113"},{type:"violentmonkey",versionConstraint:">=2.13.0-beta.3"}],"GM.addStyle":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"}],GM_addStyle:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.6.1.4 <4"}],"GM.addValueChangeListener":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_addValueChangeListener:[{type:"tampermonkey",versionConstraint:">=2.3.2607"},{type:"violentmonkey",versionConstraint:">=2.12.0"}],"GM.cookie":[{type:"tampermonkey",versionConstraint:">=4.8"}],GM_cookie:[{type:"tampermonkey",versionConstraint:">=4.8"}],"GM.deleteValue":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4.0"}],GM_deleteValue:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20090123.1 <4"}],"GM.download":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_download:[{type:"tampermonkey",versionConstraint:">=3.8"},{type:"violentmonkey",versionConstraint:">=2.9.5"}],"GM.getResourceText":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_getResourceText:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20080609.0 <4"}],"GM.getResourceURL":[{type:"violentmonkey",versionConstraint:">=2.12.0 <2.13.0.10"}],GM_getResourceURL:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20080609.0 <4"}],"GM.getResourceUrl":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.13.0.10"},{type:"greasemonkey",versionConstraint:">=4.0"}],"GM.getTab":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_getTab:[{type:"tampermonkey",versionConstraint:">=4.0.10"}],"GM.getTabs":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_getTabs:[{type:"tampermonkey",versionConstraint:">=4.0.10"}],"GM.getValue":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4.0"}],GM_getValue:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.3-beta <4"}],"GM.info":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_info:[{type:"tampermonkey",versionConstraint:">=2.4.2718"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.16 <4"}],"GM.listValues":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_listValues:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20090123.1 <4"}],"GM.log":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"greasemonkey",versionConstraint:">=4"}],GM_log:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.3-beta <4"}],"GM.notification":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_notification:[{type:"tampermonkey",versionConstraint:">=2.0.2344"},{type:"violentmonkey",versionConstraint:">=2.5.0"}],"GM.openInTab":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_openInTab:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.5-beta <4"}],"GM.registerMenuCommand":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4.11"}],GM_registerMenuCommand:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.2.5 <4"}],"GM.removeValueChangeListener":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_removeValueChangeListener:[{type:"tampermonkey",versionConstraint:">=2.3.2607"},{type:"violentmonkey",versionConstraint:">=2.12.0"}],"GM.saveTab":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_saveTab:[{type:"tampermonkey",versionConstraint:">=4.0.10"}],"GM.setClipboard":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_setClipboard:[{type:"tampermonkey",versionConstraint:">=2.6.2767"},{type:"violentmonkey",versionConstraint:">=2.5.0"},{type:"greasemonkey",versionConstraint:">=1.10 <4"}],"GM.setValue":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4"}],GM_setValue:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.3-beta <4"}],"GM.unregisterMenuCommand":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_unregisterMenuCommand:[{type:"tampermonkey",versionConstraint:">=3.6.3737"},{type:"violentmonkey",versionConstraint:">=2.9.4"}],"GM.webRequest":[{type:"tampermonkey",versionConstraint:">=4.5"}],GM_webRequest:[{type:"tampermonkey",versionConstraint:">=4.4"}],GM_xmlhttpRequest:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.2.5 <4"}],"GM.xmlHttpRequest":[{type:"tampermonkey",versionConstraint:">=4.5"},{type:"violentmonkey",versionConstraint:">=2.12.0"},{type:"greasemonkey",versionConstraint:">=4.0"}],none:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:"*"}],unsafeWindow:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.5-beta"}],"window.close":[{type:"tampermonkey",versionConstraint:">=3.12.58"},{type:"violentmonkey",versionConstraint:">=2.6.2"}],"window.focus":[{type:"tampermonkey",versionConstraint:">=3.12.58"},{type:"violentmonkey",versionConstraint:">=2.12.10"}],"window.onurlchange":[{type:"tampermonkey",versionConstraint:">=4.11"}]},e.exports.gmPolyfillOverride={GM_addStyle:"ignore",GM_registerMenuCommand:"ignore",GM_getResourceText:{deps:["GM.getResourceUrl","GM.log"]},"GM.log":"ignore","GM.info":{deps:["GM_info"]},"GM.addStyle":{deps:["GM_addStyle"]},"GM.deleteValue":{deps:["GM_deleteValue"]},"GM.getResourceUrl":{deps:["GM_getResourceURL"]},"GM.getValue":{deps:["GM_getValue"]},"GM.listValues":{deps:["GM_listValues"]},"GM.notification":{deps:["GM_notification"]},"GM.openInTab":{deps:["GM_openInTab"]},"GM.registerMenuCommand":{deps:["GM_registerMenuCommand"]},"GM.setClipboard":{deps:["GM_setClipboard"]},"GM.setValue":{deps:["GM_setValue"]},"GM.xmlHttpRequest":{deps:["GM_xmlhttpRequest"]},"GM.getResourceText":{deps:["GM_getResourceText"]}}},81519:e=>{e.exports={localized:{name:[{type:"tampermonkey",versionConstraint:">=3.9"},{type:"violentmonkey",versionConstraint:">=2.1.6.8"},{type:"greasemonkey",versionConstraint:">=2.2 <4 || >=4.11"}],description:[{type:"tampermonkey",versionConstraint:">=3.9"},{type:"violentmonkey",versionConstraint:">=2.1.6.8"},{type:"greasemonkey",versionConstraint:">=2.2 <4 || >=4.11"}],antifeature:[{type:"tampermonkey",versionConstraint:">=4.12"},{type:"violentmonkey",versionConstraint:">=2.12.10"}]},unlocalized:{include:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:"*"}],exclude:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:"*"}],"exclude-match":[{type:"violentmonkey",versionConstraint:">=2.6.2"}],version:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.0"}],"run-at":[{type:"tampermonkey",versionConstraint:">=1.1.2190"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.8"}],resource:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20080609.0"}],require:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.8.20080609.0"}],match:[{type:"tampermonkey",versionConstraint:">=1.1.2190"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.8"}],"user-agent":[{type:"tampermonkey",versionConstraint:">=2.8.2894"}],unwrap:[{type:"greasemonkey",versionConstraint:"0.8.1 - 0.9.22"},{type:"tampermonkey",versionConstraint:">=4.14"},{type:"violentmonkey",versionConstraint:">=2.13.0.16"}],grant:[{type:"tampermonkey",versionConstraint:">=3.0.3389"},{type:"violentmonkey",versionConstraint:">=2.1.6.1"},{type:"greasemonkey",versionConstraint:">=1"}],noframes:[{type:"violentmonkey",versionConstraint:">=2.8.17"},{type:"greasemonkey",versionConstraint:">=2.3"},{type:"tampermonkey",versionConstraint:">=2.0.2355"}],connect:[{type:"tampermonkey",versionConstraint:">=4.0"},{type:"violentmonkey",versionConstraint:">=2.12.10"}],webRequest:[{type:"tampermonkey",versionConstraint:">=4.4"}],"inject-into":[{type:"violentmonkey",versionConstraint:">=2.10.0"}],domain:[],nocompat:[{type:"tampermonkey",versionConstraint:">=2.4.2683"}],namespace:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.2.5"}],sandbox:[{type:"tampermonkey",versionConstraint:">=4.18"}]},nonFunctional:{name:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:"*"}],description:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:"*"}],author:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"}],antifeature:[{type:"tampermonkey",versionConstraint:">=4.12"},{type:"violentmonkey",versionConstraint:">=2.12.10"}],copyright:[{type:"tampermonkey",versionConstraint:"*"},{type:"violentmonkey",versionConstraint:"*"}],license:[{type:"tampermonkey",versionConstraint:"*"}],icon:[{type:"tampermonkey",versionConstraint:">=2.0.2359"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.0"}],defaulticon:[{type:"tampermonkey",versionConstraint:">=2.0.2359"}],icon64:[{type:"tampermonkey",versionConstraint:">=2.0.2359"}],iconURL:[{type:"tampermonkey",versionConstraint:">=2.0.2359"}],icon64URL:[{type:"tampermonkey",versionConstraint:">=2.0.2359"}],homepage:[{type:"tampermonkey",versionConstraint:">=2.0.2395"},{type:"violentmonkey",versionConstraint:"*"}],homepageURL:[{type:"tampermonkey",versionConstraint:">=2.0.2395"},{type:"violentmonkey",versionConstraint:">=2.1.5"}],website:[{type:"tampermonkey",versionConstraint:">=2.0.2395"},{type:"violentmonkey",versionConstraint:">=2.13.1.2"}],source:[{type:"tampermonkey",versionConstraint:">=2.0.2395"},{type:"violentmonkey",versionConstraint:">=2.13.1.2"}],downloadURL:[{type:"tampermonkey",versionConstraint:">=2.5.64"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.14"}],updateURL:[{type:"tampermonkey",versionConstraint:">=2.5.64"},{type:"violentmonkey",versionConstraint:"*"},{type:"greasemonkey",versionConstraint:">=0.9.12"}],installURL:[{type:"greasemonkey",versionConstraint:">=0.9.2"}],supportURL:[{type:"tampermonkey",versionConstraint:">=3.8"},{type:"violentmonkey",versionConstraint:">=2.1.6.2"}],collaborator:[],unstableMinify:[],"oujs:author":[],"oujs:collaborator":[],"uso:script":[],"uso:version":[],"uso:timestamp":[],"uso:hash":[],"uso:rating":[],"uso:installs":[],"uso:reviews":[],"uso:discussions":[],"uso:fans":[],"uso:unlisted":[],contributor:[],contributors:[],major:[],minor:[],build:[],contributionURL:[],contributionAmount:[],incompatible:[],compatible:[{type:"violentmonkey",versionConstraint:">=2.12.10"}],history:[],developer:[]}}},2672:e=>{e.exports={meta:{type:"suggestion",docs:{description:"aligns attributes in the metadata",category:"Stylistic Issues"},schema:[{type:"integer",minimum:1,default:2}],messages:{spaceMetadata:"The metadata is not spaced"},fixable:"code"},create:e=>{const t=e.options[0]||2,r=e.getSourceCode(),n=r.getAllComments();let i=!1,s=!1,a=[],o={},u={};for(const e of n.filter((e=>"Line"===e.type))){if(s)continue;const t=e.value.trim();if(i&&"==/UserScript=="===t)u=e.loc.end,s=!0;else if(i||"==UserScript=="!==t){if(i&&t.startsWith("@")){const[,r]=/^\S*(\s*)/.exec(t.slice(1));if(0===r.length)continue;a.push({key:t.slice(1).split(/\s/)[0],space:r.length,line:e.loc.start.line,comment:e})}}else o=e.loc.start,i=!0}if(0===Object.keys(u).length&&(u=r.getLocFromIndex(r.getText().length)),0===a.length)return{};const l=Math.max(...a.map((({key:e})=>e.length)))+t;return(a.map((({space:e})=>e)).sort()[0]e.length+t)).some((e=>e!==l)))&&e.report({loc:{start:o,end:u},messageId:"spaceMetadata",fix:function(e){const t=[];for(const n of a)if(n.key.length+n.space!==l){const i=/^(.*?@\S*)/.exec(r.getLines()[n.line-1])[1].length;t.push(e.replaceTextRange([r.getIndexFromLoc({line:n.line,column:i}),r.getIndexFromLoc({line:n.line,column:i+n.space})]," ".repeat(l-n.key.length)))}return t}}),{}}}},82162:(e,t,r)=>{const n=r(32598);e.exports=n({name:"include",required:!1,validator:({attrVal:e,context:t})=>{t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"betterUseMatch"})},messages:{betterUseMatch:"Using @include is potentially unsafe and may be obsolete in Manifest v3 in early 2023. Please switch to @match."}})},45644:(e,t,r)=>{const n=r(32598),{compatMap:i,gmPolyfillOverride:s}=r(5266),{intersects:a}=r(81249),o=r(28759);e.exports=n({name:"grant",required:!1,validator:({attrVal:e,context:t})=>{if(!t.settings.userscriptVersions)return;const r=e.val,n=t.options[0]&&t.options[0].requireAllCompatible,u=t.settings.userscriptGrantCompatabilityOverrides||{},l=t.options[0]&&t.options[0].gmPolyfill,c=l&&s[r]?s[r]:i[r];if("ignore"===u[r])return;const p=[];(u[r]||c)&&function e(r){let n=u[r]||(l&&s[r]?s[r]:i[r]);if("ignore"!==n){if(n.deps){for(const t of n.deps)e(t);if(!n.versions)return;n=n.versions}if(!Array.isArray(n)){if(!n.versions)return;n=n.versions}for(const e in t.settings.userscriptVersions){const u=n.find((t=>t.type===e)),c=i[r]&&i[r].find((t=>t.type===e));p.push(!!u&&a(o(t.settings.userscriptVersions[e]),o(u.versionConstraint),!0)||!!(l&&s[r]&&c)&&a(o(t.settings.userscriptVersions[e]),o(c.versionConstraint),!0))}}}(r),n&&!p.every((e=>!0===e))?t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"allNotSupportingCompatGrant",data:{requestedGrant:r}}):(!n&&p.every((e=>!1===e))||!c&&!u[r])&&t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"noSupportingCompatGrant",data:{requestedGrant:r}})},messages:{noSupportingCompatGrant:"None of your target versions support '{{ requestedGrant }}'",allNotSupportingCompatGrant:"All of your target versions don't support '{{ requestedGrant }}'"},schema:[{type:"object",properties:{requireAllCompatible:{type:"boolean",default:!1},gmPolyfill:{type:"boolean",default:!1}},default:{}}]})},73285:(e,t,r)=>{const n=r(32598),i=r(81519),{intersects:s}=r(81249),a=r(28759);e.exports=n({name:"headers",required:!1,validator:({attrVal:e,context:t})=>{if(!t.settings.userscriptVersions)return;const r=e.key,n=t.options[0]&&t.options[0].requireAllCompatible,o=[];if(r.includes(":")&&Object.keys(i.localized).includes(r.split(":")[0]))for(const e in t.settings.userscriptVersions){const n=i.localized[r.split(":")[0]].find((t=>t.type===e));o.push(!!n&&s(a(t.settings.userscriptVersions[e]),a(n.versionConstraint)))}else if(i.unlocalized[r])for(const e in t.settings.userscriptVersions){const n=i.unlocalized[r].find((t=>t.type===e));o.push(!!n&&s(a(t.settings.userscriptVersions[e]),a(n.versionConstraint),!0))}else if(i.nonFunctional[r])return;n&&!o.every((e=>!0===e))?t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"allNotSupportingCompatHeader",data:{headerName:r}}):(!n&&o.every((e=>!1===e))||!Object.keys({...i.nonFunctional,...i.unlocalized}).includes(r)&&!Object.keys(i.localized).some((e=>r.startsWith(`${e}:`))))&&t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"noSupportingCompatHeader",data:{headerName:r}})},messages:{noSupportingCompatHeader:"None of your target versions support '{{ headerName }}'",allNotSupportingCompatHeader:"All of your target versions don't support '{{ headerName }}'"},regexMatch:/./,schema:[{type:"object",properties:{requireAllCompatible:{type:"boolean",default:!1}},default:{}}]})},18039:e=>{e.exports={meta:{type:"suggestion",docs:{description:"ensure userscripts end with .user.js",category:"Best Practices"},schema:[{enum:["always","never"]}],messages:{filenameExtension:"Rename '{{ oldFilename }}' to '{{ newFilename }}'"}},create:e=>{const t=e.getFilename();return""===t||""===t?{}:{Program(){(!t.endsWith(".user.js")&&(!e.options[0]||"always"===e.options[0])||t.endsWith(".user.js")&&"never"===e.options[0])&&e.report({loc:{column:0,line:1},messageId:"filenameExtension",data:{newFilename:t.replace("always"===e.options[0]?/.js$/:/.user.js$/,"always"===e.options[0]?".user.js":".js"),oldFilename:t}})}}}}},39877:(e,t,r)=>{const n=r(32829);e.exports={meta:{type:"suggestion",docs:{description:"ensure there is a newline between the metadata and the code",category:"Best Practices"},fixable:"whitespace"},create:e=>{const t=e.getSourceCode(),r=n(t);if(!(-1!==r.enteredMetadata&&r.end))return{};const i=r.lines[r.lines.length-1].lineLoc;if(!(t.lines.length!==i.end.line))return{};return t.lines[i.end.line].trim().length>0&&e.report({message:"There should be a newline between the metadata and the code",loc:i,fix:function(e){const r=[t.getIndexFromLoc(i.start),t.getIndexFromLoc(i.end)];return e.insertTextAfterRange(r,"\n")}}),{}}}},20070:(e,t,r)=>{const n=r(32598),{compatMap:i}=r(5266);e.exports=n({name:"grant",required:!1,validator:({attrVal:e,context:t})=>{const r=e.val;Object.keys(i).includes(r)||t.report({loc:{start:{line:e.loc.start.line,column:0},end:e.loc.end},messageId:"grantHasInvalidArgument",data:{argument:r}})},messages:{grantHasInvalidArgument:"'{{ argument }}' is not a valid @grant argument"}})},18754:(e,t,r)=>{const n=r(32598),i=r(81519),s=new Set([...Object.keys(i.nonFunctional),...Object.keys(i.unlocalized)]),a=Object.keys(i.localized).map((e=>new RegExp(`^${e}(:\\S+)?$`)));e.exports=n({name:"headers",validator:({attrVal:e,context:t})=>{const r=t.options[0]&&t.options[0].allowed?new Set(t.options[0].allowed):new Set;for(const n of e){s.has(n.key)||r.has(n.key)||a.some((e=>e.test(n.key)))||t.report({loc:{start:{line:n.loc.start.line,column:0},end:n.loc.end},messageId:"invalidHeader",data:{header:`@${n.key}`}})}},messages:{invalidHeader:"'{{ header }}' is not a valid userscript header"},regexMatch:/./,runOnce:!0,schema:[{type:"object",properties:{allowed:{type:"array",default:[]}},additionalProperties:!1,default:{}}]})},91763:(e,t,r)=>{const n=r(32829);e.exports={meta:{type:"suggestion",docs:{description:"ensure userscripts have valid metadata",category:"Possible Errors"},messages:{metadataRequired:"Add metadata to the userscript",moveMetadataToTop:"Move the metadata to the top of the file",noClosingMetadata:"Closing metadata comment not found",noCodeBetween:"Code found between in metadata",attributeNotStartsWithAtTheRate:"Attributes should begin with @"},schema:[{type:"object",properties:{top:{enum:["required","optional"],default:"required"}},additionalProperties:!1}]},create:e=>{const t=e.getSourceCode(),r=t.getAllComments(),i=n(t);for(const t of i.lines.filter((e=>e.codeBetween)))e.report({loc:t,messageId:"noCodeBetween"});for(const t of i.lines.filter((e=>e.invalid)))e.report({loc:t,messageId:"attributeNotStartsWithAtTheRate"});return-1===i.enteredMetadata||i.end||e.report({loc:r.find((e=>"==UserScript=="===e.value.trim()&&"Line"===e.type)).loc,messageId:"noClosingMetadata"}),{Program(t){-1===i.enteredMetadata?e.report({node:t,messageId:"metadataRequired"}):e.options[0]&&e.options[0].top&&"required"!==e.options[0].top||0===i.enteredMetadata&&1===r[0].loc.start.line||e.report({loc:r.find((e=>"==UserScript=="===e.value.trim()&&"Line"===e.type)).loc,messageId:"moveMetadataToTop"})}}}}},14350:(e,t,r)=>{const n=r(32829);e.exports={meta:{type:"suggestion",docs:{description:"ensure atributes are prefixed by a space",category:"Possible Errors"},messages:{attributeNotPrefixedBySpace:"Attributes should be prefixed by a space"},schema:[]},create:e=>{const t=e.getSourceCode(),r=n(t);for(const t of r.lines)if(t.metadataInfo){const r=t.value.trim();r.startsWith("//")&&r.slice(2).trim().startsWith("@")&&(!r.startsWith("// ")||r.startsWith("// "))&&e.report({loc:t.lineLoc,messageId:"attributeNotPrefixedBySpace"})}return{}}}},70230:(e,t,r)=>{const n=r(32598);e.exports=n({name:"description",required:!0,validator:({attrVal:e,context:t})=>{let r=[];for(let n of e)r.includes(n.key)?t.report({loc:n.loc,messageId:"multipleDescriptions"}):r.push(n.key)},messages:{multipleDescriptions:"Include only one description for each language"},regexMatch:/^description(:\S+)?$/,runOnce:!0})},18295:(e,t,r)=>{const n=r(32598),i=/^name(:\S+)?$/;e.exports=n({name:"name",required:!0,validator:({attrVal:e,context:t,metadata:r})=>{let n=[];for(let r of e)n.includes(r.key)?t.report({loc:r.loc,messageId:"multipleNames"}):n.push(r.key);const s=Object.values(r);if(s.some(((e,t)=>0!==t&&i.test(e[0]?e[0].key:e.key)&&!i.test(s[t-1][0]?s[t-1][0].key:s[t-1].key)))){const r=t.getSourceCode(),n=r.getAllComments(),i=n.find((e=>"==/UserScript=="===e.value.trim()&&"Line"===e.type));t.report({loc:{start:n.find((e=>"==UserScript=="===e.value.trim()&&"Line"===e.type)).loc.start,end:i?i.loc.end:{line:r.lines.length,column:0}},messageId:"nameAtBeginning",fix:function(r){let n=[];for(let i of e){Array.isArray(i)||(i=[i]);for(let e of i)n.push(r.removeRange(e.comment.range.map(((r,n)=>0===n?r-t.getSourceCode().lines[e.loc.start.line-1].split("//")[0].length-1:r))))}return n.push(r.insertTextAfterRange(t.getSourceCode().getAllComments().find((e=>"==UserScript=="===e.value.trim())).range,e.sort(((e,t)=>"name"===e.key?-1:"name"===t.key?1:0)).map((e=>`\n${t.getSourceCode().lines[e.loc.start.line-1].split("//")[0]}//${e.comment.value}`)).join(""))),n}})}},messages:{multipleNames:"Include only one name for each language",nameAtBeginning:"The names should be at the beginning of the metadata"},fixable:!0,regexMatch:i,runOnce:!0})},43880:(e,t,r)=>{const n=r(32598),i=/^([\dA-Za-z–-]+)(\.[\dA-Za-z–-]+)*(\+([\dA-Za-z]+)(\.[\dA-Za-z]+)*)?\s*$/;e.exports=n({name:"version",required:!0,validator:({attrVal:e,index:t,context:r})=>{t>0&&r.report({loc:e.loc,messageId:"multipleVersions"}),i.test(e.val)||r.report({loc:{start:{line:e.loc.start.line,column:/^(\s*\/\/\s*)/.exec(r.getSourceCode().lines[e.comment.loc.start.line])[1].length-1},end:e.loc.end},messageId:"invalidVersion"})},messages:{multipleVersions:"Include only one version",invalidVersion:"Invalid version"}})},52215:(e,t,r)=>{const n=r(32598),i=["downloadURL","updateURL"];e.exports=n({name:i,validator:({attrVal:e,metadata:t,context:r,keyName:n})=>{const s=i.find((e=>e!==n));t[s]||r.report({loc:e.loc,messageId:"missingAttribute",data:{attribute:s},fix:function(t){return t.insertTextAfterRange(e.comment.range,`\n${r.getSourceCode().lines[e.comment.loc.start.line-1].replace(/^(\s*\/\/\s*@)\S*/,"$1"+s)}`)}})},messages:{missingAttribute:"Didn't find attribute '{{ attribute }}' in the metadata"},fixable:!0})},11933:(e,t,r)=>{const n=r(32598),i=["homepage","homepageURL"];e.exports=n({name:i,validator:({attrVal:e,metadata:t,context:r,keyName:n})=>{const s=i.find((e=>e!==n));t[s]||r.report({loc:e.loc,messageId:"missingAttribute",data:{attribute:s},fix:function(t){return t.insertTextAfterRange(e.comment.range,`\n${r.getSourceCode().lines[e.comment.loc.start.line-1].replace(/^(\s*\/\/\s*@)\S*/,"$1"+s)}`)}})},messages:{missingAttribute:"Didn't find attribute '{{ attribute }}' in the metadata"},fixable:!0})},28759:e=>{e.exports=function(e){return e.replace(/1(\.\d+){3}/,"1").replace(/(\d+\.\d+\.\d+)\.(\d+)/,"$1-beta.$2")}},32598:(e,t,r)=>{const n=r(32829);e.exports=function({name:e,required:t=!1,validator:r=!1,messages:i={},fixable:s=!1,regexMatch:a=new RegExp("^("+("string"==typeof e?e:e.join("|"))+")$"),runOnce:o=!1,schema:u}){return"string"==typeof e&&(e=[e]),{meta:{type:"suggestion",docs:{description:`${t?"require "+(r?"and validate ":""):"validate "}${e.join(" and ")} in the metadata for userscripts`,category:"Best Practices"},schema:t?[{enum:["required","optional"],default:"required"}]:u||void 0,messages:{missingAttribute:`Didn't find attribute '${e}' in the metadata`,...i},fixable:s?"code":void 0},create:e=>{const i=e.getSourceCode(),s=i.getAllComments(),u=n(i);let l={};for(const e of u.lines.filter((e=>e.metadataInfo))){const t=e.value.trim().slice(2),r=e.value.length-t.length-2,n={start:{line:e.lineLoc.start.line,column:e.lineLoc.start.column+r},end:e.lineLoc.end},s={val:e.metadataValue.value,loc:n,comment:{value:t,range:[i.getIndexFromLoc(e.lineLoc.start)+r,i.getIndexFromLoc(e.lineLoc.end)],loc:n,type:"Line"},key:e.metadataValue.key};l[e.metadataValue.key]?(Array.isArray(l[e.metadataValue.key])||(l[e.metadataValue.key]=[l[e.metadataValue.key]]),l[e.metadataValue.key].push(s)):l[e.metadataValue.key]=s}const c=Object.keys(l);if(!t||-1===u.enteredMetadata||e.options[0]&&"required"!==e.options[0]||c.some((e=>a.test(e)))){if(r&&c.some((e=>a.test(e))))if(o){const t=[];for(const e in c)a.test(c[e])&&t.push(+e);const n=t.map((e=>l[c[e]])).reduce(((e,t)=>Array.isArray(t)?[...e,...t]:[...e,t]),[]);r({attrVal:n,index:[...n.keys()],indexMatch:t.reduce(((e,t)=>Array.isArray(l[c[t]])?[...e,...l[c[t]].map((()=>c))]:[...e,t]),[]),metadata:l,context:e,keyName:t.map((e=>c[e]))})}else for(const t in c)if(a.test(c[t]))if(Array.isArray(l[c[t]]))for(const[n,i]of l[c[t]].entries())r({attrVal:i,index:n,indexMatch:t,metadata:l,context:e,keyName:c[t]});else r({attrVal:l[c[t]],index:0,indexMatch:t,metadata:l,context:e,keyName:c[t]})}else e.report({loc:s.find((e=>"==UserScript=="===e.value.trim()&&"Line"===e.type)).loc,messageId:"missingAttribute"});return{}}}}},32829:e=>{e.exports=function(e){const t={codeBetween:!1,end:!1,start:!1,invalid:!1,metadataInfo:!1};let r={end:!1,enteredMetadata:-1,lines:[]},n=!1,i=!1;for(const[s,a]of e.lines.entries()){if(i)continue;const e={start:{line:s+1,column:0},end:{line:s+1,column:a.length}},o=a.trim(),u=o.startsWith("//");if(n&&!u&&""!==o)r.lines.push({value:a,lineLoc:e,...t,codeBetween:!0});else if(n&&u&&"==/UserScript=="===o.slice(2).trim())r.end=!0,i=!0,r.lines.push({value:a,lineLoc:e,...t,end:!0});else if(!n&&u&&"==UserScript=="===o.slice(2).trim())r.enteredMetadata=s,n=!0,r.lines.push({value:a,lineLoc:e,...t,start:!0});else if(n&&u&&""!==o.slice(2).trim())if(o.slice(2).trim().startsWith("@")){const n=o.slice(2).trim().slice(1);r.lines.push({value:a,lineLoc:e,...t,metadataInfo:!0,metadataValue:{key:n.split(/[\t ]/)[0],value:n.replace(/^.*?[\t ]/,"").trim()}})}else r.lines.push({value:a,lineLoc:e,...t,invalid:!0})}return r}},77498:(e,t,r)=>{"use strict";r.d(t,{GV:()=>a,Gv:()=>s,Sk:()=>n,WQ:()=>o,ZO:()=>i});var n="data-focus-lock",i="data-focus-lock-disabled",s="data-no-focus-lock",a="data-autofocus-inside",o="data-no-autofocus"},90142:(e,t,r)=>{"use strict";if(r.d(t,{p:()=>c}),!/^(352|451)$/.test(r.j))var n=r(54578);if(!/^(352|451)$/.test(r.j))var i=r(33446);if(!/^(352|451)$/.test(r.j))var s=r(67434);if(!/^(352|451)$/.test(r.j))var a=r(13654);if(!/^(352|451)$/.test(r.j))var o=r(54027);if(!/^(352|451)$/.test(r.j))var u=r(95669);if(!/^(352|451)$/.test(r.j))var l=r(26665);var c=function(e,t){var r=document&&(0,o.v)(),c=(0,s.K)(e).filter(u.IS),p=(0,l.V0)(r||e,e,c),h=new Map,d=(0,i.fF)(c,h),f=(0,i.dH)(c,h).filter((function(e){var t=e.node;return(0,u.IS)(t)}));if(f[0]||(f=d)[0]){var m,y,g,v,b=(0,i.fF)([p],h).map((function(e){return e.node})),D=(m=b,y=f,g=new Map,y.forEach((function(e){return g.set(e.node,e)})),m.map((function(e){return g.get(e)})).filter(u.$K)),x=D.map((function(e){return e.node})),E=(0,n.V)(x,b,r,t);if(E===n.Z){var w=(0,i.vA)(d.map((function(e){return e.node}))).filter((v=(0,l.o$)(c,h),function(e){var t;return e.autofocus||!!(null===(t=(0,u.pY)(e))||void 0===t?void 0:t.autofocus)||v.indexOf(e)>=0}));return{node:w&&w.length?(0,a.a)(w):(0,a.a)((0,i.vA)(x))}}return void 0===E?E:D[E]}}},84526:(e,t,r)=>{"use strict";if(r.d(t,{k:()=>a}),!/^(352|451)$/.test(r.j))var n=r(90142);var i=0,s=!1,a=function(e,t,r){void 0===r&&(r={});var a,o,u=(0,n.p)(e,t);if(!s&&u){if(i>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),s=!0,void setTimeout((function(){s=!1}),1);i++,a=u.node,o=r.focusOptions,"focus"in a&&a.focus(o),"contentWindow"in a&&a.contentWindow&&a.contentWindow.focus(),i--}}},54578:(e,t,r)=>{"use strict";if(r.d(t,{V:()=>o,Z:()=>a}),!/^(352|451)$/.test(r.j))var n=r(47930);if(!/^(352|451)$/.test(r.j))var i=r(13654);if(!/^(352|451)$/.test(r.j))var s=r(95669);var a="NEW_FOCUS",o=function(e,t,r,o){var u=e.length,l=e[0],c=e[u-1],p=(0,s.Z9)(r);if(!(r&&e.indexOf(r)>=0)){var h=void 0!==r?t.indexOf(r):-1,d=o?t.indexOf(o):h,f=o?e.indexOf(o):-1,m=h-d,y=t.indexOf(l),g=t.indexOf(c),v=(0,n.T)(t),b=(void 0!==r?v.indexOf(r):-1)-(o?v.indexOf(o):h),D=(0,i.L)(e,0),x=(0,i.L)(e,u-1);return-1===h||-1===f?a:!m&&f>=0?f:h<=y&&p&&Math.abs(m)>1?x:h>=g&&p&&Math.abs(m)>1?D:m&&Math.abs(b)>1?f:h<=y?x:h>g?D:m?Math.abs(m)>1?f:(u+f+m)%u:void 0}}},33446:(e,t,r)=>{"use strict";if(r.d(t,{dH:()=>l,fF:()=>c,ir:()=>p,r3:()=>h,vA:()=>u}),!/^(352|451)$/.test(r.j))var n=r(73309);if(!/^(352|451)$/.test(r.j))var i=r(95669);if(!/^(352|451)$/.test(r.j))var s=r(81826);if(!/^(352|451)$/.test(r.j))var a=r(50237);var o=function(e,t){return(0,n.q)(e).filter((function(e){return(0,i.bh)(t,e)})).filter((function(e){return(0,i.Zo)(e)}))},u=function(e,t){return void 0===t&&(t=new Map),(0,n.q)(e).filter((function(e){return(0,i.gm)(t,e)}))},l=function(e,t,r){return(0,s.v)(o((0,a.s)(e,r),t),!0,r)},c=function(e,t){return(0,s.v)(o((0,a.s)(e),t),!1)},p=function(e,t){return o((0,a.B)(e),t)},h=function(e,t){return(e.shadowRoot?h(e.shadowRoot,t):Object.getPrototypeOf(e).contains.call(e,t))||(0,n.q)(e.children).some((function(e){return h(e,t)}))}},67434:(e,t,r)=>{"use strict";if(r.d(t,{K:()=>a}),!/^(352|451)$/.test(r.j))var n=r(77498);if(!/^(352|451)$/.test(r.j))var i=r(73309);var s=function(e){return e.parentNode?s(e.parentNode):e},a=function(e){return(0,i._)(e).filter(Boolean).reduce((function(e,t){var r=t.getAttribute(n.Sk);return e.push.apply(e,r?function(e){for(var t=new Set,r=e.length,n=0;n0&&t.add(i),(s&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter((function(e,r){return!t.has(r)}))}((0,i.q)(s(t).querySelectorAll("[".concat(n.Sk,'="').concat(r,'"]:not([').concat(n.ZO,'="disabled"])')))):[t]),e}),[])}},73309:(e,t,r)=>{"use strict";r.d(t,{_:()=>i,q:()=>n});var n=function(e){for(var t=Array(e.length),r=0;r{"use strict";if(r.d(t,{O:()=>i,T:()=>s}),!/^(352|451)$/.test(r.j))var n=r(95669);var i=function(e,t){return(0,n.MH)(e)&&e.name?function(e,t){return t.filter(n.MH).filter((function(t){return t.name===e.name})).filter((function(e){return e.checked}))[0]||e}(e,t):e},s=function(e){var t=new Set;return e.forEach((function(r){return t.add(i(r,e))})),e.filter((function(e){return t.has(e)}))}},13654:(e,t,r)=>{"use strict";if(r.d(t,{L:()=>s,a:()=>i}),!/^(352|451)$/.test(r.j))var n=r(47930);var i=function(e){return e[0]&&e.length>1?(0,n.O)(e[0],e):e[0]},s=function(e,t){return e.length>1?e.indexOf((0,n.O)(e[t],e)):t}},54027:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=function(e){return e.activeElement?e.activeElement.shadowRoot?n(e.activeElement.shadowRoot):e.activeElement:void 0},i=function(){return document.activeElement?document.activeElement.shadowRoot?n(document.activeElement.shadowRoot):document.activeElement:void 0}},95669:(e,t,r)=>{"use strict";if(r.d(t,{$K:()=>y,IS:()=>m,MH:()=>p,Z9:()=>f,Zo:()=>h,bh:()=>o,gm:()=>u,pY:()=>l}),!/^(352|451)$/.test(r.j))var n=r(77498);var i=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},s=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},a=function(e,t){return!e||s(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"!==t.getPropertyValue("visibility"))}(e)&&t(i(e))},o=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=a(t,o.bind(void 0,e));return e.set(t,n),n},u=function(e,t){var r=e.get(t);if(void 0!==r)return r;var n=function(e,t){return!(e&&!s(e))||!!d(e)&&t(i(e))}(t,u.bind(void 0,e));return e.set(t,n),n},l=function(e){return e.dataset},c=function(e){return"INPUT"===e.tagName},p=function(e){return c(e)&&"radio"===e.type},h=function(e){return!((c(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))},d=function(e){var t=e.getAttribute(n.WQ);return![!0,"true",""].includes(t)},f=function(e){var t;return Boolean(e&&(null===(t=l(e))||void 0===t?void 0:t.focusGuard))},m=function(e){return!f(e)},y=function(e){return Boolean(e)}},26665:(e,t,r)=>{"use strict";if(r.d(t,{V0:()=>o,o$:()=>u}),!/^(352|451)$/.test(r.j))var n=r(33446);if(!/^(352|451)$/.test(r.j))var i=r(73309);var s=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&s(e.parentNode.host||e.parentNode,t),t},a=function(e,t){for(var r=s(e),n=s(t),i=0;i=0)return a}return!1},o=function(e,t,r){var s=(0,i._)(e),o=(0,i._)(t),u=s[0],l=!1;return o.filter(Boolean).forEach((function(e){l=a(l||e,e)||l,r.filter(Boolean).forEach((function(e){var t=a(u,e);t&&(l=!l||(0,n.r3)(t,l)?t:a(t,l))}))})),l},u=function(e,t){return e.reduce((function(e,r){return e.concat((0,n.ir)(r,t))}),[])}},81826:(e,t,r)=>{"use strict";if(r.d(t,{v:()=>s}),!/^(352|451)$/.test(r.j))var n=r(73309);var i=function(e,t){var r=e.tabIndex-t.tabIndex,n=e.index-t.index;if(r){if(!e.tabIndex)return 1;if(!t.tabIndex)return-1}return r||n},s=function(e,t,r){return(0,n.q)(e).map((function(e,t){return{node:e,index:t,tabIndex:r&&-1===e.tabIndex?(e.dataset||{}).focusGuard?0:-1:e.tabIndex}})).filter((function(e){return!t||e.tabIndex>=0})).sort(i)}},50237:(e,t,r)=>{"use strict";r.d(t,{s:()=>u,B:()=>l});var n=r(77498),i=r(73309),s=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),a="".concat(s,", [data-focus-guard]"),o=function(e,t){var r;return(0,i.q)((null===(r=e.shadowRoot)||void 0===r?void 0:r.children)||e.children).reduce((function(e,r){return e.concat(r.matches(t?a:s)?[r]:[],o(r))}),[])},u=function(e,t){return e.reduce((function(e,r){return e.concat(o(r,t),r.parentNode?(0,i.q)(r.parentNode.querySelectorAll(s)).filter((function(e){return e===r})):[])}),[])},l=function(e){var t=e.querySelectorAll("[".concat(n.GV,"]"));return(0,i.q)(t).map((function(e){return u([e])})).reduce((function(e,t){return e.concat(t)}),[])}},55648:(e,t,r)=>{"use strict";if(r.d(t,{Ep:()=>d,aU:()=>i,cP:()=>f,q_:()=>l}),798==r.j)var n=r(87462);var i;!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));var s=798==r.j?function(e){return e}:null;var a="beforeunload",o="hashchange",u="popstate";function l(e){void 0===e&&(e={});var t=e.window,r=void 0===t?document.defaultView:t,l=r.history;function m(){var e=f(r.location.hash.substr(1)),t=e.pathname,n=void 0===t?"/":t,i=e.search,a=void 0===i?"":i,o=e.hash,u=void 0===o?"":o,c=l.state||{};return[c.idx,s({pathname:n,search:a,hash:u,state:c.usr||null,key:c.key||"default"})]}var y=null;function g(){if(y)w.call(y),y=null;else{var e=i.Pop,t=m(),r=t[0],n=t[1];if(w.length){if(null!=r){var s=D-r;s&&(y={action:e,location:n,retry:function(){T(-1*s)}},T(s))}}else k(e)}}r.addEventListener(u,g),r.addEventListener(o,(function(){d(m()[1])!==d(x)&&g()}));var v=i.Pop,b=m(),D=b[0],x=b[1],E=p(),w=p();function C(e){return function(){var e=document.querySelector("base"),t="";if(e&&e.getAttribute("href")){var n=r.location.href,i=n.indexOf("#");t=-1===i?n:n.slice(0,i)}return t}()+"#"+("string"==typeof e?e:d(e))}function A(e,t){return void 0===t&&(t=null),s((0,n.Z)({pathname:x.pathname,hash:"",search:""},"string"==typeof e?f(e):e,{state:t,key:h()}))}function S(e,t){return[{usr:e.state,key:e.key,idx:t},C(e)]}function _(e,t,r){return!w.length||(w.call({action:e,location:t,retry:r}),!1)}function k(e){v=e;var t=m();D=t[0],x=t[1],E.call({action:v,location:x})}function T(e){l.go(e)}null==D&&(D=0,l.replaceState((0,n.Z)({},l.state,{idx:D}),""));var F={get action(){return v},get location(){return x},createHref:C,push:function e(t,n){var s=i.Push,a=A(t,n);if(_(s,a,(function(){e(t,n)}))){var o=S(a,D+1),u=o[0],c=o[1];try{l.pushState(u,"",c)}catch(e){r.location.assign(c)}k(s)}},replace:function e(t,r){var n=i.Replace,s=A(t,r);if(_(n,s,(function(){e(t,r)}))){var a=S(s,D),o=a[0],u=a[1];l.replaceState(o,"",u),k(n)}},go:T,back:function(){T(-1)},forward:function(){T(1)},listen:function(e){return E.push(e)},block:function(e){var t=w.push(e);return 1===w.length&&r.addEventListener(a,c),function(){t(),w.length||r.removeEventListener(a,c)}}};return F}function c(e){e.preventDefault(),e.returnValue=""}function p(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}function h(){return Math.random().toString(36).substr(2,8)}function d(e){var t=e.pathname,r=void 0===t?"/":t,n=e.search,i=void 0===n?"":n,s=e.hash,a=void 0===s?"":s;return i&&"?"!==i&&(r+="?"===i.charAt(0)?i:"?"+i),a&&"#"!==a&&(r+="#"===a.charAt(0)?a:"#"+a),r}function f(e){var t={};if(e){var r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));var n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}},55733:(e,t,r)=>{e.exports=function e(t,r,n){function i(a,o){if(!r[a]){if(!t[a]){if(s)return s(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=r[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,r,n)}return r[a].exports}for(var s=void 0,a=0;a>2,o=(3&t)<<4|r>>4,u=1>6:64,l=2>4,r=(15&a)<<4|(o=s.indexOf(e.charAt(l++)))>>2,n=(3&o)<<6|(u=s.indexOf(e.charAt(l++))),h[c++]=t,64!==o&&(h[c++]=r),64!==u&&(h[c++]=n);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils"),i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var s=i,a=n+r;e^=-1;for(var o=n;o>>8^s[255&(e^t[o])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var s=i,a=n+r;e^=-1;for(var o=n;o>>8^s[255&(e^t.charCodeAt(o))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),s=e("./utils"),a=e("./stream/GenericWorker"),o=n?"uint8array":"array";function u(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(u,a),u.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},u.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new u("Deflate",e)},r.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function n(e,t){var r,n="";for(r=0;r>>=8;return n}function i(e,t,r,i,a,c){var p,h,d=e.file,f=e.compression,m=c!==o.utf8encode,y=s.transformTo("string",c(d.name)),g=s.transformTo("string",o.utf8encode(d.name)),v=d.comment,b=s.transformTo("string",c(v)),D=s.transformTo("string",o.utf8encode(v)),x=g.length!==d.name.length,E=D.length!==v.length,w="",C="",A="",S=d.dir,_=d.date,k={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var T=0;t&&(T|=8),m||!x&&!E||(T|=2048);var F=0,P=0;S&&(F|=16),"UNIX"===a?(P=798,F|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(d.unixPermissions,S)):(P=20,F|=function(e){return 63&(e||0)}(d.dosPermissions)),p=_.getUTCHours(),p<<=6,p|=_.getUTCMinutes(),p<<=5,p|=_.getUTCSeconds()/2,h=_.getUTCFullYear()-1980,h<<=4,h|=_.getUTCMonth()+1,h<<=5,h|=_.getUTCDate(),x&&(C=n(1,1)+n(u(y),4)+g,w+="up"+n(C.length,2)+C),E&&(A=n(1,1)+n(u(b),4)+D,w+="uc"+n(A.length,2)+A);var N="";return N+="\n\0",N+=n(T,2),N+=f.magic,N+=n(p,2),N+=n(h,2),N+=n(k.crc32,4),N+=n(k.compressedSize,4),N+=n(k.uncompressedSize,4),N+=n(y.length,2),N+=n(w.length,2),{fileRecord:l.LOCAL_FILE_HEADER+N+y+w,dirRecord:l.CENTRAL_FILE_HEADER+n(P,2)+N+n(b.length,2)+"\0\0\0\0"+n(F,4)+n(i,4)+y+w+b}}var s=e("../utils"),a=e("../stream/GenericWorker"),o=e("../utf8"),u=e("../crc32"),l=e("../signature");function c(e,t,r,n){a.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(c,a),c.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,a.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=i(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=i(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return l.DATA_DESCRIPTOR+n(e.crc32,4)+n(e.compressedSize,4)+n(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),s=e("./ArrayReader"),a=e("./StringReader"),o=e("./NodeBufferReader"),u=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new o(e):i.uint8array?new u(n.transformTo("uint8array",e)):new s(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function s(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r "+e:e}},t.exports=n},{}],29:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./ConvertWorker"),s=e("./GenericWorker"),a=e("../base64"),o=e("../support"),u=e("../external"),l=null;if(o.nodestream)try{l=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,t){return new u.Promise((function(r,i){var s=[],o=e._internalType,u=e._outputType,l=e._mimeType;e.on("data",(function(e,r){s.push(e),t&&t(r)})).on("error",(function(e){s=[],i(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return a.encode(t);default:return n.transformTo(e,t)}}(u,function(e,t){var r,n=0,i=null,s=0;for(r=0;r>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t}(e)},r.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,s,a=e.length,u=new Array(2*a);for(t=r=0;t>10&1023,u[r++]=56320|1023&i)}return u.length!==r&&(u.subarray?u=u.subarray(0,r):u.length=r),n.applyFromCharCode(u)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(l,a),l.prototype.processChunk=function(e){var t=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var s=t;(t=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),t.set(s,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var a=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}(t),u=t;a!==t.length&&(i.uint8array?(u=t.subarray(0,a),this.leftOver=t.subarray(a,t.length)):(u=t.slice(0,a),this.leftOver=t.slice(a,t.length))),this.push({data:r.utf8decode(u),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=l,n.inherits(c,a),c.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var n=e("./support"),i=e("./base64"),s=e("./nodejsUtils"),a=e("./external");function o(e){return e}function u(e,t){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(r<65536?t[a++]=224|r>>>12:(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63),t[a++]=128|r>>>6&63),t[a++]=128|63&r);return t},r.buf2binstring=function(e){return u(e,e.length)},r.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r>10&1023,l[n++]=56320|1023&i)}return u(l,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+a[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,i){var s=n,a=i+r;e^=-1;for(var o=i;o>>8^s[255&(e^t[o])];return-1^e}},{}],46:[function(e,t,r){"use strict";var n,i=e("../utils/common"),s=e("./trees"),a=e("./adler32"),o=e("./crc32"),u=e("./messages"),l=0,c=4,p=0,h=-2,d=-1,f=4,m=2,y=8,g=9,v=286,b=30,D=19,x=2*v+1,E=15,w=3,C=258,A=C+w+1,S=42,_=113,k=1,T=2,F=3,P=4;function N(e,t){return e.msg=u[t],t}function I(e){return(e<<1)-(4e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function j(e,t){s._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,B(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function M(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function R(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,u=e.strstart>e.w_size-A?e.strstart-(e.w_size-A):0,l=e.window,c=e.w_mask,p=e.prev,h=e.strstart+C,d=l[s+a-1],f=l[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(l[(r=t)+a]===f&&l[r+a-1]===d&&l[r]===l[s]&&l[++r]===l[s+1]){s+=2,r++;do{}while(l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&l[++s]===l[++r]&&su&&0!=--i);return a<=e.lookahead?a:e.lookahead}function z(e){var t,r,n,s,u,l,c,p,h,d,f=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-A)){for(i.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);s+=f}if(0===e.strm.avail_in)break;if(l=e.strm,c=e.window,p=e.strstart+e.lookahead,d=void 0,(h=s)<(d=l.avail_in)&&(d=h),r=0===d?0:(l.avail_in-=d,i.arraySet(c,l.input,l.next_in,d,p),1===l.state.wrap?l.adler=a(l.adler,c,d,p):2===l.state.wrap&&(l.adler=o(l.adler,c,d,p)),l.next_in+=d,l.total_in+=d,d),e.lookahead+=r,e.lookahead+e.insert>=w)for(u=e.strstart-e.insert,e.ins_h=e.window[u],e.ins_h=(e.ins_h<=w&&(e.ins_h=(e.ins_h<=w)if(n=s._tr_tally(e,e.strstart-e.match_start,e.match_length-w),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=w){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=w&&(e.ins_h=(e.ins_h<=w&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-w,n=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-w),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(z(e),0===e.lookahead&&t===l)return k;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,j(e,!1),0===e.strm.avail_out))return k;if(e.strstart-e.block_start>=e.w_size-A&&(j(e,!1),0===e.strm.avail_out))return k}return e.insert=0,t===c?(j(e,!0),0===e.strm.avail_out?F:P):(e.strstart>e.block_start&&(j(e,!1),e.strm.avail_out),k)})),new $(4,4,8,4,U),new $(4,5,16,8,U),new $(4,6,32,32,U),new $(4,4,16,16,V),new $(8,16,32,32,V),new $(8,16,128,128,V),new $(8,32,128,256,V),new $(32,128,258,1024,V),new $(32,258,258,4096,V)],r.deflateInit=function(e,t){return K(e,t,y,15,8,0)},r.deflateInit2=K,r.deflateReset=q,r.deflateResetKeep=H,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,p):h},r.deflate=function(e,t){var r,i,a,u;if(!e||!e.state||5>8&255),L(i,i.gzhead.time>>16&255),L(i,i.gzhead.time>>24&255),L(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),L(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(L(i,255&i.gzhead.extra.length),L(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=o(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(L(i,0),L(i,0),L(i,0),L(i,0),L(i,0),L(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),L(i,3),i.status=_);else{var d=y+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=_,M(i,d),0!==i.strstart&&(M(i,e.adler>>>16),M(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),B(e),a=i.pending,i.pending!==i.pending_buf_size));)L(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),B(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),B(e),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindexa&&(e.adler=o(e.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&B(e),i.pending+2<=i.pending_buf_size&&(L(i,255&e.adler),L(i,e.adler>>8&255),e.adler=0,i.status=_)):i.status=_),0!==i.pending){if(B(e),0===e.avail_out)return i.last_flush=-1,p}else if(0===e.avail_in&&I(t)<=I(r)&&t!==c)return N(e,-5);if(666===i.status&&0!==e.avail_in)return N(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==l&&666!==i.status){var f=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(z(e),0===e.lookahead)){if(t===l)return k;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(j(e,!1),0===e.strm.avail_out))return k}return e.insert=0,t===c?(j(e,!0),0===e.strm.avail_out?F:P):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?k:T}(i,t):3===i.strategy?function(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=C){if(z(e),e.lookahead<=C&&t===l)return k;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=w&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=w?(r=s._tr_tally(e,1,e.match_length-w),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(j(e,!1),0===e.strm.avail_out))return k}return e.insert=0,t===c?(j(e,!0),0===e.strm.avail_out?F:P):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?k:T}(i,t):n[i.level].func(i,t);if(f!==F&&f!==P||(i.status=666),f===k||f===F)return 0===e.avail_out&&(i.last_flush=-1),p;if(f===T&&(1===t?s._tr_align(i):5!==t&&(s._tr_stored_block(i,0,0,!1),3===t&&(O(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),B(e),0===e.avail_out))return i.last_flush=-1,p}return t!==c?p:i.wrap<=0?1:(2===i.wrap?(L(i,255&e.adler),L(i,e.adler>>8&255),L(i,e.adler>>16&255),L(i,e.adler>>24&255),L(i,255&e.total_in),L(i,e.total_in>>8&255),L(i,e.total_in>>16&255),L(i,e.total_in>>24&255)):(M(i,e.adler>>>16),M(i,65535&e.adler)),B(e),0=r.w_size&&(0===o&&(O(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,t,f-r.w_size,r.w_size,0),t=d,f=r.w_size),u=e.avail_in,l=e.next_in,c=e.input,e.avail_in=f,e.next_in=0,e.input=t,z(r);r.lookahead>=w;){for(n=r.strstart,s=r.lookahead-(w-1);r.ins_h=(r.ins_h<>>=D=b>>>24,f-=D,0==(D=b>>>16&255))S[s++]=65535&b;else{if(!(16&D)){if(0==(64&D)){b=m[(65535&b)+(d&(1<>>=D,f-=D),f<15&&(d+=A[n++]<>>=D=b>>>24,f-=D,!(16&(D=b>>>16&255))){if(0==(64&D)){b=y[(65535&b)+(d&(1<>>=D,f-=D,(D=s-a)>3,d&=(1<<(f-=x<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(d),t.distcode=t.distdyn=new n.Buf32(f),t.sane=1,t.back=-1,c):p}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,g(e)):p}function b(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=a.wsize?(n.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i<(s=a.wsize-a.wnext)&&(s=i),n.arraySet(a.window,t,r-i,s,a.wnext),(i-=s)?(n.arraySet(a.window,t,r-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave>>8&255,r.check=s(r.check,z,2,0),x=D=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&D)<<8)+(D>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&D)){e.msg="unknown compression method",r.mode=30;break}if(x-=4,B=8+(15&(D>>>=4)),0===r.wbits)r.wbits=B;else if(B>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(z[0]=255&D,z[1]=D>>>8&255,r.check=s(r.check,z,2,0)),x=D=0,r.mode=3;case 3:for(;x<32;){if(0===v)break e;v--,D+=d[y++]<>>8&255,z[2]=D>>>16&255,z[3]=D>>>24&255,r.check=s(r.check,z,4,0)),x=D=0,r.mode=4;case 4:for(;x<16;){if(0===v)break e;v--,D+=d[y++]<>8),512&r.flags&&(z[0]=255&D,z[1]=D>>>8&255,r.check=s(r.check,z,2,0)),x=D=0,r.mode=5;case 5:if(1024&r.flags){for(;x<16;){if(0===v)break e;v--,D+=d[y++]<>>8&255,r.check=s(r.check,z,2,0)),x=D=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(v<(S=r.length)&&(S=v),S&&(r.head&&(B=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,d,y,S,B)),512&r.flags&&(r.check=s(r.check,d,S,y)),v-=S,y+=S,r.length-=S),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===v)break e;for(S=0;B=d[y+S++],r.head&&B&&r.length<65536&&(r.head.name+=String.fromCharCode(B)),B&&S>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;x<32;){if(0===v)break e;v--,D+=d[y++]<>>=7&x,x-=7&x,r.mode=27;break}for(;x<3;){if(0===v)break e;v--,D+=d[y++]<>>=1)){case 0:r.mode=14;break;case 1:if(C(r),r.mode=20,6!==t)break;D>>>=2,x-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}D>>>=2,x-=2;break;case 14:for(D>>>=7&x,x-=7&x;x<32;){if(0===v)break e;v--,D+=d[y++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&D,x=D=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(S=r.length){if(v>>=5,x-=5,r.ndist=1+(31&D),D>>>=5,x-=5,r.ncode=4+(15&D),D>>>=4,x-=4,286>>=3,x-=3}for(;r.have<19;)r.lens[U[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,L={bits:r.lenbits},j=o(0,r.lens,0,19,r.lencode,0,r.work,L),r.lenbits=L.bits,j){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,P=65535&R,!((T=R>>>24)<=x);){if(0===v)break e;v--,D+=d[y++]<>>=T,x-=T,r.lens[r.have++]=P;else{if(16===P){for(M=T+2;x>>=T,x-=T,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}B=r.lens[r.have-1],S=3+(3&D),D>>>=2,x-=2}else if(17===P){for(M=T+3;x>>=T)),D>>>=3,x-=3}else{for(M=T+7;x>>=T)),D>>>=7,x-=7}if(r.have+S>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=B}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,L={bits:r.lenbits},j=o(u,r.lens,0,r.nlen,r.lencode,0,r.work,L),r.lenbits=L.bits,j){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,L={bits:r.distbits},j=o(l,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,L),r.distbits=L.bits,j){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=v&&258<=b){e.next_out=g,e.avail_out=b,e.next_in=y,e.avail_in=v,r.hold=D,r.bits=x,a(e,w),g=e.next_out,f=e.output,b=e.avail_out,y=e.next_in,d=e.input,v=e.avail_in,D=r.hold,x=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;F=(R=r.lencode[D&(1<>>16&255,P=65535&R,!((T=R>>>24)<=x);){if(0===v)break e;v--,D+=d[y++]<>N)])>>>16&255,P=65535&R,!(N+(T=R>>>24)<=x);){if(0===v)break e;v--,D+=d[y++]<>>=N,x-=N,r.back+=N}if(D>>>=T,x-=T,r.back+=T,r.length=P,0===F){r.mode=26;break}if(32&F){r.back=-1,r.mode=12;break}if(64&F){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&F,r.mode=22;case 22:if(r.extra){for(M=r.extra;x>>=r.extra,x-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;F=(R=r.distcode[D&(1<>>16&255,P=65535&R,!((T=R>>>24)<=x);){if(0===v)break e;v--,D+=d[y++]<>N)])>>>16&255,P=65535&R,!(N+(T=R>>>24)<=x);){if(0===v)break e;v--,D+=d[y++]<>>=N,x-=N,r.back+=N}if(D>>>=T,x-=T,r.back+=T,64&F){e.msg="invalid distance code",r.mode=30;break}r.offset=P,r.extra=15&F,r.mode=24;case 24:if(r.extra){for(M=r.extra;x>>=r.extra,x-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===b)break e;if(S=w-b,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}_=S>r.wnext?(S-=r.wnext,r.wsize-S):r.wnext-S,S>r.length&&(S=r.length),k=r.window}else k=f,_=g-r.offset,S=r.length;for(bv?(D=L[M+p[C]],I[O+p[C]]):(D=96,0),d=1<>T)+(f-=d)]=b<<24|D<<16|x|0,0!==f;);for(d=1<>=1;if(0!==d?(N&=d-1,N+=d):N=0,C++,0==--B[w]){if(w===S)break;w=t[r+p[C]]}if(_>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function M(e,t,r){e.bi_valid>m-r?(e.bi_buf|=t<>m-e.bi_valid,e.bi_valid+=r-m):(e.bi_buf|=t<>>=1,r<<=1,0<--t;);return r>>>1}function U(e,t,r){var n,i,s=new Array(f+1),a=0;for(n=1;n<=f;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=z(s[o]++,o))}}function V(e){var t;for(t=0;t>1;1<=r;r--)H(e,s,r);for(i=u;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],H(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,H(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,p=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,y=t.stat_desc.max_length,g=0;for(s=0;s<=f;s++)e.bl_count[s]=0;for(u[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r>=7;n>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t>>3,(o=e.static_len+3+7>>>3)<=a&&(a=o)):a=o=r+5,r+4<=a&&-1!==t?Y(e,t,r,n):4===e.strategy||o===a?(M(e,2+(n?1:0),3),q(e,A,S)):(M(e,4+(n?1:0),3),function(e,t,r,n){var i;for(M(e,t-257,5),M(e,r-1,5),M(e,n-4,4),i=0;i>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(k[r]+l+1)]++,e.dyn_dtree[2*j(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){M(e,2,3),R(e,g,A),function(e){16===e.bi_valid?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var r,n,i,s,a=1,o={},u=!1,l=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,r="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick((function(){h(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(s="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",d,!1):e.attachEvent("onmessage",d),function(t){e.postMessage(s+t,"*")}):e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){i.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(h,0,e)},c.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n{var n=r(10852)(r(55639),"DataView");e.exports=n},1989:(e,t,r)=>{var n=r(51789),i=r(80401),s=r(57667),a=r(21327),o=r(81866);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(27040),i=r(14125),s=r(82117),a=r(67518),o=r(54705);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(10852)(r(55639),"Map");e.exports=n},83369:(e,t,r)=>{var n=r(24785),i=r(11285),s=r(96e3),a=r(49916),o=r(95265);function u(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(10852)(r(55639),"Promise");e.exports=n},58525:(e,t,r)=>{var n=r(10852)(r(55639),"Set");e.exports=n},88668:(e,t,r)=>{var n=r(83369),i=r(90619),s=r(72385);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t{var n=r(38407),i=r(37465),s=r(63779),a=r(67599),o=r(44758),u=r(34309);function l(e){var t=this.__data__=new n(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=s,l.prototype.get=a,l.prototype.has=o,l.prototype.set=u,e.exports=l},62705:(e,t,r)=>{var n=r(55639).Symbol;e.exports=n},11149:(e,t,r)=>{var n=r(55639).Uint8Array;e.exports=n},70577:(e,t,r)=>{var n=r(10852)(r(55639),"WeakMap");e.exports=n},96874:e=>{e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},77412:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,s=[];++r{var n=r(22545),i=r(35694),s=r(1469),a=r(44144),o=r(65776),u=r(36719),l=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=s(e),c=!r&&i(e),p=!r&&!c&&a(e),h=!r&&!c&&!p&&u(e),d=r||c||p||h,f=d?n(e.length,String):[],m=f.length;for(var y in e)!t&&!l.call(e,y)||d&&("length"==y||p&&("offset"==y||"parent"==y)||h&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||o(y,m))||f.push(y);return f}},29932:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{var n=r(89465),i=r(77813);e.exports=function(e,t,r){(void 0!==r&&!i(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},34865:(e,t,r)=>{var n=r(89465),i=r(77813),s=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];s.call(e,t)&&i(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},18470:(e,t,r)=>{var n=r(77813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},44037:(e,t,r)=>{var n=r(98363),i=r(3674);e.exports=function(e,t){return e&&n(t,i(t),e)}},63886:(e,t,r)=>{var n=r(98363),i=r(81704);e.exports=function(e,t){return e&&n(t,i(t),e)}},89465:(e,t,r)=>{var n=r(38777);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},85990:(e,t,r)=>{var n=r(46384),i=r(77412),s=r(34865),a=r(44037),o=r(63886),u=r(64626),l=r(278),c=r(18805),p=r(1911),h=r(58234),d=r(46904),f=r(64160),m=r(43824),y=r(29148),g=r(38517),v=r(1469),b=r(44144),D=r(56688),x=r(13218),E=r(72928),w=r(3674),C=r(81704),A="[object Arguments]",S="[object Function]",_="[object Object]",k={};k[A]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k[_]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k[S]=k["[object WeakMap]"]=!1,e.exports=function e(t,r,T,F,P,N){var I,O=1&r,B=2&r,j=4&r;if(T&&(I=P?T(t,F,P,N):T(t)),void 0!==I)return I;if(!x(t))return t;var L=v(t);if(L){if(I=m(t),!O)return l(t,I)}else{var M=f(t),R=M==S||"[object GeneratorFunction]"==M;if(b(t))return u(t,O);if(M==_||M==A||R&&!P){if(I=B||R?{}:g(t),!O)return B?p(t,o(I,t)):c(t,a(I,t))}else{if(!k[M])return P?t:{};I=y(t,M,O)}}N||(N=new n);var z=N.get(t);if(z)return z;N.set(t,I),E(t)?t.forEach((function(n){I.add(e(n,r,T,n,t,N))})):D(t)&&t.forEach((function(n,i){I.set(i,e(n,r,T,i,t,N))}));var U=L?void 0:(j?B?d:h:B?C:w)(t);return i(U||t,(function(n,i){U&&(n=t[i=n]),s(I,i,e(n,r,T,i,t,N))})),I}},3118:(e,t,r)=>{var n=r(13218),i=Object.create,s=function(){function e(){}return function(t){if(!n(t))return{};if(i)return i(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=s},21078:(e,t,r)=>{var n=r(62488),i=r(37285);e.exports=function e(t,r,s,a,o){var u=-1,l=t.length;for(s||(s=i),o||(o=[]);++u0&&s(c)?r>1?e(c,r-1,s,a,o):n(o,c):a||(o[o.length]=c)}return o}},28483:(e,t,r)=>{var n=r(25063)();e.exports=n},97786:(e,t,r)=>{var n=r(71811),i=r(40327);e.exports=function(e,t){for(var r=0,s=(t=n(t,e)).length;null!=e&&r{var n=r(62488),i=r(1469);e.exports=function(e,t,r){var s=t(e);return i(e)?s:n(s,r(e))}},44239:(e,t,r)=>{var n=r(62705),i=r(89607),s=r(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):s(e)}},78565:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,r){return null!=e&&t.call(e,r)}},9454:(e,t,r)=>{var n=r(44239),i=r(37005);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},90939:(e,t,r)=>{var n=r(2492),i=r(37005);e.exports=function e(t,r,s,a,o){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,s,a,e,o))}},2492:(e,t,r)=>{var n=r(46384),i=r(67114),s=r(18351),a=r(16096),o=r(64160),u=r(1469),l=r(44144),c=r(36719),p="[object Arguments]",h="[object Array]",d="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,y,g){var v=u(e),b=u(t),D=v?h:o(e),x=b?h:o(t),E=(D=D==p?d:D)==d,w=(x=x==p?d:x)==d,C=D==x;if(C&&l(e)){if(!l(t))return!1;v=!0,E=!1}if(C&&!E)return g||(g=new n),v||c(e)?i(e,t,r,m,y,g):s(e,t,D,r,m,y,g);if(!(1&r)){var A=E&&f.call(e,"__wrapped__"),S=w&&f.call(t,"__wrapped__");if(A||S){var _=A?e.value():e,k=S?t.value():t;return g||(g=new n),y(_,k,r,m,g)}}return!!C&&(g||(g=new n),a(e,t,r,m,y,g))}},25588:(e,t,r)=>{var n=r(64160),i=r(37005);e.exports=function(e){return i(e)&&"[object Map]"==n(e)}},28458:(e,t,r)=>{var n=r(23560),i=r(15346),s=r(13218),a=r(80346),o=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,p=l.hasOwnProperty,h=RegExp("^"+c.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!s(e)||i(e))&&(n(e)?h:o).test(a(e))}},29221:(e,t,r)=>{var n=r(64160),i=r(37005);e.exports=function(e){return i(e)&&"[object Set]"==n(e)}},38749:(e,t,r)=>{var n=r(44239),i=r(41780),s=r(37005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return s(e)&&i(e.length)&&!!a[n(e)]}},280:(e,t,r)=>{var n=r(25726),i=r(86916),s=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))s.call(e,r)&&"constructor"!=r&&t.push(r);return t}},10313:(e,t,r)=>{var n=r(13218),i=r(25726),s=r(33498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return s(e);var t=i(e),r=[];for(var o in e)("constructor"!=o||!t&&a.call(e,o))&&r.push(o);return r}},42980:(e,t,r)=>{var n=r(46384),i=r(86556),s=r(28483),a=r(59783),o=r(13218),u=r(81704),l=r(36390);e.exports=function e(t,r,c,p,h){t!==r&&s(r,(function(s,u){if(h||(h=new n),o(s))a(t,r,u,c,e,p,h);else{var d=p?p(l(t,u),s,u+"",t,r,h):void 0;void 0===d&&(d=s),i(t,u,d)}}),u)}},59783:(e,t,r)=>{var n=r(86556),i=r(64626),s=r(77133),a=r(278),o=r(38517),u=r(35694),l=r(1469),c=r(29246),p=r(44144),h=r(23560),d=r(13218),f=r(68630),m=r(36719),y=r(36390),g=r(59881);e.exports=function(e,t,r,v,b,D,x){var E=y(e,r),w=y(t,r),C=x.get(w);if(C)n(e,r,C);else{var A=D?D(E,w,r+"",e,t,x):void 0,S=void 0===A;if(S){var _=l(w),k=!_&&p(w),T=!_&&!k&&m(w);A=w,_||k||T?l(E)?A=E:c(E)?A=a(E):k?(S=!1,A=i(w,!0)):T?(S=!1,A=s(w,!0)):A=[]:f(w)||u(w)?(A=E,u(E)?A=g(E):d(E)&&!h(E)||(A=o(w))):S=!1}S&&(x.set(w,A),b(A,w,v,D,x),x.delete(w)),n(e,r,A)}}},18460:(e,t,r)=>{var n=r(6557),i=r(45357),s=r(30061);e.exports=function(e,t){return s(i(e,t,n),e+"")}},10611:(e,t,r)=>{var n=r(34865),i=r(71811),s=r(65776),a=r(13218),o=r(40327);e.exports=function(e,t,r,u){if(!a(e))return e;for(var l=-1,c=(t=i(t,e)).length,p=c-1,h=e;null!=h&&++l{var n=r(75703),i=r(38777),s=r(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:s;e.exports=a},14259:e=>{e.exports=function(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n{e.exports=function(e,t){for(var r=-1,n=Array(e);++r{var n=r(62705),i=r(29932),s=r(1469),a=r(33448),o=n?n.prototype:void 0,u=o?o.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(s(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},27561:(e,t,r)=>{var n=r(67990),i=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(i,""):e}},7518:e=>{e.exports=function(e){return function(t){return e(t)}}},57406:(e,t,r)=>{var n=r(71811),i=r(10928),s=r(40292),a=r(40327);e.exports=function(e,t){return t=n(t,e),null==(e=s(e,t))||delete e[a(i(t))]}},74757:e=>{e.exports=function(e,t){return e.has(t)}},71811:(e,t,r)=>{var n=r(1469),i=r(15403),s=r(55514),a=r(79833);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:s(a(e))}},74318:(e,t,r)=>{var n=r(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},64626:(e,t,r)=>{e=r.nmd(e);var n=r(55639),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?n.Buffer:void 0,o=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=o?o(r):new e.constructor(r);return e.copy(n),n}},57157:(e,t,r)=>{var n=r(74318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},93147:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},40419:(e,t,r)=>{var n=r(62705),i=n?n.prototype:void 0,s=i?i.valueOf:void 0;e.exports=function(e){return s?Object(s.call(e)):{}}},77133:(e,t,r)=>{var n=r(74318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},278:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{var n=r(34865),i=r(89465);e.exports=function(e,t,r,s){var a=!r;r||(r={});for(var o=-1,u=t.length;++o{var n=r(98363),i=r(99551);e.exports=function(e,t){return n(e,i(e),t)}},1911:(e,t,r)=>{var n=r(98363),i=r(51442);e.exports=function(e,t){return n(e,i(e),t)}},14429:(e,t,r)=>{var n=r(55639)["__core-js_shared__"];e.exports=n},21463:(e,t,r)=>{var n=r(18460),i=r(16612);e.exports=function(e){return n((function(t,r){var n=-1,s=r.length,a=s>1?r[s-1]:void 0,o=s>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(s--,a):void 0,o&&i(r[0],r[1],o)&&(a=s<3?void 0:a,s=1),t=Object(t);++n{e.exports=function(e){return function(t,r,n){for(var i=-1,s=Object(t),a=n(t),o=a.length;o--;){var u=a[e?o:++i];if(!1===r(s[u],u,s))break}return t}}},60696:(e,t,r)=>{var n=r(68630);e.exports=function(e){return n(e)?void 0:e}},38777:(e,t,r)=>{var n=r(10852),i=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},67114:(e,t,r)=>{var n=r(88668),i=r(82908),s=r(74757);e.exports=function(e,t,r,a,o,u){var l=1&r,c=e.length,p=t.length;if(c!=p&&!(l&&p>c))return!1;var h=u.get(e),d=u.get(t);if(h&&d)return h==t&&d==e;var f=-1,m=!0,y=2&r?new n:void 0;for(u.set(e,t),u.set(t,e);++f{var n=r(62705),i=r(11149),s=r(77813),a=r(67114),o=r(68776),u=r(21814),l=n?n.prototype:void 0,c=l?l.valueOf:void 0;e.exports=function(e,t,r,n,l,p,h){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return s(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=o;case"[object Set]":var f=1&n;if(d||(d=u),e.size!=t.size&&!f)return!1;var m=h.get(e);if(m)return m==t;n|=2,h.set(e,t);var y=a(d(e),d(t),n,l,p,h);return h.delete(e),y;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},16096:(e,t,r)=>{var n=r(58234),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,s,a,o){var u=1&r,l=n(e),c=l.length;if(c!=n(t).length&&!u)return!1;for(var p=c;p--;){var h=l[p];if(!(u?h in t:i.call(t,h)))return!1}var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var m=!0;o.set(e,t),o.set(t,e);for(var y=u;++p{var n=r(85564),i=r(45357),s=r(30061);e.exports=function(e){return s(i(e,void 0,n),e+"")}},31957:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},58234:(e,t,r)=>{var n=r(68866),i=r(99551),s=r(3674);e.exports=function(e){return n(e,s,i)}},46904:(e,t,r)=>{var n=r(68866),i=r(51442),s=r(81704);e.exports=function(e){return n(e,s,i)}},45050:(e,t,r)=>{var n=r(37019);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},10852:(e,t,r)=>{var n=r(28458),i=r(47801);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},85924:(e,t,r)=>{var n=r(5569)(Object.getPrototypeOf,Object);e.exports=n},89607:(e,t,r)=>{var n=r(62705),i=Object.prototype,s=i.hasOwnProperty,a=i.toString,o=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,o),r=e[o];try{e[o]=void 0;var n=!0}catch(e){}var i=a.call(e);return n&&(t?e[o]=r:delete e[o]),i}},99551:(e,t,r)=>{var n=r(34963),i=r(70479),s=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,o=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return s.call(e,t)})))}:i;e.exports=o},51442:(e,t,r)=>{var n=r(62488),i=r(85924),s=r(99551),a=r(70479),o=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,s(e)),e=i(e);return t}:a;e.exports=o},64160:(e,t,r)=>{var n=r(18552),i=r(57071),s=r(53818),a=r(58525),o=r(70577),u=r(44239),l=r(80346),c="[object Map]",p="[object Promise]",h="[object Set]",d="[object WeakMap]",f="[object DataView]",m=l(n),y=l(i),g=l(s),v=l(a),b=l(o),D=u;(n&&D(new n(new ArrayBuffer(1)))!=f||i&&D(new i)!=c||s&&D(s.resolve())!=p||a&&D(new a)!=h||o&&D(new o)!=d)&&(D=function(e){var t=u(e),r="[object Object]"==t?e.constructor:void 0,n=r?l(r):"";if(n)switch(n){case m:return f;case y:return c;case g:return p;case v:return h;case b:return d}return t}),e.exports=D},47801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},222:(e,t,r)=>{var n=r(71811),i=r(35694),s=r(1469),a=r(65776),o=r(41780),u=r(40327);e.exports=function(e,t,r){for(var l=-1,c=(t=n(t,e)).length,p=!1;++l{var n=r(94536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},80401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},57667:(e,t,r)=>{var n=r(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},21327:(e,t,r)=>{var n=r(94536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},81866:(e,t,r)=>{var n=r(94536);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},43824:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},29148:(e,t,r)=>{var n=r(74318),i=r(57157),s=r(93147),a=r(40419),o=r(77133);e.exports=function(e,t,r){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return i(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return o(e,r);case"[object Map]":case"[object Set]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return s(e);case"[object Symbol]":return a(e)}}},38517:(e,t,r)=>{var n=r(3118),i=r(85924),s=r(25726);e.exports=function(e){return"function"!=typeof e.constructor||s(e)?{}:n(i(e))}},37285:(e,t,r)=>{var n=r(62705),i=r(35694),s=r(1469),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return s(e)||i(e)||!!(a&&e&&e[a])}},65776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{var n=r(77813),i=r(98612),s=r(65776),a=r(13218);e.exports=function(e,t,r){if(!a(r))return!1;var o=typeof t;return!!("number"==o?i(r)&&s(t,r.length):"string"==o&&t in r)&&n(r[t],e)}},15403:(e,t,r)=>{var n=r(1469),i=r(33448),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||(a.test(e)||!s.test(e)||null!=t&&e in Object(t))}},37019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},15346:(e,t,r)=>{var n,i=r(14429),s=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!s&&s in e}},25726:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},27040:e=>{e.exports=function(){this.__data__=[],this.size=0}},14125:(e,t,r)=>{var n=r(18470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():i.call(t,r,1),--this.size,!0)}},82117:(e,t,r)=>{var n=r(18470);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},67518:(e,t,r)=>{var n=r(18470);e.exports=function(e){return n(this.__data__,e)>-1}},54705:(e,t,r)=>{var n=r(18470);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},24785:(e,t,r)=>{var n=r(1989),i=r(38407),s=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(s||i),string:new n}}},11285:(e,t,r)=>{var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:(e,t,r)=>{var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:(e,t,r)=>{var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:(e,t,r)=>{var n=r(45050);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},68776:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},24523:(e,t,r)=>{var n=r(88306);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},94536:(e,t,r)=>{var n=r(10852)(Object,"create");e.exports=n},86916:(e,t,r)=>{var n=r(5569)(Object.keys,Object);e.exports=n},33498:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},31167:(e,t,r)=>{e=r.nmd(e);var n=r(31957),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i&&n.process,o=function(){try{var e=s&&s.require&&s.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=o},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},45357:(e,t,r)=>{var n=r(96874),i=Math.max;e.exports=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var s=arguments,a=-1,o=i(s.length-t,0),u=Array(o);++a{var n=r(97786),i=r(14259);e.exports=function(e,t){return t.length<2?e:n(e,i(t,0,-1))}},55639:(e,t,r)=>{var n=r(31957),i="object"==typeof self&&self&&self.Object===Object&&self,s=n||i||Function("return this")();e.exports=s},36390:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},90619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:e=>{e.exports=function(e){return this.__data__.has(e)}},21814:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},30061:(e,t,r)=>{var n=r(56560),i=r(21275)(n);e.exports=i},21275:e=>{var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var i=t(),s=16-(i-n);if(n=i,s>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},37465:(e,t,r)=>{var n=r(38407);e.exports=function(){this.__data__=new n,this.size=0}},63779:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},67599:e=>{e.exports=function(e){return this.__data__.get(e)}},44758:e=>{e.exports=function(e){return this.__data__.has(e)}},34309:(e,t,r)=>{var n=r(38407),i=r(57071),s=r(83369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new s(a)}return r.set(e,t),this.size=r.size,this}},55514:(e,t,r)=>{var n=r(24523),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(s,"$1"):r||e)})),t}));e.exports=a},40327:(e,t,r)=>{var n=r(33448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},80346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},67990:e=>{var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},53888:(e,t,r)=>{var n=r(85990);e.exports=function(e,t){return n(e,5,t="function"==typeof t?t:void 0)}},75703:e=>{e.exports=function(e){return function(){return e}}},23279:(e,t,r)=>{var n=r(13218),i=r(7771),s=r(14841),a=Math.max,o=Math.min;e.exports=function(e,t,r){var u,l,c,p,h,d,f=0,m=!1,y=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=u,n=l;return u=l=void 0,f=t,p=e.apply(n,r)}function b(e){var r=e-d;return void 0===d||r>=t||r<0||y&&e-f>=c}function D(){var e=i();if(b(e))return x(e);h=setTimeout(D,function(e){var r=t-(e-d);return y?o(r,c-(e-f)):r}(e))}function x(e){return h=void 0,g&&u?v(e):(u=l=void 0,p)}function E(){var e=i(),r=b(e);if(u=arguments,l=this,d=e,r){if(void 0===h)return function(e){return f=e,h=setTimeout(D,t),m?v(e):p}(d);if(y)return clearTimeout(h),h=setTimeout(D,t),v(d)}return void 0===h&&(h=setTimeout(D,t)),p}return t=s(t)||0,n(r)&&(m=!!r.leading,c=(y="maxWait"in r)?a(s(r.maxWait)||0,t):c,g="trailing"in r?!!r.trailing:g),E.cancel=function(){void 0!==h&&clearTimeout(h),f=0,u=d=l=h=void 0},E.flush=function(){return void 0===h?p:x(i())},E}},77813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},3522:(e,t,r)=>{var n=r(79833),i=/[\\^$.*+?()[\]{}|]/g,s=RegExp(i.source);e.exports=function(e){return(e=n(e))&&s.test(e)?e.replace(i,"\\$&"):e}},85564:(e,t,r)=>{var n=r(21078);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},27361:(e,t,r)=>{var n=r(97786);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},18721:(e,t,r)=>{var n=r(78565),i=r(222);e.exports=function(e,t){return null!=e&&i(e,t,n)}},6557:e=>{e.exports=function(e){return e}},35694:(e,t,r)=>{var n=r(9454),i=r(37005),s=Object.prototype,a=s.hasOwnProperty,o=s.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!o.call(e,"callee")};e.exports=u},1469:e=>{var t=Array.isArray;e.exports=t},98612:(e,t,r)=>{var n=r(23560),i=r(41780);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},29246:(e,t,r)=>{var n=r(98612),i=r(37005);e.exports=function(e){return i(e)&&n(e)}},44144:(e,t,r)=>{e=r.nmd(e);var n=r(55639),i=r(95062),s=t&&!t.nodeType&&t,a=s&&e&&!e.nodeType&&e,o=a&&a.exports===s?n.Buffer:void 0,u=(o?o.isBuffer:void 0)||i;e.exports=u},28368:(e,t,r)=>{var n=r(90939);e.exports=function(e,t,r){var i=(r="function"==typeof r?r:void 0)?r(e,t):void 0;return void 0===i?n(e,t,void 0,r):!!i}},23560:(e,t,r)=>{var n=r(44239),i=r(13218);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},56688:(e,t,r)=>{var n=r(25588),i=r(7518),s=r(31167),a=s&&s.isMap,o=a?i(a):n;e.exports=o},13218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},68630:(e,t,r)=>{var n=r(44239),i=r(85924),s=r(37005),a=Function.prototype,o=Object.prototype,u=a.toString,l=o.hasOwnProperty,c=u.call(Object);e.exports=function(e){if(!s(e)||"[object Object]"!=n(e))return!1;var t=i(e);if(null===t)return!0;var r=l.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&u.call(r)==c}},72928:(e,t,r)=>{var n=r(29221),i=r(7518),s=r(31167),a=s&&s.isSet,o=a?i(a):n;e.exports=o},33448:(e,t,r)=>{var n=r(44239),i=r(37005);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},36719:(e,t,r)=>{var n=r(38749),i=r(7518),s=r(31167),a=s&&s.isTypedArray,o=a?i(a):n;e.exports=o},3674:(e,t,r)=>{var n=r(14636),i=r(280),s=r(98612);e.exports=function(e){return s(e)?n(e):i(e)}},81704:(e,t,r)=>{var n=r(14636),i=r(10313),s=r(98612);e.exports=function(e){return s(e)?n(e,!0):i(e)}},10928:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},96486:function(e,t,r){var n;e=r.nmd(e),function(){var i,s="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",u=16,l=32,c=64,p=128,h=256,d=1/0,f=9007199254740991,m=NaN,y=4294967295,g=[["ary",p],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",l],["partialRight",c],["rearg",h]],v="[object Arguments]",b="[object Array]",D="[object Boolean]",x="[object Date]",E="[object Error]",w="[object Function]",C="[object GeneratorFunction]",A="[object Map]",S="[object Number]",_="[object Object]",k="[object Promise]",T="[object RegExp]",F="[object Set]",P="[object String]",N="[object Symbol]",I="[object WeakMap]",O="[object ArrayBuffer]",B="[object DataView]",j="[object Float32Array]",L="[object Float64Array]",M="[object Int8Array]",R="[object Int16Array]",z="[object Int32Array]",U="[object Uint8Array]",V="[object Uint8ClampedArray]",$="[object Uint16Array]",W="[object Uint32Array]",H=/\b__p \+= '';/g,q=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,J=RegExp(Z.source),Y=RegExp(G.source),X=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,se=RegExp(ie.source),ae=/^\s+/,oe=/\s/,ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,he=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,be=/^0o[0-7]+$/i,De=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ee=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Ce="\\ud800-\\udfff",Ae="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Se="\\u2700-\\u27bf",_e="a-z\\xdf-\\xf6\\xf8-\\xff",ke="A-Z\\xc0-\\xd6\\xd8-\\xde",Te="\\ufe0e\\ufe0f",Fe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="['’]",Ne="["+Ce+"]",Ie="["+Fe+"]",Oe="["+Ae+"]",Be="\\d+",je="["+Se+"]",Le="["+_e+"]",Me="[^"+Ce+Fe+Be+Se+_e+ke+"]",Re="\\ud83c[\\udffb-\\udfff]",ze="[^"+Ce+"]",Ue="(?:\\ud83c[\\udde6-\\uddff]){2}",Ve="[\\ud800-\\udbff][\\udc00-\\udfff]",$e="["+ke+"]",We="\\u200d",He="(?:"+Le+"|"+Me+")",qe="(?:"+$e+"|"+Me+")",Ke="(?:['’](?:d|ll|m|re|s|t|ve))?",Ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ge="(?:"+Oe+"|"+Re+")"+"?",Je="["+Te+"]?",Ye=Je+Ge+("(?:"+We+"(?:"+[ze,Ue,Ve].join("|")+")"+Je+Ge+")*"),Xe="(?:"+[je,Ue,Ve].join("|")+")"+Ye,Qe="(?:"+[ze+Oe+"?",Oe,Ue,Ve,Ne].join("|")+")",et=RegExp(Pe,"g"),tt=RegExp(Oe,"g"),rt=RegExp(Re+"(?="+Re+")|"+Qe+Ye,"g"),nt=RegExp([$e+"?"+Le+"+"+Ke+"(?="+[Ie,$e,"$"].join("|")+")",qe+"+"+Ze+"(?="+[Ie,$e+He,"$"].join("|")+")",$e+"?"+He+"+"+Ke,$e+"+"+Ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Be,Xe].join("|"),"g"),it=RegExp("["+We+Ce+Ae+Te+"]"),st=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,ut={};ut[j]=ut[L]=ut[M]=ut[R]=ut[z]=ut[U]=ut[V]=ut[$]=ut[W]=!0,ut[v]=ut[b]=ut[O]=ut[D]=ut[B]=ut[x]=ut[E]=ut[w]=ut[A]=ut[S]=ut[_]=ut[T]=ut[F]=ut[P]=ut[I]=!1;var lt={};lt[v]=lt[b]=lt[O]=lt[B]=lt[D]=lt[x]=lt[j]=lt[L]=lt[M]=lt[R]=lt[z]=lt[A]=lt[S]=lt[_]=lt[T]=lt[F]=lt[P]=lt[N]=lt[U]=lt[V]=lt[$]=lt[W]=!0,lt[E]=lt[w]=lt[I]=!1;var ct={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},pt=parseFloat,ht=parseInt,dt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ft="object"==typeof self&&self&&self.Object===Object&&self,mt=dt||ft||Function("return this")(),yt=t&&!t.nodeType&&t,gt=yt&&e&&!e.nodeType&&e,vt=gt&>.exports===yt,bt=vt&&dt.process,Dt=function(){try{var e=gt&>.require&>.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(e){}}(),xt=Dt&&Dt.isArrayBuffer,Et=Dt&&Dt.isDate,wt=Dt&&Dt.isMap,Ct=Dt&&Dt.isRegExp,At=Dt&&Dt.isSet,St=Dt&&Dt.isTypedArray;function _t(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function kt(e,t,r,n){for(var i=-1,s=null==e?0:e.length;++i-1}function Ot(e,t,r){for(var n=-1,i=null==e?0:e.length;++n-1;);return r}function nr(e,t){for(var r=e.length;r--&&$t(t,e[r],0)>-1;);return r}var ir=Zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),sr=Zt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+ct[e]}function or(e){return it.test(e)}function ur(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function cr(e,t){for(var r=-1,n=e.length,i=0,s=[];++r",""":'"',"'":"'"});var gr=function e(t){var r,n=(t=null==t?mt:gr.defaults(mt.Object(),t,gr.pick(mt,at))).Array,oe=t.Date,Ce=t.Error,Ae=t.Function,Se=t.Math,_e=t.Object,ke=t.RegExp,Te=t.String,Fe=t.TypeError,Pe=n.prototype,Ne=Ae.prototype,Ie=_e.prototype,Oe=t["__core-js_shared__"],Be=Ne.toString,je=Ie.hasOwnProperty,Le=0,Me=(r=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",Re=Ie.toString,ze=Be.call(_e),Ue=mt._,Ve=ke("^"+Be.call(je).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$e=vt?t.Buffer:i,We=t.Symbol,He=t.Uint8Array,qe=$e?$e.allocUnsafe:i,Ke=lr(_e.getPrototypeOf,_e),Ze=_e.create,Ge=Ie.propertyIsEnumerable,Je=Pe.splice,Ye=We?We.isConcatSpreadable:i,Xe=We?We.iterator:i,Qe=We?We.toStringTag:i,rt=function(){try{var e=hs(_e,"defineProperty");return e({},"",{}),e}catch(e){}}(),it=t.clearTimeout!==mt.clearTimeout&&t.clearTimeout,ct=oe&&oe.now!==mt.Date.now&&oe.now,dt=t.setTimeout!==mt.setTimeout&&t.setTimeout,ft=Se.ceil,yt=Se.floor,gt=_e.getOwnPropertySymbols,bt=$e?$e.isBuffer:i,Dt=t.isFinite,zt=Pe.join,Zt=lr(_e.keys,_e),vr=Se.max,br=Se.min,Dr=oe.now,xr=t.parseInt,Er=Se.random,wr=Pe.reverse,Cr=hs(t,"DataView"),Ar=hs(t,"Map"),Sr=hs(t,"Promise"),_r=hs(t,"Set"),kr=hs(t,"WeakMap"),Tr=hs(_e,"create"),Fr=kr&&new kr,Pr={},Nr=Ms(Cr),Ir=Ms(Ar),Or=Ms(Sr),Br=Ms(_r),jr=Ms(kr),Lr=We?We.prototype:i,Mr=Lr?Lr.valueOf:i,Rr=Lr?Lr.toString:i;function zr(e){if(to(e)&&!Wa(e)&&!(e instanceof Wr)){if(e instanceof $r)return e;if(je.call(e,"__wrapped__"))return Rs(e)}return new $r(e)}var Ur=function(){function e(){}return function(t){if(!eo(t))return{};if(Ze)return Ze(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Vr(){}function $r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Wr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Hr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function ln(e,t,r,n,s,a){var o,u=1&t,l=2&t,c=4&t;if(r&&(o=s?r(e,n,s,a):r(e)),o!==i)return o;if(!eo(e))return e;var p=Wa(e);if(p){if(o=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&je.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!u)return Fi(e,o)}else{var h=ms(e),d=h==w||h==C;if(Za(e))return Ci(e,u);if(h==_||h==v||d&&!s){if(o=l||d?{}:gs(e),!u)return l?function(e,t){return Pi(e,fs(e),t)}(e,function(e,t){return e&&Pi(t,Io(t),e)}(o,e)):function(e,t){return Pi(e,ds(e),t)}(e,sn(o,e))}else{if(!lt[h])return s?e:{};o=function(e,t,r){var n=e.constructor;switch(t){case O:return Ai(e);case D:case x:return new n(+e);case B:return function(e,t){var r=t?Ai(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case j:case L:case M:case R:case z:case U:case V:case $:case W:return Si(e,r);case A:return new n;case S:case P:return new n(e);case T:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case F:return new n;case N:return i=e,Mr?_e(Mr.call(i)):{}}var i}(e,h,u)}}a||(a=new Gr);var f=a.get(e);if(f)return f;a.set(e,o),ao(e)?e.forEach((function(n){o.add(ln(n,t,r,n,e,a))})):ro(e)&&e.forEach((function(n,i){o.set(i,ln(n,t,r,i,e,a))}));var m=p?i:(c?l?ss:is:l?Io:No)(e);return Tt(m||e,(function(n,i){m&&(n=e[i=n]),tn(o,i,ln(n,t,r,i,e,a))})),o}function cn(e,t,r){var n=r.length;if(null==e)return!n;for(e=_e(e);n--;){var s=r[n],a=t[s],o=e[s];if(o===i&&!(s in e)||!a(o))return!1}return!0}function pn(e,t,r){if("function"!=typeof e)throw new Fe(s);return Ps((function(){e.apply(i,r)}),t)}function hn(e,t,r,n){var i=-1,s=It,a=!0,o=e.length,u=[],l=t.length;if(!o)return u;r&&(t=Bt(t,Qt(r))),n?(s=Ot,a=!1):t.length>=200&&(s=tr,a=!1,t=new Zr(t));e:for(;++i-1},qr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Kr.prototype.clear=function(){this.size=0,this.__data__={hash:new Hr,map:new(Ar||qr),string:new Hr}},Kr.prototype.delete=function(e){var t=cs(this,e).delete(e);return this.size-=t?1:0,t},Kr.prototype.get=function(e){return cs(this,e).get(e)},Kr.prototype.has=function(e){return cs(this,e).has(e)},Kr.prototype.set=function(e,t){var r=cs(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Zr.prototype.add=Zr.prototype.push=function(e){return this.__data__.set(e,a),this},Zr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.clear=function(){this.__data__=new qr,this.size=0},Gr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Gr.prototype.get=function(e){return this.__data__.get(e)},Gr.prototype.has=function(e){return this.__data__.has(e)},Gr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof qr){var n=r.__data__;if(!Ar||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Kr(n)}return r.set(e,t),this.size=r.size,this};var dn=Oi(xn),fn=Oi(En,!0);function mn(e,t){var r=!0;return dn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function yn(e,t,r){for(var n=-1,s=e.length;++n0&&r(o)?t>1?vn(o,t-1,r,n,i):jt(i,o):n||(i[i.length]=o)}return i}var bn=Bi(),Dn=Bi(!0);function xn(e,t){return e&&bn(e,t,No)}function En(e,t){return e&&Dn(e,t,No)}function wn(e,t){return Nt(t,(function(t){return Ya(e[t])}))}function Cn(e,t){for(var r=0,n=(t=Di(t,e)).length;null!=e&&rt}function kn(e,t){return null!=e&&je.call(e,t)}function Tn(e,t){return null!=e&&t in _e(e)}function Fn(e,t,r){for(var s=r?Ot:It,a=e[0].length,o=e.length,u=o,l=n(o),c=1/0,p=[];u--;){var h=e[u];u&&t&&(h=Bt(h,Qt(t))),c=br(h.length,c),l[u]=!r&&(t||a>=120&&h.length>=120)?new Zr(u&&h):i}h=e[0];var d=-1,f=l[0];e:for(;++d=o?u:u*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function qn(e,t,r){for(var n=-1,i=t.length,s={};++n-1;)o!==e&&Je.call(o,u,1),Je.call(e,u,1);return e}function Zn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==s){var s=i;bs(i)?Je.call(e,i,1):hi(e,i)}}return e}function Gn(e,t){return e+yt(Er()*(t-e+1))}function Jn(e,t){var r="";if(!e||t<1||t>f)return r;do{t%2&&(r+=e),(t=yt(t/2))&&(e+=e)}while(t);return r}function Yn(e,t){return Ns(_s(e,t,iu),e+"")}function Xn(e){return Yr(Uo(e))}function Qn(e,t){var r=Uo(e);return Bs(r,un(t,0,r.length))}function ei(e,t,r,n){if(!eo(e))return e;for(var s=-1,a=(t=Di(t,e)).length,o=a-1,u=e;null!=u&&++ss?0:s+t),(r=r>s?s:r)<0&&(r+=s),s=t>r?0:r-t>>>0,t>>>=0;for(var a=n(s);++i>>1,a=e[s];null!==a&&!uo(a)&&(r?a<=t:a=200){var l=t?null:Ji(e);if(l)return pr(l);a=!1,i=tr,u=new Zr}else u=t?[]:o;e:for(;++n=n?e:ii(e,t,r)}var wi=it||function(e){return mt.clearTimeout(e)};function Ci(e,t){if(t)return e.slice();var r=e.length,n=qe?qe(r):new e.constructor(r);return e.copy(n),n}function Ai(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function Si(e,t){var r=t?Ai(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function _i(e,t){if(e!==t){var r=e!==i,n=null===e,s=e==e,a=uo(e),o=t!==i,u=null===t,l=t==t,c=uo(t);if(!u&&!c&&!a&&e>t||a&&o&&l&&!u&&!c||n&&o&&l||!r&&l||!s)return 1;if(!n&&!a&&!c&&e1?r[s-1]:i,o=s>2?r[2]:i;for(a=e.length>3&&"function"==typeof a?(s--,a):i,o&&Ds(r[0],r[1],o)&&(a=s<3?i:a,s=1),t=_e(t);++n-1?s[a?t[o]:o]:i}}function zi(e){return ns((function(t){var r=t.length,n=r,a=$r.prototype.thru;for(e&&t.reverse();n--;){var o=t[n];if("function"!=typeof o)throw new Fe(s);if(a&&!u&&"wrapper"==os(o))var u=new $r([],!0)}for(n=u?n:r;++n1&&D.reverse(),d&&cu))return!1;var c=a.get(e),p=a.get(t);if(c&&p)return c==t&&p==e;var h=-1,d=!0,f=2&r?new Zr:i;for(a.set(e,t),a.set(t,e);++h-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ue,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Tt(g,(function(r){var n="_."+r[0];t&r[1]&&!It(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(ce):[]}(n),r)))}function Os(e){var t=0,r=0;return function(){var n=Dr(),s=16-(n-r);if(r=n,s>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Bs(e,t){var r=-1,n=e.length,s=n-1;for(t=t===i?n:t;++r1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,sa(e,r)}));function ha(e){var t=zr(e);return t.__chain__=!0,t}function da(e,t){return t(e)}var fa=ns((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,s=function(t){return on(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Wr&&bs(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:da,args:[s],thisArg:i}),new $r(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(s)}));var ma=Ni((function(e,t,r){je.call(e,r)?++e[r]:an(e,r,1)}));var ya=Ri($s),ga=Ri(Ws);function va(e,t){return(Wa(e)?Tt:dn)(e,ls(t,3))}function ba(e,t){return(Wa(e)?Ft:fn)(e,ls(t,3))}var Da=Ni((function(e,t,r){je.call(e,r)?e[r].push(t):an(e,r,[t])}));var xa=Yn((function(e,t,r){var i=-1,s="function"==typeof t,a=qa(e)?n(e.length):[];return dn(e,(function(e){a[++i]=s?_t(t,e,r):Pn(e,t,r)})),a})),Ea=Ni((function(e,t,r){an(e,r,t)}));function wa(e,t){return(Wa(e)?Bt:zn)(e,ls(t,3))}var Ca=Ni((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Aa=Yn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&Ds(e,t[0],t[1])?t=[]:r>2&&Ds(t[0],t[1],t[2])&&(t=[t[0]]),Hn(e,vn(t,1),[])})),Sa=ct||function(){return mt.Date.now()};function _a(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Xi(e,p,i,i,i,i,t)}function ka(e,t){var r;if("function"!=typeof t)throw new Fe(s);return e=mo(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Ta=Yn((function(e,t,r){var n=1;if(r.length){var i=cr(r,us(Ta));n|=l}return Xi(e,n,t,r,i)})),Fa=Yn((function(e,t,r){var n=3;if(r.length){var i=cr(r,us(Fa));n|=l}return Xi(t,n,e,r,i)}));function Pa(e,t,r){var n,a,o,u,l,c,p=0,h=!1,d=!1,f=!0;if("function"!=typeof e)throw new Fe(s);function m(t){var r=n,s=a;return n=a=i,p=t,u=e.apply(s,r)}function y(e){var r=e-c;return c===i||r>=t||r<0||d&&e-p>=o}function g(){var e=Sa();if(y(e))return v(e);l=Ps(g,function(e){var r=t-(e-c);return d?br(r,o-(e-p)):r}(e))}function v(e){return l=i,f&&n?m(e):(n=a=i,u)}function b(){var e=Sa(),r=y(e);if(n=arguments,a=this,c=e,r){if(l===i)return function(e){return p=e,l=Ps(g,t),h?m(e):u}(c);if(d)return wi(l),l=Ps(g,t),m(c)}return l===i&&(l=Ps(g,t)),u}return t=go(t)||0,eo(r)&&(h=!!r.leading,o=(d="maxWait"in r)?vr(go(r.maxWait)||0,t):o,f="trailing"in r?!!r.trailing:f),b.cancel=function(){l!==i&&wi(l),p=0,n=c=a=l=i},b.flush=function(){return l===i?u:v(Sa())},b}var Na=Yn((function(e,t){return pn(e,1,t)})),Ia=Yn((function(e,t,r){return pn(e,go(t)||0,r)}));function Oa(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Fe(s);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var a=e.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(Oa.Cache||Kr),r}function Ba(e){if("function"!=typeof e)throw new Fe(s);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Oa.Cache=Kr;var ja=xi((function(e,t){var r=(t=1==t.length&&Wa(t[0])?Bt(t[0],Qt(ls())):Bt(vn(t,1),Qt(ls()))).length;return Yn((function(n){for(var i=-1,s=br(n.length,r);++i=t})),$a=Nn(function(){return arguments}())?Nn:function(e){return to(e)&&je.call(e,"callee")&&!Ge.call(e,"callee")},Wa=n.isArray,Ha=xt?Qt(xt):function(e){return to(e)&&Sn(e)==O};function qa(e){return null!=e&&Qa(e.length)&&!Ya(e)}function Ka(e){return to(e)&&qa(e)}var Za=bt||gu,Ga=Et?Qt(Et):function(e){return to(e)&&Sn(e)==x};function Ja(e){if(!to(e))return!1;var t=Sn(e);return t==E||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!io(e)}function Ya(e){if(!eo(e))return!1;var t=Sn(e);return t==w||t==C||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xa(e){return"number"==typeof e&&e==mo(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function eo(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function to(e){return null!=e&&"object"==typeof e}var ro=wt?Qt(wt):function(e){return to(e)&&ms(e)==A};function no(e){return"number"==typeof e||to(e)&&Sn(e)==S}function io(e){if(!to(e)||Sn(e)!=_)return!1;var t=Ke(e);if(null===t)return!0;var r=je.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Be.call(r)==ze}var so=Ct?Qt(Ct):function(e){return to(e)&&Sn(e)==T};var ao=At?Qt(At):function(e){return to(e)&&ms(e)==F};function oo(e){return"string"==typeof e||!Wa(e)&&to(e)&&Sn(e)==P}function uo(e){return"symbol"==typeof e||to(e)&&Sn(e)==N}var lo=St?Qt(St):function(e){return to(e)&&Qa(e.length)&&!!ut[Sn(e)]};var co=Ki(Rn),po=Ki((function(e,t){return e<=t}));function ho(e){if(!e)return[];if(qa(e))return oo(e)?fr(e):Fi(e);if(Xe&&e[Xe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Xe]());var t=ms(e);return(t==A?ur:t==F?pr:Uo)(e)}function fo(e){return e?(e=go(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function mo(e){var t=fo(e),r=t%1;return t==t?r?t-r:t:0}function yo(e){return e?un(mo(e),0,y):0}function go(e){if("number"==typeof e)return e;if(uo(e))return m;if(eo(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=eo(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var r=ge.test(e);return r||be.test(e)?ht(e.slice(2),r?2:8):ye.test(e)?m:+e}function vo(e){return Pi(e,Io(e))}function bo(e){return null==e?"":ci(e)}var Do=Ii((function(e,t){if(Cs(t)||qa(t))Pi(t,No(t),e);else for(var r in t)je.call(t,r)&&tn(e,r,t[r])})),xo=Ii((function(e,t){Pi(t,Io(t),e)})),Eo=Ii((function(e,t,r,n){Pi(t,Io(t),e,n)})),wo=Ii((function(e,t,r,n){Pi(t,No(t),e,n)})),Co=ns(on);var Ao=Yn((function(e,t){e=_e(e);var r=-1,n=t.length,s=n>2?t[2]:i;for(s&&Ds(t[0],t[1],s)&&(n=1);++r1),t})),Pi(e,ss(e),r),n&&(r=ln(r,7,ts));for(var i=t.length;i--;)hi(r,t[i]);return r}));var Lo=ns((function(e,t){return null==e?{}:function(e,t){return qn(e,t,(function(t,r){return ko(e,r)}))}(e,t)}));function Mo(e,t){if(null==e)return{};var r=Bt(ss(e),(function(e){return[e]}));return t=ls(t),qn(e,r,(function(e,r){return t(e,r[0])}))}var Ro=Yi(No),zo=Yi(Io);function Uo(e){return null==e?[]:er(e,No(e))}var Vo=Li((function(e,t,r){return t=t.toLowerCase(),e+(r?$o(t):t)}));function $o(e){return Yo(bo(e).toLowerCase())}function Wo(e){return(e=bo(e))&&e.replace(xe,ir).replace(tt,"")}var Ho=Li((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),qo=Li((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ko=ji("toLowerCase");var Zo=Li((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Go=Li((function(e,t,r){return e+(r?" ":"")+Yo(t)}));var Jo=Li((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Yo=ji("toUpperCase");function Xo(e,t,r){return e=bo(e),(t=r?i:t)===i?function(e){return st.test(e)}(e)?function(e){return e.match(nt)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var Qo=Yn((function(e,t){try{return _t(e,i,t)}catch(e){return Ja(e)?e:new Ce(e)}})),eu=ns((function(e,t){return Tt(t,(function(t){t=Ls(t),an(e,t,Ta(e[t],e))})),e}));function tu(e){return function(){return e}}var ru=zi(),nu=zi(!0);function iu(e){return e}function su(e){return jn("function"==typeof e?e:ln(e,1))}var au=Yn((function(e,t){return function(r){return Pn(r,e,t)}})),ou=Yn((function(e,t){return function(r){return Pn(e,r,t)}}));function uu(e,t,r){var n=No(t),i=wn(t,n);null!=r||eo(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=wn(t,No(t)));var s=!(eo(r)&&"chain"in r&&!r.chain),a=Ya(e);return Tt(i,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(s||t){var r=e(this.__wrapped__);return(r.__actions__=Fi(this.__actions__)).push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,jt([this.value()],arguments))})})),e}function lu(){}var cu=Wi(Bt),pu=Wi(Pt),hu=Wi(Rt);function du(e){return xs(e)?Kt(Ls(e)):function(e){return function(t){return Cn(t,e)}}(e)}var fu=qi(),mu=qi(!0);function yu(){return[]}function gu(){return!1}var vu=$i((function(e,t){return e+t}),0),bu=Gi("ceil"),Du=$i((function(e,t){return e/t}),1),xu=Gi("floor");var Eu,wu=$i((function(e,t){return e*t}),1),Cu=Gi("round"),Au=$i((function(e,t){return e-t}),0);return zr.after=function(e,t){if("function"!=typeof t)throw new Fe(s);return e=mo(e),function(){if(--e<1)return t.apply(this,arguments)}},zr.ary=_a,zr.assign=Do,zr.assignIn=xo,zr.assignInWith=Eo,zr.assignWith=wo,zr.at=Co,zr.before=ka,zr.bind=Ta,zr.bindAll=eu,zr.bindKey=Fa,zr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wa(e)?e:[e]},zr.chain=ha,zr.chunk=function(e,t,r){t=(r?Ds(e,t,r):t===i)?1:vr(mo(t),0);var s=null==e?0:e.length;if(!s||t<1)return[];for(var a=0,o=0,u=n(ft(s/t));as?0:s+r),(n=n===i||n>s?s:mo(n))<0&&(n+=s),n=r>n?0:yo(n);r>>0)?(e=bo(e))&&("string"==typeof t||null!=t&&!so(t))&&!(t=ci(t))&&or(e)?Ei(fr(e),0,r):e.split(t,r):[]},zr.spread=function(e,t){if("function"!=typeof e)throw new Fe(s);return t=null==t?0:vr(mo(t),0),Yn((function(r){var n=r[t],i=Ei(r,0,t);return n&&jt(i,n),_t(e,this,i)}))},zr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},zr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:mo(t))<0?0:t):[]},zr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:mo(t)))<0?0:t,n):[]},zr.takeRightWhile=function(e,t){return e&&e.length?fi(e,ls(t,3),!1,!0):[]},zr.takeWhile=function(e,t){return e&&e.length?fi(e,ls(t,3)):[]},zr.tap=function(e,t){return t(e),e},zr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Fe(s);return eo(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Pa(e,t,{leading:n,maxWait:t,trailing:i})},zr.thru=da,zr.toArray=ho,zr.toPairs=Ro,zr.toPairsIn=zo,zr.toPath=function(e){return Wa(e)?Bt(e,Ls):uo(e)?[e]:Fi(js(bo(e)))},zr.toPlainObject=vo,zr.transform=function(e,t,r){var n=Wa(e),i=n||Za(e)||lo(e);if(t=ls(t,4),null==r){var s=e&&e.constructor;r=i?n?new s:[]:eo(e)&&Ya(s)?Ur(Ke(e)):{}}return(i?Tt:xn)(e,(function(e,n,i){return t(r,e,n,i)})),r},zr.unary=function(e){return _a(e,1)},zr.union=ta,zr.unionBy=ra,zr.unionWith=na,zr.uniq=function(e){return e&&e.length?pi(e):[]},zr.uniqBy=function(e,t){return e&&e.length?pi(e,ls(t,2)):[]},zr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?pi(e,i,t):[]},zr.unset=function(e,t){return null==e||hi(e,t)},zr.unzip=ia,zr.unzipWith=sa,zr.update=function(e,t,r){return null==e?e:di(e,t,bi(r))},zr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:di(e,t,bi(r),n)},zr.values=Uo,zr.valuesIn=function(e){return null==e?[]:er(e,Io(e))},zr.without=aa,zr.words=Xo,zr.wrap=function(e,t){return La(bi(t),e)},zr.xor=oa,zr.xorBy=ua,zr.xorWith=la,zr.zip=ca,zr.zipObject=function(e,t){return gi(e||[],t||[],tn)},zr.zipObjectDeep=function(e,t){return gi(e||[],t||[],ei)},zr.zipWith=pa,zr.entries=Ro,zr.entriesIn=zo,zr.extend=xo,zr.extendWith=Eo,uu(zr,zr),zr.add=vu,zr.attempt=Qo,zr.camelCase=Vo,zr.capitalize=$o,zr.ceil=bu,zr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=go(r))==r?r:0),t!==i&&(t=(t=go(t))==t?t:0),un(go(e),t,r)},zr.clone=function(e){return ln(e,4)},zr.cloneDeep=function(e){return ln(e,5)},zr.cloneDeepWith=function(e,t){return ln(e,5,t="function"==typeof t?t:i)},zr.cloneWith=function(e,t){return ln(e,4,t="function"==typeof t?t:i)},zr.conformsTo=function(e,t){return null==t||cn(e,t,No(t))},zr.deburr=Wo,zr.defaultTo=function(e,t){return null==e||e!=e?t:e},zr.divide=Du,zr.endsWith=function(e,t,r){e=bo(e),t=ci(t);var n=e.length,s=r=r===i?n:un(mo(r),0,n);return(r-=t.length)>=0&&e.slice(r,s)==t},zr.eq=za,zr.escape=function(e){return(e=bo(e))&&Y.test(e)?e.replace(G,sr):e},zr.escapeRegExp=function(e){return(e=bo(e))&&se.test(e)?e.replace(ie,"\\$&"):e},zr.every=function(e,t,r){var n=Wa(e)?Pt:mn;return r&&Ds(e,t,r)&&(t=i),n(e,ls(t,3))},zr.find=ya,zr.findIndex=$s,zr.findKey=function(e,t){return Ut(e,ls(t,3),xn)},zr.findLast=ga,zr.findLastIndex=Ws,zr.findLastKey=function(e,t){return Ut(e,ls(t,3),En)},zr.floor=xu,zr.forEach=va,zr.forEachRight=ba,zr.forIn=function(e,t){return null==e?e:bn(e,ls(t,3),Io)},zr.forInRight=function(e,t){return null==e?e:Dn(e,ls(t,3),Io)},zr.forOwn=function(e,t){return e&&xn(e,ls(t,3))},zr.forOwnRight=function(e,t){return e&&En(e,ls(t,3))},zr.get=_o,zr.gt=Ua,zr.gte=Va,zr.has=function(e,t){return null!=e&&ys(e,t,kn)},zr.hasIn=ko,zr.head=qs,zr.identity=iu,zr.includes=function(e,t,r,n){e=qa(e)?e:Uo(e),r=r&&!n?mo(r):0;var i=e.length;return r<0&&(r=vr(i+r,0)),oo(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&$t(e,t,r)>-1},zr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:mo(r);return i<0&&(i=vr(n+i,0)),$t(e,t,i)},zr.inRange=function(e,t,r){return t=fo(t),r===i?(r=t,t=0):r=fo(r),function(e,t,r){return e>=br(t,r)&&e=-9007199254740991&&e<=f},zr.isSet=ao,zr.isString=oo,zr.isSymbol=uo,zr.isTypedArray=lo,zr.isUndefined=function(e){return e===i},zr.isWeakMap=function(e){return to(e)&&ms(e)==I},zr.isWeakSet=function(e){return to(e)&&"[object WeakSet]"==Sn(e)},zr.join=function(e,t){return null==e?"":zt.call(e,t)},zr.kebabCase=Ho,zr.last=Js,zr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var s=n;return r!==i&&(s=(s=mo(r))<0?vr(n+s,0):br(s,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,s):Vt(e,Ht,s,!0)},zr.lowerCase=qo,zr.lowerFirst=Ko,zr.lt=co,zr.lte=po,zr.max=function(e){return e&&e.length?yn(e,iu,_n):i},zr.maxBy=function(e,t){return e&&e.length?yn(e,ls(t,2),_n):i},zr.mean=function(e){return qt(e,iu)},zr.meanBy=function(e,t){return qt(e,ls(t,2))},zr.min=function(e){return e&&e.length?yn(e,iu,Rn):i},zr.minBy=function(e,t){return e&&e.length?yn(e,ls(t,2),Rn):i},zr.stubArray=yu,zr.stubFalse=gu,zr.stubObject=function(){return{}},zr.stubString=function(){return""},zr.stubTrue=function(){return!0},zr.multiply=wu,zr.nth=function(e,t){return e&&e.length?Wn(e,mo(t)):i},zr.noConflict=function(){return mt._===this&&(mt._=Ue),this},zr.noop=lu,zr.now=Sa,zr.pad=function(e,t,r){e=bo(e);var n=(t=mo(t))?dr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Hi(yt(i),r)+e+Hi(ft(i),r)},zr.padEnd=function(e,t,r){e=bo(e);var n=(t=mo(t))?dr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var s=Er();return br(e+s*(t-e+pt("1e-"+((s+"").length-1))),t)}return Gn(e,t)},zr.reduce=function(e,t,r){var n=Wa(e)?Lt:Gt,i=arguments.length<3;return n(e,ls(t,4),r,i,dn)},zr.reduceRight=function(e,t,r){var n=Wa(e)?Mt:Gt,i=arguments.length<3;return n(e,ls(t,4),r,i,fn)},zr.repeat=function(e,t,r){return t=(r?Ds(e,t,r):t===i)?1:mo(t),Jn(bo(e),t)},zr.replace=function(){var e=arguments,t=bo(e[0]);return e.length<3?t:t.replace(e[1],e[2])},zr.result=function(e,t,r){var n=-1,s=(t=Di(t,e)).length;for(s||(s=1,e=i);++nf)return[];var r=y,n=br(e,y);t=ls(t),e-=y;for(var i=Yt(n,t);++r=a)return e;var u=r-dr(n);if(u<1)return n;var l=o?Ei(o,0,u).join(""):e.slice(0,u);if(s===i)return l+n;if(o&&(u+=l.length-u),so(s)){if(e.slice(u).search(s)){var c,p=l;for(s.global||(s=ke(s.source,bo(me.exec(s))+"g")),s.lastIndex=0;c=s.exec(p);)var h=c.index;l=l.slice(0,h===i?u:h)}}else if(e.indexOf(ci(s),u)!=u){var d=l.lastIndexOf(s);d>-1&&(l=l.slice(0,d))}return l+n},zr.unescape=function(e){return(e=bo(e))&&J.test(e)?e.replace(Z,yr):e},zr.uniqueId=function(e){var t=++Le;return bo(e)+t},zr.upperCase=Jo,zr.upperFirst=Yo,zr.each=va,zr.eachRight=ba,zr.first=qs,uu(zr,(Eu={},xn(zr,(function(e,t){je.call(zr.prototype,t)||(Eu[t]=e)})),Eu),{chain:!1}),zr.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){zr[e].placeholder=zr})),Tt(["drop","take"],(function(e,t){Wr.prototype[e]=function(r){r=r===i?1:vr(mo(r),0);var n=this.__filtered__&&!t?new Wr(this):this.clone();return n.__filtered__?n.__takeCount__=br(r,n.__takeCount__):n.__views__.push({size:br(r,y),type:e+(n.__dir__<0?"Right":"")}),n},Wr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Wr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ls(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Tt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Wr.prototype[e]=function(){return this[r](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Wr.prototype[e]=function(){return this.__filtered__?new Wr(this):this[r](1)}})),Wr.prototype.compact=function(){return this.filter(iu)},Wr.prototype.find=function(e){return this.filter(e).head()},Wr.prototype.findLast=function(e){return this.reverse().find(e)},Wr.prototype.invokeMap=Yn((function(e,t){return"function"==typeof e?new Wr(this):this.map((function(r){return Pn(r,e,t)}))})),Wr.prototype.reject=function(e){return this.filter(Ba(ls(e)))},Wr.prototype.slice=function(e,t){e=mo(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Wr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=mo(t))<0?r.dropRight(-t):r.take(t-e)),r)},Wr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wr.prototype.toArray=function(){return this.take(y)},xn(Wr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),s=zr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);s&&(zr.prototype[t]=function(){var t=this.__wrapped__,o=n?[1]:arguments,u=t instanceof Wr,l=o[0],c=u||Wa(t),p=function(e){var t=s.apply(zr,jt([e],o));return n&&h?t[0]:t};c&&r&&"function"==typeof l&&1!=l.length&&(u=c=!1);var h=this.__chain__,d=!!this.__actions__.length,f=a&&!h,m=u&&!d;if(!a&&c){t=m?t:new Wr(this);var y=e.apply(t,o);return y.__actions__.push({func:da,args:[p],thisArg:i}),new $r(y,h)}return f&&m?e.apply(this,o):(y=this.thru(p),f?n?y.value()[0]:y.value():y)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);zr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Wa(i)?i:[],e)}return this[r]((function(r){return t.apply(Wa(r)?r:[],e)}))}})),xn(Wr.prototype,(function(e,t){var r=zr[t];if(r){var n=r.name+"";je.call(Pr,n)||(Pr[n]=[]),Pr[n].push({name:t,func:r})}})),Pr[Ui(i,2).name]=[{name:"wrapper",func:i}],Wr.prototype.clone=function(){var e=new Wr(this.__wrapped__);return e.__actions__=Fi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Fi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Fi(this.__views__),e},Wr.prototype.reverse=function(){if(this.__filtered__){var e=new Wr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Wa(e),n=t<0,i=r?e.length:0,s=function(e,t,r){var n=-1,i=r.length;for(;++n=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},zr.prototype.plant=function(e){for(var t,r=this;r instanceof Vr;){var n=Rs(r);n.__index__=0,n.__values__=i,t?s.__wrapped__=n:t=n;var s=n;r=r.__wrapped__}return s.__wrapped__=e,t},zr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wr){var t=e;return this.__actions__.length&&(t=new Wr(this)),(t=t.reverse()).__actions__.push({func:da,args:[ea],thisArg:i}),new $r(t,this.__chain__)}return this.thru(ea)},zr.prototype.toJSON=zr.prototype.valueOf=zr.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},zr.prototype.first=zr.prototype.head,Xe&&(zr.prototype[Xe]=function(){return this}),zr}();mt._=gr,(n=function(){return gr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},88306:(e,t,r)=>{var n=r(83369);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var a=e.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},82492:(e,t,r)=>{var n=r(42980),i=r(21463)((function(e,t,r){n(e,t,r)}));e.exports=i},7771:(e,t,r)=>{var n=r(55639);e.exports=function(){return n.Date.now()}},57557:(e,t,r)=>{var n=r(29932),i=r(85990),s=r(57406),a=r(71811),o=r(98363),u=r(60696),l=r(99021),c=r(46904),p=l((function(e,t){var r={};if(null==e)return r;var l=!1;t=n(t,(function(t){return t=a(t,e),l||(l=t.length>1),t})),o(e,c(e),r),l&&(r=i(r,7,u));for(var p=t.length;p--;)s(r,t[p]);return r}));e.exports=p},36968:(e,t,r)=>{var n=r(10611);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},31921:(e,t,r)=>{var n=r(10611);e.exports=function(e,t,r,i){return i="function"==typeof i?i:void 0,null==e?e:n(e,t,r,i)}},70479:e=>{e.exports=function(){return[]}},95062:e=>{e.exports=function(){return!1}},23493:(e,t,r)=>{var n=r(23279),i=r(13218);e.exports=function(e,t,r){var s=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return i(r)&&(s="leading"in r?!!r.leading:s,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:s,maxWait:t,trailing:a})}},14841:(e,t,r)=>{var n=r(27561),i=r(13218),s=r(33448),a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,u=/^0o[0-7]+$/i,l=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return NaN;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=o.test(e);return r||u.test(e)?l(e.slice(2),r?2:8):a.test(e)?NaN:+e}},59881:(e,t,r)=>{var n=r(98363),i=r(81704);e.exports=function(e){return n(e,i(e))}},79833:(e,t,r)=>{var n=r(80531);e.exports=function(e){return null==e?"":n(e)}},39593:(e,t,r)=>{"use strict";const n=r(34411),i=Symbol("max"),s=Symbol("length"),a=Symbol("lengthCalculator"),o=Symbol("allowStale"),u=Symbol("maxAge"),l=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),h=Symbol("cache"),d=Symbol("updateAgeOnGet"),f=()=>1;const m=(e,t,r)=>{const n=e[h].get(t);if(n){const t=n.value;if(y(e,t)){if(v(e,n),!e[o])return}else r&&(e[d]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},y=(e,t)=>{if(!t||!t.maxAge&&!e[u])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]},g=e=>{if(e[s]>e[i])for(let t=e[p].tail;e[s]>e[i]&&null!==t;){const r=t.prev;v(e,t),t=r}},v=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[s]-=r.length,e[h].delete(r.key),e[p].removeNode(t)}};class b{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}const D=(e,t,r,n)=>{let i=r.value;y(e,i)&&(v(e,r),e[o]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw new TypeError("max must be a non-negative number");this[i]=e.max||1/0;const t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[o]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||1/0,g(this)}get max(){return this[i]}set allowStale(e){this[o]=!!e}get allowStale(){return this[o]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[u]=e,g(this)}get maxAge(){return this[u]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[s]=0,this[p].forEach((e=>{e.length=this[a](e.value,e.key),this[s]+=e.length}))),g(this)}get lengthCalculator(){return this[a]}get length(){return this[s]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){const n=r.prev;D(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){const n=r.next;D(this,e,r,t),r=n}}keys(){return this[p].toArray().map((e=>e.key))}values(){return this[p].toArray().map((e=>e.value))}reset(){this[l]&&this[p]&&this[p].length&&this[p].forEach((e=>this[l](e.key,e.value))),this[h]=new Map,this[p]=new n,this[s]=0}dump(){return this[p].map((e=>!y(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[u])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const n=r?Date.now():0,o=this[a](t,e);if(this[h].has(e)){if(o>this[i])return v(this,this[h].get(e)),!1;const a=this[h].get(e).value;return this[l]&&(this[c]||this[l](e,a.value)),a.now=n,a.maxAge=r,a.value=t,this[s]+=o-a.length,a.length=o,this.get(e),g(this),!0}const d=new b(e,t,o,n,r);return d.length>this[i]?(this[l]&&this[l](e,t),!1):(this[s]+=d.length,this[p].unshift(d),this[h].set(e,this[p].head),g(this),!0)}has(e){if(!this[h].has(e))return!1;const t=this[h].get(e).value;return!y(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){const e=this[p].tail;return e?(v(this,e),e.value):null}del(e){v(this,this[h].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{const e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[h].forEach(((e,t)=>m(this,t,!1)))}}},68565:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{}class n extends r{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class i extends r{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class s extends r{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class a extends r{}class o extends r{constructor(e){super(`Invalid unit ${e}`)}}class u extends r{}class l extends r{constructor(){super("Zone is an abstract class")}}const c="numeric",p="short",h="long",d={year:c,month:c,day:c},f={year:c,month:p,day:c},m={year:c,month:p,day:c,weekday:p},y={year:c,month:h,day:c},g={year:c,month:h,day:c,weekday:h},v={hour:c,minute:c},b={hour:c,minute:c,second:c},D={hour:c,minute:c,second:c,timeZoneName:p},x={hour:c,minute:c,second:c,timeZoneName:h},E={hour:c,minute:c,hourCycle:"h23"},w={hour:c,minute:c,second:c,hourCycle:"h23"},C={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:p},A={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:h},S={year:c,month:c,day:c,hour:c,minute:c},_={year:c,month:c,day:c,hour:c,minute:c,second:c},k={year:c,month:p,day:c,hour:c,minute:c},T={year:c,month:p,day:c,hour:c,minute:c,second:c},F={year:c,month:p,day:c,weekday:p,hour:c,minute:c},P={year:c,month:h,day:c,hour:c,minute:c,timeZoneName:p},N={year:c,month:h,day:c,hour:c,minute:c,second:c,timeZoneName:p},I={year:c,month:h,day:c,weekday:h,hour:c,minute:c,timeZoneName:h},O={year:c,month:h,day:c,weekday:h,hour:c,minute:c,second:c,timeZoneName:h};class B{get type(){throw new l}get name(){throw new l}get ianaName(){return this.name}get isUniversal(){throw new l}offsetName(e,t){throw new l}formatOffset(e,t){throw new l}offset(e){throw new l}equals(e){throw new l}get isValid(){throw new l}}let j=null;class L extends B{static get instance(){return null===j&&(j=new L),j}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Te(e,t,r)}formatOffset(e,t){return Ie(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let M={};const R={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let z={};class U extends B{static create(e){return z[e]||(z[e]=new U(e)),z[e]}static resetCache(){z={},M={}}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=U.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return Te(e,t,r,this.name)}formatOffset(e,t){return Ie(this.offset(e),t)}offset(e){const t=new Date(e);if(isNaN(t))return NaN;const r=(n=this.name,M[n]||(M[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),M[n]);var n;let[i,s,a,o,u,l,c]=r.formatToParts?function(e,t){const r=e.formatToParts(t),n=[];for(let e=0;e=0?h:1e3+h,(Se({year:i,month:s,day:a,hour:24===u?0:u,minute:l,second:c,millisecond:0})-p)/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let V={};let $={};function W(e,t={}){const r=JSON.stringify([e,t]);let n=$[r];return n||(n=new Intl.DateTimeFormat(e,t),$[r]=n),n}let H={};let q={};let K=null;function Z(e,t,r,n,i){const s=e.listingMode(r);return"error"===s?null:"en"===s?n(t):i(t)}class G{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:n,floor:i,...s}=r;if(!t||Object.keys(s).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){const r=JSON.stringify([e,t]);let n=H[r];return n||(n=new Intl.NumberFormat(e,t),H[r]=n),n}(e,t)}}format(e){if(this.inf){const t=this.floor?Math.floor(e):e;return this.inf.format(t)}return ve(this.floor?Math.floor(e):Ee(e,3),this.padTo)}}class J{constructor(e,t,r){let n;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=e.offset/60*-1,r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&U.create(r).valid?(n=r,this.dt=e):(n="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,n=e.zone.name):(n="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const i={...this.opts};i.timeZone=i.timeZone||n,this.dtf=W(t,i)}format(){return this.originalZone?this.formatToParts().map((({value:e})=>e)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map((e=>{if("timeZoneName"===e.type){const t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}return e})):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class Y{constructor(e,t,r){this.opts={style:"long",...r},!t&&fe()&&(this.rtf=function(e,t={}){const{base:r,...n}=t,i=JSON.stringify([e,n]);let s=q[i];return s||(s=new Intl.RelativeTimeFormat(e,t),q[i]=s),s}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",n=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&s){const r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${i[e][0]}`;case-1:return r?"yesterday":`last ${i[e][0]}`;case 0:return r?"today":`this ${i[e][0]}`}}const a=Object.is(t,-0)||t<0,o=Math.abs(t),u=1===o,l=i[e],c=n?u?l[1]:l[2]||l[1]:u?i[e][0]:e;return a?`${o} ${c} ago`:`in ${o} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}class X{static fromOpts(e){return X.create(e.locale,e.numberingSystem,e.outputCalendar,e.defaultToEN)}static create(e,t,r,n=!1){const i=e||ce.defaultLocale,s=i||(n?"en-US":K||(K=(new Intl.DateTimeFormat).resolvedOptions().locale,K)),a=t||ce.defaultNumberingSystem,o=r||ce.defaultOutputCalendar;return new X(s,a,o,i)}static resetCache(){K=null,$={},H={},q={}}static fromObject({locale:e,numberingSystem:t,outputCalendar:r}={}){return X.create(e,t,r)}constructor(e,t,r,n){const[i,s,a]=function(e){const t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(-1===r)return[e];{let t,n;try{t=W(e).resolvedOptions(),n=e}catch(i){const s=e.substring(0,r);t=W(s).resolvedOptions(),n=s}const{numberingSystem:i,calendar:s}=t;return[n,i,s]}}(e);this.locale=i,this.numberingSystem=t||s||null,this.outputCalendar=r||a||null,this.intl=function(e,t,r){return r||t?(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`),e):e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),t=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?X.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1,r=!0){return Z(this,e,r,Me,(()=>{const r=t?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";return this.monthsCache[n][e]||(this.monthsCache[n][e]=function(e){const t=[];for(let r=1;r<=12;r++){const n=Qr.utc(2016,r,1);t.push(e(n))}return t}((e=>this.extract(e,r,"month")))),this.monthsCache[n][e]}))}weekdays(e,t=!1,r=!0){return Z(this,e,r,Ve,(()=>{const r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},n=t?"format":"standalone";return this.weekdaysCache[n][e]||(this.weekdaysCache[n][e]=function(e){const t=[];for(let r=1;r<=7;r++){const n=Qr.utc(2016,11,13+r);t.push(e(n))}return t}((e=>this.extract(e,r,"weekday")))),this.weekdaysCache[n][e]}))}meridiems(e=!0){return Z(this,void 0,e,(()=>$e),(()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Qr.utc(2016,11,13,9),Qr.utc(2016,11,13,19)].map((t=>this.extract(t,e,"dayperiod")))}return this.meridiemCache}))}eras(e,t=!0){return Z(this,e,t,Ke,(()=>{const t={era:e};return this.eraCache[e]||(this.eraCache[e]=[Qr.utc(-40,1,1),Qr.utc(2017,1,1)].map((e=>this.extract(e,t,"era")))),this.eraCache[e]}))}extract(e,t,r){const n=this.dtFormatter(e,t).formatToParts().find((e=>e.type.toLowerCase()===r));return n?n.value:null}numberFormatter(e={}){return new G(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new J(e,this.intl,t)}relFormatter(e={}){return new Y(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){const r=JSON.stringify([e,t]);let n=V[r];return n||(n=new Intl.ListFormat(e,t),V[r]=n),n}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}}let Q=null;class ee extends B{static get utcInstance(){return null===Q&&(Q=new ee(0)),Q}static instance(e){return 0===e?ee.utcInstance:new ee(e)}static parseSpecifier(e){if(e){const t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new ee(Fe(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Ie(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Ie(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return Ie(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class te extends B{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function re(e,t){if(pe(e)||null===e)return t;if(e instanceof B)return e;if("string"==typeof e){const r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?L.instance:"utc"===r||"gmt"===r?ee.utcInstance:ee.parseSpecifier(r)||U.create(e)}return he(e)?ee.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new te(e)}let ne,ie=()=>Date.now(),se="system",ae=null,oe=null,ue=null,le=60;class ce{static get now(){return ie}static set now(e){ie=e}static set defaultZone(e){se=e}static get defaultZone(){return re(se,L.instance)}static get defaultLocale(){return ae}static set defaultLocale(e){ae=e}static get defaultNumberingSystem(){return oe}static set defaultNumberingSystem(e){oe=e}static get defaultOutputCalendar(){return ue}static set defaultOutputCalendar(e){ue=e}static get twoDigitCutoffYear(){return le}static set twoDigitCutoffYear(e){le=e%100}static get throwOnInvalid(){return ne}static set throwOnInvalid(e){ne=e}static resetCaches(){X.resetCache(),U.resetCache()}}function pe(e){return void 0===e}function he(e){return"number"==typeof e}function de(e){return"number"==typeof e&&e%1==0}function fe(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function me(e,t,r){if(0!==e.length)return e.reduce(((e,n)=>{const i=[t(n),n];return e&&r(e[0],i[0])===e[0]?e:i}),null)[1]}function ye(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ge(e,t,r){return de(e)&&e>=t&&e<=r}function ve(e,t=2){let r;return r=e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0"),r}function be(e){return pe(e)||null===e||""===e?void 0:parseInt(e,10)}function De(e){return pe(e)||null===e||""===e?void 0:parseFloat(e)}function xe(e){if(!pe(e)&&null!==e&&""!==e){const t=1e3*parseFloat("0."+e);return Math.floor(t)}}function Ee(e,t,r=!1){const n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function we(e){return e%4==0&&(e%100!=0||e%400==0)}function Ce(e){return we(e)?366:365}function Ae(e,t){const r=function(e,t){return e-t*Math.floor(e/t)}(t-1,12)+1;return 2===r?we(e+(t-r)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Se(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function _e(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,r=e-1,n=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return 4===t||3===n?53:52}function ke(e){return e>99?e:e>ce.twoDigitCutoffYear?1900+e:2e3+e}function Te(e,t,r,n=null){const i=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const a={timeZoneName:t,...s},o=new Intl.DateTimeFormat(r,a).formatToParts(i).find((e=>"timezonename"===e.type.toLowerCase()));return o?o.value:null}function Fe(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const n=parseInt(t,10)||0;return 60*r+(r<0||Object.is(r,-0)?-n:n)}function Pe(e){const t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new u(`Invalid unit value ${e}`);return t}function Ne(e,t){const r={};for(const n in e)if(ye(e,n)){const i=e[n];if(null==i)continue;r[t(n)]=Pe(i)}return r}function Ie(e,t){const r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${ve(r,2)}:${ve(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${ve(r,2)}${ve(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Oe(e){return function(e,t){return t.reduce(((t,r)=>(t[r]=e[r],t)),{})}(e,["hour","minute","second","millisecond"])}const Be=["January","February","March","April","May","June","July","August","September","October","November","December"],je=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Le=["J","F","M","A","M","J","J","A","S","O","N","D"];function Me(e){switch(e){case"narrow":return[...Le];case"short":return[...je];case"long":return[...Be];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Re=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ze=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Ue=["M","T","W","T","F","S","S"];function Ve(e){switch(e){case"narrow":return[...Ue];case"short":return[...ze];case"long":return[...Re];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const $e=["AM","PM"],We=["Before Christ","Anno Domini"],He=["BC","AD"],qe=["B","A"];function Ke(e){switch(e){case"narrow":return[...qe];case"short":return[...He];case"long":return[...We];default:return null}}function Ze(e,t){let r="";for(const n of e)n.literal?r+=n.val:r+=t(n.val);return r}const Ge={D:d,DD:f,DDD:y,DDDD:g,t:v,tt:b,ttt:D,tttt:x,T:E,TT:w,TTT:C,TTTT:A,f:S,ff:k,fff:P,ffff:I,F:_,FF:T,FFF:N,FFFF:O};class Je{static create(e,t={}){return new Je(e,t)}static parseFormat(e){let t=null,r="",n=!1;const i=[];for(let s=0;s0&&i.push({literal:n||/^\s+$/.test(r),val:r}),t=null,r="",n=!n):n||a===t?r+=a:(r.length>0&&i.push({literal:/^\s+$/.test(r),val:r}),r=a,t=a)}return r.length>0&&i.push({literal:n||/^\s+$/.test(r),val:r}),i}static macroTokenToFormatOpts(e){return Ge[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}formatDateTime(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t}).format()}formatDateTimeParts(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t}).formatToParts()}formatInterval(e,t={}){return this.loc.dtFormatter(e.start,{...this.opts,...t}).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t}).resolvedOptions()}num(e,t=0){if(this.opts.forceSimple)return ve(e,t);const r={...this.opts};return t>0&&(r.padTo=t),this.loc.numberFormatter(r).format(e)}formatDateTimeFromString(e,t){const r="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,i=(t,r)=>this.loc.extract(e,t,r),s=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=()=>r?function(e){return $e[e.hour<12?0:1]}(e):i({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(t,n)=>r?function(e,t){return Me(t)[e.month-1]}(e,t):i(n?{month:t}:{month:t,day:"numeric"},"month"),u=(t,n)=>r?function(e,t){return Ve(t)[e.weekday-1]}(e,t):i(n?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{const r=Je.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},c=t=>r?function(e,t){return Ke(t)[e.year<0?0:1]}(e,t):i({era:t},"era");return Ze(Je.parseFormat(t),(t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return n?i({day:"numeric"},"day"):this.num(e.day);case"dd":return n?i({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return n?i({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return n?i({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return o("short",!0);case"LLLL":return o("long",!0);case"LLLLL":return o("narrow",!0);case"M":return n?i({month:"numeric"},"month"):this.num(e.month);case"MM":return n?i({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return o("short",!1);case"MMMM":return o("long",!1);case"MMMMM":return o("narrow",!1);case"y":return n?i({year:"numeric"},"year"):this.num(e.year);case"yy":return n?i({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return n?i({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return n?i({year:"numeric"},"year"):this.num(e.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return l(t)}}))}formatDurationFromString(e,t){const r=e=>{switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=Je.parseFormat(t),i=n.reduce(((e,{literal:t,val:r})=>t?e:e.concat(r)),[]);return Ze(n,(e=>t=>{const n=r(t);return n?this.num(e.get(n),t.length):t})(e.shiftTo(...i.map(r).filter((e=>e)))))}}class Ye{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Xe=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Qe(...e){const t=e.reduce(((e,t)=>e+t.source),"");return RegExp(`^${t}$`)}function et(...e){return t=>e.reduce((([e,r,n],i)=>{const[s,a,o]=i(t,n);return[{...e,...s},a||r,o]}),[{},null,1]).slice(0,2)}function tt(e,...t){if(null==e)return[null,null];for(const[r,n]of t){const t=r.exec(e);if(t)return n(t)}return[null,null]}function rt(...e){return(t,r)=>{const n={};let i;for(i=0;ivoid 0!==e&&(t||e&&c)?-e:e;return[{years:h(De(r)),months:h(De(n)),weeks:h(De(i)),days:h(De(s)),hours:h(De(a)),minutes:h(De(o)),seconds:h(De(u),"-0"===u),milliseconds:h(xe(l),p)}]}const vt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function bt(e,t,r,n,i,s,a){const o={year:2===t.length?ke(be(t)):be(t),month:je.indexOf(r)+1,day:be(n),hour:be(i),minute:be(s)};return a&&(o.second=be(a)),e&&(o.weekday=e.length>3?Re.indexOf(e)+1:ze.indexOf(e)+1),o}const Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function xt(e){const[,t,r,n,i,s,a,o,u,l,c,p]=e,h=bt(t,i,n,r,s,a,o);let d;return d=u?vt[u]:l?0:Fe(c,p),[h,new ee(d)]}const Et=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,wt=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ct=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function At(e){const[,t,r,n,i,s,a,o]=e;return[bt(t,i,n,r,s,a,o),ee.utcInstance]}function St(e){const[,t,r,n,i,s,a,o]=e;return[bt(t,o,r,n,i,s,a),ee.utcInstance]}const _t=Qe(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,at),kt=Qe(/(\d{4})-?W(\d\d)(?:-?(\d))?/,at),Tt=Qe(/(\d{4})-?(\d{3})/,at),Ft=Qe(st),Pt=et((function(e,t){return[{year:pt(e,t),month:pt(e,t+1,1),day:pt(e,t+2,1)},null,t+3]}),ht,dt,ft),Nt=et(ot,ht,dt,ft),It=et(ut,ht,dt,ft),Ot=et(ht,dt,ft);const Bt=et(ht);const jt=Qe(/(\d{4})-(\d\d)-(\d\d)/,ct),Lt=Qe(lt),Mt=et(ht,dt,ft);const Rt={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},zt={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...Rt},Ut=365.2425,Vt=30.436875,$t={years:{quarters:4,months:12,weeks:52.1775,days:Ut,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:Vt,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Rt},Wt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Ht=Wt.slice(0).reverse();function qt(e,t,r=!1){const n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Zt(n)}function Kt(e,t,r,n,i){const s=e[i][r],a=t[r]/s,o=!(Math.sign(a)===Math.sign(n[i]))&&0!==n[i]&&Math.abs(a)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(a):Math.trunc(a);n[i]+=o,t[r]-=o*s}class Zt{constructor(e){const t="longterm"===e.conversionAccuracy||!1;let r=t?$t:zt;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||X.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return Zt.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===e?"null":typeof e));return new Zt({values:Ne(e,Zt.normalizeUnit),loc:X.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(he(e))return Zt.fromMillis(e);if(Zt.isDuration(e))return e;if("object"==typeof e)return Zt.fromObject(e);throw new u(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){const[r]=function(e){return tt(e,[yt,gt])}(e);return r?Zt.fromObject(r,t):Zt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){const[r]=function(e){return tt(e,[mt,Bt])}(e);return r?Zt.fromObject(r,t):Zt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Duration is invalid");const r=e instanceof Ye?e:new Ye(e,t);if(ce.throwOnInvalid)throw new s(r);return new Zt({invalid:r})}static normalizeUnit(e){const t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new o(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){const r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?Je.create(this.loc,r).formatDurationFromString(this,e):"Invalid Duration"}toHuman(e={}){const t=Wt.map((t=>{const r=this.values[t];return pe(r)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:t.slice(0,-1)}).format(r)})).filter((e=>e));return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(t)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=Ee(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const t=this.toMillis();if(t<0||t>=864e5)return null;e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e};const r=this.shiftTo("hours","minutes","seconds","milliseconds");let n="basic"===e.format?"hhmm":"hh:mm";e.suppressSeconds&&0===r.seconds&&0===r.milliseconds||(n+="basic"===e.format?"ss":":ss",e.suppressMilliseconds&&0===r.milliseconds||(n+=".SSS"));let i=r.toFormat(n);return e.includePrefix&&(i="T"+i),i}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const t=Zt.fromDurationLike(e),r={};for(const e of Wt)(ye(t.values,e)||ye(this.values,e))&&(r[e]=t.get(e)+this.get(e));return qt(this,{values:r},!0)}minus(e){if(!this.isValid)return this;const t=Zt.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=Pe(e(this.values[r],r));return qt(this,{values:t},!0)}get(e){return this[Zt.normalizeUnit(e)]}set(e){if(!this.isValid)return this;return qt(this,{values:{...this.values,...Ne(e,Zt.normalizeUnit)}})}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:n}={}){return qt(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:n,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return function(e,t){Ht.reduce(((r,n)=>pe(t[n])?r:(r&&Kt(e,t,r,t,n),n)),null)}(this.matrix,e),qt(this,{values:e},!0)}rescale(){if(!this.isValid)return this;return qt(this,{values:function(e){const t={};for(const[r,n]of Object.entries(e))0!==n&&(t[r]=n);return t}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...e){if(!this.isValid)return this;if(0===e.length)return this;e=e.map((e=>Zt.normalizeUnit(e)));const t={},r={},n=this.toObject();let i;for(const s of Wt)if(e.indexOf(s)>=0){i=s;let e=0;for(const t in r)e+=this.matrix[t][s]*r[t],r[t]=0;he(n[s])&&(e+=n[s]);const a=Math.trunc(e);t[s]=a,r[s]=(1e3*e-1e3*a)/1e3;for(const e in n)Wt.indexOf(e)>Wt.indexOf(s)&&Kt(this.matrix,n,e,t,s)}else he(n[s])&&(r[s]=n[s]);for(const e in r)0!==r[e]&&(t[i]+=e===i?r[e]:r[e]/this.matrix[i][e]);return qt(this,{values:t},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return qt(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(const n of Wt)if(t=this.values[n],r=e.values[n],!(void 0===t||0===t?void 0===r||0===r:t===r))return!1;var t,r;return!0}}const Gt="Invalid Interval";class Jt{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the Interval is invalid");const r=e instanceof Ye?e:new Ye(e,t);if(ce.throwOnInvalid)throw new i(r);return new Jt({invalid:r})}static fromDateTimes(e,t){const r=en(e),n=en(t),i=function(e,t){return e&&e.isValid?t&&t.isValid?te}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&(this.s<=e&&this.e>e)}set({start:e,end:t}={}){return this.isValid?Jt.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];const t=e.map(en).filter((e=>this.contains(e))).sort(),r=[];let{s:n}=this,i=0;for(;n+this.e?this.e:e;r.push(Jt.fromDateTimes(n,s)),n=s,i+=1}return r}splitBy(e){const t=Zt.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let r,{s:n}=this,i=1;const s=[];for(;ne*i)));r=+e>+this.e?this.e:e,s.push(Jt.fromDateTimes(n,r)),n=r,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s=e.e)}equals(e){return!(!this.isValid||!e.isValid)&&(this.s.equals(e.s)&&this.e.equals(e.e))}intersection(e){if(!this.isValid)return this;const t=this.s>e.s?this.s:e.s,r=this.e=r?null:Jt.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;const t=this.se.e?this.e:e.e;return Jt.fromDateTimes(t,r)}static merge(e){const[t,r]=e.sort(((e,t)=>e.s-t.s)).reduce((([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r]),[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0;const n=[],i=e.map((e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}])),s=Array.prototype.concat(...i).sort(((e,t)=>e.time-t.time));for(const e of s)r+="s"===e.type?1:-1,1===r?t=e.time:(t&&+t!=+e.time&&n.push(Jt.fromDateTimes(t,e.time)),t=null);return Jt.merge(n)}difference(...e){return Jt.xor([this].concat(e)).map((e=>this.intersection(e))).filter((e=>e&&!e.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Gt}toLocaleString(e=d,t={}){return this.isValid?Je.create(this.s.loc.clone(t),e).formatInterval(this):Gt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:Gt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Gt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:Gt}toFormat(e,{separator:t=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:Gt}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):Zt.invalid(this.invalidReason)}mapEndpoints(e){return Jt.fromDateTimes(e(this.s),e(this.e))}}class Yt{static hasDST(e=ce.defaultZone){const t=Qr.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return U.isValidZone(e)}static normalizeZone(e){return re(e,ce.defaultZone)}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||X.create(t,r,i)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null,outputCalendar:i="gregory"}={}){return(n||X.create(t,r,i)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||X.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:n=null}={}){return(n||X.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return X.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return X.create(t,null,"gregory").eras(e)}static features(){return{relative:fe()}}}function Xt(e,t){const r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(Zt.fromMillis(n).as("days"))}function Qt(e,t,r,n){let[i,s,a,o]=function(e,t,r){const n=[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+4*(t.year-e.year)],["months",(e,t)=>t.month-e.month+12*(t.year-e.year)],["weeks",(e,t)=>{const r=Xt(e,t);return(r-r%7)/7}],["days",Xt]],i={},s=e;let a,o;for(const[u,l]of n)r.indexOf(u)>=0&&(a=u,i[u]=l(e,t),o=s.plus(i),o>t?(i[u]--,e=s.plus(i)):e=o);return[e,i,o,a]}(e,t,r);const u=t-i,l=r.filter((e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0));0===l.length&&(a0?Zt.fromMillis(u,n).shiftTo(...l).plus(c):c}const er={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},tr={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rr=er.hanidec.replace(/[\[|\]]/g,"").split("");function nr({numberingSystem:e},t=""){return new RegExp(`${er[e||"latn"]}${t}`)}const ir="missing Intl.DateTimeFormat.formatToParts support";function sr(e,t=(e=>e)){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r=r&&n<=i&&(t+=n-r)}}return parseInt(t,10)}return t}(e))}}const ar=`[ ${String.fromCharCode(160)}]`,or=new RegExp(ar,"g");function ur(e){return e.replace(/\./g,"\\.?").replace(or,ar)}function lr(e){return e.replace(/\./g,"").replace(or," ").toLowerCase()}function cr(e,t){return null===e?null:{regex:RegExp(e.map(ur).join("|")),deser:([r])=>e.findIndex((e=>lr(r)===lr(e)))+t}}function pr(e,t){return{regex:e,deser:([,e,t])=>Fe(e,t),groups:t}}function hr(e){return{regex:e,deser:([e])=>e}}const dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let fr=null;function mr(e,t){return Array.prototype.concat(...e.map((e=>function(e,t){if(e.literal)return e;const r=gr(Je.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r}(e,t))))}function yr(e,t,r){const n=mr(Je.parseFormat(r),e),i=n.map((t=>function(e,t){const r=nr(t),n=nr(t,"{2}"),i=nr(t,"{3}"),s=nr(t,"{4}"),a=nr(t,"{6}"),o=nr(t,"{1,2}"),u=nr(t,"{1,3}"),l=nr(t,"{1,6}"),c=nr(t,"{1,9}"),p=nr(t,"{2,4}"),h=nr(t,"{4,6}"),d=e=>{return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([e])=>e,literal:!0};var t},f=(f=>{if(e.literal)return d(f);switch(f.val){case"G":return cr(t.eras("short",!1),0);case"GG":return cr(t.eras("long",!1),0);case"y":return sr(l);case"yy":case"kk":return sr(p,ke);case"yyyy":case"kkkk":return sr(s);case"yyyyy":return sr(h);case"yyyyyy":return sr(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return sr(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return sr(n);case"MMM":return cr(t.months("short",!0,!1),1);case"MMMM":return cr(t.months("long",!0,!1),1);case"LLL":return cr(t.months("short",!1,!1),1);case"LLLL":return cr(t.months("long",!1,!1),1);case"o":case"S":return sr(u);case"ooo":case"SSS":return sr(i);case"u":return hr(c);case"uu":return hr(o);case"uuu":case"E":case"c":return sr(r);case"a":return cr(t.meridiems(),0);case"EEE":return cr(t.weekdays("short",!1,!1),1);case"EEEE":return cr(t.weekdays("long",!1,!1),1);case"ccc":return cr(t.weekdays("short",!0,!1),1);case"cccc":return cr(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return pr(new RegExp(`([+-]${o.source})(?::(${n.source}))?`),2);case"ZZZ":return pr(new RegExp(`([+-]${o.source})(${n.source})?`),2);case"z":return hr(/[a-z_+-/]{1,256}?/i);case" ":return hr(/[^\S\n\r]/);default:return d(f)}})(e)||{invalidReason:ir};return f.token=e,f}(t,e))),s=i.find((e=>e.invalidReason));if(s)return{input:t,tokens:n,invalidReason:s.invalidReason};{const[e,r]=function(e){return[`^${e.map((e=>e.regex)).reduce(((e,t)=>`${e}(${t.source})`),"")}$`,e]}(i),s=RegExp(e,"i"),[o,u]=function(e,t,r){const n=e.match(t);if(n){const e={};let t=1;for(const i in r)if(ye(r,i)){const s=r[i],a=s.groups?s.groups+1:1;!s.literal&&s.token&&(e[s.token.val[0]]=s.deser(n.slice(t,t+a))),t+=a}return[n,e]}return[n,{}]}(t,s,r),[l,c,p]=u?function(e){let t,r=null;return pe(e.z)||(r=U.create(e.z)),pe(e.Z)||(r||(r=new ee(e.Z)),t=e.Z),pe(e.q)||(e.M=3*(e.q-1)+1),pe(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),pe(e.u)||(e.S=xe(e.u)),[Object.keys(e).reduce(((t,r)=>{const n=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(r);return n&&(t[n]=e[r]),t}),{}),r,t]}(u):[null,null,void 0];if(ye(u,"a")&&ye(u,"H"))throw new a("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:n,regex:s,rawMatches:o,matches:u,result:l,zone:c,specificOffset:p}}}function gr(e,t){if(!e)return null;return Je.create(t,e).formatDateTimeParts((fr||(fr=Qr.fromMillis(1555555555555)),fr)).map((t=>function(e,t){const{type:r,value:n}=e;if("literal"===r){const e=/^\s+$/.test(n);return{literal:!e,val:e?" ":n}}const i=t[r];let s=dr[r];if("object"==typeof s&&(s=s[i]),s)return{literal:!1,val:s}}(t,e)))}const vr=[0,31,59,90,120,151,181,212,243,273,304,334],br=[0,31,60,91,121,152,182,213,244,274,305,335];function Dr(e,t){return new Ye("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function xr(e,t,r){const n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const i=n.getUTCDay();return 0===i?7:i}function Er(e,t,r){return r+(we(e)?br:vr)[t-1]}function wr(e,t){const r=we(e)?br:vr,n=r.findIndex((e=>e_e(t)?(a=t+1,o=1):a=t,{weekYear:a,weekNumber:o,weekday:s,...Oe(e)}}function Ar(e){const{weekYear:t,weekNumber:r,weekday:n}=e,i=xr(t,1,4),s=Ce(t);let a,o=7*r+n-i-3;o<1?(a=t-1,o+=Ce(a)):o>s?(a=t+1,o-=Ce(t)):a=t;const{month:u,day:l}=wr(a,o);return{year:a,month:u,day:l,...Oe(e)}}function Sr(e){const{year:t,month:r,day:n}=e;return{year:t,ordinal:Er(t,r,n),...Oe(e)}}function _r(e){const{year:t,ordinal:r}=e,{month:n,day:i}=wr(t,r);return{year:t,month:n,day:i,...Oe(e)}}function kr(e){const t=de(e.year),r=ge(e.month,1,12),n=ge(e.day,1,Ae(e.year,e.month));return t?r?!n&&Dr("day",e.day):Dr("month",e.month):Dr("year",e.year)}function Tr(e){const{hour:t,minute:r,second:n,millisecond:i}=e,s=ge(t,0,23)||24===t&&0===r&&0===n&&0===i,a=ge(r,0,59),o=ge(n,0,59),u=ge(i,0,999);return s?a?o?!u&&Dr("millisecond",i):Dr("second",n):Dr("minute",r):Dr("hour",t)}const Fr="Invalid DateTime",Pr=864e13;function Nr(e){return new Ye("unsupported zone",`the zone "${e.name}" is not supported`)}function Ir(e){return null===e.weekData&&(e.weekData=Cr(e.c)),e.weekData}function Or(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Qr({...r,...t,old:r})}function Br(e,t,r){let n=e-60*t*1e3;const i=r.offset(n);if(t===i)return[n,t];n-=60*(i-t)*1e3;const s=r.offset(n);return i===s?[n,i]:[e-60*Math.min(i,s)*1e3,Math.max(i,s)]}function jr(e,t){const r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function Lr(e,t,r){return Br(Se(e),t,r)}function Mr(e,t){const r=e.o,n=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),s={...e.c,year:n,month:i,day:Math.min(e.c.day,Ae(n,i))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=Zt.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),o=Se(s);let[u,l]=Br(o,r,e.zone);return 0!==a&&(u+=a,l=e.zone.offset(u)),{ts:u,o:l}}function Rr(e,t,r,n,i,s){const{setZone:a,zone:o}=r;if(e&&0!==Object.keys(e).length||t){const n=t||o,i=Qr.fromObject(e,{...r,zone:n,specificOffset:s});return a?i:i.setZone(o)}return Qr.invalid(new Ye("unparsable",`the input "${i}" can't be parsed as ${n}`))}function zr(e,t,r=!0){return e.isValid?Je.create(X.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Ur(e,t){const r=e.c.year>9999||e.c.year<0;let n="";return r&&e.c.year>=0&&(n+="+"),n+=ve(e.c.year,r?6:4),t?(n+="-",n+=ve(e.c.month),n+="-",n+=ve(e.c.day)):(n+=ve(e.c.month),n+=ve(e.c.day)),n}function Vr(e,t,r,n,i,s){let a=ve(e.c.hour);return t?(a+=":",a+=ve(e.c.minute),0===e.c.second&&r||(a+=":")):a+=ve(e.c.minute),0===e.c.second&&r||(a+=ve(e.c.second),0===e.c.millisecond&&n||(a+=".",a+=ve(e.c.millisecond,3))),i&&(e.isOffsetFixed&&0===e.offset&&!s?a+="Z":e.o<0?(a+="-",a+=ve(Math.trunc(-e.o/60)),a+=":",a+=ve(Math.trunc(-e.o%60))):(a+="+",a+=ve(Math.trunc(e.o/60)),a+=":",a+=ve(Math.trunc(e.o%60)))),s&&(a+="["+e.zone.ianaName+"]"),a}const $r={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Wr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Hr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},qr=["year","month","day","hour","minute","second","millisecond"],Kr=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Zr=["year","ordinal","hour","minute","second","millisecond"];function Gr(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new o(e);return t}function Jr(e,t){const r=re(t.zone,ce.defaultZone),n=X.fromObject(t),i=ce.now();let s,a;if(pe(e.year))s=i;else{for(const t of qr)pe(e[t])&&(e[t]=$r[t]);const t=kr(e)||Tr(e);if(t)return Qr.invalid(t);const n=r.offset(i);[s,a]=Lr(e,n,r)}return new Qr({ts:s,zone:r,loc:n,o:a})}function Yr(e,t,r){const n=!!pe(r.round)||r.round,i=(e,i)=>{e=Ee(e,n||r.calendary?0:2,!0);return t.loc.clone(r).relFormatter(r).format(e,i)},s=n=>r.calendary?t.hasSame(e,n)?0:t.startOf(n).diff(e.startOf(n),n).get(n):t.diff(e,n).get(n);if(r.unit)return i(s(r.unit),r.unit);for(const e of r.units){const t=s(e);if(Math.abs(t)>=1)return i(t,e)}return i(e>t?-0:0,r.units[r.units.length-1])}function Xr(e){let t,r={};return e.length>0&&"object"==typeof e[e.length-1]?(r=e[e.length-1],t=Array.from(e).slice(0,e.length-1)):t=Array.from(e),[r,t]}class Qr{constructor(e){const t=e.zone||ce.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new Ye("invalid input"):null)||(t.isValid?null:Nr(t));this.ts=pe(e.ts)?ce.now():e.ts;let n=null,i=null;if(!r){if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[n,i]=[e.old.c,e.old.o];else{const e=t.offset(this.ts);n=jr(this.ts,e),r=Number.isNaN(n.year)?new Ye("invalid input"):null,n=r?null:n,i=r?null:e}}this._zone=t,this.loc=e.loc||X.create(),this.invalid=r,this.weekData=null,this.c=n,this.o=i,this.isLuxonDateTime=!0}static now(){return new Qr({})}static local(){const[e,t]=Xr(arguments),[r,n,i,s,a,o,u]=t;return Jr({year:r,month:n,day:i,hour:s,minute:a,second:o,millisecond:u},e)}static utc(){const[e,t]=Xr(arguments),[r,n,i,s,a,o,u]=t;return e.zone=ee.utcInstance,Jr({year:r,month:n,day:i,hour:s,minute:a,second:o,millisecond:u},e)}static fromJSDate(e,t={}){const r=(n=e,"[object Date]"===Object.prototype.toString.call(n)?e.valueOf():NaN);var n;if(Number.isNaN(r))return Qr.invalid("invalid input");const i=re(t.zone,ce.defaultZone);return i.isValid?new Qr({ts:r,zone:i,loc:X.fromObject(t)}):Qr.invalid(Nr(i))}static fromMillis(e,t={}){if(he(e))return e<-Pr||e>Pr?Qr.invalid("Timestamp out of range"):new Qr({ts:e,zone:re(t.zone,ce.defaultZone),loc:X.fromObject(t)});throw new u(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(he(e))return new Qr({ts:1e3*e,zone:re(t.zone,ce.defaultZone),loc:X.fromObject(t)});throw new u("fromSeconds requires a numerical input")}static fromObject(e,t={}){e=e||{};const r=re(t.zone,ce.defaultZone);if(!r.isValid)return Qr.invalid(Nr(r));const n=ce.now(),i=pe(t.specificOffset)?r.offset(n):t.specificOffset,s=Ne(e,Gr),o=!pe(s.ordinal),u=!pe(s.year),l=!pe(s.month)||!pe(s.day),c=u||l,p=s.weekYear||s.weekNumber,h=X.fromObject(t);if((c||o)&&p)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new a("Can't mix ordinal dates with month/day");const d=p||s.weekday&&!c;let f,m,y=jr(n,i);d?(f=Kr,m=Wr,y=Cr(y)):o?(f=Zr,m=Hr,y=Sr(y)):(f=qr,m=$r);let g=!1;for(const e of f){pe(s[e])?s[e]=g?m[e]:y[e]:g=!0}const v=d?function(e){const t=de(e.weekYear),r=ge(e.weekNumber,1,_e(e.weekYear)),n=ge(e.weekday,1,7);return t?r?!n&&Dr("weekday",e.weekday):Dr("week",e.week):Dr("weekYear",e.weekYear)}(s):o?function(e){const t=de(e.year),r=ge(e.ordinal,1,Ce(e.year));return t?!r&&Dr("ordinal",e.ordinal):Dr("year",e.year)}(s):kr(s),b=v||Tr(s);if(b)return Qr.invalid(b);const D=d?Ar(s):o?_r(s):s,[x,E]=Lr(D,i,r),w=new Qr({ts:x,zone:r,o:E,loc:h});return s.weekday&&c&&e.weekday!==w.weekday?Qr.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${w.toISO()}`):w}static fromISO(e,t={}){const[r,n]=function(e){return tt(e,[_t,Pt],[kt,Nt],[Tt,It],[Ft,Ot])}(e);return Rr(r,n,t,"ISO 8601",e)}static fromRFC2822(e,t={}){const[r,n]=function(e){return tt(function(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Dt,xt])}(e);return Rr(r,n,t,"RFC 2822",e)}static fromHTTP(e,t={}){const[r,n]=function(e){return tt(e,[Et,At],[wt,At],[Ct,St])}(e);return Rr(r,n,t,"HTTP",t)}static fromFormat(e,t,r={}){if(pe(e)||pe(t))throw new u("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:i=null}=r,s=X.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),[a,o,l,c]=function(e,t,r){const{result:n,zone:i,specificOffset:s,invalidReason:a}=yr(e,t,r);return[n,i,s,a]}(s,e,t);return c?Qr.invalid(c):Rr(a,o,r,`format ${t}`,e,l)}static fromString(e,t,r={}){return Qr.fromFormat(e,t,r)}static fromSQL(e,t={}){const[r,n]=function(e){return tt(e,[jt,Pt],[Lt,Mt])}(e);return Rr(r,n,t,"SQL",e)}static invalid(e,t=null){if(!e)throw new u("need to specify a reason the DateTime is invalid");const r=e instanceof Ye?e:new Ye(e,t);if(ce.throwOnInvalid)throw new n(r);return new Qr({invalid:r})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){const r=gr(e,X.fromObject(t));return r?r.map((e=>e?e.val:null)).join(""):null}static expandFormat(e,t={}){return mr(Je.parseFormat(e),X.fromObject(t)).map((e=>e.val)).join("")}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ir(this).weekYear:NaN}get weekNumber(){return this.isValid?Ir(this).weekNumber:NaN}get weekday(){return this.isValid?Ir(this).weekday:NaN}get ordinal(){return this.isValid?Sr(this.c).ordinal:NaN}get monthShort(){return this.isValid?Yt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Yt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Yt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Yt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return we(this.year)}get daysInMonth(){return Ae(this.year,this.month)}get daysInYear(){return this.isValid?Ce(this.year):NaN}get weeksInWeekYear(){return this.isValid?_e(this.weekYear):NaN}resolvedLocaleOptions(e={}){const{locale:t,numberingSystem:r,calendar:n}=Je.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:n}}toUTC(e=0,t={}){return this.setZone(ee.instance(e),t)}toLocal(){return this.setZone(ce.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=re(e,ce.defaultZone)).equals(this.zone))return this;if(e.isValid){let n=this.ts;if(t||r){const t=e.offset(this.ts),r=this.toObject();[n]=Lr(r,t,e)}return Or(this,{ts:n,zone:e})}return Qr.invalid(Nr(e))}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return Or(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const t=Ne(e,Gr),r=!pe(t.weekYear)||!pe(t.weekNumber)||!pe(t.weekday),n=!pe(t.ordinal),i=!pe(t.year),s=!pe(t.month)||!pe(t.day),o=i||s,u=t.weekYear||t.weekNumber;if((o||n)&&u)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(s&&n)throw new a("Can't mix ordinal dates with month/day");let l;r?l=Ar({...Cr(this.c),...t}):pe(t.ordinal)?(l={...this.toObject(),...t},pe(t.day)&&(l.day=Math.min(Ae(l.year,l.month),l.day))):l=_r({...Sr(this.c),...t});const[c,p]=Lr(l,this.o,this.zone);return Or(this,{ts:c,o:p})}plus(e){if(!this.isValid)return this;return Or(this,Mr(this,Zt.fromDurationLike(e)))}minus(e){if(!this.isValid)return this;return Or(this,Mr(this,Zt.fromDurationLike(e).negate()))}startOf(e){if(!this.isValid)return this;const t={},r=Zt.normalizeUnit(e);switch(r){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===r&&(t.weekday=1),"quarters"===r){const e=Math.ceil(this.month/3);t.month=3*(e-1)+1}return this.set(t)}endOf(e){return this.isValid?this.plus({[e]:1}).startOf(e).minus(1):this}toFormat(e,t={}){return this.isValid?Je.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Fr}toLocaleString(e=d,t={}){return this.isValid?Je.create(this.loc.clone(t),e).formatDateTime(this):Fr}toLocaleParts(e={}){return this.isValid?Je.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:n=!0,extendedZone:i=!1}={}){if(!this.isValid)return null;const s="extended"===e;let a=Ur(this,s);return a+="T",a+=Vr(this,s,t,r,n,i),a}toISODate({format:e="extended"}={}){return this.isValid?Ur(this,"extended"===e):null}toISOWeekDate(){return zr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:n=!1,extendedZone:i=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Vr(this,"extended"===s,t,e,r,i)}toRFC2822(){return zr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return zr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Ur(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let n="HH:mm:ss.SSS";return(t||e)&&(r&&(n+=" "),t?n+="z":e&&(n+="ZZ")),zr(this,n,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Fr}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return Zt.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...r},i=(o=t,Array.isArray(o)?o:[o]).map(Zt.normalizeUnit),s=e.valueOf()>this.valueOf(),a=Qt(s?this:e,s?e:this,i,n);var o;return s?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(Qr.now(),e,t)}until(e){return this.isValid?Jt.fromDateTimes(this,e):this}hasSame(e,t){if(!this.isValid)return!1;const r=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(t)<=r&&r<=n.endOf(t)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const t=e.base||Qr.fromObject({},{zone:this.zone}),r=e.padding?thise.valueOf()),Math.min)}static max(...e){if(!e.every(Qr.isDateTime))throw new u("max requires all arguments be DateTimes");return me(e,(e=>e.valueOf()),Math.max)}static fromFormatExplain(e,t,r={}){const{locale:n=null,numberingSystem:i=null}=r;return yr(X.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return Qr.fromFormatExplain(e,t,r)}static get DATE_SHORT(){return d}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return m}static get DATE_FULL(){return y}static get DATE_HUGE(){return g}static get TIME_SIMPLE(){return v}static get TIME_WITH_SECONDS(){return b}static get TIME_WITH_SHORT_OFFSET(){return D}static get TIME_WITH_LONG_OFFSET(){return x}static get TIME_24_SIMPLE(){return E}static get TIME_24_WITH_SECONDS(){return w}static get TIME_24_WITH_SHORT_OFFSET(){return C}static get TIME_24_WITH_LONG_OFFSET(){return A}static get DATETIME_SHORT(){return S}static get DATETIME_SHORT_WITH_SECONDS(){return _}static get DATETIME_MED(){return k}static get DATETIME_MED_WITH_SECONDS(){return T}static get DATETIME_MED_WITH_WEEKDAY(){return F}static get DATETIME_FULL(){return P}static get DATETIME_FULL_WITH_SECONDS(){return N}static get DATETIME_HUGE(){return I}static get DATETIME_HUGE_WITH_SECONDS(){return O}}function en(e){if(Qr.isDateTime(e))return e;if(e&&e.valueOf&&he(e.valueOf()))return Qr.fromJSDate(e);if(e&&"object"==typeof e)return Qr.fromObject(e);throw new u(`Unknown datetime argument: ${e}, of type ${typeof e}`)}t.DateTime=Qr,t.Duration=Zt,t.FixedOffsetZone=ee,t.IANAZone=U,t.Info=Yt,t.Interval=Jt,t.InvalidZone=te,t.Settings=ce,t.SystemZone=L,t.VERSION="3.3.0",t.Zone=B},90119:(e,t,r)=>{e.exports=function(){"use strict";var e=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),t=e(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),n=e(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),i=e(((e,t)=>{var r=n();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),s=e(((e,t)=>{var r=n();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),a=e(((e,t)=>{var r=s(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),o=e((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),u=e(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),l=e(((e,t)=>{var r=s(),n=Function.prototype,i=n.bind,a=n.call,o=r&&i.bind(a,a);t.exports=r?function(e){return e&&o(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}})),c=e(((e,t)=>{var r=l(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),p=e(((e,r)=>{var i=t(),s=l(),a=n(),o=c(),u=i.Object,p=s("".split);r.exports=a((function(){return!u("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?p(e,""):u(e)}:u})),h=e(((e,r)=>{var n=t().TypeError;r.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}})),d=e(((e,t)=>{var r=p(),n=h();t.exports=function(e){return r(n(e))}})),f=e(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),m=e(((e,t)=>{var r=f();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),y=e(((e,r)=>{var n=t(),i=f(),s=function(e){return i(e)?e:void 0};r.exports=function(e,t){return arguments.length<2?s(n[e]):n[e]&&n[e][t]}})),g=e(((e,t)=>{var r=l();t.exports=r({}.isPrototypeOf)})),v=e(((e,t)=>{var r=y();t.exports=r("navigator","userAgent")||""})),b=e(((e,r)=>{var n,i,s=t(),a=v(),o=s.process,u=s.Deno,l=o&&o.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),r.exports=i})),D=e(((e,t)=>{var r=b(),i=n();t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),x=e(((e,t)=>{var r=D();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),E=e(((e,r)=>{var n=t(),i=y(),s=f(),a=g(),o=x(),u=n.Object;r.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return s(t)&&a(t.prototype,u(e))}})),w=e(((e,r)=>{var n=t().String;r.exports=function(e){try{return n(e)}catch{return"Object"}}})),C=e(((e,r)=>{var n=t(),i=f(),s=w(),a=n.TypeError;r.exports=function(e){if(i(e))return e;throw a(s(e)+" is not a function")}})),A=e(((e,t)=>{var r=C();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),S=e(((e,r)=>{var n=t(),i=a(),s=f(),o=m(),u=n.TypeError;r.exports=function(e,t){var r,n;if("string"===t&&s(r=e.toString)&&!o(n=i(r,e))||s(r=e.valueOf)&&!o(n=i(r,e))||"string"!==t&&s(r=e.toString)&&!o(n=i(r,e)))return n;throw u("Can't convert object to primitive value")}})),_=e(((e,t)=>{t.exports=!1})),k=e(((e,r)=>{var n=t(),i=Object.defineProperty;r.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch{n[e]=t}return t}})),T=e(((e,r)=>{var n=t(),i=k(),s="__core-js_shared__",a=n[s]||i(s,{});r.exports=a})),F=e(((e,t)=>{var r=_(),n=T();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),P=e(((e,r)=>{var n=t(),i=h(),s=n.Object;r.exports=function(e){return s(i(e))}})),N=e(((e,t)=>{var r=l(),n=P(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),I=e(((e,t)=>{var r=l(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),O=e(((e,r)=>{var n=t(),i=F(),s=N(),a=I(),o=D(),u=x(),l=i("wks"),c=n.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||a;r.exports=function(e){if(!s(l,e)||!o&&"string"!=typeof l[e]){var t="Symbol."+e;o&&s(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),B=e(((e,r)=>{var n=t(),i=a(),s=m(),o=E(),u=A(),l=S(),c=O(),p=n.TypeError,h=c("toPrimitive");r.exports=function(e,t){if(!s(e)||o(e))return e;var r,n=u(e,h);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!s(r)||o(r))return r;throw p("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}})),j=e(((e,t)=>{var r=B(),n=E();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),L=e(((e,r)=>{var n=t(),i=m(),s=n.document,a=i(s)&&i(s.createElement);r.exports=function(e){return a?s.createElement(e):{}}})),M=e(((e,t)=>{var r=i(),s=n(),a=L();t.exports=!r&&!s((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),R=e((e=>{var t=i(),r=a(),n=o(),s=u(),l=d(),c=j(),p=N(),h=M(),f=Object.getOwnPropertyDescriptor;e.f=t?f:function(e,t){if(e=l(e),t=c(t),h)try{return f(e,t)}catch{}if(p(e,t))return s(!r(n.f,e,t),e[t])}})),z=e(((e,t)=>{var r=i(),s=n();t.exports=r&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),U=e(((e,r)=>{var n=t(),i=m(),s=n.String,a=n.TypeError;r.exports=function(e){if(i(e))return e;throw a(s(e)+" is not an object")}})),V=e((e=>{var r=t(),n=i(),s=M(),a=z(),o=U(),u=j(),l=r.TypeError,c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";e.f=n?a?function(e,t,r){if(o(e),t=u(t),o(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=p(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:h in r?r[h]:n[h],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(o(e),t=u(t),o(r),s)try{return c(e,t,r)}catch{}if("get"in r||"set"in r)throw l("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),$=e(((e,t)=>{var r=i(),n=V(),s=u();t.exports=r?function(e,t,r){return n.f(e,t,s(1,r))}:function(e,t,r){return e[t]=r,e}})),W=e(((e,t)=>{var r=l(),n=f(),i=T(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),H=e(((e,r)=>{var n=t(),i=f(),s=W(),a=n.WeakMap;r.exports=i(a)&&/native code/.test(s(a))})),q=e(((e,t)=>{var r=F(),n=I(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),K=e(((e,t)=>{t.exports={}})),Z=e(((e,r)=>{var n,i,s,a,o,u,c,p,h=H(),d=t(),f=l(),y=m(),g=$(),v=N(),b=T(),D=q(),x=K(),E="Object already initialized",w=d.TypeError,C=d.WeakMap,A=function(e){return s(e)?i(e):n(e,{})},S=function(e){return function(t){var r;if(!y(t)||(r=i(t)).type!==e)throw w("Incompatible receiver, "+e+" required");return r}};h||b.state?(a=b.state||(b.state=new C),o=f(a.get),u=f(a.has),c=f(a.set),n=function(e,t){if(u(a,e))throw new w(E);return t.facade=e,c(a,e,t),t},i=function(e){return o(a,e)||{}},s=function(e){return u(a,e)}):(x[p=D("state")]=!0,n=function(e,t){if(v(e,p))throw new w(E);return t.facade=e,g(e,p,t),t},i=function(e){return v(e,p)?e[p]:{}},s=function(e){return v(e,p)}),r.exports={set:n,get:i,has:s,enforce:A,getterFor:S}})),G=e(((e,t)=>{var r=i(),n=N(),s=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,o=n(s,"name"),u=o&&"something"===function(){}.name,l=o&&(!r||r&&a(s,"name").configurable);t.exports={EXISTS:o,PROPER:u,CONFIGURABLE:l}})),J=e(((e,r)=>{var n=t(),i=f(),s=N(),a=$(),o=k(),u=W(),l=Z(),c=G().CONFIGURABLE,p=l.get,h=l.enforce,d=String(String).split("String");(r.exports=function(e,t,r,u){var l,p=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:t;i(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!s(r,"name")||c&&r.name!==y)&&a(r,"name",y),(l=h(r)).source||(l.source=d.join("string"==typeof y?y:""))),e!==n?(p?!m&&e[t]&&(f=!0):delete e[t],f?e[t]=r:a(e,t,r)):f?e[t]=r:o(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||u(this)}))})),Y=e(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),X=e(((e,t)=>{var r=Y(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),Q=e(((e,t)=>{var r=Y(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),ee=e(((e,t)=>{var r=Q();t.exports=function(e){return r(e.length)}})),te=e(((e,t)=>{var r=d(),n=X(),i=ee(),s=function(e){return function(t,s,a){var o,u=r(t),l=i(u),c=n(a,l);if(e&&s!=s){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),re=e(((e,t)=>{var r=l(),n=N(),i=d(),s=te().indexOf,a=K(),o=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&o(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||o(c,r));return c}})),ne=e(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ie=e((e=>{var t=re(),r=ne().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),se=e((e=>{e.f=Object.getOwnPropertySymbols})),ae=e(((e,t)=>{var r=y(),n=l(),i=ie(),s=se(),a=U(),o=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?o(t,r(e)):t}})),oe=e(((e,t)=>{var r=N(),n=ae(),i=R(),s=V();t.exports=function(e,t,a){for(var o=n(t),u=s.f,l=i.f,c=0;c{var r=n(),i=f(),s=/#|\.prototype\./,a=function(e,t){var n=u[o(e)];return n==c||n!=l&&(i(t)?r(t):!!t)},o=a.normalize=function(e){return String(e).replace(s,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a})),le=e(((e,r)=>{var n=t(),i=R().f,s=$(),a=J(),o=k(),u=oe(),l=ue();r.exports=function(e,t){var r,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(r=m?n:y?n[f]||o(f,{}):(n[f]||{}).prototype)for(c in t){if(h=t[c],p=e.noTargetGet?(d=i(r,c))&&d.value:r[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&s(h,"sham",!0),a(r,c,h,e)}}})),ce=e((()=>{le()({global:!0},{globalThis:t()})})),pe=e((()=>{ce()})),he=e(((e,t)=>{var r=c();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),de=e(((e,t)=>{var r=l(),n=C(),i=s(),a=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}})),fe=e(((e,r)=>{var n=t(),i=he(),s=ee(),a=de(),o=n.TypeError,u=function(e,t,r,n,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&a(p,h);y0&&i(d))f=s(d),m=u(e,t,d,f,m,c-1)-1;else{if(m>=9007199254740991)throw o("Exceed the acceptable array length");e[m]=d}m++}y++}return m};r.exports=u})),me=e(((e,t)=>{var r={};r[O()("toStringTag")]="z",t.exports="[object z]"===String(r)})),ye=e(((e,r)=>{var n=t(),i=me(),s=f(),a=c(),o=O()("toStringTag"),u=n.Object,l="Arguments"==a(function(){return arguments}()),p=function(e,t){try{return e[t]}catch{}};r.exports=i?a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=p(t=u(e),o))?r:l?a(t):"Object"==(n=a(t))&&s(t.callee)?"Arguments":n}})),ge=e(((e,t)=>{var r=l(),i=n(),s=f(),a=ye(),o=y(),u=W(),c=function(){},p=[],h=o("Reflect","construct"),d=/^\s*(?:class|function)\b/,m=r(d.exec),g=!d.exec(c),v=function(e){if(!s(e))return!1;try{return h(c,p,e),!0}catch{return!1}},b=function(e){if(!s(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return g||!!m(d,u(e))}catch{return!0}};b.sham=!0,t.exports=!h||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?b:v})),ve=e(((e,r)=>{var n=t(),i=he(),s=ge(),a=m(),o=O()("species"),u=n.Array;r.exports=function(e){var t;return i(e)&&(t=e.constructor,(s(t)&&(t===u||i(t.prototype))||a(t)&&null===(t=t[o]))&&(t=void 0)),void 0===t?u:t}})),be=e(((e,t)=>{var r=ve();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),De=e((()=>{var e=le(),t=fe(),r=C(),n=P(),i=ee(),s=be();e({target:"Array",proto:!0},{flatMap:function(e){var a,o=n(this),u=i(o);return r(e),(a=s(o,0)).length=t(a,o,o,u,0,1,e,arguments.length>1?arguments[1]:void 0),a}})})),xe=e(((e,t)=>{var r,n,i,s,a;function o(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}pe(),De();var u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,p=Object.prototype.hasOwnProperty,h=(e,t)=>function(){return e&&(t=(0,e[c(e)[0]])(e=0)),t},d=(e,t)=>function(){return t||(0,e[c(e)[0]])((t={exports:{}}).exports,t),t.exports},f=(e,t)=>{for(var r in t)u(e,r,{get:t[r],enumerable:!0})},m=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of c(t))!p.call(e,i)&&i!==r&&u(e,i,{get:()=>t[i],enumerable:!(n=l(t,i))||n.enumerable});return e},y=e=>m(u({},"__esModule",{value:!0}),e),g=h({""(){}}),v=d({"src/utils/try-combinations.js"(e,t){function r(){let e;for(var t=arguments.length,r=new Array(t),n=0;n{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,a=r;for(;a>=0&&a"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])z="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");z="LE"}}return z}function _(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function k(){return[]}function T(){return 0}function F(){return Number.MAX_VALUE}function P(){return Number.MAX_VALUE}function N(){return[]}function I(){return"Browser"}function O(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function B(){}function j(){}function L(){return"javascript"}function M(){return"browser"}function R(){return"/tmp"}f(A,{EOL:()=>V,arch:()=>L,cpus:()=>N,default:()=>$,endianness:()=>S,freemem:()=>F,getNetworkInterfaces:()=>j,hostname:()=>_,loadavg:()=>k,networkInterfaces:()=>B,platform:()=>M,release:()=>O,tmpDir:()=>R,tmpdir:()=>U,totalmem:()=>P,type:()=>I,uptime:()=>T});var z,U,V,$,W=h({"node-modules-polyfills:os"(){g(),$={EOL:V="\n",tmpdir:U=R,tmpDir:R,networkInterfaces:B,getNetworkInterfaces:j,release:O,type:I,cpus:N,totalmem:P,freemem:F,uptime:T,loadavg:k,hostname:_,endianness:S}}}),H=d({"node-modules-polyfills-commonjs:os"(e,t){g();var r=(W(),y(A));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),q=d({"node_modules/detect-newline/index.js"(e,t){g();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),K=d({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=H();return t=function(){return e},e}function r(){let e=n(q());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}g(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=v,e.strip=f;var i=/\*\/$/,s=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let t=e.match(a);return t?t[0].trimLeft():""}function f(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let a="";for(;a!==e;)a=e,e=e.replace(l,"".concat(n,"$1 $2").concat(n));e=e.replace(u,"").trimRight();let d,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;d=c.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=h.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function v(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,a="/**",o=" *",u=" */",l=Object.keys(i),c=l.map((e=>b(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>o+" "+e+s)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return"".concat(a," ").concat(b(l[0],e)[0]).concat(u)}}let p=n.split(s).map((e=>"".concat(o," ").concat(e))).join(s)+s;return a+s+(n?p:"")+(n&&l.length?o+s:"")+c+u}function b(e,t){return h.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),Z=d({"src/common/end-of-line.js"(e,t){function r(e){let t=e.indexOf("\r");return t>=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}g(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),G=d({"src/language-js/pragma.js"(e,t){g();var{parseWithComments:r,strip:n,extract:i,print:s}=K(),{normalizeEndOfLine:a}=Z(),o=b();function u(e){let t=o(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:a}=r(n);return{shebang:t,text:e,pragmas:s,comments:a}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:o}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+a(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),J=d({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}g(),t.exports=r}}),Y=d({"src/language-js/loc.js"(e,t){g();var r=J();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function a(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function o(e,t){return s(e,t)&&a(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:o}}}),X=d({"src/language-js/parse/utils/create-parser.js"(e,t){g();var{hasPragma:r}=G(),{locStart:n,locEnd:i}=Y();function s(e){return e="function"==typeof e?{parse:e}:e,Object.assign({astFormat:"estree",hasPragma:r,locStart:n,locEnd:i},e)}t.exports=s}}),Q=d({"src/common/parser-create-error.js"(e,t){function r(e,t){let r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r}g(),t.exports=r}}),ee=d({"src/language-js/parse/utils/create-babel-parse-error.js"(e,t){g();var r=Q();function n(e){let{message:t,loc:n}=e;return r(t.replace(/ \(.*\)/,""),{start:{line:n?n.line:0,column:n?n.column+1:0}})}t.exports=n}}),te=d({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}g(),t.exports=r}}),re=d({"src/language-js/utils/is-block-comment.js"(e,t){g();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),ne=d({"src/language-js/utils/is-type-cast-comment.js"(e,t){g();var r=re();function n(e){return r(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}t.exports=n}}),ie=d({"src/utils/get-last.js"(e,t){g();var r=e=>e[e.length-1];t.exports=r}}),se=d({"src/language-js/parse/postprocess/visit-node.js"(e,t){function r(e,t){if(Array.isArray(e)){for(let n=0;n{let t=r.get(e);return!t||!s.includes(t)})))&&n(t,"Leading decorators must be attached to a class declaration")}function s(e,t){167!==e.kind||e.modifiers&&!e.modifiers.some((e=>126===e.kind))||e.initializer&&null===t.value&&n(t,"Abstract property cannot have an initializer")}function a(e,t){let{esTreeNodeToTSNodeMap:n,tsNodeToESTreeNodeMap:a}=t.tsParseResult;r(e,(e=>{let t=n.get(e);if(!t)return;let r=a.get(t);r===e&&(i(t,r,a),s(t,r))}))}t.exports={throwErrorForInvalidNodes:a}}}),ue=d({"src/language-js/parse/postprocess/index.js"(e,t){g();var{locStart:r,locEnd:n}=Y(),i=te(),s=ne(),a=ie(),o=se(),{throwErrorForInvalidNodes:u}=oe(),l=ae();function c(e,t){if("typescript"===t.parser&&/@|abstract/.test(t.originalText)&&u(e,t),"typescript"!==t.parser&&"flow"!==t.parser&&"acorn"!==t.parser&&"espree"!==t.parser&&"meriyah"!==t.parser){let t=new Set;e=o(e,(e=>{e.leadingComments&&e.leadingComments.some(s)&&t.add(r(e))})),e=o(e,(e=>{if("ParenthesizedExpression"===e.type){let{expression:n}=e;if("TypeCastExpression"===n.type)return n.range=e.range,n;let i=r(e);if(!t.has(i))return n.extra=Object.assign(Object.assign({},n.extra),{},{parenthesized:!0}),n}}))}return e=o(e,(e=>{switch(e.type){case"ChainExpression":return p(e.expression);case"LogicalExpression":if(h(e))return d(e);break;case"VariableDeclaration":{let t=a(e.declarations);t&&t.init&&c(e,t);break}case"TSParenthesizedType":return i(e.typeAnnotation)||"TSThisType"===e.typeAnnotation.type||(e.typeAnnotation.range=[r(e),n(e)]),e.typeAnnotation;case"TSTypeParameter":if("string"==typeof e.name){let t=r(e);e.name={type:"Identifier",name:e.name,range:[t,t+e.name.length]}}break;case"ObjectExpression":if("typescript"===t.parser){let t=e.properties.find((e=>"Property"===e.type&&"TSEmptyBodyFunctionExpression"===e.value.type));t&&l(t.value,"Unexpected token.")}break;case"SequenceExpression":{let t=a(e.expressions);e.range=[r(e),Math.min(n(t),n(e))];break}case"TopicReference":t.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:i}=e;if("meriyah"===t.parser&&i&&"Identifier"===i.type){let s=t.originalText.slice(r(i),n(i));(s.startsWith('"')||s.startsWith("'"))&&(e.exported=Object.assign(Object.assign({},e.exported),{},{type:"Literal",value:e.exported.name,raw:s}))}break}}}));function c(e,i){";"!==t.originalText[n(i)]&&(e.range=[r(e),n(i)])}}function p(e){switch(e.type){case"CallExpression":e.type="OptionalCallExpression",e.callee=p(e.callee);break;case"MemberExpression":e.type="OptionalMemberExpression",e.object=p(e.object);break;case"TSNonNullExpression":e.expression=p(e.expression)}return e}function h(e){return"LogicalExpression"===e.type&&"LogicalExpression"===e.right.type&&e.operator===e.right.operator}function d(e){return h(e)?d({type:"LogicalExpression",operator:e.operator,left:d({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[r(e.left),n(e.right.left)]}),right:e.right.right,range:[r(e),n(e)]}):e}t.exports=c}}),le=d({"node_modules/@babel/parser/lib/index.js"(e){function t(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0)&&(i[r]=e[r]);return i}g(),Object.defineProperty(e,"__esModule",{value:!0});var u=class{constructor(e,t,r){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=r}},l=class{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}};function c(e,t){let{line:r,column:n,index:i}=e;return new u(r,n+t,i+t)}var p=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.length-1;return{get(){return e.reduce(((e,t)=>e[t]),this)},set(r){e.reduce(((e,n,i)=>i===t?e[n]=r:e[n]),this)}}},d=(e,t,r)=>Object.keys(r).map((e=>[e,r[e]])).filter((e=>{let[,t]=e;return!!t})).map((e=>{let[t,r]=e;return[t,"function"==typeof r?{value:r,enumerable:!1}:"string"==typeof r.reflect?Object.assign({},r,h(r.reflect.split("."))):r]})).reduce(((e,t)=>{let[r,n]=t;return Object.defineProperty(e,r,Object.assign({configurable:!0},n))}),Object.assign(new e,t)),f=e=>({ImportMetaOutsideModule:e("import.meta may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError}),ImportOutsideModule:e("'import' and 'export' may appear only with 'sourceType: \"module\"'",{code:p.SourceTypeModuleError})}),m={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},y=e=>{let{type:t,prefix:r}=e;return"UpdateExpression"===t?m.UpdateExpression[String(r)]:m[t]},v=e=>({AccessorIsGenerator:e((e=>{let{kind:t}=e;return"A ".concat(t,"ter cannot be a generator.")})),ArgumentsInClass:e("'arguments' is only allowed in functions and class methods."),AsyncFunctionInSingleStatementContext:e("Async functions can only be declared at the top level or inside a block."),AwaitBindingIdentifier:e("Can not use 'await' as identifier inside an async function."),AwaitBindingIdentifierInStaticBlock:e("Can not use 'await' as identifier inside a static block."),AwaitExpressionFormalParameter:e("'await' is not allowed in async function parameters."),AwaitNotInAsyncContext:e("'await' is only allowed within async functions and at the top levels of modules."),AwaitNotInAsyncFunction:e("'await' is only allowed within async functions."),BadGetterArity:e("A 'get' accesor must not have any formal parameters."),BadSetterArity:e("A 'set' accesor must have exactly one formal parameter."),BadSetterRestParameter:e("A 'set' accesor function argument must not be a rest parameter."),ConstructorClassField:e("Classes may not have a field named 'constructor'."),ConstructorClassPrivateField:e("Classes may not have a private field named '#constructor'."),ConstructorIsAccessor:e("Class constructor may not be an accessor."),ConstructorIsAsync:e("Constructor can't be an async function."),ConstructorIsGenerator:e("Constructor can't be a generator."),DeclarationMissingInitializer:e((e=>{let{kind:t}=e;return"Missing initializer in ".concat(t," declaration.")})),DecoratorBeforeExport:e("Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax."),DecoratorConstructor:e("Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?"),DecoratorExportClass:e("Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead."),DecoratorSemicolon:e("Decorators must not be followed by a semicolon."),DecoratorStaticBlock:e("Decorators can't be used with a static block."),DeletePrivateField:e("Deleting a private field is not allowed."),DestructureNamedImport:e("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),DuplicateConstructor:e("Duplicate constructor in the same class."),DuplicateDefaultExport:e("Only one default export allowed per module."),DuplicateExport:e((e=>{let{exportName:t}=e;return"`".concat(t,"` has already been exported. Exported identifiers must be unique.")})),DuplicateProto:e("Redefinition of __proto__ property."),DuplicateRegExpFlags:e("Duplicate regular expression flag."),ElementAfterRest:e("Rest element must be last element."),EscapedCharNotAnIdentifier:e("Invalid Unicode escape."),ExportBindingIsString:e((e=>{let{localName:t,exportName:r}=e;return"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '".concat(t,"' as '").concat(r,"' } from 'some-module'`?")})),ExportDefaultFromAsIdentifier:e("'from' is not allowed as an identifier after 'export default'."),ForInOfLoopInitializer:e((e=>{let{type:t}=e;return"'".concat("ForInStatement"===t?"for-in":"for-of","' loop variable declaration may not have an initializer.")})),ForOfAsync:e("The left-hand side of a for-of loop may not be 'async'."),ForOfLet:e("The left-hand side of a for-of loop may not start with 'let'."),GeneratorInSingleStatementContext:e("Generators can only be declared at the top level or inside a block."),IllegalBreakContinue:e((e=>{let{type:t}=e;return"Unsyntactic ".concat("BreakStatement"===t?"break":"continue",".")})),IllegalLanguageModeDirective:e("Illegal 'use strict' directive in function with non-simple parameter list."),IllegalReturn:e("'return' outside of function."),ImportBindingIsString:e((e=>{let{importName:t}=e;return'A string literal cannot be used as an imported binding.\n- Did you mean `import { "'.concat(t,'" as foo }`?')})),ImportCallArgumentTrailingComma:e("Trailing comma is disallowed inside import(...) arguments."),ImportCallArity:e((e=>{let{maxArgumentCount:t}=e;return"`import()` requires exactly ".concat(1===t?"one argument":"one or two arguments",".")})),ImportCallNotNewExpression:e("Cannot use new with import(...)."),ImportCallSpreadArgument:e("`...` is not allowed in `import()`."),IncompatibleRegExpUVFlags:e("The 'u' and 'v' regular expression flags cannot be enabled at the same time."),InvalidBigIntLiteral:e("Invalid BigIntLiteral."),InvalidCodePoint:e("Code point out of bounds."),InvalidCoverInitializedName:e("Invalid shorthand property initializer."),InvalidDecimal:e("Invalid decimal."),InvalidDigit:e((e=>{let{radix:t}=e;return"Expected number in radix ".concat(t,".")})),InvalidEscapeSequence:e("Bad character escape sequence."),InvalidEscapeSequenceTemplate:e("Invalid escape sequence in template."),InvalidEscapedReservedWord:e((e=>{let{reservedWord:t}=e;return"Escape sequence in keyword ".concat(t,".")})),InvalidIdentifier:e((e=>{let{identifierName:t}=e;return"Invalid identifier ".concat(t,".")})),InvalidLhs:e((e=>{let{ancestor:t}=e;return"Invalid left-hand side in ".concat(y(t),".")})),InvalidLhsBinding:e((e=>{let{ancestor:t}=e;return"Binding invalid left-hand side in ".concat(y(t),".")})),InvalidNumber:e("Invalid number."),InvalidOrMissingExponent:e("Floating-point numbers require a valid exponent after the 'e'."),InvalidOrUnexpectedToken:e((e=>{let{unexpected:t}=e;return"Unexpected character '".concat(t,"'.")})),InvalidParenthesizedAssignment:e("Invalid parenthesized assignment pattern."),InvalidPrivateFieldResolution:e((e=>{let{identifierName:t}=e;return"Private name #".concat(t," is not defined.")})),InvalidPropertyBindingPattern:e("Binding member expression."),InvalidRecordProperty:e("Only properties and spread elements are allowed in record definitions."),InvalidRestAssignmentPattern:e("Invalid rest operator's argument."),LabelRedeclaration:e((e=>{let{labelName:t}=e;return"Label '".concat(t,"' is already declared.")})),LetInLexicalBinding:e("'let' is not allowed to be used as a name in 'let' or 'const' declarations."),LineTerminatorBeforeArrow:e("No line break is allowed before '=>'."),MalformedRegExpFlags:e("Invalid regular expression flag."),MissingClassName:e("A class name is required."),MissingEqInAssignment:e("Only '=' operator can be used for specifying default value."),MissingSemicolon:e("Missing semicolon."),MissingPlugin:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling the parser plugin: ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingOneOfPlugins:e((e=>{let{missingPlugin:t}=e;return"This experimental syntax requires enabling one of the following parser plugin(s): ".concat(t.map((e=>JSON.stringify(e))).join(", "),".")})),MissingUnicodeEscape:e("Expecting Unicode escape sequence \\uXXXX."),MixingCoalesceWithLogical:e("Nullish coalescing operator(??) requires parens when mixing with logical operators."),ModuleAttributeDifferentFromType:e("The only accepted module attribute is `type`."),ModuleAttributeInvalidValue:e("Only string literals are allowed as module attribute values."),ModuleAttributesWithDuplicateKeys:e((e=>{let{key:t}=e;return'Duplicate key "'.concat(t,'" is not allowed in module attributes.')})),ModuleExportNameHasLoneSurrogate:e((e=>{let{surrogateCharCode:t}=e;return"An export name cannot include a lone surrogate, found '\\u".concat(t.toString(16),"'.")})),ModuleExportUndefined:e((e=>{let{localName:t}=e;return"Export '".concat(t,"' is not defined.")})),MultipleDefaultsInSwitch:e("Multiple default clauses."),NewlineAfterThrow:e("Illegal newline after throw."),NoCatchOrFinally:e("Missing catch or finally clause."),NumberIdentifier:e("Identifier directly after number."),NumericSeparatorInEscapeSequence:e("Numeric separators are not allowed inside unicode escape sequences or hex escape sequences."),ObsoleteAwaitStar:e("'await*' has been removed from the async functions proposal. Use Promise.all() instead."),OptionalChainingNoNew:e("Constructors in/after an Optional Chain are not allowed."),OptionalChainingNoTemplate:e("Tagged Template Literals are not allowed in optionalChain."),OverrideOnConstructor:e("'override' modifier cannot appear on a constructor declaration."),ParamDupe:e("Argument name clash."),PatternHasAccessor:e("Object pattern can't contain getter or setter."),PatternHasMethod:e("Object pattern can't contain methods."),PrivateInExpectedIn:e((e=>{let{identifierName:t}=e;return"Private names are only allowed in property accesses (`obj.#".concat(t,"`) or in `in` expressions (`#").concat(t," in obj`).")})),PrivateNameRedeclaration:e((e=>{let{identifierName:t}=e;return"Duplicate private name #".concat(t,".")})),RecordExpressionBarIncorrectEndSyntaxType:e("Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionBarIncorrectStartSyntaxType:e("Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),RecordExpressionHashIncorrectStartSyntaxType:e("Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),RecordNoProto:e("'__proto__' is not allowed in Record expressions."),RestTrailingComma:e("Unexpected trailing comma after rest element."),SloppyFunction:e("In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement."),StaticPrototype:e("Classes may not have static property named prototype."),SuperNotAllowed:e("`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?"),SuperPrivateField:e("Private fields can't be accessed on super."),TrailingDecorator:e("Decorators must be attached to a class element."),TupleExpressionBarIncorrectEndSyntaxType:e("Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionBarIncorrectStartSyntaxType:e("Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'."),TupleExpressionHashIncorrectStartSyntaxType:e("Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'."),UnexpectedArgumentPlaceholder:e("Unexpected argument placeholder."),UnexpectedAwaitAfterPipelineBody:e('Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.'),UnexpectedDigitAfterHash:e("Unexpected digit after hash token."),UnexpectedImportExport:e("'import' and 'export' may only appear at the top level."),UnexpectedKeyword:e((e=>{let{keyword:t}=e;return"Unexpected keyword '".concat(t,"'.")})),UnexpectedLeadingDecorator:e("Leading decorators must be attached to a class declaration."),UnexpectedLexicalDeclaration:e("Lexical declaration cannot appear in a single-statement context."),UnexpectedNewTarget:e("`new.target` can only be used in functions or class properties."),UnexpectedNumericSeparator:e("A numeric separator is only allowed between two digits."),UnexpectedPrivateField:e("Unexpected private name."),UnexpectedReservedWord:e((e=>{let{reservedWord:t}=e;return"Unexpected reserved word '".concat(t,"'.")})),UnexpectedSuper:e("'super' is only allowed in object methods and classes."),UnexpectedToken:e((e=>{let{expected:t,unexpected:r}=e;return"Unexpected token".concat(r?" '".concat(r,"'."):"").concat(t?', expected "'.concat(t,'"'):"")})),UnexpectedTokenUnaryExponentiation:e("Illegal expression. Wrap left hand side or entire exponentiation in parentheses."),UnsupportedBind:e("Binding should be performed on object property."),UnsupportedDecoratorExport:e("A decorated export must export a class declaration."),UnsupportedDefaultExport:e("Only expressions, functions or classes are allowed as the `default` export."),UnsupportedImport:e("`import` can only be used in `import()` or `import.meta`."),UnsupportedMetaProperty:e((e=>{let{target:t,onlyValidPropertyName:r}=e;return"The only valid meta property for ".concat(t," is ").concat(t,".").concat(r,".")})),UnsupportedParameterDecorator:e("Decorators cannot be used to decorate parameters."),UnsupportedPropertyDecorator:e("Decorators cannot be used to decorate object literal properties."),UnsupportedSuper:e("'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop])."),UnterminatedComment:e("Unterminated comment."),UnterminatedRegExp:e("Unterminated regular expression."),UnterminatedString:e("Unterminated string constant."),UnterminatedTemplate:e("Unterminated template."),VarRedeclaration:e((e=>{let{identifierName:t}=e;return"Identifier '".concat(t,"' has already been declared.")})),YieldBindingIdentifier:e("Can not use 'yield' as identifier inside a generator."),YieldInParameter:e("Yield expression is not allowed in formal parameters."),ZeroDigitNumericSeparator:e("Numeric separator can not be used after leading 0.")}),b=e=>({StrictDelete:e("Deleting local variable in strict mode."),StrictEvalArguments:e((e=>{let{referenceName:t}=e;return"Assigning to '".concat(t,"' in strict mode.")})),StrictEvalArgumentsBinding:e((e=>{let{bindingName:t}=e;return"Binding '".concat(t,"' in strict mode.")})),StrictFunction:e("In strict mode code, functions can only be declared at top level or inside a block."),StrictNumericEscape:e("The only valid numeric escape in strict mode is '\\0'."),StrictOctalLiteral:e("Legacy octal literals are not allowed in strict mode."),StrictWith:e("'with' in strict mode.")}),D=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),x=e=>({PipeBodyIsTighter:e("Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence."),PipeTopicRequiresHackPipes:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'),PipeTopicUnbound:e("Topic reference is unbound; it must be inside a pipe body."),PipeTopicUnconfiguredToken:e((e=>{let{token:t}=e;return"Invalid topic token ".concat(t,". In order to use ").concat(t,' as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "').concat(t,'" }.')})),PipeTopicUnused:e("Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once."),PipeUnparenthesizedBody:e((e=>{let{type:t}=e;return"Hack-style pipe body cannot be an unparenthesized ".concat(y({type:t}),"; please wrap it in parentheses.")})),PipelineBodyNoArrow:e('Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.'),PipelineBodySequenceExpression:e("Pipeline body may not be a comma-separated sequence expression."),PipelineHeadSequenceExpression:e("Pipeline head should not be a comma-separated sequence expression."),PipelineTopicUnused:e("Pipeline is in topic style but does not use topic reference."),PrimaryTopicNotAllowed:e("Topic reference was used in a lexical context without topic binding."),PrimaryTopicRequiresSmartPipeline:e('Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.')}),E=["toMessage"];function w(e){let{toMessage:r}=e,n=t(e,E);return function e(t){let{loc:i,details:s}=t;return d(SyntaxError,Object.assign({},n,{loc:i}),{clone(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.loc||{};return e({loc:new u("line"in r?r.line:this.loc.line,"column"in r?r.column:this.loc.column,"index"in r?r.index:this.loc.index),details:Object.assign({},this.details,t.details)})},details:{value:s,enumerable:!1},message:{get(){return"".concat(r(this.details)," (").concat(this.loc.line,":").concat(this.loc.column,")")},set(e){Object.defineProperty(this,"message",{value:e})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in s&&{reflect:"details.missingPlugin",enumerable:!0}})}}function C(e,t){return Object.assign({toMessage:"string"==typeof e?()=>e:e},t)}function A(e,t){if(Array.isArray(e))return t=>A(t,e[0]);let r=e(C),n={};for(let e of Object.keys(r))n[e]=w(Object.assign({code:p.SyntaxError,reasonCode:e},t?{syntaxPlugin:t}:{},r[e]));return n}var S=Object.assign({},A(f),A(v),A(b),A(r||(r=o(["pipelineOperator"])))(x)),{defineProperty:_}=Object,k=(e,t)=>_(e,t,{enumerable:!1,value:e[t]});function T(e){return k(e.loc.start,"index"),k(e.loc.end,"index"),e}var F=e=>class extends e{parse(){let e=T(super.parse());return this.options.tokens&&(e.tokens=e.tokens.map(T)),e}parseRegExpLiteral(e){let{pattern:t,flags:r}=e,n=null;try{n=new RegExp(t,r)}catch{}let i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch{t=null}let r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){let t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.extra.expressionValue,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.loc.end)}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;nthis.directiveToStmt(e)));e.body=i.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let t=super.getPrivateNameSV(e);return delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){let r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,s){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,r,n,i,s,a),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===s&&(e.computed=!1),s="MethodDefinition",this.finishNode(e,s)}parseClassProperty(){let e=super.parseClassProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition"),e}parseClassPrivateProperty(){let e=super.parseClassPrivateProperty(...arguments);return this.getPluginOption("estree","classFeatures")&&(e.type="PropertyDefinition",e.computed=!1),e}parseObjectMethod(e,t,r,n,i){let s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n,i){let s=super.parseObjectProperty(e,t,r,n,i);return s&&(s.kind="init",s.type="Property"),s}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1&&void 0!==arguments[1]&&arguments[1];if(null!=e&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e){"get"===e.kind||"set"===e.kind?this.raise(S.PatternHasAccessor,{at:e.key}):e.method?this.raise(S.PatternHasMethod,{at:e.key}):super.toAssignableObjectExpressionProp(...arguments)}finishCallExpression(e,t){var r;(super.finishCallExpression(e,t),"Import"===e.callee.type)&&(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions")&&(e.attributes=null!=(r=e.arguments[1])?r:null),delete e.arguments,delete e.callee);return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,n,i){let s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if(("OptionalMemberExpression"===s.type||"OptionalCallExpression"===s.type)&&(s.type=s.type.substring(8)),i.stop){let e=this.startNodeAtNode(s);return e.expression=s,this.finishNode(e,"ChainExpression")}}else("MemberExpression"===s.type||"CallExpression"===s.type)&&(s.optional=!1);return s}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}finishNodeAt(e,t,r){return T(super.finishNodeAt(e,t,r))}resetEndLocation(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;super.resetEndLocation(e,t),T(e)}},P=class{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}},N={brace:new P("{"),j_oTag:new P("...",!0)};N.template=new P("`",!0);var I=!0,O=!0,B=!0,j=!0,L=!0,M=!0,R=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}},z=new Map;function U(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.keyword=e;let r=J(e,t);return z.set(e,r),r}function V(e,t){return J(e,{beforeExpr:I,binop:t})}var $=-1,W=[],H=[],q=[],K=[],Z=[],G=[];function J(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++$,H.push(e),q.push(null!=(r=t.binop)?r:-1),K.push(null!=(n=t.beforeExpr)&&n),Z.push(null!=(i=t.startsExpr)&&i),G.push(null!=(s=t.prefix)&&s),W.push(new R(e,t)),$}function Y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r,n,i,s;return++$,z.set(e,$),H.push(e),q.push(null!=(r=t.binop)?r:-1),K.push(null!=(n=t.beforeExpr)&&n),Z.push(null!=(i=t.startsExpr)&&i),G.push(null!=(s=t.prefix)&&s),W.push(new R("name",t)),$}var X={bracketL:J("[",{beforeExpr:I,startsExpr:O}),bracketHashL:J("#[",{beforeExpr:I,startsExpr:O}),bracketBarL:J("[|",{beforeExpr:I,startsExpr:O}),bracketR:J("]"),bracketBarR:J("|]"),braceL:J("{",{beforeExpr:I,startsExpr:O}),braceBarL:J("{|",{beforeExpr:I,startsExpr:O}),braceHashL:J("#{",{beforeExpr:I,startsExpr:O}),braceR:J("}"),braceBarR:J("|}"),parenL:J("(",{beforeExpr:I,startsExpr:O}),parenR:J(")"),comma:J(",",{beforeExpr:I}),semi:J(";",{beforeExpr:I}),colon:J(":",{beforeExpr:I}),doubleColon:J("::",{beforeExpr:I}),dot:J("."),question:J("?",{beforeExpr:I}),questionDot:J("?."),arrow:J("=>",{beforeExpr:I}),template:J("template"),ellipsis:J("...",{beforeExpr:I}),backQuote:J("`",{startsExpr:O}),dollarBraceL:J("${",{beforeExpr:I,startsExpr:O}),templateTail:J("...`",{startsExpr:O}),templateNonTail:J("...${",{beforeExpr:I,startsExpr:O}),at:J("@"),hash:J("#",{startsExpr:O}),interpreterDirective:J("#!..."),eq:J("=",{beforeExpr:I,isAssign:j}),assign:J("_=",{beforeExpr:I,isAssign:j}),slashAssign:J("_=",{beforeExpr:I,isAssign:j}),xorAssign:J("_=",{beforeExpr:I,isAssign:j}),moduloAssign:J("_=",{beforeExpr:I,isAssign:j}),incDec:J("++/--",{prefix:L,postfix:M,startsExpr:O}),bang:J("!",{beforeExpr:I,prefix:L,startsExpr:O}),tilde:J("~",{beforeExpr:I,prefix:L,startsExpr:O}),doubleCaret:J("^^",{startsExpr:O}),doubleAt:J("@@",{startsExpr:O}),pipeline:V("|>",0),nullishCoalescing:V("??",1),logicalOR:V("||",1),logicalAND:V("&&",2),bitwiseOR:V("|",3),bitwiseXOR:V("^",4),bitwiseAND:V("&",5),equality:V("==/!=/===/!==",6),lt:V("/<=/>=",7),gt:V("/<=/>=",7),relational:V("/<=/>=",7),bitShift:V("<>/>>>",8),bitShiftL:V("<>/>>>",8),bitShiftR:V("<>/>>>",8),plusMin:J("+/-",{beforeExpr:I,binop:9,prefix:L,startsExpr:O}),modulo:J("%",{binop:10,startsExpr:O}),star:J("*",{binop:10}),slash:V("/",10),exponent:J("**",{beforeExpr:I,binop:11,rightAssociative:!0}),_in:U("in",{beforeExpr:I,binop:7}),_instanceof:U("instanceof",{beforeExpr:I,binop:7}),_break:U("break"),_case:U("case",{beforeExpr:I}),_catch:U("catch"),_continue:U("continue"),_debugger:U("debugger"),_default:U("default",{beforeExpr:I}),_else:U("else",{beforeExpr:I}),_finally:U("finally"),_function:U("function",{startsExpr:O}),_if:U("if"),_return:U("return",{beforeExpr:I}),_switch:U("switch"),_throw:U("throw",{beforeExpr:I,prefix:L,startsExpr:O}),_try:U("try"),_var:U("var"),_const:U("const"),_with:U("with"),_new:U("new",{beforeExpr:I,startsExpr:O}),_this:U("this",{startsExpr:O}),_super:U("super",{startsExpr:O}),_class:U("class",{startsExpr:O}),_extends:U("extends",{beforeExpr:I}),_export:U("export"),_import:U("import",{startsExpr:O}),_null:U("null",{startsExpr:O}),_true:U("true",{startsExpr:O}),_false:U("false",{startsExpr:O}),_typeof:U("typeof",{beforeExpr:I,prefix:L,startsExpr:O}),_void:U("void",{beforeExpr:I,prefix:L,startsExpr:O}),_delete:U("delete",{beforeExpr:I,prefix:L,startsExpr:O}),_do:U("do",{isLoop:B,beforeExpr:I}),_for:U("for",{isLoop:B}),_while:U("while",{isLoop:B}),_as:Y("as",{startsExpr:O}),_assert:Y("assert",{startsExpr:O}),_async:Y("async",{startsExpr:O}),_await:Y("await",{startsExpr:O}),_from:Y("from",{startsExpr:O}),_get:Y("get",{startsExpr:O}),_let:Y("let",{startsExpr:O}),_meta:Y("meta",{startsExpr:O}),_of:Y("of",{startsExpr:O}),_sent:Y("sent",{startsExpr:O}),_set:Y("set",{startsExpr:O}),_static:Y("static",{startsExpr:O}),_yield:Y("yield",{startsExpr:O}),_asserts:Y("asserts",{startsExpr:O}),_checks:Y("checks",{startsExpr:O}),_exports:Y("exports",{startsExpr:O}),_global:Y("global",{startsExpr:O}),_implements:Y("implements",{startsExpr:O}),_intrinsic:Y("intrinsic",{startsExpr:O}),_infer:Y("infer",{startsExpr:O}),_is:Y("is",{startsExpr:O}),_mixins:Y("mixins",{startsExpr:O}),_proto:Y("proto",{startsExpr:O}),_require:Y("require",{startsExpr:O}),_keyof:Y("keyof",{startsExpr:O}),_readonly:Y("readonly",{startsExpr:O}),_unique:Y("unique",{startsExpr:O}),_abstract:Y("abstract",{startsExpr:O}),_declare:Y("declare",{startsExpr:O}),_enum:Y("enum",{startsExpr:O}),_module:Y("module",{startsExpr:O}),_namespace:Y("namespace",{startsExpr:O}),_interface:Y("interface",{startsExpr:O}),_type:Y("type",{startsExpr:O}),_opaque:Y("opaque",{startsExpr:O}),name:J("name",{startsExpr:O}),string:J("string",{startsExpr:O}),num:J("num",{startsExpr:O}),bigint:J("bigint",{startsExpr:O}),decimal:J("decimal",{startsExpr:O}),regexp:J("regexp",{startsExpr:O}),privateName:J("#name",{startsExpr:O}),eof:J("eof"),jsxName:J("jsxName"),jsxText:J("jsxText",{beforeExpr:!0}),jsxTagStart:J("jsxTagStart",{startsExpr:!0}),jsxTagEnd:J("jsxTagEnd"),placeholder:J("%%",{startsExpr:!0})};function Q(e){return e>=93&&e<=128}function ee(e){return e<=92}function te(e){return e>=58&&e<=128}function re(e){return e>=58&&e<=132}function ne(e){return K[e]}function ie(e){return Z[e]}function se(e){return e>=29&&e<=33}function ae(e){return e>=125&&e<=127}function oe(e){return e>=90&&e<=92}function ue(e){return e>=58&&e<=92}function le(e){return e>=39&&e<=59}function ce(e){return 34===e}function pe(e){return G[e]}function he(e){return e>=117&&e<=119}function de(e){return e>=120&&e<=126}function fe(e){return H[e]}function me(e){return q[e]}function ye(e){return-1!==q[e]}function ge(e){return 57===e}function ve(e){return e>=24&&e<=25}function be(e){return W[e]}W[8].updateContext=e=>{e.pop()},W[5].updateContext=W[7].updateContext=W[23].updateContext=e=>{e.push(N.brace)},W[22].updateContext=e=>{e[e.length-1]===N.template?e.pop():e.push(N.template)},W[138].updateContext=e=>{e.push(N.j_expr,N.j_oTag)};var De="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",xe="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Ee=new RegExp("["+De+"]"),we=new RegExp("["+De+xe+"]");De=xe=null;var Ce=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],Ae=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Se(e,t){let r=65536;for(let n=0,i=t.length;ne)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function _e(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&Ee.test(String.fromCharCode(e)):Se(e,Ce)))}function ke(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&we.test(String.fromCharCode(e)):Se(e,Ce)||Se(e,Ae))))}var Te={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Fe=new Set(Te.keyword),Pe=new Set(Te.strict),Ne=new Set(Te.strictBind);function Ie(e,t){return t&&"await"===e||"enum"===e}function Oe(e,t){return Ie(e,t)||Pe.has(e)}function Be(e){return Ne.has(e)}function je(e,t){return Oe(e,t)||Be(e)}function Le(e){return Fe.has(e)}function Me(e,t,r){return 64===e&&64===t&&_e(r)}var Re=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function ze(e){return Re.has(e)}var Ue=0,Ve=1,$e=2,We=4,He=8,qe=16,Ke=32,Ze=64,Ge=128,Je=256,Ye=Ve|$e|Je,Xe=1,Qe=2,et=4,tt=8,rt=16,nt=64,it=128,st=256,at=512,ot=1024,ut=2048,lt=Xe|Qe|tt|it,ct=0|Xe|tt|0,pt=0|Xe|et|0,ht=0|Xe|rt|0,dt=0|Qe|it,ft=0|Qe,mt=Xe|Qe|tt|st,yt=0|ot,gt=0|nt,vt=0|Xe|nt,bt=mt|at,Dt=0|ot,xt=ut,Et=4,wt=2,Ct=1,At=wt|Ct,St=wt|Et,_t=Ct|Et,kt=wt,Tt=Ct,Ft=0,Pt=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{let[t,r]=e;if(!this.hasPlugin(t))return!1;let n=this.plugins.get(t);for(let e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}};function Nt(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function It(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}function Ot(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Bt(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?Ot(e,r.comments):Nt(n,r.comments)}var jt=class extends Pt{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){let{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1,i=t[n];i.start===e.end&&(i.leadingNode=e,n--);let{start:s}=e;for(;n>=0;n--){let r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){let{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Nt(e.leadingNode,t),null!==e.trailingNode&&It(e.trailingNode,t);else{let{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Bt(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Bt(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Bt(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Bt(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Bt(r,r.specifiers,e);break;default:Ot(r,t)}else Ot(r,t)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:t}=this.state,{length:r}=t;if(0===r)return;let n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){let{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){let i=n[s],a=i.end;if(i.start===r)i.leadingNode=e;else if(a===t)i.trailingNode=e;else if(a=48&&e<=57},Kt=new Set([103,109,115,105,121,117,100,118]),Zt={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Gt={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102},Jt=class{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new l(e.startLoc,e.endLoc)}},Yt=class extends jt{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new $t,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Jt(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return zt.lastIndex=e,zt.test(this.input)?zt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e{let[t,r]=e;return this.raise(t,{at:r})})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(135):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());let t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(S.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=r+2,Mt.lastIndex=t+2;Mt.test(this.input)&&Mt.lastIndex<=r;)++this.state.curLine,this.state.lineStart=Mt.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new l(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){let t,r=this.state.pos;this.isLookahead||(t=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pose))break e;{let e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){let r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(r)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;let e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(S.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else _e(t)?(++this.state.pos,this.finishToken(134,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(134,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;let t=this.state.pos;for(this.state.pos+=1;!Rt(e)&&++this.state.pos=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(S.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(S.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(_e(e))return void this.readWord(e)}throw this.raise(S.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(e)})}finishOp(e,t){let r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){let e,t,r=this.state.startLoc,n=this.state.start+1,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(S.UnterminatedRegExp,{at:c(r,1)});let n=this.input.charCodeAt(i);if(Rt(n))throw this.raise(S.UnterminatedRegExp,{at:c(r,1)});if(e)e=!1;else{if(91===n)t=!0;else if(93===n&&t)t=!1;else if(47===n&&!t)break;e=92===n}}let s=this.input.slice(n,i);++i;let a="",o=()=>c(r,i+2-n);for(;i3&&void 0!==arguments[3])||arguments[3],i=this.state.pos,s=16===e?Zt.hex:Zt.decBinOct,a=16===e?Gt.hex:10===e?Gt.dec:8===e?Gt.oct:Gt.bin,o=!1,u=0;for(let i=0,l=null==t?1/0:t;i=97?i-97+10:i>=65?i-65+10:qt(i)?i-48:1/0,t>=e)if(this.options.errorRecovery&&t<=9)t=0,this.raise(S.InvalidDigit,{at:this.state.curPosition(),radix:e});else{if(!r)break;t=0,o=!0}++this.state.pos,u=u*e+t}else{let e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);n?(Number.isNaN(t)||!a(t)||s.has(e)||s.has(t))&&this.raise(S.UnexpectedNumericSeparator,{at:this.state.curPosition()}):this.raise(S.NumericSeparatorInEscapeSequence,{at:this.state.curPosition()}),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||o?null:u}readRadixNumber(e){let t=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(e);null==n&&this.raise(S.InvalidDigit,{at:c(t,2),radix:e});let i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(S.InvalidDecimal,{at:t});if(_e(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,{at:this.state.curPosition()});if(r){let e=this.input.slice(t.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(131,e)}else this.finishToken(130,n)}readNumber(e){let t=this.state.pos,r=this.state.curPosition(),n=!1,i=!1,s=!1,a=!1,o=!1;!e&&null===this.readInt(10)&&this.raise(S.InvalidNumber,{at:this.state.curPosition()});let u=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(u){let e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,{at:r}),!this.state.strict){let t=e.indexOf("_");t>0&&this.raise(S.ZeroDigitNumericSeparator,{at:c(r,t)})}o=u&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46===l&&!o&&(++this.state.pos,this.readInt(10),n=!0,l=this.input.charCodeAt(this.state.pos)),(69===l||101===l)&&!o&&(l=this.input.charCodeAt(++this.state.pos),(43===l||45===l)&&++this.state.pos,null===this.readInt(10)&&this.raise(S.InvalidOrMissingExponent,{at:r}),n=!0,a=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((n||u)&&this.raise(S.InvalidBigIntLiteral,{at:r}),++this.state.pos,i=!0),109===l&&(this.expectPlugin("decimal",this.state.curPosition()),(a||u)&&this.raise(S.InvalidDecimal,{at:r}),++this.state.pos,s=!0),_e(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,{at:this.state.curPosition()});let p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(131,p);if(s)return void this.finishToken(132,p);let h=o?parseInt(p,8):parseFloat(p);this.finishToken(130,h)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){if(++this.state.pos,t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(S.InvalidCodePoint,{at:this.state.curPosition()})}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(92===n)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===n||8233===n)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(Rt(n))throw this.raise(S.UnterminatedString,{at:this.state.startLoc});++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,r=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedTemplate,{at:c(this.state.startLoc,1)});let n=this.input.charCodeAt(this.state.pos);if(96===n)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,r?null:e);if(36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,r?null:e);if(92===n){e+=this.input.slice(t,this.state.pos);let n=this.readEscapedChar(!0);null===n?r=!0:e+=n,t=this.state.pos}else if(Rt(n)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,n){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(n)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){let{at:r}=t,n=r.index;this.state.strict&&!this.state.strictErrors.has(n)?this.raise(e,{at:r}):this.state.strictErrors.set(n,[e,r])}readEscapedChar(e){let t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{let e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{let e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(S.StrictNumericEscape,{at:c(this.state.curPosition(),-1)});default:if(r>=48&&r<=55){let t=c(this.state.curPosition(),-1),r=this.input.slice(this.state.pos-1,this.state.pos+2).match(/^[0-7]+/)[0],n=parseInt(r,8);n>255&&(r=r.slice(0,-1),n=parseInt(r,8)),this.state.pos+=r.length-1;let i=this.input.charCodeAt(this.state.pos);if("0"!==r||56===i||57===i){if(e)return null;this.recordStrictModeErrors(S.StrictNumericEscape,{at:t})}return String.fromCharCode(n)}return String.fromCharCode(r)}}readHexChar(e,t,r){let n=this.state.curPosition(),i=this.readInt(16,e,t,!1);return null===i&&(r?this.raise(S.InvalidEscapeSequence,{at:n}):this.state.pos=n.index-1),i}readWord1(e){this.state.containsEsc=!1;let t="",r=this.state.pos,n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos=0;t--){let r=o[t];if(r.loc.index===a)return o[t]=e({loc:s,details:i});if(r.loc.indexthis.hasPlugin(e))))throw this.raise(S.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:e})}},Xt=class{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}},Qt=class{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inFunction(){return(this.currentVarScopeFlags()&$e)>0}get allowSuper(){return(this.currentThisScopeFlags()&qe)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&Ke)>0}get inClass(){return(this.currentThisScopeFlags()&Ze)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&Ze)>0&&0==(e&$e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Ge)return!0;if(t&(Ye|Ze))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&$e)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new Xt(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(e.flags&($e|Ge)||!this.parser.inModule&&e.flags&Ve)}declareName(e,t,r){let n=this.currentScope();if(t&tt||t&rt)this.checkRedeclarationInScope(n,e,t,r),t&rt?n.functions.add(e):n.lexical.add(e),t&tt&&this.maybeExportDefined(n,e);else if(t&et)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(n.flags&Ye));--i);this.parser.inModule&&n.flags&Ve&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&e.flags&Ve&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.parser.raise(S.VarRedeclaration,{at:n,identifierName:t})}isRedeclaredInScope(e,t,r){return!!(r&Xe)&&(r&tt?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):r&rt?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(e.flags&He&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){let{name:t}=e,r=this.scopeStack[0];!r.lexical.has(t)&&!r.var.has(t)&&!r.functions.has(t)&&this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&Ye)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:t}=this.scopeStack[e];if(t&(Ye|Ze)&&!(t&We))return t}}},er=class extends Xt{constructor(){super(...arguments),this.declareFunctions=new Set}},tr=class extends Qt{createScope(e){return new er(e)}declareName(e,t,r){let n=this.currentScope();if(t&ut)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(r&ut)&&!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},rr=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},nr=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new rr)}exit(){let e=this.stack.pop(),t=this.current();for(let[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.parser.raise(S.InvalidPrivateFieldResolution,{at:n,identifierName:r})}declarePrivateName(e,t,r){let{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current(),a=n.has(e);if(t&At){let r=a&&i.get(e);r?(a=(r&At)==(t&At)||(r&Et)!=(t&Et),a||i.delete(e)):a||i.set(e,t)}a&&this.parser.raise(S.PrivateNameRedeclaration,{at:r,identifierName:e}),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.parser.raise(S.InvalidPrivateFieldResolution,{at:t,identifierName:e})}},ir=0,sr=1,ar=2,or=3,ur=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ir;this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return this.type===ar||this.type===sr}isCertainlyParameterDeclaration(){return this.type===or}},lr=class extends ur{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){let{at:r}=t,n=r.index;this.declarationErrors.set(n,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},cr=class{constructor(e){this.parser=void 0,this.stack=[new ur],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){let{at:r}=t,n={at:r.loc.start},{stack:i}=this,s=i.length-1,a=i[s];for(;!a.isCertainlyParameterDeclaration();){if(!a.canBeArrowParameterDeclaration())return;a.recordDeclarationError(e,n),a=i[--s]}this.parser.raise(e,n)}recordArrowParemeterBindingError(e,t){let{at:r}=t,{stack:n}=this,i=n[n.length-1],s={at:r.loc.start};if(i.isCertainlyParameterDeclaration())this.parser.raise(e,s);else{if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,s)}}recordAsyncArrowParametersError(e){let{at:t}=e,{stack:r}=this,n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)i.type===ar&&i.recordDeclarationError(S.AwaitBindingIdentifier,{at:t}),i=r[--n]}validateAsPattern(){let{stack:e}=this,t=e[e.length-1];!t.canBeArrowParameterDeclaration()||t.iterateErrors((t=>{let[r,n]=t;this.parser.raise(r,{at:n});let i=e.length-2,s=e[i];for(;s.canBeArrowParameterDeclaration();)s.clearDeclarationError(n.index),s=e[--i]}))}};function pr(){return new ur(or)}function hr(){return new lr(sr)}function dr(){return new lr(ar)}function fr(){return new ur}var mr=0,yr=1,gr=2,vr=4,br=8,Dr=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&gr)>0}get hasYield(){return(this.currentFlags()&yr)>0}get hasReturn(){return(this.currentFlags()&vr)>0}get hasIn(){return(this.currentFlags()&br)>0}};function xr(e,t){return(e?gr:0)|(t?yr:0)}var Er=class extends Yt{addExtra(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!e)return;let i=e.extra=e.extra||{};n?i[t]=r:Object.defineProperty(i,t,{enumerable:n,value:r})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){let r=e+t.length;if(this.input.slice(e,r)===t){let e=this.input.charCodeAt(r);return!(ke(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){let t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e))throw null!=t?this.raise(t,{at:this.state.startLoc}):this.unexpected(null,e)}canInsertSemicolon(){return this.match(135)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Lt.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return Ut.lastIndex=this.state.end,Ut.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(){(arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.eat(13):this.isLineTerminator())||this.raise(S.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state.clone(),r={node:null};try{let n=e((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;throw r.node=e,r}));if(this.state.errors.length>t.errors.length){let e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){let n=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}}checkExpressionErrors(e,t){if(!e)return!1;let{shorthandAssignLoc:r,doubleProtoLoc:n,privateKeyLoc:i,optionalParametersLoc:s}=e;if(!t)return!!(r||n||s||i);null!=r&&this.raise(S.InvalidCoverInitializedName,{at:r}),null!=n&&this.raise(S.DuplicateProto,{at:n}),null!=i&&this.raise(S.UnexpectedPrivateField,{at:i}),null!=s&&this.unexpected(s)}isLiteralPropertyName(){return re(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"module"===this.options.sourceType,t=this.state.labels;this.state.labels=[];let r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let n=this.inModule;this.inModule=e;let i=this.scope,s=this.getScopeHandler();this.scope=new s(this,e);let a=this.prodParam;this.prodParam=new Dr;let o=this.classScope;this.classScope=new nr(this);let u=this.expressionScope;return this.expressionScope=new cr(this),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=u}}enterInitialScopes(){let e=mr;this.inModule&&(e|=gr),this.scope.enter(Ve),this.prodParam.enter(e)}checkDestructuringPrivate(e){let{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}},wr=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}},Cr=class{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new l(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}},Ar=Cr.prototype;function Sr(e){return _r(e)}function _r(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a,name:o}=e,u=Object.create(Ar);return u.type=t,u.start=r,u.end=n,u.loc=i,u.range=s,u.extra=a,u.name=o,"Placeholder"===t&&(u.expectedNode=e.expectedNode),u}function kr(e){let{type:t,start:r,end:n,loc:i,range:s,extra:a}=e;if("Placeholder"===t)return Sr(e);let o=Object.create(Ar);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,void 0!==e.raw?o.raw=e.raw:o.extra=a,o.value=e.value,o}Ar.__clone=function(){let e=new Cr,t=Object.keys(this);for(let r=0,n=t.length;r1&&void 0!==arguments[1]?arguments[1]:this.state.lastTokEndLoc;e.end=t.index,e.loc.end=t,this.options.ranges&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}},Fr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Pr=A(n||(n=o(["flow"])))((e=>({AmbiguousConditionalArrow:e("Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),AmbiguousDeclareModuleKind:e("Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module."),AssignReservedType:e((e=>{let{reservedType:t}=e;return"Cannot overwrite reserved type ".concat(t,".")})),DeclareClassElement:e("The `declare` modifier can only appear on class fields."),DeclareClassFieldInitializer:e("Initializers are not allowed in fields with the `declare` modifier."),DuplicateDeclareModuleExports:e("Duplicate `declare module.exports` statement."),EnumBooleanMemberNotInitialized:e((e=>{let{memberName:t,enumName:r}=e;return"Boolean enum members need to be initialized. Use either `".concat(t," = true,` or `").concat(t," = false,` in enum `").concat(r,"`.")})),EnumDuplicateMemberName:e((e=>{let{memberName:t,enumName:r}=e;return"Enum member names need to be unique, but the name `".concat(t,"` has already been used before in enum `").concat(r,"`.")})),EnumInconsistentMemberValues:e((e=>{let{enumName:t}=e;return"Enum `".concat(t,"` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.")})),EnumInvalidExplicitType:e((e=>{let{invalidEnumType:t,enumName:r}=e;return"Enum type `".concat(t,"` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `").concat(r,"`.")})),EnumInvalidExplicitTypeUnknownSupplied:e((e=>{let{enumName:t}=e;return"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `".concat(t,"`.")})),EnumInvalidMemberInitializerPrimaryType:e((e=>{let{enumName:t,memberName:r,explicitType:n}=e;return"Enum `".concat(t,"` has type `").concat(n,"`, so the initializer of `").concat(r,"` needs to be a ").concat(n," literal.")})),EnumInvalidMemberInitializerSymbolType:e((e=>{let{enumName:t,memberName:r}=e;return"Symbol enum members cannot be initialized. Use `".concat(r,",` in enum `").concat(t,"`.")})),EnumInvalidMemberInitializerUnknownType:e((e=>{let{enumName:t,memberName:r}=e;return"The enum member initializer for `".concat(r,"` needs to be a literal (either a boolean, number, or string) in enum `").concat(t,"`.")})),EnumInvalidMemberName:e((e=>{let{enumName:t,memberName:r,suggestion:n}=e;return"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `".concat(r,"`, consider using `").concat(n,"`, in enum `").concat(t,"`.")})),EnumNumberMemberNotInitialized:e((e=>{let{enumName:t,memberName:r}=e;return"Number enum members need to be initialized, e.g. `".concat(r," = 1` in enum `").concat(t,"`.")})),EnumStringMemberInconsistentlyInitailized:e((e=>{let{enumName:t}=e;return"String enum members need to consistently either all use initializers, or use no initializers, in enum `".concat(t,"`.")})),GetterMayNotHaveThisParam:e("A getter cannot have a `this` parameter."),ImportTypeShorthandOnlyInPureImport:e("The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements."),InexactInsideExact:e("Explicit inexact syntax cannot appear inside an explicit exact object type."),InexactInsideNonObject:e("Explicit inexact syntax cannot appear in class or interface definitions."),InexactVariance:e("Explicit inexact syntax cannot have variance."),InvalidNonTypeImportInDeclareModule:e("Imports within a `declare module` body must always be `import type` or `import typeof`."),MissingTypeParamDefault:e("Type parameter declaration needs a default, since a preceding type parameter declaration has a default."),NestedDeclareModule:e("`declare module` cannot be used inside another `declare module`."),NestedFlowComment:e("Cannot have a flow comment inside another flow comment."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature.",{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:e("A setter cannot have a `this` parameter."),SpreadVariance:e("Spread properties cannot have variance."),ThisParamAnnotationRequired:e("A type annotation is required for the `this` parameter."),ThisParamBannedInConstructor:e("Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions."),ThisParamMayNotBeOptional:e("The `this` parameter cannot be optional."),ThisParamMustBeFirst:e("The `this` parameter must be the first function parameter."),ThisParamNoDefault:e("The `this` parameter may not have a default value."),TypeBeforeInitializer:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeCastInPattern:e("The type cast expression is expected to be wrapped with parenthesis."),UnexpectedExplicitInexactInObject:e("Explicit inexact syntax must appear at the end of an inexact object."),UnexpectedReservedType:e((e=>{let{reservedType:t}=e;return"Unexpected reserved type ".concat(t,".")})),UnexpectedReservedUnderscore:e("`_` is only allowed as a type argument to call or new."),UnexpectedSpaceBetweenModuloChecks:e("Spaces between `%` and `checks` are not allowed here."),UnexpectedSpreadType:e("Spread operator cannot appear in class or interface definitions."),UnexpectedSubtractionOperand:e('Unexpected token, expected "number" or "bigint".'),UnexpectedTokenAfterTypeParameter:e("Expected an arrow function after this type parameter declaration."),UnexpectedTypeParameterBeforeAsyncArrowFunction:e("Type parameters must come after the async keyword, e.g. instead of ` async () => {}`, use `async () => {}`."),UnsupportedDeclareExportKind:e((e=>{let{unsupportedExportKind:t,suggestion:r}=e;return"`declare export ".concat(t,"` is not supported. Use `").concat(r,"` instead.")})),UnsupportedStatementInDeclareModule:e("Only declares and type imports are allowed inside declare module."),UnterminatedFlowComment:e("Unterminated flow-comment.")})));function Nr(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function Ir(e){return"type"===e.importKind||"typeof"===e.importKind}function Or(e){return te(e)&&97!==e}var Br={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function jr(e,t){let r=[],n=[];for(let i=0;iclass extends e{constructor(){super(...arguments),this.flowPragma=void 0}getScopeHandler(){return tr}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 129!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){let t=Lr.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}return super.addComment(e)}flowParseTypeInitialiser(e){let t=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){let e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(107),this.state.lastTokStart>t.index+1&&this.raise(Pr.UnexpectedSpaceBetweenModuloChecks,{at:t}),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,xt,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(123))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(Pr.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(e));if(this.isContextual(126))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(127))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(125))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,pt,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(Ue),this.match(129)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();let t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(83)?(this.next(),!this.isContextual(126)&&!this.match(87)&&this.raise(Pr.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),this.parseImport(e)):(this.expectContextual(121,Pr.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;return r.forEach((e=>{Nr(e)?("CommonJS"===n&&this.raise(Pr.AmbiguousDeclareModuleKind,{at:e}),n="ES"):"DeclareModuleExports"===e.type&&(i&&this.raise(Pr.DuplicateDeclareModuleExports,{at:e}),"ES"===n&&this.raise(Pr.AmbiguousDeclareModuleKind,{at:e}),n="CommonJS",i=!0)})),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(126)||this.isContextual(125))&&!t){let e=this.state.value;throw this.raise(Pr.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:e,suggestion:Br[e]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(127))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(125)||this.isContextual(126)||this.isContextual(127))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(108),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?ht:ct,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(114)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(110)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(Pr.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(e,t,r){!Fr.has(e)||this.raise(r?Pr.AssignReservedType:Pr.UnexpectedReservedType,{at:t,reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,ct,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(126),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,ct,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),i=this.flowParseTypeAnnotatableIdentifier();return r.name=i.name,r.variance=n,r.bound=i.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Pr.MissingTypeParamDefault,{at:t}),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(138)?this.next():this.unexpected();let r=!1;do{let e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(125),e.extends=[],this.eat(81))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(130)||this.match(129)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,t){let r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType(e){let{allowStatic:t,allowExact:r,allowSpread:n,allowProto:i,allowInexact:s}=e,a=this.state.inType;this.state.inType=!0;let o=this.startNode();o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let u,l,c=!1;for(r&&this.match(6)?(this.expect(6),u=9,l=!0):(this.expect(5),u=8,l=!1),o.exact=l;!this.match(u);){let e=!1,r=null,a=null,u=this.startNode();if(i&&this.isContextual(115)){let e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),r=this.state.startLoc,t=!1)}if(t&&this.isContextual(104)){let t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),e=!0)}let p=this.flowParseVariance();if(this.eat(0))null!=r&&this.unexpected(r),this.eat(0)?(p&&this.unexpected(p.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,e))):o.indexers.push(this.flowParseObjectTypeIndexer(u,e,p));else if(this.match(10)||this.match(47))null!=r&&this.unexpected(r),p&&this.unexpected(p.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(u,e));else{let t="init";(this.isContextual(98)||this.isContextual(103))&&re(this.lookahead().type)&&(t=this.state.value,this.next());let i=this.flowParseObjectTypeProperty(u,e,r,p,t,n,null!=s?s:!l);null===i?(c=!0,a=this.state.lastTokStartLoc):o.properties.push(i)}this.flowObjectTypeSemicolon(),a&&!this.match(8)&&!this.match(9)&&this.raise(Pr.UnexpectedExplicitInexactInObject,{at:a})}this.expect(u),n&&(o.inexact=c);let p=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=a,p}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(s?a||this.raise(Pr.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Pr.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),n&&this.raise(Pr.InexactVariance,{at:n}),null):(s||this.raise(Pr.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),null!=r&&this.unexpected(r),n&&this.raise(Pr.SpreadVariance,{at:n}),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=i;let a=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),("get"===i||"set"===i)&&this.flowCheckGetterSetterParams(e),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(Pr.ThisParamBannedInConstructor,{at:e.value.this})):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=a,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let t="get"===e.kind?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Pr.GetterMayNotHaveThisParam:Pr.SetterMayNotHaveThisParam,{at:e.value.this}),r!==t&&this.raise("get"===e.kind?S.BadGetterArity:S.BadSetterArity,{at:e}),"set"===e.kind&&e.value.rest&&this.raise(S.BadSetterRestParameter,{at:e})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let r=this.startNodeAt(e,t);r.qualification=n,r.id=this.flowParseRestrictedIdentifier(!0),n=this.finishNode(r,"QualifiedTypeIdentifier")}return n}flowParseGenericType(e,t,r){let n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(47)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos0&&void 0!==arguments[0]?arguments[0]:[],t=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,n){switch(n.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(n.name),this.flowParseGenericType(e,t,n)}}flowParsePrimaryType(){let e,t,r=this.state.start,n=this.state.startLoc,i=this.startNode(),s=!1,a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,t=this.flowParseTupleType(),this.state.noAnonFunctionType=a,t;case 47:return i.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),e=this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),this.finishNode(i,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Q(this.state.type)||this.match(78)){let e=this.lookahead().type;s=17!==e&&14!==e}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,t=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),t;this.eat(12)}return e=t?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(t)]):this.flowParseFunctionTypeParams(),i.params=e.params,i.rest=e.rest,i.this=e._this,this.expect(11),this.expect(19),i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation");case 129:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(130))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(131))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Pr.UnexpectedSubtractionOperand,{at:this.state.startLoc})}throw this.unexpected();case 130:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ue(this.state.type)){let e=fe(this.state.type);return this.next(),super.createIdentifier(i,e)}if(Q(this.state.type))return this.isContextual(125)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,n,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.start,t=this.state.startLoc,r=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let i=this.startNodeAt(e,t),s=this.eat(18);n=n||s,this.expect(0),!s&&this.match(3)?(i.elementType=r,this.next(),r=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=r,i.indexType=this.flowParseType(),this.expect(3),n?(i.optional=s,r=this.finishNode(i,"OptionalIndexedAccessType")):r=this.finishNode(i,"IndexedAccessType"))}return r}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(128===this.state.type&&"_"===this.state.value){let e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?this.forwardNoArrowParamsConversionAt(e,(()=>super.parseFunctionBody(e,!0,r))):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.match(14)){let t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(125)){if(te(this.lookahead().type)){let e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}let r=super.parseStatement(e,t);return void 0===this.flowPragma&&!this.isValidDirective(r)&&(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||Q(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Q(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){let{type:e}=this.state;return ae(e)||this.shouldParseEnums()&&122===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return ae(e)||this.shouldParseEnums()&&122===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(122)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(n),e}this.expect(17);let i=this.state.clone(),s=this.state.noArrowAt,a=this.startNodeAt(t,r),{consequent:o,failed:u}=this.tryParseConditionalConsequent(),[l,c]=this.getArrowLikeExpressions(o);if(u||c.length>0){let e=[...s];if(c.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t1&&this.raise(Pr.AmbiguousConditionalArrow,{at:i.startLoc}),u&&1===l.length&&(this.state=i,e.push(l[0].start),this.state.noArrowAt=e,({consequent:o,failed:u}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){let r=[e],n=[];for(;0!==r.length;){let e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach((e=>this.finishArrowValidation(e))),[n,[]]):jr(n,(e=>e.params.every((e=>this.isAssignable(e,!0)))))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter($e|We),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return e}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExport(e){let t=super.parseExport(e);return("ExportNamedDeclaration"===t.type||"ExportAllDeclaration"===t.type)&&(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(126)){e.exportKind="type";let t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(127)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(125)){e.exportKind="type";let t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(122)){e.exportKind="value";let t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(126)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){let{startLoc:t}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){let{startLoc:n}=this.state;if(this.isContextual(121)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Pr.DeclareClassElement,{at:n}):t.value&&this.raise(Pr.DeclareClassFieldInitializer,{at:t.value}))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){let e=super.readWord1(),t="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(S.InvalidIdentifier,{at:this.state.curPosition(),identifierName:t}),this.finishToken(128,t)}getTokenFromCode(e){let t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):Me(e,t,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e){!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])&&"AssignmentExpression"===e.type&&"TypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(...arguments)}toAssignableList(e,t,r){for(let t=0;t1||!t)&&this.raise(Pr.TypeCastInPattern,{at:i.typeAnnotation})}return e}parseArrayLike(e,t,r,n){let i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&this.isThisParam(e[0])&&this.raise(Pr.ThisParamBannedInConstructor,{at:t})}else if("MethodDefinition"===t.type&&i&&t.value.params){let e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Pr.ThisParamBannedInConstructor,{at:t})}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(47)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(110)){this.next();let t=e.implements=[];do{let e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let t=this.getObjectOrClassMethodParams(e);if(t.length>0){let r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(Pr.GetterMayNotHaveThisParam,{at:r}):this.isThisParam(r)&&this.raise(Pr.SetterMayNotHaveThisParam,{at:r})}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,a,o){let u;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!a&&(u=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,s,a,o),u&&((e.value||e).typeParameters=u)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Pr.PatternIsOptional,{at:e}),this.isThisParam(e)&&this.raise(Pr.ThisParamMayNotBeOptional,{at:e}),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Pr.ThisParamAnnotationRequired,{at:e}),this.match(29)&&this.isThisParam(e)&&this.raise(Pr.ThisParamNoDefault,{at:e}),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){let n=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===n.type&&n.typeAnnotation&&n.right.startsuper.parseMaybeAssign(e,t)),i),!n.error)return n.node;let{context:r}=this.state,s=r[r.length-1];(s===N.j_oTag||s===N.j_expr)&&r.pop()}if(null!=(r=n)&&r.error||this.match(47)){var s,a;i=i||this.state.clone();let r,o=this.tryParse((n=>{var i;r=this.flowParseTypeParameterDeclaration();let s=this.forwardNoArrowParamsConversionAt(r,(()=>{let n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n}));null!=(i=s.extra)&&i.parenthesized&&n();let a=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==a.type&&n(),a.typeParameters=r,this.resetStartLocationFromNode(a,r),s}),i),u=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(Pr.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:r}),o.node;u=o.node}if(null!=(s=n)&&s.node)return this.state=n.failState,n.node;if(u)return this.state=o.failState,u;throw null!=(a=n)&&a.thrown?n.error:o.thrown?o.error:this.raise(Pr.UnexpectedTokenAfterTypeParameter,{at:r})}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){let t=this.tryParse((()=>{let t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r}));if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t0&&this.raise(Pr.ThisParamMustBeFirst,{at:e.params[t]});return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,n){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();let n=this.startNodeAt(t,r);n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){let i=this.state.clone(),s=this.tryParse((e=>this.parseAsyncArrowWithTypeParameters(t,r)||e()),i);if(!s.error&&!s.aborted)return s.node;let a=this.tryParse((()=>super.parseSubscripts(e,t,r,n)),i);if(a.node&&!a.error)return a.node;if(s.node)return this.state=s.failState,s.node;if(a.node)return this.state=a.failState,a.node;throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();let s=this.startNodeAt(t,r);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&this.match(47)){let n=this.startNodeAt(t,r);n.callee=e;let s=this.tryParse((()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,i.optionalChainMember))));if(s.node)return s.error&&(this.state=s.failState),s.node}return super.parseSubscript(e,t,r,n,i)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e,t){let r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,void 0,!0)}readToken_mult_modulo(e){let t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){let r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Pr.UnterminatedFlowComment,{at:this.state.curPosition()}),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Pr.NestedFlowComment,{at:this.state.startLoc});return this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0)}if(!this.state.hasFlowComment)return super.skipBlockComment();{let e=this.input.indexOf("*-/",this.state.pos+2);if(-1===e)throw this.raise(S.UnterminatedComment,{at:this.state.curPosition()});this.state.pos=e+2+3}}skipFlowComment(){let{pos:e}=this.state,t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;let r=this.input.charCodeAt(t+e),n=this.input.charCodeAt(t+e+1);return 58===r&&58===n?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==n&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(S.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Pr.EnumBooleanMemberNotInitialized,{at:e,memberName:n,enumName:r})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Pr.EnumInvalidMemberInitializerSymbolType:Pr.EnumInvalidMemberInitializerPrimaryType:Pr.EnumInvalidMemberInitializerUnknownType,Object.assign({at:e},t))}flowEnumErrorNumberMemberNotInitialized(e,t){let{enumName:r,memberName:n}=t;this.raise(Pr.EnumNumberMemberNotInitialized,{at:e,enumName:r,memberName:n})}flowEnumErrorStringMemberInconsistentlyInitailized(e,t){let{enumName:r}=t;this.raise(Pr.EnumStringMemberInconsistentlyInitailized,{at:e,enumName:r})}flowEnumMemberInit(){let e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 130:{let r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 129:{let r=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){let{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers(e){let{enumName:t,explicitType:r}=e,n=new Set,i={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},s=!1;for(;!this.match(8);){if(this.eat(21)){s=!0;break}let e=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),u=a.name;if(""===u)continue;/^[a-z]/.test(u)&&this.raise(Pr.EnumInvalidMemberName,{at:a,memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:t}),n.has(u)&&this.raise(Pr.EnumDuplicateMemberName,{at:a,memberName:u,enumName:t}),n.add(u);let l={enumName:t,explicitType:r,memberName:u};switch(e.id=a,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"boolean"),e.init=o.value,i.booleanMembers.push(this.finishNode(e,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"number"),e.init=o.value,i.numberMembers.push(this.finishNode(e,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.loc,l,"string"),e.init=o.value,i.stringMembers.push(this.finishNode(e,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.loc,l);case"none":switch(r){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.loc,l);break;default:i.defaultedMembers.push(this.finishNode(e,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:i,hasUnknownMembers:s}}flowEnumStringMembers(e,t,r){let{enumName:n}=r;if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(let t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t,{enumName:n});return t}for(let e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:n});return e}flowEnumParseExplicitType(e){let{enumName:t}=e;if(!this.eatContextual(101))return null;if(!Q(this.state.type))throw this.raise(Pr.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:t});let{value:r}=this.state;return this.next(),"boolean"!==r&&"number"!==r&&"string"!==r&&"symbol"!==r&&this.raise(Pr.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:t,invalidEnumType:r}),r}flowEnumBody(e,t){let r=t.name,n=t.loc.start,i=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:s,hasUnknownMembers:a}=this.flowEnumMembers({enumName:r,explicitType:i});switch(e.hasUnknownMembers=a,i){case"boolean":return e.explicitType=!0,e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=s.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let i=s.booleanMembers.length,a=s.numberMembers.length,o=s.stringMembers.length,u=s.defaultedMembers.length;if(!(i||a||o||u))return t();if(!i&&!a)return e.members=this.flowEnumStringMembers(s.stringMembers,s.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!a&&!o&&i>=u){for(let e of s.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!o&&a>=u){for(let e of s.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:r,memberName:e.id.name});return e.members=s.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Pr.EnumInconsistentMemberValues,{at:n,enumName:r}),t()}}}flowParseEnumDeclaration(e){let t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){let e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){let t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},Rr={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},zr=A(i||(i=o(["jsx"])))((e=>({AttributeIsEmpty:e("JSX attributes must only be assigned a non-empty expression."),MissingClosingTagElement:e((e=>{let{openingTagName:t}=e;return"Expected corresponding JSX closing tag for <".concat(t,">.")})),MissingClosingTagFragment:e("Expected corresponding JSX closing tag for <>."),UnexpectedSequenceExpression:e("Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?"),UnexpectedToken:e((e=>{let{unexpected:t,HTMLEntity:r}=e;return"Unexpected token `".concat(t,"`. Did you mean `").concat(r,"` or `{'").concat(t,"'}`?")})),UnsupportedJsxValue:e("JSX value should be either an expression or a quoted JSX text."),UnterminatedJsxContent:e("Unterminated JSX contents."),UnwrappedAdjacentJSXElements:e("Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...?")})));function Ur(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Vr(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Vr(e.object)+"."+Vr(e.property);throw new Error("Node had unexpected type: "+e.type)}var $r=e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(zr.UnterminatedJsxContent,{at:this.state.startLoc});let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(138)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(137,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Rt(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let t,r=this.input.charCodeAt(this.state.pos);return++this.state.pos,13===r&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),++this.state.curLine,this.state.lineStart=this.state.pos,t}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,{at:this.state.startLoc});let n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):Rt(n)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(129,t)}jsxReadEntity(){let e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);let t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,r=!1;for(;t++<10&&this.state.posObject.hasOwnProperty.call(e,t)&&e[t];function Kr(e){if(null==e)throw new Error("Unexpected ".concat(e," value."));return e}function Zr(e){if(!e)throw new Error("Assert fail")}function Gr(e){return ie(e)||ye(e)}var Jr=A(s||(s=o(["typescript"])))((e=>({AbstractMethodHasImplementation:e((e=>{let{methodName:t}=e;return"Method '".concat(t,"' cannot have an implementation because it is marked abstract.")})),AbstractPropertyHasInitializer:e((e=>{let{propertyName:t}=e;return"Property '".concat(t,"' cannot have an initializer because it is marked abstract.")})),AccesorCannotDeclareThisParameter:e("'get' and 'set' accessors cannot declare 'this' parameters."),AccesorCannotHaveTypeParameters:e("An accessor cannot have type parameters."),CannotFindName:e((e=>{let{name:t}=e;return"Cannot find name '".concat(t,"'.")})),ClassMethodHasDeclare:e("Class methods cannot have the 'declare' modifier."),ClassMethodHasReadonly:e("Class methods cannot have the 'readonly' modifier."),ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:e("A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),ConstructorHasTypeParameters:e("Type parameters cannot appear on a constructor declaration."),DeclareAccessor:e((e=>{let{kind:t}=e;return"'declare' is not allowed in ".concat(t,"ters.")})),DeclareClassFieldHasInitializer:e("Initializers are not allowed in ambient contexts."),DeclareFunctionHasImplementation:e("An implementation cannot be declared in ambient contexts."),DuplicateAccessibilityModifier:e((e=>{let{modifier:t}=e;return"Accessibility modifier already seen."})),DuplicateModifier:e((e=>{let{modifier:t}=e;return"Duplicate modifier: '".concat(t,"'.")})),EmptyHeritageClauseType:e((e=>{let{token:t}=e;return"'".concat(t,"' list cannot be empty.")})),EmptyTypeArguments:e("Type argument list cannot be empty."),EmptyTypeParameters:e("Type parameter list cannot be empty."),ExpectedAmbientAfterExportDeclare:e("'export declare' must be followed by an ambient declaration."),ImportAliasHasImportType:e("An import alias can not use 'import type'."),IncompatibleModifiers:e((e=>{let{modifiers:t}=e;return"'".concat(t[0],"' modifier cannot be used with '").concat(t[1],"' modifier.")})),IndexSignatureHasAbstract:e("Index signatures cannot have the 'abstract' modifier."),IndexSignatureHasAccessibility:e((e=>{let{modifier:t}=e;return"Index signatures cannot have an accessibility modifier ('".concat(t,"').")})),IndexSignatureHasDeclare:e("Index signatures cannot have the 'declare' modifier."),IndexSignatureHasOverride:e("'override' modifier cannot appear on an index signature."),IndexSignatureHasStatic:e("Index signatures cannot have the 'static' modifier."),InitializerNotAllowedInAmbientContext:e("Initializers are not allowed in ambient contexts."),InvalidModifierOnTypeMember:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier cannot appear on a type member.")})),InvalidModifierOnTypeParameter:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier cannot appear on a type parameter.")})),InvalidModifierOnTypeParameterPositions:e((e=>{let{modifier:t}=e;return"'".concat(t,"' modifier can only appear on a type parameter of a class, interface or type alias.")})),InvalidModifiersOrder:e((e=>{let{orderedModifiers:t}=e;return"'".concat(t[0],"' modifier must precede '").concat(t[1],"' modifier.")})),InvalidTupleMemberLabel:e("Tuple members must be labeled with a simple identifier."),MissingInterfaceName:e("'interface' declarations must be followed by an identifier."),MixedLabeledAndUnlabeledElements:e("Tuple members must all have names or all not have names."),NonAbstractClassHasAbstractMethod:e("Abstract methods can only appear within an abstract class."),NonClassMethodPropertyHasAbstractModifer:e("'abstract' modifier can only appear on a class, method, or property declaration."),OptionalTypeBeforeRequired:e("A required element cannot follow an optional element."),OverrideNotInSubClass:e("This member cannot have an 'override' modifier because its containing class does not extend another class."),PatternIsOptional:e("A binding pattern parameter cannot be optional in an implementation signature."),PrivateElementHasAbstract:e("Private elements cannot have the 'abstract' modifier."),PrivateElementHasAccessibility:e((e=>{let{modifier:t}=e;return"Private elements cannot have an accessibility modifier ('".concat(t,"').")})),ReadonlyForMethodSignature:e("'readonly' modifier can only appear on a property declaration or index signature."),ReservedArrowTypeParam:e("This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `() => ...`."),ReservedTypeAssertion:e("This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),SetAccesorCannotHaveOptionalParameter:e("A 'set' accessor cannot have an optional parameter."),SetAccesorCannotHaveRestParameter:e("A 'set' accessor cannot have rest parameter."),SetAccesorCannotHaveReturnType:e("A 'set' accessor cannot have a return type annotation."),SingleTypeParameterWithoutTrailingComma:e((e=>{let{typeParameterName:t}=e;return"Single type parameter ".concat(t," should have a trailing comma. Example usage: <").concat(t,",>.")})),StaticBlockCannotHaveModifier:e("Static class blocks cannot have any modifier."),TypeAnnotationAfterAssign:e("Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`."),TypeImportCannotSpecifyDefaultAndNamed:e("A type-only import can specify a default import or named bindings, but not both."),TypeModifierIsUsedInTypeExports:e("The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),TypeModifierIsUsedInTypeImports:e("The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),UnexpectedParameterModifier:e("A parameter property is only allowed in a constructor implementation."),UnexpectedReadonly:e("'readonly' type modifier is only permitted on array and tuple literal types."),UnexpectedTypeAnnotation:e("Did not expect a type annotation here."),UnexpectedTypeCastInParameter:e("Unexpected type cast in parameter position."),UnsupportedImportTypeArgument:e("Argument in a type import must be a string literal."),UnsupportedParameterPropertyKind:e("A parameter property may not be declared using a binding pattern."),UnsupportedSignatureParameterKind:e((e=>{let{type:t}=e;return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ".concat(t,".")}))})));function Yr(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Xr(e){return"private"===e||"public"===e||"protected"===e}function Qr(e){return"in"===e||"out"===e}var en=e=>class extends e{getScopeHandler(){return Hr}tsIsIdentifier(){return Q(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(134)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!Q(this.state.type)&&58!==this.state.type)return;let r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e){let{modified:t,allowedModifiers:r,disallowedModifiers:n,stopOnStartOfClassStaticBlock:i,errorTemplate:s=Jr.InvalidModifierOnTypeMember}=e,a=(e,r,n,i)=>{r===n&&t[i]&&this.raise(Jr.InvalidModifiersOrder,{at:e,orderedModifiers:[n,i]})},o=(e,r,n,i)=>{(t[n]&&r===i||t[i]&&r===n)&&this.raise(Jr.IncompatibleModifiers,{at:e,modifiers:[n,i]})};for(;;){let{startLoc:e}=this.state,u=this.tsParseModifier(r.concat(null!=n?n:[]),i);if(!u)break;Xr(u)?t.accessibility?this.raise(Jr.DuplicateAccessibilityModifier,{at:e,modifier:u}):(a(e,u,u,"override"),a(e,u,u,"static"),a(e,u,u,"readonly"),t.accessibility=u):Qr(u)?(t[u]&&this.raise(Jr.DuplicateModifier,{at:e,modifier:u}),t[u]=!0,a(e,u,"in","out")):(Object.hasOwnProperty.call(t,u)?this.raise(Jr.DuplicateModifier,{at:e,modifier:u}):(a(e,u,"static","readonly"),a(e,u,"static","override"),a(e,u,"override","readonly"),a(e,u,"abstract","override"),o(e,u,"declare","override"),o(e,u,"static","abstract")),t[u]=!0),null!=n&&n.includes(u)&&this.raise(s,{at:e,modifier:u})}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}throw new Error("Unreachable")}tsParseList(e,t){let r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return Kr(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){let i=[],s=-1;for(;!this.tsIsListTerminator(e);){s=-1;let n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(47));let s=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(48),s}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(129)||this.raise(Jr.UnsupportedImportTypeArgument,{at:this.state.startLoc}),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName()),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.parseIdentifier(e);for(;this.eat(16);){let r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseInOutModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Jr.InvalidModifierOnTypeParameter})}tsParseNoneModifiers(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Jr.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.tsParseNoneModifiers.bind(this),t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let t=this.startNode();this.match(47)||this.match(138)?this.next():this.unexpected();let r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(Jr.EmptyTypeParameters,{at:t}),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){if(75!==this.lookahead().type)return null;this.next();let e=this.tsParseTypeReference();return e.typeParameters&&this.raise(Jr.CannotFindName,{at:e.typeName,name:"const"}),e}tsFillSignature(e,t){let r=19===e,n="parameters",i="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t[n]=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t[i]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map((e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(Jr.UnsupportedSignatureParameterKind,{at:e,type:e.type}),e)))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!Q(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);let r=e;if(this.match(10)||this.match(47)){t&&this.raise(Jr.ReadonlyForMethodSignature,{at:e});let n=r;n.kind&&this.match(47)&&this.raise(Jr.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon();let i="parameters",s="typeAnnotation";if("get"===n.kind)n[i].length>0&&(this.raise(S.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(n[i][0])&&this.raise(Jr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if("set"===n.kind){if(1!==n[i].length)this.raise(S.BadSetterArity,{at:this.state.curPosition()});else{let e=n[i][0];this.isThisParam(e)&&this.raise(Jr.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),"Identifier"===e.type&&e.optional&&this.raise(Jr.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),"RestElement"===e.type&&this.raise(Jr.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}n[s]&&this.raise(Jr.SetAccesorCannotHaveReturnType,{at:n[s]})}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{let e=r;t&&(e.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(118):(this.isContextual(118)&&this.next(),!(!this.match(0)||(this.next(),!this.tsIsIdentifier()))&&(this.next(),this.match(58)))}tsParseMappedTypeParameter(){let e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(58),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){let e=this.startNode();return this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(118)):this.eatContextual(118)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach((e=>{var n;let{type:i}=e;t&&"TSRestType"!==i&&"TSOptionalType"!==i&&!("TSNamedTupleMember"===i&&e.optional)&&this.raise(Jr.OptionalTypeBeforeRequired,{at:e}),t=t||"TSNamedTupleMember"===i&&e.optional||"TSOptionalType"===i,"TSRestType"===i&&(i=(e=e.typeAnnotation).type);let s="TSNamedTupleMember"===i;r=null!=(n=r)?n:s,r!==s&&this.raise(Jr.MixedLabeledAndUnlabeledElements,{at:e})})),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let{start:e,startLoc:t}=this.state,r=this.eat(21),n=this.tsParseType(),i=this.eat(17);if(this.eat(14)){let e=this.startNodeAtNode(n);e.optional=i,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(Jr.InvalidTupleMemberLabel,{at:n}),e.label=n):e.label=n.typeName,e.elementType=this.tsParseType(),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){let e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(r){let r=this.startNodeAt(e,t);r.typeAnnotation=n,n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){let r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 130:case 131:case 129:case 85:case 86:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(113)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 129:case 130:case 131:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if("-"===this.state.value){let e=this.startNode(),t=this.lookahead();if(130!==t.type&&131!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:e}=this.state;if(Q(e)||88===e||84===e){let t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":Yr(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){let e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{let t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){let e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Jr.UnexpectedReadonly,{at:e})}}tsParseInferType(){let e=this.startNode();this.expectContextual(112);let t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return he(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(112)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(e,t,r){let n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return!!this.match(47)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Q(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,t=e.length;try{return this.parseObjectLike(8,!0),e.length===t}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,t=e.length;try{return this.parseBindingList(3,93,!0),e.length===t}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType((()=>{let t=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}let i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);let s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")}))}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(113)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(106!==this.state.type)return!1;let e=this.state.containsEsc;return this.next(),!(!Q(this.state.type)&&!this.match(78)||(e&&this.raise(S.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),0))}tsParseTypeAnnotation(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.startNode();return this.tsInType((()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){Zr(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(120)&&77===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Jr.ReservedTypeAssertion,{at:this.state.startLoc});let e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let t=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let e=this.startNode();return e.expression=this.tsParseEntityName(),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}));return r.length||this.raise(Jr.EmptyHeritageClauseType,{at:t,token:e}),r}tsParseInterfaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.hasFollowingLineBreak())return null;this.expectContextual(125),t.declare&&(e.declare=!0),Q(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,dt)):(e.id=null,this.raise(Jr.MissingInterfaceName,{at:this.state.startLoc})),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,ft),e.typeAnnotation=this.tsInType((()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(29),this.isContextual(111)&&16!==this.lookahead().type){let e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(e){let t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}tsInType(e){let t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){let t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType((()=>this.expect(e)))}tsNextThenParseType(){return this.tsDoThenParseType((()=>this.next()))}tsDoThenParseType(e){return this.tsInType((()=>(e(),this.tsParseType())))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(129)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual(122),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?bt:mt),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(Ue),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,Dt),this.eat(16)){let t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(Je),this.prodParam.enter(mr),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(109)?(e.global=!0,e.id=this.parseIdentifier()):this.match(129)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(Je),this.prodParam.enter(mr),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkIdentifier(e.id,ct),this.expect(29);let r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(Jr.ImportAliasHasImportType,{at:r}),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(116)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let e=this.startNode();if(this.expectContextual(116),this.expect(10),!this.match(129))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){let t=this.tryParse((t=>e()||t()));if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){let t=this.state.clone(),r=e();if(void 0!==r&&!1!==r)return r;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(99)&&(r=74,t="let"),this.tsInAmbientContext((()=>{if(68===r)return e.declare=!0,this.parseFunctionStatement(e,!1,!0);if(80===r)return e.declare=!0,this.parseClass(e,!0,!1);if(122===r)return this.tsParseEnumDeclaration(e,{declare:!0});if(109===r)return this.tsParseAmbientExternalModuleDeclaration(e);if(75===r||74===r)return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,t||this.state.value,!0));if(125===r){let t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}return Q(r)?this.tsParseDeclaration(e,this.state.value,!0):void 0}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{let t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(Je),this.prodParam.enter(mr);let r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(80)||Q(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(129))return this.tsParseAmbientExternalModuleDeclaration(e);if(Q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&Q(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&Q(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(47))return;let r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let n=this.tsTryParseAndCatch((()=>{let r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r}));return this.state.maybeInArrowParameters=r,n?this.parseArrowExpression(n,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),0===e.params.length&&this.raise(Jr.EmptyTypeArguments,{at:e}),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return de(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){let r,n=this.state.start,i=this.state.startLoc,s=!1,a=!1;if(void 0!==e){let t={};this.tsParseModifiers({modified:t,allowedModifiers:["public","private","protected","override","readonly"]}),r=t.accessibility,a=t.override,s=t.readonly,!1===e&&(r||s||a)&&this.raise(Jr.UnexpectedParameterModifier,{at:i})}let o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);let u=this.parseMaybeDefault(o.start,o.loc.start,o);if(r||s||a){let e=this.startNodeAt(n,i);return t.length&&(e.decorators=t),r&&(e.accessibility=r),s&&(e.readonly=s),a&&(e.override=a),"Identifier"!==u.type&&"AssignmentPattern"!==u.type&&this.raise(Jr.UnsupportedParameterPropertyKind,{at:e}),e.parameter=u,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),u}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(Jr.DeclareFunctionHasImplementation,{at:e}),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,yt):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach((e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(Jr.UnexpectedTypeAnnotation,{at:e.typeAnnotation})}))}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(){let e=super.parseArrayLike(...arguments);return"ArrayExpression"===e.type&&this.tsCheckForInvalidTypeCasts(e.elements),e}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let s=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return i.stop=!0,e;i.optionalChainMember=s=!0,this.next()}if(this.match(47)||this.match(51)){let a,o=this.tsTryParseAndCatch((()=>{if(!n&&this.atPossibleAsyncArrow(e)){let e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}let o=this.tsParseTypeArgumentsInExpression();if(!o)throw this.unexpected();if(s&&!this.match(10))throw a=this.state.curPosition(),this.unexpected();if(ve(this.state.type)){let n=this.parseTaggedTemplateExpression(e,t,r,i);return n.typeParameters=o,n}if(!n&&this.eat(10)){let n=this.startNodeAt(t,r);return n.callee=e,n.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(n.arguments),n.typeParameters=o,i.optionalChainMember&&(n.optional=s),this.finishCallExpression(n,i.optionalChainMember)}if(Gr(this.state.type)&&10!==this.state.type)throw this.unexpected();let u=this.startNodeAt(t,r);return u.expression=e,u.typeParameters=o,this.finishNode(u,"TSInstantiationExpression")}));if(a&&this.unexpected(a,10),o)return o}return super.parseSubscript(e,t,r,n,i)}parseNewCallee(e){var t;super.parseNewCallee(e);let{callee:r}=e;"TSInstantiationExpression"===r.type&&(null==(t=r.extra)||!t.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,t,r,n){if(me(58)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(93)){let i=this.startNodeAt(t,r);i.expression=e;let s=this.tsTryNextParseConstantContext();return i.typeAnnotation=s||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){this.state.isAmbientContext||super.checkReservedWord(e,t,r,n)}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",Q(this.state.type)||this.match(55)||this.match(5)){let t=this.lookahead();if(this.isContextual(126)&&12!==t.type&&97!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),Q(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}let t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(Jr.TypeImportCannotSpecifyDefaultAndNamed,{at:t}),t}parseExport(e){if(this.match(83))return this.next(),this.isContextual(126)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){let t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){let t=e;return this.expectContextual(124),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(126)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(120)&&80===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],{isAmbientContext:n}=this.state,i=super.parseVarStatement(e,t,r||n);if(!n)return i;for(let{id:e,init:r}of i.declarations)!r||("const"!==t||e.typeAnnotation?this.raise(Jr.InitializerNotAllowedInAmbientContext,{at:r}):"StringLiteral"!==r.type&&"BooleanLiteral"!==r.type&&"NumericLiteral"!==r.type&&"BigIntLiteral"!==r.type&&("TemplateLiteral"!==r.type||r.expressions.length>0)&&!tn(r)&&this.raise(Jr.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:r}));return i}parseStatementContent(e,t){if(this.match(75)&&this.isLookaheadContextual("enum")){let e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}if(this.isContextual(122))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(125)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some((t=>Xr(t)?e.accessibility===t:!!e[t]))}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({modified:t,allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Jr.InvalidModifierOnTypeParameterPositions});let i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(Jr.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){let i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(Jr.IndexSignatureHasAbstract,{at:t}),t.accessibility&&this.raise(Jr.IndexSignatureHasAccessibility,{at:t,modifier:t.accessibility}),t.declare&&this.raise(Jr.IndexSignatureHasDeclare,{at:t}),void(t.override&&this.raise(Jr.IndexSignatureHasOverride,{at:t}));!this.state.inAbstractClass&&t.abstract&&this.raise(Jr.NonAbstractClassHasAbstractMethod,{at:t}),t.override&&(r.hadSuperClass||this.raise(Jr.OverrideNotInSubClass,{at:t})),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(Jr.ClassMethodHasReadonly,{at:e}),e.declare&&this.match(10)&&this.raise(Jr.ClassMethodHasDeclare,{at:e})}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,n);let i=this.tryParse((()=>super.parseConditional(e,t,r)));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(n,i.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(t,r);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(121))return this.tsInAmbientContext((()=>this.parseExportDeclaration(e)));let t=this.state.start,r=this.state.startLoc,n=this.eatContextual(121);if(n&&(this.isContextual(121)||!this.shouldParseExportDeclaration()))throw this.raise(Jr.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});let i=Q(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return i?(("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||n)&&(e.exportKind="type"),n&&(this.resetStartLocation(i,t,r),i.declare=!0),i):null}parseClassId(e,t,r){if((!t||r)&&this.isContextual(110))return;super.parseClassId(e,t,r,e.declare?yt:lt);let n=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);let t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(Jr.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),e.abstract&&this.match(29)){let{key:t}=e;this.raise(Jr.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:"Identifier"!==t.type||e.computed?"[".concat(this.input.slice(t.start,t.end),"]"):t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(Jr.PrivateElementHasAbstract,{at:e}),e.accessibility&&this.raise(Jr.PrivateElementHasAccessibility,{at:e,modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){let a=this.tsTryParseTypeParameters();a&&i&&this.raise(Jr.ConstructorHasTypeParameters,{at:a});let{declare:o=!1,kind:u}=t;o&&("get"===u||"set"===u)&&this.raise(Jr.DeclareAccessor,{at:t,kind:u}),a&&(t.typeParameters=a),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){let i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&!e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(110)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e){let t=this.tsTryParseTypeParameters();t&&(e.typeParameters=t);for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;isuper.parseMaybeAssign(...t)),c),!p.error)return p.node;let{context:e}=this.state,r=e[e.length-1];(r===N.j_oTag||r===N.j_expr)&&e.pop()}if(!(null!=(n=p)&&n.error||this.match(47)))return super.parseMaybeAssign(...t);c=c||this.state.clone();let f=this.tryParse((e=>{var r,n,i;d=this.tsParseTypeParameters();let s=super.parseMaybeAssign(...t);return("ArrowFunctionExpression"!==s.type||null!=(r=s.extra)&&r.parenthesized)&&e(),0!==(null==(n=d)?void 0:n.params.length)&&this.resetStartLocationFromNode(s,d),s.typeParameters=d,this.hasPlugin("jsx")&&1===s.typeParameters.params.length&&!(null!=(i=s.typeParameters.extra)&&i.trailingComma)&&s.typeParameters.params[0].constraint,s}),c);if(!f.error&&!f.aborted)return d&&this.reportReservedArrowTypeParam(d),f.node;if(!p&&(Zr(!this.hasPlugin("jsx")),h=this.tryParse((()=>super.parseMaybeAssign(...t)),c),!h.error))return h.node;if(null!=(i=p)&&i.node)return this.state=p.failState,p.node;if(f.node)return this.state=f.failState,d&&this.reportReservedArrowTypeParam(d),f.node;if(null!=(s=h)&&s.node)return this.state=h.failState,h.node;throw null!=(a=p)&&a.thrown?p.error:f.thrown?f.error:null!=(o=h)&&o.thrown?h.error:(null==(u=p)?void 0:u.error)||f.error||(null==(l=h)?void 0:l.error)}reportReservedArrowTypeParam(e){var t;1===e.params.length&&(null==(t=e.extra)||!t.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(Jr.ReservedArrowTypeParam,{at:e})}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){let t=this.tryParse((e=>{let t=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&e(),t}));if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"!==e.type&&!this.state.isAmbientContext&&!this.state.inType&&this.raise(Jr.PatternIsOptional,{at:e}),e.optional=!0);let t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParemeterBindingError(Jr.UnexpectedTypeCastInParameter,{at:e}):this.raise(Jr.UnexpectedTypeCastInParameter,{at:e}),this.toAssignable(e.expression,t);break;case"AssignmentExpression":!t&&"TSTypeCastExpression"===e.left.type&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,r){return qr({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(r!==gt||!t)&&["expression",!0],TSTypeAssertion:(r!==gt||!t)&&["expression",!0]},e)||super.isValidLVal(e,t,r)}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e){if(this.match(47)||this.match(51)){let t=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(){let e=super.parseMaybeDefault(...arguments);return"AssignmentPattern"===e.type&&e.typeAnnotation&&e.right.startthis.isAssignable(e,!0))):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let t=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){let t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e){let t=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i0))&&rn(e.object)}function rn(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&rn(e.object)}var nn=A(a||(a=o(["placeholders"])))((e=>({ClassNameIsRequired:e("A class name is required."),UnexpectedSpace:e("Unexpected space in placeholder.")}))),sn=e=>class extends e{parsePlaceholder(e){if(this.match(140)){let t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(140),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(140,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}isValidLVal(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){let{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter((e=>"Placeholder"===e.exported.type))),super.checkExport(e),e.specifiers=t}parseImport(e){let t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(...arguments);if(e.specifiers=[],!this.isContextual(97)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(t);return r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(97),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(nn.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},an=e=>class extends e{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,t=this.startNode();if(this.next(),Q(this.state.type)){let e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}};function on(e,t){let[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.length;return e.some((e=>{if("string"==typeof e)return s&&e===r;{let[t,s]=e;if(t!==r)return!1;for(let e of i)if(s[e]!==n[e])return!1;return!0}}))}function un(e,t,r){let n=e.find((e=>Array.isArray(e)?e[0]===t:e===t));return n&&Array.isArray(n)?n[1][r]:null}var ln=["minimal","fsharp","hack","smart"],cn=["^^","@@","^","%","#"],pn=["hash","bar"];function hn(e){if(on(e,"decorators")){if(on(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let t=un(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(on(e,"flow")&&on(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(on(e,"placeholders")&&on(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(on(e,"pipelineOperator")){let t=un(e,"pipelineOperator","proposal");if(!ln.includes(t)){let e=ln.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" requires "proposal" option whose value must be one of: '.concat(e,"."))}let r=on(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(on(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(on(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let t=un(e,"pipelineOperator","topicToken");if(!cn.includes(t)){let e=cn.map((e=>'"'.concat(e,'"'))).join(", ");throw new Error('"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: '.concat(e,"."))}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(on(e,"moduleAttributes")){if(on(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==un(e,"moduleAttributes","version"))throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(on(e,"recordAndTuple")&&!pn.includes(un(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+pn.map((e=>"'".concat(e,"'"))).join(", "));if(on(e,"asyncDoExpressions")&&!on(e,"doExpressions")){let e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}var dn={estree:F,jsx:$r,flow:Mr,typescript:en,v8intrinsic:an,placeholders:sn},fn=Object.keys(dn),mn={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};function yn(e){let t={};for(let r of Object.keys(mn))t[r]=e&&null!=e[r]?e[r]:mn[r];return t}var gn=(e,t)=>Object.hasOwnProperty.call(e,t)&&e[t],vn=e=>"ParenthesizedExpression"===e.type?vn(e.expression):e,bn=class extends Tr{toAssignable(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];var r,n;let i;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=vn(e),t?"Identifier"===i.type?this.expressionScope.recordArrowParemeterBindingError(S.InvalidParenthesizedAssignment,{at:e}):"MemberExpression"!==i.type&&this.raise(S.InvalidParenthesizedAssignment,{at:e}):this.raise(S.InvalidParenthesizedAssignment,{at:e})),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e)))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((e=>null===e||this.isAssignable(e)));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(let t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){let e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){if(i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{let e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let e=this.startNode(),{type:t,start:r,startLoc:n}=this.state;return 21===t?this.parseBindingRestProperty(e):(134===t?(this.expectPlugin("destructuringPrivate",n),this.classScope.usePrivateName(this.state.value,n),e.key=this.parsePrivateName()):this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,n,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){let r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);let n=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),n}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var n,i,s;if(t=null!=(n=t)?n:this.state.startLoc,e=null!=(i=e)?i:this.state.start,r=null!=(s=r)?s:this.parseBindingAtom(),!this.eat(29))return r;let a=this.startNodeAt(e,t);return a.left=r,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}isValidLVal(e,t,r){return gn({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},e)}checkLVal(e,t){let{in:r,binding:n=gt,checkClashes:i=!1,strictModeChanged:s=!1,allowingSloppyLetBinding:a=!(n&tt),hasParenthesizedAncestor:o=!1}=t;var u;let l=e.type;if(this.isObjectMethod(e))return;if("MemberExpression"===l)return void(n!==gt&&this.raise(S.InvalidPropertyBindingPattern,{at:e}));if("Identifier"===e.type){this.checkIdentifier(e,n,s,a);let{name:t}=e;return void(i&&(i.has(t)?this.raise(S.ParamDupe,{at:e}):i.add(t)))}let c=this.isValidLVal(e.type,!(o||null!=(u=e.extra)&&u.parenthesized)&&"AssignmentExpression"===r.type,n);if(!0===c)return;if(!1===c){let t=n===gt?S.InvalidLhs:S.InvalidLhsBinding;return void this.raise(t,{at:e,ancestor:"UpdateExpression"===r.type?{type:"UpdateExpression",prefix:r.prefix}:{type:r.type}})}let[p,h]=Array.isArray(c)?c:[c,"ParenthesizedExpression"===l],d="ArrayPattern"===e.type||"ObjectPattern"===e.type||"ParenthesizedExpression"===e.type?e:r;for(let t of[].concat(e[p]))t&&this.checkLVal(t,{in:d,binding:n,checkClashes:i,allowingSloppyLetBinding:a,strictModeChanged:s,hasParenthesizedAncestor:h})}checkIdentifier(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:!(t&tt);this.state.strict&&(r?je(e.name,this.inModule):Be(e.name))&&(t===gt?this.raise(S.StrictEvalArguments,{at:e,referenceName:e.name}):this.raise(S.StrictEvalArgumentsBinding,{at:e,bindingName:e.name})),!n&&"let"===e.name&&this.raise(S.LetInLexicalBinding,{at:e}),t>||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(S.InvalidRestAssignmentPattern,{at:e})}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?S.RestTrailingComma:S.ElementAfterRest,{at:this.state.startLoc}),!0)}},Dn=class extends bn{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;let i=e.key;if("__proto__"===("Identifier"===i.type?i.name:i.value)){if(t)return void this.raise(S.RecordNoProto,{at:i});r.used&&(n?null===n.doubleProtoLoc&&(n.doubleProtoLoc=i.loc.start):this.raise(S.DuplicateProto,{at:i})),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();let e=this.parseExpression();return this.match(135)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd((()=>this.parseExpressionBase(t))):this.allowInAnd((()=>this.parseExpressionBase(t)))}parseExpressionBase(e){let t=this.state.start,r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){let i=this.startNodeAt(t,r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd((()=>this.parseMaybeAssign(e,t)))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd((()=>this.parseMaybeAssign(e,t)))}setOptionalParametersError(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.state.startLoc}parseMaybeAssign(e,t){let r,n=this.state.start,i=this.state.startLoc;if(this.isContextual(105)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,n,i)),e}e?r=!1:(e=new wr,r=!0);let{type:s}=this.state;(10===s||Q(s))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,n,i)),se(this.state.type)){let t=this.startNodeAt(n,i),r=this.state.value;return t.operator=r,this.match(29)?(this.toAssignable(a,!0),t.left=a,null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=n&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=n&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=n&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null)):t.left=a,this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(a,{in:this.finishNode(t,"AssignmentExpression")}),t}return r&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,t,r,e)}parseConditional(e,t,r,n){if(this.eat(17)){let n=this.startNodeAt(t,r);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(134)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){if(this.isPrivateName(e)){let t=this.getPrivateNameSV(e);(n>=me(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,{at:e,identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}let i=this.state.type;if(le(i)&&(this.prodParam.hasIn||!this.match(58))){let s=me(i);if(s>n){if(39===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}let a=this.startNodeAt(t,r);a.left=e,a.operator=this.state.value;let o=41===i||42===i,u=40===i;if(u&&(s=me(42)),this.next(),39===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});a.right=this.parseExprOpRightExpr(i,s),this.finishNode(a,o||u?"LogicalExpression":"BinaryExpression");let l=this.state.type;if(u&&(41===l||42===l)||o&&40===l)throw this.raise(S.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(a,t,r,n)}}return e}parseExprOpRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;if(39===e)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(105))throw this.raise(S.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,n)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(t)))}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){let r=this.state.start,n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,n,ge(e)?t-1:t)}parseHackPipeBody(){var e;let{startLoc:t}=this.state,r=this.parseMaybeAssign();return D.has(r.type)&&!(null!=(e=r.extra)&&e.parenthesized)&&this.raise(S.PipeUnparenthesizedBody,{at:t,type:r.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,{at:t}),r}checkExponentialAfterUnary(e){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,{at:e.argument})}parseMaybeUnary(e,t){let r=this.state.start,n=this.state.startLoc,i=this.isContextual(96);if(i&&this.isAwaitAllowed()){this.next();let e=this.parseAwait(r,n);return t||this.checkExponentialAfterUnary(e),e}let s=this.match(34),a=this.startNode();if(pe(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let r=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){let e=a.argument;"Identifier"===e.type?this.raise(S.StrictDelete,{at:a}):this.hasPropertyAsPrivateName(e)&&this.raise(S.DeletePrivateField,{at:a})}if(!s)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,s,e);if(i){let{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?ie(e):ie(e)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(S.AwaitNotInAsyncContext,{at:n}),this.parseAwait(r,n)}return o}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,{in:this.finishNode(e,"UpdateExpression")}),e;let n=this.state.start,i=this.state.startLoc,s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;ce(this.state.type)&&!this.canInsertSemicolon();){let e=this.startNodeAt(n,i);e.operator=this.state.value,e.prefix=!1,e.argument=s,this.next(),this.checkLVal(s,{in:s=this.finishNode(e,"UpdateExpression")})}return s}parseExprSubscripts(e){let t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){let i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,r,n,i){let{type:s}=this.state;if(!n&&15===s)return this.parseBind(e,t,r,n,i);if(ve(s))return this.parseTaggedTemplateExpression(e,t,r,i);let a=!1;if(18===s){if(n&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,a);{let n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,i,n,a):(i.stop=!0,e)}}parseMember(e,t,r,n,i,s){let a=this.startNodeAt(t,r);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(134)?("Super"===e.type&&this.raise(S.SuperPrivateField,{at:r}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=s,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,r,n,i){let s=this.startNodeAt(t,r);return s.object=e,this.next(),s.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){let s=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t,r);o.callee=e;let{maybeAsyncArrow:u,optionalChainMember:l}=n;return u&&(this.expressionScope.enter(dr()),a=new wr),l&&(o.optional=i),o.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,a),this.finishCallExpression(o,l),u&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)):(u&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(o)),this.state.maybeInArrowParameters=s,o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){let i=this.startNodeAt(t,r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,{at:r}),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(S.ImportCallArity,{at:e,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(let t of e.arguments)"SpreadElement"===t.type&&this.raise(S.ImportCallSpreadArgument,{at:t});return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){let s=[],a=!0,o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){t&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(S.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),n&&this.addTrailingCommaExtraToNode(n),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=o,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingCommaLoc),t.innerComments&&Ot(e,t.innerComments),t.callee.trailingComments&&Ot(e,t.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(S.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 130:return this.parseNumericLiteral(this.state.value);case 131:return this.parseBigIntLiteral(this.state.value);case 132:return this.parseDecimalLiteral(this.state.value);case 129:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 80:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;let e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(S.UnsupportedBind,{at:e})}case 134:return this.raise(S.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{let e=this.input.codePointAt(this.nextTokenStart());if(_e(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(Q(r)){if(this.isContextual(123)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();let e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){let{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(Q(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(90===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){let r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=c(this.state.endLoc,-1),this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){let t=this.startNode(),r=this.state.startLoc,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise("smart"===r?S.PrimaryTopicNotAllowed:S.PipeTopicUnbound,{at:t}),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(S.PipeTopicUnconfiguredToken,{at:t,token:fe(n)})}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:fe(r)}]);case"smart":return 27===r;default:throw this.raise(S.PipeTopicRequiresHackPipes,{at:t})}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(xr(!0,this.prodParam.hasYield));let t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();let r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(gr),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(S.UnexpectedSuper,{at:e}):this.raise(S.SuperNotAllowed,{at:e}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(S.UnsupportedSuper,{at:e}),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),t=this.startNodeAt(this.state.start+1,new u(this.state.curLine,this.state.start+1-this.state.lineStart,this.state.start+1)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;let n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(S.UnsupportedMetaProperty,{at:e.property,target:t.name,onlyValidPropertyName:r}),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){let t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(S.ImportMetaOutsideModule,{at:t}),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){let r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){let t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let t,r=this.state.start,n=this.state.startLoc;this.next(),this.expressionScope.enter(hr());let i=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a,o,u=this.state.start,l=this.state.startLoc,c=[],p=new wr,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===p.optionalParametersLoc?null:p.optionalParametersLoc),this.match(11)){o=this.state.startLoc;break}if(this.match(21)){let e=this.state.start,t=this.state.startLoc;if(a=this.state.startLoc,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),!this.checkCommaAfterRest(41))break}else c.push(this.parseMaybeAssignAllowIn(p,this.parseParenItem))}let d=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=s;let f=this.startNodeAt(r,n);return e&&this.shouldParseArrow(c)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(p),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,c,!1),f):(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStartLoc),o&&this.unexpected(o),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.toReferencedListDeep(c,!0),c.length>1?(t=this.startNodeAt(u,l),t.expressions=c,this.finishNode(t,"SequenceExpression"),this.resetEndLocation(t,d)):t=c[0],this.wrapParenthesis(r,n,t))}wrapParenthesis(e,t,r){if(!this.options.createParenthesizedExpressions)return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",e),this.takeSurroundingComments(r,e,this.state.lastTokEndLoc.index),r;let n=this.startNodeAt(e,t);return n.expression=r,this.finishNode(n,"ParenthesizedExpression"),n}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let r=this.parseMetaProperty(e,t,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&this.raise(S.UnexpectedNewTarget,{at:r}),r}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(S.ImportCallNotNewExpression,{at:e.callee}):this.isOptionalChain(e.callee)?this.raise(S.OptionalChainingNoNew,{at:this.state.lastTokEndLoc}):this.eat(18)&&this.raise(S.OptionalChainingNoNew,{at:this.state.startLoc})}parseTemplateElement(e){let{start:t,startLoc:r,end:n,value:i}=this.state,s=t+1,a=this.startNodeAt(s,c(r,1));null===i&&(e||this.raise(S.InvalidEscapeSequenceTemplate,{at:c(r,2)}));let o=this.match(24),u=o?-1:-2,l=n+u;return a.value={raw:this.input.slice(s,l).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,u)},a.tail=o,this.next(),this.finishNode(a,"TemplateElement"),this.resetEndLocation(a,c(this.state.lastTokEndLoc,u)),a}parseTemplate(e){let t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=Object.create(null),a=!0,o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(o);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(S.InvalidRecordProperty,{at:i}),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let u="ObjectExpression";return t?u="ObjectPattern":r&&(u="RecordExpression"),this.finishNode(o,u)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStart),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)t.push(this.parseDecorator());let r,n,i=this.startNode(),s=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(i.decorators=t,t=[]),i.method=!1,e&&(r=this.state.start,n=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let u=this.state.containsEsc,l=this.parsePropertyName(i,e);if(!o&&!u&&this.maybeAsyncOrAccessorProp(i)){let e=l.name;"async"===e&&!this.hasPrecedingLineBreak()&&(s=!0,this.resetPreviousNodeTrailingComments(l),o=this.eat(55),this.parsePropertyName(i)),("get"===e||"set"===e)&&(a=!0,this.resetPreviousNodeTrailingComments(l),i.kind=e,this.match(55)&&(o=!0,this.raise(S.AccessorIsGenerator,{at:this.state.curPosition(),kind:e}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,r,n,o,s,!1,a,e),i}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;let r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e);n.length!==r&&this.raise("get"===e.kind?S.BadGetterArity:S.BadSetterArity,{at:e}),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(S.BadSetterRestParameter,{at:e})}parseObjectMethod(e,t,r,n,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,n,i){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),n)e.value=this.parseMaybeDefault(t,r,_r(e.key));else if(this.match(29)){let n=this.state.startLoc;null!=i?null===i.shorthandAssignLoc&&(i.shorthandAssignLoc=n):this.raise(S.InvalidCoverInitializedName,{at:n}),e.value=this.parseMaybeDefault(t,r,_r(e.key))}else e.value=_r(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,s,a,o){let u=this.parseObjectMethod(e,n,i,s,a)||this.parseObjectProperty(e,t,r,s,o);return u||this.unexpected(),u}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let r,{type:n,value:i}=this.state;if(te(n))r=this.parseIdentifier(!0);else switch(n){case 130:r=this.parseNumericLiteral(i);break;case 129:r=this.parseStringLiteral(i);break;case 131:r=this.parseBigIntLiteral(i);break;case 132:r=this.parseDecimalLiteral(i);break;case 134:{let e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(S.UnexpectedPrivateField,{at:e}),r=this.parsePrivateName();break}default:throw this.unexpected()}e.key=r,134!==n&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,s){let a=arguments.length>6&&void 0!==arguments[6]&&arguments[6];this.initFunction(e,r),e.generator=!!t;let o=n;return this.scope.enter($e|qe|(a?Ze:0)|(i?Ke:0)),this.prodParam.enter(xr(r,e.generator)),this.parseFunctionParams(e,o),this.parseFunctionBodyAndFinish(e,s,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter($e|We);let i=xr(r,!1);!this.match(5)&&this.prodParam.hasIn&&(i|=br),this.prodParam.enter(i),this.initFunction(e,r);let s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){this.toAssignableList(t,r,!1),e.params=t}parseFunctionBodyAndFinish(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t&&!this.match(5);if(this.expressionScope.enter(fr()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{let n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|vr),e.body=this.parseBlock(!0,!1,(i=>{let s=!this.isSimpleParamList(e.params);i&&s&&this.raise(S.IllegalLanguageModeDirective,{at:"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end});let a=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,a),this.state.strict&&e.id&&this.checkIdentifier(e.id,vt,a)})),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,r=e.length;t3&&void 0!==arguments[3])||arguments[3],i=!t&&new Set,s={type:"FormalParameters"};for(let t of e.params)this.checkLVal(t,{in:s,binding:pt,checkClashes:i,strictModeChanged:n})}parseExprList(e,t,r,n){let i=[],s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addTrailingCommaExtraToNode(n),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(S.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),n=null;else if(this.match(21)){let e=this.state.start,r=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(S.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});let e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}parseIdentifier(e){let t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r,{startLoc:n,type:i}=this.state;if(!te(i))throw this.unexpected();r=this.state.value;let s=ee(i);return t?s&&this.replaceToken(128):this.checkReservedWord(r,n,s,!1),this.next(),r}checkReservedWord(e,t,r,n){if(!(e.length>10)&&ze(e)){if("yield"===e){if(this.prodParam.hasYield)return void this.raise(S.YieldBindingIdentifier,{at:t})}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(S.AwaitBindingIdentifier,{at:t});if(this.scope.inStaticBlock)return void this.raise(S.AwaitBindingIdentifierInStaticBlock,{at:t});this.expressionScope.recordAsyncArrowParametersError({at:t})}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(S.ArgumentsInClass,{at:t});r&&Le(e)?this.raise(S.UnexpectedKeyword,{at:t,keyword:e}):(this.state.strict?n?je:Oe:Ie)(e,this.inModule)&&this.raise(S.UnexpectedReservedWord,{at:t,reservedWord:e})}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(e,t){let r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,{at:r}),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,{at:r}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return 53===e||10===e||0===e||ve(e)||133===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(){let e=this.startNode();this.expressionScope.recordParameterInitializerError(S.YieldInParameter,{at:e}),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(55),this.state.type){case 13:case 135:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(S.PipelineHeadSequenceExpression,{at:t})}parseSmartPipelineBodyInStyle(e,t,r){let n=this.startNodeAt(t,r);return this.isSimpleReference(e)?(n.callee=e,this.finishNode(n,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(r),n.expression=e,this.finishNode(n,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,{at:e})}withTopicBindingContext(e){let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{let t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){let t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){let t=this.prodParam.currentFlags();if(br&~t){this.prodParam.enter(t|br);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let t=this.prodParam.currentFlags();if(br&t){this.prodParam.enter(t&~br);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.eat(5);let t=this.initializeScopes(!0);this.enterInitialScopes();let r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}},xn={kind:"loop"},En={kind:"switch"},wn=0,Cn=1,An=2,Sn=4,_n=/[\uD800-\uDFFF]/u,kn=/in(?:stanceof)?/y;function Tn(e,t){for(let r=0;r1&&void 0!==arguments[1]?arguments[1]:135,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.options.sourceType;if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[e,t]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,{at:t,localName:e});return this.finishNode(e,"Program")}stmtToDirective(e){let t=e;t.type="Directive",t.value=t.expression,delete t.expression;let r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(99)&&this.isLetKeyword(e)}isLetKeyword(e){let t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(_e(r)){if(kn.lastIndex=t,kn.test(this.input)){let e=this.codePointAtPos(kn.lastIndex);if(!ke(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r,n=this.state.type,i=this.startNode();switch(this.isLet(e)&&(n=74,r="let"),n){case 60:return this.parseBreakContinueStatement(i,!0);case 63:return this.parseBreakContinueStatement(i,!1);case 64:return this.parseDebuggerStatement(i);case 90:return this.parseDoStatement(i);case 91:return this.parseForStatement(i);case 68:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(S.StrictFunction,{at:this.state.startLoc}):"if"!==e&&"label"!==e&&this.raise(S.SloppyFunction,{at:this.state.startLoc})),this.parseFunctionStatement(i,!1,!e);case 80:return e&&this.unexpected(),this.parseClass(i,!0);case 69:return this.parseIfStatement(i);case 70:return this.parseReturnStatement(i);case 71:return this.parseSwitchStatement(i);case 72:return this.parseThrowStatement(i);case 73:return this.parseTryStatement(i);case 75:case 74:return r=r||this.state.value,e&&"var"!==r&&this.raise(S.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(i,r);case 92:return this.parseWhileStatement(i);case 76:return this.parseWithStatement(i);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(i);case 83:{let e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return!this.options.allowImportExportEverywhere&&!t&&this.raise(S.UnexpectedImportExport,{at:this.state.startLoc}),this.next(),83===n?(e=this.parseImport(i),"ImportDeclaration"===e.type&&(!e.importKind||"value"===e.importKind)&&(this.sawUnambiguousESM=!0)):(e=this.parseExport(i),("ExportNamedDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportAllDeclaration"===e.type&&(!e.exportKind||"value"===e.exportKind)||"ExportDefaultDeclaration"===e.type)&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(i),e}default:if(this.isAsyncFunction())return e&&this.raise(S.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(i,!0,!e)}let s=this.state.value,a=this.parseExpression();return Q(n)&&"Identifier"===a.type&&this.eat(14)?this.parseLabeledStatement(i,s,a,e):this.parseExpressionStatement(i,a)}assertModuleNodeAllowed(e){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(S.ImportOutsideModule,{at:e})}takeDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){let e=this.parseDecorator();t.push(e)}if(this.match(82))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(S.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,{at:this.state.startLoc})}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);let t,r=this.state.start,n=this.state.startLoc;if(this.match(10)){let e=this.state.start,r=this.state.startLoc;this.next(),t=this.parseExpression(),this.expect(11),t=this.wrapParenthesis(e,r,t)}else for(t=this.parseIdentifier(!1);this.eat(16);){let e=this.startNodeAt(r,n);e.object=t,e.property=this.parseIdentifier(!0),e.computed=!1,t=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(t),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){let t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;rthis.parseStatement("do"))),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(xn);let t=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(t=this.state.lastTokStartLoc),this.scope.enter(Ue),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);let r=this.isContextual(99),n=r&&this.isLetKeyword();if(this.match(74)||this.match(75)||n){let r=this.startNode(),i=n?"let":this.state.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.match(58)||this.isContextual(101))&&1===r.declarations.length?this.parseForIn(e,r,t):(null!==t&&this.unexpected(t),this.parseFor(e,r))}let i=this.isContextual(95),s=new wr,a=this.parseExpression(!0,s),o=this.isContextual(101);if(o&&(r&&this.raise(S.ForOfLet,{at:a}),null===t&&i&&"Identifier"===a.type&&this.raise(S.ForOfAsync,{at:a})),o||this.match(58)){this.checkDestructuringPrivate(s),this.toAssignable(a,!0);let r=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{in:{type:r}}),this.parseForIn(e,a,t)}return this.checkExpressionErrors(s,!0),null!==t&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,Cn|(r?0:An),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(66)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(S.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let t,r=e.cases=[];this.expect(5),this.state.labels.push(En),this.scope.enter(Ue);for(let e;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);t&&this.finishNode(t,"SwitchCase"),r.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(e&&this.raise(S.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),e=!0,t.test=null),this.expect(14)}else t?t.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?He:0),this.checkLVal(e,{in:{type:"CatchClause"},binding:ct,allowingSloppyLetBinding:!0}),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(Ue)),t.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(S.NoCatchOrFinally,{at:e}),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(xn),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("while"))),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(S.StrictWith,{at:this.state.startLoc}),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("with"))),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(let e of this.state.labels)e.name===t&&this.raise(S.LabelRedeclaration,{at:r,labelName:t});let i=oe(this.state.type)?"loop":this.match(71)?"switch":null;for(let t=this.state.labels.length-1;t>=0;t--){let r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=i}return this.state.labels.push({name:t,kind:i,statementStart:this.state.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(Ue),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){let s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){let s=this.state.strict,a=!1,o=!1;for(;!this.match(n);){let n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){let e=this.stmtToDirective(n);t.push(e),!a&&"use strict"===e.value.value&&(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){let n=this.match(58);return this.next(),n?null!==r&&this.unexpected(r):e.await=null!==r,"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!n||this.state.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(S.ForInOfLoopInitializer,{at:t,type:n?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(S.InvalidLhs,{at:t,ancestor:{type:"ForStatement"}}),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement("for"))),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.declarations=[];for(e.kind=r;;){let e=this.startNode();if(this.parseVarId(e,r),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null===e.init&&!n&&("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(101))?"const"===r&&!(this.match(58)||this.isContextual(101))&&this.raise(S.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"}):this.raise(S.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"})),i.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,{in:{type:"VariableDeclarator"},binding:"var"===t?pt:ct})}parseFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:wn,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t&Cn,i=t&An,s=!(!n||t&Sn);this.initFunction(e,r),this.match(55)&&i&&this.raise(S.GeneratorInSingleStatementContext,{at:this.state.startLoc}),e.generator=this.eat(55),n&&(e.id=this.parseFunctionId(s));let a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter($e),this.prodParam.enter(xr(r,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),n&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||Q(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(pr()),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){!e.id||this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?pt:ct:ht,e.id.loc.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);let n=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();let r={hadConstructor:!1,hadSuperClass:e},n=[],i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(S.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){n.push(this.parseDecorator());continue}let e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(S.DecoratorConstructor,{at:e})}})),this.state.strict=t,this.next(),n.length)throw this.raise(S.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){let r=this.parseIdentifier(!0);if(this.isClassMethod()){let n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){let n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){let n=this.isContextual(104);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){let i=t,s=t,a=t,o=t,u=t,l=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";let t=this.match(134);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(S.ConstructorIsGenerator,{at:i.key}),void this.pushClassMethod(e,i,!0,!1,!1,!1))}let p=Q(this.state.type)&&!this.state.containsEsc,h=this.match(134),d=this.parseClassElementName(t),f=this.state.startLoc;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",h)return void this.pushClassPrivateMethod(e,s,!1,!1);let n=this.isNonstaticConstructor(i),a=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,{at:d}),n&&this.hasPlugin("typescript")&&t.override&&this.raise(S.OverrideOnConstructor,{at:d}),r.hadConstructor=!0,a=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,a)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(p&&"async"===d.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(d);let t=this.eat(55);c.optional&&this.unexpected(f),l.kind="method";let r=this.match(134);this.parseClassElementName(l),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(S.ConstructorIsAsync,{at:i.key}),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!p||"get"!==d.name&&"set"!==d.name||this.match(55)&&this.isLineTerminator())if(p&&"accessor"===d.name&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(d);let t=this.match(134);this.parseClassElementName(a),this.pushClassAccessorProperty(e,u,t)}else this.isLineTerminator()?h?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{this.resetPreviousNodeTrailingComments(d),l.kind=d.name;let t=this.match(134);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(S.ConstructorIsAccessor,{at:i.key}),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){let{type:t,value:r}=this.state;if((128===t||129===t)&&e.static&&"prototype"===r&&this.raise(S.StaticPrototype,{at:this.state.startLoc}),134===t){"constructor"===r&&this.raise(S.ConstructorClassPrivateField,{at:this.state.startLoc});let t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(Ze|Ge|qe);let n=this.state.labels;this.state.labels=[],this.prodParam.enter(mr);let i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(S.DecoratorStaticBlock,{at:t})}pushClassProperty(e,t){!t.computed&&("constructor"===t.key.name||"constructor"===t.key.value)&&this.raise(S.ConstructorClassField,{at:t.key}),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){let r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),Ft,r.key.loc.start)}pushClassAccessorProperty(e,t,r){if(!r&&!t.computed){let e=t.key;("constructor"===e.name||"constructor"===e.value)&&this.raise(S.ConstructorClassField,{at:e})}let n=this.parseClassAccessorProperty(t);e.body.push(n),r&&this.classScope.declarePrivateName(this.getPrivateNameSV(n.key),Ft,n.key.loc.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){let i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);let s="get"===i.kind?i.static?St:kt:"set"===i.kind?i.static?_t:Tt:Ft;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(Ze|qe),this.expressionScope.enter(fr()),this.prodParam.enter(mr),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:lt;if(Q(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,n);else{if(!r&&t)throw this.raise(S.MissingClassName,{at:this.state.startLoc});e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e){let t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),s=r&&(!i||this.eat(12)),a=t||n;if(n&&!i)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");let o,u=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!n&&!u||i&&s&&!u)throw this.unexpected(null,5);if(a||u?(o=!1,this.parseExportFrom(e,a)):o=this.maybeParseExportDeclaration(e),a||u||o)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(65))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");let t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){e.specifiers||(e.specifiers=[]);let t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);let t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenStart();return!Lt.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode(),t=this.isAsyncFunction();if(this.match(68)||t)return this.next(),t&&this.next(),this.parseFunction(e,Cn|Sn,t);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(S.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(S.UnsupportedDefaultExport,{at:this.state.startLoc});let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){let{type:e}=this.state;if(Q(e)){if(95===e&&!this.state.containsEsc||99===e)return!1;if((126===e||125===e)&&!this.state.containsEsc){let{type:e}=this.lookahead();if(Q(e)&&97!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||Q(this.state.type)&&r)return!0;if(this.match(65)&&r){let e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(97)){e.source=this.parseImportSource(),this.checkExport(e);let t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(this.getPluginOption("decorators","decoratorsBeforeExport"))throw this.raise(S.DecoratorBeforeExport,{at:this.state.startLoc});return!0}return 74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;let t=e.declaration;"Identifier"===t.type&&"from"===t.name&&t.end-t.start==4&&(null==(i=t.extra)||!i.parenthesized)&&this.raise(S.ExportDefaultFromAsIdentifier,{at:t})}}else if(e.specifiers&&e.specifiers.length)for(let t of e.specifiers){let{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!n&&t.local){let{local:e}=t;"Identifier"!==e.type?this.raise(S.ExportBindingIsString,{at:t,localName:e.value,exportName:r}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){let t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(let t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(S.UnsupportedDecoratorExport,{at:e})}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(let t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(let t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(S.DuplicateDefaultExport,{at:e}):this.raise(S.DuplicateExport,{at:e,exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){let t=[],r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;let n=this.isContextual(126),i=this.match(129),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=kr(e.local):e.exported||(e.exported=_r(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(129)){let e=this.parseStringLiteral(this.state.value),t=e.value.match(_n);return t&&this.raise(S.ModuleExportNameHasLoneSurrogate,{at:e,surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(129)){let t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(97)}e.source=this.parseImportSource();let t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{let t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(129)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return Q(this.state.type)}parseImportSpecifierLocal(e,t,r){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,r))}finishImportSpecifier(e,t){return this.checkLVal(e.local,{in:e,binding:ct}),this.finishNode(e,t)}parseAssertEntries(){let e=[],t=new Set;do{if(this.match(8))break;let r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(S.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:n}),t.add(n),this.match(129)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(129))throw this.raise(S.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(76)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();let e=[],t=new Set;do{let r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(S.ModuleAttributeDifferentFromType,{at:r.key}),t.has(r.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,{at:r.key,key:r.key.name}),t.add(r.key.name),this.expect(14),!this.match(129))throw this.raise(S.ModuleAttributeInvalidValue,{at:this.state.startLoc});r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(94)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);let e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){let t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}let r=this.startNode(),n=this.match(129),i=this.isContextual(126);r.imported=this.parseModuleExportName();let s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:r}=e;if(t)throw this.raise(S.ImportBindingIsString,{at:e,importName:r.value});this.checkReservedWord(r.name,e.loc.start,!0,!0),e.local||(e.local=_r(r))}return this.finishImportSpecifier(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}},Pn=class extends Fn{constructor(e,t){super(e=yn(e),t),this.options=e,this.initializeScopes(),this.plugins=Nn(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return Qt}parse(){this.enterInitialScopes();let e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}};function Nn(e){let t=new Map;for(let r of e){let[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}function In(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Ln(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";let r=Ln(t,e),n=r.parse();if(r.sawUnambiguousESM)return n;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Ln(t,e).parse()}catch{}else n.program.sourceType="script";return n}catch(r){try{return t.sourceType="script",Ln(t,e).parse()}catch{}throw r}}function On(e,t){let r=Ln(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function Bn(e){let t={};for(let r of Object.keys(e))t[r]=be(e[r]);return t}var jn=Bn(X);function Ln(e,t){let r=Pn;return null!=e&&e.plugins&&(hn(e.plugins),r=Rn(e.plugins)),new r(e,t)}var Mn={};function Rn(e){let t=fn.filter((t=>on(e,t))),r=t.join("/"),n=Mn[r];if(!n){n=Pn;for(let e of t)n=dn[e](n);Mn[r]=n}return n}e.parse=In,e.parseExpression=On,e.tokTypes=jn}}),ce=d({"src/language-js/parse/json.js"(e,t){g();var r=J(),n=Q(),i=X(),s=ee();function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{allowComments:t=!0}=e;return function(e){let n,{parseExpression:i}=le();try{n=i(e,{tokens:!0,ranges:!0})}catch(e){throw s(e)}if(!t&&r(n.comments))throw o(n.comments[0],"Comment");return u(n),n}}function o(e,t){let[r,i]=[e.loc.start,e.loc.end].map((e=>{let{line:t,column:r}=e;return{line:t,column:r+1}}));return n("".concat(t," is not allowed in JSON."),{start:r,end:i})}function u(e){switch(e.type){case"ArrayExpression":for(let t of e.elements)null!==t&&u(t);return;case"ObjectExpression":for(let t of e.properties)u(t);return;case"ObjectProperty":if(e.computed)throw o(e.key,"Computed key");if(e.shorthand)throw o(e.key,"Shorthand property");return"Identifier"!==e.key.type&&u(e.key),void u(e.value);case"UnaryExpression":{let{operator:t,argument:r}=e;if("+"!==t&&"-"!==t)throw o(e,"Operator '".concat(e.operator,"'"));if("NumericLiteral"===r.type||"Identifier"===r.type&&("Infinity"===r.name||"NaN"===r.name))return;throw o(r,"Operator '".concat(t,"' before '").concat(r.type,"'"))}case"Identifier":if("Infinity"!==e.name&&"NaN"!==e.name&&"undefined"!==e.name)throw o(e,"Identifier '".concat(e.name,"'"));return;case"TemplateLiteral":if(r(e.expressions))throw o(e.expressions[0],"'TemplateLiteral' with expression");for(let t of e.quasis)u(t);return;case"NullLiteral":case"BooleanLiteral":case"NumericLiteral":case"StringLiteral":case"TemplateElement":return;default:throw o(e,"'".concat(e.type,"'"))}}var l=a(),c={json:i({parse:l,hasPragma:()=>!0}),json5:i(l),"json-stringify":i({parse:a({allowComments:!1}),astFormat:"estree-json"})};t.exports=c}});g();var he=v(),de=b(),fe=C(),me=X(),ye=ee(),ge=ue(),ve=ce(),be={sourceType:"module",allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,allowUndeclaredExports:!0,errorRecovery:!0,createParenthesizedExpressions:!0,plugins:["doExpressions","exportDefaultFrom","functionBind","functionSent","throwExpressions","partialApplication",["decorators",{decoratorsBeforeExport:!1}],"importAssertions","decimal","moduleBlocks","asyncDoExpressions","regexpUnicodeSets","destructuringPrivate","decoratorAutoAccessors"],tokens:!0,ranges:!0},xe=["recordAndTuple",{syntaxType:"hash"}],Ee="v8intrinsic",we=[["pipelineOperator",{proposal:"hack",topicToken:"%"}],["pipelineOperator",{proposal:"minimal"}],["pipelineOperator",{proposal:"fsharp"}]],Ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:be;return Object.assign(Object.assign({},t),{},{plugins:[...t.plugins,...e]})},Ae=/@(?:no)?flow\b/;function Se(e,t){if(t.filepath&&t.filepath.endsWith(".js.flow"))return!0;let r=de(e);r&&(e=e.slice(r.length));let n=fe(e,0);return!1!==n&&(e=e.slice(0,n)),Ae.test(e)}function _e(e,t,r){let n=le()[e](t,r),i=n.errors.find((e=>!Be.has(e.reasonCode)));if(i)throw i;return n}function ke(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:{};if(("babel"===i.parser||"__babel_estree"===i.parser)&&Se(t,i))return i.parser="babel-flow",Fe(t,n,i);let s=r;"script"===i.__babelSourceType&&(s=s.map((e=>Object.assign(Object.assign({},e),{},{sourceType:"script"})))),/#[[{]/.test(t)&&(s=s.map((e=>Ce([xe],e))));let a=/%[A-Z]/.test(t);t.includes("|>")?s=(a?[...we,Ee]:we).flatMap((e=>s.map((t=>Ce([e],t))))):a&&(s=s.map((e=>Ce([Ee],e))));let{result:o,error:u}=he(...s.map((r=>()=>_e(e,t,r))));if(!o)throw ye(u);return i.originalText=t,ge(o,i)}}var Te=ke("parse",Ce(["jsx","flow"])),Fe=ke("parse",Ce(["jsx",["flow",{all:!0,enums:!0}]])),Pe=ke("parse",Ce(["jsx","typescript"]),Ce(["typescript"])),Ne=ke("parse",Ce(["jsx","flow","estree"])),Ie=ke("parseExpression",Ce(["jsx"])),Oe=ke("parseExpression",Ce(["typescript"])),Be=new Set(["StrictNumericEscape","StrictWith","StrictOctalLiteral","StrictDelete","StrictEvalArguments","StrictEvalArgumentsBinding","StrictFunction","EmptyTypeArguments","EmptyTypeParameters","ConstructorHasTypeParameters","UnsupportedParameterPropertyKind","UnexpectedParameterModifier","MixedLabeledAndUnlabeledElements","InvalidTupleMemberLabel","NonClassMethodPropertyHasAbstractModifer","ReadonlyForMethodSignature","ClassMethodHasDeclare","ClassMethodHasReadonly","InvalidModifierOnTypeMember","DuplicateAccessibilityModifier","IndexSignatureHasDeclare","DecoratorExportClass","ParamDupe","InvalidDecimal","RestTrailingComma","UnsupportedParameterDecorator","UnterminatedJsxContent","UnexpectedReservedWord","ModuleAttributesWithDuplicateKeys","LineTerminatorBeforeArrow","InvalidEscapeSequenceTemplate","NonAbstractClassHasAbstractMethod","UnsupportedPropertyDecorator","OptionalTypeBeforeRequired","PatternIsOptional","OptionalBindingPattern","DeclareClassFieldHasInitializer","TypeImportCannotSpecifyDefaultAndNamed","DeclareFunctionHasImplementation","ConstructorClassField","VarRedeclaration","InvalidPrivateFieldResolution","DuplicateExport"]),je=me(Te),Le=me(Pe),Me=me(Ie),Re=me(Oe);t.exports={parsers:Object.assign(Object.assign({babel:je,"babel-flow":me(Fe),"babel-ts":Le},ve),{},{__js_expression:Me,__vue_expression:Me,__vue_ts_expression:Re,__vue_event_binding:je,__vue_ts_event_binding:Le,__babel_estree:me(Ne)})}}));return xe()}()},73945:(e,t,r)=>{var n,i,s;e.exports=function(){"use strict";var a=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),o=a(((e,t)=>{var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()})),u=a(((e,t)=>{t.exports=function(e){try{return!!e()}catch{return!0}}})),l=a(((e,t)=>{var r=u();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),c=a(((e,t)=>{var r=u();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),p=a(((e,t)=>{var r=c(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),h=a((e=>{var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),d=a(((e,t)=>{t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),f=a(((e,t)=>{var r=c(),n=Function.prototype,i=n.bind,s=n.call,a=r&&i.bind(s,s);t.exports=r?function(e){return e&&a(e)}:function(e){return e&&function(){return s.apply(e,arguments)}}})),m=a(((e,t)=>{var r=f(),n=r({}.toString),i=r("".slice);t.exports=function(e){return i(n(e),8,-1)}})),y=a(((e,t)=>{var r=o(),n=f(),i=u(),s=m(),a=r.Object,l=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==s(e)?l(e,""):a(e)}:a})),g=a(((e,t)=>{var r=o().TypeError;t.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}})),v=a(((e,t)=>{var r=y(),n=g();t.exports=function(e){return r(n(e))}})),b=a(((e,t)=>{t.exports=function(e){return"function"==typeof e}})),D=a(((e,t)=>{var r=b();t.exports=function(e){return"object"==typeof e?null!==e:r(e)}})),x=a(((e,t)=>{var r=o(),n=b(),i=function(e){return n(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}})),E=a(((e,t)=>{var r=f();t.exports=r({}.isPrototypeOf)})),w=a(((e,t)=>{var r=x();t.exports=r("navigator","userAgent")||""})),C=a(((e,t)=>{var r,n,i=o(),s=w(),a=i.process,u=i.Deno,l=a&&a.versions||u&&u.version,c=l&&l.v8;c&&(n=(r=c.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),A=a(((e,t)=>{var r=C(),n=u();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),S=a(((e,t)=>{var r=A();t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator})),_=a(((e,t)=>{var r=o(),n=x(),i=b(),s=E(),a=S(),u=r.Object;t.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&s(t.prototype,u(e))}})),k=a(((e,t)=>{var r=o().String;t.exports=function(e){try{return r(e)}catch{return"Object"}}})),T=a(((e,t)=>{var r=o(),n=b(),i=k(),s=r.TypeError;t.exports=function(e){if(n(e))return e;throw s(i(e)+" is not a function")}})),F=a(((e,t)=>{var r=T();t.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}})),P=a(((e,t)=>{var r=o(),n=p(),i=b(),s=D(),a=r.TypeError;t.exports=function(e,t){var r,o;if("string"===t&&i(r=e.toString)&&!s(o=n(r,e))||i(r=e.valueOf)&&!s(o=n(r,e))||"string"!==t&&i(r=e.toString)&&!s(o=n(r,e)))return o;throw a("Can't convert object to primitive value")}})),N=a(((e,t)=>{t.exports=!1})),I=a(((e,t)=>{var r=o(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch{r[e]=t}return t}})),O=a(((e,t)=>{var r=o(),n=I(),i="__core-js_shared__",s=r[i]||n(i,{});t.exports=s})),B=a(((e,t)=>{var r=N(),n=O();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.2",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})})),j=a(((e,t)=>{var r=o(),n=g(),i=r.Object;t.exports=function(e){return i(n(e))}})),L=a(((e,t)=>{var r=f(),n=j(),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return i(n(e),t)}})),M=a(((e,t)=>{var r=f(),n=0,i=Math.random(),s=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++n+i,36)}})),R=a(((e,t)=>{var r=o(),n=B(),i=L(),s=M(),a=A(),u=S(),l=n("wks"),c=r.Symbol,p=c&&c.for,h=u?c:c&&c.withoutSetter||s;t.exports=function(e){if(!i(l,e)||!a&&"string"!=typeof l[e]){var t="Symbol."+e;a&&i(c,e)?l[e]=c[e]:l[e]=u&&p?p(t):h(t)}return l[e]}})),z=a(((e,t)=>{var r=o(),n=p(),i=D(),s=_(),a=F(),u=P(),l=R(),c=r.TypeError,h=l("toPrimitive");t.exports=function(e,t){if(!i(e)||s(e))return e;var r,o=a(e,h);if(o){if(void 0===t&&(t="default"),r=n(o,e,t),!i(r)||s(r))return r;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}})),U=a(((e,t)=>{var r=z(),n=_();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),V=a(((e,t)=>{var r=o(),n=D(),i=r.document,s=n(i)&&n(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}})),$=a(((e,t)=>{var r=l(),n=u(),i=V();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))})),W=a((e=>{var t=l(),r=p(),n=h(),i=d(),s=v(),a=U(),o=L(),u=$(),c=Object.getOwnPropertyDescriptor;e.f=t?c:function(e,t){if(e=s(e),t=a(t),u)try{return c(e,t)}catch{}if(o(e,t))return i(!r(n.f,e,t),e[t])}})),H=a(((e,t)=>{var r=l(),n=u();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),q=a(((e,t)=>{var r=o(),n=D(),i=r.String,s=r.TypeError;t.exports=function(e){if(n(e))return e;throw s(i(e)+" is not an object")}})),K=a((e=>{var t=o(),r=l(),n=$(),i=H(),s=q(),a=U(),u=t.TypeError,c=Object.defineProperty,p=Object.getOwnPropertyDescriptor,h="enumerable",d="configurable",f="writable";e.f=r?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&f in r&&!r[f]){var n=p(e,t);n&&n[f]&&(e[t]=r.value,r={configurable:d in r?r[d]:n[d],enumerable:h in r?r[h]:n[h],writable:!1})}return c(e,t,r)}:c:function(e,t,r){if(s(e),t=a(t),s(r),n)try{return c(e,t,r)}catch{}if("get"in r||"set"in r)throw u("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),Z=a(((e,t)=>{var r=l(),n=K(),i=d();t.exports=r?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}})),G=a(((e,t)=>{var r=f(),n=b(),i=O(),s=r(Function.toString);n(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),t.exports=i.inspectSource})),J=a(((e,t)=>{var r=o(),n=b(),i=G(),s=r.WeakMap;t.exports=n(s)&&/native code/.test(i(s))})),Y=a(((e,t)=>{var r=B(),n=M(),i=r("keys");t.exports=function(e){return i[e]||(i[e]=n(e))}})),X=a(((e,t)=>{t.exports={}})),Q=a(((e,t)=>{var r,n,i,s,a,u,l,c,p=J(),h=o(),d=f(),m=D(),y=Z(),g=L(),v=O(),b=Y(),x=X(),E="Object already initialized",w=h.TypeError,C=h.WeakMap,A=function(e){return i(e)?n(e):r(e,{})},S=function(e){return function(t){var r;if(!m(t)||(r=n(t)).type!==e)throw w("Incompatible receiver, "+e+" required");return r}};p||v.state?(s=v.state||(v.state=new C),a=d(s.get),u=d(s.has),l=d(s.set),r=function(e,t){if(u(s,e))throw new w(E);return t.facade=e,l(s,e,t),t},n=function(e){return a(s,e)||{}},i=function(e){return u(s,e)}):(x[c=b("state")]=!0,r=function(e,t){if(g(e,c))throw new w(E);return t.facade=e,y(e,c,t),t},n=function(e){return g(e,c)?e[c]:{}},i=function(e){return g(e,c)}),t.exports={set:r,get:n,has:i,enforce:A,getterFor:S}})),ee=a(((e,t)=>{var r=l(),n=L(),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=n(i,"name"),o=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:o,CONFIGURABLE:u}})),te=a(((e,t)=>{var r=o(),n=b(),i=L(),s=Z(),a=I(),u=G(),l=Q(),c=ee().CONFIGURABLE,p=l.get,h=l.enforce,d=String(String).split("String");(t.exports=function(e,t,o,u){var l,p=!!u&&!!u.unsafe,f=!!u&&!!u.enumerable,m=!!u&&!!u.noTargetGet,y=u&&void 0!==u.name?u.name:t;n(o)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(o,"name")||c&&o.name!==y)&&s(o,"name",y),(l=h(o)).source||(l.source=d.join("string"==typeof y?y:""))),e!==r?(p?!m&&e[t]&&(f=!0):delete e[t],f?e[t]=o:s(e,t,o)):f?e[t]=o:a(t,o)})(Function.prototype,"toString",(function(){return n(this)&&p(this).source||u(this)}))})),re=a(((e,t)=>{var r=Math.ceil,n=Math.floor;t.exports=function(e){var t=+e;return t!=t||0===t?0:(t>0?n:r)(t)}})),ne=a(((e,t)=>{var r=re(),n=Math.max,i=Math.min;t.exports=function(e,t){var s=r(e);return s<0?n(s+t,0):i(s,t)}})),ie=a(((e,t)=>{var r=re(),n=Math.min;t.exports=function(e){return e>0?n(r(e),9007199254740991):0}})),se=a(((e,t)=>{var r=ie();t.exports=function(e){return r(e.length)}})),ae=a(((e,t)=>{var r=v(),n=ne(),i=se(),s=function(e){return function(t,s,a){var o,u=r(t),l=i(u),c=n(a,l);if(e&&s!=s){for(;l>c;)if((o=u[c++])!=o)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===s)return e||c||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}})),oe=a(((e,t)=>{var r=f(),n=L(),i=v(),s=ae().indexOf,a=X(),o=r([].push);t.exports=function(e,t){var r,u=i(e),l=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&o(c,r);for(;t.length>l;)n(u,r=t[l++])&&(~s(c,r)||o(c,r));return c}})),ue=a(((e,t)=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),le=a((e=>{var t=oe(),r=ue().concat("length","prototype");e.f=Object.getOwnPropertyNames||function(e){return t(e,r)}})),ce=a((e=>{e.f=Object.getOwnPropertySymbols})),pe=a(((e,t)=>{var r=x(),n=f(),i=le(),s=ce(),a=q(),o=n([].concat);t.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?o(t,r(e)):t}})),he=a(((e,t)=>{var r=L(),n=pe(),i=W(),s=K();t.exports=function(e,t,a){for(var o=n(t),u=s.f,l=i.f,c=0;c{var r=u(),n=b(),i=/#|\.prototype\./,s=function(e,t){var i=o[a(e)];return i==c||i!=l&&(n(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},o=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s})),fe=a(((e,t)=>{var r=o(),n=W().f,i=Z(),s=te(),a=I(),u=he(),l=de();t.exports=function(e,t){var o,c,p,h,d,f=e.target,m=e.global,y=e.stat;if(o=m?r:y?r[f]||a(f,{}):(r[f]||{}).prototype)for(c in t){if(h=t[c],p=e.noTargetGet?(d=n(o,c))&&d.value:o[c],!l(m?c:f+(y?".":"#")+c,e.forced)&&void 0!==p){if(typeof h==typeof p)continue;u(h,p)}(e.sham||p&&p.sham)&&i(h,"sham",!0),s(o,c,h,e)}}})),me=a(((e,t)=>{var r=m();t.exports=Array.isArray||function(e){return"Array"==r(e)}})),ye=a(((e,t)=>{var r=f(),n=T(),i=c(),s=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}})),ge=a(((e,t)=>{var r=o(),n=me(),i=se(),s=ye(),a=r.TypeError,u=function(e,t,r,o,l,c,p,h){for(var d,f,m=l,y=0,g=!!p&&s(p,h);y0&&n(d))f=i(d),m=u(e,t,d,f,m,c-1)-1;else{if(m>=9007199254740991)throw a("Exceed the acceptable array length");e[m]=d}m++}y++}return m};t.exports=u})),ve=a(((e,t)=>{var r={};r[R()("toStringTag")]="z",t.exports="[object z]"===String(r)})),be=a(((e,t)=>{var r=o(),n=ve(),i=b(),s=m(),a=R()("toStringTag"),u=r.Object,l="Arguments"==s(function(){return arguments}()),c=function(e,t){try{return e[t]}catch{}};t.exports=n?s:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=c(t=u(e),a))?r:l?s(t):"Object"==(n=s(t))&&i(t.callee)?"Arguments":n}})),De=a(((e,t)=>{var r=f(),n=u(),i=b(),s=be(),a=x(),o=G(),l=function(){},c=[],p=a("Reflect","construct"),h=/^\s*(?:class|function)\b/,d=r(h.exec),m=!h.exec(l),y=function(e){if(!i(e))return!1;try{return p(l,c,e),!0}catch{return!1}},g=function(e){if(!i(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return m||!!d(h,o(e))}catch{return!0}};g.sham=!0,t.exports=!p||n((function(){var e;return y(y.call)||!y(Object)||!y((function(){e=!0}))||e}))?g:y})),xe=a(((e,t)=>{var r=o(),n=me(),i=De(),s=D(),a=R()("species"),u=r.Array;t.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===u||n(t.prototype))||s(t)&&null===(t=t[a]))&&(t=void 0)),void 0===t?u:t}})),Ee=a(((e,t)=>{var r=xe();t.exports=function(e,t){return new(r(e))(0===t?0:t)}})),we=a((()=>{var e=fe(),t=ge(),r=T(),n=j(),i=se(),s=Ee();e({target:"Array",proto:!0},{flatMap:function(e){var a,o=n(this),u=i(o);return r(e),(a=s(o,0)).length=t(a,o,o,u,0,1,e,arguments.length>1?arguments[1]:void 0),a}})})),Ce=a(((e,t)=>{t.exports={}})),Ae=a(((e,t)=>{var r=R(),n=Ce(),i=r("iterator"),s=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||s[i]===e)}})),Se=a(((e,t)=>{var r=be(),n=F(),i=Ce(),s=R()("iterator");t.exports=function(e){if(null!=e)return n(e,s)||n(e,"@@iterator")||i[r(e)]}})),_e=a(((e,t)=>{var r=o(),n=p(),i=T(),s=q(),a=k(),u=Se(),l=r.TypeError;t.exports=function(e,t){var r=arguments.length<2?u(e):t;if(i(r))return s(n(r,e));throw l(a(e)+" is not iterable")}})),ke=a(((e,t)=>{var r=p(),n=q(),i=F();t.exports=function(e,t,s){var a,o;n(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw s;return s}a=r(a,e)}catch(e){o=!0,a=e}if("throw"===t)throw s;if(o)throw a;return n(a),s}})),Te=a(((e,t)=>{var r=o(),n=ye(),i=p(),s=q(),a=k(),u=Ae(),l=se(),c=E(),h=_e(),d=Se(),f=ke(),m=r.TypeError,y=function(e,t){this.stopped=e,this.result=t},g=y.prototype;t.exports=function(e,t,r){var o,p,v,b,D,x,E,w=r&&r.that,C=!(!r||!r.AS_ENTRIES),A=!(!r||!r.IS_ITERATOR),S=!(!r||!r.INTERRUPTED),_=n(t,w),k=function(e){return o&&f(o,"normal",e),new y(!0,e)},T=function(e){return C?(s(e),S?_(e[0],e[1],k):_(e[0],e[1])):S?_(e,k):_(e)};if(A)o=e;else{if(!(p=d(e)))throw m(a(e)+" is not iterable");if(u(p)){for(v=0,b=l(e);b>v;v++)if((D=T(e[v]))&&c(g,D))return D;return new y(!1)}o=h(e,p)}for(x=o.next;!(E=i(x,o)).done;){try{D=T(E.value)}catch(e){f(o,"throw",e)}if("object"==typeof D&&D&&c(g,D))return D}return new y(!1)}})),Fe=a(((e,t)=>{var r=U(),n=K(),i=d();t.exports=function(e,t,s){var a=r(t);a in e?n.f(e,a,i(0,s)):e[a]=s}})),Pe=a((()=>{var e=fe(),t=Te(),r=Fe();e({target:"Object",stat:!0},{fromEntries:function(e){var n={};return t(e,(function(e,t){r(n,e,t)}),{AS_ENTRIES:!0}),n}})})),Ne=a((()=>{fe()({global:!0},{globalThis:o()})})),Ie=a((()=>{Ne()})),Oe=a((()=>{var e=fe(),t=ge(),r=j(),n=se(),i=re(),s=Ee();e({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,a=r(this),o=n(a),u=s(a,0);return u.length=t(u,a,a,o,0,void 0===e?1:i(e)),u}})})),Be=a(((r,a)=>{var o,u,l,c,p,h,d=["cliName","cliCategory","cliDescription"],f=["_"],m=["languageId"];function y(e,t){if(null==e)return{};var r,n,i=g(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(i[r]=e[r]))}return i}function g(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n=0)&&(i[r]=e[r]);return i}function v(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}we(),Pe(),Ie(),Oe();var b,D=Object.create,x=Object.defineProperty,E=Object.getOwnPropertyDescriptor,w=Object.getOwnPropertyNames,C=Object.getPrototypeOf,A=Object.prototype.hasOwnProperty,S=(e,t)=>function(){return e&&(t=(0,e[w(e)[0]])(e=0)),t},_=(e,t)=>function(){return t||(0,e[w(e)[0]])((t={exports:{}}).exports,t),t.exports},k=(e,t)=>{for(var r in t)x(e,r,{get:t[r],enumerable:!0})},T=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of w(t))!A.call(e,i)&&i!==r&&x(e,i,{get:()=>t[i],enumerable:!(n=E(t,i))||n.enumerable});return e},F=(e,t,r)=>(r=null!=e?D(C(e)):{},T(!t&&e&&e.__esModule?r:x(r,"default",{value:e,enumerable:!0}),e)),P=e=>T(x({},"__esModule",{value:!0}),e),N=S({""(){b={env:{},argv:[]}}}),I=_({"package.json"(e,t){t.exports={version:"2.7.1"}}}),O=_({"node_modules/diff/lib/diff/base.js"(e){function t(){}function r(e,t,r,n,i){for(var s=0,a=t.length,o=0,u=0;se.length?r:e})),l.value=e.join(p)}else l.value=e.join(r.slice(o,o+l.count));o+=l.count,l.added||(u+=l.count)}}var h=t[a-1];return a>1&&"string"==typeof h.value&&(h.added||h.removed)&&e.equals("",h.value)&&(t[a-2].value+=h.value,t.pop()),t}function n(e){return{newPos:e.newPos,components:e.components.slice(0)}}N(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.prototype={diff:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.callback;"function"==typeof i&&(s=i,i={}),this.options=i;var a=this;function o(e){return s?(setTimeout((function(){s(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var u=(t=this.removeEmpty(this.tokenize(t))).length,l=e.length,c=1,p=u+l,h=[{newPos:-1,components:[]}],d=this.extractCommon(h[0],t,e,0);if(h[0].newPos+1>=u&&d+1>=l)return o([{value:this.join(t),count:t.length}]);function f(){for(var i=-1*c;i<=c;i+=2){var s=void 0,p=h[i-1],d=h[i+1],f=(d?d.newPos:0)-i;p&&(h[i-1]=void 0);var m=p&&p.newPos+1=u&&f+1>=l)return o(r(a,s.components,t,e,a.useLongestToken));h[i]=s}else h[i]=void 0}c++}if(s)!function e(){setTimeout((function(){if(c>p)return s();f()||e()}),0)}();else for(;c<=p;){var m=f();if(m)return m}},pushComponent:function(e,t,r){var n=e[e.length-1];n&&n.added===t&&n.removed===r?e[e.length-1]={count:n.count+1,added:t,removed:r}:e.push({count:1,added:t,removed:r})},extractCommon:function(e,t,r,n){for(var i=t.length,s=r.length,a=e.newPos,o=a-n,u=0;a+11&&void 0!==arguments[1]?arguments[1]:{};return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function a(e){return i(Number.NEGATIVE_INFINITY,e)}function o(e){return i({type:"root"},e)}function u(e){return i(-1,e)}function l(e,t){return s(e[0],Object.assign(Object.assign({},t),{},{expandedStates:e}))}function c(e){return{type:"fill",parts:e}}function p(e,t){return{type:"if-break",breakContents:e,flatContents:t,groupId:(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).groupId}}function h(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}}function d(e){return{type:"line-suffix",contents:e}}N();var f={type:"line-suffix-boundary"},m={type:"break-parent"},y={type:"trim"},g={type:"line",hard:!0},v={type:"line",hard:!0,literal:!0},b={type:"line"},D={type:"line",soft:!0},x=r([g,m]),E=r([v,m]),w={type:"cursor",placeholder:Symbol("cursor")};function C(e,t){let n=[];for(let r=0;r0){for(let e=0;e=0?"\n"===e.charAt(t+1)?"crlf":"cr":"lf"}function n(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function i(e,t){let r;switch(t){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."))}let n=e.match(r);return n?n.length:0}function s(e){return e.replace(/\r\n?/g,"\n")}N(),t.exports={guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:i,normalizeEndOfLine:s}}}),M=_({"src/utils/get-last.js"(e,t){N();var r=e=>e[e.length-1];t.exports=r}});function R(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var z=S({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){N()}});function U(e){if("string"!=typeof e)throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(R(),"")}var V=S({"node_modules/strip-ansi/index.js"(){N(),z()}});function $(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var W=S({"node_modules/is-fullwidth-code-point/index.js"(){N()}}),H=_({"node_modules/emoji-regex/index.js"(e,t){N(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),q={};function K(e){if("string"!=typeof e||0===e.length||0===(e=U(e)).length)return 0;e=e.replace((0,Z.default)()," ");let t=0;for(let r=0;r=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=$(n)?2:1)}return t}k(q,{default:()=>K});var Z,G=S({"node_modules/string-width/index.js"(){N(),V(),W(),Z=F(H())}}),J=_({"src/utils/get-string-width.js"(e,t){N();var r=(G(),P(q)).default,n=/[^\x20-\x7F]/;function i(e){return e?n.test(e)?r(e):e.length:0}t.exports=i}}),Y=_({"src/document/doc-utils.js"(e,t){N();var r=M(),{literalline:n,join:i}=j(),s=e=>Array.isArray(e)||e&&"concat"===e.type,a=e=>{if(Array.isArray(e))return e;if("concat"!==e.type&&"fill"!==e.type)throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},o={};function u(e,t,r,n){let i=[e];for(;i.length>0;){let e=i.pop();if(e!==o){if(r&&i.push(e,o),!t||!1!==t(e))if(s(e)||"fill"===e.type){let t=a(e);for(let e=t.length-1;e>=0;--e)i.push(t[e])}else if("if-break"===e.type)e.flatContents&&i.push(e.flatContents),e.breakContents&&i.push(e.breakContents);else if("group"===e.type&&e.expandedStates)if(n)for(let t=e.expandedStates.length-1;t>=0;--t)i.push(e.expandedStates[t]);else i.push(e.contents);else e.contents&&i.push(e.contents)}else r(i.pop())}}function l(e,t){let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let t=i(e);return r.set(e,t),t}function i(e){if(Array.isArray(e))return t(e.map(n));if("concat"===e.type||"fill"===e.type){let r=e.parts.map(n);return t(Object.assign(Object.assign({},e),{},{parts:r}))}if("if-break"===e.type){let r=e.breakContents&&n(e.breakContents),i=e.flatContents&&n(e.flatContents);return t(Object.assign(Object.assign({},e),{},{breakContents:r,flatContents:i}))}if("group"===e.type&&e.expandedStates){let r=e.expandedStates.map(n),i=r[0];return t(Object.assign(Object.assign({},e),{},{contents:i,expandedStates:r}))}if(e.contents){let r=n(e.contents);return t(Object.assign(Object.assign({},e),{},{contents:r}))}return t(e)}}function c(e,t,r){let n=r,i=!1;function s(e){let r=t(e);if(void 0!==r&&(i=!0,n=r),i)return!1}return u(e,s),n}function p(e){if("group"===e.type&&e.break||"line"===e.type&&e.hard||"break-parent"===e.type)return!0}function h(e){return c(e,p,!1)}function d(e){if(e.length>0){let t=r(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function f(e){let t=new Set,r=[];function n(e){if("break-parent"===e.type&&d(r),"group"===e.type){if(r.push(e),t.has(e))return!1;t.add(e)}}function i(e){"group"===e.type&&r.pop().break&&d(r)}u(e,n,i,!0)}function m(e){return"line"!==e.type||e.hard?"if-break"===e.type?e.flatContents||"":e:e.soft?"":" "}function y(e){return l(e,m)}var g=(e,t)=>e&&"line"===e.type&&e.hard&&t&&"break-parent"===t.type;function v(e){if(!e)return e;if(s(e)||"fill"===e.type){let t=a(e);for(;t.length>1&&g(...t.slice(-2));)t.length-=2;if(t.length>0){let e=v(r(t));t[t.length-1]=e}return Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=v(e.contents);return Object.assign(Object.assign({},e),{},{contents:t})}case"if-break":{let t=v(e.breakContents),r=v(e.flatContents);return Object.assign(Object.assign({},e),{},{breakContents:t,flatContents:r})}}return e}function b(e){return v(x(e))}function D(e){switch(e.type){case"fill":if(e.parts.every((e=>""===e)))return"";break;case"group":if(!(e.contents||e.id||e.break||e.expandedStates))return"";if("group"===e.contents.type&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!e.contents)return"";break;case"if-break":if(!e.flatContents&&!e.breakContents)return""}if(!s(e))return e;let t=[];for(let n of a(e)){if(!n)continue;let[e,...i]=s(n)?a(n):[n];"string"==typeof e&&"string"==typeof r(t)?t[t.length-1]+=e:t.push(e),t.push(...i)}return 0===t.length?"":1===t.length?t[0]:Array.isArray(e)?t:Object.assign(Object.assign({},e),{},{parts:t})}function x(e){return l(e,(e=>D(e)))}function E(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let e=n.shift();if(e){if(s(e)){n.unshift(...a(e));continue}if(t.length>0&&"string"==typeof r(t)&&"string"==typeof e){t[t.length-1]+=e;continue}t.push(e)}}return t}function w(e){return l(e,(e=>Array.isArray(e)?E(e):e.parts?Object.assign(Object.assign({},e),{},{parts:E(e.parts)}):e))}function C(e){return l(e,(e=>"string"==typeof e&&e.includes("\n")?A(e):e))}function A(e){return i(arguments.length>1&&void 0!==arguments[1]?arguments[1]:n,e.split("\n")).parts}function S(e){if("line"===e.type)return!0}function _(e){return c(e,S,!1)}t.exports={isConcat:s,getDocParts:a,willBreak:h,traverseDoc:u,findInDoc:c,mapDoc:l,propagateBreaks:f,removeLines:y,stripTrailingHardline:b,normalizeParts:E,normalizeDoc:w,cleanDoc:x,replaceTextEndOfLine:A,replaceEndOfLine:C,canBreak:_}}}),X=_({"src/document/doc-printer.js"(e,t){N();var r,{convertEndOfLineToChars:n}=L(),i=M(),s=J(),{fill:a,cursor:o,indent:u}=j(),{isConcat:l,getDocParts:c}=Y(),p=1,h=2;function d(){return{value:"",length:0,queue:[]}}function f(e,t){return y(e,{type:"indent"},t)}function m(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||d():t<0?y(e,{type:"dedent"},r):t?"root"===t.type?Object.assign(Object.assign({},e),{},{root:e}):y(e,{type:"string"==typeof t?"stringAlign":"numberAlign",n:t},r):e}function y(e,t,r){let n="dedent"===t.type?e.queue.slice(0,-1):[...e.queue,t],i="",s=0,a=0,o=0;for(let e of n)switch(e.type){case"indent":c(),r.useTabs?u(1):l(r.tabWidth);break;case"stringAlign":c(),i+=e.n,s+=e.n.length;break;case"numberAlign":a+=1,o+=e.n;break;default:throw new Error("Unexpected type '".concat(e.type,"'"))}return h(),Object.assign(Object.assign({},e),{},{value:i,length:s,queue:n});function u(e){i+="\t".repeat(e),s+=r.tabWidth*e}function l(e){i+=" ".repeat(e),s+=e}function c(){r.useTabs?p():h()}function p(){a>0&&u(a),d()}function h(){o>0&&l(o),d()}function d(){a=0,o=0}}function g(e){if(0===e.length)return 0;let t=0;for(;e.length>0&&"string"==typeof i(e)&&/^[\t ]*$/.test(i(e));)t+=e.pop().length;if(e.length>0&&"string"==typeof i(e)){let r=i(e).replace(/[\t ]*$/,"");t+=i(e).length-r.length,e[e.length-1]=r}return t}function v(e,t,n,a,o,d){let y=t.length,v=[e],b=[];for(;n>=0;){if(0===v.length){if(0===y)return!0;v.push(t[y-1]),y--;continue}let[e,D,x]=v.pop();if("string"==typeof x)b.push(x),n-=s(x);else if(l(x)){let t=c(x);for(let r=t.length-1;r>=0;r--)v.push([e,D,t[r]])}else switch(x.type){case"indent":v.push([f(e,a),D,x.contents]);break;case"align":v.push([m(e,x.n,a),D,x.contents]);break;case"trim":n+=g(b);break;case"group":{if(d&&x.break)return!1;let t=x.break?p:D;v.push([e,t,x.expandedStates&&t===p?i(x.expandedStates):x.contents]),x.id&&(r[x.id]=t);break}case"fill":for(let t=x.parts.length-1;t>=0;t--)v.push([e,D,x.parts[t]]);break;case"if-break":case"indent-if-break":{let t=x.groupId?r[x.groupId]:D;if(t===p){let t="if-break"===x.type?x.breakContents:x.negate?x.contents:u(x.contents);t&&v.push([e,D,t])}if(t===h){let t="if-break"===x.type?x.flatContents:x.negate?u(x.contents):x.contents;t&&v.push([e,D,t])}break}case"line":switch(D){case h:if(!x.hard){x.soft||(b.push(" "),n-=1);break}return!0;case p:return!0}break;case"line-suffix":o=!0;break;case"line-suffix-boundary":if(o)return!1;break;case"label":v.push([e,D,x.contents])}}return!1}function b(e,t){r={};let y=t.printWidth,b=n(t.endOfLine),D=0,x=[[d(),p,e]],E=[],w=!1,C=[];for(;x.length>0;){let[e,n,d]=x.pop();if("string"==typeof d){let e="\n"!==b?d.replace(/\n/g,b):d;E.push(e),D+=s(e)}else if(l(d)){let t=c(d);for(let r=t.length-1;r>=0;r--)x.push([e,n,t[r]])}else switch(d.type){case"cursor":E.push(o.placeholder);break;case"indent":x.push([f(e,t),n,d.contents]);break;case"align":x.push([m(e,d.n,t),n,d.contents]);break;case"trim":D-=g(E);break;case"group":switch(n){case h:if(!w){x.push([e,d.break?p:h,d.contents]);break}case p:{w=!1;let r=[e,h,d.contents],n=y-D,s=C.length>0;if(!d.break&&v(r,x,n,t,s))x.push(r);else if(d.expandedStates){let r=i(d.expandedStates);if(d.break){x.push([e,p,r]);break}for(let i=1;i=d.expandedStates.length){x.push([e,p,r]);break}{let r=d.expandedStates[i],a=[e,h,r];if(v(a,x,n,t,s)){x.push(a);break}}}}else x.push([e,p,d.contents]);break}}d.id&&(r[d.id]=i(x)[1]);break;case"fill":{let r=y-D,{parts:i}=d;if(0===i.length)break;let[s,o]=i,u=[e,h,s],l=[e,p,s],c=v(u,[],r,t,C.length>0,!0);if(1===i.length){c?x.push(u):x.push(l);break}let f=[e,h,o],m=[e,p,o];if(2===i.length){c?x.push(f,u):x.push(m,l);break}i.splice(0,2);let g=[e,n,a(i)],b=i[0];v([e,h,[s,o,b]],[],r,t,C.length>0,!0)?x.push(g,f,u):c?x.push(g,m,u):x.push(g,m,l);break}case"if-break":case"indent-if-break":{let t=d.groupId?r[d.groupId]:n;if(t===p){let t="if-break"===d.type?d.breakContents:d.negate?d.contents:u(d.contents);t&&x.push([e,n,t])}if(t===h){let t="if-break"===d.type?d.flatContents:d.negate?u(d.contents):d.contents;t&&x.push([e,n,t])}break}case"line-suffix":C.push([e,n,d.contents]);break;case"line-suffix-boundary":C.length>0&&x.push([e,n,{type:"line",hard:!0}]);break;case"line":switch(n){case h:if(!d.hard){d.soft||(E.push(" "),D+=1);break}w=!0;case p:if(C.length>0){x.push([e,n,d],...C.reverse()),C=[];break}d.literal?e.root?(E.push(b,e.root.value),D=e.root.length):(E.push(b),D=0):(D-=g(E),E.push(b+e.value),D=e.length)}break;case"label":x.push([e,n,d.contents])}0===x.length&&C.length>0&&(x.push(...C.reverse()),C=[])}let A=E.indexOf(o.placeholder);if(-1!==A){let e=E.indexOf(o.placeholder,A+1),t=E.slice(0,A).join(""),r=E.slice(A+1,e).join("");return{formatted:t+r+E.slice(e+1).join(""),cursorNodeStart:t.length,cursorNodeText:r}}return{formatted:E.join("")}}t.exports={printDocToString:b}}}),Q=_({"src/document/doc-debug.js"(e,t){N();var{isConcat:r,getDocParts:n}=Y();function i(e){if(!e)return"";if(r(e)){let t=[];for(let s of n(e))if(r(s))t.push(...i(s).parts);else{let e=i(s);""!==e&&t.push(e)}return{type:"concat",parts:t}}return"if-break"===e.type?Object.assign(Object.assign({},e),{},{breakContents:i(e.breakContents),flatContents:i(e.flatContents)}):"group"===e.type?Object.assign(Object.assign({},e),{},{contents:i(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(i)}):"fill"===e.type?{type:"fill",parts:e.parts.map(i)}:e.contents?Object.assign(Object.assign({},e),{},{contents:i(e.contents)}):e}function s(e){let t=Object.create(null),s=new Set;return a(i(e));function a(e,t,i){if("string"==typeof e)return JSON.stringify(e);if(r(e)){let t=n(e).map(a).filter(Boolean);return 1===t.length?t[0]:"[".concat(t.join(", "),"]")}if("line"===e.type){let r=Array.isArray(i)&&i[t+1]&&"break-parent"===i[t+1].type;return e.literal?r?"literalline":"literallineWithoutBreakParent":e.hard?r?"hardline":"hardlineWithoutBreakParent":e.soft?"softline":"line"}if("break-parent"===e.type)return Array.isArray(i)&&i[t-1]&&"line"===i[t-1].type&&i[t-1].hard?void 0:"breakParent";if("trim"===e.type)return"trim";if("indent"===e.type)return"indent("+a(e.contents)+")";if("align"===e.type)return e.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+a(e.contents)+")":e.n<0?"dedent("+a(e.contents)+")":"root"===e.n.type?"markAsRoot("+a(e.contents)+")":"align("+JSON.stringify(e.n)+", "+a(e.contents)+")";if("if-break"===e.type)return"ifBreak("+a(e.breakContents)+(e.flatContents?", "+a(e.flatContents):"")+(e.groupId?(e.flatContents?"":', ""')+", { groupId: ".concat(o(e.groupId)," }"):"")+")";if("indent-if-break"===e.type){let t=[];e.negate&&t.push("negate: true"),e.groupId&&t.push("groupId: ".concat(o(e.groupId)));let r=t.length>0?", { ".concat(t.join(", ")," }"):"";return"indentIfBreak(".concat(a(e.contents)).concat(r,")")}if("group"===e.type){let t=[];e.break&&"propagated"!==e.break&&t.push("shouldBreak: true"),e.id&&t.push("id: ".concat(o(e.id)));let r=t.length>0?", { ".concat(t.join(", ")," }"):"";return e.expandedStates?"conditionalGroup([".concat(e.expandedStates.map((e=>a(e))).join(","),"]").concat(r,")"):"group(".concat(a(e.contents)).concat(r,")")}if("fill"===e.type)return"fill([".concat(e.parts.map((e=>a(e))).join(", "),"])");if("line-suffix"===e.type)return"lineSuffix("+a(e.contents)+")";if("line-suffix-boundary"===e.type)return"lineSuffixBoundary";if("label"===e.type)return"label(".concat(JSON.stringify(e.label),", ").concat(a(e.contents),")");throw new Error("Unknown doc type "+e.type)}function o(e){if("symbol"!=typeof e)return JSON.stringify(String(e));if(e in t)return t[e];let r=String(e).slice(7,-1)||"symbol";for(let n=0;;n++){let i=r+(n>0?" #".concat(n):"");if(!s.has(i))return s.add(i),t[e]="Symbol.for(".concat(JSON.stringify(i),")")}}}t.exports={printDocToDebug:s}}}),ee=_({"src/document/index.js"(e,t){N(),t.exports={builders:j(),printer:X(),utils:Y(),debug:Q()}}}),te={};function re(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}k(te,{default:()=>re});var ne=S({"node_modules/escape-string-regexp/index.js"(){N()}}),ie=_({"node_modules/semver/internal/debug.js"(e,t){N();var r="object"==typeof b&&b.env&&b.env.NODE_DEBUG&&/\bsemver\b/i.test(b.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),r=0;r{};t.exports=r}}),se=_({"node_modules/semver/internal/constants.js"(e,t){N();var r="2.0.0",n=256,i=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;t.exports={SEMVER_SPEC_VERSION:r,MAX_LENGTH:n,MAX_SAFE_INTEGER:i,MAX_SAFE_COMPONENT_LENGTH:s}}}),ae=_({"node_modules/semver/internal/re.js"(e,t){N();var{MAX_SAFE_COMPONENT_LENGTH:r}=se(),n=ie(),i=(e=t.exports={}).re=[],s=e.src=[],a=e.t={},o=0,u=(e,t,r)=>{let u=o++;n(e,u,t),a[e]=u,s[u]=t,i[u]=new RegExp(t,r?"g":void 0)};u("NUMERICIDENTIFIER","0|[1-9]\\d*"),u("NUMERICIDENTIFIERLOOSE","[0-9]+"),u("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),u("MAINVERSION","(".concat(s[a.NUMERICIDENTIFIER],")\\.(").concat(s[a.NUMERICIDENTIFIER],")\\.(").concat(s[a.NUMERICIDENTIFIER],")")),u("MAINVERSIONLOOSE","(".concat(s[a.NUMERICIDENTIFIERLOOSE],")\\.(").concat(s[a.NUMERICIDENTIFIERLOOSE],")\\.(").concat(s[a.NUMERICIDENTIFIERLOOSE],")")),u("PRERELEASEIDENTIFIER","(?:".concat(s[a.NUMERICIDENTIFIER],"|").concat(s[a.NONNUMERICIDENTIFIER],")")),u("PRERELEASEIDENTIFIERLOOSE","(?:".concat(s[a.NUMERICIDENTIFIERLOOSE],"|").concat(s[a.NONNUMERICIDENTIFIER],")")),u("PRERELEASE","(?:-(".concat(s[a.PRERELEASEIDENTIFIER],"(?:\\.").concat(s[a.PRERELEASEIDENTIFIER],")*))")),u("PRERELEASELOOSE","(?:-?(".concat(s[a.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(s[a.PRERELEASEIDENTIFIERLOOSE],")*))")),u("BUILDIDENTIFIER","[0-9A-Za-z-]+"),u("BUILD","(?:\\+(".concat(s[a.BUILDIDENTIFIER],"(?:\\.").concat(s[a.BUILDIDENTIFIER],")*))")),u("FULLPLAIN","v?".concat(s[a.MAINVERSION]).concat(s[a.PRERELEASE],"?").concat(s[a.BUILD],"?")),u("FULL","^".concat(s[a.FULLPLAIN],"$")),u("LOOSEPLAIN","[v=\\s]*".concat(s[a.MAINVERSIONLOOSE]).concat(s[a.PRERELEASELOOSE],"?").concat(s[a.BUILD],"?")),u("LOOSE","^".concat(s[a.LOOSEPLAIN],"$")),u("GTLT","((?:<|>)?=?)"),u("XRANGEIDENTIFIERLOOSE","".concat(s[a.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),u("XRANGEIDENTIFIER","".concat(s[a.NUMERICIDENTIFIER],"|x|X|\\*")),u("XRANGEPLAIN","[v=\\s]*(".concat(s[a.XRANGEIDENTIFIER],")(?:\\.(").concat(s[a.XRANGEIDENTIFIER],")(?:\\.(").concat(s[a.XRANGEIDENTIFIER],")(?:").concat(s[a.PRERELEASE],")?").concat(s[a.BUILD],"?)?)?")),u("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[a.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(s[a.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(s[a.XRANGEIDENTIFIERLOOSE],")(?:").concat(s[a.PRERELEASELOOSE],")?").concat(s[a.BUILD],"?)?)?")),u("XRANGE","^".concat(s[a.GTLT],"\\s*").concat(s[a.XRANGEPLAIN],"$")),u("XRANGELOOSE","^".concat(s[a.GTLT],"\\s*").concat(s[a.XRANGEPLAINLOOSE],"$")),u("COERCE","(^|[^\\d])(\\d{1,".concat(r,"})(?:\\.(\\d{1,").concat(r,"}))?(?:\\.(\\d{1,").concat(r,"}))?(?:$|[^\\d])")),u("COERCERTL",s[a.COERCE],!0),u("LONETILDE","(?:~>?)"),u("TILDETRIM","(\\s*)".concat(s[a.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",u("TILDE","^".concat(s[a.LONETILDE]).concat(s[a.XRANGEPLAIN],"$")),u("TILDELOOSE","^".concat(s[a.LONETILDE]).concat(s[a.XRANGEPLAINLOOSE],"$")),u("LONECARET","(?:\\^)"),u("CARETTRIM","(\\s*)".concat(s[a.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",u("CARET","^".concat(s[a.LONECARET]).concat(s[a.XRANGEPLAIN],"$")),u("CARETLOOSE","^".concat(s[a.LONECARET]).concat(s[a.XRANGEPLAINLOOSE],"$")),u("COMPARATORLOOSE","^".concat(s[a.GTLT],"\\s*(").concat(s[a.LOOSEPLAIN],")$|^$")),u("COMPARATOR","^".concat(s[a.GTLT],"\\s*(").concat(s[a.FULLPLAIN],")$|^$")),u("COMPARATORTRIM","(\\s*)".concat(s[a.GTLT],"\\s*(").concat(s[a.LOOSEPLAIN],"|").concat(s[a.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",u("HYPHENRANGE","^\\s*(".concat(s[a.XRANGEPLAIN],")\\s+-\\s+(").concat(s[a.XRANGEPLAIN],")\\s*$")),u("HYPHENRANGELOOSE","^\\s*(".concat(s[a.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(s[a.XRANGEPLAINLOOSE],")\\s*$")),u("STAR","(<|>)?=?\\s*\\*"),u("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),u("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),oe=_({"node_modules/semver/internal/parse-options.js"(e,t){N();var r=["includePrerelease","loose","rtl"],n=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};t.exports=n}}),ue=_({"node_modules/semver/internal/identifiers.js"(e,t){N();var r=/^[0-9]+$/,n=(e,t)=>{let n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:en(t,e);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),le=_({"node_modules/semver/classes/semver.js"(e,t){N();var r=ie(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=se(),{re:s,t:a}=ae(),o=oe(),{compareIdentifiers:u}=ue(),l=class{constructor(e,t){if(t=o(t),e instanceof l){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>n)throw new TypeError("version is longer than ".concat(n," characters"));r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let u=e.trim().match(t.loose?s[a.LOOSE]:s[a.FULL]);if(!u)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+u[1],this.minor=+u[2],this.patch=+u[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");u[4]?this.prerelease=u[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}};t.exports=l}}),ce=_({"node_modules/semver/functions/compare.js"(e,t){N();var r=le(),n=(e,t,n)=>new r(e,n).compare(new r(t,n));t.exports=n}}),pe=_({"node_modules/semver/functions/lt.js"(e,t){N();var r=ce(),n=(e,t,n)=>r(e,t,n)<0;t.exports=n}}),he=_({"node_modules/semver/functions/gte.js"(e,t){N();var r=ce(),n=(e,t,n)=>r(e,t,n)>=0;t.exports=n}}),de=_({"src/utils/arrayify.js"(e,t){N(),t.exports=(e,t)=>Object.entries(e).map((e=>{let[r,n]=e;return Object.assign({[t]:r},n)}))}}),fe=_({"node_modules/outdent/lib/index.js"(e,t){function r(){for(var e=[],t=0;t"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:f,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:f,description:r(l||(l=v(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:f,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:m,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r(c||(c=v(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:i},rangeStart:{since:"1.4.0",category:m,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:r(p||(p=v(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:i},requirePragma:{since:"1.7.0",category:m,type:"boolean",default:!1,description:r(h||(h=v(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:a},tabWidth:{type:"int",category:f,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:f,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:f,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:i,CATEGORY_FORMAT:s,CATEGORY_OTHER:a,CATEGORY_OUTPUT:d,CATEGORY_GLOBAL:f,CATEGORY_SPECIAL:m,options:y}}}),ye=_({"src/main/support.js"(e,t){N();var r={compare:ce(),lt:pe(),gte:he()},n=de(),i=I().version,s=me().options;function a(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:a=!1,showInternal:u=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=i.split("-",1)[0],c=e.flatMap((e=>e.languages||[])).filter(h),p=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),s),"name").filter((e=>h(e)&&f(e))).sort(((e,t)=>e.name===t.name?0:e.name{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(h).sort(((e,t)=>r.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>h(e)&&f(e))),"parser"===t.name&&o(t,c,e));let n=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})}));return{languages:c,options:p};function h(e){return t||!("since"in e)||e.since&&r.gte(l,e.since)}function f(e){return a||!("deprecated"in e)||e.deprecated&&r.lt(l,e.deprecated)}function m(e){if(u)return e;let{cliName:t,cliCategory:r,cliDescription:n}=e;return y(e,d)}}function o(e,t,r){let n=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!n.has(t)){n.add(t);let s=r.find((e=>e.parsers&&e.parsers[t])),a=i.name;s&&s.name&&(a+=" (plugin: ".concat(s.name,")")),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:a}}}),ge=_({"src/utils/is-non-empty-array.js"(e,t){function r(e){return Array.isArray(e)&&e.length>0}N(),t.exports=r}}),ve=_({"src/utils/text/skip.js"(e,t){function r(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,a=r;for(;a>=0&&ae[e.length-2];function y(e){return(t,r,n)=>{let i=n&&n.backwards;if(!1===r)return!1;let{length:s}=t,a=r;for(;a>=0&&a2&&void 0!==arguments[2]?arguments[2]:{},n=u(e,r.backwards?t-1:t,r);return n!==d(e,n,r)}function v(e,t,r){for(let n=t;n2&&void 0!==arguments[2]?arguments[2]:{};return u(e,r.backwards?t-1:t,r)!==t}function A(e,t){let r=0;for(let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;n(e.match(s.regex)||[]).length?s:i),a}function k(e,t){let r=e.slice(1,-1);return T(r,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(r,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function T(e,t,r){let n='"'===t?"'":'"',i=/\\(.)|(["'])/gs,s=e.replace(i,((e,i,s)=>i===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+s+t}function F(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function I(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));return null===n?0:n.reduce(((e,r)=>Math.max(e,r.length/t.length)),0)}function O(e,t){let n=e.match(new RegExp("(".concat(r(t),")+"),"g"));if(null===n)return 0;let i=new Map,s=0;for(let e of n){let r=e.length/t.length;i.set(r,!0),r>s&&(s=r)}for(let e=1;e{let{name:r}=t;return r.toLowerCase()===e}))||r.find((t=>{let{aliases:r}=t;return Array.isArray(r)&&r.includes(e)}))||r.find((t=>{let{extensions:r}=t;return Array.isArray(r)&&r.includes(".".concat(e))}));return n&&n.parsers[0]}function U(e){return e&&"front-matter"===e.type}function V(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function $(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}t.exports={inferParserByLanguage:z,getStringWidth:a,getMaxContinuousCount:I,getMinNotPresentContinuousCount:O,getPenultimate:m,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:E,getNextNonSpaceNonCommentCharacter:w,skip:y,skipWhitespace:o,skipSpaces:u,skipToLineEnd:l,skipEverythingButNewLine:c,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:D,isNextLineEmpty:x,isPreviousLineEmpty:b,hasNewline:g,hasNewlineInRange:v,hasSpaces:C,getAlignmentSize:A,getIndentSize:S,getPreferredQuote:_,printString:k,printNumber:F,makeString:T,addLeadingComment:j,addDanglingComment:L,addTrailingComment:R,isFrontMatterNode:U,isNonEmptyArray:s,createGroupIdMapper:V}}}),Ae={};function Se(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function _e(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");n&&(e=n+"/"+e,t="/"===n.charAt(0))}return(t?"/":"")+(e=Se(Me(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function ke(e){var t=Te(e),r="/"===We(e,-1);return!(e=Se(Me(e.split("/"),(function(e){return!!e})),!t).join("/"))&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function Te(e){return"/"===e.charAt(0)}function Fe(){return ke(Me(Array.prototype.slice.call(arguments,0),(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function Ne(e,t){function r(e){for(var t=0;t=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=_e(e).substr(1),t=_e(t).substr(1);for(var n=r(e.split("/")),i=r(t.split("/")),s=Math.min(n.length,i.length),a=s,o=0;oje,default:()=>$e,delimiter:()=>Ve,dirname:()=>Be,extname:()=>Le,isAbsolute:()=>Te,join:()=>Fe,normalize:()=>ke,relative:()=>Ne,resolve:()=>_e,sep:()=>Ue});var Re,ze,Ue,Ve,$e,We,He=S({"node-modules-polyfills:path"(){N(),Re=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,ze=function(e){return Re.exec(e).slice(1)},$e={extname:Le,basename:je,dirname:Be,sep:Ue="/",delimiter:Ve=":",relative:Ne,join:Fe,isAbsolute:Te,normalize:ke,resolve:_e},We=function(e,t,r){return e.substr(t,r)}}}),qe=_({"node-modules-polyfills-commonjs:path"(e,t){N();var r=(He(),P(Ae));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),Ke=_({"src/common/errors.js"(e,t){N();var r=class extends Error{},n=class extends Error{},i=class extends Error{},s=class extends Error{};t.exports={ConfigError:r,DebugError:n,UndefinedParserError:i,ArgExpansionBailout:s}}}),Ze={};function Ge(e,t){function r(){this.constructor=e}gt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function Je(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i=0;o--)(i=e[o])&&(a=(s<3?i(a):s>3?i(t,r,a):i(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a}function Xe(e,t){return function(r,n){t(r,n,e)}}function Qe(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function et(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,s){function a(e){try{u(n.next(e))}catch(e){s(e)}}function o(e){try{u(n.throw(e))}catch(e){s(e)}}function u(e){e.done?r(e.value):i(e.value).then(a,o)}u((n=n.apply(e,t||[])).next())}))}function tt(e,t){var r,n,i,s,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function st(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return a}function at(){for(var e=[],t=0;t1||o(e,t)}))})}function o(e,t){try{u(i[e](t))}catch(e){p(s[0][3],e)}}function u(e){e.value instanceof ut?Promise.resolve(e.value.v).then(l,c):p(s[0][2],e)}function l(e){o("next",e)}function c(e){o("throw",e)}function p(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}}function ct(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:ut(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function pt(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof it?it(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,s){i(n,s,(t=e[r](t)).done,t.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}}function ht(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function dt(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function ft(e){return e&&e.__esModule?e:{default:e}}function mt(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function yt(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}k(Ze,{__assign:()=>vt,__asyncDelegator:()=>ct,__asyncGenerator:()=>lt,__asyncValues:()=>pt,__await:()=>ut,__awaiter:()=>et,__classPrivateFieldGet:()=>mt,__classPrivateFieldSet:()=>yt,__createBinding:()=>rt,__decorate:()=>Ye,__exportStar:()=>nt,__extends:()=>Ge,__generator:()=>tt,__importDefault:()=>ft,__importStar:()=>dt,__makeTemplateObject:()=>ht,__metadata:()=>Qe,__param:()=>Xe,__read:()=>st,__rest:()=>Je,__spread:()=>at,__spreadArrays:()=>ot,__values:()=>it});var gt,vt,bt=S({"node_modules/tslib/tslib.es6.js"(){N(),gt=function(e,t){return(gt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},vt=function(){return vt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(t){if(null===t||"object"!=typeof t)return JSON.stringify(t);if(Array.isArray(t))return"[".concat(t.map((t=>e.apiDescriptor.value(t))).join(", "),"]");let r=Object.keys(t);return 0===r.length?"{}":"{ ".concat(r.map((r=>"".concat(e.apiDescriptor.key(r),": ").concat(e.apiDescriptor.value(t[r])))).join(", ")," }")},pair:t=>{let{key:r,value:n}=t;return e.apiDescriptor.value({[r]:n})}}}}),xt=_({"node_modules/vnopts/lib/descriptors/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0}),(bt(),P(Ze)).__exportStar(Dt(),e)}}),Et=_({"scripts/build/shims/chalk.cjs"(e,t){N();var r=e=>e;r.grey=r,r.red=r,r.bold=r,r.yellow=r,r.blue=r,r.default=r,t.exports=r}}),wt=_({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Et();e.commonDeprecatedHandler=(e,r,n)=>{let{descriptor:i}=n,s=["".concat(t.default.yellow("string"==typeof e?i.key(e):i.pair(e))," is deprecated")];return r&&s.push("we now treat it as ".concat(t.default.blue("string"==typeof r?i.key(r):i.pair(r)))),s.join("; ")+"."}}}),Ct=_({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0}),(bt(),P(Ze)).__exportStar(wt(),e)}}),At=_({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Et();e.commonInvalidHandler=(e,r,n)=>["Invalid ".concat(t.default.red(n.descriptor.key(e))," value."),"Expected ".concat(t.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(t.default.red(n.descriptor.value(r)),".")].join(" ")}}),St=_({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0}),(bt(),P(Ze)).__exportStar(At(),e)}}),_t=_({"node_modules/vnopts/node_modules/leven/index.js"(e,t){N();var r=[],n=[];t.exports=function(e,t){if(e===t)return 0;var i=e;e.length>t.length&&(e=t,t=i);var s=e.length,a=t.length;if(0===s)return a;if(0===a)return s;for(;s>0&&e.charCodeAt(~-s)===t.charCodeAt(~-a);)s--,a--;if(0===s)return a;for(var o=0;ol?p>l?l+1:p:p>c?c+1:p;return l}}}),kt=_({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Et(),r=_t();e.levenUnknownHandler=(e,n,i)=>{let{descriptor:s,logger:a,schemas:o}=i,u=["Ignored unknown option ".concat(t.default.yellow(s.pair({key:e,value:n})),".")],l=Object.keys(o).sort().find((t=>r(e,t)<3));l&&u.push("Did you mean ".concat(t.default.blue(s.key(l)),"?")),a.warn(u.join(" "))}}}),Tt=_({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0}),(bt(),P(Ze)).__exportStar(kt(),e)}}),Ft=_({"node_modules/vnopts/lib/handlers/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=(bt(),P(Ze));t.__exportStar(Ct(),e),t.__exportStar(St(),e),t.__exportStar(Tt(),e)}}),Pt=_({"node_modules/vnopts/lib/schema.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function r(e,r){let s=new e(r),a=Object.create(s);for(let e of t)e in r&&(a[e]=i(r[e],s,n.prototype[e].length));return a}e.createSchema=r;var n=class{constructor(e){this.name=e.name}static create(e){return r(this,e)}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return e}};function i(e,t,r){return"function"==typeof e?function(){for(var n=arguments.length,i=new Array(n),s=0;se}e.Schema=n}}),Nt=_({"node_modules/vnopts/lib/schemas/alias.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=class extends t.Schema{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}};e.AliasSchema=r}}),It=_({"node_modules/vnopts/lib/schemas/any.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=class extends t.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=r}}),Ot=_({"node_modules/vnopts/lib/schemas/array.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=(bt(),P(Ze)),r=Pt(),n=class extends r.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,i=t.__rest(e,["valueSchema","name"]);super(Object.assign({},i,{name:n})),this._valueSchema=r}expected(e){return"an array of ".concat(this._valueSchema.expected(e))}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let e=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);!0!==e&&r.push(e.value)}return 0===r.length||{value:r}}deprecated(e,t){let r=[];for(let n of e){let e=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);!1!==e&&r.push(...e.map((e=>{let{value:t}=e;return{value:[t]}})))}return r}forward(e,t){let r=[];for(let n of e){let e=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...e.map(i))}return r}redirect(e,t){let r=[],n=[];for(let s of e){let e=t.normalizeRedirectResult(this._valueSchema.redirect(s,t),s);"remain"in e&&r.push(e.remain),n.push(...e.redirect.map(i))}return 0===r.length?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function i(e){let{from:t,to:r}=e;return{from:[t],to:r}}e.ArraySchema=n}}),Bt=_({"node_modules/vnopts/lib/schemas/boolean.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=class extends t.Schema{expected(){return"true or false"}validate(e){return"boolean"==typeof e}};e.BooleanSchema=r}}),jt=_({"node_modules/vnopts/lib/utils.js"(e){function t(e,t){let r=Object.create(null);for(let n of e){let e=n[t];if(r[e])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));r[e]=n}return r}function r(e,t){let r=new Map;for(let n of e){let e=n[t];if(r.has(e))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(e)));r.set(e,n)}return r}function n(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return!!e[r]||(e[r]=!0,!1)}}function i(e,t){let r=[],n=[];for(let i of e)t(i)?r.push(i):n.push(i);return[r,n]}function s(e){return e===Math.floor(e)}function a(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,i=["undefined","object","boolean","number","string"];return r!==n?i.indexOf(r)-i.indexOf(n):"string"!==r?Number(e)-Number(t):e.localeCompare(t)}function o(e){return void 0===e?{}:e}function u(e,t){return!0===e||(!1===e?{value:t}:e)}function l(e,t){return!1!==e&&(!0===e?!!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])||[{value:t}]:"value"in e?[e]:0!==e.length&&e)}function c(e,t){return"string"==typeof e||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function p(e,t){return void 0===e?[]:Array.isArray(e)?e.map((e=>c(e,t))):[c(e,t)]}function h(e,t){let r=p("object"==typeof e&&"redirect"in e?e.redirect:e,t);return 0===r.length?{remain:t,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}N(),Object.defineProperty(e,"__esModule",{value:!0}),e.recordFromArray=t,e.mapFromArray=r,e.createAutoChecklist=n,e.partition=i,e.isInt=s,e.comparePrimitive=a,e.normalizeDefaultResult=o,e.normalizeValidateResult=u,e.normalizeDeprecatedResult=l,e.normalizeTransferResult=c,e.normalizeForwardResult=p,e.normalizeRedirectResult=h}}),Lt=_({"node_modules/vnopts/lib/schemas/choice.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=jt(),n=class extends t.Schema{constructor(e){super(e),this._choices=r.mapFromArray(e.choices.map((e=>e&&"object"==typeof e?e:{value:e})),"value")}expected(e){let{descriptor:t}=e,n=Array.from(this._choices.keys()).map((e=>this._choices.get(e))).filter((e=>!e.deprecated)).map((e=>e.value)).sort(r.comparePrimitive).map(t.value),i=n.slice(0,-2),s=n.slice(-2);return i.concat(s.join(" or ")).join(", ")}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return!(!t||!t.deprecated)&&{value:e}}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}};e.ChoiceSchema=n}}),Mt=_({"node_modules/vnopts/lib/schemas/number.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=class extends t.Schema{expected(){return"a number"}validate(e,t){return"number"==typeof e}};e.NumberSchema=r}}),Rt=_({"node_modules/vnopts/lib/schemas/integer.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=jt(),r=Mt(),n=class extends r.NumberSchema{expected(){return"an integer"}validate(e,r){return!0===r.normalizeValidateResult(super.validate(e,r),e)&&t.isInt(e)}};e.IntegerSchema=n}}),zt=_({"node_modules/vnopts/lib/schemas/string.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pt(),r=class extends t.Schema{expected(){return"a string"}validate(e){return"string"==typeof e}};e.StringSchema=r}}),Ut=_({"node_modules/vnopts/lib/schemas/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=(bt(),P(Ze));t.__exportStar(Nt(),e),t.__exportStar(It(),e),t.__exportStar(Ot(),e),t.__exportStar(Bt(),e),t.__exportStar(Lt(),e),t.__exportStar(Rt(),e),t.__exportStar(Mt(),e),t.__exportStar(zt(),e)}}),Vt=_({"node_modules/vnopts/lib/defaults.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Dt(),r=wt(),n=St(),i=kt();e.defaultDescriptor=t.apiDescriptor,e.defaultUnknownHandler=i.levenUnknownHandler,e.defaultInvalidHandler=n.commonInvalidHandler,e.defaultDeprecatedHandler=r.commonDeprecatedHandler}}),$t=_({"node_modules/vnopts/lib/normalize.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Vt(),r=jt();e.normalize=(e,t,r)=>new n(t,r).normalize(e);var n=class{constructor(e,n){let{logger:i=console,descriptor:s=t.defaultDescriptor,unknown:a=t.defaultUnknownHandler,invalid:o=t.defaultInvalidHandler,deprecated:u=t.defaultDeprecatedHandler}=n||{};this._utils={descriptor:s,logger:i||{warn:()=>{}},schemas:r.recordFromArray(e,"name"),normalizeDefaultResult:r.normalizeDefaultResult,normalizeDeprecatedResult:r.normalizeDeprecatedResult,normalizeForwardResult:r.normalizeForwardResult,normalizeRedirectResult:r.normalizeRedirectResult,normalizeValidateResult:r.normalizeValidateResult},this._unknownHandler=a,this._invalidHandler=o,this._deprecatedHandler=u,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=r.createAutoChecklist()}normalize(e){let t={},n=[e],i=()=>{for(;0!==n.length;){let e=n.shift(),r=this._applyNormalization(e,t);n.push(...r)}};i();for(let e of Object.keys(this._utils.schemas)){let i=this._utils.schemas[e];if(!(e in t)){let t=r.normalizeDefaultResult(i.default(this._utils));"value"in t&&n.push({[e]:t.value})}}i();for(let e of Object.keys(this._utils.schemas)){let r=this._utils.schemas[e];e in t&&(t[e]=r.postprocess(t[e],this._utils))}return t}_applyNormalization(e,t){let n=[],[i,s]=r.partition(Object.keys(e),(e=>e in this._utils.schemas));for(let s of i){let i=this._utils.schemas[s],a=i.preprocess(e[s],this._utils),o=r.normalizeValidateResult(i.validate(a,this._utils),a);if(!0!==o){let{value:e}=o,t=this._invalidHandler(s,e,this._utils);throw"string"==typeof t?new Error(t):t}let u=e=>{let{from:t,to:r}=e;n.push("string"==typeof r?{[r]:t}:{[r.key]:r.value})},l=e=>{let{value:t,redirectTo:n}=e,o=r.normalizeDeprecatedResult(i.deprecated(t,this._utils),a,!0);if(!1!==o)if(!0===o)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,n,this._utils));else for(let{value:e}of o){let t={key:s,value:e};if(!this._hasDeprecationWarned(t)){let r="string"==typeof n?{key:n,value:e}:n;this._utils.logger.warn(this._deprecatedHandler(t,r,this._utils))}}};r.normalizeForwardResult(i.forward(a,this._utils),a).forEach(u);let c=r.normalizeRedirectResult(i.redirect(a,this._utils),a);if(c.redirect.forEach(u),"remain"in c){let e=c.remain;t[s]=s in t?i.overlap(t[s],e,this._utils):e,l({value:e})}for(let{from:e,to:t}of c.redirect)l({value:e,redirectTo:t})}for(let r of s){let i=e[r],s=this._unknownHandler(r,i,this._utils);if(s)for(let e of Object.keys(s)){let r={[e]:s[e]};e in this._utils.schemas?n.push(r):Object.assign(t,r)}}return n}};e.Normalizer=n}}),Wt=_({"node_modules/vnopts/lib/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=(bt(),P(Ze));t.__exportStar(xt(),e),t.__exportStar(Ft(),e),t.__exportStar(Ut(),e),t.__exportStar($t(),e),t.__exportStar(Pt(),e)}}),Ht=_({"src/main/options-normalizer.js"(e,t){N();var r,n=Wt(),i=M(),s={key:e=>1===e.length?"-".concat(e):"--".concat(e),value:e=>n.apiDescriptor.value(e),pair:e=>{let{key:t,value:r}=e;return!1===r?"--no-".concat(t):!0===r?s.key(t):""===r?"".concat(s.key(t)," without an argument"):"".concat(s.key(t),"=").concat(r)}},a=e=>{let{colorsModule:t,levenshteinDistance:r}=e;return class extends n.ChoiceSchema{constructor(e){let{name:t,flags:r}=e;super({name:t,choices:r}),this._flags=[...r].sort()}preprocess(e,n){if("string"==typeof e&&e.length>0&&!this._flags.includes(e)){let i=this._flags.find((t=>r(t,e)<3));if(i)return n.logger.warn(["Unknown flag ".concat(t.yellow(n.descriptor.value(e)),","),"did you mean ".concat(t.blue(n.descriptor.value(i)),"?")].join(" ")),i}return e}expected(){return"a flag"}}};function o(e,t){let{logger:i=!1,isCLI:a=!1,passThrough:o=!1,colorsModule:l=null,levenshteinDistance:c=null}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},p=o?Array.isArray(o)?(e,t)=>o.includes(e)?{[e]:t}:void 0:(e,t)=>({[e]:t}):(e,t,r)=>{let i=r.schemas,{_:s}=i,a=y(i,f);return n.levenUnknownHandler(e,t,Object.assign(Object.assign({},r),{},{schemas:a}))},h=a?s:n.apiDescriptor,d=u(t,{isCLI:a,colorsModule:l,levenshteinDistance:c}),m=new n.Normalizer(d,{logger:i,unknown:p,descriptor:h}),g=!1!==i;g&&r&&(m._hasDeprecationWarned=r);let v=m.normalize(e);return g&&(r=m._hasDeprecationWarned),a&&!1===v["plugin-search"]&&(v["plugin-search-dir"]=!1),v}function u(e,t){let{isCLI:r,colorsModule:i,levenshteinDistance:s}=t,a=[];r&&a.push(n.AnySchema.create({name:"_"}));for(let t of e)a.push(l(t,{isCLI:r,optionInfos:e,colorsModule:i,levenshteinDistance:s})),t.alias&&r&&a.push(n.AliasSchema.create({name:t.alias,sourceName:t.name}));return a}function l(e,t){let{isCLI:r,optionInfos:s,colorsModule:o,levenshteinDistance:u}=t,{name:l}=e;if("plugin-search-dir"===l||"pluginSearchDirs"===l)return n.AnySchema.create({name:l,preprocess:e=>(!1===e||(e=Array.isArray(e)?e:[e]),e),validate:e=>!1===e||e.every((e=>"string"==typeof e)),expected:()=>"false or paths to plugin search dir"});let c,p={name:l},h={};switch(e.type){case"int":c=n.IntegerSchema,r&&(p.preprocess=Number);break;case"string":case"path":c=n.StringSchema;break;case"choice":c=n.ChoiceSchema,p.choices=e.choices.map((t=>"object"==typeof t&&t.redirect?Object.assign(Object.assign({},t),{},{redirect:{to:{key:e.name,value:t.redirect}}}):t));break;case"boolean":c=n.BooleanSchema;break;case"flag":c=a({colorsModule:o,levenshteinDistance:u}),p.flags=s.flatMap((e=>[e.alias,e.description&&e.name,e.oppositeDescription&&"no-".concat(e.name)].filter(Boolean)));break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?p.validate=(t,r,n)=>e.exception(t)||r.validate(t,n):p.validate=(e,t,r)=>void 0===e||t.validate(e,r),e.redirect&&(h.redirect=t=>t?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(h.deprecated=!0),r&&!e.array){let e=p.preprocess||(e=>e);p.preprocess=(t,r,n)=>r.preprocess(e(Array.isArray(t)?i(t):t),n)}return e.array?n.ArraySchema.create(Object.assign(Object.assign(Object.assign({},r?{preprocess:e=>Array.isArray(e)?e:[e]}:{}),h),{},{valueSchema:c.create(p)})):c.create(Object.assign(Object.assign({},p),h))}function c(e,t,r){return o(e,t,r)}function p(e,t,r){return o(e,t,Object.assign({isCLI:!0},r))}t.exports={normalizeApiOptions:c,normalizeCliOptions:p}}}),qt=_({"src/language-js/loc.js"(e,t){N();var r=ge();function n(e,t){let{ignoreDecorators:i}=t||{};if(!i){let t=e.declaration&&e.declaration.decorators||e.decorators;if(r(t))return n(t[0])}return e.range?e.range[0]:e.start}function i(e){return e.range?e.range[1]:e.end}function s(e,t){let r=n(e);return Number.isInteger(r)&&r===n(t)}function a(e,t){let r=i(e);return Number.isInteger(r)&&r===i(t)}function o(e,t){return s(e,t)&&a(e,t)}t.exports={locStart:n,locEnd:i,hasSameLocStart:s,hasSameLoc:o}}}),Kt=_({"src/main/load-parser.js"(e,t){N(),t.exports=()=>{}}}),Zt=_({"scripts/build/shims/babel-highlight.cjs"(e,t){N();var r=Et(),n={shouldHighlight:()=>!1,getChalk:()=>r};t.exports=n}}),Gt=_({"node_modules/@babel/code-frame/lib/index.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=a,e.default=o;var t=Zt(),r=!1;function n(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var i=/\r\n|[\n\r\u2028\u2029]/;function s(e,t,r){let n=Object.assign({column:0,line:-1},e.start),i=Object.assign({},n,e.end),{linesAbove:s=2,linesBelow:a=3}=r||{},o=n.line,u=n.column,l=i.line,c=i.column,p=Math.max(o-(s+1),0),h=Math.min(t.length,l+a);-1===o&&(p=0),-1===l&&(h=t.length);let d=l-o,f={};if(d)for(let e=0;e<=d;e++){let r=e+o;if(u)if(0===e){let e=t[r-1].length;f[r]=[u,e-u+1]}else if(e===d)f[r]=[0,c];else{let n=t[r-e].length;f[r]=[0,n]}else f[r]=!0}else f[o]=u===c?!u||[u,0]:[u,c-u];return{start:p,end:h,markerLines:f}}function a(e,r){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=(a.highlightCode||a.forceColor)&&(0,t.shouldHighlight)(a),u=(0,t.getChalk)(a),l=n(u),c=(e,t)=>o?e(t):t,p=e.split(i),{start:h,end:d,markerLines:f}=s(r,p,a),m=r.start&&"number"==typeof r.start.column,y=String(d).length,g=(o?(0,t.default)(e,a):e).split(i,d).slice(h,d).map(((e,t)=>{let r=h+1+t,n=" ".concat(r).slice(-y),i=" ".concat(n," |"),s=f[r],o=!f[r+1];if(s){let t="";if(Array.isArray(s)){let r=e.slice(0,Math.max(s[0]-1,0)).replace(/[^\t]/g," "),n=s[1]||1;t=["\n ",c(l.gutter,i.replace(/\d/g," "))," ",r,c(l.marker,"^").repeat(n)].join(""),o&&a.message&&(t+=" "+c(l.message,a.message))}return[c(l.marker,">"),c(l.gutter,i),e.length>0?" ".concat(e):"",t].join("")}return" ".concat(c(l.gutter,i)).concat(e.length>0?" ".concat(e):"")})).join("\n");return a.message&&!m&&(g="".concat(" ".repeat(y+1)).concat(a.message,"\n").concat(g)),o?u.reset(g):g}function o(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(!r){r=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";b.emitWarning?b.emitWarning(e,"DeprecationWarning"):(new Error(e).name="DeprecationWarning",console.warn(new Error(e)))}return a(e,{start:{column:n=Math.max(n,0),line:t}},i)}}}),Jt=_({"src/main/parser.js"(e,t){N();var{ConfigError:r}=Ke(),n=qt(),{locStart:i,locEnd:s}=(Kt(),n),a=Object.getOwnPropertyNames,o=Object.getOwnPropertyDescriptor;function u(e){let t={};for(let r of e.plugins)if(r.parsers)for(let e of a(r.parsers))Object.defineProperty(t,e,o(r.parsers,e));return t}function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u(e);if("function"==typeof e.parser)return{parse:e.parser,astFormat:"estree",locStart:i,locEnd:s};if("string"==typeof e.parser){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new r("Couldn't resolve parser \"".concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function c(e,t){let r=u(t),n=Object.defineProperties({},Object.fromEntries(Object.keys(r).map((e=>[e,{enumerable:!0,get:()=>r[e].parse}])))),i=l(t,r);try{return i.preprocess&&(e=i.preprocess(e,t)),{text:e,ast:i.parse(e,n,t)}}catch(t){let{loc:r}=t;if(r){let{codeFrameColumns:n}=Gt();throw t.codeFrame=n(e,r,{highlightCode:!0}),t.message+="\n"+t.codeFrame,t}throw t.stack}}t.exports={parse:c,resolveParser:l}}}),Yt=_({"src/main/options.js"(e,t){N();var r=qe(),{UndefinedParserError:n}=Ke(),{getSupportInfo:i}=ye(),s=Ht(),{resolveParser:a}=Jt(),o={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e),u=i({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,p=Object.assign(Object.assign({},o),Object.fromEntries(u.filter((e=>void 0!==e.default)).map((e=>[e.name,e.default]))));if(!r.parser)if(r.filepath){if(r.parser=c(r.filepath,r.plugins),!r.parser)throw new n("No parser could be inferred for file: ".concat(r.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";let h=a(s.normalizeApiOptions(r,[u.find((e=>"parser"===e.name))],{passThrough:!0,logger:!1}));r.astFormat=h.astFormat,r.locEnd=h.locEnd,r.locStart=h.locStart;let d=l(r);r.printer=d.printers[r.astFormat];let f=Object.fromEntries(u.filter((e=>e.pluginDefaults&&void 0!==e.pluginDefaults[d.name])).map((e=>[e.name,e.pluginDefaults[d.name]]))),m=Object.assign(Object.assign({},p),f);for(let[e,t]of Object.entries(m))(null===r[e]||void 0===r[e])&&(r[e]=t);return"json"===r.parser&&(r.trailingComma="none"),s.normalizeApiOptions(r,u,Object.assign({passThrough:Object.keys(o)},t))}function l(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find((e=>e.printers&&e.printers[t]));if(!r)throw new Error("Couldn't find plugin for AST format \"".concat(t,'"'));return r}function c(e,t){let n=r.basename(e).toLowerCase(),s=i({plugins:t}).languages.filter((e=>null!==e.since)).find((e=>e.extensions&&e.extensions.some((e=>n.endsWith(e)))||e.filenames&&e.filenames.some((e=>e.toLowerCase()===n))));return s&&s.parsers[0]}t.exports={normalize:u,hiddenDefaults:o,inferParser:c}}}),Xt=_({"src/main/massage-ast.js"(e,t){function r(e,t,n){if(Array.isArray(e))return e.map((e=>r(e,t,n))).filter(Boolean);if(!e||"object"!=typeof e)return e;let i,s=t.printer.massageAstNode;i=s&&s.ignoredProperties?s.ignoredProperties:new Set;let a={};for(let[n,s]of Object.entries(e))!i.has(n)&&"function"!=typeof s&&(a[n]=r(s,t,e));if(s){let t=s(e,a,n);if(null===t)return;if(t)return t}return a}N(),t.exports=r}}),Qt=_({"scripts/build/shims/assert.cjs"(e,t){N();var r=()=>{};r.ok=r,r.strictEqual=r,t.exports=r}}),er=_({"src/main/comments.js"(e,t){N();var r=Qt(),{builders:{line:n,hardline:i,breakParent:s,indent:a,lineSuffix:o,join:u,cursor:l}}=ee(),{hasNewline:c,skipNewline:p,skipSpaces:h,isPreviousLineEmpty:d,addLeadingComment:f,addDanglingComment:m,addTrailingComment:y}=Ce(),g=new WeakMap;function v(e,t,r){if(!e)return;let{printer:n,locStart:i,locEnd:s}=t;if(r){if(n.canAttachComment&&n.canAttachComment(e)){let t;for(t=r.length-1;t>=0&&!(i(r[t])<=i(e)&&s(r[t])<=s(e));--t);return void r.splice(t+1,0,e)}}else if(g.has(e))return g.get(e);let a=n.getCommentChildNodes&&n.getCommentChildNodes(e,t)||"object"==typeof e&&Object.entries(e).filter((e=>{let[t]=e;return"enclosingNode"!==t&&"precedingNode"!==t&&"followingNode"!==t&&"tokens"!==t&&"comments"!==t&&"parent"!==t})).map((e=>{let[,t]=e;return t}));if(a){r||(r=[],g.set(e,r));for(let e of a)v(e,t,r);return r}}function b(e,t,r,n){let i,s,{locStart:a,locEnd:o}=r,u=a(t),l=o(t),c=v(e,r),p=0,h=c.length;for(;p>1,n=c[e],d=a(n),f=o(n);if(d<=u&&l<=f)return b(n,t,r,n);if(f<=u)i=n,p=e+1;else{if(!(l<=d))throw new Error("Comment location overlaps with node location");s=n,h=e}}if(n&&"TemplateLiteral"===n.type){let{quasis:e}=n,a=_(e,t,r);i&&_(e,i,r)!==a&&(i=null),s&&_(e,s,r)!==a&&(s=null)}return{enclosingNode:n,precedingNode:i,followingNode:s}}var D=()=>!1;function x(e,t,r,n){if(!Array.isArray(e))return;let i=[],{locStart:s,locEnd:a,printer:{handleComments:o={}}}=n,{avoidAstMutation:u,ownLine:l=D,endOfLine:c=D,remaining:p=D}=o,h=e.map(((i,s)=>Object.assign(Object.assign({},b(t,i,n)),{},{comment:i,text:r,options:n,ast:t,isLastComment:e.length-1===s})));for(let[e,t]of h.entries()){let r,{comment:n,precedingNode:o,enclosingNode:d,followingNode:g,text:v,options:b,ast:D,isLastComment:x}=t;if("json"===b.parser||"json5"===b.parser||"__js_expression"===b.parser||"__vue_expression"===b.parser||"__vue_ts_expression"===b.parser){if(s(n)-s(D)<=0){f(D,n);continue}if(a(n)-a(D)>=0){y(D,n);continue}}if(u?r=[t]:(n.enclosingNode=d,n.precedingNode=o,n.followingNode=g,r=[n,v,b,D,x]),w(v,b,h,e))n.placement="ownLine",l(...r)||(g?f(g,n):o?y(o,n):m(d||D,n));else if(C(v,b,h,e))n.placement="endOfLine",c(...r)||(o?y(o,n):g?f(g,n):m(d||D,n));else if(n.placement="remaining",!p(...r))if(o&&g){let e=i.length;e>0&&i[e-1].followingNode!==g&&A(i,v,b),i.push(t)}else o?y(o,n):g?f(g,n):m(d||D,n)}if(A(i,r,n),!u)for(let t of e)delete t.precedingNode,delete t.enclosingNode,delete t.followingNode}var E=e=>!/[\S\n\u2028\u2029]/.test(e);function w(e,t,r,n){let{comment:i,precedingNode:s}=r[n],{locStart:a,locEnd:o}=t,u=a(i);if(s)for(let t=n-1;t>=0;t--){let{comment:n,precedingNode:i}=r[t];if(i!==s||!E(e.slice(o(n),u)))break;u=a(n)}return c(e,u,{backwards:!0})}function C(e,t,r,n){let{comment:i,followingNode:s}=r[n],{locStart:a,locEnd:o}=t,u=o(i);if(s)for(let t=n+1;t0;--s){let{comment:i,precedingNode:u,followingNode:p}=e[s-1];r.strictEqual(u,a),r.strictEqual(p,o);let h=t.slice(n.locEnd(i),c);if(!l.test(h))break;c=n.locStart(i)}for(let[t,{comment:r}]of e.entries())t1&&e.comments.sort(((e,t)=>n.locStart(e)-n.locStart(t)));e.length=0}function S(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}function _(e,t,r){let n=r.locStart(t)-1;for(let t=1;t{let r=e.getValue();!r.leading&&!r.trailing&&(!n||n(r))&&s.push(S(e,t))}),"comments"),0!==s.length)?r?u(i,s):a([i,u(i,s)]):""}function P(e,t,r){let n=e.getValue();if(!n)return{};let i=n.comments||[];r&&(i=i.filter((e=>!r.has(e))));let s=n===t.cursorNode;if(0===i.length){let e=s?l:"";return{leading:e,trailing:e}}let a=[],o=[];return e.each((()=>{let n=e.getValue();if(r&&r.has(n))return;let{leading:i,trailing:s}=n;i?a.push(k(e,t)):s&&o.push(T(e,t))}),"comments"),s&&(a.unshift(l),o.push(l)),{leading:a,trailing:o}}function I(e,t,r,n){let{leading:i,trailing:s}=P(e,r,n);return i||s?[i,t,s]:t}function O(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}t.exports={attach:x,printComments:I,printCommentsSeparately:P,printDanglingComments:F,getSortedChildNodes:v,ensureAllCommentsPrinted:O}}}),tr=_({"src/common/ast-path.js"(e,t){N();var r=M();function n(e,t){let r=i(e.stack,t);return-1===r?null:e.stack[r]}function i(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}var s=class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return r(this.stack)}getNode(){return n(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)}getParentNode(){return n(this,(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)+1)}call(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,a=new Array(s>1?s-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:0,r=i(this.stack,t+1),n=this.stack.splice(r+1),s=e(this);return this.stack.push(...n),s}each(e){let{stack:t}=this,{length:n}=t,i=r(t);for(var s=arguments.length,a=new Array(s>1?s-1:0),o=1;o1?r-1:0),i=1;i{t[n]=e(r,n,i)}),...n),t}try(e){let{stack:t}=this,r=[...t];try{return e()}finally{t.length=0,t.push(...r)}}match(){let e=this.stack.length-1,t=null,r=this.stack[e--];for(var n=arguments.length,i=new Array(n),s=0;sa(e,t,r,n,i)),r)}function a(e,t,s,a){let{stripTrailingHardline:o=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},u=n(Object.assign(Object.assign(Object.assign({},s),t),{},{parentParser:s.parser,originalText:e}),{passThrough:!0}),l=Jt().parse(e,u),{ast:c}=l;e=l.text;let p=c.comments;delete c.comments,i.attach(p,c,e,u),u[Symbol.for("comments")]=p||[],u[Symbol.for("tokens")]=c.tokens||[];let h=a(c,u);return i.ensureAllCommentsPrinted(p),o?"string"==typeof h?h.replace(/(?:\r?\n)*$/,""):r(h):h}t.exports={printSubtree:s}}}),nr=_({"src/main/ast-to-doc.js"(e,t){N();var r=tr(),{builders:{hardline:n,addAlignmentToDoc:i},utils:{propagateBreaks:s}}=ee(),{printComments:a}=er(),o=rr();function u(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,{printer:o}=t;o.preprocess&&(e=o.preprocess(e,t));let u=new Map,l=new r(e),p=h();return a>0&&(p=i([n,p],a,t.tabWidth)),s(p),p;function h(e,t){return void 0===e||e===l?d(t):Array.isArray(e)?l.call((()=>d(t)),...e):l.call((()=>d(t)),e)}function d(e){let r=l.getValue(),n=r&&"object"==typeof r&&void 0===e;if(n&&u.has(r))return u.get(r);let i=c(l,t,h,e);return n&&u.set(r,i),i}}function l(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:i,locEnd:s}=t,a=i(e),o=s(e),u=new Set;for(let e of n)i(e)>=a&&s(e)<=o&&(e.printed=!0,u.add(e));return{doc:r.slice(a,o),printedComments:u}}function c(e,t,r,n){let i,s,c=e.getValue(),{printer:p}=t;if(p.hasPrettierIgnore&&p.hasPrettierIgnore(e))({doc:i,printedComments:s}=l(c,t));else{if(c)try{i=o.printSubtree(e,r,t,u)}catch(e){if(globalThis.PRETTIER_DEBUG)throw e}i||(i=p.print(e,t,r,n))}return(!p.willPrintOwnComments||!p.willPrintOwnComments(e,t))&&(i=a(e,i,t,s)),i}t.exports=u}}),ir=_({"src/main/range-util.js"(e,t){N();var r=Qt(),n=er(),i=e=>{let{parser:t}=e;return"json"===t||"json5"===t||"json-stringify"===t};function s(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find((e=>c.has(e.type)&&n.has(e)))}function a(e){let t=e.length-1;for(;;){let r=e[t];if(!r||"Program"!==r.type&&"File"!==r.type)break;t--}return e.slice(0,t+1)}function o(e,t,r){let{locStart:n,locEnd:i}=r,s=e.node,o=t.node;if(s===o)return{startNode:s,endNode:o};let u=n(e.node);for(let e of a(t.parentNodes)){if(!(n(e)>=u))break;o=e}let l=i(t.node);for(let t of a(e.parentNodes)){if(!(i(t)<=l))break;s=t}return{startNode:s,endNode:o}}function u(e,t,r,i){let s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5?arguments[5]:void 0,{locStart:o,locEnd:l}=r,c=o(e),p=l(e);if(!(t>p||ta);let d=e.slice(a,l).search(/\S/),f=-1===d;if(!f)for(a+=d;l>a&&!/\S/.test(e[l-1]);--l);let m,y,g=u(n,a,t,((e,r)=>h(t,e,r)),[],"rangeStart"),v=f?g:u(n,l,t,(e=>h(t,e)),[],"rangeEnd");if(!g||!v)return{rangeStart:0,rangeEnd:0};if(i(t)){let e=s(g,v);m=e,y=e}else({startNode:m,endNode:y}=o(g,v,t));return{rangeStart:Math.min(c(m),c(y)),rangeEnd:Math.max(p(m),p(y))}}t.exports={calculateRange:d,findNodeAtOffset:u}}}),sr=_({"src/main/core.js"(e,t){N();var{diffArrays:r}=B(),{printer:{printDocToString:n},debug:{printDocToDebug:i}}=ee(),{getAlignmentSize:s}=Ce(),{guessEndOfLine:a,convertEndOfLineToChars:o,countEndOfLineChars:u,normalizeEndOfLine:l}=L(),c=Yt().normalize,p=Xt(),h=er(),d=Jt(),f=nr(),m=ir(),y="\ufeff",g=Symbol("cursor");function v(e,t,r){let n=t.comments;return n&&(delete t.comments,h.attach(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}function b(e,t){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(!e||0===e.trim().length)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:s,text:a}=d.parse(e,t);if(t.cursorOffset>=0){let e=m.findNodeAtOffset(s,t.cursorOffset,t);e&&e.node&&(t.cursorNode=e.node)}let u=v(a,s,t),l=f(s,t,i),c=n(l,t);if(h.ensureAllCommentsPrinted(u),i>0){let e=c.formatted.trim();void 0!==c.cursorNodeStart&&(c.cursorNodeStart-=c.formatted.indexOf(e)),c.formatted=e+o(t.endOfLine)}if(t.cursorOffset>=0){let e,n,i,s,o;if(t.cursorNode&&c.cursorNodeText?(e=t.locStart(t.cursorNode),n=a.slice(e,t.locEnd(t.cursorNode)),i=t.cursorOffset-e,s=c.cursorNodeStart,o=c.cursorNodeText):(e=0,n=a,i=t.cursorOffset,s=0,o=c.formatted),n===o)return{formatted:c.formatted,cursorOffset:s+i,comments:u};let l=[...n];l.splice(i,0,g);let p=[...o],h=r(l,p),d=s;for(let e of h)if(e.removed){if(e.value.includes(g))break}else d+=e.count;return{formatted:c.formatted,cursorOffset:d,comments:u}}return{formatted:c.formatted,cursorOffset:-1,comments:u}}function D(e,t){let{ast:r,text:n}=d.parse(e,t),{rangeStart:i,rangeEnd:a}=m.calculateRange(n,t,r),l=n.slice(i,a),c=Math.min(i,n.lastIndexOf("\n",i)+1),p=n.slice(c,i).match(/^\s*/)[0],h=s(p,t.tabWidth),f=b(l,Object.assign(Object.assign({},t),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=a?t.cursorOffset-i:-1,endOfLine:"lf"}),h),y=f.formatted.trimEnd(),{cursorOffset:g}=t;g>a?g+=y.length-l.length:f.cursorOffset>=0&&(g=f.cursorOffset+i);let v=n.slice(0,i)+y+n.slice(a);if("lf"!==t.endOfLine){let e=o(t.endOfLine);g>=0&&"\r\n"===e&&(g+=u(v.slice(0,g),"\n")),v=v.replace(/\n/g,e)}return{formatted:v,cursorOffset:g,comments:f.comments}}function x(e,t,r){return"number"!=typeof t||Number.isNaN(t)||t<0||t>e.length?r:t}function E(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i}=t;return r=x(e,r,-1),n=x(e,n,0),i=x(e,i,e.length),Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i})}function w(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}=E(e,t),o=e.charAt(0)===y;if(o&&(e=e.slice(1),r--,n--,i--),"auto"===s&&(s=a(e)),e.includes("\r")){let t=t=>u(e.slice(0,Math.max(t,0)),"\r\n");r-=t(r),n-=t(n),i-=t(i),e=l(e)}return{hasBOM:o,text:e,options:E(e,Object.assign(Object.assign({},t),{},{cursorOffset:r,rangeStart:n,rangeEnd:i,endOfLine:s}))}}function C(e,t){let r=d.resolveParser(t);return!r.hasPragma||r.hasPragma(e)}function A(e,t){let r,{hasBOM:n,text:i,options:s}=w(e,c(t));return s.rangeStart>=s.rangeEnd&&""!==i||s.requirePragma&&!C(i,s)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(s.rangeStart>0||s.rangeEnd=0&&r.cursorOffset++),r)}t.exports={formatWithCursor:A,parse(e,t,r){let{text:n,options:i}=w(e,c(t)),s=d.parse(n,i);return r&&(s.ast=p(s.ast,i)),s},formatAST(e,t){t=c(t);let r=f(e,t);return n(r,t)},formatDoc:(e,t)=>A(i(e),Object.assign(Object.assign({},t),{},{parser:"__js_expression"})).formatted,printToDoc(e,t){t=c(t);let{ast:r,text:n}=d.parse(e,t);return v(n,r,t),f(r,t)},printDocToString:(e,t)=>n(e,c(t))}}}),ar=_({"src/common/util-shared.js"(e,t){N();var{getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:a,skipWhitespace:o,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:b,getNextNonSpaceNonCommentCharacterIndex:D,makeString:x,addLeadingComment:E,addDanglingComment:w,addTrailingComment:C}=Ce();t.exports={getMaxContinuousCount:r,getStringWidth:n,getAlignmentSize:i,getIndentSize:s,skip:a,skipWhitespace:o,skipSpaces:u,skipNewline:l,skipToLineEnd:c,skipEverythingButNewLine:p,skipInlineComment:h,skipTrailingComment:d,hasNewline:f,hasNewlineInRange:m,hasSpaces:y,isNextLineEmpty:g,isNextLineEmptyAfterIndex:v,isPreviousLineEmpty:b,getNextNonSpaceNonCommentCharacterIndex:D,makeString:x,addLeadingComment:E,addDanglingComment:w,addTrailingComment:C}}}),or=_({"src/utils/create-language.js"(e,t){N(),t.exports=function(e,t){let{languageId:r}=e,n=y(e,m);return Object.assign(Object.assign({linguistLanguageId:r},n),t(e))}}}),ur=_({"node_modules/esutils/lib/ast.js"(e,t){N(),function(){function e(e){if(null==e)return!1;switch(e.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(e){if(null==e)return!1;switch(e.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function n(e){if(null==e)return!1;switch(e.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function i(e){return n(e)||null!=e&&"FunctionDeclaration"===e.type}function s(e){switch(e.type){case"IfStatement":return null!=e.alternate?e.alternate:e.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return e.body}return null}function a(e){var t;if("IfStatement"!==e.type||null==e.alternate)return!1;t=e.consequent;do{if("IfStatement"===t.type&&null==t.alternate)return!0;t=s(t)}while(t);return!1}t.exports={isExpression:e,isStatement:n,isIterationStatement:r,isSourceElement:i,isProblematicIfStatement:a,trailingStatement:s}}()}}),lr=_({"node_modules/esutils/lib/code.js"(e,t){N(),function(){var e,r,n,i,s,a;function o(e){return 48<=e&&e<=57}function u(e){return 48<=e&&e<=57||97<=e&&e<=102||65<=e&&e<=70}function l(e){return e>=48&&e<=55}function c(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&n.indexOf(e)>=0}function p(e){return 10===e||13===e||8232===e||8233===e}function h(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(Math.floor((e-65536)/1024)+55296)+String.fromCharCode((e-65536)%1024+56320)}for(r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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\u2118-\u211D\u2124\u2126\u2128\u212A-\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\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},n=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],i=new Array(128),a=0;a<128;++a)i[a]=a>=97&&a<=122||a>=65&&a<=90||36===a||95===a;for(s=new Array(128),a=0;a<128;++a)s[a]=a>=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57||36===a||95===a;function d(e){return e<128?i[e]:r.NonAsciiIdentifierStart.test(h(e))}function f(e){return e<128?s[e]:r.NonAsciiIdentifierPart.test(h(e))}function m(t){return t<128?i[t]:e.NonAsciiIdentifierStart.test(h(t))}function y(t){return t<128?s[t]:e.NonAsciiIdentifierPart.test(h(t))}t.exports={isDecimalDigit:o,isHexDigit:u,isOctalDigit:l,isWhiteSpace:c,isLineTerminator:p,isIdentifierStartES5:d,isIdentifierPartES5:f,isIdentifierStartES6:m,isIdentifierPartES6:y}}()}}),cr=_({"node_modules/esutils/lib/keyword.js"(e,t){N(),function(){var e=lr();function r(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function n(e,t){return!(!t&&"yield"===e)&&i(e,t)}function i(e,t){if(t&&r(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}function s(e,t){return"null"===e||"true"===e||"false"===e||n(e,t)}function a(e,t){return"null"===e||"true"===e||"false"===e||i(e,t)}function o(e){return"eval"===e||"arguments"===e}function u(t){var r,n,i;if(0===t.length||(i=t.charCodeAt(0),!e.isIdentifierStartES5(i)))return!1;for(r=1,n=t.length;r=n||!(56320<=(s=t.charCodeAt(r))&&s<=57343))return!1;i=l(i,s)}if(!a(i))return!1;a=e.isIdentifierPartES6}return!0}function p(e,t){return u(e)&&!s(e,t)}function h(e,t){return c(e)&&!a(e,t)}t.exports={isKeywordES5:n,isKeywordES6:i,isReservedWordES5:s,isReservedWordES6:a,isRestrictedWord:o,isIdentifierNameES5:u,isIdentifierNameES6:c,isIdentifierES5:p,isIdentifierES6:h}}()}}),pr=_({"node_modules/esutils/lib/utils.js"(e){N(),e.ast=ur(),e.code=lr(),e.keyword=cr()}}),hr=_({"src/language-js/utils/is-block-comment.js"(e,t){N();var r=new Set(["Block","CommentBlock","MultiLine"]),n=e=>r.has(null==e?void 0:e.type);t.exports=n}}),dr=_({"src/language-js/utils/is-node-matches.js"(e,t){function r(e,t){let r=t.split(".");for(let t=r.length-1;t>=0;t--){let n=r[t];if(0===t)return"Identifier"===e.type&&e.name===n;if("MemberExpression"!==e.type||e.optional||e.computed||"Identifier"!==e.property.type||e.property.name!==n)return!1;e=e.object}}function n(e,t){return t.some((t=>r(e,t)))}N(),t.exports=n}}),fr=_({"src/language-js/utils/index.js"(e,t){N();var r=pr().keyword.isIdentifierNameES5,{getLast:n,hasNewline:i,skipWhitespace:s,isNonEmptyArray:a,isNextLineEmptyAfterIndex:o,getStringWidth:u}=Ce(),{locStart:l,locEnd:c,hasSameLocStart:p}=qt(),h=hr(),d=dr(),f="(?:(?=.)\\s)",m=new RegExp("^".concat(f,"*:")),y=new RegExp("^".concat(f,"*::"));function g(e){var t,r;return(null===(t=e.extra)||void 0===t?void 0:t.parenthesized)&&h(null===(r=e.trailingComments)||void 0===r?void 0:r[0])&&m.test(e.trailingComments[0].value)}function v(e){let t=null==e?void 0:e[0];return h(t)&&y.test(t.value)}function b(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e))return e.some((e=>b(e,t)));let r=t(e);return"boolean"==typeof r?r:Object.values(e).some((e=>b(e,t)))}function D(e){return"AssignmentExpression"===e.type||"BinaryExpression"===e.type||"LogicalExpression"===e.type||"NGPipeExpression"===e.type||"ConditionalExpression"===e.type||J(e)||Y(e)||"SequenceExpression"===e.type||"TaggedTemplateExpression"===e.type||"BindExpression"===e.type||"UpdateExpression"===e.type&&!e.prefix||"TSAsExpression"===e.type||"TSNonNullExpression"===e.type}function x(e){var t,r,n,i,s,a;return e.expressions?e.expressions[0]:null!==(t=null!==(r=null!==(n=null!==(i=null!==(s=null!==(a=e.left)&&void 0!==a?a:e.test)&&void 0!==s?s:e.callee)&&void 0!==i?i:e.object)&&void 0!==n?n:e.tag)&&void 0!==r?r:e.argument)&&void 0!==t?t:e.expression}function E(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function w(e){return e=new Set(e),t=>e.has(null==t?void 0:t.type)}var C=w(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),A=w(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function S(e){let t=e.getParentNode();return"declaration"===e.getName()&&A(t)?t:null}var _=w(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function k(e){return"NumericLiteral"===e.type||"Literal"===e.type&&"number"==typeof e.value}function T(e){return"UnaryExpression"===e.type&&("+"===e.operator||"-"===e.operator)&&k(e.argument)}function F(e){return"StringLiteral"===e.type||"Literal"===e.type&&"string"==typeof e.value}var P=w(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),I=w(["FunctionExpression","ArrowFunctionExpression"]);function O(e){return"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&"BlockStatement"===e.body.type}function B(e){return J(e)&&"Identifier"===e.callee.type&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var j=w(["JSXElement","JSXFragment"]);function L(e,t){if("markdown"!==e.parentParser&&"mdx"!==e.parentParser)return!1;let r=t.getNode();if(!r.expression||!j(r.expression))return!1;let n=t.getParentNode();return"Program"===n.type&&1===n.body.length}function M(e){return"get"===e.kind||"set"===e.kind}function R(e){return M(e)||p(e,e.value)}function z(e){return!("ObjectTypeProperty"!==e.type&&"ObjectTypeInternalSlot"!==e.type||"FunctionTypeAnnotation"!==e.value.type||e.static||R(e))}function U(e){return!("TypeAnnotation"!==e.type&&"TSTypeAnnotation"!==e.type||"FunctionTypeAnnotation"!==e.typeAnnotation.type||e.static||p(e,e.typeAnnotation))}var V=w(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function $(e){return Y(e)||"BindExpression"===e.type&&Boolean(e.object)}var W=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function H(e){return!(!e||("GenericTypeAnnotation"!==e.type&&"TSTypeReference"!==e.type||e.typeParameters)&&!W.has(e.type))}function q(e){let t=/^(?:before|after)(?:Each|All)$/;return"Identifier"===e.callee.type&&t.test(e.callee.name)&&1===e.arguments.length}var K=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Z(e){return d(e,K)}function G(e,t){if("CallExpression"!==e.type)return!1;if(1===e.arguments.length){if(B(e)&&t&&G(t))return I(e.arguments[0]);if(q(e))return B(e.arguments[0])}else if((2===e.arguments.length||3===e.arguments.length)&&("TemplateLiteral"===e.arguments[0].type||F(e.arguments[0]))&&Z(e.callee))return!(e.arguments[2]&&!k(e.arguments[2]))&&((2===e.arguments.length?I(e.arguments[1]):O(e.arguments[1])&&_e(e.arguments[1]).length<=1)||B(e.arguments[1]));return!1}var J=w(["CallExpression","OptionalCallExpression"]),Y=w(["MemberExpression","OptionalMemberExpression"]);function X(e){let t="expressions";"TSTemplateLiteralType"===e.type&&(t="types");let r=e[t];return 0!==r.length&&r.every((e=>{if(Le(e))return!1;if("Identifier"===e.type||"ThisExpression"===e.type)return!0;if(Y(e)){let t=e;for(;Y(t);)if("Identifier"!==t.property.type&&"Literal"!==t.property.type&&"StringLiteral"!==t.property.type&&"NumericLiteral"!==t.property.type||(t=t.object,Le(t)))return!1;return"Identifier"===t.type||"ThisExpression"===t.type}return!1}))}function Q(e,t){return"+"===e||"-"===e?e+t:t}function ee(e,t){let r=l(t),n=s(e,c(t));return!1!==n&&"/*"===e.slice(r,r+2)&&"*/"===e.slice(n,n+2)}function te(e,t){return j(t)?Ie(t):Le(t,Be.Leading,(t=>i(e,c(t))))}function re(e,t){return"json"!==t.parser&&F(e.key)&&pe(e.key).slice(1,-1)===e.key.value&&(r(e.key.value)&&!("babel-ts"===t.parser&&"ClassProperty"===e.type||"typescript"===t.parser&&"PropertyDefinition"===e.type)||ne(e.key.value)&&String(Number(e.key.value))===e.key.value&&("babel"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser))}function ne(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function ie(e,t){let r=/^[fx]?(?:describe|it|test)$/;return"TaggedTemplateExpression"===t.type&&t.quasi===e&&"MemberExpression"===t.tag.type&&"Identifier"===t.tag.property.type&&"each"===t.tag.property.name&&("Identifier"===t.tag.object.type&&r.test(t.tag.object.name)||"MemberExpression"===t.tag.object.type&&"Identifier"===t.tag.object.property.type&&("only"===t.tag.object.property.name||"skip"===t.tag.object.property.name)&&"Identifier"===t.tag.object.object.type&&r.test(t.tag.object.object.name))}function se(e){return e.quasis.some((e=>e.value.raw.includes("\n")))}function ae(e,t){return("TemplateLiteral"===e.type&&se(e)||"TaggedTemplateExpression"===e.type&&se(e.quasi))&&!i(t,l(e),{backwards:!0})}function oe(e){if(!Le(e))return!1;let t=n(Me(e,Be.Dangling));return t&&!h(t)}function ue(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(I(r)){if(t+=1,t>1)return!0}else if(J(r))for(let e of r.arguments)if(I(e))return!0;return!1}function le(e){let t=e.getValue(),r=e.getParentNode();return J(t)&&J(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0}function ce(e,t){if(t>=2)return!1;let r=e=>ce(e,t+1),n="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return!(n&&u(n)>5)&&("Literal"===e.type||"BigIntLiteral"===e.type||"DecimalLiteral"===e.type||"BooleanLiteral"===e.type||"NullLiteral"===e.type||"NumericLiteral"===e.type||"RegExpLiteral"===e.type||"StringLiteral"===e.type||"Identifier"===e.type||"ThisExpression"===e.type||"Super"===e.type||"PrivateName"===e.type||"PrivateIdentifier"===e.type||"ArgumentPlaceholder"===e.type||"Import"===e.type||("TemplateLiteral"===e.type?e.quasis.every((e=>!e.value.raw.includes("\n")))&&e.expressions.every(r):"ObjectExpression"===e.type?e.properties.every((e=>!e.computed&&(e.shorthand||e.value&&r(e.value)))):"ArrayExpression"===e.type?e.elements.every((e=>null===e||r(e))):ze(e)?("ImportExpression"===e.type||ce(e.callee,t))&&Fe(e).every(r):Y(e)?ce(e.object,t)&&ce(e.property,t):"UnaryExpression"!==e.type||"!"!==e.operator&&"-"!==e.operator?"TSNonNullExpression"===e.type&&ce(e.expression,t):ce(e.argument,t)))}function pe(e){var t,r;return null!==(t=null===(r=e.extra)||void 0===r?void 0:r.raw)&&void 0!==t?t:e.raw}function he(e){return e}function de(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function fe(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"es5";return"es5"===e.trailingComma&&"es5"===t||"all"===e.trailingComma&&("all"===t||"es5"===t)}function me(e,t){switch((e=Ee(e)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return t;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return me(e.object,t);case"TaggedTemplateExpression":return"FunctionExpression"!==e.tag.type&&me(e.tag,t);case"CallExpression":case"OptionalCallExpression":return"FunctionExpression"!==e.callee.type&&me(e.callee,t);case"ConditionalExpression":return me(e.test,t);case"UpdateExpression":return!e.prefix&&me(e.argument,t);case"BindExpression":return e.object&&me(e.object,t);case"SequenceExpression":return me(e.expressions[0],t);case"TSAsExpression":case"TSNonNullExpression":return me(e.expression,t);default:return!1}}var ye={"==":!0,"!=":!0,"===":!0,"!==":!0},ge={"*":!0,"/":!0,"%":!0},ve={">>":!0,">>>":!0,"<<":!0};function be(e,t){return!(xe(t)!==xe(e)||"**"===e||ye[e]&&ye[t]||"%"===t&&ge[e]||"%"===e&&ge[t]||t!==e&&ge[t]&&ge[e]||ve[e]&&ve[t])}var De=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap(((e,t)=>e.map((e=>[e,t])))));function xe(e){return De.get(e)}function Ee(e){for(;e.left;)e=e.left;return e}function we(e){return Boolean(ve[e])||"|"===e||"^"===e||"&"===e}function Ae(e){var t;if(e.rest)return!0;let r=_e(e);return"RestElement"===(null===(t=n(r))||void 0===t?void 0:t.type)}var Se=new WeakMap;function _e(e){if(Se.has(e))return Se.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Se.set(e,t),t}function ke(e,t){let r=e.getValue(),n=0,i=e=>t(e,n++);r.this&&e.call(i,"this"),Array.isArray(r.parameters)?e.each(i,"parameters"):Array.isArray(r.params)&&e.each(i,"params"),r.rest&&e.call(i,"rest")}var Te=new WeakMap;function Fe(e){if(Te.has(e))return Te.get(e);let t=e.arguments;return"ImportExpression"===e.type&&(t=[e.source],e.attributes&&t.push(e.attributes)),Te.set(e,t),t}function Pe(e,t){let r=e.getValue();"ImportExpression"===r.type?(e.call((e=>t(e,0)),"source"),r.attributes&&e.call((e=>t(e,1)),"attributes")):e.each(t,"arguments")}function Ne(e){return"prettier-ignore"===e.value.trim()&&!e.unignore}function Ie(e){return e&&(e.prettierIgnore||Le(e,Be.PrettierIgnore))}function Oe(e){return Ie(e.getValue())}var Be={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},je=(e,t)=>{if("function"==typeof e&&(t=e,e=0),e||t)return(r,n,i)=>!(e&Be.Leading&&!r.leading||e&Be.Trailing&&!r.trailing||e&Be.Dangling&&(r.leading||r.trailing)||e&Be.Block&&!h(r)||e&Be.Line&&!C(r)||e&Be.First&&0!==n||e&Be.Last&&n!==i.length-1||e&Be.PrettierIgnore&&!Ne(r)||t&&!t(r))};function Le(e,t,r){if(!a(null==e?void 0:e.comments))return!1;let n=je(t,r);return!n||e.comments.some(n)}function Me(e,t,r){if(!Array.isArray(null==e?void 0:e.comments))return[];let n=je(t,r);return n?e.comments.filter(n):e.comments}var Re=(e,t)=>{let{originalText:r}=t;return o(r,c(e))};function ze(e){return J(e)||"NewExpression"===e.type||"ImportExpression"===e.type}function Ue(e){return e&&("ObjectProperty"===e.type||"Property"===e.type&&!e.method&&"init"===e.kind)}function Ve(e){return Boolean(e.__isUsingHackPipeline)}var $e=Symbol("ifWithoutBlockAndSameLineComment");t.exports={getFunctionParameters:_e,iterateFunctionParametersPath:ke,getCallArguments:Fe,iterateCallArgumentsPath:Pe,hasRestParameter:Ae,getLeftSide:x,getLeftSidePathName:E,getParentExportDeclaration:S,getTypeScriptMappedTypeModifier:Q,hasFlowAnnotationComment:v,hasFlowShorthandAnnotationComment:g,hasLeadingOwnLineComment:te,hasNakedLeftSide:D,hasNode:b,hasIgnoreComment:Oe,hasNodeIgnoreComment:Ie,identity:he,isBinaryish:V,isCallLikeExpression:ze,isEnabledHackPipeline:Ve,isLineComment:C,isPrettierIgnoreComment:Ne,isCallExpression:J,isMemberExpression:Y,isExportDeclaration:A,isFlowAnnotationComment:ee,isFunctionCompositionArgs:ue,isFunctionNotation:R,isFunctionOrArrowExpression:I,isGetterOrSetter:M,isJestEachTemplateLiteral:ie,isJsxNode:j,isLiteral:_,isLongCurriedCallExpression:le,isSimpleCallArgument:ce,isMemberish:$,isNumericLiteral:k,isSignedNumericLiteral:T,isObjectProperty:Ue,isObjectType:P,isObjectTypePropertyAFunction:z,isSimpleType:H,isSimpleNumber:ne,isSimpleTemplateLiteral:X,isStringLiteral:F,isStringPropSafeToUnquote:re,isTemplateOnItsOwnLine:ae,isTestCall:G,isTheOnlyJsxElementInMarkdown:L,isTSXFile:de,isTypeAnnotationAFunction:U,isNextLineEmpty:Re,needsHardlineAfterDanglingComment:oe,rawText:pe,shouldPrintComma:fe,isBitwiseOperator:we,shouldFlatten:be,startsWithNoLookaheadToken:me,getPrecedence:xe,hasComment:Le,getComments:Me,CommentCheckFlags:Be,markerForIfWithoutBlockAndSameLineComment:$e}}}),mr=_({"src/language-js/print/template-literal.js"(e,t){N();var r=M(),{getStringWidth:n,getIndentSize:i}=Ce(),{builders:{join:s,hardline:a,softline:o,group:u,indent:l,align:c,lineSuffixBoundary:p,addAlignmentToDoc:h},printer:{printDocToString:d},utils:{mapDoc:f}}=ee(),{isBinaryish:m,isJestEachTemplateLiteral:y,isSimpleTemplateLiteral:g,hasComment:v,isMemberExpression:b}=fr();function D(e,t,r){let n=e.getValue();if("TemplateLiteral"===n.type&&y(n,e.getParentNode())){let n=x(e,r,t);if(n)return n}let s="expressions";"TSTemplateLiteralType"===n.type&&(s="types");let a=[],f=e.map(t,s),D=g(n);return D&&(f=f.map((e=>d(e,Object.assign(Object.assign({},r),{},{printWidth:Number.POSITIVE_INFINITY})).formatted))),a.push(p,"`"),e.each((e=>{let d=e.getName();if(a.push(t()),d1||u.some((e=>e.length>0))){t.__inJestEach=!0;let c=e.map(i,"expressions");t.__inJestEach=!1;let h=[],f=c.map((e=>"${"+d(e,Object.assign(Object.assign({},t),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}")),m=[{hasLineBreak:!1,cells:[]}];for(let e=1;ee.cells.length))),g=Array.from({length:y}).fill(0),v=[{cells:u},...m.filter((e=>e.cells.length>0))];for(let{cells:e}of v.filter((e=>!e.hasLineBreak)))for(let[t,r]of e.entries())g[t]=Math.max(g[t],n(r));return h.push(p,"`",l([a,s(a,v.map((e=>s(" | ",e.cells.map(((t,r)=>e.hasLineBreak?t:t+" ".repeat(g[r]-n(t))))))))]),a,"`"),h}}function E(e,t){let r=e.getValue(),n=t();return v(r)&&(n=u([l([o,n]),o])),["${",n,p,"}"]}function w(e,t){return e.map((e=>E(e,t)),"expressions")}function C(e,t){return f(e,(e=>"string"==typeof e?t?e.replace(/(\\*)`/g,"$1$1\\`"):A(e):e))}function A(e){return e.replace(/([\\`]|\${)/g,"\\$1")}t.exports={printTemplateLiteral:D,printTemplateExpressions:w,escapeTemplateCharacters:C,uncookTemplateElementValue:A}}}),yr=_({"src/language-js/embed/markdown.js"(e,t){N();var{builders:{indent:r,softline:n,literalline:i,dedentToRoot:s}}=ee(),{escapeTemplateCharacters:a}=mr();function o(e,t,o){let l=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,((e,t)=>"\\".repeat(t.length/2)+"`")),c=u(l),p=""!==c;p&&(l=l.replace(new RegExp("^".concat(c),"gm"),""));let h=a(o(l,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",p?r([n,h]):[i,s(h)],n,"`"]}function u(e){let t=e.match(/^([^\S\n]*)\S/m);return null===t?"":t[1]}t.exports=o}}),gr=_({"src/language-js/embed/css.js"(e,t){N();var{isNonEmptyArray:r}=Ce(),{builders:{indent:n,hardline:i,softline:s},utils:{mapDoc:a,replaceEndOfLine:o,cleanDoc:u}}=ee(),{printTemplateExpressions:l}=mr();function c(e,t,r){let n=e.getValue(),i=n.quasis.map((e=>e.value.raw)),s=0;return p(r(i.reduce(((e,t,r)=>0===r?t:e+"@prettier-placeholder-"+s+++"-id"+t),""),{parser:"scss"},{stripTrailingHardline:!0}),n,l(e,t))}function p(e,t,r){if(1===t.quasis.length&&!t.quasis[0].value.raw.trim())return"``";let a=h(e,r);if(!a)throw new Error("Couldn't insert all the expressions");return["`",n([i,a]),s,"`"]}function h(e,t){if(!r(t))return e;let n=0,i=a(u(e),(e=>"string"==typeof e&&e.includes("@prettier-placeholder")?e.split(/@prettier-placeholder-(\d+)-id/).map(((e,r)=>r%2==0?o(e):(n++,t[e]))):e));return t.length===n?i:null}t.exports=c}}),vr=_({"src/language-js/embed/graphql.js"(e,t){N();var{builders:{indent:r,join:n,hardline:i}}=ee(),{escapeTemplateCharacters:s,printTemplateExpressions:a}=mr();function o(e,t,o){let l=e.getValue(),c=l.quasis.length;if(1===c&&""===l.quasis[0].value.raw.trim())return"``";let p=a(e,t),h=[];for(let e=0;e2&&""===i[0].trim()&&""===i[1].trim(),m=a>2&&""===i[a-1].trim()&&""===i[a-2].trim(),y=i.every((e=>/^\s*(?:#[^\n\r]*)?$/.test(e)));if(!r&&/#[^\n\r]*$/.test(i[a-1]))return null;let g=null;g=y?u(i):o(n,{parser:"graphql"},{stripTrailingHardline:!0}),g?(g=s(g,!1),!t&&f&&h.push(""),h.push(g),!r&&m&&h.push("")):!t&&!r&&f&&h.push(""),d&&h.push(d)}return["`",r([i,n(i,h)]),i,"`"]}function u(e){let t=[],r=!1,s=e.map((e=>e.trim()));for(let[e,n]of s.entries())""!==n&&(""===s[e-1]&&r?t.push([i,n]):t.push(n),r=!0);return 0===t.length?null:n(i,t)}t.exports=o}}),br=_({"src/language-js/embed/html.js"(e,t){N();var{builders:{indent:r,line:n,hardline:i,group:s},utils:{mapDoc:a}}=ee(),{printTemplateExpressions:o,uncookTemplateElementValue:u}=mr(),l=0;function c(e,t,c,p,h){let{parser:d}=h,f=e.getValue(),m=l;l=l+1>>>0;let y=e=>"PRETTIER_HTML_PLACEHOLDER_".concat(e,"_").concat(m,"_IN_JS"),g=f.quasis.map(((e,t,r)=>t===r.length-1?e.value.cooked:e.value.cooked+y(t))).join(""),v=o(e,t);if(0===v.length&&0===g.trim().length)return"``";let b=new RegExp(y("(\\d+)"),"g"),D=0,x=c(g,{parser:d,__onHtmlRoot(e){D=e.children.length}},{stripTrailingHardline:!0}),E=a(x,(e=>{if("string"!=typeof e)return e;let t=[],r=e.split(b);for(let e=0;e1?r(s(E)):s(E),C,"`"])}t.exports=c}}),Dr=_({"src/language-js/embed.js"(e,t){N();var{hasComment:r,CommentCheckFlags:n,isObjectProperty:i}=fr(),s=yr(),a=gr(),o=vr(),u=br();function l(e){return h(e)||y(e)||g(e)||d(e)?"css":D(e)?"graphql":E(e)?"html":f(e)?"angular":p(e)?"markdown":void 0}function c(e,t,r,n){let i=e.getValue();if("TemplateLiteral"!==i.type||w(i))return;let c=l(e);if(c){if("markdown"===c)return s(e,t,r);if("css"===c)return a(e,t,r);if("graphql"===c)return o(e,t,r);if("html"===c||"angular"===c)return u(e,t,r,n,{parser:c})}}function p(e){let t=e.getValue(),r=e.getParentNode();return r&&"TaggedTemplateExpression"===r.type&&1===t.quasis.length&&"Identifier"===r.tag.type&&("md"===r.tag.name||"markdown"===r.tag.name)}function h(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&"JSXExpressionContainer"===r.type&&"JSXElement"===n.type&&"style"===n.openingElement.name.name&&n.openingElement.attributes.some((e=>"jsx"===e.name.name))||r&&"TaggedTemplateExpression"===r.type&&"Identifier"===r.tag.type&&"css"===r.tag.name||r&&"TaggedTemplateExpression"===r.type&&"MemberExpression"===r.tag.type&&"css"===r.tag.object.name&&("global"===r.tag.property.name||"resolve"===r.tag.property.name)}function d(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"ArrayExpression"===e.type&&"elements"===t),((e,t)=>i(e)&&"Identifier"===e.key.type&&"styles"===e.key.name&&"value"===t),...m)}function f(e){return e.match((e=>"TemplateLiteral"===e.type),((e,t)=>i(e)&&"Identifier"===e.key.type&&"template"===e.key.name&&"value"===t),...m)}var m=[(e,t)=>"ObjectExpression"===e.type&&"properties"===t,(e,t)=>"CallExpression"===e.type&&"Identifier"===e.callee.type&&"Component"===e.callee.name&&"arguments"===t,(e,t)=>"Decorator"===e.type&&"expression"===t];function y(e){let t=e.getParentNode();if(!t||"TaggedTemplateExpression"!==t.type)return!1;let r="ParenthesizedExpression"===t.tag.type?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return v(r.object)||b(r);case"CallExpression":return v(r.callee)||"MemberExpression"===r.callee.type&&("MemberExpression"===r.callee.object.type&&(v(r.callee.object.object)||b(r.callee.object))||"CallExpression"===r.callee.object.type&&v(r.callee.object.callee));case"Identifier":return"css"===r.name;default:return!1}}function g(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&"JSXExpressionContainer"===t.type&&"JSXAttribute"===r.type&&"JSXIdentifier"===r.name.type&&"css"===r.name.name}function v(e){return"Identifier"===e.type&&"styled"===e.name}function b(e){return/^[A-Z]/.test(e.object.name)&&"extend"===e.property.name}function D(e){let t=e.getValue(),r=e.getParentNode();return x(t,"GraphQL")||r&&("TaggedTemplateExpression"===r.type&&("MemberExpression"===r.tag.type&&"graphql"===r.tag.object.name&&"experimental"===r.tag.property.name||"Identifier"===r.tag.type&&("gql"===r.tag.name||"graphql"===r.tag.name))||"CallExpression"===r.type&&"Identifier"===r.callee.type&&"graphql"===r.callee.name)}function x(e,t){return r(e,n.Block|n.Leading,(e=>{let{value:r}=e;return r===" ".concat(t," ")}))}function E(e){return x(e.getValue(),"HTML")||e.match((e=>"TemplateLiteral"===e.type),((e,t)=>"TaggedTemplateExpression"===e.type&&"Identifier"===e.tag.type&&"html"===e.tag.name&&"quasi"===t))}function w(e){let{quasis:t}=e;return t.some((e=>{let{value:{cooked:t}}=e;return null===t}))}t.exports=c}}),xr=_({"src/language-js/clean.js"(e,t){N();var r=hr(),n=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),i=e=>{for(let t of e.quasis)delete t.value};function s(e,t,n){if("Program"===e.type&&delete t.sourceType,("BigIntLiteral"===e.type||"BigIntLiteralTypeAnnotation"===e.type)&&t.value&&(t.value=t.value.toLowerCase()),("BigIntLiteral"===e.type||"Literal"===e.type)&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),"DecimalLiteral"===e.type&&(t.value=Number(t.value)),"Literal"===e.type&&t.decimal&&(t.decimal=Number(t.decimal)),"EmptyStatement"===e.type||"JSXText"===e.type||"JSXExpressionContainer"===e.type&&("Literal"===e.expression.type||"StringLiteral"===e.expression.type)&&" "===e.expression.value)return null;if(("Property"===e.type||"ObjectProperty"===e.type||"MethodDefinition"===e.type||"ClassProperty"===e.type||"ClassMethod"===e.type||"PropertyDefinition"===e.type||"TSDeclareMethod"===e.type||"TSPropertySignature"===e.type||"ObjectTypeProperty"===e.type)&&"object"==typeof e.key&&e.key&&("Literal"===e.key.type||"NumericLiteral"===e.key.type||"StringLiteral"===e.key.type||"Identifier"===e.key.type)&&delete t.key,"JSXElement"===e.type&&"style"===e.openingElement.name.name&&e.openingElement.attributes.some((e=>"jsx"===e.name.name)))for(let{type:e,expression:r}of t.children)"JSXExpressionContainer"===e&&"TemplateLiteral"===r.type&&i(r);"JSXAttribute"===e.type&&"css"===e.name.name&&"JSXExpressionContainer"===e.value.type&&"TemplateLiteral"===e.value.expression.type&&i(t.value.expression),"JSXAttribute"===e.type&&e.value&&"Literal"===e.value.type&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let s=e.expression||e.callee;if("Decorator"===e.type&&"CallExpression"===s.type&&"Component"===s.callee.name&&1===s.arguments.length){let r=e.expression.arguments[0].properties;for(let[e,n]of t.expression.arguments[0].properties.entries())switch(r[e].key.name){case"styles":"ArrayExpression"===n.value.type&&i(n.value.elements[0]);break;case"template":"TemplateLiteral"===n.value.type&&i(n.value)}}var a;return"TaggedTemplateExpression"===e.type&&("MemberExpression"===e.tag.type||"Identifier"===e.tag.type&&("gql"===e.tag.name||"graphql"===e.tag.name||"css"===e.tag.name||"md"===e.tag.name||"markdown"===e.tag.name||"html"===e.tag.name)||"CallExpression"===e.tag.type)&&i(t.quasi),"TemplateLiteral"===e.type&&((null===(a=e.leadingComments)||void 0===a?void 0:a.some((e=>r(e)&&["GraphQL","HTML"].some((t=>e.value===" ".concat(t," "))))))||"CallExpression"===n.type&&"graphql"===n.callee.name||!e.leadingComments)&&i(t),"InterpreterDirective"===e.type&&(t.value=t.value.trimEnd()),"TSIntersectionType"!==e.type&&"TSUnionType"!==e.type||1!==e.types.length?void 0:t.types[0]}s.ignoredProperties=n,t.exports=s}}),Er={};function wr(){if(typeof Lr>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,258===r[0])Lr="BE";else{if(513!==r[0])throw new Error("unable to figure out endianess");Lr="LE"}}return Lr}function Cr(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ar(){return[]}function Sr(){return 0}function _r(){return Number.MAX_VALUE}function kr(){return Number.MAX_VALUE}function Tr(){return[]}function Fr(){return"Browser"}function Pr(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Nr(){}function Ir(){}function Or(){return"javascript"}function Br(){return"browser"}function jr(){return"/tmp"}k(Er,{EOL:()=>Rr,arch:()=>Or,cpus:()=>Tr,default:()=>zr,endianness:()=>wr,freemem:()=>_r,getNetworkInterfaces:()=>Ir,hostname:()=>Cr,loadavg:()=>Ar,networkInterfaces:()=>Nr,platform:()=>Br,release:()=>Pr,tmpDir:()=>jr,tmpdir:()=>Mr,totalmem:()=>kr,type:()=>Fr,uptime:()=>Sr});var Lr,Mr,Rr,zr,Ur=S({"node-modules-polyfills:os"(){N(),zr={EOL:Rr="\n",tmpdir:Mr=jr,tmpDir:jr,networkInterfaces:Nr,getNetworkInterfaces:Ir,release:Pr,type:Fr,cpus:Tr,totalmem:kr,freemem:_r,uptime:Sr,loadavg:Ar,hostname:Cr,endianness:wr}}}),Vr=_({"node-modules-polyfills-commonjs:os"(e,t){N();var r=(Ur(),P(Er));if(r&&r.default){t.exports=r.default;for(let e in r)t.exports[e]=r[e]}else r&&(t.exports=r)}}),$r=_({"node_modules/detect-newline/index.js"(e,t){N();var r=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(0===t.length)return;let r=t.filter((e=>"\r\n"===e)).length;return r>t.length-r?"\r\n":"\n"};t.exports=r,t.exports.graceful=e=>"string"==typeof e&&r(e)||"\n"}}),Wr=_({"node_modules/jest-docblock/build/index.js"(e){function t(){let e=Vr();return t=function(){return e},e}function r(){let e=n($r());return r=function(){return e},e}function n(e){return e&&e.__esModule?e:{default:e}}N(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=d,e.parse=m,e.parseWithComments=y,e.print=g,e.strip=f;var i=/\*\/$/,s=/^\/\*\*/,a=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,o=/(^|\s+)\/\/([^\r\n]*)/g,u=/^(\r?\n)+/,l=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,c=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,p=/(\r?\n|^) *\* ?/g,h=[];function d(e){let t=e.match(a);return t?t[0].trimLeft():""}function f(e){let t=e.match(a);return t&&t[0]?e.substring(t[0].length):e}function m(e){return y(e).pragmas}function y(e){let n=(0,r().default)(e)||t().EOL;e=e.replace(s,"").replace(i,"").replace(p,"$1");let a="";for(;a!==e;)a=e,e=e.replace(l,"".concat(n,"$1 $2").concat(n));e=e.replace(u,"").trimRight();let d,f=Object.create(null),m=e.replace(c,"").replace(u,"").trimRight();for(;d=c.exec(e);){let e=d[2].replace(o,"");"string"==typeof f[d[1]]||Array.isArray(f[d[1]])?f[d[1]]=h.concat(f[d[1]],e):f[d[1]]=e}return{comments:m,pragmas:f}}function g(e){let{comments:n="",pragmas:i={}}=e,s=(0,r().default)(n)||t().EOL,a="/**",o=" *",u=" */",l=Object.keys(i),c=l.map((e=>v(e,i[e]))).reduce(((e,t)=>e.concat(t)),[]).map((e=>o+" "+e+s)).join("");if(!n){if(0===l.length)return"";if(1===l.length&&!Array.isArray(i[l[0]])){let e=i[l[0]];return"".concat(a," ").concat(v(l[0],e)[0]).concat(u)}}let p=n.split(s).map((e=>"".concat(o," ").concat(e))).join(s)+s;return a+s+(n?p:"")+(n&&l.length?o+s:"")+c+u}function v(e,t){return h.concat(t).map((t=>"@".concat(e," ").concat(t).trim()))}}}),Hr=_({"src/language-js/utils/get-shebang.js"(e,t){function r(e){if(!e.startsWith("#!"))return"";let t=e.indexOf("\n");return-1===t?e:e.slice(0,t)}N(),t.exports=r}}),qr=_({"src/language-js/pragma.js"(e,t){N();var{parseWithComments:r,strip:n,extract:i,print:s}=Wr(),{normalizeEndOfLine:a}=L(),o=Hr();function u(e){let t=o(e);t&&(e=e.slice(t.length+1));let n=i(e),{pragmas:s,comments:a}=r(n);return{shebang:t,text:e,pragmas:s,comments:a}}function l(e){let t=Object.keys(u(e).pragmas);return t.includes("prettier")||t.includes("format")}function c(e){let{shebang:t,text:r,pragmas:i,comments:o}=u(e),l=n(r),c=s({pragmas:Object.assign({format:""},i),comments:o.trimStart()});return(t?"".concat(t,"\n"):"")+a(c)+(l.startsWith("\n")?"\n":"\n\n")+l}t.exports={hasPragma:l,insertPragma:c}}}),Kr=_({"src/language-js/comments.js"(e,t){N();var{getLast:r,hasNewline:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:i,getNextNonSpaceNonCommentCharacter:s,hasNewlineInRange:a,addLeadingComment:o,addTrailingComment:u,addDanglingComment:l,getNextNonSpaceNonCommentCharacterIndex:c,isNonEmptyArray:p}=Ce(),{getFunctionParameters:h,isPrettierIgnoreComment:d,isJsxNode:f,hasFlowShorthandAnnotationComment:m,hasFlowAnnotationComment:y,hasIgnoreComment:g,isCallLikeExpression:v,getCallArguments:b,isCallExpression:D,isMemberExpression:x,isObjectProperty:E,isLineComment:w,getComments:C,CommentCheckFlags:A,markerForIfWithoutBlockAndSameLineComment:S}=fr(),{locStart:_,locEnd:k}=qt(),T=hr();function F(e){return[pe,Y,z,L,M,R,W,ie,te,ne,se,ae,q,X,Q].some((t=>t(e)))}function P(e){return[j,Y,U,se,L,M,R,W,X,ee,re,ne,le,Q,de].some((t=>t(e)))}function I(e){return[pe,L,M,V,J,q,ne,G,Z,he,Q,ce].some((t=>t(e)))}function O(e,t){let r=(e.body||e.properties).find((e=>{let{type:t}=e;return"EmptyStatement"!==t}));r?o(r,t):l(e,t)}function B(e,t){"BlockStatement"===e.type?O(e,t):o(e,t)}function j(e){let{comment:t,followingNode:r}=e;return!(!r||!ye(t)||(o(r,t),0))}function L(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:a}=e;if("IfStatement"!==(null==n?void 0:n.type)||!i)return!1;if(")"===s(a,t,k))return u(r,t),!0;if(r===n.consequent&&i===n.alternate){if("BlockStatement"===r.type)u(r,t);else{let e="SingleLine"===t.type||t.loc.start.line===t.loc.end.line,i=t.loc.start.line===r.loc.start.line;e&&i?l(r,t,S):l(n,t)}return!0}return"BlockStatement"===i.type?(O(i,t),!0):"IfStatement"===i.type?(B(i.consequent,t),!0):n.consequent===i&&(o(i,t),!0)}function M(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:a}=e;return!("WhileStatement"!==(null==n?void 0:n.type)||!i||(")"===s(a,t,k)?(u(r,t),0):"BlockStatement"===i.type?(O(i,t),0):n.body!==i||(o(i,t),0)))}function R(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TryStatement"!==(null==n?void 0:n.type)&&"CatchClause"!==(null==n?void 0:n.type)||!i||("CatchClause"===n.type&&r?(u(r,t),0):"BlockStatement"===i.type?(O(i,t),0):"TryStatement"===i.type?(B(i.finalizer,t),0):"CatchClause"!==i.type||(B(i.body,t),0)))}function z(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!x(r)||"Identifier"!==(null==n?void 0:n.type)||(o(r,t),0))}function U(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i,text:s}=e,u=r&&!a(s,k(r),_(t));return!(r&&u||"ConditionalExpression"!==(null==n?void 0:n.type)&&"TSConditionalType"!==(null==n?void 0:n.type)||!i||(o(i,t),0))}function V(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!(!E(n)||!n.shorthand||n.key!==r||"AssignmentPattern"!==n.value.type||(u(n.value.left,t),0))}var $=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function W(e){let{comment:t,precedingNode:n,enclosingNode:i,followingNode:s}=e;if($.has(null==i?void 0:i.type)){if(p(i.decorators)&&(!s||"Decorator"!==s.type))return u(r(i.decorators),t),!0;if(i.body&&s===i.body)return O(i.body,t),!0;if(s){if(i.superClass&&s===i.superClass&&n&&(n===i.id||n===i.typeParameters))return u(n,t),!0;for(let e of["implements","extends","mixins"])if(i[e]&&s===i[e][0])return!n||n!==i.id&&n!==i.typeParameters&&n!==i.superClass?l(i,t,e):u(n,t),!0}}return!1}var H=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function q(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!!(n&&r&&"("===s(i,t,k)&&("Property"===n.type||"TSDeclareMethod"===n.type||"TSAbstractMethodDefinition"===n.type)&&"Identifier"===r.type&&n.key===r&&":"!==s(i,r,k)||"Decorator"===(null==r?void 0:r.type)&&H.has(null==n?void 0:n.type))&&(u(r,t),!0)}var K=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Z(e){let{comment:t,precedingNode:r,enclosingNode:n,text:i}=e;return!("("!==s(i,t,k)||!r||!K.has(null==n?void 0:n.type)||(u(r,t),0))}function G(e){let{comment:t,enclosingNode:r,text:n}=e;if("ArrowFunctionExpression"!==(null==r?void 0:r.type))return!1;let i=c(n,t,k);return!1!==i&&"=>"===n.slice(i,i+2)&&(l(r,t),!0)}function J(e){let{comment:t,enclosingNode:r,text:n}=e;return!(")"!==s(n,t,k)||(r&&(fe(r)&&0===h(r).length||v(r)&&0===b(r).length)?(l(r,t),0):"MethodDefinition"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||0!==h(r.value).length||(l(r.value,t),0)))}function Y(e){let{comment:t,precedingNode:n,enclosingNode:a,followingNode:o,text:l}=e;if("FunctionTypeParam"===(null==n?void 0:n.type)&&"FunctionTypeAnnotation"===(null==a?void 0:a.type)&&"FunctionTypeParam"!==(null==o?void 0:o.type)||("Identifier"===(null==n?void 0:n.type)||"AssignmentPattern"===(null==n?void 0:n.type))&&a&&fe(a)&&")"===s(l,t,k))return u(n,t),!0;if("FunctionDeclaration"===(null==a?void 0:a.type)&&"BlockStatement"===(null==o?void 0:o.type)){let e=(()=>{let e=h(a);if(e.length>0)return i(l,k(r(e)));let t=i(l,k(a.id));return!1!==t&&i(l,t+1)})();if(_(t)>e)return O(o,t),!0}return!1}function X(e){let{comment:t,enclosingNode:r}=e;return"LabeledStatement"===(null==r?void 0:r.type)&&(o(r,t),!0)}function Q(e){let{comment:t,enclosingNode:r}=e;return!("ContinueStatement"!==(null==r?void 0:r.type)&&"BreakStatement"!==(null==r?void 0:r.type)||r.label||(u(r,t),0))}function ee(e){let{comment:t,precedingNode:r,enclosingNode:n}=e;return!!(D(n)&&r&&n.callee===r&&n.arguments.length>0)&&(o(n.arguments[0],t),!0)}function te(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return"UnionTypeAnnotation"===(null==n?void 0:n.type)||"TSUnionType"===(null==n?void 0:n.type)?(d(t)&&(i.prettierIgnore=!0,t.unignore=!0),!!r&&(u(r,t),!0)):(("UnionTypeAnnotation"===(null==i?void 0:i.type)||"TSUnionType"===(null==i?void 0:i.type))&&d(t)&&(i.types[0].prettierIgnore=!0,t.unignore=!0),!1)}function re(e){let{comment:t,enclosingNode:r}=e;return!!E(r)&&(o(r,t),!0)}function ne(e){let{comment:t,enclosingNode:r,followingNode:n,ast:i,isLastComment:s}=e;return i&&i.body&&0===i.body.length?(s?l(i,t):o(i,t),!0):"Program"!==(null==r?void 0:r.type)||0!==(null==r?void 0:r.body.length)||p(r.directives)?"Program"===(null==n?void 0:n.type)&&0===(null==n?void 0:n.body.length)&&"ModuleExpression"===(null==r?void 0:r.type)&&(l(n,t),!0):(s?l(r,t):o(r,t),!0)}function ie(e){let{comment:t,enclosingNode:r}=e;return("ForInStatement"===(null==r?void 0:r.type)||"ForOfStatement"===(null==r?void 0:r.type))&&(o(r,t),!0)}function se(e){let{comment:t,precedingNode:r,enclosingNode:i,text:s}=e;if("ImportSpecifier"===(null==i?void 0:i.type)||"ExportSpecifier"===(null==i?void 0:i.type))return o(i,t),!0;let a="ImportSpecifier"===(null==r?void 0:r.type)&&"ImportDeclaration"===(null==i?void 0:i.type),l="ExportSpecifier"===(null==r?void 0:r.type)&&"ExportNamedDeclaration"===(null==i?void 0:i.type);return!(!a&&!l||!n(s,k(t))||(u(r,t),0))}function ae(e){let{comment:t,enclosingNode:r}=e;return"AssignmentPattern"===(null==r?void 0:r.type)&&(o(r,t),!0)}var oe=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ue=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function le(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!oe.has(null==r?void 0:r.type)||!n||!ue.has(n.type)&&!T(t)||(o(n,t),0))}function ce(e){let{comment:t,enclosingNode:r,followingNode:n,text:i}=e;return!(n||"TSMethodSignature"!==(null==r?void 0:r.type)&&"TSDeclareFunction"!==(null==r?void 0:r.type)&&"TSAbstractMethodDefinition"!==(null==r?void 0:r.type)||";"!==s(i,t,k)||(u(r,t),0))}function pe(e){let{comment:t,enclosingNode:r,followingNode:n}=e;if(d(t)&&"TSMappedType"===(null==r?void 0:r.type)&&"TSTypeParameter"===(null==n?void 0:n.type)&&n.constraint)return r.prettierIgnore=!0,t.unignore=!0,!0}function he(e){let{comment:t,precedingNode:r,enclosingNode:n,followingNode:i}=e;return!("TSMappedType"!==(null==n?void 0:n.type)||("TSTypeParameter"===(null==i?void 0:i.type)&&i.name?(o(i.name,t),0):"TSTypeParameter"!==(null==r?void 0:r.type)||!r.constraint||(u(r.constraint,t),0)))}function de(e){let{comment:t,enclosingNode:r,followingNode:n}=e;return!(!r||"SwitchCase"!==r.type||r.test||("BlockStatement"===n.type&&w(t)?O(n,t):l(r,t),0))}function fe(e){return"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type||"ObjectMethod"===e.type||"ClassMethod"===e.type||"TSDeclareFunction"===e.type||"TSCallSignatureDeclaration"===e.type||"TSConstructSignatureDeclaration"===e.type||"TSMethodSignature"===e.type||"TSConstructorType"===e.type||"TSFunctionType"===e.type||"TSDeclareMethod"===e.type}function me(e,t){if(("typescript"===t.parser||"flow"===t.parser||"acorn"===t.parser||"espree"===t.parser||"meriyah"===t.parser||"__babel_estree"===t.parser)&&"MethodDefinition"===e.type&&e.value&&"FunctionExpression"===e.value.type&&0===h(e.value).length&&!e.value.returnType&&!p(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function ye(e){return T(e)&&"*"===e.value[0]&&/@type\b/.test(e.value)}function ge(e){let t=e.getValue(),r=e.getParentNode(),n=e=>y(C(e,A.Leading))||y(C(e,A.Trailing));return(t&&(f(t)||m(t)||D(r)&&n(t))||r&&("JSXSpreadAttribute"===r.type||"JSXSpreadChild"===r.type||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type||("ClassDeclaration"===r.type||"ClassExpression"===r.type)&&r.superClass===t))&&(!g(e)||"UnionTypeAnnotation"===r.type||"TSUnionType"===r.type)}t.exports={handleOwnLineComment:F,handleEndOfLineComment:P,handleRemainingComment:I,isTypeCastComment:ye,getCommentChildNodes:me,willPrintOwnComments:ge}}}),Zr=_({"src/language-js/needs-parens.js"(e,t){N();var r=M(),n=ge(),{getFunctionParameters:i,getLeftSidePathName:s,hasFlowShorthandAnnotationComment:a,hasNakedLeftSide:o,hasNode:u,isBitwiseOperator:l,startsWithNoLookaheadToken:c,shouldFlatten:p,getPrecedence:h,isCallExpression:d,isMemberExpression:f,isObjectProperty:m}=fr();function y(e,t){let r=e.getParentNode();if(!r)return!1;let s=e.getName(),o=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&D(o)&&x(e))return!0;if(g(o))return!1;if("flow"!==t.parser&&a(e.getValue()))return!0;if("Identifier"===o.type)return!!(o.extra&&o.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(o.name)||"left"===s&&"async"===o.name&&"ForOfStatement"===r.type&&!r.await);switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if("superClass"===s&&("ArrowFunctionExpression"===o.type||"AssignmentExpression"===o.type||"AwaitExpression"===o.type||"BinaryExpression"===o.type||"ConditionalExpression"===o.type||"LogicalExpression"===o.type||"NewExpression"===o.type||"ObjectExpression"===o.type||"SequenceExpression"===o.type||"TaggedTemplateExpression"===o.type||"UnaryExpression"===o.type||"UpdateExpression"===o.type||"YieldExpression"===o.type||"TSNonNullExpression"===o.type))return!0;break;case"ExportDefaultDeclaration":return E(e,t)||"SequenceExpression"===o.type;case"Decorator":if("expression"===s){let e=!1,r=!1,n=o;for(;n;)switch(n.type){case"MemberExpression":r=!0,n=n.object;break;case"CallExpression":if(r||e)return"typescript"!==t.parser;e=!0,n=n.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return"typescript"!==t.parser;default:return!0}return!0}break;case"ExpressionStatement":if(c(o,!0))return!0;break;case"ArrowFunctionExpression":if("body"===s&&"SequenceExpression"!==o.type&&c(o,!1))return!0}switch(o.type){case"UpdateExpression":if("UnaryExpression"===r.type)return o.prefix&&("++"===o.operator&&"+"===r.operator||"--"===o.operator&&"-"===r.operator);case"UnaryExpression":switch(r.type){case"UnaryExpression":return o.operator===r.operator&&("+"===o.operator||"-"===o.operator);case"BindExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"BinaryExpression":return"left"===s&&"**"===r.operator;default:return!1}case"BinaryExpression":if("UpdateExpression"===r.type||"in"===o.operator&&v(e))return!0;if("|>"===o.operator&&o.extra&&o.extra.parenthesized){let t=e.getParentNode(1);if("BinaryExpression"===t.type&&"|>"===t.operator)return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"TSAsExpression":return"TSAsExpression"!==o.type;case"ConditionalExpression":return"TSAsExpression"===o.type;case"CallExpression":case"NewExpression":case"OptionalCallExpression":return"callee"===s;case"ClassExpression":case"ClassDeclaration":return"superClass"===s;case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"AssignmentExpression":case"AssignmentPattern":return"left"===s&&("TSTypeAssertion"===o.type||"TSAsExpression"===o.type);case"LogicalExpression":if("LogicalExpression"===o.type)return r.operator!==o.operator;case"BinaryExpression":{let{operator:e,type:t}=o;if(!e&&"TSTypeAssertion"!==t)return!0;let n=h(e),i=r.operator,a=h(i);return a>n||"right"===s&&a===n||a===n&&!p(i,e)||(a"===r.operator);default:return!1}case"TSConditionalType":if("extendsType"===s&&"TSConditionalType"===r.type)return!0;case"TSFunctionType":case"TSConstructorType":if("checkType"===s&&"TSConditionalType"===r.type)return!0;case"TSUnionType":case"TSIntersectionType":if(("TSUnionType"===r.type||"TSIntersectionType"===r.type)&&r.types.length>1&&(!o.types||o.types.length>1))return!0;case"TSInferType":if("TSInferType"===o.type&&"TSRestType"===r.type)return!1;case"TSTypeOperator":return"TSArrayType"===r.type||"TSOptionalType"===r.type||"TSRestType"===r.type||"objectType"===s&&"TSIndexedAccessType"===r.type||"TSTypeOperator"===r.type||"TSTypeAnnotation"===r.type&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return"NullableTypeAnnotation"===r.type;case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"NullableTypeAnnotation"===r.type||"IntersectionTypeAnnotation"===r.type||"UnionTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"NullableTypeAnnotation":return"ArrayTypeAnnotation"===r.type||"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"FunctionTypeAnnotation":{let t="NullableTypeAnnotation"===r.type?e.getParentNode(1):r;return"UnionTypeAnnotation"===t.type||"IntersectionTypeAnnotation"===t.type||"ArrayTypeAnnotation"===t.type||"objectType"===s&&("IndexedAccessType"===t.type||"OptionalIndexedAccessType"===t.type)||"NullableTypeAnnotation"===t.type||"FunctionTypeParam"===r.type&&null===r.name&&i(o).some((e=>e.typeAnnotation&&"NullableTypeAnnotation"===e.typeAnnotation.type))}case"OptionalIndexedAccessType":return"objectType"===s&&"IndexedAccessType"===r.type;case"TypeofTypeAnnotation":return"objectType"===s&&("IndexedAccessType"===r.type||"OptionalIndexedAccessType"===r.type);case"StringLiteral":case"NumericLiteral":case"Literal":if("string"==typeof o.value&&"ExpressionStatement"===r.type&&!r.directive){let t=e.getParentNode(1);return"Program"===t.type||"BlockStatement"===t.type}return"object"===s&&"MemberExpression"===r.type&&"number"==typeof o.value;case"AssignmentExpression":{let t=e.getParentNode(1);return"body"===s&&"ArrowFunctionExpression"===r.type||("key"!==s||"ClassProperty"!==r.type&&"PropertyDefinition"!==r.type||!r.computed)&&("init"!==s&&"update"!==s||"ForStatement"!==r.type)&&("ExpressionStatement"===r.type?"ObjectPattern"===o.left.type:!("key"===s&&"TSPropertySignature"===r.type||"AssignmentExpression"===r.type||"SequenceExpression"===r.type&&t&&"ForStatement"===t.type&&(t.init===r||t.update===r)||"value"===s&&"Property"===r.type&&t&&"ObjectPattern"===t.type&&t.properties.includes(r)||"NGChainedExpression"===r.type))}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"ConditionalExpression":return"test"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return"|>"!==r.operator||o.extra&&o.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return"callee"===s;case"MemberExpression":case"OptionalMemberExpression":return"object"===s;case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return"test"===s;default:return!1}case"ClassExpression":return!!n(o.decorators)||"NewExpression"===r.type&&"callee"===s;case"OptionalMemberExpression":case"OptionalCallExpression":{let t=e.getParentNode(1);if("object"===s&&"MemberExpression"===r.type||"callee"===s&&("CallExpression"===r.type||"NewExpression"===r.type)||"TSNonNullExpression"===r.type&&"MemberExpression"===t.type&&t.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if("callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)){let e=o;for(;e;)switch(e.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":e=e.object;break;case"TaggedTemplateExpression":e=e.tag;break;case"TSNonNullExpression":e=e.expression;break;default:return!1}}return!1;case"BindExpression":return"callee"===s&&("BindExpression"===r.type||"NewExpression"===r.type)||"object"===s&&f(r);case"NGPipeExpression":return!("NGRoot"===r.type||"NGMicrosyntaxExpression"===r.type||"ObjectProperty"===r.type&&(!o.extra||!o.extra.parenthesized)||"ArrayExpression"===r.type||d(r)&&r.arguments[s]===o||"right"===s&&"NGPipeExpression"===r.type||"property"===s&&"MemberExpression"===r.type||"AssignmentExpression"===r.type);case"JSXFragment":case"JSXElement":return"callee"===s||"left"===s&&"BinaryExpression"===r.type&&"<"===r.operator||"ArrayExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"AssignmentExpression"!==r.type&&"AssignmentPattern"!==r.type&&"BinaryExpression"!==r.type&&"NewExpression"!==r.type&&"ConditionalExpression"!==r.type&&"ExpressionStatement"!==r.type&&"JsExpressionRoot"!==r.type&&"JSXAttribute"!==r.type&&"JSXElement"!==r.type&&"JSXExpressionContainer"!==r.type&&"JSXFragment"!==r.type&&"LogicalExpression"!==r.type&&!d(r)&&!m(r)&&"ReturnStatement"!==r.type&&"ThrowStatement"!==r.type&&"TypeCastExpression"!==r.type&&"VariableDeclarator"!==r.type&&"YieldExpression"!==r.type;case"TypeAnnotation":return"returnType"===s&&"ArrowFunctionExpression"===r.type&&b(o)}return!1}function g(e){return"BlockStatement"===e.type||"BreakStatement"===e.type||"ClassBody"===e.type||"ClassDeclaration"===e.type||"ClassMethod"===e.type||"ClassProperty"===e.type||"PropertyDefinition"===e.type||"ClassPrivateProperty"===e.type||"ContinueStatement"===e.type||"DebuggerStatement"===e.type||"DeclareClass"===e.type||"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type||"DeclareFunction"===e.type||"DeclareInterface"===e.type||"DeclareModule"===e.type||"DeclareModuleExports"===e.type||"DeclareVariable"===e.type||"DoWhileStatement"===e.type||"EnumDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ExpressionStatement"===e.type||"ForInStatement"===e.type||"ForOfStatement"===e.type||"ForStatement"===e.type||"FunctionDeclaration"===e.type||"IfStatement"===e.type||"ImportDeclaration"===e.type||"InterfaceDeclaration"===e.type||"LabeledStatement"===e.type||"MethodDefinition"===e.type||"ReturnStatement"===e.type||"SwitchStatement"===e.type||"ThrowStatement"===e.type||"TryStatement"===e.type||"TSDeclareFunction"===e.type||"TSEnumDeclaration"===e.type||"TSImportEqualsDeclaration"===e.type||"TSInterfaceDeclaration"===e.type||"TSModuleDeclaration"===e.type||"TSNamespaceExportDeclaration"===e.type||"TypeAlias"===e.type||"VariableDeclaration"===e.type||"WhileStatement"===e.type||"WithStatement"===e.type}function v(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&"ForStatement"===n.type&&n.init===r)return!0;r=n}return!1}function b(e){return u(e,(e=>"ObjectTypeAnnotation"===e.type&&u(e,(e=>"FunctionTypeAnnotation"===e.type||void 0))||void 0))}function D(e){return"ObjectExpression"===e.type}function x(e){let t=e.getValue(),n=e.getParentNode(),i=e.getName();switch(n.type){case"NGPipeExpression":if("number"==typeof i&&n.arguments[i]===t&&n.arguments.length-1===i)return e.callParent(x);break;case"ObjectProperty":if("value"===i){let t=e.getParentNode(1);return r(t.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if("right"===i)return e.callParent(x);break;case"ConditionalExpression":if("alternate"===i)return e.callParent(x);break;case"UnaryExpression":if(n.prefix)return e.callParent(x)}return!1}function E(e,t){let r=e.getValue(),n=e.getParentNode();return"FunctionExpression"===r.type||"ClassExpression"===r.type?"ExportDefaultDeclaration"===n.type||!y(e,t):!(!o(r)||"ExportDefaultDeclaration"!==n.type&&y(e,t))&&e.call((e=>E(e,t)),...s(e,r))}t.exports=y}}),Gr=_({"src/language-js/print-preprocess.js"(e,t){function r(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},e),{},{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}}N(),t.exports=r}}),Jr=_({"src/language-js/print/html-binding.js"(e,t){N();var{builders:{join:r,line:n,group:i,softline:s,indent:a}}=ee();function o(e,t,o){let u=e.getValue();if(t.__onHtmlBindingRoot&&null===e.getName()&&t.__onHtmlBindingRoot(u,t),"File"===u.type){if(t.__isVueForBindingLeft)return e.call((e=>{let t=r([",",n],e.map(o,"params")),{params:u}=e.getValue();return 1===u.length?t:["(",a([s,i(t)]),s,")"]}),"program","body",0);if(t.__isVueBindings)return e.call((e=>r([",",n],e.map(o,"params"))),"program","body",0)}}function u(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return u(e.object)}return!1;case"Identifier":return!0;default:return!1}}t.exports={isVueEventBindingExpression:u,printHtmlBinding:o}}}),Yr=_({"src/language-js/print/binaryish.js"(e,t){N();var{printComments:r}=er(),{getLast:n}=Ce(),{builders:{join:i,line:s,softline:a,group:o,indent:u,align:l,ifBreak:c,indentIfBreak:p},utils:{cleanDoc:h,getDocParts:d,isConcat:f}}=ee(),{hasLeadingOwnLineComment:m,isBinaryish:y,isJsxNode:g,shouldFlatten:v,hasComment:b,CommentCheckFlags:D,isCallExpression:x,isMemberExpression:E,isObjectProperty:w,isEnabledHackPipeline:C}=fr(),A=0;function S(e,t,r){let i=e.getValue(),s=e.getParentNode(),l=e.getParentNode(1),c=i!==s.body&&("IfStatement"===s.type||"WhileStatement"===s.type||"SwitchStatement"===s.type||"DoWhileStatement"===s.type),h=C(t)&&"|>"===i.operator,d=_(e,r,t,!1,c);if(c)return d;if(h)return o(d);if(x(s)&&s.callee===i||"UnaryExpression"===s.type||E(s)&&!s.computed)return o([u([a,...d]),a]);let f="ReturnStatement"===s.type||"ThrowStatement"===s.type||"JSXExpressionContainer"===s.type&&"JSXAttribute"===l.type||"|"!==i.operator&&"JsExpressionRoot"===s.type||"NGPipeExpression"!==i.type&&("NGRoot"===s.type&&"__ng_binding"===t.parser||"NGMicrosyntaxExpression"===s.type&&"NGMicrosyntax"===l.type&&1===l.body.length)||i===s.body&&"ArrowFunctionExpression"===s.type||i!==s.body&&"ForStatement"===s.type||"ConditionalExpression"===s.type&&"ReturnStatement"!==l.type&&"ThrowStatement"!==l.type&&!x(l)||"TemplateLiteral"===s.type,m="AssignmentExpression"===s.type||"VariableDeclarator"===s.type||"ClassProperty"===s.type||"PropertyDefinition"===s.type||"TSAbstractPropertyDefinition"===s.type||"ClassPrivateProperty"===s.type||w(s),b=y(i.left)&&v(i.operator,i.left.operator);if(f||k(i)&&!b||!k(i)&&m)return o(d);if(0===d.length)return"";let D=g(i.right),S=d.findIndex((e=>"string"!=typeof e&&!Array.isArray(e)&&"group"===e.type)),T=d.slice(0,-1===S?1:S+1),F=d.slice(T.length,D?-1:void 0),P=Symbol("logicalChain-"+ ++A),N=o([...T,u(F)],{id:P});if(!D)return N;let I=n(d);return o([N,p(I,{groupId:P})])}function _(e,t,n,p,g){let x=e.getValue();if(!y(x))return[o(t())];let E=[];v(x.operator,x.left.operator)?E=e.call((e=>_(e,t,n,!0,g)),"left"):E.push(o(t("left")));let w,A=k(x),S=("|>"===x.operator||"NGPipeExpression"===x.type||"|"===x.operator&&"__vue_expression"===n.parser)&&!m(n.originalText,x.right),T="NGPipeExpression"===x.type?"|":x.operator,F="NGPipeExpression"===x.type&&x.arguments.length>0?o(u([a,": ",i([a,":",c(" ")],e.map(t,"arguments").map((e=>l(2,o(e)))))])):"";if(A)w=[T," ",t("right"),F];else{let r=C(n)&&"|>"===T?e.call((e=>_(e,t,n,!0,g)),"right"):t("right");w=[S?s:"",T,S?" ":s,r,F]}let P=e.getParentNode(),N=b(x.left,D.Trailing|D.Line),I=N||!(g&&"LogicalExpression"===x.type)&&P.type!==x.type&&x.left.type!==x.type&&x.right.type!==x.type;if(E.push(S?"":" ",I?o(w,{shouldBreak:N}):w),p&&b(x)){let t=h(r(e,E,n));return f(t)||"fill"===t.type?d(t):[t]}return E}function k(e){return"LogicalExpression"===e.type&&!!("ObjectExpression"===e.right.type&&e.right.properties.length>0||"ArrayExpression"===e.right.type&&e.right.elements.length>0||g(e.right))}t.exports={printBinaryishExpression:S,shouldInlineLogicalExpression:k}}}),Xr=_({"src/language-js/print/angular.js"(e,t){N();var{builders:{join:r,line:n,group:i}}=ee(),{hasNode:s,hasComment:a,getComments:o}=fr(),{printBinaryishExpression:u}=Yr();function l(e,t,s){let l=e.getValue();if(l.type.startsWith("NG"))switch(l.type){case"NGRoot":return[s("node"),a(l.node)?" //"+o(l.node)[0].value.trimEnd():""];case"NGPipeExpression":return u(e,t,s);case"NGChainedExpression":return i(r([";",n],e.map((e=>p(e)?s():["(",s(),")"]),"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[l.prefix,": ",l.value.trim()];case"NGMicrosyntax":return e.map(((e,t)=>[0===t?"":c(e.getValue(),t,l)?" ":[";",n],s()]),"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(l.name)?l.name:JSON.stringify(l.name);case"NGMicrosyntaxExpression":return[s("expression"),null===l.alias?"":[" as ",s("alias")]];case"NGMicrosyntaxKeyedExpression":{let t=e.getName(),r=e.getParentNode(),n=c(l,t,r)||(1===t&&("then"===l.key.name||"else"===l.key.name)||2===t&&"else"===l.key.name&&"NGMicrosyntaxKeyedExpression"===r.body[t-1].type&&"then"===r.body[t-1].key.name)&&"NGMicrosyntaxExpression"===r.body[0].type;return[s("key"),n?" ":": ",s("expression")]}case"NGMicrosyntaxLet":return["let ",s("key"),null===l.value?"":[" = ",s("value")]];case"NGMicrosyntaxAs":return[s("key")," as ",s("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(l.type),"."))}}function c(e,t,r){return"NGMicrosyntaxKeyedExpression"===e.type&&"of"===e.key.name&&1===t&&"NGMicrosyntaxLet"===r.body[0].type&&null===r.body[0].value}function p(e){return s(e.getValue(),(e=>{switch(e.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}}))}t.exports={printAngular:l}}}),Qr=_({"src/language-js/print/jsx.js"(e,t){N();var{printComments:r,printDanglingComments:n}=er(),{builders:{line:i,hardline:s,softline:a,group:o,indent:u,conditionalGroup:l,fill:c,ifBreak:p,lineSuffixBoundary:h,join:d},utils:{willBreak:f}}=ee(),{getLast:m,getPreferredQuote:y}=Ce(),{isJsxNode:g,rawText:v,isLiteral:b,isCallExpression:D,isStringLiteral:x,isBinaryish:E,hasComment:w,CommentCheckFlags:C,hasNodeIgnoreComment:A}=fr(),S=Zr(),{willPrintOwnComments:_}=Kr(),k=e=>""===e||e===i||e===s||e===a;function T(e,t,r){let n=e.getValue();if("JSXElement"===n.type&&Z(n))return[r("openingElement"),r("closingElement")];let i="JSXElement"===n.type?r("openingElement"):r("openingFragment"),h="JSXElement"===n.type?r("closingElement"):r("closingFragment");if(1===n.children.length&&"JSXExpressionContainer"===n.children[0].type&&("TemplateLiteral"===n.children[0].expression.type||"TaggedTemplateExpression"===n.children[0].expression.type))return[i,...e.map(r,"children"),h];n.children=n.children.map((e=>J(e)?{type:"JSXText",value:" ",raw:" "}:e));let d=n.children.some(g),y=n.children.filter((e=>"JSXExpressionContainer"===e.type)).length>1,v="JSXElement"===n.type&&n.openingElement.attributes.length>1,b=f(i)||d||v||y,D="mdx"===e.getParentNode().rootMarker,x=t.singleQuote?"{' '}":'{" "}',E=D?" ":p([x,a]," "),w=F(e,t,r,E,n.openingElement&&n.openingElement.name&&"fbt"===n.openingElement.name.name),C=n.children.some((e=>G(e)));for(let e=w.length-2;e>=0;e--){let t=""===w[e]&&""===w[e+1],r=w[e]===s&&""===w[e+1]&&w[e+2]===s,n=(w[e]===a||w[e]===s)&&""===w[e+1]&&w[e+2]===E,i=w[e]===E&&""===w[e+1]&&(w[e+2]===a||w[e+2]===s),o=w[e]===E&&""===w[e+1]&&w[e+2]===E,u=w[e]===a&&""===w[e+1]&&w[e+2]===s||w[e]===s&&""===w[e+1]&&w[e+2]===a;r&&C||t||n||o||u?w.splice(e,2):i&&w.splice(e+1,2)}for(;w.length>0&&k(m(w));)w.pop();for(;w.length>1&&k(w[0])&&k(w[1]);)w.shift(),w.shift();let A=[];for(let[e,t]of w.entries()){if(t===E){if(1===e&&""===w[e-1]){if(2===w.length){A.push(x);continue}A.push([x,s]);continue}if(e===w.length-1){A.push(x);continue}if(""===w[e-1]&&w[e-2]===s){A.push(x);continue}}A.push(t),f(t)&&(b=!0)}let S=C?c(A):o(A,{shouldBreak:!0});if(D)return S;let _=o([i,u([s,S]),s,h]);return b?_:l([o([i,...w,h]),_])}function F(e,t,r,n,a){let o=[];return e.each(((e,t,u)=>{let l=e.getValue();if(b(l)){let e=v(l);if(G(l)){let r,s=e.split(H);if(""===s[0]){if(o.push(""),s.shift(),/\n/.test(s[0])){let e=u[t+1];o.push(I(a,s[1],l,e))}else o.push(n);s.shift()}if(""===m(s)&&(s.pop(),r=s.pop()),0===s.length)return;for(let[e,t]of s.entries())e%2==1?o.push(i):o.push(t);if(void 0!==r)if(/\n/.test(r)){let e=u[t+1];o.push(I(a,m(o),l,e))}else o.push(n);else{let e=u[t+1];o.push(P(a,m(o),l,e))}}else/\n/.test(e)?e.match(/\n/g).length>1&&o.push("",s):o.push("",n)}else{let e=r();o.push(e);let n=u[t+1];if(n&&G(n)){let e=K(v(n)).split(H)[0];o.push(P(a,e,l,n))}else o.push(s)}}),"children"),o}function P(e,t,r,n){return e?"":"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?1===t.length?a:s:a}function I(e,t,r,n){return e?s:1===t.length?"JSXElement"===r.type&&!r.closingElement||n&&"JSXElement"===n.type&&!n.closingElement?s:a:s}function O(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,(e=>"ArrowFunctionExpression"===e.type),D,(e=>"JSXExpressionContainer"===e.type)),s=S(e,r);return o([s?"":p("("),u([a,t]),a,s?"":p(")")],{shouldBreak:i})}function B(e,t,r){let n=e.getValue(),i=[];if(i.push(r("name")),n.value){let e;if(x(n.value)){let r=v(n.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:i,quote:s,regex:a}=y(r,t.jsxSingleQuote?"'":'"');r=r.replace(a,i),e=[s,r,s]}else e=r("value");i.push("=",e)}return i}function j(e,t,r){let n=e.getValue(),i=(e,t)=>"JSXEmptyExpression"===e.type||!w(e)&&("ArrayExpression"===e.type||"ObjectExpression"===e.type||"ArrowFunctionExpression"===e.type||"AwaitExpression"===e.type&&(i(e.argument,e)||"JSXElement"===e.argument.type)||D(e)||"FunctionExpression"===e.type||"TemplateLiteral"===e.type||"TaggedTemplateExpression"===e.type||"DoExpression"===e.type||g(t)&&("ConditionalExpression"===e.type||E(e)));return i(n.expression,e.getParentNode(0))?o(["{",r("expression"),h,"}"]):o(["{",u([a,r("expression")]),a,h,"}"])}function L(e,t,r){let n=e.getValue(),l=n.name&&w(n.name)||n.typeParameters&&w(n.typeParameters);if(n.selfClosing&&0===n.attributes.length&&!l)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&1===n.attributes.length&&n.attributes[0].value&&x(n.attributes[0].value)&&!n.attributes[0].value.value.includes("\n")&&!l&&!w(n.attributes[0]))return o(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let c=n.attributes.length>0&&w(m(n.attributes),C.Trailing),p=0===n.attributes.length&&!l||(t.bracketSameLine||t.jsxBracketSameLine)&&(!l||n.attributes.length>0)&&!c,h=n.attributes&&n.attributes.some((e=>e.value&&x(e.value)&&e.value.value.includes("\n"))),d=t.singleAttributePerLine&&n.attributes.length>1?s:i;return o(["<",r("name"),r("typeParameters"),u(e.map((()=>[d,r()]),"attributes")),n.selfClosing?i:p?">":a,n.selfClosing?"/>":p?"":">"],{shouldBreak:h})}function M(e,t,r){let n=e.getValue(),i=[];i.push(""),i}function R(e,t){let r=e.getValue(),i=w(r),a=w(r,C.Line),o="JSXOpeningFragment"===r.type;return[o?"<":""]}function z(e,t,n){return O(e,r(e,T(e,t,n),t),t)}function U(e,t){let r=e.getValue(),i=w(r,C.Line);return[n(e,t,!i),i?s:""]}function V(e,t,n){let i=e.getValue();return["{",e.call((e=>{let i=["...",n()],s=e.getValue();return w(s)&&_(e)?[u([a,r(e,i,t)]),a]:i}),"JSXSpreadAttribute"===i.type?"argument":"expression"),"}"]}function $(e,t,r){let n=e.getValue();if(n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return B(e,t,r);case"JSXIdentifier":return String(n.name);case"JSXNamespacedName":return d(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return d(".",[r("object"),r("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return V(e,t,r);case"JSXExpressionContainer":return j(e,t,r);case"JSXFragment":case"JSXElement":return z(e,t,r);case"JSXOpeningElement":return L(e,t,r);case"JSXClosingElement":return M(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return R(e,t);case"JSXEmptyExpression":return U(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(n.type),"."))}}var W=" \n\r\t",H=new RegExp("(["+W+"]+)"),q=new RegExp("[^"+W+"]"),K=e=>e.replace(new RegExp("(?:^"+H.source+"|"+H.source+"$)"),"");function Z(e){if(0===e.children.length)return!0;if(e.children.length>1)return!1;let t=e.children[0];return b(t)&&!G(t)}function G(e){return b(e)&&(q.test(v(e))||!/\n/.test(v(e)))}function J(e){return"JSXExpressionContainer"===e.type&&b(e.expression)&&" "===e.expression.value&&!w(e.expression)}function Y(e){let t=e.getValue(),r=e.getParentNode();if(!(r&&t&&g(t)&&g(r)))return!1;let n=null;for(let e=r.children.indexOf(t);e>0;e--){let t=r.children[e-1];if("JSXText"!==t.type||G(t)){n=t;break}}return n&&"JSXExpressionContainer"===n.type&&"JSXEmptyExpression"===n.expression.type&&A(n.expression)}t.exports={hasJsxIgnoreComment:Y,printJsx:$}}}),en=_({"src/language-js/print/misc.js"(e,t){N();var{isNonEmptyArray:r}=Ce(),{builders:{indent:n,join:i,line:s}}=ee(),{isFlowAnnotationComment:a}=fr();function o(e){let t=e.getValue();return!t.optional||"Identifier"===t.type&&t===e.getParentNode().key?"":"OptionalCallExpression"===t.type||"OptionalMemberExpression"===t.type&&t.computed?"?.":"?"}function u(e){return e.getValue().definite||e.match(void 0,((e,t)=>"id"===t&&"VariableDeclarator"===e.type&&e.definite))?"!":""}function l(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function c(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let i=e.getParentNode(),s="DeclareFunction"===i.type&&i.id===n;return a(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[s?"":": ",r("typeAnnotation")]}function p(e,t,r){return["::",r("callee")]}function h(e,t,n){let s=e.getValue();return r(s.modifiers)?[i(" ",e.map(n,"modifiers"))," "]:""}function d(e,t,r){return"EmptyStatement"===e.type?";":"BlockStatement"===e.type||r?[" ",t]:n([s,t])}function f(e,t,r){return["...",r("argument"),c(e,t,r)]}t.exports={printOptionalToken:o,printDefiniteToken:u,printFunctionTypeParameters:l,printBindExpressionCallee:p,printTypeScriptModifiers:h,printTypeAnnotation:c,printRestSpread:f,adjustClause:d}}}),tn=_({"src/language-js/print/array.js"(e,t){N();var{printDanglingComments:r}=er(),{builders:{line:n,softline:i,hardline:s,group:a,indent:o,ifBreak:u,fill:l}}=ee(),{getLast:c,hasNewline:p}=Ce(),{shouldPrintComma:h,hasComment:d,CommentCheckFlags:f,isNextLineEmpty:m,isNumericLiteral:y,isSignedNumericLiteral:g}=fr(),{locStart:v}=qt(),{printOptionalToken:b,printTypeAnnotation:D}=en();function x(e,t,n){let s=e.getValue(),l=[],p="TupleExpression"===s.type?"#[":"[",m="]";if(0===s.elements.length)d(s,f.Dangling)?l.push(a([p,r(e,t),i,m])):l.push(p,m);else{let d=c(s.elements),f=!(d&&"RestElement"===d.type),y=null===d,g=Symbol("array"),v=!t.__inJestEach&&s.elements.length>1&&s.elements.every(((e,t,r)=>{let n=e&&e.type;if("ArrayExpression"!==n&&"ObjectExpression"!==n)return!1;let i=r[t+1];if(i&&n!==i.type)return!1;let s="ArrayExpression"===n?"elements":"properties";return e[s]&&e[s].length>1})),b=E(s,t),D=f?y?",":h(t)?b?u(",","",{groupId:g}):u(","):"":"";l.push(a([p,o([i,b?C(e,t,n,D):[w(e,t,"elements",n),D],r(e,t,!0)]),i,m],{shouldBreak:v,id:g}))}return l.push(b(e),D(e,t,n)),l}function E(e,t){return e.elements.length>1&&e.elements.every((e=>e&&(y(e)||g(e)&&!d(e.argument))&&!d(e,f.Trailing|f.Line,(e=>!p(t.originalText,v(e),{backwards:!0})))))}function w(e,t,r,s){let o=[],u=[];return e.each((e=>{o.push(u,a(s())),u=[",",n],e.getValue()&&m(e.getValue(),t)&&u.push(i)}),r),o}function C(e,t,r,i){let a=[];return e.each(((e,o,u)=>{let l=o===u.length-1;a.push([r(),l?i:","]),l||a.push(m(e.getValue(),t)?[s,s]:d(u[o+1],f.Leading|f.Line)?s:n)}),"elements"),l(a)}t.exports={printArray:x,printArrayItems:w,isConciselyPrintedArray:E}}}),rn=_({"src/language-js/print/call-arguments.js"(e,t){N();var{printDanglingComments:r}=er(),{getLast:n,getPenultimate:i}=Ce(),{getFunctionParameters:s,hasComment:a,CommentCheckFlags:o,isFunctionCompositionArgs:u,isJsxNode:l,isLongCurriedCallExpression:c,shouldPrintComma:p,getCallArguments:h,iterateCallArgumentsPath:d,isNextLineEmpty:f,isCallExpression:m,isStringLiteral:y,isObjectProperty:g}=fr(),{builders:{line:v,hardline:b,softline:D,group:x,indent:E,conditionalGroup:w,ifBreak:C,breakParent:A},utils:{willBreak:S}}=ee(),{ArgExpansionBailout:_}=Ke(),{isConciselyPrintedArray:k}=tn();function T(e,t,i){let s=e.getValue(),a="ImportExpression"===s.type,o=h(s);if(0===o.length)return["(",r(e,t,!0),")"];if(O(o))return["(",i(["arguments",0]),", ",i(["arguments",1]),")"];let l=!1,m=!1,y=o.length-1,g=[];d(e,((e,r)=>{let n=e.getNode(),s=[i()];r===y||(f(n,t)?(0===r&&(m=!0),l=!0,s.push(",",b,b)):s.push(",",v)),g.push(s)}));let k=a||s.callee&&"Import"===s.callee.type||!p(t,"all")?"":",";function T(){return x(["(",E([v,...g]),k,v,")"],{shouldBreak:!0})}if(l||"Decorator"!==e.getParentNode().type&&u(o))return T();let F=I(o),N=P(o,t);if(F||N){if(F?g.slice(1).some(S):g.slice(0,-1).some(S))return T();let t=[];try{e.try((()=>{d(e,((e,r)=>{F&&0===r&&(t=[[i([],{expandFirstArg:!0}),g.length>1?",":"",m?b:v,m?b:""],...g.slice(1)]),N&&r===y&&(t=[...g.slice(0,-1),i([],{expandLastArg:!0})])}))}))}catch(e){if(e instanceof _)return T();throw e}return[g.some(S)?A:"",w([["(",...t,")"],F?["(",x(t[0],{shouldBreak:!0}),...t.slice(1),")"]:["(",...g.slice(0,-1),x(n(t),{shouldBreak:!0}),")"],T()])]}let B=["(",E([D,...g]),C(k),D,")"];return c(e)?B:x(B,{shouldBreak:g.some(S)||l})}function F(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"ObjectExpression"===e.type&&(e.properties.length>0||a(e))||"ArrayExpression"===e.type&&(e.elements.length>0||a(e))||"TSTypeAssertion"===e.type&&F(e.expression)||"TSAsExpression"===e.type&&F(e.expression)||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type&&(!e.returnType||!e.returnType.typeAnnotation||"TSTypeReference"!==e.returnType.typeAnnotation.type||B(e.body))&&("BlockStatement"===e.body.type||"ArrowFunctionExpression"===e.body.type&&F(e.body,!0)||"ObjectExpression"===e.body.type||"ArrayExpression"===e.body.type||!t&&(m(e.body)||"ConditionalExpression"===e.body.type)||l(e.body))||"DoExpression"===e.type||"ModuleExpression"===e.type}function P(e,t){let r=n(e),s=i(e);return!a(r,o.Leading)&&!a(r,o.Trailing)&&F(r)&&(!s||s.type!==r.type)&&(2!==e.length||"ArrowFunctionExpression"!==s.type||"ArrayExpression"!==r.type)&&!(e.length>1&&"ArrayExpression"===r.type&&k(r,t))}function I(e){if(2!==e.length)return!1;let[t,r]=e;return!("ModuleExpression"!==t.type||!j(r))||!a(t)&&("FunctionExpression"===t.type||"ArrowFunctionExpression"===t.type&&"BlockStatement"===t.body.type)&&"FunctionExpression"!==r.type&&"ArrowFunctionExpression"!==r.type&&"ConditionalExpression"!==r.type&&!F(r)}function O(e){return 2===e.length&&"ArrowFunctionExpression"===e[0].type&&0===s(e[0]).length&&"BlockStatement"===e[0].body.type&&"ArrayExpression"===e[1].type&&!e.some((e=>a(e)))}function B(e){return"BlockStatement"===e.type&&(e.body.some((e=>"EmptyStatement"!==e.type))||a(e,o.Dangling))}function j(e){return"ObjectExpression"===e.type&&1===e.properties.length&&g(e.properties[0])&&"Identifier"===e.properties[0].key.type&&"type"===e.properties[0].key.name&&y(e.properties[0].value)&&"module"===e.properties[0].value.value}t.exports=T}}),nn=_({"src/language-js/print/member.js"(e,t){N();var{builders:{softline:r,group:n,indent:i,label:s}}=ee(),{isNumericLiteral:a,isMemberExpression:o,isCallExpression:u}=fr(),{printOptionalToken:l}=en();function c(e,t,a){let l,c=e.getValue(),h=e.getParentNode(),d=0;do{l=e.getParentNode(d),d++}while(l&&(o(l)||"TSNonNullExpression"===l.type));let f=a("object"),m=p(e,t,a),y=l&&("NewExpression"===l.type||"BindExpression"===l.type||"AssignmentExpression"===l.type&&"Identifier"!==l.left.type)||c.computed||"Identifier"===c.object.type&&"Identifier"===c.property.type&&!o(h)||("AssignmentExpression"===h.type||"VariableDeclarator"===h.type)&&(u(c.object)&&c.object.arguments.length>0||"TSNonNullExpression"===c.object.type&&u(c.object.expression)&&c.object.expression.arguments.length>0||"member-chain"===f.label);return s("member-chain"===f.label?"member-chain":"member",[f,y?m:n(i([r,m]))])}function p(e,t,s){let o=s("property"),u=e.getValue(),c=l(e);return u.computed?!u.property||a(u.property)?[c,"[",o,"]"]:n([c,"[",i([r,o]),r,"]"]):[c,".",o]}t.exports={printMemberExpression:c,printMemberLookup:p}}}),sn=_({"src/language-js/print/member-chain.js"(e,t){N();var{printComments:r}=er(),{getLast:n,isNextLineEmptyAfterIndex:i,getNextNonSpaceNonCommentCharacterIndex:s}=Ce(),a=Zr(),{isCallExpression:o,isMemberExpression:u,isFunctionOrArrowExpression:l,isLongCurriedCallExpression:c,isMemberish:p,isNumericLiteral:h,isSimpleCallArgument:d,hasComment:f,CommentCheckFlags:m,isNextLineEmpty:y}=fr(),{locEnd:g}=qt(),{builders:{join:v,hardline:b,group:D,indent:x,conditionalGroup:E,breakParent:w,label:C},utils:{willBreak:A}}=ee(),S=rn(),{printMemberLookup:_}=nn(),{printOptionalToken:k,printFunctionTypeParameters:T,printBindExpressionCallee:F}=en();function P(e,t,P){let N=e.getParentNode(),I=!N||"ExpressionStatement"===N.type,O=[];function B(e){let{originalText:r}=t,n=s(r,e,g);return")"===r.charAt(n)?!1!==n&&i(r,n+1):y(e,t)}function j(e){let n=e.getValue();o(n)&&(p(n.callee)||o(n.callee))?(O.unshift({node:n,printed:[r(e,[k(e),T(e,t,P),S(e,t,P)],t),B(n)?b:""]}),e.call((e=>j(e)),"callee")):p(n)?(O.unshift({node:n,needsParens:a(e,t),printed:r(e,u(n)?_(e,t,P):F(e,t,P),t)}),e.call((e=>j(e)),"object")):"TSNonNullExpression"===n.type?(O.unshift({node:n,printed:r(e,"!",t)}),e.call((e=>j(e)),"expression")):O.unshift({node:n,printed:P()})}let L=e.getValue();O.unshift({node:L,printed:[k(e),T(e,t,P),S(e,t,P)]}),L.callee&&e.call((e=>j(e)),"callee");let M=[],R=[O[0]],z=1;for(;z0&&e[1][0].node.computed;if(1===e[0].length){let r=e[0][0].node;return"ThisExpression"===r.type||"Identifier"===r.type&&(V(r.name)||I&&$(r.name)||t)}let r=n(e[0]).node;return u(r)&&"Identifier"===r.property.type&&(V(r.property.name)||t)}R.length>0&&M.push(R);let H=M.length>=2&&!f(M[1][0].node)&&W(M);function q(e){let t=e.map((e=>e.printed));return e.length>0&&n(e).needsParens?["(",...t,")"]:t}function K(e){return 0===e.length?"":x(D([b,v(b,e.map(q))]))}let Z=M.map(q),G=Z,J=H?3:2,Y=M.flat(),X=Y.slice(1,-1).some((e=>f(e.node,m.Leading)))||Y.slice(0,-1).some((e=>f(e.node,m.Trailing)))||M[J]&&f(M[J][0].node,m.Leading);if(M.length<=J&&!X)return c(e)?G:D(G);let Q,ee=n(M[H?1:0]).node,te=!o(ee)&&B(ee),re=[q(M[0]),H?M.slice(1,2).map(q):"",te?b:"",K(M.slice(H?2:1))],ne=O.map((e=>{let{node:t}=e;return t})).filter(o);function ie(){let e=n(n(M)).node,t=n(Z);return o(e)&&A(t)&&ne.slice(0,-1).some((e=>e.arguments.some(l)))}return Q=X||ne.length>2&&ne.some((e=>!e.arguments.every((e=>d(e,0)))))||Z.slice(0,-1).some(A)||ie()?D(re):[A(G)||te?w:"",E([G,re])],C("member-chain",Q)}t.exports=P}}),an=_({"src/language-js/print/call-expression.js"(e,t){N();var{builders:{join:r,group:n}}=ee(),i=Zr(),{getCallArguments:s,hasFlowAnnotationComment:a,isCallExpression:o,isMemberish:u,isStringLiteral:l,isTemplateOnItsOwnLine:c,isTestCall:p,iterateCallArgumentsPath:h}=fr(),d=sn(),f=rn(),{printOptionalToken:m,printFunctionTypeParameters:y}=en();function g(e,t,l){let g=e.getValue(),b=e.getParentNode(),D="NewExpression"===g.type,x="ImportExpression"===g.type,E=m(e),w=s(g);if(w.length>0&&(!x&&!D&&v(g,b)||1===w.length&&c(w[0],t.originalText)||!D&&p(g,b))){let n=[];return h(e,(()=>{n.push(l())})),[D?"new ":"",l("callee"),E,y(e,t,l),"(",r(", ",n),")"]}let C=("babel"===t.parser||"babel-flow"===t.parser)&&g.callee&&"Identifier"===g.callee.type&&a(g.callee.trailingComments);if(C&&(g.callee.trailingComments[0].printed=!0),!x&&!D&&u(g.callee)&&!e.call((e=>i(e,t)),"callee"))return d(e,t,l);let A=[D?"new ":"",x?"import":l("callee"),E,C?"/*:: ".concat(g.callee.trailingComments[0].value.slice(2).trim()," */"):"",y(e,t,l),f(e,t,l)];return x||o(g.callee)?n(A):A}function v(e,t){if("Identifier"!==e.callee.type)return!1;if("require"===e.callee.name)return!0;if("define"===e.callee.name){let r=s(e);return"ExpressionStatement"===t.type&&(1===r.length||2===r.length&&"ArrayExpression"===r[0].type||3===r.length&&l(r[0])&&"ArrayExpression"===r[1].type)}return!1}t.exports={printCallExpression:g}}}),on=_({"src/language-js/print/assignment.js"(e,t){N();var{isNonEmptyArray:r,getStringWidth:n}=Ce(),{builders:{line:i,group:s,indent:a,indentIfBreak:o,lineSuffixBoundary:u},utils:{cleanDoc:l,willBreak:c,canBreak:p}}=ee(),{hasLeadingOwnLineComment:h,isBinaryish:d,isStringLiteral:f,isLiteral:m,isNumericLiteral:y,isCallExpression:g,isMemberExpression:v,getCallArguments:b,rawText:D,hasComment:x,isSignedNumericLiteral:E,isObjectProperty:w}=fr(),{shouldInlineLogicalExpression:C}=Yr(),{printCallExpression:A}=an();function S(e,t,r,n,l,c){let p=T(e,t,r,n,c),h=r(c,{assignmentLayout:p});switch(p){case"break-after-operator":return s([s(n),l,s(a([i,h]))]);case"never-break-after-operator":return s([s(n),l," ",h]);case"fluid":{let e=Symbol("assignment");return s([s(n),l,s(a(i),{id:e}),u,o(h,{groupId:e})])}case"break-lhs":return s([n,l," ",s(h)]);case"chain":return[s(n),l,i,h];case"chain-tail":return[s(n),l,a([i,h])];case"chain-tail-arrow-chain":return[s(n),l,h];case"only-left":return n}}function _(e,t,r){let n=e.getValue();return S(e,t,r,r("left"),[" ",n.operator],"right")}function k(e,t,r){return S(e,t,r,r("id")," =","init")}function T(e,t,r,n,i){let s=e.getValue(),a=s[i];if(!a)return"only-left";let o=!I(a);if(e.match(I,O,(e=>!o||"ExpressionStatement"!==e.type&&"VariableDeclaration"!==e.type)))return o?"ArrowFunctionExpression"===a.type&&"ArrowFunctionExpression"===a.body.type?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&I(a.right)||h(t.originalText,a))return"break-after-operator";if("CallExpression"===a.type&&"require"===a.callee.name||"json5"===t.parser||"json"===t.parser)return"never-break-after-operator";if(P(s)||B(s)||M(s)||R(s)&&p(n))return"break-lhs";let u=H(s,n,t);return e.call((()=>F(e,t,r,u)),i)?"break-after-operator":u||"TemplateLiteral"===a.type||"TaggedTemplateExpression"===a.type||"BooleanLiteral"===a.type||y(a)||"ClassExpression"===a.type?"never-break-after-operator":"fluid"}function F(e,t,n,i){let s=e.getValue();if(d(s)&&!C(s))return!0;switch(s.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:e}=s;return d(e)&&!C(e)}case"ClassExpression":return r(s.decorators)}if(i)return!1;let a=s,o=[];for(;;)if("UnaryExpression"===a.type)a=a.argument,o.push("argument");else{if("TSNonNullExpression"!==a.type)break;a=a.expression,o.push("expression")}return!(!f(a)&&!e.call((()=>V(e,t,n)),...o))}function P(e){if(O(e)){let t=e.left||e.id;return"ObjectPattern"===t.type&&t.properties.length>2&&t.properties.some((e=>w(e)&&(!e.shorthand||e.value&&"AssignmentPattern"===e.value.type)))}return!1}function I(e){return"AssignmentExpression"===e.type}function O(e){return I(e)||"VariableDeclarator"===e.type}function B(e){let t=j(e);if(r(t)){let r="TSTypeAliasDeclaration"===e.type?"constraint":"bound";if(t.length>1&&t.some((e=>e[r]||e.default)))return!0}return!1}function j(e){return L(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function L(e){return"TSTypeAliasDeclaration"===e.type||"TypeAlias"===e.type}function M(e){if("VariableDeclarator"!==e.type)return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=z(t.typeAnnotation);return r(n)&&n.length>1&&n.some((e=>r(z(e))||"TSConditionalType"===e.type))}function R(e){return"VariableDeclarator"===e.type&&e.init&&"ArrowFunctionExpression"===e.init.type}function z(e){return U(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function U(e){return"TSTypeReference"===e.type||"GenericTypeAnnotation"===e.type}function V(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.getValue(),s=()=>V(e,t,r,!0);if("TSNonNullExpression"===i.type)return e.call(s,"expression");if(g(i)){if("member-chain"===A(e,t,r).label)return!1;let n=b(i);return!(!(0===n.length||1===n.length&&W(n[0],t))||q(i,r))&&e.call(s,"callee")}return v(i)?e.call(s,"object"):n&&("Identifier"===i.type||"ThisExpression"===i.type)}var $=.25;function W(e,t){let{printWidth:r}=t;if(x(e))return!1;let n=r*$;if("ThisExpression"===e.type||"Identifier"===e.type&&e.name.length<=n||E(e)&&!x(e.argument))return!0;let i="Literal"===e.type&&"regex"in e&&e.regex.pattern||"RegExpLiteral"===e.type&&e.pattern;return i?i.length<=n:f(e)?D(e).length<=n:"TemplateLiteral"===e.type?0===e.expressions.length&&e.quasis[0].value.raw.length<=n&&!e.quasis[0].value.raw.includes("\n"):m(e)}function H(e,t,r){if(!w(e))return!1;let i=3;return"string"==typeof(t=l(t))&&n(t)1)return!0;if(1===n.length){let e=n[0];if("TSUnionType"===e.type||"UnionTypeAnnotation"===e.type||"TSIntersectionType"===e.type||"IntersectionTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"ObjectTypeAnnotation"===e.type)return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(c(t(r)))return!0}return!1}function K(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}t.exports={printVariableDeclarator:k,printAssignmentExpression:_,printAssignment:S,isArrowFunctionVariableDeclarator:R}}}),un=_({"src/language-js/print/function-parameters.js"(e,t){N();var{getNextNonSpaceNonCommentCharacter:r}=Ce(),{printDanglingComments:n}=er(),{builders:{line:i,hardline:s,softline:a,group:o,indent:u,ifBreak:l},utils:{removeLines:c,willBreak:p}}=ee(),{getFunctionParameters:h,iterateFunctionParametersPath:d,isSimpleType:f,isTestCall:m,isTypeAnnotationAFunction:y,isObjectType:g,isObjectTypePropertyAFunction:v,hasRestParameter:b,shouldPrintComma:D,hasComment:x,isNextLineEmpty:E}=fr(),{locEnd:w}=qt(),{ArgExpansionBailout:C}=Ke(),{printFunctionTypeParameters:A}=en();function S(e,t,g,x,S){let k=e.getValue(),T=h(k),F=S?A(e,g,t):"";if(0===T.length)return[F,"(",n(e,g,!0,(e=>")"===r(g.originalText,e,w))),")"];let P=e.getParentNode(),N=m(P),I=_(k),O=[];if(d(e,((e,r)=>{let n=r===T.length-1;n&&k.rest&&O.push("..."),O.push(t()),!n&&(O.push(","),N||I?O.push(" "):E(T[r],g)?O.push(s,s):O.push(i))})),x){if(p(F)||p(O))throw new C;return o([c(F),"(",c(O),")"])}let B=T.every((e=>!e.decorators));return I&&B||N?[F,"(",...O,")"]:(v(P)||y(P)||"TypeAlias"===P.type||"UnionTypeAnnotation"===P.type||"TSUnionType"===P.type||"IntersectionTypeAnnotation"===P.type||"FunctionTypeAnnotation"===P.type&&P.returnType===k)&&1===T.length&&null===T[0].name&&k.this!==T[0]&&T[0].typeAnnotation&&null===k.typeParameters&&f(T[0].typeAnnotation)&&!k.rest?"always"===g.arrowParens?["(",...O,")"]:O:[F,"(",u([a,...O]),l(!b(k)&&D(g,"all")?",":""),a,")"]}function _(e){if(!e)return!1;let t=h(e);if(1!==t.length)return!1;let[r]=t;return!x(r)&&("ObjectPattern"===r.type||"ArrayPattern"===r.type||"Identifier"===r.type&&r.typeAnnotation&&("TypeAnnotation"===r.typeAnnotation.type||"TSTypeAnnotation"===r.typeAnnotation.type)&&g(r.typeAnnotation.typeAnnotation)||"FunctionTypeParam"===r.type&&g(r.typeAnnotation)||"AssignmentPattern"===r.type&&("ObjectPattern"===r.left.type||"ArrayPattern"===r.left.type)&&("Identifier"===r.right.type||"ObjectExpression"===r.right.type&&0===r.right.properties.length||"ArrayExpression"===r.right.type&&0===r.right.elements.length))}function k(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function T(e,t){let r=k(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(1===n.length){let e=n[0];if(e.constraint||e.default)return!1}}return 1===h(e).length&&(g(r)||p(t))}t.exports={printFunctionParameters:S,shouldHugFunctionParameters:_,shouldGroupFunctionParameters:T}}}),ln=_({"src/language-js/print/type-annotation.js"(e,t){N();var{printComments:r,printDanglingComments:n}=er(),{isNonEmptyArray:i}=Ce(),{builders:{group:s,join:a,line:o,softline:u,indent:l,align:c,ifBreak:p}}=ee(),h=Zr(),{locStart:d}=qt(),{isSimpleType:f,isObjectType:m,hasLeadingOwnLineComment:y,isObjectTypePropertyAFunction:g,shouldPrintComma:v}=fr(),{printAssignment:b}=on(),{printFunctionParameters:D,shouldGroupFunctionParameters:x}=un(),{printArrayItems:E}=tn();function w(e){if(f(e)||m(e))return!0;if("UnionTypeAnnotation"===e.type||"TSUnionType"===e.type){let t=e.types.filter((e=>"VoidTypeAnnotation"===e.type||"TSVoidKeyword"===e.type||"NullLiteralTypeAnnotation"===e.type||"TSNullKeyword"===e.type)).length,r=e.types.some((e=>"ObjectTypeAnnotation"===e.type||"TSTypeLiteral"===e.type||"GenericTypeAnnotation"===e.type||"TSTypeReference"===e.type));if(e.types.length-1===t&&r)return!0}return!1}function C(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];return s.push("opaque type ",r("id"),r("typeParameters")),i.supertype&&s.push(": ",r("supertype")),i.impltype&&s.push(" = ",r("impltype")),s.push(n),s}function A(e,t,r){let n=t.semi?";":"",i=e.getValue(),s=[];i.declare&&s.push("declare "),s.push("type ",r("id"),r("typeParameters"));let a="TSTypeAliasDeclaration"===i.type?"typeAnnotation":"right";return[b(e,t,r,s," =",a),n]}function S(e,t,r){let n=e.getValue(),i=e.map(r,"types"),a=[],u=!1;for(let e=0;e1&&(u=!0),a.push(" & ",e>1?l(i[e]):i[e])):a.push(l([" &",o,i[e]]));return s(a)}function _(e,t,n){let i=e.getValue(),d=e.getParentNode(),f=!("TypeParameterInstantiation"===d.type||"TSTypeParameterInstantiation"===d.type||"GenericTypeAnnotation"===d.type||"TSTypeReference"===d.type||"TSTypeAssertion"===d.type||"TupleTypeAnnotation"===d.type||"TSTupleType"===d.type||"FunctionTypeParam"===d.type&&!d.name&&e.getParentNode(1).this!==d||("TypeAlias"===d.type||"VariableDeclarator"===d.type||"TSTypeAliasDeclaration"===d.type)&&y(t.originalText,i)),m=w(i),g=e.map((e=>{let i=n();return m||(i=c(2,i)),r(e,i,t)}),"types");if(m)return a(" | ",g);let v=f&&!y(t.originalText,i),b=[p([v?o:"","| "]),a([o,"| "],g)];return h(e,t)?s([l(b),u]):"TupleTypeAnnotation"===d.type&&d.types.length>1||"TSTupleType"===d.type&&d.elementTypes.length>1?s([l([p(["(",u]),b]),u,p(")")]):s(f?l(b):b)}function k(e,t,r){let n=e.getValue(),i=[],a=e.getParentNode(0),o=e.getParentNode(1),u=e.getParentNode(2),l="TSFunctionType"===n.type||!(("ObjectTypeProperty"===a.type||"ObjectTypeInternalSlot"===a.type)&&!a.variance&&!a.optional&&d(a)===d(n)||"ObjectTypeCallProperty"===a.type||u&&"DeclareFunction"===u.type),c=l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type),p=c&&l&&("TypeAnnotation"===a.type||"TSTypeAnnotation"===a.type)&&"ArrowFunctionExpression"===o.type;g(a)&&(l=!0,c=!0),p&&i.push("(");let h=D(e,r,t,!1,!0),f=n.returnType||n.predicate||n.typeAnnotation?[l?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",m=x(n,f);return i.push(m?s(h):h),f&&i.push(f),p&&i.push(")"),s(i)}function T(e,t,r){let a=e.getValue(),o="TSTupleType"===a.type?"elementTypes":"types",c=a[o],h=i(c),d=h?u:"";return s(["[",l([d,E(e,t,o,r)]),p(h&&v(t,"all")?",":""),n(e,t,!0),d,"]"])}function F(e,t,r){let n=e.getValue(),i="OptionalIndexedAccessType"===n.type&&n.optional?"?.[":"[";return[r("objectType"),i,r("indexType"),"]"]}function P(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}t.exports={printOpaqueType:C,printTypeAlias:A,printIntersectionType:S,printUnionType:_,printFunctionType:k,printTupleType:T,printIndexedAccessType:F,shouldHugType:w,printJSDocType:P}}}),cn=_({"src/language-js/print/type-parameters.js"(e,t){N();var{printDanglingComments:r}=er(),{builders:{join:n,line:i,hardline:s,softline:a,group:o,indent:u,ifBreak:l}}=ee(),{isTestCall:c,hasComment:p,CommentCheckFlags:h,isTSXFile:d,shouldPrintComma:f,getFunctionParameters:m,isObjectType:y}=fr(),{createGroupIdMapper:g}=Ce(),{shouldHugType:v}=ln(),{isArrowFunctionVariableDeclarator:b}=on(),D=g("typeParameters");function x(e,t,r,s){let p=e.getValue();if(!p[s])return"";if(!Array.isArray(p[s]))return r(s);let h=e.getNode(2),g=h&&c(h);if(!e.match((e=>!(1===e[s].length&&y(e[s][0]))),void 0,((e,t)=>"typeAnnotation"===t),(e=>"Identifier"===e.type),b)&&(g||0===p[s].length||1===p[s].length&&("NullableTypeAnnotation"===p[s][0].type||v(p[s][0]))))return["<",n(", ",e.map(r,s)),E(e,t),">"];let x="TSTypeParameterInstantiation"===p.type?"":1===m(p).length&&d(t)&&!p[s][0].constraint&&"ArrowFunctionExpression"===e.getParentNode().type?",":f(t,"all")?l(","):"";return o(["<",u([a,n([",",i],e.map(r,s))]),x,a,">"],{id:D(p)})}function E(e,t){let n=e.getValue();if(!p(n,h.Dangling))return"";let i=!p(n,h.Line),a=r(e,t,i);return i?a:[a,s]}function w(e,t,r){let n=e.getValue(),i=[],s=e.getParentNode();return"TSMappedType"===s.type?(i.push("[",r("name")),n.constraint&&i.push(" in ",r("constraint")),s.nameType&&i.push(" as ",e.callParent((()=>r("nameType")))),i.push("]"),i):(n.variance&&i.push(r("variance")),n.in&&i.push("in "),n.out&&i.push("out "),i.push(r("name")),n.bound&&i.push(": ",r("bound")),n.constraint&&i.push(" extends ",r("constraint")),n.default&&i.push(" = ",r("default")),i)}t.exports={printTypeParameter:w,printTypeParameters:x,getTypeParametersGroupId:D}}}),pn=_({"src/language-js/print/property.js"(e,t){N();var{printComments:r}=er(),{printString:n,printNumber:i}=Ce(),{isNumericLiteral:s,isSimpleNumber:a,isStringLiteral:o,isStringPropSafeToUnquote:u,rawText:l}=fr(),{printAssignment:c}=on(),p=new WeakMap;function h(e,t,c){let h=e.getNode();if(h.computed)return["[",c("key"),"]"];let d=e.getParentNode(),{key:f}=h;if("ClassPrivateProperty"===h.type&&"Identifier"===f.type)return["#",c("key")];if("consistent"===t.quoteProps&&!p.has(d)){let e=(d.properties||d.body||d.members).some((e=>!e.computed&&e.key&&o(e.key)&&!u(e,t)));p.set(d,e)}if(("Identifier"===f.type||s(f)&&a(i(l(f)))&&String(f.value)===i(l(f))&&"typescript"!==t.parser&&"babel-ts"!==t.parser)&&("json"===t.parser||"consistent"===t.quoteProps&&p.get(d))){let i=n(JSON.stringify("Identifier"===f.type?f.name:f.value.toString()),t);return e.call((e=>r(e,i,t)),"key")}return u(h,t)&&("as-needed"===t.quoteProps||"consistent"===t.quoteProps&&!p.get(d))?e.call((e=>r(e,/^\d/.test(f.value)?i(f.value):f.value,t)),"key"):c("key")}function d(e,t,r){return e.getValue().shorthand?r("value"):c(e,t,r,h(e,t,r),":","value")}t.exports={printProperty:d,printPropertyKey:h}}}),hn=_({"src/language-js/print/function.js"(e,t){N();var r=Qt(),{printDanglingComments:n,printCommentsSeparately:i}=er(),s=M(),{getNextNonSpaceNonCommentCharacterIndex:a}=Ce(),{builders:{line:o,softline:u,group:l,indent:c,ifBreak:p,hardline:h,join:d,indentIfBreak:f},utils:{removeLines:m,willBreak:y}}=ee(),{ArgExpansionBailout:g}=Ke(),{getFunctionParameters:v,hasLeadingOwnLineComment:b,isFlowAnnotationComment:D,isJsxNode:x,isTemplateOnItsOwnLine:E,shouldPrintComma:w,startsWithNoLookaheadToken:C,isBinaryish:A,isLineComment:S,hasComment:_,getComments:k,CommentCheckFlags:T,isCallLikeExpression:F,isCallExpression:P,getCallArguments:I,hasNakedLeftSide:O,getLeftSide:B}=fr(),{locEnd:j}=qt(),{printFunctionParameters:L,shouldGroupFunctionParameters:R}=un(),{printPropertyKey:z}=pn(),{printFunctionTypeParameters:U}=en();function V(e,t,r,n){let i=e.getValue(),s=!1;if(("FunctionDeclaration"===i.type||"FunctionExpression"===i.type)&&n&&n.expandLastArg){let t=e.getParentNode();P(t)&&I(t).length>1&&(s=!0)}let a=[];"TSDeclareFunction"===i.type&&i.declare&&a.push("declare "),i.async&&a.push("async "),i.generator?a.push("function* "):a.push("function "),i.id&&a.push(t("id"));let o=L(e,t,r,s),u=J(e,t,r),c=R(i,u);return a.push(U(e,r,t),l([c?l(o):o,u]),i.body?" ":"",t("body")),r.semi&&(i.declare||!i.body)&&a.push(";"),a}function $(e,t,n){let i=e.getNode(),{kind:s}=i,a=i.value||i,o=[];return s&&"init"!==s&&"method"!==s&&"constructor"!==s?(r.ok("get"===s||"set"===s),o.push(s," ")):a.async&&o.push("async "),a.generator&&o.push("*"),o.push(z(e,t,n),i.optional||i.key.optional?"?":""),i===a?o.push(W(e,t,n)):"FunctionExpression"===a.type?o.push(e.call((e=>W(e,t,n)),"value")):o.push(n("value")),o}function W(e,t,r){let n=e.getNode(),i=L(e,r,t),s=J(e,r,t),a=R(n,s),o=[U(e,t,r),l([a?l(i):i,s])];return n.body?o.push(" ",r("body")):o.push(t.semi?";":""),o}function H(e,t,r,i){let s=[];if(e.getValue().async&&s.push("async "),G(e,t))s.push(r(["params",0]));else{let n=i&&(i.expandLastArg||i.expandFirstArg),a=J(e,r,t);if(n){if(y(a))throw new g;a=l(m(a))}s.push(l([L(e,r,t,n,!0),a]))}let o=n(e,t,!0,(e=>{let r=a(t.originalText,e,j);return!1!==r&&"=>"===t.originalText.slice(r,r+2)}));return o&&s.push(" ",o),s}function q(e,t,r,n,i,s){let a=e.getName(),h=e.getParentNode(),m=F(h)&&"callee"===a,y=Boolean(t&&t.assignmentLayout),g="BlockStatement"!==s.body.type&&"ObjectExpression"!==s.body.type&&"SequenceExpression"!==s.body.type,v=m&&g||t&&"chain-tail-arrow-chain"===t.assignmentLayout,b=Symbol("arrow-chain");return"SequenceExpression"===s.body.type&&(i=l(["(",c([u,i]),u,")"])),l([l(c([m||y?u:"",l(d([" =>",o],r),{shouldBreak:n})]),{id:b,shouldBreak:v})," =>",f(g?c([o,i]):[" ",i],{groupId:b}),m?p(u,"",{groupId:b}):""])}function K(e,t,r,n){let s=e.getValue(),a=[],h=[],d=!1;if(function o(){let u=H(e,t,r,n);if(0===a.length)a.push(u);else{let{leading:r,trailing:n}=i(e,t);a.push([r,u]),h.unshift(n)}d=d||s.returnType&&v(s).length>0||s.typeParameters||v(s).some((e=>"Identifier"!==e.type)),"ArrowFunctionExpression"!==s.body.type||n&&n.expandLastArg?h.unshift(r("body",n)):(s=s.body,e.call(o,"body"))}(),a.length>1)return q(e,n,a,d,h,s);let f=a;if(f.push(" =>"),!b(t.originalText,s.body)&&("ArrayExpression"===s.body.type||"ObjectExpression"===s.body.type||"BlockStatement"===s.body.type||x(s.body)||E(s.body,t.originalText)||"ArrowFunctionExpression"===s.body.type||"DoExpression"===s.body.type))return l([...f," ",h]);if("SequenceExpression"===s.body.type)return l([...f,l([" (",c([u,h]),u,")"])]);let m=(n&&n.expandLastArg||"JSXExpressionContainer"===e.getParentNode().type)&&!_(s),y=n&&n.expandLastArg&&w(t,"all"),g="ConditionalExpression"===s.body.type&&!C(s.body,!1);return l([...f,l([c([o,g?p("","("):"",h,g?p("",")"):""]),m?[p(y?",":""),u]:""])])}function Z(e){let t=v(e);return!(1!==t.length||e.typeParameters||_(e,T.Dangling)||"Identifier"!==t[0].type||t[0].typeAnnotation||_(t[0])||t[0].optional||e.predicate||e.returnType)}function G(e,t){return"always"!==t.arrowParens&&("avoid"===t.arrowParens&&Z(e.getValue()))}function J(e,t,r){let n=e.getValue(),i=t("returnType");if(n.returnType&&D(r.originalText,n.returnType))return[" /*: ",i," */"];let s=[i];return n.returnType&&n.returnType.typeAnnotation&&s.unshift(": "),n.predicate&&s.push(n.returnType?" ":": ",t("predicate")),s}function Y(e,t,r){let i=e.getValue(),a=t.semi?";":"",o=[];i.argument&&(te(t,i.argument)?o.push([" (",c([h,r("argument")]),h,")"]):A(i.argument)||"SequenceExpression"===i.argument.type?o.push(l([p(" ("," "),c([u,r("argument")]),u,p(")")])):o.push(" ",r("argument")));let d=k(i),f=s(d),m=f&&S(f);return m&&o.push(a),_(i,T.Dangling)&&o.push(" ",n(e,t,!0)),m||o.push(a),o}function X(e,t,r){return["return",Y(e,t,r)]}function Q(e,t,r){return["throw",Y(e,t,r)]}function te(e,t){if(b(e.originalText,t))return!0;if(O(t)){let r,n=t;for(;r=B(n);)if(n=r,b(e.originalText,n))return!0}return!1}t.exports={printFunction:V,printArrowFunction:K,printMethod:$,printReturnStatement:X,printThrowStatement:Q,printMethodInternal:W,shouldPrintParamsWithoutParens:G}}}),dn=_({"src/language-js/print/decorators.js"(e,t){N();var{isNonEmptyArray:r,hasNewline:n}=Ce(),{builders:{line:i,hardline:s,join:a,breakParent:o,group:u}}=ee(),{locStart:l,locEnd:c}=qt(),{getParentExportDeclaration:p}=fr();function h(e,t,r){let n=e.getValue();return u([a(i,e.map(r,"decorators")),m(n,t)?s:i])}function d(e,t,r){return[a(s,e.map(r,"declaration","decorators")),s]}function f(e,t,n){let u=e.getValue(),{decorators:l}=u;if(!r(l)||y(e.getParentNode()))return;let c="ClassExpression"===u.type||"ClassDeclaration"===u.type||m(u,t);return[p(e)?s:c?o:"",a(i,e.map(n,"decorators")),i]}function m(e,t){return e.decorators.some((e=>n(t.originalText,c(e))))}function y(e){if("ExportDefaultDeclaration"!==e.type&&"ExportNamedDeclaration"!==e.type&&"DeclareExportDeclaration"!==e.type)return!1;let t=e.declaration&&e.declaration.decorators;return r(t)&&l(e,{ignoreDecorators:!0})>l(t[0])}t.exports={printDecorators:f,printClassMemberDecorators:h,printDecoratorsBeforeExport:d,hasDecoratorsBeforeExport:y}}}),fn=_({"src/language-js/print/class.js"(e,t){N();var{isNonEmptyArray:r,createGroupIdMapper:n}=Ce(),{printComments:i,printDanglingComments:s}=er(),{builders:{join:a,line:o,hardline:u,softline:l,group:c,indent:p,ifBreak:h}}=ee(),{hasComment:d,CommentCheckFlags:f}=fr(),{getTypeParametersGroupId:m}=cn(),{printMethod:y}=hn(),{printOptionalToken:g,printTypeAnnotation:v,printDefiniteToken:b}=en(),{printPropertyKey:D}=pn(),{printAssignment:x}=on(),{printClassMemberDecorators:E}=dn();function w(e,t,n){let s=e.getValue(),a=[];s.declare&&a.push("declare "),s.abstract&&a.push("abstract "),a.push("class");let u=s.id&&d(s.id,f.Trailing)||s.typeParameters&&d(s.typeParameters,f.Trailing)||s.superClass&&d(s.superClass)||r(s.extends)||r(s.mixins)||r(s.implements),l=[],h=[];if(s.id&&l.push(" ",n("id")),l.push(n("typeParameters")),s.superClass){let r=[T(e,t,n),n("superTypeParameters")],s=e.call((e=>["extends ",i(e,r,t)]),"superClass");u?h.push(o,c(s)):h.push(" ",s)}else h.push(k(e,t,n,"extends"));if(h.push(k(e,t,n,"mixins"),k(e,t,n,"implements")),u){let e;e=_(s)?[...l,p(h)]:p([...l,h]),a.push(c(e,{id:C(s)}))}else a.push(...l,...h);return a.push(" ",n("body")),a}var C=n("heritageGroup");function A(e){return h(u,"",{groupId:C(e)})}function S(e){return["superClass","extends","mixins","implements"].filter((t=>Boolean(e[t]))).length>1}function _(e){return e.typeParameters&&!d(e.typeParameters,f.Trailing|f.Line)&&!S(e)}function k(e,t,n,i){let l=e.getValue();if(!r(l[i]))return"";let d=s(e,t,!0,(e=>{let{marker:t}=e;return t===i}));return[_(l)?h(" ",o,{groupId:m(l.typeParameters)}):o,d,d&&u,i,c(p([o,a([",",o],e.map(n,i))]))]}function T(e,t,r){let n=r("superClass");return"AssignmentExpression"===e.getParentNode().type?c(h(["(",p([l,n]),l,")"],n)):n}function F(e,t,n){let i=e.getValue(),s=[];return r(i.decorators)&&s.push(E(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.readonly&&s.push("readonly "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractMethodDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),s.push(y(e,t,n)),s}function P(e,t,n){let i=e.getValue(),s=[],a=t.semi?";":"";return r(i.decorators)&&s.push(E(e,t,n)),i.accessibility&&s.push(i.accessibility+" "),i.declare&&s.push("declare "),i.static&&s.push("static "),("TSAbstractPropertyDefinition"===i.type||i.abstract)&&s.push("abstract "),i.override&&s.push("override "),i.readonly&&s.push("readonly "),i.variance&&s.push(n("variance")),"ClassAccessorProperty"===i.type&&s.push("accessor "),s.push(D(e,t,n),g(e),b(e),v(e,t,n)),[x(e,t,n,s," =","value"),a]}t.exports={printClass:w,printClassMethod:F,printClassProperty:P,printHardlineAfterHeritage:A}}}),mn=_({"src/language-js/print/interface.js"(e,t){N();var{isNonEmptyArray:r}=Ce(),{builders:{join:n,line:i,group:s,indent:a,ifBreak:o}}=ee(),{hasComment:u,identity:l,CommentCheckFlags:c}=fr(),{getTypeParametersGroupId:p}=cn(),{printTypeScriptModifiers:h}=en();function d(e,t,d){let f=e.getValue(),m=[];f.declare&&m.push("declare "),"TSInterfaceDeclaration"===f.type&&m.push(f.abstract?"abstract ":"",h(e,t,d)),m.push("interface");let y=[],g=[];"InterfaceTypeAnnotation"!==f.type&&y.push(" ",d("id"),d("typeParameters"));let v=f.typeParameters&&!u(f.typeParameters,c.Trailing|c.Line);return r(f.extends)&&g.push(v?o(" ",i,{groupId:p(f.typeParameters)}):i,"extends ",(1===f.extends.length?l:a)(n([",",i],e.map(d,"extends")))),f.id&&u(f.id,c.Trailing)||r(f.extends)?v?m.push(s([...y,a(g)])):m.push(s(a([...y,...g]))):m.push(...y,...g),m.push(" ",d("body")),s(m)}t.exports={printInterface:d}}}),yn=_({"src/language-js/print/module.js"(e,t){N();var{isNonEmptyArray:r}=Ce(),{builders:{softline:n,group:i,indent:s,join:a,line:o,ifBreak:u,hardline:l}}=ee(),{printDanglingComments:c}=er(),{hasComment:p,CommentCheckFlags:h,shouldPrintComma:d,needsHardlineAfterDanglingComment:f,isStringLiteral:m,rawText:y}=fr(),{locStart:g,hasSameLoc:v}=qt(),{hasDecoratorsBeforeExport:b,printDecoratorsBeforeExport:D}=dn();function x(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{importKind:a}=n;return s.push("import"),a&&"value"!==a&&s.push(" ",a),s.push(S(e,t,r),A(e,t,r),k(e,t,r),i),s}function E(e,t,r){let n=e.getValue(),i=[];b(n)&&i.push(D(e,t,r));let{type:s,exportKind:a,declaration:o}=n;return i.push("export"),(n.default||"ExportDefaultDeclaration"===s)&&i.push(" default"),p(n,h.Dangling)&&(i.push(" ",c(e,t,!0)),f(n)&&i.push(l)),o?i.push(" ",r("declaration")):i.push("type"===a?" type":"",S(e,t,r),A(e,t,r),k(e,t,r)),C(n,t)&&i.push(";"),i}function w(e,t,r){let n=e.getValue(),i=t.semi?";":"",s=[],{exportKind:a,exported:o}=n;return s.push("export"),"type"===a&&s.push(" type"),s.push(" *"),o&&s.push(" as ",r("exported")),s.push(A(e,t,r),k(e,t,r),i),s}function C(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,i=e.default||"ExportDefaultDeclaration"===r;if(!n)return!0;let{type:s}=n;return!(!i||"ClassDeclaration"===s||"FunctionDeclaration"===s||"TSInterfaceDeclaration"===s||"DeclareClass"===s||"DeclareFunction"===s||"TSDeclareFunction"===s||"EnumDeclaration"===s)}function A(e,t,r){let n=e.getValue();if(!n.source)return"";let i=[];return _(n,t)||i.push(" from"),i.push(" ",r("source")),i}function S(e,t,l){let c=e.getValue();if(_(c,t))return"";let h=[" "];if(r(c.specifiers)){let r=[],f=[];e.each((()=>{let t=e.getValue().type;if("ExportNamespaceSpecifier"===t||"ExportDefaultSpecifier"===t||"ImportNamespaceSpecifier"===t||"ImportDefaultSpecifier"===t)r.push(l());else{if("ExportSpecifier"!==t&&"ImportSpecifier"!==t)throw new Error("Unknown specifier type ".concat(JSON.stringify(t)));f.push(l())}}),"specifiers"),h.push(a(", ",r)),f.length>0&&(r.length>0&&h.push(", "),f.length>1||r.length>0||c.specifiers.some((e=>p(e)))?h.push(i(["{",s([t.bracketSpacing?o:n,a([",",o],f)]),u(d(t)?",":""),t.bracketSpacing?o:n,"}"])):h.push(["{",t.bracketSpacing?" ":"",...f,t.bracketSpacing?" ":"","}"]))}else h.push("{}");return h}function _(e,t){let{type:n,importKind:i,source:s,specifiers:a}=e;return"ImportDeclaration"===n&&!r(a)&&"type"!==i&&!/{\s*}/.test(t.originalText.slice(g(e),g(s)))}function k(e,t,n){let i=e.getNode();return r(i.assertions)?[" assert {",t.bracketSpacing?" ":"",a(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}function T(e,t,r){let n=e.getNode(),{type:i}=n,s=[],a="ImportSpecifier"===i?n.importKind:n.exportKind;a&&"value"!==a&&s.push(a," ");let o=i.startsWith("Import"),u=o?"imported":"local",l=o?"local":"exported",c=n[u],p=n[l],h="",d="";return"ExportNamespaceSpecifier"===i||"ImportNamespaceSpecifier"===i?h="*":c&&(h=r(u)),p&&!F(n)&&(d=r(l)),s.push(h,h&&d?" as ":"",d),s}function F(e){if("ImportSpecifier"!==e.type&&"ExportSpecifier"!==e.type)return!1;let{local:t,["ImportSpecifier"===e.type?"imported":"exported"]:r}=e;return!(t.type!==r.type||!v(t,r))&&(m(t)?t.value===r.value&&y(t)===y(r):"Identifier"===t.type&&t.name===r.name)}t.exports={printImportDeclaration:x,printExportDeclaration:E,printExportAllDeclaration:w,printModuleSpecifier:T}}}),gn=_({"src/language-js/print/object.js"(e,t){N();var{printDanglingComments:r}=er(),{builders:{line:n,softline:i,group:s,indent:a,ifBreak:o,hardline:u}}=ee(),{getLast:l,hasNewlineInRange:c,hasNewline:p,isNonEmptyArray:h}=Ce(),{shouldPrintComma:d,hasComment:f,getComments:m,CommentCheckFlags:y,isNextLineEmpty:g}=fr(),{locStart:v,locEnd:b}=qt(),{printOptionalToken:D,printTypeAnnotation:x}=en(),{shouldHugFunctionParameters:E}=un(),{shouldHugType:w}=ln(),{printHardlineAfterHeritage:C}=fn();function A(e,t,A){let S,_=t.semi?";":"",k=e.getValue();S="TSTypeLiteral"===k.type?"members":"TSInterfaceBody"===k.type?"body":"properties";let T="ObjectTypeAnnotation"===k.type,F=[S];T&&F.push("indexers","callProperties","internalSlots");let P=F.map((e=>k[e][0])).sort(((e,t)=>v(e)-v(t)))[0],N=e.getParentNode(0),I=T&&N&&("InterfaceDeclaration"===N.type||"DeclareInterface"===N.type||"DeclareClass"===N.type)&&"body"===e.getName(),O="TSInterfaceBody"===k.type||I||"ObjectPattern"===k.type&&"FunctionDeclaration"!==N.type&&"FunctionExpression"!==N.type&&"ArrowFunctionExpression"!==N.type&&"ObjectMethod"!==N.type&&"ClassMethod"!==N.type&&"ClassPrivateMethod"!==N.type&&"AssignmentPattern"!==N.type&&"CatchClause"!==N.type&&k.properties.some((e=>e.value&&("ObjectPattern"===e.value.type||"ArrayPattern"===e.value.type)))||"ObjectPattern"!==k.type&&P&&c(t.originalText,v(k),v(P)),B=I?";":"TSInterfaceBody"===k.type||"TSTypeLiteral"===k.type?o(_,";"):",",j="RecordExpression"===k.type?"#{":k.exact?"{|":"{",L=k.exact?"|}":"}",M=[];for(let t of F)e.each((e=>{let t=e.getValue();M.push({node:t,printed:A(),loc:v(t)})}),t);F.length>1&&M.sort(((e,t)=>e.loc-t.loc));let R=[],z=M.map((e=>{let r=[...R,s(e.printed)];return R=[B,n],("TSPropertySignature"===e.node.type||"TSMethodSignature"===e.node.type||"TSConstructSignatureDeclaration"===e.node.type)&&f(e.node,y.PrettierIgnore)&&R.shift(),g(e.node,t)&&R.push(u),r}));if(k.inexact){let i;if(f(k,y.Dangling)){let s=f(k,y.Line);i=[r(e,t,!0),s||p(t.originalText,b(l(m(k))))?u:n,"..."]}else i=["..."];z.push([...R,...i])}let U,V=l(k[S]),$=!(k.inexact||V&&"RestElement"===V.type||V&&("TSPropertySignature"===V.type||"TSCallSignatureDeclaration"===V.type||"TSMethodSignature"===V.type||"TSConstructSignatureDeclaration"===V.type)&&f(V,y.PrettierIgnore));if(0===z.length){if(!f(k,y.Dangling))return[j,L,x(e,t,A)];U=s([j,r(e,t),i,L,D(e),x(e,t,A)])}else U=[I&&h(k.properties)?C(N):"",j,a([t.bracketSpacing?n:i,...z]),o($&&(","!==B||d(t))?B:""),t.bracketSpacing?n:i,L,D(e),x(e,t,A)];return e.match((e=>"ObjectPattern"===e.type&&!e.decorators),((e,t,r)=>E(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||e.match(w,((e,t)=>"typeAnnotation"===t),((e,t)=>"typeAnnotation"===t),((e,t,r)=>E(e)&&("params"===t||"parameters"===t||"this"===t||"rest"===t)&&0===r))||!O&&e.match((e=>"ObjectPattern"===e.type),(e=>"AssignmentExpression"===e.type||"VariableDeclarator"===e.type))?U:s(U,{shouldBreak:O})}t.exports={printObject:A}}}),vn=_({"src/language-js/print/flow.js"(e,t){N();var r=Qt(),{printDanglingComments:n}=er(),{printString:i,printNumber:s}=Ce(),{builders:{hardline:a,softline:o,group:u,indent:l}}=ee(),{getParentExportDeclaration:c,isFunctionNotation:p,isGetterOrSetter:h,rawText:d,shouldPrintComma:f}=fr(),{locStart:m,locEnd:y}=qt(),{printClass:g}=fn(),{printOpaqueType:v,printTypeAlias:b,printIntersectionType:D,printUnionType:x,printFunctionType:E,printTupleType:w,printIndexedAccessType:C}=ln(),{printInterface:A}=mn(),{printTypeParameter:S,printTypeParameters:_}=cn(),{printExportDeclaration:k,printExportAllDeclaration:T}=yn(),{printArrayItems:F}=tn(),{printObject:P}=gn(),{printPropertyKey:I}=pn(),{printOptionalToken:O,printTypeAnnotation:B,printRestSpread:j}=en();function L(e,t,c){let N=e.getValue(),L=t.semi?";":"",R=[];switch(N.type){case"DeclareClass":return M(e,g(e,t,c));case"DeclareFunction":return M(e,["function ",c("id"),N.predicate?" ":"",c("predicate"),L]);case"DeclareModule":return M(e,["module ",c("id")," ",c("body")]);case"DeclareModuleExports":return M(e,["module.exports",": ",c("typeAnnotation"),L]);case"DeclareVariable":return M(e,["var ",c("id"),L]);case"DeclareOpaqueType":return M(e,v(e,t,c));case"DeclareInterface":return M(e,A(e,t,c));case"DeclareTypeAlias":return M(e,b(e,t,c));case"DeclareExportDeclaration":return M(e,k(e,t,c));case"DeclareExportAllDeclaration":return M(e,T(e,t,c));case"OpaqueType":return v(e,t,c);case"TypeAlias":return b(e,t,c);case"IntersectionTypeAnnotation":return D(e,t,c);case"UnionTypeAnnotation":return x(e,t,c);case"FunctionTypeAnnotation":return E(e,t,c);case"TupleTypeAnnotation":return w(e,t,c);case"GenericTypeAnnotation":return[c("id"),_(e,t,c,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return C(e,t,c);case"TypeAnnotation":return c("typeAnnotation");case"TypeParameter":return S(e,t,c);case"TypeofTypeAnnotation":return["typeof ",c("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[c("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(N.value);case"EnumDeclaration":return["enum ",c("id")," ",c("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if("EnumSymbolBody"===N.type||N.explicitType){let e=null;switch(N.type){case"EnumBooleanBody":e="boolean";break;case"EnumNumberBody":e="number";break;case"EnumStringBody":e="string";break;case"EnumSymbolBody":e="symbol"}R.push("of ",e," ")}if(0!==N.members.length||N.hasUnknownMembers){let r=N.members.length>0?[a,F(e,t,"members",c),N.hasUnknownMembers||f(t)?",":""]:[];R.push(u(["{",l([...r,...N.hasUnknownMembers?[a,"..."]:[]]),n(e,t,!0),a,"}"]))}else R.push(u(["{",n(e,t),o,"}"]));return R;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[c("id")," = ","object"==typeof N.init?c("init"):String(N.init)];case"EnumDefaultedMember":return c("id");case"FunctionTypeParam":{let t=N.name?c("name"):e.getParentNode().this===N?"this":"";return[t,O(e),t?": ":"",c("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return A(e,t,c);case"ClassImplements":case"InterfaceExtends":return[c("id"),c("typeParameters")];case"NullableTypeAnnotation":return["?",c("typeAnnotation")];case"Variance":{let{kind:e}=N;return r.ok("plus"===e||"minus"===e),"plus"===e?"+":"-"}case"ObjectTypeCallProperty":return N.static&&R.push("static "),R.push(c("value")),R;case"ObjectTypeIndexer":return[N.static?"static ":"",N.variance?c("variance"):"","[",c("id"),N.id?": ":"",c("key"),"]: ",c("value")];case"ObjectTypeProperty":{let r="";return N.proto?r="proto ":N.static&&(r="static "),[r,h(N)?N.kind+" ":"",N.variance?c("variance"):"",I(e,t,c),O(e),p(N)?"":": ",c("value")]}case"ObjectTypeAnnotation":return P(e,t,c);case"ObjectTypeInternalSlot":return[N.static?"static ":"","[[",c("id"),"]]",O(e),N.method?"":": ",c("value")];case"ObjectTypeSpreadProperty":return j(e,t,c);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[c("qualification"),".",c("id")];case"StringLiteralTypeAnnotation":return i(d(N),t);case"NumberLiteralTypeAnnotation":r.strictEqual(typeof N.value,"number");case"BigIntLiteralTypeAnnotation":return N.extra?s(N.extra.raw):s(N.raw);case"TypeCastExpression":return["(",c("expression"),B(e,t,c),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let r=_(e,t,c,"params");if("flow"===t.parser){let e=m(N),n=y(N),i=t.originalText.lastIndexOf("/*",e),s=t.originalText.indexOf("*/",n);if(-1!==i&&-1!==s){let e=t.originalText.slice(i+2,s).trim();if(e.startsWith("::")&&!e.includes("/*")&&!e.includes("*/"))return["/*:: ",r," */"]}}return r}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",c("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(N.type))}}function M(e,t){let n=c(e);return n?(r.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}t.exports={printFlow:L}}}),bn=_({"src/language-js/utils/is-ts-keyword-type.js"(e,t){function r(e){let{type:t}=e;return t.startsWith("TS")&&t.endsWith("Keyword")}N(),t.exports=r}}),Dn=_({"src/language-js/print/ternary.js"(e,t){N();var{hasNewlineInRange:r}=Ce(),{isJsxNode:n,getComments:i,isCallExpression:s,isMemberExpression:a}=fr(),{locStart:o,locEnd:u}=qt(),l=hr(),{builders:{line:c,softline:p,group:h,indent:d,align:f,ifBreak:m,dedent:y,breakParent:g}}=ee();function v(e){let t=[e];for(let e=0;eN[e]===w)),O=N.type===w.type&&!I,B=0;do{E=D||w,D=e.getParentNode(B),B++}while(D&&D.type===w.type&&_.every((e=>D[e]!==E)));let j=D||N,L=E;if(C&&(n(w[_[0]])||n(k)||n(T)||v(L))){P=!0,O=!0;let e=e=>[m("("),d([p,e]),p,m(")")],t=e=>"NullLiteral"===e.type||"Literal"===e.type&&null===e.value||"Identifier"===e.type&&"undefined"===e.name;F.push(" ? ",t(k)?s(A):e(s(A))," : ",T.type===w.type||t(T)?s(S):e(s(S)))}else{let e=[c,"? ",k.type===w.type?m("","("):"",f(2,s(A)),k.type===w.type?m("",")"):"",c,": ",T.type===w.type?s(S):f(2,s(S))];F.push(N.type!==w.type||N[S]===w||I?e:t.useTabs?y(d(e)):f(Math.max(0,t.tabWidth-2),e))}let M=[..._.map((e=>i(w[e]))),i(k),i(T)].flat().some((e=>l(e)&&r(t.originalText,o(e),u(e)))),R=e=>N===j?h(e,{shouldBreak:M}):M?[e,g]:e,z=!P&&(a(N)||"NGPipeExpression"===N.type&&N.left===w)&&!N.computed,U=x(e),V=R([b(e,t,s),O?F:d(F),C&&z&&!U?p:""]);return I||U?h([d([p,V]),p]):V}t.exports={printTernary:E}}}),xn=_({"src/language-js/print/statement.js"(e,t){N();var{builders:{hardline:r}}=ee(),n=Zr(),{getLeftSidePathName:i,hasNakedLeftSide:s,isJsxNode:a,isTheOnlyJsxElementInMarkdown:o,hasComment:u,CommentCheckFlags:l,isNextLineEmpty:c}=fr(),{shouldPrintParamsWithoutParens:p}=hn();function h(e,t,n,i){let s=e.getValue(),a=[],p="ClassBody"===s.type,h=d(s[i]);return e.each(((e,i,s)=>{let d=e.getValue();if("EmptyStatement"===d.type)return;let m=n();t.semi||p||o(t,e)||!f(e,t)?a.push(m):u(d,l.Leading)?a.push(n([],{needsSemi:!0})):a.push(";",m),!t.semi&&p&&v(d)&&b(d,s[i+1])&&a.push(";"),d!==h&&(a.push(r),c(d,t)&&a.push(r))}),i),a}function d(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if("EmptyStatement"!==r.type)return r}}function f(e,t){return"ExpressionStatement"===e.getNode().type&&e.call((e=>m(e,t)),"expression")}function m(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!p(e,t))return!0;break;case"UnaryExpression":{let{prefix:e,operator:t}=r;if(e&&("+"===t||"-"===t))return!0;break}case"BindExpression":if(!r.object)return!0;break;case"Literal":if(r.regex)return!0;break;default:if(a(r))return!0}return!!n(e,t)||!!s(r)&&e.call((e=>m(e,t)),...i(e,r))}function y(e,t,r){return h(e,t,r,"body")}function g(e,t,r){return h(e,t,r,"consequent")}var v=e=>{let{type:t}=e;return"ClassProperty"===t||"PropertyDefinition"===t||"ClassPrivateProperty"===t||"ClassAccessorProperty"===t};function b(e,t){let r=e.key&&e.key.name;if(!("static"!==r&&"get"!==r&&"set"!==r||e.value||e.typeAnnotation))return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let e=t.key&&t.key.name;if("in"===e||"instanceof"===e)return!0}if(v(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||"get"===t.kind||"set"===t.kind)return!1;let e=t.value?t.value.generator:t.generator;return!(!t.computed&&!e)}case"TSIndexSignature":return!0}return!1}t.exports={printBody:y,printSwitchCaseConsequent:g}}}),En=_({"src/language-js/print/block.js"(e,t){N();var{printDanglingComments:r}=er(),{isNonEmptyArray:n}=Ce(),{builders:{hardline:i,indent:s}}=ee(),{hasComment:a,CommentCheckFlags:o,isNextLineEmpty:u}=fr(),{printHardlineAfterHeritage:l}=fn(),{printBody:c}=xn();function p(e,t,r){let a=e.getValue(),o=[];if("StaticBlock"===a.type&&o.push("static "),"ClassBody"===a.type&&n(a.body)){let t=e.getParentNode();o.push(l(t))}o.push("{");let u=h(e,t,r);if(u)o.push(s([i,u]),i);else{let t=e.getParentNode(),r=e.getParentNode(1);"ArrowFunctionExpression"===t.type||"FunctionExpression"===t.type||"FunctionDeclaration"===t.type||"ObjectMethod"===t.type||"ClassMethod"===t.type||"ClassPrivateMethod"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type||"DoWhileStatement"===t.type||"DoExpression"===t.type||"CatchClause"===t.type&&!r.finalizer||"TSModuleDeclaration"===t.type||"TSDeclareFunction"===t.type||"StaticBlock"===a.type||"ClassBody"===a.type||o.push(i)}return o.push("}"),o}function h(e,t,s){let l=e.getValue(),p=n(l.directives),h=l.body.some((e=>"EmptyStatement"!==e.type)),d=a(l,o.Dangling);if(!p&&!h&&!d)return"";let f=[];if(p&&e.each(((e,r,n)=>{f.push(s()),(r"]),r=[p("("),l([o,N("expression")]),o,p(")")];return e?c([[t,N("expression")],[t,u(r,{shouldBreak:!0})],[t,N("expression")]]):u([t,N("expression")])}case"TSDeclareFunction":return O(e,N,t);case"TSExportAssignment":return["export = ",N("expression"),q];case"TSModuleBlock":return L(e,t,N);case"TSInterfaceBody":case"TSTypeLiteral":return _(e,t,N);case"TSTypeAliasDeclaration":return M(e,t,N);case"TSQualifiedName":return i(".",[N("left"),N("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return T(e,t,N);case"TSAbstractPropertyDefinition":return k(e,t,N);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return K.push(N("expression")),H.typeParameters&&K.push(N("typeParameters")),K;case"TSTemplateLiteralType":return A(e,N,t);case"TSNamedTupleMember":return[N("label"),H.optional?"?":"",": ",N("elementType")];case"TSRestType":return["...",N("typeAnnotation")];case"TSOptionalType":return[N("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return j(e,t,N);case"TSClassImplements":case"TSInstantiationExpression":return[N("expression"),N("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return P(e,t,N,"params");case"TSTypeParameter":return F(e,t,N);case"TSAsExpression":{K.push(N("expression")," as ",N("typeAnnotation"));let t=e.getParentNode();return m(t)&&t.callee===H||y(t)&&t.object===H?u([l([o,...K]),o]):K}case"TSArrayType":return[N("elementType"),"[]"];case"TSPropertySignature":return H.readonly&&K.push("readonly "),K.push(I(e,t,N),D(e)),H.typeAnnotation&&K.push(": ",N("typeAnnotation")),H.initializer&&K.push(" = ",N("initializer")),K;case"TSParameterProperty":return H.accessibility&&K.push(H.accessibility+" "),H.export&&K.push("export "),H.static&&K.push("static "),H.override&&K.push("override "),H.readonly&&K.push("readonly "),K.push(N("parameter")),K;case"TSTypeQuery":return["typeof ",N("exprName"),N("typeParameters")];case"TSIndexSignature":{let r=e.getParentNode(),n=H.parameters.length>1?p(f(t)?",":""):"",s=u([l([o,i([", ",o],e.map(N,"parameters"))]),n,o]);return[H.export?"export ":"",H.accessibility?[H.accessibility," "]:"",H.static?"static ":"",H.readonly?"readonly ":"",H.declare?"declare ":"","[",H.parameters?s:"",H.typeAnnotation?"]: ":"]",H.typeAnnotation?N("typeAnnotation"):"","ClassBody"===r.type?q:""]}case"TSTypePredicate":return[H.asserts?"asserts ":"",N("parameterName"),H.typeAnnotation?[" is ",N("typeAnnotation")]:""];case"TSNonNullExpression":return[N("expression"),"!"];case"TSImportType":return[H.isTypeOf?"typeof ":"","import(",N(H.parameter?"parameter":"argument"),")",H.qualifier?[".",N("qualifier")]:"",P(e,t,N,"typeParameters")];case"TSLiteralType":return N("literal");case"TSIndexedAccessType":return $(e,t,N);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if("TSConstructorType"===H.type&&H.abstract&&K.push("abstract "),"TSCallSignatureDeclaration"!==H.type&&K.push("new "),K.push(u(w(e,N,t,!1,!0))),H.returnType||H.typeAnnotation){let e="TSConstructorType"===H.type;K.push(e?" => ":": ",N("returnType"),N("typeAnnotation"))}return K;case"TSTypeOperator":return[H.operator," ",N("typeAnnotation")];case"TSMappedType":{let i=n(t.originalText,v(H),b(H));return u(["{",l([t.bracketSpacing?s:o,H.readonly?[d(H.readonly,"readonly")," "]:"",x(e,t,N),N("typeParameter"),H.optional?d(H.optional,"?"):"",H.typeAnnotation?": ":"",N("typeAnnotation"),p(q)]),r(e,t,!0),t.bracketSpacing?s:o,"}"],{shouldBreak:i})}case"TSMethodSignature":{let r=H.kind&&"method"!==H.kind?"".concat(H.kind," "):"";K.push(H.accessibility?[H.accessibility," "]:"",r,H.export?"export ":"",H.static?"static ":"",H.readonly?"readonly ":"",H.abstract?"abstract ":"",H.declare?"declare ":"",H.computed?"[":"",N("key"),H.computed?"]":"",D(e));let n=w(e,N,t,!1,!0),i=H.returnType?"returnType":"typeAnnotation",s=H[i],a=s?N(i):"",o=C(H,a);return K.push(o?u(n):n),s&&K.push(": ",u(a)),u(K)}case"TSNamespaceExportDeclaration":return K.push("export as namespace ",N("id")),t.semi&&K.push(";"),u(K);case"TSEnumDeclaration":return H.declare&&K.push("declare "),H.modifiers&&K.push(x(e,t,N)),H.const&&K.push("const "),K.push("enum ",N("id")," "),0===H.members.length?K.push(u(["{",r(e,t),o,"}"])):K.push(u(["{",l([a,S(e,t,"members",N),f(t,"es5")?",":""]),r(e,t,!0),a,"}"])),K;case"TSEnumMember":return H.computed?K.push("[",N("id"),"]"):K.push(N("id")),H.initializer&&K.push(" = ",N("initializer")),K;case"TSImportEqualsDeclaration":return H.isExport&&K.push("export "),K.push("import "),H.importKind&&"value"!==H.importKind&&K.push(H.importKind," "),K.push(N("id")," = ",N("moduleReference")),t.semi&&K.push(";"),u(K);case"TSExternalModuleReference":return["require(",N("expression"),")"];case"TSModuleDeclaration":{let r=e.getParentNode(),n=h(H.id),i="TSModuleDeclaration"===r.type,s=H.body&&"TSModuleDeclaration"===H.body.type;if(i)K.push(".");else{H.declare&&K.push("declare "),K.push(x(e,t,N));let r=t.originalText.slice(v(H),v(H.id));"Identifier"===H.id.type&&"global"===H.id.name&&!/namespace|module/.test(r)||K.push(n||/(?:^|\s)module(?:\s|$)/.test(r)?"module ":"namespace ")}return K.push(N("id")),s?K.push(N("body")):H.body?K.push(" ",u(N("body"))):K.push(q),K}case"TSConditionalType":return E(e,t,N);case"TSInferType":return["infer"," ",N("typeParameter")];case"TSIntersectionType":return R(e,t,N);case"TSUnionType":return z(e,t,N);case"TSFunctionType":return U(e,t,N);case"TSTupleType":return V(e,t,N);case"TSTypeReference":return[N("typeName"),P(e,t,N,"typeParameters")];case"TSTypeAnnotation":return N("typeAnnotation");case"TSEmptyBodyFunctionExpression":return B(e,t,N);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return W(e,N,"?");case"TSJSDocNonNullableType":return W(e,N,"!");default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(H.type),"."))}}t.exports={printTypescript:H}}}),Cn=_({"src/language-js/print/comment.js"(e,t){N();var{hasNewline:r}=Ce(),{builders:{join:n,hardline:i},utils:{replaceTextEndOfLine:s}}=ee(),{isLineComment:a}=fr(),{locStart:o,locEnd:u}=qt(),l=hr();function c(e,t){let n=e.getValue();if(a(n))return t.originalText.slice(o(n),u(n)).trimEnd();if(l(n)){if(p(n)){let e=h(n);return n.trailing&&!r(t.originalText,o(n),{backwards:!0})?[i,e]:e}let e=u(n),a="*-/"===t.originalText.slice(e-3,e);return["/*",s(n.value),a?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}function p(e){let t="*".concat(e.value,"*").split("\n");return t.length>1&&t.every((e=>"*"===e.trim()[0]))}function h(e){let t=e.value.split("\n");return["/*",n(i,t.map(((e,r)=>0===r?e.trimEnd():" "+(r{let{marker:t}=e;return t===k}));return[p("expression"),D(t,e)?"":f,n?[" ",n]:""]}case"ParenthesizedExpression":return v(d.expression)||"ObjectExpression"!==d.expression.type&&"ArrayExpression"!==d.expression.type?u(["(",l([o,p("expression")]),o,")"]):["(",p("expression"),")"];case"AssignmentExpression":return he(e,t,p);case"VariableDeclarator":return pe(e,t,p);case"BinaryExpression":case"LogicalExpression":return de(e,t,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return me(e,t,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return d.object&&m.push(p("object")),m.push(u(l([o,U(e,t,p)]))),m;case"Identifier":return[d.name,z(e),H(e),V(e,t,p)];case"V8IntrinsicIdentifier":return["%",d.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return W(e,t,p);case"FunctionDeclaration":case"FunctionExpression":return se(e,p,t,h);case"ArrowFunctionExpression":return ae(e,t,p,h);case"YieldExpression":return m.push("yield"),d.delegate&&m.push("*"),d.argument&&m.push(" ",p("argument")),m;case"AwaitExpression":if(m.push("await"),d.argument){m.push(" ",p("argument"));let t=e.getParentNode();if(S(t)&&t.callee===d||_(t)&&t.object===d){m=[l([o,...m]),o];let t=e.findAncestor((e=>"AwaitExpression"===e.type||"BlockStatement"===e.type));if(!t||"AwaitExpression"!==t.type)return u(m)}}return m;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return K(e,t,p);case"ExportAllDeclaration":return Z(e,t,p);case"ImportDeclaration":return q(e,t,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return G(e,t,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ye(e,t,p);case"ThrowStatement":return le(e,t,p);case"ReturnStatement":return ue(e,t,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ce(e,t,p);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return Q(e,t,p);case"ObjectProperty":case"Property":return d.method||"get"===d.kind||"set"===d.kind?oe(e,t,p):ie(e,t,p);case"ObjectMethod":return oe(e,t,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return X(e,t,p);case"SequenceExpression":{let t=e.getParentNode(0);if("ExpressionStatement"===t.type||"ForStatement"===t.type){let t=[];return e.each(((e,r)=>{0===r?t.push(p()):t.push(",",l([s,p()]))}),"expressions"),u(t)}return u(i([",",s],e.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),f];case"DirectiveLiteral":return we(d,t);case"UnaryExpression":return m.push(d.operator),/[a-z]$/.test(d.operator)&&m.push(" "),v(d.argument)?m.push(u(["(",l([o,p("argument")]),o,")"])):m.push(p("argument")),m;case"UpdateExpression":return m.push(p("argument"),d.operator),d.prefix&&m.reverse(),m;case"ConditionalExpression":return J(e,t,p);case"VariableDeclaration":{let t,r=e.map(p,"declarations"),n=e.getParentNode(),i="ForStatement"===n.type||"ForInStatement"===n.type||"ForOfStatement"===n.type,o=d.declarations.some((e=>e.init));return 1!==r.length||v(d.declarations[0])?r.length>0&&(t=l(r[0])):t=r[0],m=[d.declare?"declare ":"",d.kind,t?[" ",t]:"",l(r.slice(1).map((e=>[",",o&&!i?a:s,e])))],i&&n.body!==d||m.push(f),u(m)}case"WithStatement":return u(["with (",p("object"),")",$(d.body,p("body"))]);case"IfStatement":{let n=$(d.consequent,p("consequent")),i=u(["if (",u([l([o,p("test")]),o]),")",n]);if(m.push(i),d.alternate){let n=v(d.consequent,b.Trailing|b.Line)||w(d),i="BlockStatement"===d.consequent.type&&!n;m.push(i?" ":a),v(d,b.Dangling)&&m.push(r(e,t,!0),n?a:" "),m.push("else",u($(d.alternate,p("alternate"),"IfStatement"===d.alternate.type)))}return m}case"ForStatement":{let n=$(d.body,p("body")),i=r(e,t,!0),a=i?[i,o]:"";return d.init||d.test||d.update?[a,u(["for (",u([l([o,p("init"),";",s,p("test"),";",s,p("update")]),o]),")",n])]:[a,u(["for (;;)",n])]}case"WhileStatement":return u(["while (",u([l([o,p("test")]),o]),")",$(d.body,p("body"))]);case"ForInStatement":return u(["for (",p("left")," in ",p("right"),")",$(d.body,p("body"))]);case"ForOfStatement":return u(["for",d.await?" await":""," (",p("left")," of ",p("right"),")",$(d.body,p("body"))]);case"DoWhileStatement":{let e=$(d.body,p("body"));return m=[u(["do",e])],"BlockStatement"===d.body.type?m.push(" "):m.push(a),m.push("while (",u([l([o,p("test")]),o]),")",f),m}case"DoExpression":return[d.async?"async ":"","do ",p("body")];case"BreakStatement":return m.push("break"),d.label&&m.push(" ",p("label")),m.push(f),m;case"ContinueStatement":return m.push("continue"),d.label&&m.push(" ",p("label")),m.push(f),m;case"LabeledStatement":return"EmptyStatement"===d.body.type?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),d.handler?[" ",p("handler")]:"",d.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(d.param){let e=v(d.param,(e=>!P(e)||e.leading&&n(t.originalText,F(e))||e.trailing&&n(t.originalText,T(e),{backwards:!0}))),r=p("param");return["catch ",e?["(",l([o,r]),o,") "]:["(",r,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[u(["switch (",l([o,p("discriminant")]),o,")"])," {",d.cases.length>0?l([a,i(a,e.map(((e,r,n)=>{let i=e.getValue();return[p(),r!==n.length-1&&E(i,t)?a:""]}),"cases"))]):"",a,"}"];case"SwitchCase":{d.test?m.push("case ",p("test"),":"):m.push("default:"),v(d,b.Dangling)&&m.push(" ",r(e,t,!0));let n=d.consequent.filter((e=>"EmptyStatement"!==e.type));if(n.length>0){let r=fe(e,t,p);m.push(1===n.length&&"BlockStatement"===n[0].type?[" ",r]:l([a,r]))}return m}case"DebuggerStatement":return["debugger",f];case"ClassDeclaration":case"ClassExpression":return te(e,t,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return re(e,t,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return ne(e,t,p);case"TemplateElement":return c(d.value.raw);case"TemplateLiteral":return Y(e,p,t);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return m.push("#!",d.value,a),E(d,t)&&m.push(a),m;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{m.push("module {");let e=p("body");return e&&m.push(l([a,e]),a),m.push("}"),m}default:throw new Error("unknown type: "+JSON.stringify(d.type))}}function we(e,t){let r=C(e),n=r.slice(1,-1);if(n.includes('"')||n.includes("'"))return r;let i=t.singleQuote?"'":'"';return i+n+i}function Ae(e){return e.type&&!P(e)&&!x(e)&&"EmptyStatement"!==e.type&&"TemplateElement"!==e.type&&"Import"!==e.type&&"TSEmptyBodyFunctionExpression"!==e.type}t.exports={preprocess:y,print:xe,embed:p,insertPragma:d,massageAstNode:h,hasPrettierIgnore:e=>A(e)||L(e),willPrintOwnComments:f.willPrintOwnComments,canAttachComment:Ae,printComment:ve,isBlockComment:P,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),_n=_({"src/language-js/printer-estree-json.js"(e,t){N();var{builders:{hardline:r,indent:n,join:i}}=ee(),s=Gr();function a(e,t,s){let a=e.getValue();switch(a.type){case"JsonRoot":return[s("node"),r];case"ArrayExpression":{if(0===a.elements.length)return"[]";let t=e.map((()=>null===e.getValue()?"null":s()),"elements");return["[",n([r,i([",",r],t)]),r,"]"]}case"ObjectExpression":return 0===a.properties.length?"{}":["{",n([r,i([",",r],e.map(s,"properties"))]),r,"}"];case"ObjectProperty":return[s("key"),": ",s("value")];case"UnaryExpression":return["+"===a.operator?"":a.operator,s("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return a.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(a.value);case"Identifier":{let t=e.getParentNode();return t&&"ObjectProperty"===t.type&&t.key===a?JSON.stringify(a.name):a.name}case"TemplateLiteral":return s(["quasis",0]);case"TemplateElement":return JSON.stringify(a.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(a.type))}}var o=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function u(e,t){let{type:r}=e;if("ObjectProperty"!==r||"Identifier"!==e.key.type){if("UnaryExpression"===r&&"+"===e.operator)return t.argument;if("ArrayExpression"!==r)return"TemplateLiteral"===r?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,n]of e.elements.entries())null===n&&t.elements.splice(r,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}u.ignoredProperties=o,t.exports={preprocess:s,print:a,massageAstNode:u}}}),kn=_({"src/common/common-options.js"(e,t){N();var r="Common";t.exports={bracketSpacing:{since:"0.0.0",category:r,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:r,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:r,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:r,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:r,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Tn=_({"src/language-js/options.js"(e,t){N();var r=kn(),n="JavaScript";t.exports={arrowParens:{since:"1.9.0",category:n,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:r.bracketSameLine,bracketSpacing:r.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:n,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:n,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:r.singleQuote,jsxSingleQuote:{since:"1.15.0",category:n,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:n,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:n,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:r.singleAttributePerLine}}}),Fn=_({"src/language-js/parse/parsers.js"(){N()}}),Pn=_({"node_modules/linguist-languages/data/JavaScript.json"(e,t){t.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),Nn=_({"node_modules/linguist-languages/data/TypeScript.json"(e,t){t.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),In=_({"node_modules/linguist-languages/data/TSX.json"(e,t){t.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),On=_({"node_modules/linguist-languages/data/JSON.json"(e,t){t.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Bn=_({"node_modules/linguist-languages/data/JSON with Comments.json"(e,t){t.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),jn=_({"node_modules/linguist-languages/data/JSON5.json"(e,t){t.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Ln=_({"src/language-js/index.js"(e,t){N();var r=or(),n=Sn(),i=_n(),s=Tn(),a=Fn(),o=[r(Pn(),(e=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...e.interpreters,"zx"],extensions:[...e.extensions.filter((e=>".jsx"!==e)),".wxs"]}))),r(Pn(),(()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]}))),r(Pn(),(()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0}))),r(Nn(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]}))),r(In(),(()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]}))),r(On(),(()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]}))),r(On(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter((e=>".jsonl"!==e))}))),r(Bn(),(e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc",".swcrc"]}))),r(jn(),(()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]})))],u={estree:n,"estree-json":i};t.exports={languages:o,options:s,printers:u,parsers:a}}}),Mn=_({"src/language-css/clean.js"(e,t){N();var{isFrontMatterNode:r}=Ce(),n=M(),i=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function s(e,t,i){if(r(e)&&"yaml"===e.lang&&delete t.value,"css-comment"===e.type&&"css-root"===i.type&&i.nodes.length>0&&((i.nodes[0]===e||r(i.nodes[0])&&i.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||"css-root"===i.type&&n(i.nodes)===e))return null;if("value-root"===e.type&&delete t.text,("media-query"===e.type||"media-query-list"===e.type||"media-feature-expression"===e.type)&&delete t.value,"css-rule"===e.type&&delete t.params,"selector-combinator"===e.type&&(t.value=t.value.replace(/\s+/g," ")),"media-feature"===e.type&&(t.value=t.value.replace(/ /g,"")),("value-word"===e.type&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||"media-feature"===e.type||"selector-root-invalid"===e.type||"selector-pseudo"===e.type)&&(t.value=t.value.toLowerCase()),"css-decl"===e.type&&(t.prop=t.prop.toLowerCase()),("css-atrule"===e.type||"css-import"===e.type)&&(t.name=t.name.toLowerCase()),"value-number"===e.type&&(t.unit=t.unit.toLowerCase()),("media-feature"===e.type||"media-keyword"===e.type||"media-type"===e.type||"media-unknown"===e.type||"media-url"===e.type||"media-value"===e.type||"selector-attribute"===e.type||"selector-string"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"value-string"===e.type)&&t.value&&(t.value=a(t.value)),"selector-attribute"===e.type&&(t.attribute=t.attribute.trim(),t.namespace&&"string"==typeof t.namespace&&(t.namespace=t.namespace.trim(),0===t.namespace.length&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),("media-value"===e.type||"media-type"===e.type||"value-number"===e.type||"selector-root-invalid"===e.type||"selector-class"===e.type||"selector-combinator"===e.type||"selector-tag"===e.type)&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,((e,t,r)=>{let n=Number(t);return Number.isNaN(n)?e:n+r.toLowerCase()}))),"selector-tag"===e.type){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}if("css-atrule"===e.type&&"supports"===e.name.toLowerCase()&&delete t.value,"selector-unknown"===e.type&&delete t.value,"value-comma_group"===e.type){let r=e.groups.findIndex((e=>"value-number"===e.type&&"..."===e.unit));-1!==r&&(t.groups[r].unit="",t.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}function a(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}s.ignoredProperties=i,t.exports=s}}),Rn=_({"src/utils/front-matter/print.js"(e,t){N();var{builders:{hardline:r,markAsRoot:n}}=ee();function i(e,t){if("yaml"===e.lang){let i=e.value.trim(),s=i?t(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return n([e.startDelimiter,r,s,s?r:"",e.endDelimiter])}}t.exports=i}}),zn=_({"src/language-css/embed.js"(e,t){N();var{builders:{hardline:r}}=ee(),n=Rn();function i(e,t,i){let s=e.getValue();if("front-matter"===s.type){let e=n(s,i);return e?[e,r]:""}}t.exports=i}}),Un=_({"src/utils/front-matter/parse.js"(e,t){N();var r=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(e){let t=e.match(r);if(!t)return{content:e};let{startDelimiter:n,language:i,value:s="",endDelimiter:a}=t.groups,o=i.trim()||"yaml";if("+++"===n&&(o="toml"),"yaml"!==o&&n!==a)return{content:e};let[u]=t;return{frontMatter:{type:"front-matter",lang:o,value:s,startDelimiter:n,endDelimiter:a,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+e.slice(u.length)}}t.exports=n}}),Vn=_({"src/language-css/pragma.js"(e,t){N();var r=qr(),n=Un();function i(e){return r.hasPragma(n(e).content)}function s(e){let{frontMatter:t,content:i}=n(e);return(t?t.raw+"\n\n":"")+r.insertPragma(i)}t.exports={hasPragma:i,insertPragma:s}}}),$n=_({"src/language-css/utils/index.js"(e,t){N();var r=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function n(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function i(e,t){let r=n(e,t);return-1===r?null:e.getParentNode(r)}function s(e){var t;let r=i(e,"css-decl");return null==r||null===(t=r.prop)||void 0===t?void 0:t.toLowerCase()}var a=new Set(["initial","inherit","unset","revert"]);function o(e){return a.has(e.toLowerCase())}function u(e,t){let r=i(e,"css-atrule");return(null==r?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function l(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function c(e,t){var r;let n=i(e,"value-func");return(null==n||null===(r=n.value)||void 0===r?void 0:r.toLowerCase())===t}function p(e){var t;let r=i(e,"css-rule"),n=null==r||null===(t=r.raws)||void 0===t?void 0:t.selector;return n&&(n.startsWith(":import")||n.startsWith(":export"))}function h(e,t){let r=Array.isArray(t)?t:[t],n=i(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())}function d(e){let t=e.getValue(),r=i(e,"css-atrule");return"import"===(null==r?void 0:r.name)&&"url"===t.groups[0].value&&2===t.groups.length}function f(e){return"value-func"===e.type&&"url"===e.value.toLowerCase()}function m(e,t){var r;let n=null===(r=e.getParentNode())||void 0===r?void 0:r.nodes;return n&&n.indexOf(t)===n.length-1}function y(e){let{selector:t}=e;return!!t&&("string"==typeof t&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value))}function g(e){return"value-word"===e.type&&["from","through","end"].includes(e.value)}function v(e){return"value-word"===e.type&&["and","or","not"].includes(e.value)}function b(e){return"value-word"===e.type&&"in"===e.value}function D(e){return"value-operator"===e.type&&"*"===e.value}function x(e){return"value-operator"===e.type&&"/"===e.value}function E(e){return"value-operator"===e.type&&"+"===e.value}function w(e){return"value-operator"===e.type&&"-"===e.value}function C(e){return"value-operator"===e.type&&"%"===e.value}function A(e){return D(e)||x(e)||E(e)||w(e)||C(e)}function S(e){return"value-word"===e.type&&["==","!="].includes(e.value)}function _(e){return"value-word"===e.type&&["<",">","<=",">="].includes(e.value)}function k(e){return"css-atrule"===e.type&&["if","else","for","each","while"].includes(e.name)}function T(e){var t;return(null===(t=e.raws)||void 0===t?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function F(e){return e.name.startsWith("prettier-placeholder")}function P(e){return e.prop.startsWith("@prettier-placeholder")}function I(e,t){return"$$"===e.value&&"value-func"===e.type&&"value-word"===(null==t?void 0:t.type)&&!t.raws.before}function O(e){var t,r;return"value-root"===(null===(t=e.value)||void 0===t?void 0:t.type)&&"value-value"===(null===(r=e.value.group)||void 0===r?void 0:r.type)&&"composes"===e.prop.toLowerCase()}function B(e){var t,r,n;return"value-paren_group"===(null===(t=e.value)||void 0===t||null===(r=t.group)||void 0===r||null===(n=r.group)||void 0===n?void 0:n.type)&&null!==e.value.group.group.open&&null!==e.value.group.group.close}function j(e){var t;return""===(null===(t=e.raws)||void 0===t?void 0:t.before)}function L(e){var t,r;return"value-comma_group"===e.type&&"value-colon"===(null===(t=e.groups)||void 0===t||null===(r=t[1])||void 0===r?void 0:r.type)}function M(e){var t;return"value-paren_group"===e.type&&(null===(t=e.groups)||void 0===t?void 0:t[0])&&L(e.groups[0])}function R(e){var t;let r=e.getValue();if(0===r.groups.length)return!1;let n=e.getParentNode(1);if(!(M(r)||n&&M(n)))return!1;let s=i(e,"css-decl");return!!(null!=s&&null!==(t=s.prop)&&void 0!==t&&t.startsWith("$")||M(n)||"value-func"===n.type)}function z(e){return"value-comment"===e.type&&e.inline}function U(e){return"value-word"===e.type&&"#"===e.value}function V(e){return"value-word"===e.type&&"{"===e.value}function $(e){return"value-word"===e.type&&"}"===e.value}function W(e){return["value-word","value-atword"].includes(e.type)}function H(e){return"value-colon"===(null==e?void 0:e.type)}function q(e,t){if(!L(t))return!1;let{groups:r}=t,n=r.indexOf(e);return-1!==n&&H(r[n+1])}function K(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function Z(e){return"value-func"===e.type&&r.has(e.value.toLowerCase())}function G(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function J(e){return"value-atword"===(null==e?void 0:e.type)&&e.value.startsWith("prettier-placeholder-")}function Y(e,t){var r,n;if("("!==(null===(r=e.open)||void 0===r?void 0:r.value)||")"!==(null===(n=e.close)||void 0===n?void 0:n.value)||e.groups.some((e=>"value-comma_group"!==e.type)))return!1;if("value-comma_group"===t.type){let r=t.groups.indexOf(e)-1,n=t.groups[r];if("value-word"===(null==n?void 0:n.type)&&"with"===n.value)return!0}return!1}function X(e){var t,r;return"value-paren_group"===e.type&&"("===(null===(t=e.open)||void 0===t?void 0:t.value)&&")"===(null===(r=e.close)||void 0===r?void 0:r.value)}t.exports={getAncestorCounter:n,getAncestorNode:i,getPropOfDeclNode:s,maybeToLowerCase:l,insideValueFunctionNode:c,insideICSSRuleNode:p,insideAtRuleNode:h,insideURLFunctionInImportAtRuleNode:d,isKeyframeAtRuleKeywords:u,isWideKeywords:o,isLastNode:m,isSCSSControlDirectiveNode:k,isDetachedRulesetDeclarationNode:y,isRelationalOperatorNode:_,isEqualityOperatorNode:S,isMultiplicationNode:D,isDivisionNode:x,isAdditionNode:E,isSubtractionNode:w,isModuloNode:C,isMathOperatorNode:A,isEachKeywordNode:b,isForKeywordNode:g,isURLFunctionNode:f,isIfElseKeywordNode:v,hasComposesNode:O,hasParensAroundNode:B,hasEmptyRawBefore:j,isDetachedRulesetCallNode:T,isTemplatePlaceholderNode:F,isTemplatePropNode:P,isPostcssSimpleVarNode:I,isKeyValuePairNode:L,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:q,isSCSSMapItemNode:R,isInlineValueCommentNode:z,isHashNode:U,isLeftCurlyBraceNode:V,isRightCurlyBraceNode:$,isWordNode:W,isColonNode:H,isMediaAndSupportsKeywords:K,isColorAdjusterFuncNode:Z,lastLineHasInlineComment:G,isAtWordPlaceholderNode:J,isConfigurationNode:Y,isParenGroupNode:X}}}),Wn=_({"src/utils/line-column-to-index.js"(e,t){N(),t.exports=function(e,t){let r=0;for(let n=0;n0?p:""]}case"css-comment":{let e=s.inline||s.raws.inline,r=t.originalText.slice(ve(s),be(s));return e?r.trimEnd():r}case"css-rule":return[n("selector"),s.important?" !important":"",s.nodes?[s.selector&&"selector-unknown"===s.selector.type&&fe(s.selector.value)?c:" ","{",s.nodes.length>0?m([p,Se(e,t,n)]):"",p,"}",j(s)?";":""]:";"];case"css-decl":{let r=e.getParentNode(),{between:i}=s.raws,a=i.trim(),o=":"===a,u=G(s)?b(n("value")):n("value");return!o&&fe(a)&&(u=m([p,y(u)])),[s.raws.before.replace(/[\s;]/g,""),k(e)?s.prop:S(s.prop),a.startsWith("//")?" ":"",a,s.extend?"":" ",De(t)&&s.extend&&s.selector?["extend(",n("selector"),")"]:"",u,s.raws.important?s.raws.important.replace(/\s*!\s*important/i," !important"):s.important?" !important":"",s.raws.scssDefault?s.raws.scssDefault.replace(/\s*!default/i," !default"):s.scssDefault?" !default":"",s.raws.scssGlobal?s.raws.scssGlobal.replace(/\s*!global/i," !global"):s.scssGlobal?" !global":"",s.nodes?[" {",m([h,Se(e,t,n)]),h,"}"]:ne(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1]?"":t.__isHTMLStyleAttribute&&O(e,s)?g(";"):";"]}case"css-atrule":{let r=e.getParentNode(),i=re(s)&&!r.raws.semicolon&&";"!==t.originalText[be(s)-1];if(De(t)){if(s.mixin)return[n("selector"),s.important?" !important":"",i?"":";"];if(s.function)return[s.name,n("params"),i?"":";"];if(s.variable)return["@",s.name,": ",s.value?n("value"):"",s.raws.between.trim()?s.raws.between.trim()+" ":"",s.nodes?["{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:"",i?"":";"]}return["@",te(s)||s.name.endsWith(":")?s.name:S(s.name),s.params?[te(s)?"":re(s)?""===s.raws.afterName?"":s.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(s.raws.afterName)?[p,p]:/^\s*\n/.test(s.raws.afterName)?p:" ":" ",n("params")]:"",s.selector?m([" ",n("selector")]):"",s.value?d([" ",n("value"),B(s)?J(s)?" ":c:""]):"else"===s.name?" ":"",s.nodes?[B(s)?"":s.selector&&!s.selector.nodes&&"string"==typeof s.selector.value&&fe(s.selector.value)||!s.selector&&"string"==typeof s.params&&fe(s.params)?c:" ","{",m([s.nodes.length>0?h:"",Se(e,t,n)]),h,"}"]:i?"":";"]}case"media-query-list":{let t=[];return e.each((e=>{let r=e.getValue();"media-query"===r.type&&""===r.value||t.push(n())}),"nodes"),d(m(l(c,t)))}case"media-query":return[l(" ",e.map(n,"nodes")),O(e,s)?"":","];case"media-type":case"media-value":return Oe(Ne(s.value,t));case"media-feature-expression":return s.nodes?["(",...e.map(n,"nodes"),")"]:s.value;case"media-feature":return S(Ne(s.value.replace(/ +/g," "),t));case"media-colon":case"value-comma":return[s.value," "];case"media-keyword":case"selector-string":return Ne(s.value,t);case"media-url":return Ne(s.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":case"selector-comment":case"selector-nesting":case"value-paren":case"value-operator":case"value-unicode-range":case"value-unknown":return s.value;case"selector-root":return d([T(e,"custom-selector")?[C(e,"css-atrule").customSelector,c]:"",l([",",T(e,["extend","custom-selector","nest"])?c:p],e.map(n,"nodes"))]);case"selector-selector":return d(m(e.map(n,"nodes")));case"selector-tag":{let t=e.getParentNode(),r=t&&t.nodes.indexOf(s),n=r&&t.nodes[r-1];return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"","selector-nesting"===n.type?s.value:Oe(P(e,s.value)?s.value.toLowerCase():s.value)]}case"selector-id":return["#",s.value];case"selector-class":return[".",Oe(Ne(s.value,t))];case"selector-attribute":return["[",s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.attribute.trim(),s.operator?s.operator:"",s.value?Ie(Ne(s.value.trim(),t),t):"",s.insensitive?" i":"","]"];case"selector-combinator":if("+"===s.value||">"===s.value||"~"===s.value||">>>"===s.value){let t=e.getParentNode();return["selector-selector"===t.type&&t.nodes[0]===s?"":c,s.value,O(e,s)?"":" "]}return[s.value.trim().startsWith("(")?c:"",Oe(Ne(s.value.trim(),t))||c];case"selector-universal":return[s.namespace?[!0===s.namespace?"":s.namespace.trim(),"|"]:"",s.value];case"selector-pseudo":return[S(s.value),u(s.nodes)?["(",l(", ",e.map(n,"nodes")),")"]:""];case"selector-unknown":{let r=C(e,"css-rule");if(r&&r.isSCSSNesterProperty)return Oe(Ne(S(s.value),t));let n=e.getParentNode();if(n.raws&&n.raws.selector){let e=ve(n),r=e+n.raws.selector.length;return t.originalText.slice(e,r).trim()}let i=e.getParentNode(1);if("value-paren_group"===n.type&&i&&"value-func"===i.type&&"selector"===i.value){let e=be(n.open)+1,r=ve(n.close),i=t.originalText.slice(e,r).trim();return fe(i)?[v,i]:i}return s.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(ve(s),be(s));case"value-comma_group":{let t=e.getParentNode(),r=e.getParentNode(1),i=A(e),a=i&&"value-value"===t.type&&("grid"===i||i.startsWith("grid-template")),o=C(e,"css-atrule"),u=o&&B(o),l=s.groups.some((e=>ae(e))),g=e.map(n,"groups"),b=[],D=_(e,"url"),x=!1,E=!1;for(let n=0;n0&&"value-comma_group"===s.groups[0].type&&s.groups[0].groups.length>0&&"value-word"===s.groups[0].groups[0].type&&s.groups[0].groups[0].value.startsWith("data:")))return[s.open?n("open"):"",l(",",e.map(n,"groups")),s.close?n("close"):""];if(!s.open){let t=e.map(n,"groups"),r=[];for(let e=0;e{let a=e.getValue(),l=i===s.groups.length-1,c=[n(),l?"":","];if(X(a)&&"value-comma_group"===a.type&&a.groups&&"value-paren_group"!==a.groups[0].type&&a.groups[2]&&"value-paren_group"===a.groups[2].type){let e=D(c[0].contents.contents);return e[1]=d(e[1]),d(y(c))}if(!l&&"value-comma_group"===a.type&&u(a.groups)){let e=r(a.groups);e.source&&o(t.originalText,e,be)&&c.push(p)}return c}),"groups"))]),g(!b&&xe(t.parser,t.originalText)&&a&&we(t)?",":""),h,s.close?n("close"):""],{shouldBreak:w});return C?y(A):A}case"value-func":return[s.value,T(e,"supports")&&he(s)?" ":"",n("group")];case"value-number":return[Be(s.value),Ee(s.unit)];case"value-word":return s.isColor&&s.isHex||I(s.value)?s.value.toLowerCase():s.value;case"value-colon":{let t=e.getParentNode(),n=t&&t.groups.indexOf(s),i=n&&t.groups[n-1];return[s.value,i&&"string"==typeof i.value&&"\\"===r(i.value)||_(e,"url")?"":c]}case"value-string":return i(s.raws.quote+s.value+s.raws.quote,t);case"value-atword":return["@",s.value];default:throw new Error("Unknown postcss type ".concat(JSON.stringify(s.type)))}}function Se(e,t,r){let n=[];return e.each(((e,i,u)=>{let l=u[i-1];if(l&&"css-comment"===l.type&&"prettier-ignore"===l.text.trim()){let r=e.getValue();n.push(t.originalText.slice(ve(r),be(r)))}else n.push(r());i!==u.length-1&&("css-comment"===u[i+1].type&&!s(t.originalText,ve(u[i+1]),{backwards:!0})&&!a(u[i])||"css-atrule"===u[i+1].type&&"else"===u[i+1].name&&"css-comment"!==u[i].type?n.push(" "):(n.push(t.__isHTMLStyleAttribute?c:p),o(t.originalText,e.getValue(),be)&&!a(u[i])&&n.push(p)))}),"nodes"),n}var _e=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ke=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Te=/[A-Za-z]+/g,Fe=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,Pe=new RegExp(_e.source+"|(".concat(Fe.source,")?(").concat(ke.source,")(").concat(Te.source,")?"),"g");function Ne(e,t){return e.replace(_e,(e=>i(e,t)))}function Ie(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function Oe(e){return e.replace(Pe,((e,t,r,n,i)=>!r&&n?Be(n)+S(i||""):e))}function Be(e){return n(e).replace(/\.0(?=$|e)/,"")}t.exports={print:Ae,embed:E,insertPragma:w,massageAstNode:x}}}),Yn=_({"src/language-css/options.js"(e,t){N();var r=kn();t.exports={singleQuote:r.singleQuote}}}),Xn=_({"src/language-css/parsers.js"(){N()}}),Qn=_({"node_modules/linguist-languages/data/CSS.json"(e,t){t.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),ei=_({"node_modules/linguist-languages/data/PostCSS.json"(e,t){t.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),ti=_({"node_modules/linguist-languages/data/Less.json"(e,t){t.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),ri=_({"node_modules/linguist-languages/data/SCSS.json"(e,t){t.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),ni=_({"src/language-css/index.js"(e,t){N();var r=or(),n=Jn(),i=Yn(),s=Xn(),a=[r(Qn(),(e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]}))),r(ei(),(()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]}))),r(ti(),(()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]}))),r(ri(),(()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]})))],o={postcss:n};t.exports={languages:a,options:i,printers:o,parsers:s}}}),ii=_({"src/language-handlebars/loc.js"(e,t){function r(e){return e.loc.start.offset}function n(e){return e.loc.end.offset}N(),t.exports={locStart:r,locEnd:n}}}),si=_({"src/language-handlebars/clean.js"(e,t){function r(e,t){if("TextNode"===e.type){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}"AttrNode"===e.type&&"class"===e.name.toLowerCase()&&delete t.value}N(),r.ignoredProperties=new Set(["loc","selfClosing"]),t.exports=r}}),ai=_({"vendors/html-void-elements.json"(e,t){t.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),oi=_({"src/language-handlebars/utils.js"(e,t){N();var{htmlVoidElements:r}=ai(),n=M();function i(e){let t=e.getValue(),r=e.getParentNode(0);return!!(p(e,["ElementNode"])&&n(r.children)===t||p(e,["Block"])&&n(r.body)===t)}function s(e){return e.toUpperCase()===e}function a(e){return c(e,["ElementNode"])&&"string"==typeof e.tag&&!e.tag.startsWith(":")&&(s(e.tag[0])||e.tag.includes("."))}var o=new Set(r);function u(e){return o.has(e.tag)||a(e)&&e.children.every((e=>l(e)))}function l(e){return c(e,["TextNode"])&&!/\S/.test(e.chars)}function c(e,t){return e&&t.includes(e.type)}function p(e,t){return c(e.getParentNode(0),t)}function h(e,t){return c(m(e),t)}function d(e,t){return c(y(e),t)}function f(e,t){var r,n,i,s;let a=e.getValue(),o=null!==(r=e.getParentNode(0))&&void 0!==r?r:{},u=null!==(n=null!==(i=null!==(s=o.children)&&void 0!==s?s:o.body)&&void 0!==i?i:o.parts)&&void 0!==n?n:[],l=u.indexOf(a);return-1!==l&&u[l+t]}function m(e){return f(e,-(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1))}function y(e){return f(e,1)}function g(e){return c(e,["MustacheCommentStatement"])&&"string"==typeof e.value&&"prettier-ignore"===e.value.trim()}function v(e){let t=e.getValue(),r=m(e,2);return g(t)||g(r)}t.exports={getNextNode:y,getPreviousNode:m,hasPrettierIgnore:v,isLastNodeOfSiblings:i,isNextNodeOfSomeType:d,isNodeOfSomeType:c,isParentOfSomeType:p,isPreviousNodeOfSomeType:h,isVoid:u,isWhitespaceNode:l}}}),ui=_({"src/language-handlebars/printer-glimmer.js"(e,t){N();var{builders:{dedent:r,fill:n,group:i,hardline:s,ifBreak:a,indent:o,join:u,line:l,softline:c},utils:{getDocParts:p,replaceTextEndOfLine:h}}=ee(),{getPreferredQuote:d,isNonEmptyArray:f}=Ce(),{locStart:m,locEnd:y}=ii(),g=si(),{getNextNode:v,getPreviousNode:b,hasPrettierIgnore:D,isLastNodeOfSiblings:x,isNextNodeOfSomeType:E,isNodeOfSomeType:w,isParentOfSomeType:C,isPreviousNodeOfSomeType:A,isVoid:S,isWhitespaceNode:_}=oi(),k=2;function T(e,t,a){let p=e.getValue();if(!p)return"";if(D(e))return t.originalText.slice(m(p),y(p));let f=t.singleQuote?"'":'"';switch(p.type){case"Block":case"Program":case"Template":return i(e.map(a,"body"));case"ElementNode":{let r=i(P(e,a)),n="ignore"===t.htmlWhitespaceSensitivity&&E(e,["ElementNode"])?c:"";if(S(p))return[r,n];let u=[""];return 0===p.children.length?[r,o(u),n]:"ignore"===t.htmlWhitespaceSensitivity?[r,o(I(e,t,a)),s,o(u),n]:[r,o(i(I(e,t,a))),o(u),n]}case"BlockStatement":{let r=e.getParentNode(1);return r&&r.inverse&&1===r.inverse.body.length&&r.inverse.body[0]===p&&"if"===r.inverse.body[0].path.parts[0]?[H(e,a),J(e,a,t),Y(e,a,t)]:[$(e,a),i([J(e,a,t),Y(e,a,t),q(e,a,t)])]}case"ElementModifierStatement":return i(["{{",le(e,a),"}}"]);case"MustacheStatement":return i([B(p),le(e,a),j(p)]);case"SubExpression":return i(["(",ue(e,a),c,")"]);case"AttrNode":{let e="TextNode"===p.value.type;if(e&&""===p.value.chars&&m(p.value)===y(p.value))return p.name;let t=e?d(p.value.chars,f).quote:"ConcatStatement"===p.value.type?d(p.value.parts.filter((e=>"TextNode"===e.type)).map((e=>e.chars)).join(""),f).quote:"",r=a("value");return[p.name,"=",t,"class"===p.name&&t?i(o(r)):r,t]}case"ConcatStatement":return e.map(a,"parts");case"Hash":return u(l,e.map(a,"pairs"));case"HashPair":return[p.key,"=",a("value")];case"TextNode":{let i=p.chars.replace(/{{/g,"\\{{"),s=te(e);if(s){if("class"===s){let t=i.trim().split(/\s+/).join(" "),r=!1,n=!1;return C(e,["ConcatStatement"])&&(A(e,["MustacheStatement"])&&/^\s/.test(i)&&(r=!0),E(e,["MustacheStatement"])&&/\s$/.test(i)&&""!==t&&(n=!0)),[r?l:"",t,n?l:""]}return h(i)}let a=/^[\t\n\f\r ]*$/.test(i),o=!b(e),u=!v(e);if("ignore"!==t.htmlWhitespaceSensitivity){let t=/^[\t\n\f\r ]*/,s=/[\t\n\f\r ]*$/,c=u&&C(e,["Template"]),p=o&&C(e,["Template"]);if(a){if(p||c)return"";let t=[l],n=re(i);return n&&(t=se(n)),x(e)&&(t=t.map((e=>r(e)))),t}let[h]=i.match(t),[d]=i.match(s),f=[];if(h){f=[l];let e=re(h);e&&(f=se(e)),i=i.replace(t,"")}let m=[];if(d){if(!c){m=[l];let t=re(d);t&&(m=se(t)),x(e)&&(m=m.map((e=>r(e))))}i=i.replace(s,"")}return[...f,n(X(i)),...m]}let c=re(i),d=ne(i),f=ie(i);if((o||u)&&a&&C(e,["Block","ElementNode","Template"]))return"";a&&c?(d=Math.min(c,k),f=0):(E(e,["BlockStatement","ElementNode"])&&(f=Math.max(f,1)),A(e,["BlockStatement","ElementNode"])&&(d=Math.max(d,1)));let m="",y="";return 0===f&&E(e,["MustacheStatement"])&&(y=" "),0===d&&A(e,["MustacheStatement"])&&(m=" "),o&&(d=0,m=""),u&&(f=0,y=""),i=i.replace(/^[\t\n\f\r ]+/g,m).replace(/[\t\n\f\r ]+$/,y),[...se(d),n(X(i)),...se(f)]}case"MustacheCommentStatement":{let e=m(p),r=y(p),n="~"===t.originalText.charAt(e+2),i="~"===t.originalText.charAt(r-3),s=p.value.includes("}}")?"--":"";return["{{",n?"~":"","!",s,p.value,s,i?"~":"","}}"]}case"PathExpression":return p.original;case"BooleanLiteral":case"NumberLiteral":return String(p.value);case"CommentStatement":return["\x3c!--",p.value,"--\x3e"];case"StringLiteral":if(oe(e)){let e=t.singleQuote?'"':"'";return ae(p.value,e)}return ae(p.value,f);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(p.type))}}function F(e,t){return m(e)-m(t)}function P(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter((e=>f(r[e]))),i=n.flatMap((e=>r[e])).sort(F);for(let r of n)e.each((e=>{let r=i.indexOf(e.getValue());i.splice(r,1,[l,t()])}),r);return f(r.blockParams)&&i.push(l,he(r)),["<",r.tag,o(i),O(r)]}function I(e,t,r){let n=e.getValue().children.every((e=>_(e)));return"ignore"===t.htmlWhitespaceSensitivity&&n?"":e.map(((e,n)=>{let i=r();return 0===n&&"ignore"===t.htmlWhitespaceSensitivity?[c,i]:i}),"children")}function O(e){return S(e)?a([c,"/>"],[" />",c]):a([c,">"],">")}function B(e){return[!1===e.escaped?"{{{":"{{",e.strip&&e.strip.open?"~":""]}function j(e){let t=!1===e.escaped?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function L(e){return[B(e),e.openStrip.open?"~":"","#"]}function M(e){let t=j(e);return[e.openStrip.close?"~":"",t]}function R(e){return[B(e),e.closeStrip.open?"~":"","/"]}function z(e){let t=j(e);return[e.closeStrip.close?"~":"",t]}function U(e){return[B(e),e.inverseStrip.open?"~":""]}function V(e){let t=j(e);return[e.inverseStrip.close?"~":"",t]}function $(e,t){let r=e.getValue(),n=L(r),s=M(r),a=[ce(e,t)],u=pe(e,t);if(u&&a.push(l,u),f(r.program.blockParams)){let e=he(r.program);a.push(l,e)}return i([n,o(a),c,s])}function W(e,t){return["ignore"===t.htmlWhitespaceSensitivity?s:"",U(e),"else",V(e)]}function H(e,t){let r=e.getParentNode(1);return[U(r),"else if ",pe(e,t),V(r)]}function q(e,t,r){let n=e.getValue();return"ignore"===r.htmlWhitespaceSensitivity?[K(n)?c:s,R(n),t("path"),z(n)]:[R(n),t("path"),z(n)]}function K(e){return w(e,["BlockStatement"])&&e.program.body.every((e=>_(e)))}function Z(e){return G(e)&&1===e.inverse.body.length&&w(e.inverse.body[0],["BlockStatement"])&&"if"===e.inverse.body[0].path.parts[0]}function G(e){return w(e,["BlockStatement"])&&e.inverse}function J(e,t,r){if(K(e.getValue()))return"";let n=t("program");return"ignore"===r.htmlWhitespaceSensitivity?o([s,n]):o(n)}function Y(e,t,r){let n=e.getValue(),i=t("inverse"),a="ignore"===r.htmlWhitespaceSensitivity?[s,i]:i;return Z(n)?a:G(n)?[W(n,r),o(a)]:""}function X(e){return p(u(l,Q(e)))}function Q(e){return e.split(/[\t\n\f\r ]+/)}function te(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&"AttrNode"===r.type)return r.name.toLowerCase()}}function re(e){return(e="string"==typeof e?e:"").split("\n").length-1}function ne(e){return re(((e="string"==typeof e?e:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}function ie(e){return re(((e="string"==typeof e?e:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}function se(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return Array.from({length:Math.min(e,k)}).fill(s)}function ae(e,t){let{quote:r,regex:n}=d(e,t);return[r,e.replace(n,"\\".concat(r)),r]}function oe(e){let t=0,r=e.getParentNode(t);for(;r&&w(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&w(e.getParentNode(t+1),["ConcatStatement"])&&w(e.getParentNode(t+2),["AttrNode"]))}function ue(e,t){let r=ce(e,t),n=pe(e,t);return n?o([r,l,i(n)]):r}function le(e,t){let r=ce(e,t),n=pe(e,t);return n?[o([r,l,n]),c]:r}function ce(e,t){return t("path")}function pe(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let r=e.map(t,"params");n.push(...r)}if(r.hash&&r.hash.pairs.length>0){let e=t("hash");n.push(e)}return 0===n.length?"":u(l,n)}function he(e){return["as |",e.blockParams.join(" "),"|"]}t.exports={print:T,massageAstNode:g}}}),li=_({"src/language-handlebars/parsers.js"(){N()}}),ci=_({"node_modules/linguist-languages/data/Handlebars.json"(e,t){t.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),pi=_({"src/language-handlebars/index.js"(e,t){N();var r=or(),n=ui(),i=li(),s=[r(ci(),(()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]})))],a={glimmer:n};t.exports={languages:s,printers:a,parsers:i}}}),hi=_({"src/language-graphql/pragma.js"(e,t){function r(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(e)}function n(e){return"# @format\n\n"+e}N(),t.exports={hasPragma:r,insertPragma:n}}}),di=_({"src/language-graphql/loc.js"(e,t){function r(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start}function n(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}N(),t.exports={locStart:r,locEnd:n}}}),fi=_({"src/language-graphql/printer-graphql.js"(e,t){N();var{builders:{join:r,hardline:n,line:i,softline:s,group:a,indent:o,ifBreak:u}}=ee(),{isNextLineEmpty:l,isNonEmptyArray:c}=Ce(),{insertPragma:p}=hi(),{locStart:h,locEnd:d}=di();function f(e,t,p){let f=e.getValue();if(!f)return"";if("string"==typeof f)return f;switch(f.kind){case"Document":{let r=[];return e.each(((e,i,s)=>{r.push(p()),i!==s.length-1&&(r.push(n),l(t.originalText,e.getValue(),d)&&r.push(n))}),"definitions"),[...r,n]}case"OperationDefinition":{let n="{"!==t.originalText[h(f)],i=Boolean(f.name);return[n?f.operation:"",n&&i?[" ",p("name")]:"",n&&!i&&c(f.variableDefinitions)?" ":"",c(f.variableDefinitions)?a(["(",o([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):"",m(e,p,f),f.selectionSet&&(n||i)?" ":"",p("selectionSet")]}case"FragmentDefinition":return["fragment ",p("name"),c(f.variableDefinitions)?a(["(",o([s,r([u("",", "),s],e.map(p,"variableDefinitions"))]),s,")"]):""," on ",p("typeCondition"),m(e,p,f)," ",p("selectionSet")];case"SelectionSet":return["{",o([n,r(n,y(e,t,p,"selections"))]),n,"}"];case"Field":return a([f.alias?[p("alias"),": "]:"",p("name"),f.arguments.length>0?a(["(",o([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",m(e,p,f),f.selectionSet?" ":"",p("selectionSet")]);case"Name":case"IntValue":case"FloatValue":case"EnumValue":return f.value;case"StringValue":if(f.block){let e=f.value.replace(/"""/g,"\\$&").split("\n");return 1===e.length&&(e[0]=e[0].trim()),e.every((e=>""===e))&&(e.length=0),r(n,['"""',...e,'"""'])}return['"',f.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"BooleanValue":return f.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",p("name")];case"ListValue":return a(["[",o([s,r([u("",", "),s],e.map(p,"values"))]),s,"]"]);case"ObjectValue":return a(["{",t.bracketSpacing&&f.fields.length>0?" ":"",o([s,r([u("",", "),s],e.map(p,"fields"))]),s,u("",t.bracketSpacing&&f.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[p("name"),": ",p("value")];case"Directive":return["@",p("name"),f.arguments.length>0?a(["(",o([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):""];case"NamedType":return p("name");case"VariableDefinition":return[p("variable"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[p("description"),f.description?n:"","ObjectTypeExtension"===f.kind?"extend ":"","type ",p("name"),f.interfaces.length>0?[" implements ",...b(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",o([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FieldDefinition":return[p("description"),f.description?n:"",p("name"),f.arguments.length>0?a(["(",o([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",": ",p("type"),m(e,p,f)];case"DirectiveDefinition":return[p("description"),f.description?n:"","directive ","@",p("name"),f.arguments.length>0?a(["(",o([s,r([u("",", "),s],y(e,t,p,"arguments"))]),s,")"]):"",f.repeatable?" repeatable":""," on ",r(" | ",e.map(p,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[p("description"),f.description?n:"","EnumTypeExtension"===f.kind?"extend ":"","enum ",p("name"),m(e,p,f),f.values.length>0?[" {",o([n,r(n,y(e,t,p,"values"))]),n,"}"]:""];case"EnumValueDefinition":return[p("description"),f.description?n:"",p("name"),m(e,p,f)];case"InputValueDefinition":return[p("description"),f.description?f.description.block?n:i:"",p("name"),": ",p("type"),f.defaultValue?[" = ",p("defaultValue")]:"",m(e,p,f)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[p("description"),f.description?n:"","InputObjectTypeExtension"===f.kind?"extend ":"","input ",p("name"),m(e,p,f),f.fields.length>0?[" {",o([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"SchemaExtension":return["extend schema",m(e,p,f),...f.operationTypes.length>0?[" {",o([n,r(n,y(e,t,p,"operationTypes"))]),n,"}"]:[]];case"SchemaDefinition":return[p("description"),f.description?n:"","schema",m(e,p,f)," {",f.operationTypes.length>0?o([n,r(n,y(e,t,p,"operationTypes"))]):"",n,"}"];case"OperationTypeDefinition":return[p("operation"),": ",p("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[p("description"),f.description?n:"","InterfaceTypeExtension"===f.kind?"extend ":"","interface ",p("name"),f.interfaces.length>0?[" implements ",...b(e,t,p)]:"",m(e,p,f),f.fields.length>0?[" {",o([n,r(n,y(e,t,p,"fields"))]),n,"}"]:""];case"FragmentSpread":return["...",p("name"),m(e,p,f)];case"InlineFragment":return["...",f.typeCondition?[" on ",p("typeCondition")]:"",m(e,p,f)," ",p("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return a([p("description"),f.description?n:"",a(["UnionTypeExtension"===f.kind?"extend ":"","union ",p("name"),m(e,p,f),f.types.length>0?[" =",u(""," "),o([u([i," "]),r([i,"| "],e.map(p,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[p("description"),f.description?n:"","ScalarTypeExtension"===f.kind?"extend ":"","scalar ",p("name"),m(e,p,f)];case"NonNullType":return[p("type"),"!"];case"ListType":return["[",p("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(f.kind))}}function m(e,t,n){if(0===n.directives.length)return"";let u=r(i,e.map(t,"directives"));return"FragmentDefinition"===n.kind||"OperationDefinition"===n.kind?a([i,u]):[" ",a(o([s,u]))]}function y(e,t,r,i){return e.map(((e,i,s)=>{let a=r();return ir(e)),"interfaces");for(let e=0;e"prettier-ignore"===e.value.trim()))}D.ignoredProperties=new Set(["loc","comments"]),t.exports={print:f,massageAstNode:D,hasPrettierIgnore:x,insertPragma:p,printComment:v,canAttachComment:g}}}),mi=_({"src/language-graphql/options.js"(e,t){N();var r=kn();t.exports={bracketSpacing:r.bracketSpacing}}}),yi=_({"src/language-graphql/parsers.js"(){N()}}),gi=_({"node_modules/linguist-languages/data/GraphQL.json"(e,t){t.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),vi=_({"src/language-graphql/index.js"(e,t){N();var r=or(),n=fi(),i=mi(),s=yi(),a=[r(gi(),(()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]})))],o={graphql:n};t.exports={languages:a,options:i,printers:o,parsers:s}}}),bi=_({"src/language-markdown/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}N(),t.exports={locStart:r,locEnd:n}}}),Di=_({"src/language-markdown/constants.evaluate.js"(e,t){t.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),xi=_({"src/language-markdown/utils.js"(e,t){N();var{getLast:r}=Ce(),{locStart:n,locEnd:i}=bi(),{cjkPattern:s,kPattern:a,punctuationPattern:o}=Di(),u=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],l=[...u,"tableCell","paragraph","heading"],c=new RegExp(a),p=new RegExp(o);function h(e,t){let n="non-cjk",i="cj-letter",a="k-letter",o="cjk-punctuation",u=[],l=("preserve"===t.proseWrap?e:e.replace(new RegExp("(".concat(s,")\n(").concat(s,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[e,t]of l.entries()){if(e%2==1){u.push({type:"whitespace",value:/\n/.test(t)?"\n":" "});continue}if((0===e||e===l.length-1)&&""===t)continue;let d=t.split(new RegExp("(".concat(s,")")));for(let[e,t]of d.entries())if(0!==e&&e!==d.length-1||""!==t){if(e%2==0){""!==t&&h({type:"word",value:t,kind:n,hasLeadingPunctuation:p.test(t[0]),hasTrailingPunctuation:p.test(r(t))});continue}h(p.test(t)?{type:"word",value:t,kind:o,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:t,kind:c.test(t)?a:i,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return u;function h(e){let t=r(u);function s(r,n){return t.kind===r&&e.kind===n||t.kind===n&&e.kind===r}t&&"word"===t.type&&(t.kind===n&&e.kind===i&&!t.hasTrailingPunctuation||t.kind===i&&e.kind===n&&!e.hasLeadingPunctuation?u.push({type:"whitespace",value:" "}):!s(n,o)&&![t.value,e.value].some((e=>/\u3000/.test(e)))&&u.push({type:"whitespace",value:""})),u.push(e)}}function d(e,t){let[,r,n,i]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:i}}function f(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(d(e.children[0],t.originalText).numberText),n=Number(d(e.children[1],t.originalText).numberText);if(0===r&&e.children.length>2){let r=Number(d(e.children[2],t.originalText).numberText);return 1===n&&1===r}return 1===n}function m(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith("\n")&&t.endsWith("\n")?r.slice(0,-1):r}function y(e,t){return function e(r,n,i){let s=Object.assign({},t(r,n,i));return s.children&&(s.children=s.children.map(((t,r)=>e(t,r,[s,...i])))),s}(e,null,[])}function g(e){if("link"!==(null==e?void 0:e.type)||1!==e.children.length)return!1;let[t]=e.children;return n(e)===n(t)&&i(e)===i(t)}t.exports={mapAst:y,splitText:h,punctuationPattern:o,getFencedCodeBlockValue:m,getOrderedListItemInfo:d,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:u,INLINE_NODE_WRAPPER_TYPES:l,isAutolink:g}}}),Ei=_({"src/language-markdown/embed.js"(e,t){N();var{inferParserByLanguage:r,getMaxContinuousCount:n}=Ce(),{builders:{hardline:i,markAsRoot:s},utils:{replaceEndOfLine:a}}=ee(),o=Rn(),{getFencedCodeBlockValue:u}=xi();function l(e,t,l,c){let p=e.getValue();if("code"===p.type&&null!==p.lang){let e=r(p.lang,c);if(e){let t=c.__inJsTemplate?"~":"`",r=t.repeat(Math.max(3,n(p.value,t)+1)),o={parser:e};"tsx"===p.lang&&(o.filepath="dummy.tsx");let h=l(u(p,c.originalText),o,{stripTrailingHardline:!0});return s([r,p.lang,p.meta?" "+p.meta:"",i,a(h),i,r])}}switch(p.type){case"front-matter":return o(p,l);case"importExport":return[l(p.value,{parser:"babel"},{stripTrailingHardline:!0}),i];case"jsx":return l("<$>".concat(p.value,""),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}t.exports=l}}),wi=_({"src/language-markdown/pragma.js"(e,t){N();var r=Un(),n=["format","prettier"];function i(e){let t="@(".concat(n.join("|"),")"),r=new RegExp(["\x3c!--\\s*".concat(t,"\\s*--\x3e"),"{\\s*\\/\\*\\s*".concat(t,"\\s*\\*\\/\\s*}"),"\x3c!--.*\r?\n[\\s\\S]*(^|\n)[^\\S\n]*".concat(t,"[^\\S\n]*($|\n)[\\s\\S]*\n.*--\x3e")].join("|"),"m"),i=e.match(r);return 0===(null==i?void 0:i.index)}t.exports={startWithPragma:i,hasPragma:e=>i(r(e).content.trimStart()),insertPragma:e=>{let t=r(e),i="\x3c!-- @".concat(n[0]," --\x3e");return t.frontMatter?"".concat(t.frontMatter.raw,"\n\n").concat(i,"\n\n").concat(t.content):"".concat(i,"\n\n").concat(t.content)}}}}),Ci=_({"src/language-markdown/print-preprocess.js"(e,t){N();var r=M(),{getOrderedListItemInfo:n,mapAst:i,splitText:s}=xi(),a=/^.$/su;function o(e,t){return e=p(e=u(e=f(e=y(e=m(e=l(e=d(e=c(e,t))),t),t),t)))}function u(e){return i(e,(e=>"import"!==e.type&&"export"!==e.type?e:Object.assign(Object.assign({},e),{},{type:"importExport"})))}function l(e){return i(e,(e=>"inlineCode"!==e.type?e:Object.assign(Object.assign({},e),{},{value:e.value.replace(/\s+/g," ")})))}function c(e,t){return i(e,(e=>"text"===e.type&&"*"!==e.value&&"_"!==e.value&&a.test(e.value)&&e.position.end.offset-e.position.start.offset!==e.value.length?Object.assign(Object.assign({},e),{},{value:t.originalText.slice(e.position.start.offset,e.position.end.offset)}):e))}function p(e){return h(e,((e,t)=>"importExport"===e.type&&"importExport"===t.type),((e,t)=>({type:"importExport",value:e.value+"\n\n"+t.value,position:{start:e.position.start,end:t.position.end}})))}function h(e,t,n){return i(e,(e=>{if(!e.children)return e;let i=e.children.reduce(((e,i)=>{let s=r(e);return s&&t(s,i)?e.splice(-1,1,n(s,i)):e.push(i),e}),[]);return Object.assign(Object.assign({},e),{},{children:i})}))}function d(e){return h(e,((e,t)=>"text"===e.type&&"text"===t.type),((e,t)=>({type:"text",value:e.value+t.value,position:{start:e.position.start,end:t.position.end}})))}function f(e,t){return i(e,((e,r,n)=>{let[i]=n;if("text"!==e.type)return e;let{value:a}=e;return"paragraph"===i.type&&(0===r&&(a=a.trimStart()),r===i.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:e.position,children:s(a,t)}}))}function m(e,t){return i(e,((e,r,n)=>{if("code"===e.type){let r=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(e.position.start.offset,e.position.end.offset));if(e.isIndented=r,r)for(let e=0;e{if("list"===e.type&&e.children.length>0){for(let t=0;t1)return!0;let a=r(i);return-1!==a&&(1===e.children.length?a%t.tabWidth==0:a===r(s)&&(a%t.tabWidth==0||n(s,t.originalText).leadingSpaces.length>1))}}t.exports=o}}),Ai=_({"src/language-markdown/clean.js"(e,t){N();var{isFrontMatterNode:r}=Ce(),{startWithPragma:n}=wi(),i=new Set(["position","raw"]);function s(e,t,i){if(("front-matter"===e.type||"code"===e.type||"yaml"===e.type||"import"===e.type||"export"===e.type||"jsx"===e.type)&&delete t.value,"list"===e.type&&delete t.isAligned,("list"===e.type||"listItem"===e.type)&&(delete t.spread,delete t.loose),"text"===e.type||("inlineCode"===e.type&&(t.value=e.value.replace(/[\t\n ]+/g," ")),"wikiLink"===e.type&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),("definition"===e.type||"linkReference"===e.type)&&(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),("definition"===e.type||"link"===e.type||"image"===e.type)&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),i&&"root"===i.type&&i.children.length>0&&(i.children[0]===e||r(i.children[0])&&i.children[1]===e)&&"html"===e.type&&n(e.value)))return null}s.ignoredProperties=i,t.exports=s}}),Si=_({"src/language-markdown/printer-markdown.js"(e,t){N();var{getLast:r,getMinNotPresentContinuousCount:n,getMaxContinuousCount:i,getStringWidth:s,isNonEmptyArray:a}=Ce(),{builders:{breakParent:o,join:u,line:l,literalline:c,markAsRoot:p,hardline:h,softline:d,ifBreak:f,fill:m,align:y,indent:g,group:v,hardlineWithoutBreakParent:b},utils:{normalizeDoc:D,replaceTextEndOfLine:x},printer:{printDocToString:E}}=ee(),w=Ei(),{insertPragma:C}=wi(),{locStart:A,locEnd:S}=bi(),_=Ci(),k=Ai(),{getFencedCodeBlockValue:T,hasGitDiffFriendlyOrderedList:F,splitText:P,punctuationPattern:I,INLINE_NODE_TYPES:O,INLINE_NODE_WRAPPER_TYPES:B,isAutolink:j}=xi(),L=new Set(["importExport"]),M=["heading","tableCell","link","wikiLink"],R=new Set(["listItem","definition","footnoteDefinition"]);function z(e,t,s){let a=e.getValue();if(ne(e))return P(t.originalText.slice(a.position.start.offset,a.position.end.offset),t).map((r=>"word"===r.type?r.value:""===r.value?"":K(e,r.value,t)));switch(a.type){case"front-matter":return t.originalText.slice(a.position.start.offset,a.position.end.offset);case"root":return 0===a.children.length?"":[D(G(e,t,s)),L.has(Y(a).type)?"":h];case"paragraph":return J(e,t,s,{postprocessor:m});case"sentence":return J(e,t,s);case"word":{let t=a.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(I,")(_+)"),"(_+)(".concat(I,"|$)")].join("|"),"g"),((e,t,r,n,i)=>(r?"".concat(t).concat(r):"".concat(n).concat(i)).replace(/_/g,"\\_"))),r=(e,t,r)=>"sentence"===e.type&&0===r,n=(e,t,r)=>j(e.children[r-1]);return t!==a.value&&(e.match(void 0,r,n)||e.match(void 0,r,((e,t,r)=>"emphasis"===e.type&&0===r),n))&&(t=t.replace(/^(\\?[*_])+/,(e=>e.replace(/\\/g,"")))),t}case"whitespace":{let r=e.getParentNode(),n=r.children.indexOf(a),i=r.children[n+1],s=i&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(i.value)?"never":t.proseWrap;return K(e,a.value,{proseWrap:s})}case"emphasis":{let n;if(j(a.children[0]))n=t.originalText[a.position.start.offset];else{let t=e.getParentNode(),i=t.children.indexOf(a),s=t.children[i-1],o=t.children[i+1];n=s&&"sentence"===s.type&&s.children.length>0&&"word"===r(s.children).type&&!r(s.children).hasTrailingPunctuation||o&&"sentence"===o.type&&o.children.length>0&&"word"===o.children[0].type&&!o.children[0].hasLeadingPunctuation||q(e,"emphasis")?"*":"_"}return[n,J(e,t,s),n]}case"strong":return["**",J(e,t,s),"**"];case"delete":return["~~",J(e,t,s),"~~"];case"inlineCode":{let e=n(a.value,"`"),t="`".repeat(e||1),r=e&&!/^\s/.test(a.value)?" ":"";return[t,r,a.value,r,t]}case"wikiLink":{let e="";return e="preserve"===t.proseWrap?a.value:a.value.replace(/[\t\n]+/g," "),["[[",e,"]]"]}case"link":switch(t.originalText[a.position.start.offset]){case"<":{let e="mailto:";return["<",a.url.startsWith(e)&&t.originalText.slice(a.position.start.offset+1,a.position.start.offset+1+e.length)!==e?a.url.slice(e.length):a.url,">"]}case"[":return["[",J(e,t,s),"](",ie(a.url,")"),se(a.title,t),")"];default:return t.originalText.slice(a.position.start.offset,a.position.end.offset)}case"image":return["![",a.alt||"","](",ie(a.url,")"),se(a.title,t),")"];case"blockquote":return["> ",y("> ",J(e,t,s))];case"heading":return["#".repeat(a.depth)+" ",J(e,t,s)];case"code":{if(a.isIndented){let e=" ".repeat(4);return y(e,[e,...x(a.value,h)])}let e=t.__inJsTemplate?"~":"`",r=e.repeat(Math.max(3,i(a.value,e)+1));return[r,a.lang||"",a.meta?" "+a.meta:"",h,...x(T(a,t.originalText),h),h,r]}case"html":{let t=e.getParentNode(),n="root"===t.type&&r(t.children)===a?a.value.trimEnd():a.value,i=/^$/s.test(n);return x(n,i?h:p(c))}case"list":{let r=$(a,e.getParentNode()),n=F(a,t);return J(e,t,s,{processor:(e,i)=>{let o=l(),u=e.getValue();return 2===u.children.length&&"html"===u.children[1].type&&u.children[0].position.start.column!==u.children[1].position.start.column?[o,U(e,t,s,o)]:[o,y(" ".repeat(o.length),U(e,t,s,o))];function l(){let e=a.ordered?(0===i?a.start:n?1:a.start+i)+(r%2==0?". ":") "):r%2==0?"- ":"* ";return a.isAligned||a.hasIndentedCodeblock?V(e,t):e}}})}case"thematicBreak":{let t=H(e,"list");return-1===t?"---":$(e.getParentNode(t),e.getParentNode(t+1))%2==0?"***":"---"}case"linkReference":return["[",J(e,t,s),"]","full"===a.referenceType?["[",a.identifier,"]"]:"collapsed"===a.referenceType?"[]":""];case"imageReference":return"full"===a.referenceType?["![",a.alt||"","][",a.identifier,"]"]:["![",a.alt,"]","collapsed"===a.referenceType?"[]":""];case"definition":{let e="always"===t.proseWrap?l:" ";return v(["[",a.identifier,"]:",g([e,ie(a.url),null===a.title?"":[e,se(a.title,t,!1)]])])}case"footnote":return["[^",J(e,t,s),"]"];case"footnoteReference":return["[^",a.identifier,"]"];case"footnoteDefinition":{let r=e.getParentNode().children[e.getName()+1],n=1===a.children.length&&"paragraph"===a.children[0].type&&("never"===t.proseWrap||"preserve"===t.proseWrap&&a.children[0].position.start.line===a.children[0].position.end.line);return["[^",a.identifier,"]: ",n?J(e,t,s):v([y(" ".repeat(4),J(e,t,s,{processor:(e,t)=>0===t?v([d,s()]):s()})),r&&"footnoteDefinition"===r.type?d:""])]}case"table":return Z(e,t,s);case"tableCell":return J(e,t,s);case"break":return/\s/.test(t.originalText[a.position.start.offset])?[" ",p(c)]:["\\",h];case"liquidNode":return x(a.value,h);case"importExport":return[a.value,h];case"esComment":return["{/* ",a.value," */}"];case"jsx":return a.value;case"math":return["$$",h,a.value?[...x(a.value,h),h]:"","$$"];case"inlineMath":return t.originalText.slice(A(a),S(a));default:throw new Error("Unknown markdown type ".concat(JSON.stringify(a.type)))}}function U(e,t,r,n){let i=e.getValue(),s=null===i.checked?"":i.checked?"[x] ":"[ ] ";return[s,J(e,t,r,{processor:(e,i)=>{if(0===i&&"list"!==e.getValue().type)return y(" ".repeat(s.length),r());let a=" ".repeat(ae(t.tabWidth-n.length,0,3));return[a,y(a,r())]}})]}function V(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let r=e.length%t.tabWidth;return 0===r?0:t.tabWidth-r}}function $(e,t){return W(e,t,(t=>t.ordered===e.ordered))}function W(e,t,r){let n=-1;for(let i of t.children)if(i.type===e.type&&r(i)?n++:n=-1,i===e)return n}function H(e,t){let r,n=Array.isArray(t)?t:[t],i=-1;for(;r=e.getParentNode(++i);)if(n.includes(r.type))return i;return-1}function q(e,t){let r=H(e,t);return-1===r?null:e.getParentNode(r)}function K(e,t,r){if("preserve"===r.proseWrap&&"\n"===t)return h;let n="always"===r.proseWrap&&!q(e,M);return""!==t?n?l:" ":n?d:""}function Z(e,t,r){let n=e.getValue(),i=[],a=e.map((e=>e.map(((e,n)=>{let a=E(r(),t).formatted,o=s(a);return i[n]=Math.max(i[n]||3,o),{text:a,width:o}}),"children")),"children"),l=p(!1);if("never"!==t.proseWrap)return[o,l];let c=p(!0);return[o,v(f(c,l))];function p(e){let t=[d(a[0],e),h(e)];return a.length>1&&t.push(u(b,a.slice(1).map((t=>d(t,e))))),u(b,t)}function h(e){let t=i.map(((t,r)=>{let i=n.align[r],s="center"===i||"left"===i?":":"-",a="center"===i||"right"===i?":":"-",o=e?"-":"-".repeat(t-2);return"".concat(s).concat(o).concat(a)}));return"| ".concat(t.join(" | ")," |")}function d(e,t){let r=e.map(((e,r)=>{let{text:s,width:a}=e;if(t)return s;let o=i[r]-a,u=n.align[r],l=0;"right"===u?l=o:"center"===u&&(l=Math.floor(o/2));let c=o-l;return"".concat(" ".repeat(l)).concat(s).concat(" ".repeat(c))}));return"| ".concat(r.join(" | ")," |")}}function G(e,t,r){let n=[],i=null,{children:s}=e.getValue();for(let[e,t]of s.entries())switch(X(t)){case"start":null===i&&(i={index:e,offset:t.position.end.offset});break;case"end":null!==i&&(n.push({start:i,end:{index:e,offset:t.position.start.offset}}),i=null)}return J(e,t,r,{processor:(e,i)=>{if(n.length>0){let e=n[0];if(i===e.start.index)return[s[e.start.index].value,t.originalText.slice(e.start.offset,e.end.offset),s[e.end.index].value];if(e.start.index3&&void 0!==arguments[3]?arguments[3]:{},{postprocessor:s}=i,a=i.processor||(()=>r()),o=e.getValue(),u=[];return e.each(((e,r)=>{let i=e.getValue(),s=a(e,r);if(!1!==s){let e={parts:u,prevNode:n,parentNode:o,options:t};Q(i,e)&&(u.push(h),n&&L.has(n.type)||(te(i,e)||re(i,e))&&u.push(h),re(i,e)&&u.push(h)),u.push(s),n=i}}),"children"),s?s(u):u}function Y(e){let t=e;for(;a(t.children);)t=r(t.children);return t}function X(e){let t;if("html"===e.type)t=e.value.match(/^$/);else{let r;"esComment"===e.type?r=e:"paragraph"===e.type&&1===e.children.length&&"esComment"===e.children[0].type&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return!!t&&(t[1]||"next")}function Q(e,t){let r=0===t.parts.length,n=O.includes(e.type),i="html"===e.type&&B.includes(t.parentNode.type);return!r&&!n&&!i}function te(e,t){var r,n,i;let s=(t.prevNode&&t.prevNode.type)===e.type&&R.has(e.type),a="listItem"===t.parentNode.type&&!t.parentNode.loose,o="listItem"===(null===(r=t.prevNode)||void 0===r?void 0:r.type)&&t.prevNode.loose,u="next"===X(t.prevNode),l="html"===e.type&&"html"===(null===(n=t.prevNode)||void 0===n?void 0:n.type)&&t.prevNode.position.end.line+1===e.position.start.line,c="html"===e.type&&"listItem"===t.parentNode.type&&"paragraph"===(null===(i=t.prevNode)||void 0===i?void 0:i.type)&&t.prevNode.position.end.line+1===e.position.start.line;return o||!(s||a||u||l||c)}function re(e,t){let r=t.prevNode&&"list"===t.prevNode.type,n="code"===e.type&&e.isIndented;return r&&n}function ne(e){let t=q(e,["linkReference","imageReference"]);return t&&("linkReference"!==t.type||"full"!==t.referenceType)}function ie(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map((e=>"\\".concat(e))).join("|")).test(e)?"<".concat(e,">"):e}function se(e,t){if(!e)return"";if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])return" "+se(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");let r=e.split("'").length-1,n=e.split('"').length-1,i=r>n?'"':n>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}function ae(e,t,r){return er?r:e}function oe(e){let t=Number(e.getName());return 0!==t&&"next"===X(e.getParentNode().children[t-1])}t.exports={preprocess:_,print:z,embed:w,massageAstNode:k,hasPrettierIgnore:oe,insertPragma:C}}}),_i=_({"src/language-markdown/options.js"(e,t){N();var r=kn();t.exports={proseWrap:r.proseWrap,singleQuote:r.singleQuote}}}),ki=_({"src/language-markdown/parsers.js"(){N()}}),Ti=_({"node_modules/linguist-languages/data/Markdown.json"(e,t){t.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Fi=_({"src/language-markdown/index.js"(e,t){N();var r=or(),n=Si(),i=_i(),s=ki(),a=[r(Ti(),(e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter((e=>".mdx"!==e))}))),r(Ti(),(()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]})))],o={mdast:n};t.exports={languages:a,options:i,printers:o,parsers:s}}}),Pi=_({"src/language-html/clean.js"(e,t){N();var{isFrontMatterNode:r}=Ce(),n=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function i(e,t){if("text"===e.type||"comment"===e.type||r(e)||"yaml"===e.type||"toml"===e.type)return null;"attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value}i.ignoredProperties=n,t.exports=i}}),Ni=_({"src/language-html/constants.evaluate.js"(e,t){t.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),Ii=_({"src/language-html/utils/is-unknown-namespace.js"(e,t){function r(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}N(),t.exports=r}}),Oi=_({"src/language-html/utils/index.js"(e,t){N();var{inferParserByLanguage:r,isFrontMatterNode:n}=Ce(),{builders:{line:i,hardline:s,join:a},utils:{getDocParts:o,replaceTextEndOfLine:u}}=ee(),{CSS_DISPLAY_TAGS:l,CSS_DISPLAY_DEFAULT:c,CSS_WHITE_SPACE_TAGS:p,CSS_WHITE_SPACE_DEFAULT:h}=Ni(),d=Ii(),f=new Set(["\t","\n","\f","\r"," "]),m=e=>e.replace(/^[\t\n\f\r ]+/,""),y=e=>e.replace(/[\t\n\f\r ]+$/,""),g=e=>m(y(e)),v=e=>e.replace(/^[\t\f\r ]*\n/g,""),b=e=>v(y(e)),D=e=>e.split(/[\t\n\f\r ]+/),x=e=>e.match(/^[\t\n\f\r ]*/)[0],E=e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},w=e=>/[\t\n\f\r ]/.test(e);function C(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||ne(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||me(e,t)&&!k(e)&&"interpolation"!==e.type)}function A(e){return!("attribute"===e.type||!e.parent||!e.prev)&&S(e.prev)}function S(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}function _(e){return"text"===e.type||"comment"===e.type}function k(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||d(e)&&("script"===e.name||"style"===e.name))}function T(e){return e.children&&!k(e)}function F(e){return k(e)||"interpolation"===e.type||P(e)}function P(e){return oe(e).startsWith("pre")}function I(e,t){let r=i();return r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?"interpolation"===e.type:r;function i(){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ne(e.parent)&&(!e.prev&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!Y(e.parent.cssDisplay))||e.prev&&!te(e.prev.cssDisplay))))}}function O(e,t){return!(n(e)||("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)&&(!e.parent||"none"===e.parent.cssDisplay||!ne(e.parent)&&(!e.next&&("root"===e.parent.type||ne(e)&&e.parent||k(e.parent)||de(e.parent,t)||!X(e.parent.cssDisplay))||e.next&&!Q(e.next.cssDisplay))))}function B(e){return re(e.cssDisplay)&&!k(e)}function j(e){return n(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some((e=>q(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&V(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||$(e.lastChild))}function M(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function R(e){return W(e)||e.prev&&z(e.prev)||U(e)}function z(e){return W(e)||"element"===e.type&&"br"===e.fullName||U(e)}function U(e){return V(e)&&$(e)}function V(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function W(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function H(e){return e.lastChild?H(e.lastChild):e}function q(e){return e.children&&e.children.some((e=>"text"!==e.type))}function K(e){let{type:t,lang:r}=e.attrMap;return"module"===t||"text/javascript"===t||"text/babel"===t||"application/javascript"===t||"jsx"===r?"babel":"application/x-typescript"===t||"ts"===r||"tsx"===r?"typescript":"text/markdown"===t?"markdown":"text/html"===t?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))||"speculationrules"===t?"json":"text/x-handlebars-template"===t?"glimmer":void 0}function Z(e,t){let{lang:n}=e.attrMap;return n&&"postcss"!==n&&"css"!==n?"scss"===n?"scss":"less"===n?"less":"stylus"===n?r("stylus",t):void 0:"css"}function G(e,t){return"script"!==e.name||e.attrMap.src?"style"===e.name?Z(e,t):t&&me(e,t)?K(e)||!("src"in e.attrMap)&&r(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?K(e):"babel"}function J(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Y(e){return!J(e)&&"inline-block"!==e}function X(e){return!J(e)&&"inline-block"!==e}function Q(e){return!J(e)}function te(e){return!J(e)}function re(e){return!J(e)&&"inline-block"!==e}function ne(e){return oe(e).startsWith("pre")}function ie(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let i=e.stack[n];i&&"object"==typeof i&&!Array.isArray(i)&&t(i)&&r++}return r}function se(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ae(e,t){if(e.prev&&"comment"===e.prev.type){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let r=!1;if("element"===e.type&&"svg"===e.namespace){if(!se(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";r=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"vue"===t.parser&&e.parent&&"root"===e.parent.type?"block":"element"===e.type&&(!e.namespace||r||d(e))&&l[e.name]||c}}function oe(e){return"element"===e.type&&(!e.namespace||d(e))&&p[e.name]||h}function ue(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;if(!f.has(r[0]))return 0;let e=x(r).length;r.length!==e&&e1&&void 0!==arguments[1]?arguments[1]:ue(e);return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function ce(e,t){let r=0;for(let n=0;n1&&void 0!==arguments[1]?arguments[1]:e.value;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?u(t):u(le(b(t)),s):o(a(i,D(t)))}function be(e,t){return fe(e,t)&&"script"===e.name}t.exports={htmlTrim:g,htmlTrimPreserveIndentation:b,hasHtmlWhitespace:w,getLeadingAndTrailingHtmlWhitespace:E,canHaveInterpolation:T,countChars:ce,countParents:ie,dedentString:le,forceBreakChildren:M,forceBreakContent:L,forceNextEmptyLine:j,getLastDescendant:H,getNodeCssStyleDisplay:ae,getNodeCssStyleWhiteSpace:oe,hasPrettierIgnore:A,inferScriptParser:G,isVueCustomBlock:de,isVueNonHtmlBlock:me,isVueScriptTag:be,isVueSlotAttribute:ye,isVueSfcBindingsAttribute:ge,isVueSfcBlock:fe,isDanglingSpaceSensitiveNode:B,isIndentationSensitiveNode:P,isLeadingSpaceSensitiveNode:I,isPreLikeNode:ne,isScriptLikeTag:k,isTextLikeNode:_,isTrailingSpaceSensitiveNode:O,isWhitespaceSensitiveNode:F,isUnknownNamespace:d,preferHardlineAsLeadingSpaces:R,preferHardlineAsTrailingSpaces:z,shouldPreserveContent:C,unescapeQuoteEntities:pe,getTextValueParts:ve}}}),Bi=_({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){function t(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP}function r(t){return e.$0<=t&&t<=e.$9}function n(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z}function i(t){return t>=e.$a&&t<=e.$f||t>=e.$A&&t<=e.$F||r(t)}function s(t){return t===e.$LF||t===e.$CR}function a(t){return e.$0<=t&&t<=e.$7}N(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=t,e.isDigit=r,e.isAsciiLetter=n,e.isAsciiHexDigit=i,e.isNewLine=s,e.isOctalDigit=a}}),ji=_({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=t;var r=class{constructor(){this.cache=new Map}get(e,r,n){let i=(n=n||[]).length?".".concat(n.join(".")):"",s='"'.concat(e,'".').concat(r).concat(i),a=this.cache.get(s);return a||(a=new t(e,r,n),this.cache.set(s,a)),a}};e.StaticSymbolCache=r}}),Li=_({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=/-+([a-z0-9])/g;function r(e){return e.replace(t,(function(){for(var e=arguments.length,t=new Array(e),r=0;ra(e,this,t)))}visitStringMap(e,t){let r={};return Object.keys(e).forEach((n=>{r[n]=a(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}};function c(e){throw new Error("Internal Error: ".concat(e))}function p(e,t){let r=Error(e);return r[h]=!0,t&&(r[d]=t),r}e.ValueTransformer=l,e.SyncAsync={assertSync:e=>{if(E(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>E(e)?e.then(t):t(e),all:e=>e.some(E)?Promise.all(e):e},e.error=c,e.syntaxError=p;var h="ngSyntaxError",d="ngParseErrors";function f(e){return e[h]}function m(e){return e[d]||[]}function y(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.isSyntaxError=f,e.getParseErrors=m,e.escapeRegExp=y;var g=Object.getPrototypeOf({});function v(e){return"object"==typeof e&&null!==e&&Object.getPrototypeOf(e)===g}function b(e){let t="";for(let r=0;r=55296&&n<=56319&&e.length>r+1){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t}function D(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(D).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);if(!e.toString)return"object";let t=e.toString();if(null==t)return""+t;let r=t.indexOf("\n");return-1===r?t:t.substring(0,r)}function x(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e}function E(e){return!!e&&"function"==typeof e.then}e.utf8Encode=b,e.stringify=D,e.resolveForwardRef=x,e.isPromise=E;var w=class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};e.Version=w;var C=typeof window<"u"&&window,A=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,S=typeof globalThis<"u"&&globalThis||C||A;e.global=S}}),Mi=_({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=ji(),r=Li(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function i(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=i;var s,a,o=0;function u(e){if(!e||!e.reference)return null;let n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let s=r.stringify(n);return s.indexOf("(")>=0?(s="anonymous_".concat(o++),n.__anonymousType=s):s=i(s),s}function l(e){let n=e.reference;return n instanceof t.StaticSymbol?n.filePath:"./".concat(r.stringify(n))}function c(e,t){return"View_".concat(u({reference:e}),"_").concat(t)}function p(e){return"RenderType_".concat(u({reference:e}))}function h(e){return"HostView_".concat(u({reference:e}))}function d(e){return"".concat(u({reference:e}),"NgFactory")}function f(e){return null!=e.value?i(e.value):u(e.identifier)}function m(e){return null!=e.identifier?e.identifier.reference:e.value}e.identifierName=u,e.identifierModuleUrl=l,e.viewClassName=c,e.rendererTypeName=p,e.hostViewClassName=h,e.componentFactoryName=d,(a=s=e.CompileSummaryKind||(e.CompileSummaryKind={}))[a.Pipe=0]="Pipe",a[a.Directive=1]="Directive",a[a.NgModule=2]="NgModule",a[a.Injectable=3]="Injectable",e.tokenName=f,e.tokenReference=m;var y=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=w(t),this.styleUrls=w(r)}};e.CompileStylesheetMetadata=y;var g=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:a,externalStylesheets:o,animations:u,ngContentSelectors:l,interpolation:c,isInline:p,preserveWhitespaces:h}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=w(s),this.styleUrls=w(a),this.externalStylesheets=w(o),this.animations=u?A(u):[],this.ngContentSelectors=l||[],c&&2!=c.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=c,this.isInline=p,this.preserveWhitespaces=h}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=g;var v=class{static create(e){let{isHost:t,type:i,isComponent:s,selector:a,exportAs:o,changeDetection:u,inputs:l,outputs:c,host:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:b,componentViewType:D,rendererType:x,componentFactory:E}=e,w={},C={},A={};null!=p&&Object.keys(p).forEach((e=>{let t=p[e],r=e.match(n);null===r?A[e]=t:null!=r[1]?C[r[1]]=t:null!=r[2]&&(w[r[2]]=t)}));let S={};null!=l&&l.forEach((e=>{let t=r.splitAtColon(e,[e,e]);S[t[0]]=t[1]}));let _={};return null!=c&&c.forEach((e=>{let t=r.splitAtColon(e,[e,e]);_[t[0]]=t[1]})),new v({isHost:t,type:i,isComponent:!!s,selector:a,exportAs:o,changeDetection:u,inputs:S,outputs:_,hostListeners:w,hostProperties:C,hostAttributes:A,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:b,componentViewType:D,rendererType:x,componentFactory:E})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:a,inputs:o,outputs:u,hostListeners:l,hostProperties:c,hostAttributes:p,providers:h,viewProviders:d,queries:f,guards:m,viewQueries:y,entryComponents:g,template:v,componentViewType:b,rendererType:D,componentFactory:x}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=a,this.inputs=o,this.outputs=u,this.hostListeners=l,this.hostProperties=c,this.hostAttributes=p,this.providers=w(h),this.viewProviders=w(d),this.queries=w(f),this.guards=m,this.viewQueries=w(y),this.entryComponents=w(g),this.template=v,this.componentViewType=b,this.rendererType=D,this.componentFactory=x}toSummary(){return{summaryKind:s.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=v;var b=class{constructor(e){let{type:t,name:r,pure:n}=e;this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:s.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=b;var D=class{};e.CompileShallowModuleMetadata=D;var x=class{constructor(e){let{type:t,providers:r,declaredDirectives:n,exportedDirectives:i,declaredPipes:s,exportedPipes:a,entryComponents:o,bootstrapComponents:u,importedModules:l,exportedModules:c,schemas:p,transitiveModule:h,id:d}=e;this.type=t||null,this.declaredDirectives=w(n),this.exportedDirectives=w(i),this.declaredPipes=w(s),this.exportedPipes=w(a),this.providers=w(r),this.entryComponents=w(o),this.bootstrapComponents=w(u),this.importedModules=w(l),this.exportedModules=w(c),this.schemas=w(p),this.id=d||null,this.transitiveModule=h||null}toSummary(){let e=this.transitiveModule;return{summaryKind:s.NgModule,type:this.type,entryComponents:e.entryComponents,providers:e.providers,modules:e.modules,exportedDirectives:e.exportedDirectives,exportedPipes:e.exportedPipes}}};e.CompileNgModuleMetadata=x;var E=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(e,t){this.providers.push({provider:e,module:t})}addDirective(e){this.directivesSet.has(e.reference)||(this.directivesSet.add(e.reference),this.directives.push(e))}addExportedDirective(e){this.exportedDirectivesSet.has(e.reference)||(this.exportedDirectivesSet.add(e.reference),this.exportedDirectives.push(e))}addPipe(e){this.pipesSet.has(e.reference)||(this.pipesSet.add(e.reference),this.pipes.push(e))}addExportedPipe(e){this.exportedPipesSet.has(e.reference)||(this.exportedPipesSet.add(e.reference),this.exportedPipes.push(e))}addModule(e){this.modulesSet.has(e.reference)||(this.modulesSet.add(e.reference),this.modules.push(e))}addEntryComponent(e){this.entryComponentsSet.has(e.componentType)||(this.entryComponentsSet.add(e.componentType),this.entryComponents.push(e))}};function w(e){return e||[]}e.TransitiveCompileNgModuleMetadata=E;var C=class{constructor(e,t){let{useClass:r,useValue:n,useExisting:i,useFactory:s,deps:a,multi:o}=t;this.token=e,this.useClass=r||null,this.useValue=n,this.useExisting=i,this.useFactory=s||null,this.dependencies=a||null,this.multi=!!o}};function A(e){return e.reduce(((e,t)=>{let r=Array.isArray(t)?A(t):t;return e.concat(r)}),[])}function S(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function _(e,r,n){let i;return i=n.isInline?r.type.reference instanceof t.StaticSymbol?"".concat(r.type.reference.filePath,".").concat(r.type.reference.name,".html"):"".concat(u(e),"/").concat(u(r.type),".html"):n.templateUrl,r.type.reference instanceof t.StaticSymbol?i:S(i)}function k(e,t){let r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return S("css/".concat(t).concat(n,".ngstyle.js"))}function T(e){return S("".concat(u(e.type),"/module.ngfactory.js"))}function F(e,t){return S("".concat(u(e),"/").concat(u(t.type),".ngfactory.js"))}e.ProviderMeta=C,e.flatten=A,e.templateSourceUrl=_,e.sharedStylesheetJitUrl=k,e.ngModuleJitUrl=T,e.templateJitUrl=F}}),Ri=_({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){N(),Object.defineProperty(e,"__esModule",{value:!0});var t=Bi(),r=Mi(),n=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){let r=this.file.content,i=r.length,s=this.offset,a=this.line,o=this.col;for(;s>0&&e<0;)if(s--,e++,r.charCodeAt(s)==t.$LF){a--;let e=r.substr(0,s-1).lastIndexOf(String.fromCharCode(t.$LF));o=e>0?s-e:s}else o--;for(;s0;){let n=r.charCodeAt(s);s++,e--,n==t.$LF?(a++,o=0):o++}return new n(this.file,s,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,a=0;for(;s0&&(n--,s++,"\n"!=r[n]||++a!=t););for(s=0,a=0;s2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=o,e.EMPTY_PARSE_LOCATION=new n(new i("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new o(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),(a=s=e.ParseErrorLevel||(e.ParseErrorLevel={}))[a.WARNING=0]="WARNING",a[a.ERROR=1]="ERROR";var u=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(s[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){let e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}};function l(e,t){let s=r.identifierModuleUrl(t),a=null!=s?"in ".concat(e," ").concat(r.identifierName(t)," in ").concat(s):"in ".concat(e," ").concat(r.identifierName(t)),u=new i("",a);return new o(new n(u,-1,-1,-1),new n(u,-1,-1,-1))}function c(e,t,r){let s="in ".concat(e," ").concat(t," in ").concat(r),a=new i("",s);return new o(new n(a,-1,-1,-1),new n(a,-1,-1,-1))}e.ParseError=u,e.typeSourceSpan=l,e.r3JitTypeSourceSpan=c}}),zi=_({"src/language-html/print-preprocess.js"(e,t){N();var{ParseSourceSpan:r}=Ri(),{htmlTrim:n,getLeadingAndTrailingHtmlWhitespace:i,hasHtmlWhitespace:s,canHaveInterpolation:a,getNodeCssStyleDisplay:o,isDanglingSpaceSensitiveNode:u,isIndentationSensitiveNode:l,isLeadingSpaceSensitiveNode:c,isTrailingSpaceSensitiveNode:p,isWhitespaceSensitiveNode:h,isVueScriptTag:d}=Oi(),f=[y,g,b,x,E,A,w,C,S,D,_];function m(e,t){for(let r of f)r(e,t);return e}function y(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))}function g(e){let t=e=>"element"===e.type&&e.prev&&"ieConditionalStartComment"===e.prev.type&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild&&"ieConditionalEndComment"===e.firstChild.type&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset;e.walk((e=>{if(e.children)for(let n=0;n{if(e.children)for(let i=0;i"cdata"===e.type),(e=>"")))}function D(e){let t=e=>"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!s(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev&&"text"===e.prev.type&&e.next&&"text"===e.next.type;e.walk((e=>{if(e.children)for(let n=0;n")+i.firstChild.value+"")+a.value,s.sourceSpan=new r(s.sourceSpan.start,a.sourceSpan.end),s.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,s.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(i),n--,e.removeChild(a)}}))}function x(e,t){if("html"===t.parser)return;let n=/{{(.+?)}}/s;e.walk((e=>{if(a(e))for(let t of e.children){if("text"!==t.type)continue;let i=t.sourceSpan.start,s=null,a=t.value.split(n);for(let n=0;n0&&e.insertChildBefore(t,{type:"text",value:o,sourceSpan:new r(i,s)}))}e.removeChild(t)}}))}function E(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===n(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=h(e),s=l(e);if(!t)for(let t=0;t{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.startSourceSpan===e.endSourceSpan)}))}function C(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))}function A(e,t){e.walk((e=>{e.cssDisplay=o(e,t)}))}function S(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=u(e));for(let e of r)e.isLeadingSpaceSensitive=c(e,t),e.isTrailingSpaceSensitive=p(e,t);for(let e=0;ed(e,t)));if(!r)return;let{lang:n}=r.attrMap;("ts"===n||"typescript"===n)&&(t.__should_parse_vue_template_with_ts=!0)}}t.exports=m}}),Ui=_({"src/language-html/pragma.js"(e,t){function r(e){return/^\s*/.test(e)}function n(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}N(),t.exports={hasPragma:r,insertPragma:n}}}),Vi=_({"src/language-html/loc.js"(e,t){function r(e){return e.sourceSpan.start.offset}function n(e){return e.sourceSpan.end.offset}N(),t.exports={locStart:r,locEnd:n}}}),$i=_({"src/language-html/print/tag.js"(e,t){N();var r=Qt(),{isNonEmptyArray:n}=Ce(),{builders:{indent:i,join:s,line:a,softline:o,hardline:u},utils:{replaceTextEndOfLine:l}}=ee(),{locStart:c,locEnd:p}=Vi(),{isTextLikeNode:h,getLastDescendant:d,isPreLikeNode:f,hasPrettierIgnore:m,shouldPreserveContent:y,isVueSfcBlock:g}=Oi();function v(e,t){return[e.isSelfClosing?"":b(e,t),D(e,t)]}function b(e,t){return e.lastChild&&k(e.lastChild)?"":[x(e,t),w(e,t)]}function D(e,t){return(e.next?S(e.next):_(e.parent))?"":[C(e,t),E(e,t)]}function x(e,t){return _(e)?C(e.lastChild,t):""}function E(e,t){return k(e)?w(e.parent,t):T(e)?M(e.next):""}function w(e,t){if(r(!e.isSelfClosing),A(e,t))return"";switch(e.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function A(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(m(e)||y(e.parent,t))}function S(e){return e.prev&&"docType"!==e.prev.type&&!h(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function _(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!h(d(e.lastChild))&&!f(e)}function k(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&h(d(e))}function T(e){return e.next&&!h(e.next)&&h(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function F(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}function P(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function I(e,t,r){let h=e.getValue();if(!n(h.attrs))return h.isSelfClosing?" ":"";let d=h.prev&&"comment"===h.prev.type&&F(h.prev.value),f="boolean"==typeof d?()=>d:Array.isArray(d)?e=>d.includes(e.rawName):()=>!1,m=e.map((e=>{let n=e.getValue();return f(n)?l(t.originalText.slice(c(n),p(n))):r()}),"attrs"),y="element"===h.type&&"script"===h.fullName&&1===h.attrs.length&&"src"===h.attrs[0].fullName&&0===h.children.length,v=t.singleAttributePerLine&&h.attrs.length>1&&!g(h,t)?u:a,b=[i([y?" ":a,s(v,m)])];return h.firstChild&&P(h.firstChild)||h.isSelfClosing&&_(h.parent)||y?b.push(h.isSelfClosing?" ":""):b.push(t.bracketSameLine?h.isSelfClosing?" ":"":h.isSelfClosing?a:o),b}function O(e){return e.firstChild&&P(e.firstChild)?"":R(e)}function B(e,t,r){let n=e.getValue();return[j(n,t),I(e,t,r),n.isSelfClosing?"":O(n)]}function j(e,t){return e.prev&&T(e.prev)?"":[L(e,t),M(e)]}function L(e,t){return P(e)?R(e.parent):S(e)?C(e.prev,t):""}function M(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"\x3c!--[if ".concat(e.condition);case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<").concat(e.rawName);default:return"<".concat(e.rawName)}}function R(e){switch(r(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--"}}t.exports={printClosingTag:v,printClosingTagStart:b,printClosingTagStartMarker:w,printClosingTagEndMarker:C,printClosingTagSuffix:E,printClosingTagEnd:D,needsToBorrowLastChildClosingTagEndMarker:_,needsToBorrowParentClosingTagStartMarker:k,needsToBorrowPrevClosingTagEndMarker:S,printOpeningTag:B,printOpeningTagStart:j,printOpeningTagPrefix:L,printOpeningTagStartMarker:M,printOpeningTagEndMarker:R,needsToBorrowNextOpeningTagStartMarker:T,needsToBorrowParentOpeningTagEndMarker:P}}}),Wi=_({"node_modules/parse-srcset/src/parse-srcset.js"(r,a){var o;N(),o=function(){return function(e,t){var r=t&&t.logger||console;function n(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function i(t){var r,n=t.exec(e.substring(g));if(n)return r=n[0],g+=r.length,r}for(var s,a,o,u,l,c=e.length,p=/^[ \t\n\r\u000c]+/,h=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,f=/[,]+$/,m=/^\d+$/,y=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,v=[];;){if(i(h),g>=c)return v;s=i(d),a=[],","===s.slice(-1)?(s=s.replace(f,""),D()):b()}function b(){for(i(p),o="",u="in descriptor";;){if(l=e.charAt(g),"in descriptor"===u)if(n(l))o&&(a.push(o),o="",u="after descriptor");else{if(","===l)return g+=1,o&&a.push(o),void D();if("("===l)o+=l,u="in parens";else{if(""===l)return o&&a.push(o),void D();o+=l}}else if("in parens"===u)if(")"===l)o+=l,u="in descriptor";else{if(""===l)return a.push(o),void D();o+=l}else if("after descriptor"===u&&!n(l)){if(""===l)return void D();u="in descriptor",g-=1}g+=1}}function D(){var t,n,i,o,u,l,c,p,h,d=!1,f={};for(o=0;o{let{w:t}=e;return t})),o=t.some((e=>{let{h:t}=e;return t}));if(a+o+t.some((e=>{let{d:t}=e;return t}))>1)throw new Error("Mixed descriptor in srcset is not supported");let u=a?"w":o?"h":"d",l=a?"w":o?"h":"x",c=e=>Math.max(...e),p=t.map((e=>e.url)),h=c(p.map((e=>e.length))),d=t.map((e=>e[u])).map((e=>e?e.toString():"")),f=d.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),m=c(f);return i([",",s],p.map(((e,t)=>{let r=[e],i=d[t];if(i){let s=h-e.length+1,a=m-f[t],o=" ".repeat(s+a);r.push(n(o," "),i+l)}return r})))}function o(e){return e.trim().split(/\s+/).join(" ")}t.exports={printImgSrcset:a,printClassNames:o}}}),qi=_({"src/language-html/syntax-vue.js"(e,t){N();var{builders:{group:r}}=ee();function n(e,t){let{left:n,operator:s,right:a}=i(e);return[r(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",s," ",t(a,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function i(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let a=i[1].trim().replace(n,""),o=a.match(r);o?(s.alias=a.replace(r,""),s.iterator1=o[1].trim(),o[2]&&(s.iterator2=o[2].trim())):s.alias=a;let u=[s.alias,s.iterator1,s.iterator2];return u.some(((e,t)=>!e&&(0===t||u.slice(t+1).some(Boolean))))?void 0:{left:u.filter(Boolean).join(","),operator:i[2],right:s.for}}function s(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}function a(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=e.trim();return t.test(n)||r.test(n)}t.exports={isVueEventBindingExpression:a,printVueFor:n,printVueBindings:s}}}),Ki=_({"src/language-html/get-node-content.js"(e,t){N();var{needsToBorrowParentClosingTagStartMarker:r,printClosingTagStartMarker:n,needsToBorrowLastChildClosingTagEndMarker:i,printClosingTagEndMarker:s,needsToBorrowParentOpeningTagEndMarker:a,printOpeningTagEndMarker:o}=$i();function u(e,t){let u=e.startSourceSpan.end.offset;e.firstChild&&a(e.firstChild)&&(u-=o(e).length);let l=e.endSourceSpan.start.offset;return e.lastChild&&r(e.lastChild)?l+=n(e,t).length:i(e)&&(l-=s(e.lastChild,t).length),t.originalText.slice(u,l)}t.exports=u}}),Zi=_({"src/language-html/embed.js"(e,t){N();var{builders:{breakParent:r,group:n,hardline:i,indent:s,line:a,fill:o,softline:u},utils:{mapDoc:l,replaceTextEndOfLine:c}}=ee(),p=Rn(),{printClosingTag:h,printClosingTagSuffix:d,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:m,printOpeningTag:y}=$i(),{printImgSrcset:g,printClassNames:v}=Hi(),{printVueFor:b,printVueBindings:D,isVueEventBindingExpression:x}=qi(),{isScriptLikeTag:E,isVueNonHtmlBlock:w,inferScriptParser:C,htmlTrimPreserveIndentation:A,dedentString:S,unescapeQuoteEntities:_,isVueSlotAttribute:k,isVueSfcBindingsAttribute:T,getTextValueParts:F}=Oi(),P=Ki();function I(e,t,r){let i=t=>new RegExp(t.join("|")).test(e.fullName),l=()=>_(e.value),p=!1,h=(e,t)=>{let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||"__vue_expression"===t.parser&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))&&(p=!0)},d=e=>n(e),f=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return n([s([u,e]),t?u:""])},m=e=>p?d(e):f(e),y=(e,r)=>t(e,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},r));if("srcset"===e.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return f(g(l()));if("class"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return v(e)}if("style"===e.fullName&&!r.parentParser){let e=l();if(!e.includes("{{"))return f(y(e,{parser:"css",__isHTMLStyleAttribute:!0}))}if("vue"===r.parser){if("v-for"===e.fullName)return b(l(),y);if(k(e)||T(e,r))return D(l(),y);let t=["^:","^v-bind:"],n=["^v-"];if(i(["^@","^v-on:"])){let e=l(),t=x(e)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return m(y(e,{parser:t}))}if(i(t))return m(y(l(),{parser:"__vue_expression"}));if(i(n))return m(y(l(),{parser:"__js_expression"}))}if("angular"===r.parser){let t=(e,t)=>y(e,Object.assign(Object.assign({},t),{},{trailingComma:"none"})),r=["^\\*"],u=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],p=["^i18n(-.+)?$"];if(i(["^\\(.+\\)$","^on-"]))return m(t(l(),{parser:"__ng_action"}));if(i(u))return m(t(l(),{parser:"__ng_binding"}));if(i(p)){let t=l().trim();return f(o(F(e,t)),!t.includes("@@"))}if(i(r))return m(t(l(),{parser:"__ng_directive"}));let h=/{{(.+?)}}/s,d=l();if(h.test(d)){let e=[];for(let[r,i]of d.split(h).entries())if(r%2==0)e.push(c(i));else try{e.push(n(["{{",s([a,t(i,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),a,"}}"]))}catch{e.push("{{",c(i),"}}")}return n(e)}}return null}function O(e,t,o,u){let c=e.getValue();switch(c.type){case"element":if(E(c)||"interpolation"===c.type)return;if(!c.isSelfClosing&&w(c,u)){let r=C(c,u);if(!r)return;let s=P(c,u),a=/^\s*$/.test(s),l="";return a||(l=o(A(s),{parser:r,__embeddedInHtml:!0},{stripTrailingHardline:!0}),a=""===l),[m(c,u),n(y(e,u,t)),a?"":i,l,a?"":i,h(c,u),d(c,u)]}break;case"text":if(E(c.parent)){let e=C(c.parent,u);if(e){let t="markdown"===e?S(c.value.replace(/^[^\S\n]*\n/,"")):c.value,n={parser:e,__embeddedInHtml:!0};if("html"===u.parser&&"babel"===e){let e="script",{attrMap:t}=c.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),n.__babelSourceType=e}return[r,m(c,u),o(t,n,{stripTrailingHardline:!0}),d(c,u)]}}else if("interpolation"===c.parent.type){let e={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===u.parser?(e.parser="__ng_interpolation",e.trailingComma="none"):"vue"===u.parser?e.parser=u.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":e.parser="__js_expression",[s([a,o(c.value,e,{stripTrailingHardline:!0})]),c.parent.next&&f(c.parent.next)?" ":a]}break;case"attribute":{if(!c.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];if("lwc"===u.parser&&/^{.*}$/s.test(u.originalText.slice(c.valueSpan.start.offset,c.valueSpan.end.offset)))return[c.rawName,"=",c.value];let e=I(c,((e,t)=>o(e,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},t),{stripTrailingHardline:!0})),u);if(e)return[c.rawName,'="',n(l(e,(e=>"string"==typeof e?e.replace(/"/g,"""):e))),'"'];break}case"front-matter":return p(c,o)}}t.exports=O}}),Gi=_({"src/language-html/print/children.js"(e,t){N();var{builders:{breakParent:r,group:n,ifBreak:i,line:s,softline:a,hardline:o},utils:{replaceTextEndOfLine:u}}=ee(),{locStart:l,locEnd:c}=Vi(),{forceBreakChildren:p,forceNextEmptyLine:h,isTextLikeNode:d,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:m}=Oi(),{printOpeningTagPrefix:y,needsToBorrowNextOpeningTagStartMarker:g,printOpeningTagStartMarker:v,needsToBorrowPrevClosingTagEndMarker:b,printClosingTagEndMarker:D,printClosingTagSuffix:x,needsToBorrowParentClosingTagStartMarker:E}=$i();function w(e,t,r){let n=e.getValue();return f(n)?[y(n,t),...u(t.originalText.slice(l(n)+(n.prev&&g(n.prev)?v(n).length:0),c(n)-(n.next&&b(n.next)?D(n,t).length:0))),x(n,t)]:r()}function C(e,t){return d(e)&&d(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?m(t)?o:s:"":m(t)?o:a:g(e)&&(f(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&b(t)?"":!t.isLeadingSpaceSensitive||m(t)||b(t)&&e.lastChild&&E(e.lastChild)&&e.lastChild.lastChild&&E(e.lastChild.lastChild)?o:t.hasLeadingSpaces?s:a}function A(e,t,s){let u=e.getValue();if(p(u))return[r,...e.map((e=>{let r=e.getValue(),n=r.prev?C(r.prev,r):"";return[n?[n,h(r.prev)?o:""]:"",w(e,t,s)]}),"children")];let l=u.children.map((()=>Symbol("")));return e.map(((e,r)=>{let u=e.getValue();if(d(u)){if(u.prev&&d(u.prev)){let r=C(u.prev,u);if(r)return h(u.prev)?[o,o,w(e,t,s)]:[r,w(e,t,s)]}return w(e,t,s)}let c=[],p=[],f=[],m=[],y=u.prev?C(u.prev,u):"",g=u.next?C(u,u.next):"";return y&&(h(u.prev)?c.push(o,o):y===o?c.push(o):d(u.prev)?p.push(y):p.push(i("",a,{groupId:l[r-1]}))),g&&(h(u)?d(u.next)&&m.push(o,o):g===o?d(u.next)&&m.push(o):f.push(g)),[...c,n([...p,n([w(e,t,s),...f],{id:l[r]})]),...m]}),"children")}t.exports={printChildren:A}}}),Ji=_({"src/language-html/print/element.js"(e,t){N();var{builders:{breakParent:r,dedentToRoot:n,group:i,ifBreak:s,indentIfBreak:a,indent:o,line:u,softline:l},utils:{replaceTextEndOfLine:c}}=ee(),p=Ki(),{shouldPreserveContent:h,isScriptLikeTag:d,isVueCustomBlock:f,countParents:m,forceBreakContent:y}=Oi(),{printOpeningTagPrefix:g,printOpeningTag:v,printClosingTagSuffix:b,printClosingTag:D,needsToBorrowPrevClosingTagEndMarker:x,needsToBorrowLastChildClosingTagEndMarker:E}=$i(),{printChildren:w}=Gi();function C(e,t,C){let A=e.getValue();if(h(A,t))return[g(A,t),i(v(e,t,C)),...c(p(A,t)),...D(A,t),b(A,t)];let S=1===A.children.length&&"interpolation"===A.firstChild.type&&A.firstChild.isLeadingSpaceSensitive&&!A.firstChild.hasLeadingSpaces&&A.lastChild.isTrailingSpaceSensitive&&!A.lastChild.hasTrailingSpaces,_=Symbol("element-attr-group-id"),k=r=>i([i(v(e,t,C),{id:_}),r,D(A,t)]),T=e=>S?a(e,{groupId:_}):!d(A)&&!f(A,t)||"root"!==A.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?o(e):e,F=()=>S?s(l,"",{groupId:_}):A.firstChild.hasLeadingSpaces&&A.firstChild.isLeadingSpaceSensitive?u:"text"===A.firstChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive?n(l):l,P=()=>(A.next?x(A.next):E(A.parent))?A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?" ":"":S?s(l,"",{groupId:_}):A.lastChild.hasTrailingSpaces&&A.lastChild.isTrailingSpaceSensitive?u:("comment"===A.lastChild.type||"text"===A.lastChild.type&&A.isWhitespaceSensitive&&A.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*m(e,(e=>e.parent&&"root"!==e.parent.type)),"}$")).test(A.lastChild.value)?"":l;return 0===A.children.length?k(A.hasDanglingSpaces&&A.isDanglingSpaceSensitive?u:""):k([y(A)?r:"",T([F(),w(e,t,C)]),P()])}t.exports={printElement:C}}}),Yi=_({"src/language-html/printer-html.js"(e,t){N();var{builders:{fill:r,group:n,hardline:i,literalline:s},utils:{cleanDoc:a,getDocParts:o,isConcat:u,replaceTextEndOfLine:l}}=ee(),c=Pi(),{countChars:p,unescapeQuoteEntities:h,getTextValueParts:d}=Oi(),f=zi(),{insertPragma:m}=Ui(),{locStart:y,locEnd:g}=Vi(),v=Zi(),{printClosingTagSuffix:b,printClosingTagEnd:D,printOpeningTagPrefix:x,printOpeningTagStart:E}=$i(),{printElement:w}=Ji(),{printChildren:C}=Gi();function A(e,t,c){let f=e.getValue();switch(f.type){case"front-matter":return l(f.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(f),[n(C(e,t,c)),i];case"element":case"ieConditionalComment":return w(e,t,c);case"ieConditionalStartComment":case"ieConditionalEndComment":return[E(f),D(f)];case"interpolation":return[E(f,t),...e.map(c,"children"),D(f,t)];case"text":{if("interpolation"===f.parent.type){let e=/\n[^\S\n]*$/,t=e.test(f.value),r=t?f.value.replace(e,""):f.value;return[...l(r),t?i:""]}let e=a([x(f,t),...d(f),b(f,t)]);return u(e)||"fill"===e.type?r(o(e)):e}case"docType":return[n([E(f,t)," ",f.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),D(f,t)];case"comment":return[x(f,t),...l(t.originalText.slice(y(f),g(f)),s),b(f,t)];case"attribute":{if(null===f.value)return f.rawName;let e=h(f.value),t=p(e,"'")({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]}))),r(es(),(e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]}))),r(es(),(()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]}))),r(ts(),(()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]})))],o={html:n};t.exports={languages:a,printers:o,options:i,parsers:s}}}),ns=_({"src/language-yaml/pragma.js"(e,t){function r(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function n(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function i(e){return"# @format\n\n".concat(e)}N(),t.exports={isPragma:r,hasPragma:n,insertPragma:i}}}),is=_({"src/language-yaml/loc.js"(e,t){function r(e){return e.position.start.offset}function n(e){return e.position.end.offset}N(),t.exports={locStart:r,locEnd:n}}}),ss=_({"src/language-yaml/embed.js"(e,t){function r(e,t,r,n){if("root"===e.getValue().type&&n.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(n.filepath))return r(n.originalText,Object.assign(Object.assign({},n),{},{parser:"json"}))}N(),t.exports=r}}),as=_({"src/language-yaml/utils.js"(e,t){N();var{getLast:r,isNonEmptyArray:n}=Ce();function i(e,t){let r=0,n=e.stack.length-1;for(let i=0;ia(r,t,e)))}):e,r)}function o(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function u(e,t){let r=0,n=t.length;for(let i=e.position.end.offset-1;i0===t&&t===r.length-1?e:0!==t&&t!==r.length-1?e.trim():0===t?e.trimEnd():e.trimStart()));return"preserve"===n.proseWrap?i.map((e=>0===e.length?[]:[e])):i.map((e=>0===e.length?[]:D(e))).reduce(((t,n,s)=>0!==s&&i[s-1].length>0&&n.length>0&&("quoteDouble"!==e||!r(r(t)).endsWith("\\"))?[...t.slice(0,-1),[...r(t),...n]]:[...t,n]),[]).map((e=>"never"===n.proseWrap?[e.join(" ")]:e))}function E(e,t){let n,{parentIndent:i,isLastDescendant:s,options:a}=t,o=e.position.start.line===e.position.end.line?"":a.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1];if(null===e.indent){let e=o.match(/^(? *)[^\n\r ]/m);n=e?e.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else n=e.indent-1+i;let u=o.split("\n").map((e=>e.slice(n)));return"preserve"===a.proseWrap||"blockLiteral"===e.type?l(u.map((e=>0===e.length?[]:[e]))):l(u.map((e=>0===e.length?[]:D(e))).reduce(((e,t,n)=>0!==n&&u[n-1].length>0&&t.length>0&&!/^\s/.test(t[0])&&!/^\s|\s$/.test(r(e))?[...e.slice(0,-1),[...r(e),...t]]:[...e,t]),[]).map((e=>e.reduce(((e,t)=>e.length>0&&/\s$/.test(r(e))?[...e.slice(0,-1),r(e)+" "+t]:[...e,t]),[]))).map((e=>"never"===a.proseWrap?[e.join(" ")]:e)));function l(t){if("keep"===e.chomping)return 0===r(t).length?t.slice(0,-1):t;let n=0;for(let e=t.length-1;e>=0&&0===t[e].length;e--)n++;return 0===n?t:n>=2&&!s?t.slice(0,-(n-1)):t.slice(0,-n)}}function w(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}t.exports={getLast:r,getAncestorCount:i,isNode:s,isEmptyNode:d,isInlineNode:w,mapNode:a,defineShortcut:o,isNextLineEmpty:u,isLastDescendantNode:l,getBlockValueLineContents:E,getFlowScalarLineContents:x,getLastDescendantNode:c,hasPrettierIgnore:h,hasLeadingComments:m,hasMiddleComments:y,hasIndicatorComment:g,hasTrailingComment:v,hasEndComments:b}}}),os=_({"src/language-yaml/print-preprocess.js"(e,t){N();var{defineShortcut:r,mapNode:n}=as();function i(e){return n(e,s)}function s(e){switch(e.type){case"document":r(e,"head",(()=>e.children[0])),r(e,"body",(()=>e.children[1]));break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":r(e,"content",(()=>e.children[0]));break;case"mappingItem":case"flowMappingItem":r(e,"key",(()=>e.children[0])),r(e,"value",(()=>e.children[1]))}return e}t.exports=i}}),us=_({"src/language-yaml/print/misc.js"(e,t){N();var{builders:{softline:r,align:n}}=ee(),{hasEndComments:i,isNextLineEmpty:s,isNode:a}=as(),o=new WeakMap;function u(e,t){let n,i=e.getValue(),a=e.stack[0];return o.has(a)?n=o.get(a):(n=new Set,o.set(a,n)),n.has(i.position.end.line)||(n.add(i.position.end.line),!s(i,t)||l(e.getParentNode()))?"":r}function l(e){return i(e)&&!a(e,["documentHead","documentBody","flowMapping","flowSequence"])}function c(e,t){return n(" ".repeat(e),t)}t.exports={alignWithSpaces:c,shouldPrintEndComments:l,printNextEmptyLine:u}}}),ls=_({"src/language-yaml/print/flow-mapping-sequence.js"(e,t){N();var{builders:{ifBreak:r,line:n,softline:i,hardline:s,join:a}}=ee(),{isEmptyNode:o,getLast:u,hasEndComments:l}=as(),{printNextEmptyLine:c,alignWithSpaces:p}=us();function h(e,t,c){let h=e.getValue(),f="flowMapping"===h.type,m=f?"{":"[",y=f?"}":"]",g=i;f&&h.children.length>0&&c.bracketSpacing&&(g=n);let v=u(h.children),b=v&&"flowMappingItem"===v.type&&o(v.key)&&o(v.value);return[m,p(c.tabWidth,[g,d(e,t,c),"none"===c.trailingComma?"":r(","),l(h)?[s,a(s,e.map(t,"endComments"))]:""]),b?"":g,y]}function d(e,t,r){let i=e.getValue();return e.map(((e,s)=>[t(),s===i.children.length-1?"":[",",n,i.children[s].position.start.line!==i.children[s+1].position.start.line?c(e,r.originalText):""]]),"children")}t.exports={printFlowMapping:h,printFlowSequence:h}}}),cs=_({"src/language-yaml/print/mapping-item.js"(e,t){N();var{builders:{conditionalGroup:r,group:n,hardline:i,ifBreak:s,join:a,line:o}}=ee(),{hasLeadingComments:u,hasMiddleComments:l,hasTrailingComment:c,hasEndComments:p,isNode:h,isEmptyNode:d,isInlineNode:f}=as(),{alignWithSpaces:m}=us();function y(e,t,y,D,x){let{key:E,value:w}=e,C=d(E),A=d(w);if(C&&A)return": ";let S=D("key"),_=v(e)?" ":"";if(A)return"flowMappingItem"===e.type&&"flowMapping"===t.type?S:"mappingItem"!==e.type||!g(E.content,x)||c(E.content)||t.tag&&"tag:yaml.org,2002:set"===t.tag.value?["? ",m(2,S)]:[S,_,":"];let k=D("value");if(C)return[": ",m(2,k)];if(u(w)||!f(E.content))return["? ",m(2,S),i,a("",y.map(D,"value","leadingComments").map((e=>[e,i]))),": ",m(2,k)];if(b(E.content)&&!u(E.content)&&!l(E.content)&&!c(E.content)&&!p(E)&&!u(w.content)&&!l(w.content)&&!p(w)&&g(w.content,x))return[S,_,": ",k];let T=Symbol("mappingKey"),F=n([s("? "),n(m(2,S),{id:T})]),P=[i,": ",m(2,k)],N=[_,":"];u(w.content)||p(w)&&w.content&&!h(w.content,["mapping","sequence"])||"mapping"===t.type&&c(E.content)&&f(w.content)||h(w.content,["mapping","sequence"])&&null===w.content.tag&&null===w.content.anchor?N.push(i):w.content&&N.push(o),N.push(k);let I=m(x.tabWidth,N);return!g(E.content,x)||u(E.content)||l(E.content)||p(E)?r([[F,s(P,I,{groupId:T})]]):r([[S,I]])}function g(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if("preserve"===t.proseWrap)return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes("\n");case"always":return!/[\n ]/.test(e.value);default:return!1}}function v(e){return e.key.content&&"alias"===e.key.content.type}function b(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}t.exports=y}}),ps=_({"src/language-yaml/print/block.js"(e,t){N();var{builders:{dedent:r,dedentToRoot:n,fill:i,hardline:s,join:a,line:o,literalline:u,markAsRoot:l},utils:{getDocParts:c}}=ee(),{getAncestorCount:p,getBlockValueLineContents:h,hasIndicatorComment:d,isLastDescendantNode:f,isNode:m}=as(),{alignWithSpaces:y}=us();function g(e,t,g){let v=e.getValue(),b=p(e,(e=>m(e,["sequence","mapping"]))),D=f(e),x=["blockFolded"===v.type?">":"|"];null!==v.indent&&x.push(v.indent.toString()),"clip"!==v.chomping&&x.push("keep"===v.chomping?"+":"-"),d(v)&&x.push(" ",t("indicatorComment"));let E=h(v,{parentIndent:b,isLastDescendant:D,options:g}),w=[];for(let[e,t]of E.entries())0===e&&w.push(s),w.push(i(c(a(o,t)))),e!==E.length-1?w.push(0===t.length?s:l(u)):"keep"===v.chomping&&D&&w.push(n(0===t.length?s:u));return null===v.indent?x.push(r(y(g.tabWidth,w))):x.push(n(y(v.indent-1+b,w))),x}t.exports=g}}),hs=_({"src/language-yaml/printer-yaml.js"(e,t){N();var{builders:{breakParent:r,fill:n,group:i,hardline:s,join:a,line:o,lineSuffix:u,literalline:l},utils:{getDocParts:c,replaceTextEndOfLine:p}}=ee(),{isPreviousLineEmpty:h}=Ce(),{insertPragma:d,isPragma:f}=ns(),{locStart:m}=is(),y=ss(),{getFlowScalarLineContents:g,getLastDescendantNode:v,hasLeadingComments:b,hasMiddleComments:D,hasTrailingComment:x,hasEndComments:E,hasPrettierIgnore:w,isLastDescendantNode:C,isNode:A,isInlineNode:S}=as(),_=os(),{alignWithSpaces:k,printNextEmptyLine:T,shouldPrintEndComments:F}=us(),{printFlowMapping:P,printFlowSequence:I}=ls(),O=cs(),B=ps();function j(e,t,n){let o=e.getValue(),c=[];"mappingValue"!==o.type&&b(o)&&c.push([a(s,e.map(n,"leadingComments")),s]);let{tag:d,anchor:f}=o;d&&c.push(n("tag")),d&&f&&c.push(" "),f&&c.push(n("anchor"));let y="";A(o,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!C(e)&&(y=T(e,t.originalText)),(d||f)&&(A(o,["sequence","mapping"])&&!D(o)?c.push(s):c.push(" ")),D(o)&&c.push([1===o.middleComments.length?"":s,a(s,e.map(n,"middleComments")),s]);let g=e.getParentNode();return w(e)?c.push(p(t.originalText.slice(o.position.start.offset,o.position.end.offset).trimEnd(),l)):c.push(i(L(o,g,e,t,n))),x(o)&&!A(o,["document","documentHead"])&&c.push(u(["mappingValue"!==o.type||o.content?" ":"","mappingKey"===g.type&&"mapping"===e.getParentNode(2).type&&S(o)?"":r,n("trailingComment")])),F(o)&&c.push(k("sequenceItem"===o.type?2:0,[s,a(s,e.map((e=>[h(t.originalText,e.getValue(),m)?s:"",n()]),"endComments"))])),c.push(y),c}function L(e,t,r,n,i){switch(e.type){case"root":{let{children:t}=e,n=[];r.each(((e,r)=>{let a=t[r],o=t[r+1];0!==r&&n.push(s),n.push(i()),R(a,o)?(n.push(s,"..."),x(a)&&n.push(" ",i("trailingComment"))):o&&!x(o.head)&&n.push(s,"---")}),"children");let a=v(e);return(!A(a,["blockLiteral","blockFolded"])||"keep"!==a.chomping)&&n.push(s),n}case"document":{let o=[];return"head"===z(e,t.children[r.getName()+1],t,n)&&((e.head.children.length>0||e.head.endComments.length>0)&&o.push(i("head")),x(e.head)?o.push(["---"," ",i(["head","trailingComment"])]):o.push("---")),M(e)&&o.push(i("body")),a(s,o)}case"documentHead":return a(s,[...r.map(i,"children"),...r.map(i,"endComments")]);case"documentBody":{let{children:t,endComments:n}=e,o="";if(t.length>0&&n.length>0){let t=v(e);A(t,["blockFolded","blockLiteral"])?"keep"!==t.chomping&&(o=[s,s]):o=s}return[a(s,r.map(i,"children")),o,a(s,r.map(i,"endComments"))]}case"directive":return["%",a(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return U(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let t="'",r='"',i=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if("quoteSingle"===e.type&&i.includes("\\")||"quoteDouble"===e.type&&/\\[^"]/.test(i)){let s="quoteDouble"===e.type?r:t;return[s,U(e.type,i,n),s]}if(i.includes(r))return[t,U(e.type,"quoteDouble"===e.type?i.replace(/\\"/g,r).replace(/'/g,t.repeat(2)):i,n),t];if(i.includes(t))return[r,U(e.type,"quoteSingle"===e.type?i.replace(/''/g,t):i,n),r];let s=n.singleQuote?t:r;return[s,U(e.type,i,n),s]}case"blockFolded":case"blockLiteral":return B(r,i,n);case"mapping":case"sequence":return a(s,r.map(i,"children"));case"sequenceItem":return["- ",k(2,e.content?i("content"):"")];case"mappingKey":case"mappingValue":return e.content?i("content"):"";case"mappingItem":case"flowMappingItem":return O(e,t,r,i,n);case"flowMapping":return P(r,i,n);case"flowSequence":return I(r,i,n);case"flowSequenceItem":return i("content");default:throw new Error("Unexpected node type ".concat(e.type))}}function M(e){return e.body.children.length>0||E(e.body)}function R(e,t){return x(e)||t&&(t.head.children.length>0||E(t.head))}function z(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(m(e),m(e)+4))||e.head.children.length>0||E(e.head)||x(e.head)?"head":!R(e,t)&&!!t&&"root"}function U(e,t,r){let i=g(e,t,r);return a(s,i.map((e=>n(c(a(o,e))))))}function V(e,t){if(A(t))switch(delete t.position,t.type){case"comment":if(f(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}}t.exports={preprocess:_,embed:y,print:j,massageAstNode:V,insertPragma:d}}}),ds=_({"src/language-yaml/options.js"(e,t){N();var r=kn();t.exports={bracketSpacing:r.bracketSpacing,singleQuote:r.singleQuote,proseWrap:r.proseWrap}}}),fs=_({"src/language-yaml/parsers.js"(){N()}}),ms=_({"node_modules/linguist-languages/data/YAML.json"(e,t){t.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),ys=_({"src/language-yaml/index.js"(e,t){N();var r=or(),n=hs(),i=ds(),s=fs(),a=[r(ms(),(e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter((e=>"yarn.lock"!==e)),".prettierrc",".stylelintrc"]})))];t.exports={languages:a,printers:{yaml:n},options:i,parsers:s}}}),gs=_({"src/languages.js"(e,t){N(),t.exports=[Ln(),ni(),pi(),vi(),Fi(),rs(),ys()]}});N();var{version:vs}=I(),bs=sr(),{getSupportInfo:Ds}=ye(),xs=ar(),Es=gs(),ws=ee();function Cs(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(){for(var r=arguments.length,n=new Array(r),i=0;iAs(e,t).formatted,check(e,t){let{formatted:r}=As(e,t);return r===e},doc:ws,getSupportInfo:Cs(Ds,0),version:vs,util:xs,__debug:{parse:Cs(bs.parse),formatAST:Cs(bs.formatAST),formatDoc:Cs(bs.formatDoc),printToDoc:Cs(bs.printToDoc),printDocToString:Cs(bs.printDocToString)}}}));return Be()}()},64448:(e,t,r)=>{"use strict";var n=r(67294),i=r(63840);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r