randmarcomps 1.472.0 → 1.473.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70170,10 +70170,10 @@ const FEEDBACK_MAX_LENGTH = 800, FEEDBACK_INTENT_OPTIONS = [
70170
70170
  ]
70171
70171
  }
70172
70172
  ) }),
70173
- /* @__PURE__ */ jsx(DialogContent, { className: "w-[min(95vw,980px)] max-w-4xl overflow-hidden border border-border/40 bg-transparent p-0 shadow-[0_35px_120px_rgba(15,23,42,0.45)]", children: /* @__PURE__ */ jsxs(
70173
+ /* @__PURE__ */ jsx(DialogContent, { className: "w-[min(95vw,980px)] max-w-4xl overflow-hidden border border-border/40 bg-background p-0 shadow-[0_35px_120px_rgba(15,23,42,0.45)]", children: /* @__PURE__ */ jsxs(
70174
70174
  "form",
70175
70175
  {
70176
- className: "flex max-h-[85vh] flex-col gap-6 overflow-y-auto bg-background/95 p-6 sm:p-8",
70176
+ className: "flex max-h-[85vh] flex-col gap-6 overflow-y-auto bg-background p-6 sm:p-8",
70177
70177
  onSubmit: async (ge) => {
70178
70178
  ge.preventDefault();
70179
70179
  const $e = _.trim(), Le = E.trim();
@@ -70254,13 +70254,6 @@ ${qe}` : $e;
70254
70254
  ] })
70255
70255
  ] })
70256
70256
  ] }),
70257
- /* @__PURE__ */ jsxs("div", { className: "rounded-2xl border border-dashed border-primary/30 bg-primary/5 p-4 text-sm text-primary", children: [
70258
- /* @__PURE__ */ jsxs("p", { className: "flex items-center gap-2 font-medium", children: [
70259
- /* @__PURE__ */ jsx(CircleCheck, { className: "h-4 w-4" }),
70260
- "Thank you for investing the time to share detailed feedback."
70261
- ] }),
70262
- /* @__PURE__ */ jsx("p", { className: "text-primary/80", children: "Notes are reviewed with product, engineering, and partner success leadership. If you request follow-up, we will use the email below to provide updates or clarifications." })
70263
- ] }),
70264
70257
  /* @__PURE__ */ jsxs("div", { className: "space-y-3", children: [
70265
70258
  /* @__PURE__ */ jsxs("div", { className: "space-y-2 rounded-2xl border bg-muted/60 p-4", children: [
70266
70259
  /* @__PURE__ */ jsxs("div", { className: "flex flex-wrap items-center justify-between gap-2 text-xs text-muted-foreground", children: [
@@ -1224,7 +1224,7 @@ $10 with opportunities under $1,000`:e==="D"?"$15 under $1,500":e==="E"?"Full sh
1224
1224
  `),Ve=qe?`${je}
1225
1225
 
1226
1226
  ---
1227
- ${qe}`:je;try{await V({applicationId:e,comment:Ve,emailAddress:Be||void 0}).unwrap(),F({title:"Feedback sent",description:"Thanks for helping us improve."}),_(!1),R(""),E(""),M(!1),j(null)}catch(Le){console.error("Failed to send feedback",Le),F({title:"Feedback could not be sent",description:"Please try again in a moment.",variant:"destructive"})}};return jsxRuntime.jsxs("header",{className:"flex h-16 items-center gap-4 border-b sidebar-foreground bg-sidebar px-6 fixed top-0 right-0 z-50 lg:left-64 left-0 border-sidebar-border",children:[jsxRuntime.jsx(SidebarTrigger,{className:"lg:hidden",children:jsxRuntime.jsx(Menu$1,{className:"h-6 w-6"})}),jsxRuntime.jsx("div",{className:"flex flex-1 items-center gap-4",children:jsxRuntime.jsx("div",{className:"relative w-full max-w-sm",children:jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("button",{type:"button",className:"absolute left-2 top-1/2 -translate-y-1/2",onClick:Oe,"aria-label":"Search",children:jsxRuntime.jsx(Search,{className:"h-4 w-4 text-muted-foreground"})}),jsxRuntime.jsx(Input,{placeholder:l??"Search...",className:"w-full pl-8 bg-white text-black",value:f,onChange:ge=>g(ge.target.value),onKeyDown:Ne,ref:d},"topbar-search")]})})}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsxs(Dialog,{open:b,onOpenChange:_,children:[jsxRuntime.jsx(DialogTrigger,{asChild:!0,children:jsxRuntime.jsxs(Button$1,{type:"button",variant:"outline",size:"sm",className:"gap-2",children:[jsxRuntime.jsx(MessageSquare,{className:"h-4 w-4"}),"Feedback"]})}),jsxRuntime.jsx(DialogContent,{className:"w-[min(95vw,980px)] max-w-4xl overflow-hidden border border-border/40 bg-transparent p-0 shadow-[0_35px_120px_rgba(15,23,42,0.45)]",children:jsxRuntime.jsxs("form",{className:"flex max-h-[85vh] flex-col gap-6 overflow-y-auto bg-background/95 p-6 sm:p-8",onSubmit:oe,children:[jsxRuntime.jsxs("div",{className:"relative overflow-hidden rounded-[32px] bg-gradient-to-br from-slate-950 via-slate-900 to-indigo-950 p-6 text-white shadow-[0_20px_45px_rgba(15,23,42,0.55)] sm:p-8",children:[jsxRuntime.jsxs("div",{className:"pointer-events-none absolute inset-0 opacity-70",children:[jsxRuntime.jsx("div",{className:"absolute -left-14 top-10 h-32 w-32 rounded-full bg-white/10 blur-3xl","aria-hidden":"true"}),jsxRuntime.jsx("div",{className:"absolute right-0 top-1/2 h-40 w-40 -translate-y-1/2 rounded-full bg-indigo-400/20 blur-3xl","aria-hidden":"true"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 left-1/3 h-44 w-44 translate-y-1/3 rounded-full bg-sky-300/20 blur-3xl","aria-hidden":"true"})]}),jsxRuntime.jsxs("div",{className:"relative flex flex-col gap-5",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 text-xs uppercase tracking-wide text-white/80",children:[jsxRuntime.jsx(Badge,{variant:"outline",className:"w-max border-white/30 bg-white/10 text-white",children:"Partner feedback desk"}),jsxRuntime.jsx("p",{className:"text-white/70",children:"Product & operations review every submission"})]}),jsxRuntime.jsxs(DialogHeader,{className:"space-y-3 text-left text-white",children:[jsxRuntime.jsx(DialogTitle,{className:"text-3xl leading-tight sm:text-4xl",children:"Share your perspective"}),jsxRuntime.jsx(DialogDescription,{className:"text-base text-white/80",children:"Clear context helps us triage, scope, and respond. Please highlight the scenario, desired outcome, and any urgency we should be aware of."})]}),jsxRuntime.jsx("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-4",children:FEEDBACK_STATS.map(ge=>jsxRuntime.jsxs("div",{className:"rounded-2xl border border-white/20 bg-white/10 p-3 text-left",children:[jsxRuntime.jsx("p",{className:"text-[11px] uppercase tracking-wide text-white/70",children:ge.label}),jsxRuntime.jsx("p",{className:"text-2xl font-semibold",children:ge.value})]},ge.label))}),jsxRuntime.jsxs("div",{className:"rounded-2xl border border-white/20 bg-white/5 p-4 text-sm leading-relaxed text-white/90",children:[jsxRuntime.jsxs("p",{className:"flex items-start gap-2 font-semibold",children:[jsxRuntime.jsx(Sparkles,{className:"mt-0.5 h-4 w-4 text-yellow-200"}),"To help us act quickly"]}),jsxRuntime.jsx("ul",{className:"mt-3 space-y-2 text-white/80",children:FEEDBACK_GUIDELINES.map(ge=>jsxRuntime.jsxs("li",{className:"flex items-start gap-2",children:[jsxRuntime.jsx(CircleCheck,{className:"mt-0.5 h-4 w-4 text-emerald-200"}),jsxRuntime.jsx("span",{children:ge})]},ge))})]}),jsxRuntime.jsxs("div",{className:"space-y-2 text-[11px] uppercase tracking-[0.18em] text-white/80",children:[jsxRuntime.jsx("p",{className:"font-semibold tracking-[0.25em] text-white",children:"Common focus areas"}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2",children:FEEDBACK_TAGS.map(ge=>jsxRuntime.jsx("span",{className:"rounded-full border border-white/30 bg-white/10 px-3 py-1",children:ge},ge))})]})]})]}),jsxRuntime.jsxs("div",{className:"rounded-2xl border border-dashed border-primary/30 bg-primary/5 p-4 text-sm text-primary",children:[jsxRuntime.jsxs("p",{className:"flex items-center gap-2 font-medium",children:[jsxRuntime.jsx(CircleCheck,{className:"h-4 w-4"}),"Thank you for investing the time to share detailed feedback."]}),jsxRuntime.jsx("p",{className:"text-primary/80",children:"Notes are reviewed with product, engineering, and partner success leadership. If you request follow-up, we will use the email below to provide updates or clarifications."})]}),jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsxs("div",{className:"space-y-2 rounded-2xl border bg-muted/60 p-4",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs text-muted-foreground",children:[jsxRuntime.jsx("p",{className:"font-semibold uppercase tracking-wide text-foreground",children:"Select an intent"}),jsxRuntime.jsx("p",{children:I?`Currently tagged as ${se}.`:"Choosing a category routes the note to the right team."})]}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2",children:FEEDBACK_INTENT_OPTIONS.map(ge=>jsxRuntime.jsx(Button$1,{type:"button",variant:I===ge.value?"default":"outline",size:"sm",className:cn("rounded-full px-3 text-xs transition-all",I===ge.value?"shadow-lg shadow-primary/30":"bg-background hover:-translate-y-[1px]"),"aria-pressed":I===ge.value,onClick:()=>j(je=>je===ge.value?null:ge.value),children:ge.label},ge.value))}),I&&jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:($e=FEEDBACK_INTENT_OPTIONS.find(ge=>ge.value===I))==null?void 0:$e.description})]}),jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx(Label$2,{htmlFor:"topbar-feedback-message",className:"text-sm font-semibold",children:"What should we know?"}),jsxRuntime.jsx(Textarea,{id:"topbar-feedback-message",rows:4,value:S,onChange:ge=>R(ge.target.value),maxLength:FEEDBACK_MAX_LENGTH,placeholder:"Describe the situation, expected outcome, and any supporting context.",className:"resize-none rounded-2xl border-2 border-dashed border-muted/80 bg-gradient-to-br from-muted/40 to-background focus-visible:border-primary focus-visible:ring-primary/40"}),jsxRuntime.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[jsxRuntime.jsx("span",{children:ae?`${ae}/${FEEDBACK_MAX_LENGTH} characters`:"Up to 800 characters is plenty."}),jsxRuntime.jsx("span",{children:I?`Intent: ${se}`:"Include context, impact, and urgency if applicable."})]})]})]}),jsxRuntime.jsxs("div",{className:"space-y-3 rounded-2xl border bg-background p-4",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs(Label$2,{htmlFor:"topbar-feedback-email",className:"flex items-center gap-2 text-sm font-semibold",children:[jsxRuntime.jsx(Mail,{className:"h-4 w-4"}),"Request a follow-up"]}),jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Include an email if you'd like us to provide updates or clarify details."})]}),jsxRuntime.jsx(Switch,{id:"feedback-follow-up",checked:A,onCheckedChange:ge=>M(!!ge),"aria-label":"Toggle follow-up preference"})]}),A&&jsxRuntime.jsx(Input,{id:"topbar-feedback-email",type:"email",value:C,onChange:ge=>E(ge.target.value),placeholder:"you@example.com"}),jsxRuntime.jsxs("div",{className:"rounded-xl bg-muted px-3 py-2 text-[11px] text-muted-foreground",children:["We use this email solely for this conversation. The page URL you were on (",q,") is attached automatically for added context."]})]}),jsxRuntime.jsx(Separator$1,{}),jsxRuntime.jsxs(DialogFooter,{className:"gap-3",children:[jsxRuntime.jsx(Button$1,{type:"button",variant:"outline",onClick:()=>_(!1),disabled:ne,children:"Cancel"}),jsxRuntime.jsx(Button$1,{type:"submit",disabled:ne,children:ne?"Sending...":"Send Feedback"})]})]})})]}),o,t&&jsxRuntime.jsx("div",{className:"flex items-center",children:jsxRuntime.jsxs(Button$1,{variant:"ghost",size:"icon",className:"h-9 w-9",onClick:t,children:[jsxRuntime.jsx(LogOut,{className:"h-4 w-4 text-sidebar-foreground"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Sign out"})]})})]})]})});Topbar.displayName="Topbar";function ActiveOrdersCard({orders:e,loading:t=!1}){const n=React.useMemo(()=>{if(!e||e.length===0)return{all:{orders:0,amount:0},processing:{orders:0,amount:0},shipped:{orders:0,amount:0},delayed:{orders:0,amount:0}};const l=e.filter(I=>I.DocumentType==="Order"),d=e.filter(I=>I.DocumentType==="Shipment"),f=l.filter(I=>I.WarehouseCode!=="3PLE"),g=f.reduce((I,j)=>I+(j.Quantity||0),0),b=f.reduce((I,j)=>I+(j.ExtendedPrice||0),0),_=l.filter(I=>I.WarehouseCode==="3PLE"),S=_.reduce((I,j)=>I+(j.Quantity||0),0),R=_.reduce((I,j)=>I+(j.ExtendedPrice||0),0),C=d.length,E=d.reduce((I,j)=>I+(j.ExtendedPrice||0),0),A=g+S+C,M=b+R+E;return{all:{orders:A,amount:M},processing:{orders:g,amount:b},shipped:{orders:C,amount:E},delayed:{orders:S,amount:R}}},[e]),o=[{name:"All",icon:Package,color:"bg-blue-500",textColor:"text-blue-600",orders:n.all.orders,amount:n.all.amount},{name:"Processing",icon:RefreshCcw,color:"bg-yellow-500",textColor:"text-yellow-600",orders:n.processing.orders,amount:n.processing.amount},{name:"Shipped",icon:Truck,color:"bg-green-500",textColor:"text-green-600",orders:n.shipped.orders,amount:n.shipped.amount},{name:"Delayed",icon:CircleAlert,color:"bg-red-500",textColor:"text-red-600",orders:n.delayed.orders,amount:n.delayed.amount}];return t?jsxRuntime.jsxs(Card,{className:"@container",children:[jsxRuntime.jsx(CardHeader,{className:"pb-0",children:jsxRuntime.jsx(CardTitle,{className:"text-lg font-bold",children:"Active Orders"})}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4",children:[1,2,3,4].map(l=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-md border",children:[jsxRuntime.jsx("div",{className:"bg-slate-200 dark:bg-slate-700 h-[3px]"}),jsxRuntime.jsxs("div",{className:"p-6 border border-t-0",children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsx(Skeleton,{className:"h-5 w-24"}),jsxRuntime.jsx(Skeleton,{className:"h-8 w-8 rounded-full"})]}),jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(Skeleton,{className:"h-3 w-16 mb-2"}),jsxRuntime.jsx(Skeleton,{className:"h-7 w-12"})]}),jsxRuntime.jsxs("div",{className:"text-end",children:[jsxRuntime.jsx(Skeleton,{className:"h-3 w-16 mb-2"}),jsxRuntime.jsx(Skeleton,{className:"h-5 w-20"})]})]})]})]},l))})]}):jsxRuntime.jsxs(Card,{className:"@container",children:[jsxRuntime.jsx(CardHeader,{className:"pb-0",children:jsxRuntime.jsx(CardTitle,{className:"text-lg font-bold",children:"Active Orders"})}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4",children:o.map(l=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-md border",children:[jsxRuntime.jsx("div",{className:`${l.color} bg-opacity-60 h-[3px]`}),jsxRuntime.jsxs("div",{className:"p-6 border border-t-0",children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsx("h3",{className:"font-semibold text-base",children:l.name}),jsxRuntime.jsx("div",{className:`${l.color} bg-opacity-90 p-2 rounded-full`,children:jsxRuntime.jsx(l.icon,{className:"size-4 shrink-0 text-white"})})]}),jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Total Orders"}),jsxRuntime.jsx("p",{className:"text-xl font-bold",children:l.orders})]}),jsxRuntime.jsxs("div",{className:"text-end",children:[jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Total Amount"}),jsxRuntime.jsx("p",{className:"text-base font-semibold",children:formatMoney(l.amount)})]})]})]})]},l.name))})]})}var __create=Object.create,__getProtoOf=Object.getPrototypeOf,__defProp=Object.defineProperty,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__toESM=(e,t,n)=>{n=e!=null?__create(__getProtoOf(e)):{};const o=__defProp(n,"default",{value:e,enumerable:!0});for(let l of __getOwnPropNames(e))__hasOwnProp.call(o,l)||__defProp(o,l,{get:()=>e[l],enumerable:!0});return o},__commonJS=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),require_xhtml=__commonJS((e,t)=>{t.exports={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:"♦"}}),require_acorn=__commonJS((e,t)=>{(function(n,o){typeof e=="object"&&typeof t<"u"?o(e):typeof define=="function"&&define.amd?define(["exports"],o):(n=typeof globalThis<"u"?globalThis:n||self,o(n.acorn={}))})(e,function(n){var o=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],l=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],d="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",f="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",g={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},b="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_={5:b,"5module":b+" export import",6:b+" const class extends export import super"},S=/^in(stanceof)?$/,R=new RegExp("["+f+"]"),C=new RegExp("["+f+d+"]");function E(z,Ae){for(var Fe=65536,Ue=0;Ue<Ae.length;Ue+=2){if(Fe+=Ae[Ue],Fe>z)return!1;if(Fe+=Ae[Ue+1],Fe>=z)return!0}return!1}function A(z,Ae){return z<65?z===36:z<91?!0:z<97?z===95:z<123?!0:z<=65535?z>=170&&R.test(String.fromCharCode(z)):Ae===!1?!1:E(z,l)}function M(z,Ae){return z<48?z===36:z<58?!0:z<65?!1:z<91?!0:z<97?z===95:z<123?!0:z<=65535?z>=170&&C.test(String.fromCharCode(z)):Ae===!1?!1:E(z,l)||E(z,o)}var I=function(Ae,Fe){Fe===void 0&&(Fe={}),this.label=Ae,this.keyword=Fe.keyword,this.beforeExpr=!!Fe.beforeExpr,this.startsExpr=!!Fe.startsExpr,this.isLoop=!!Fe.isLoop,this.isAssign=!!Fe.isAssign,this.prefix=!!Fe.prefix,this.postfix=!!Fe.postfix,this.binop=Fe.binop||null,this.updateContext=null};function j(z,Ae){return new I(z,{beforeExpr:!0,binop:Ae})}var q={beforeExpr:!0},Q={startsExpr:!0},te={};function F(z,Ae){return Ae===void 0&&(Ae={}),Ae.keyword=z,te[z]=new I(z,Ae)}var V={num:new I("num",Q),regexp:new I("regexp",Q),string:new I("string",Q),name:new I("name",Q),privateId:new I("privateId",Q),eof:new I("eof"),bracketL:new I("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new I("]"),braceL:new I("{",{beforeExpr:!0,startsExpr:!0}),braceR:new I("}"),parenL:new I("(",{beforeExpr:!0,startsExpr:!0}),parenR:new I(")"),comma:new I(",",q),semi:new I(";",q),colon:new I(":",q),dot:new I("."),question:new I("?",q),questionDot:new I("?."),arrow:new I("=>",q),template:new I("template"),invalidTemplate:new I("invalidTemplate"),ellipsis:new I("...",q),backQuote:new I("`",Q),dollarBraceL:new I("${",{beforeExpr:!0,startsExpr:!0}),eq:new I("=",{beforeExpr:!0,isAssign:!0}),assign:new I("_=",{beforeExpr:!0,isAssign:!0}),incDec:new I("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new I("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:j("||",1),logicalAND:j("&&",2),bitwiseOR:j("|",3),bitwiseXOR:j("^",4),bitwiseAND:j("&",5),equality:j("==/!=/===/!==",6),relational:j("</>/<=/>=",7),bitShift:j("<</>>/>>>",8),plusMin:new I("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:j("%",10),star:j("*",10),slash:j("/",10),starstar:new I("**",{beforeExpr:!0}),coalesce:j("??",1),_break:F("break"),_case:F("case",q),_catch:F("catch"),_continue:F("continue"),_debugger:F("debugger"),_default:F("default",q),_do:F("do",{isLoop:!0,beforeExpr:!0}),_else:F("else",q),_finally:F("finally"),_for:F("for",{isLoop:!0}),_function:F("function",Q),_if:F("if"),_return:F("return",q),_switch:F("switch"),_throw:F("throw",q),_try:F("try"),_var:F("var"),_const:F("const"),_while:F("while",{isLoop:!0}),_with:F("with"),_new:F("new",{beforeExpr:!0,startsExpr:!0}),_this:F("this",Q),_super:F("super",Q),_class:F("class",Q),_extends:F("extends",q),_export:F("export"),_import:F("import",Q),_null:F("null",Q),_true:F("true",Q),_false:F("false",Q),_in:F("in",{beforeExpr:!0,binop:7}),_instanceof:F("instanceof",{beforeExpr:!0,binop:7}),_typeof:F("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:F("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:F("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ne=/\r\n?|\n|\u2028|\u2029/,ae=new RegExp(ne.source,"g");function se(z){return z===10||z===13||z===8232||z===8233}function Oe(z,Ae,Fe){Fe===void 0&&(Fe=z.length);for(var Ue=Ae;Ue<Fe;Ue++){var Qe=z.charCodeAt(Ue);if(se(Qe))return Ue<Fe-1&&Qe===13&&z.charCodeAt(Ue+1)===10?Ue+2:Ue+1}return-1}var Ne=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,oe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,$e=Object.prototype,ge=$e.hasOwnProperty,je=$e.toString,Be=Object.hasOwn||function(z,Ae){return ge.call(z,Ae)},qe=Array.isArray||function(z){return je.call(z)==="[object Array]"},Ve=Object.create(null);function Le(z){return Ve[z]||(Ve[z]=new RegExp("^(?:"+z.replace(/ /g,"|")+")$"))}function He(z){return z<=65535?String.fromCharCode(z):(z-=65536,String.fromCharCode((z>>10)+55296,(z&1023)+56320))}var We=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ze=function(Ae,Fe){this.line=Ae,this.column=Fe};ze.prototype.offset=function(Ae){return new ze(this.line,this.column+Ae)};var Xe=function(Ae,Fe,Ue){this.start=Fe,this.end=Ue,Ae.sourceFile!==null&&(this.source=Ae.sourceFile)};function tt(z,Ae){for(var Fe=1,Ue=0;;){var Qe=Oe(z,Ue,Ae);if(Qe<0)return new ze(Fe,Ae-Ue);++Fe,Ue=Qe}}var Je={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ot=!1;function Ze(z){var Ae={};for(var Fe in Je)Ae[Fe]=z&&Be(z,Fe)?z[Fe]:Je[Fe];if(Ae.ecmaVersion==="latest"?Ae.ecmaVersion=1e8:Ae.ecmaVersion==null?(!ot&&typeof console=="object"&&console.warn&&(ot=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
1227
+ ${qe}`:je;try{await V({applicationId:e,comment:Ve,emailAddress:Be||void 0}).unwrap(),F({title:"Feedback sent",description:"Thanks for helping us improve."}),_(!1),R(""),E(""),M(!1),j(null)}catch(Le){console.error("Failed to send feedback",Le),F({title:"Feedback could not be sent",description:"Please try again in a moment.",variant:"destructive"})}};return jsxRuntime.jsxs("header",{className:"flex h-16 items-center gap-4 border-b sidebar-foreground bg-sidebar px-6 fixed top-0 right-0 z-50 lg:left-64 left-0 border-sidebar-border",children:[jsxRuntime.jsx(SidebarTrigger,{className:"lg:hidden",children:jsxRuntime.jsx(Menu$1,{className:"h-6 w-6"})}),jsxRuntime.jsx("div",{className:"flex flex-1 items-center gap-4",children:jsxRuntime.jsx("div",{className:"relative w-full max-w-sm",children:jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("button",{type:"button",className:"absolute left-2 top-1/2 -translate-y-1/2",onClick:Oe,"aria-label":"Search",children:jsxRuntime.jsx(Search,{className:"h-4 w-4 text-muted-foreground"})}),jsxRuntime.jsx(Input,{placeholder:l??"Search...",className:"w-full pl-8 bg-white text-black",value:f,onChange:ge=>g(ge.target.value),onKeyDown:Ne,ref:d},"topbar-search")]})})}),jsxRuntime.jsxs("div",{className:"flex items-center gap-3",children:[jsxRuntime.jsxs(Dialog,{open:b,onOpenChange:_,children:[jsxRuntime.jsx(DialogTrigger,{asChild:!0,children:jsxRuntime.jsxs(Button$1,{type:"button",variant:"outline",size:"sm",className:"gap-2",children:[jsxRuntime.jsx(MessageSquare,{className:"h-4 w-4"}),"Feedback"]})}),jsxRuntime.jsx(DialogContent,{className:"w-[min(95vw,980px)] max-w-4xl overflow-hidden border border-border/40 bg-background p-0 shadow-[0_35px_120px_rgba(15,23,42,0.45)]",children:jsxRuntime.jsxs("form",{className:"flex max-h-[85vh] flex-col gap-6 overflow-y-auto bg-background p-6 sm:p-8",onSubmit:oe,children:[jsxRuntime.jsxs("div",{className:"relative overflow-hidden rounded-[32px] bg-gradient-to-br from-slate-950 via-slate-900 to-indigo-950 p-6 text-white shadow-[0_20px_45px_rgba(15,23,42,0.55)] sm:p-8",children:[jsxRuntime.jsxs("div",{className:"pointer-events-none absolute inset-0 opacity-70",children:[jsxRuntime.jsx("div",{className:"absolute -left-14 top-10 h-32 w-32 rounded-full bg-white/10 blur-3xl","aria-hidden":"true"}),jsxRuntime.jsx("div",{className:"absolute right-0 top-1/2 h-40 w-40 -translate-y-1/2 rounded-full bg-indigo-400/20 blur-3xl","aria-hidden":"true"}),jsxRuntime.jsx("div",{className:"absolute bottom-0 left-1/3 h-44 w-44 translate-y-1/3 rounded-full bg-sky-300/20 blur-3xl","aria-hidden":"true"})]}),jsxRuntime.jsxs("div",{className:"relative flex flex-col gap-5",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 text-xs uppercase tracking-wide text-white/80",children:[jsxRuntime.jsx(Badge,{variant:"outline",className:"w-max border-white/30 bg-white/10 text-white",children:"Partner feedback desk"}),jsxRuntime.jsx("p",{className:"text-white/70",children:"Product & operations review every submission"})]}),jsxRuntime.jsxs(DialogHeader,{className:"space-y-3 text-left text-white",children:[jsxRuntime.jsx(DialogTitle,{className:"text-3xl leading-tight sm:text-4xl",children:"Share your perspective"}),jsxRuntime.jsx(DialogDescription,{className:"text-base text-white/80",children:"Clear context helps us triage, scope, and respond. Please highlight the scenario, desired outcome, and any urgency we should be aware of."})]}),jsxRuntime.jsx("div",{className:"grid grid-cols-2 gap-3 sm:grid-cols-4",children:FEEDBACK_STATS.map(ge=>jsxRuntime.jsxs("div",{className:"rounded-2xl border border-white/20 bg-white/10 p-3 text-left",children:[jsxRuntime.jsx("p",{className:"text-[11px] uppercase tracking-wide text-white/70",children:ge.label}),jsxRuntime.jsx("p",{className:"text-2xl font-semibold",children:ge.value})]},ge.label))}),jsxRuntime.jsxs("div",{className:"rounded-2xl border border-white/20 bg-white/5 p-4 text-sm leading-relaxed text-white/90",children:[jsxRuntime.jsxs("p",{className:"flex items-start gap-2 font-semibold",children:[jsxRuntime.jsx(Sparkles,{className:"mt-0.5 h-4 w-4 text-yellow-200"}),"To help us act quickly"]}),jsxRuntime.jsx("ul",{className:"mt-3 space-y-2 text-white/80",children:FEEDBACK_GUIDELINES.map(ge=>jsxRuntime.jsxs("li",{className:"flex items-start gap-2",children:[jsxRuntime.jsx(CircleCheck,{className:"mt-0.5 h-4 w-4 text-emerald-200"}),jsxRuntime.jsx("span",{children:ge})]},ge))})]}),jsxRuntime.jsxs("div",{className:"space-y-2 text-[11px] uppercase tracking-[0.18em] text-white/80",children:[jsxRuntime.jsx("p",{className:"font-semibold tracking-[0.25em] text-white",children:"Common focus areas"}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2",children:FEEDBACK_TAGS.map(ge=>jsxRuntime.jsx("span",{className:"rounded-full border border-white/30 bg-white/10 px-3 py-1",children:ge},ge))})]})]})]}),jsxRuntime.jsxs("div",{className:"space-y-3",children:[jsxRuntime.jsxs("div",{className:"space-y-2 rounded-2xl border bg-muted/60 p-4",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2 text-xs text-muted-foreground",children:[jsxRuntime.jsx("p",{className:"font-semibold uppercase tracking-wide text-foreground",children:"Select an intent"}),jsxRuntime.jsx("p",{children:I?`Currently tagged as ${se}.`:"Choosing a category routes the note to the right team."})]}),jsxRuntime.jsx("div",{className:"flex flex-wrap gap-2",children:FEEDBACK_INTENT_OPTIONS.map(ge=>jsxRuntime.jsx(Button$1,{type:"button",variant:I===ge.value?"default":"outline",size:"sm",className:cn("rounded-full px-3 text-xs transition-all",I===ge.value?"shadow-lg shadow-primary/30":"bg-background hover:-translate-y-[1px]"),"aria-pressed":I===ge.value,onClick:()=>j(je=>je===ge.value?null:ge.value),children:ge.label},ge.value))}),I&&jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:($e=FEEDBACK_INTENT_OPTIONS.find(ge=>ge.value===I))==null?void 0:$e.description})]}),jsxRuntime.jsxs("div",{className:"space-y-2",children:[jsxRuntime.jsx(Label$2,{htmlFor:"topbar-feedback-message",className:"text-sm font-semibold",children:"What should we know?"}),jsxRuntime.jsx(Textarea,{id:"topbar-feedback-message",rows:4,value:S,onChange:ge=>R(ge.target.value),maxLength:FEEDBACK_MAX_LENGTH,placeholder:"Describe the situation, expected outcome, and any supporting context.",className:"resize-none rounded-2xl border-2 border-dashed border-muted/80 bg-gradient-to-br from-muted/40 to-background focus-visible:border-primary focus-visible:ring-primary/40"}),jsxRuntime.jsxs("div",{className:"flex justify-between text-xs text-muted-foreground",children:[jsxRuntime.jsx("span",{children:ae?`${ae}/${FEEDBACK_MAX_LENGTH} characters`:"Up to 800 characters is plenty."}),jsxRuntime.jsx("span",{children:I?`Intent: ${se}`:"Include context, impact, and urgency if applicable."})]})]})]}),jsxRuntime.jsxs("div",{className:"space-y-3 rounded-2xl border bg-background p-4",children:[jsxRuntime.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsxs(Label$2,{htmlFor:"topbar-feedback-email",className:"flex items-center gap-2 text-sm font-semibold",children:[jsxRuntime.jsx(Mail,{className:"h-4 w-4"}),"Request a follow-up"]}),jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Include an email if you'd like us to provide updates or clarify details."})]}),jsxRuntime.jsx(Switch,{id:"feedback-follow-up",checked:A,onCheckedChange:ge=>M(!!ge),"aria-label":"Toggle follow-up preference"})]}),A&&jsxRuntime.jsx(Input,{id:"topbar-feedback-email",type:"email",value:C,onChange:ge=>E(ge.target.value),placeholder:"you@example.com"}),jsxRuntime.jsxs("div",{className:"rounded-xl bg-muted px-3 py-2 text-[11px] text-muted-foreground",children:["We use this email solely for this conversation. The page URL you were on (",q,") is attached automatically for added context."]})]}),jsxRuntime.jsx(Separator$1,{}),jsxRuntime.jsxs(DialogFooter,{className:"gap-3",children:[jsxRuntime.jsx(Button$1,{type:"button",variant:"outline",onClick:()=>_(!1),disabled:ne,children:"Cancel"}),jsxRuntime.jsx(Button$1,{type:"submit",disabled:ne,children:ne?"Sending...":"Send Feedback"})]})]})})]}),o,t&&jsxRuntime.jsx("div",{className:"flex items-center",children:jsxRuntime.jsxs(Button$1,{variant:"ghost",size:"icon",className:"h-9 w-9",onClick:t,children:[jsxRuntime.jsx(LogOut,{className:"h-4 w-4 text-sidebar-foreground"}),jsxRuntime.jsx("span",{className:"sr-only",children:"Sign out"})]})})]})]})});Topbar.displayName="Topbar";function ActiveOrdersCard({orders:e,loading:t=!1}){const n=React.useMemo(()=>{if(!e||e.length===0)return{all:{orders:0,amount:0},processing:{orders:0,amount:0},shipped:{orders:0,amount:0},delayed:{orders:0,amount:0}};const l=e.filter(I=>I.DocumentType==="Order"),d=e.filter(I=>I.DocumentType==="Shipment"),f=l.filter(I=>I.WarehouseCode!=="3PLE"),g=f.reduce((I,j)=>I+(j.Quantity||0),0),b=f.reduce((I,j)=>I+(j.ExtendedPrice||0),0),_=l.filter(I=>I.WarehouseCode==="3PLE"),S=_.reduce((I,j)=>I+(j.Quantity||0),0),R=_.reduce((I,j)=>I+(j.ExtendedPrice||0),0),C=d.length,E=d.reduce((I,j)=>I+(j.ExtendedPrice||0),0),A=g+S+C,M=b+R+E;return{all:{orders:A,amount:M},processing:{orders:g,amount:b},shipped:{orders:C,amount:E},delayed:{orders:S,amount:R}}},[e]),o=[{name:"All",icon:Package,color:"bg-blue-500",textColor:"text-blue-600",orders:n.all.orders,amount:n.all.amount},{name:"Processing",icon:RefreshCcw,color:"bg-yellow-500",textColor:"text-yellow-600",orders:n.processing.orders,amount:n.processing.amount},{name:"Shipped",icon:Truck,color:"bg-green-500",textColor:"text-green-600",orders:n.shipped.orders,amount:n.shipped.amount},{name:"Delayed",icon:CircleAlert,color:"bg-red-500",textColor:"text-red-600",orders:n.delayed.orders,amount:n.delayed.amount}];return t?jsxRuntime.jsxs(Card,{className:"@container",children:[jsxRuntime.jsx(CardHeader,{className:"pb-0",children:jsxRuntime.jsx(CardTitle,{className:"text-lg font-bold",children:"Active Orders"})}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4",children:[1,2,3,4].map(l=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-md border",children:[jsxRuntime.jsx("div",{className:"bg-slate-200 dark:bg-slate-700 h-[3px]"}),jsxRuntime.jsxs("div",{className:"p-6 border border-t-0",children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsx(Skeleton,{className:"h-5 w-24"}),jsxRuntime.jsx(Skeleton,{className:"h-8 w-8 rounded-full"})]}),jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(Skeleton,{className:"h-3 w-16 mb-2"}),jsxRuntime.jsx(Skeleton,{className:"h-7 w-12"})]}),jsxRuntime.jsxs("div",{className:"text-end",children:[jsxRuntime.jsx(Skeleton,{className:"h-3 w-16 mb-2"}),jsxRuntime.jsx(Skeleton,{className:"h-5 w-20"})]})]})]})]},l))})]}):jsxRuntime.jsxs(Card,{className:"@container",children:[jsxRuntime.jsx(CardHeader,{className:"pb-0",children:jsxRuntime.jsx(CardTitle,{className:"text-lg font-bold",children:"Active Orders"})}),jsxRuntime.jsx("div",{className:"grid grid-cols-1 @sm:grid-cols-2 gap-4 p-4",children:o.map(l=>jsxRuntime.jsxs("div",{className:"overflow-hidden rounded-md border",children:[jsxRuntime.jsx("div",{className:`${l.color} bg-opacity-60 h-[3px]`}),jsxRuntime.jsxs("div",{className:"p-6 border border-t-0",children:[jsxRuntime.jsxs("div",{className:"flex justify-between items-center mb-4",children:[jsxRuntime.jsx("h3",{className:"font-semibold text-base",children:l.name}),jsxRuntime.jsx("div",{className:`${l.color} bg-opacity-90 p-2 rounded-full`,children:jsxRuntime.jsx(l.icon,{className:"size-4 shrink-0 text-white"})})]}),jsxRuntime.jsxs("div",{className:"flex justify-between items-start",children:[jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Total Orders"}),jsxRuntime.jsx("p",{className:"text-xl font-bold",children:l.orders})]}),jsxRuntime.jsxs("div",{className:"text-end",children:[jsxRuntime.jsx("p",{className:"text-xs text-muted-foreground",children:"Total Amount"}),jsxRuntime.jsx("p",{className:"text-base font-semibold",children:formatMoney(l.amount)})]})]})]})]},l.name))})]})}var __create=Object.create,__getProtoOf=Object.getPrototypeOf,__defProp=Object.defineProperty,__getOwnPropNames=Object.getOwnPropertyNames,__hasOwnProp=Object.prototype.hasOwnProperty,__toESM=(e,t,n)=>{n=e!=null?__create(__getProtoOf(e)):{};const o=__defProp(n,"default",{value:e,enumerable:!0});for(let l of __getOwnPropNames(e))__hasOwnProp.call(o,l)||__defProp(o,l,{get:()=>e[l],enumerable:!0});return o},__commonJS=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),require_xhtml=__commonJS((e,t)=>{t.exports={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:"♦"}}),require_acorn=__commonJS((e,t)=>{(function(n,o){typeof e=="object"&&typeof t<"u"?o(e):typeof define=="function"&&define.amd?define(["exports"],o):(n=typeof globalThis<"u"?globalThis:n||self,o(n.acorn={}))})(e,function(n){var o=[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,81,2,71,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,3,0,158,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,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,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,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],l=[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,20,1,64,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,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,16,0,30,2,3,0,15,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,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,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,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],d="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",f="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",g={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},b="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",_={5:b,"5module":b+" export import",6:b+" const class extends export import super"},S=/^in(stanceof)?$/,R=new RegExp("["+f+"]"),C=new RegExp("["+f+d+"]");function E(z,Ae){for(var Fe=65536,Ue=0;Ue<Ae.length;Ue+=2){if(Fe+=Ae[Ue],Fe>z)return!1;if(Fe+=Ae[Ue+1],Fe>=z)return!0}return!1}function A(z,Ae){return z<65?z===36:z<91?!0:z<97?z===95:z<123?!0:z<=65535?z>=170&&R.test(String.fromCharCode(z)):Ae===!1?!1:E(z,l)}function M(z,Ae){return z<48?z===36:z<58?!0:z<65?!1:z<91?!0:z<97?z===95:z<123?!0:z<=65535?z>=170&&C.test(String.fromCharCode(z)):Ae===!1?!1:E(z,l)||E(z,o)}var I=function(Ae,Fe){Fe===void 0&&(Fe={}),this.label=Ae,this.keyword=Fe.keyword,this.beforeExpr=!!Fe.beforeExpr,this.startsExpr=!!Fe.startsExpr,this.isLoop=!!Fe.isLoop,this.isAssign=!!Fe.isAssign,this.prefix=!!Fe.prefix,this.postfix=!!Fe.postfix,this.binop=Fe.binop||null,this.updateContext=null};function j(z,Ae){return new I(z,{beforeExpr:!0,binop:Ae})}var q={beforeExpr:!0},Q={startsExpr:!0},te={};function F(z,Ae){return Ae===void 0&&(Ae={}),Ae.keyword=z,te[z]=new I(z,Ae)}var V={num:new I("num",Q),regexp:new I("regexp",Q),string:new I("string",Q),name:new I("name",Q),privateId:new I("privateId",Q),eof:new I("eof"),bracketL:new I("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new I("]"),braceL:new I("{",{beforeExpr:!0,startsExpr:!0}),braceR:new I("}"),parenL:new I("(",{beforeExpr:!0,startsExpr:!0}),parenR:new I(")"),comma:new I(",",q),semi:new I(";",q),colon:new I(":",q),dot:new I("."),question:new I("?",q),questionDot:new I("?."),arrow:new I("=>",q),template:new I("template"),invalidTemplate:new I("invalidTemplate"),ellipsis:new I("...",q),backQuote:new I("`",Q),dollarBraceL:new I("${",{beforeExpr:!0,startsExpr:!0}),eq:new I("=",{beforeExpr:!0,isAssign:!0}),assign:new I("_=",{beforeExpr:!0,isAssign:!0}),incDec:new I("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new I("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:j("||",1),logicalAND:j("&&",2),bitwiseOR:j("|",3),bitwiseXOR:j("^",4),bitwiseAND:j("&",5),equality:j("==/!=/===/!==",6),relational:j("</>/<=/>=",7),bitShift:j("<</>>/>>>",8),plusMin:new I("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:j("%",10),star:j("*",10),slash:j("/",10),starstar:new I("**",{beforeExpr:!0}),coalesce:j("??",1),_break:F("break"),_case:F("case",q),_catch:F("catch"),_continue:F("continue"),_debugger:F("debugger"),_default:F("default",q),_do:F("do",{isLoop:!0,beforeExpr:!0}),_else:F("else",q),_finally:F("finally"),_for:F("for",{isLoop:!0}),_function:F("function",Q),_if:F("if"),_return:F("return",q),_switch:F("switch"),_throw:F("throw",q),_try:F("try"),_var:F("var"),_const:F("const"),_while:F("while",{isLoop:!0}),_with:F("with"),_new:F("new",{beforeExpr:!0,startsExpr:!0}),_this:F("this",Q),_super:F("super",Q),_class:F("class",Q),_extends:F("extends",q),_export:F("export"),_import:F("import",Q),_null:F("null",Q),_true:F("true",Q),_false:F("false",Q),_in:F("in",{beforeExpr:!0,binop:7}),_instanceof:F("instanceof",{beforeExpr:!0,binop:7}),_typeof:F("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:F("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:F("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},ne=/\r\n?|\n|\u2028|\u2029/,ae=new RegExp(ne.source,"g");function se(z){return z===10||z===13||z===8232||z===8233}function Oe(z,Ae,Fe){Fe===void 0&&(Fe=z.length);for(var Ue=Ae;Ue<Fe;Ue++){var Qe=z.charCodeAt(Ue);if(se(Qe))return Ue<Fe-1&&Qe===13&&z.charCodeAt(Ue+1)===10?Ue+2:Ue+1}return-1}var Ne=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,oe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,$e=Object.prototype,ge=$e.hasOwnProperty,je=$e.toString,Be=Object.hasOwn||function(z,Ae){return ge.call(z,Ae)},qe=Array.isArray||function(z){return je.call(z)==="[object Array]"},Ve=Object.create(null);function Le(z){return Ve[z]||(Ve[z]=new RegExp("^(?:"+z.replace(/ /g,"|")+")$"))}function He(z){return z<=65535?String.fromCharCode(z):(z-=65536,String.fromCharCode((z>>10)+55296,(z&1023)+56320))}var We=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ze=function(Ae,Fe){this.line=Ae,this.column=Fe};ze.prototype.offset=function(Ae){return new ze(this.line,this.column+Ae)};var Xe=function(Ae,Fe,Ue){this.start=Fe,this.end=Ue,Ae.sourceFile!==null&&(this.source=Ae.sourceFile)};function tt(z,Ae){for(var Fe=1,Ue=0;;){var Qe=Oe(z,Ue,Ae);if(Qe<0)return new ze(Fe,Ae-Ue);++Fe,Ue=Qe}}var Je={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ot=!1;function Ze(z){var Ae={};for(var Fe in Je)Ae[Fe]=z&&Be(z,Fe)?z[Fe]:Je[Fe];if(Ae.ecmaVersion==="latest"?Ae.ecmaVersion=1e8:Ae.ecmaVersion==null?(!ot&&typeof console=="object"&&console.warn&&(ot=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
1228
1228
  Defaulting to 2020, but this will stop working in the future.`)),Ae.ecmaVersion=11):Ae.ecmaVersion>=2015&&(Ae.ecmaVersion-=2009),Ae.allowReserved==null&&(Ae.allowReserved=Ae.ecmaVersion<5),(!z||z.allowHashBang==null)&&(Ae.allowHashBang=Ae.ecmaVersion>=14),qe(Ae.onToken)){var Ue=Ae.onToken;Ae.onToken=function(Qe){return Ue.push(Qe)}}return qe(Ae.onComment)&&(Ae.onComment=st(Ae,Ae.onComment)),Ae}function st(z,Ae){return function(Fe,Ue,Qe,ut,pt,Vt){var Ft={type:Fe?"Block":"Line",value:Ue,start:Qe,end:ut};z.locations&&(Ft.loc=new Xe(this,pt,Vt)),z.ranges&&(Ft.range=[Qe,ut]),Ae.push(Ft)}}var et=1,lt=2,ct=4,Ge=8,$t=16,nt=32,Rt=64,dt=128,It=256,Mt=et|lt|It;function Ct(z,Ae){return lt|(z?ct:0)|(Ae?Ge:0)}var Ke=0,Ye=1,it=2,rt=3,ft=4,mt=5,yt=function(Ae,Fe,Ue){this.options=Ae=Ze(Ae),this.sourceFile=Ae.sourceFile,this.keywords=Le(_[Ae.ecmaVersion>=6?6:Ae.sourceType==="module"?"5module":5]);var Qe="";Ae.allowReserved!==!0&&(Qe=g[Ae.ecmaVersion>=6?6:Ae.ecmaVersion===5?5:3],Ae.sourceType==="module"&&(Qe+=" await")),this.reservedWords=Le(Qe);var ut=(Qe?Qe+" ":"")+g.strict;this.reservedWordsStrict=Le(ut),this.reservedWordsStrictBind=Le(ut+" "+g.strictBind),this.input=String(Fe),this.containsEsc=!1,Ue?(this.pos=Ue,this.lineStart=this.input.lastIndexOf(`
1229
1229
  `,Ue-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ne).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=V.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=Ae.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&Ae.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(et),this.regexpState=null,this.privateNameStack=[]},qt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};yt.prototype.parse=function(){var Ae=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(Ae)},qt.inFunction.get=function(){return(this.currentVarScope().flags&lt)>0},qt.inGenerator.get=function(){return(this.currentVarScope().flags&Ge)>0&&!this.currentVarScope().inClassFieldInit},qt.inAsync.get=function(){return(this.currentVarScope().flags&ct)>0&&!this.currentVarScope().inClassFieldInit},qt.canAwait.get=function(){for(var z=this.scopeStack.length-1;z>=0;z--){var Ae=this.scopeStack[z];if(Ae.inClassFieldInit||Ae.flags&It)return!1;if(Ae.flags&lt)return(Ae.flags&ct)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},qt.allowSuper.get=function(){var z=this.currentThisScope(),Ae=z.flags,Fe=z.inClassFieldInit;return(Ae&Rt)>0||Fe||this.options.allowSuperOutsideMethod},qt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&dt)>0},qt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},qt.allowNewDotTarget.get=function(){var z=this.currentThisScope(),Ae=z.flags,Fe=z.inClassFieldInit;return(Ae&(lt|It))>0||Fe},qt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&It)>0},yt.extend=function(){for(var Ae=[],Fe=arguments.length;Fe--;)Ae[Fe]=arguments[Fe];for(var Ue=this,Qe=0;Qe<Ae.length;Qe++)Ue=Ae[Qe](Ue);return Ue},yt.parse=function(Ae,Fe){return new this(Fe,Ae).parse()},yt.parseExpressionAt=function(Ae,Fe,Ue){var Qe=new this(Ue,Ae,Fe);return Qe.nextToken(),Qe.parseExpression()},yt.tokenizer=function(Ae,Fe){return new this(Fe,Ae)},Object.defineProperties(yt.prototype,qt);var Kt=yt.prototype,un=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Kt.strictDirective=function(z){if(this.options.ecmaVersion<5)return!1;for(;;){oe.lastIndex=z,z+=oe.exec(this.input)[0].length;var Ae=un.exec(this.input.slice(z));if(!Ae)return!1;if((Ae[1]||Ae[2])==="use strict"){oe.lastIndex=z+Ae[0].length;var Fe=oe.exec(this.input),Ue=Fe.index+Fe[0].length,Qe=this.input.charAt(Ue);return Qe===";"||Qe==="}"||ne.test(Fe[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(Qe)||Qe==="!"&&this.input.charAt(Ue+1)==="=")}z+=Ae[0].length,oe.lastIndex=z,z+=oe.exec(this.input)[0].length,this.input[z]===";"&&z++}},Kt.eat=function(z){return this.type===z?(this.next(),!0):!1},Kt.isContextual=function(z){return this.type===V.name&&this.value===z&&!this.containsEsc},Kt.eatContextual=function(z){return this.isContextual(z)?(this.next(),!0):!1},Kt.expectContextual=function(z){this.eatContextual(z)||this.unexpected()},Kt.canInsertSemicolon=function(){return this.type===V.eof||this.type===V.braceR||ne.test(this.input.slice(this.lastTokEnd,this.start))},Kt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Kt.semicolon=function(){!this.eat(V.semi)&&!this.insertSemicolon()&&this.unexpected()},Kt.afterTrailingComma=function(z,Ae){if(this.type===z)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),Ae||this.next(),!0},Kt.expect=function(z){this.eat(z)||this.unexpected()},Kt.unexpected=function(z){this.raise(z??this.start,"Unexpected token")};var pn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Kt.checkPatternErrors=function(z,Ae){if(z){z.trailingComma>-1&&this.raiseRecoverable(z.trailingComma,"Comma is not permitted after the rest element");var Fe=Ae?z.parenthesizedAssign:z.parenthesizedBind;Fe>-1&&this.raiseRecoverable(Fe,Ae?"Assigning to rvalue":"Parenthesized pattern")}},Kt.checkExpressionErrors=function(z,Ae){if(!z)return!1;var Fe=z.shorthandAssign,Ue=z.doubleProto;if(!Ae)return Fe>=0||Ue>=0;Fe>=0&&this.raise(Fe,"Shorthand property assignments are valid only in destructuring patterns"),Ue>=0&&this.raiseRecoverable(Ue,"Redefinition of __proto__ property")},Kt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},Kt.isSimpleAssignTarget=function(z){return z.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(z.expression):z.type==="Identifier"||z.type==="MemberExpression"};var Ut=yt.prototype;Ut.parseTopLevel=function(z){var Ae=Object.create(null);for(z.body||(z.body=[]);this.type!==V.eof;){var Fe=this.parseStatement(null,!0,Ae);z.body.push(Fe)}if(this.inModule)for(var Ue=0,Qe=Object.keys(this.undefinedExports);Ue<Qe.length;Ue+=1){var ut=Qe[Ue];this.raiseRecoverable(this.undefinedExports[ut].start,"Export '"+ut+"' is not defined")}return this.adaptDirectivePrologue(z.body),this.next(),z.sourceType=this.options.sourceType,this.finishNode(z,"Program")};var An={kind:"loop"},xn={kind:"switch"};Ut.isLet=function(z){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;oe.lastIndex=this.pos;var Ae=oe.exec(this.input),Fe=this.pos+Ae[0].length,Ue=this.input.charCodeAt(Fe);if(Ue===91||Ue===92)return!0;if(z)return!1;if(Ue===123||Ue>55295&&Ue<56320)return!0;if(A(Ue,!0)){for(var Qe=Fe+1;M(Ue=this.input.charCodeAt(Qe),!0);)++Qe;if(Ue===92||Ue>55295&&Ue<56320)return!0;var ut=this.input.slice(Fe,Qe);if(!S.test(ut))return!0}return!1},Ut.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;oe.lastIndex=this.pos;var z=oe.exec(this.input),Ae=this.pos+z[0].length,Fe;return!ne.test(this.input.slice(this.pos,Ae))&&this.input.slice(Ae,Ae+8)==="function"&&(Ae+8===this.input.length||!(M(Fe=this.input.charCodeAt(Ae+8))||Fe>55295&&Fe<56320))},Ut.parseStatement=function(z,Ae,Fe){var Ue=this.type,Qe=this.startNode(),ut;switch(this.isLet(z)&&(Ue=V._var,ut="let"),Ue){case V._break:case V._continue:return this.parseBreakContinueStatement(Qe,Ue.keyword);case V._debugger:return this.parseDebuggerStatement(Qe);case V._do:return this.parseDoStatement(Qe);case V._for:return this.parseForStatement(Qe);case V._function:return z&&(this.strict||z!=="if"&&z!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Qe,!1,!z);case V._class:return z&&this.unexpected(),this.parseClass(Qe,!0);case V._if:return this.parseIfStatement(Qe);case V._return:return this.parseReturnStatement(Qe);case V._switch:return this.parseSwitchStatement(Qe);case V._throw:return this.parseThrowStatement(Qe);case V._try:return this.parseTryStatement(Qe);case V._const:case V._var:return ut=ut||this.value,z&&ut!=="var"&&this.unexpected(),this.parseVarStatement(Qe,ut);case V._while:return this.parseWhileStatement(Qe);case V._with:return this.parseWithStatement(Qe);case V.braceL:return this.parseBlock(!0,Qe);case V.semi:return this.parseEmptyStatement(Qe);case V._export:case V._import:if(this.options.ecmaVersion>10&&Ue===V._import){oe.lastIndex=this.pos;var pt=oe.exec(this.input),Vt=this.pos+pt[0].length,Ft=this.input.charCodeAt(Vt);if(Ft===40||Ft===46)return this.parseExpressionStatement(Qe,this.parseExpression())}return this.options.allowImportExportEverywhere||(Ae||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),Ue===V._import?this.parseImport(Qe):this.parseExport(Qe,Fe);default:if(this.isAsyncFunction())return z&&this.unexpected(),this.next(),this.parseFunctionStatement(Qe,!0,!z);var nn=this.value,Qt=this.parseExpression();return Ue===V.name&&Qt.type==="Identifier"&&this.eat(V.colon)?this.parseLabeledStatement(Qe,nn,Qt,z):this.parseExpressionStatement(Qe,Qt)}},Ut.parseBreakContinueStatement=function(z,Ae){var Fe=Ae==="break";this.next(),this.eat(V.semi)||this.insertSemicolon()?z.label=null:this.type!==V.name?this.unexpected():(z.label=this.parseIdent(),this.semicolon());for(var Ue=0;Ue<this.labels.length;++Ue){var Qe=this.labels[Ue];if((z.label==null||Qe.name===z.label.name)&&(Qe.kind!=null&&(Fe||Qe.kind==="loop")||z.label&&Fe))break}return Ue===this.labels.length&&this.raise(z.start,"Unsyntactic "+Ae),this.finishNode(z,Fe?"BreakStatement":"ContinueStatement")},Ut.parseDebuggerStatement=function(z){return this.next(),this.semicolon(),this.finishNode(z,"DebuggerStatement")},Ut.parseDoStatement=function(z){return this.next(),this.labels.push(An),z.body=this.parseStatement("do"),this.labels.pop(),this.expect(V._while),z.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(V.semi):this.semicolon(),this.finishNode(z,"DoWhileStatement")},Ut.parseForStatement=function(z){this.next();var Ae=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(An),this.enterScope(0),this.expect(V.parenL),this.type===V.semi)return Ae>-1&&this.unexpected(Ae),this.parseFor(z,null);var Fe=this.isLet();if(this.type===V._var||this.type===V._const||Fe){var Ue=this.startNode(),Qe=Fe?"let":this.value;return this.next(),this.parseVar(Ue,!0,Qe),this.finishNode(Ue,"VariableDeclaration"),(this.type===V._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Ue.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===V._in?Ae>-1&&this.unexpected(Ae):z.await=Ae>-1),this.parseForIn(z,Ue)):(Ae>-1&&this.unexpected(Ae),this.parseFor(z,Ue))}var ut=this.isContextual("let"),pt=!1,Vt=this.containsEsc,Ft=new pn,nn=this.start,Qt=Ae>-1?this.parseExprSubscripts(Ft,"await"):this.parseExpression(!0,Ft);return this.type===V._in||(pt=this.options.ecmaVersion>=6&&this.isContextual("of"))?(Ae>-1?(this.type===V._in&&this.unexpected(Ae),z.await=!0):pt&&this.options.ecmaVersion>=8&&(Qt.start===nn&&!Vt&&Qt.type==="Identifier"&&Qt.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(z.await=!1)),ut&&pt&&this.raise(Qt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Qt,!1,Ft),this.checkLValPattern(Qt),this.parseForIn(z,Qt)):(this.checkExpressionErrors(Ft,!0),Ae>-1&&this.unexpected(Ae),this.parseFor(z,Qt))},Ut.parseFunctionStatement=function(z,Ae,Fe){return this.next(),this.parseFunction(z,vn|(Fe?0:Pn),!1,Ae)},Ut.parseIfStatement=function(z){return this.next(),z.test=this.parseParenExpression(),z.consequent=this.parseStatement("if"),z.alternate=this.eat(V._else)?this.parseStatement("if"):null,this.finishNode(z,"IfStatement")},Ut.parseReturnStatement=function(z){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(V.semi)||this.insertSemicolon()?z.argument=null:(z.argument=this.parseExpression(),this.semicolon()),this.finishNode(z,"ReturnStatement")},Ut.parseSwitchStatement=function(z){this.next(),z.discriminant=this.parseParenExpression(),z.cases=[],this.expect(V.braceL),this.labels.push(xn),this.enterScope(0);for(var Ae,Fe=!1;this.type!==V.braceR;)if(this.type===V._case||this.type===V._default){var Ue=this.type===V._case;Ae&&this.finishNode(Ae,"SwitchCase"),z.cases.push(Ae=this.startNode()),Ae.consequent=[],this.next(),Ue?Ae.test=this.parseExpression():(Fe&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),Fe=!0,Ae.test=null),this.expect(V.colon)}else Ae||this.unexpected(),Ae.consequent.push(this.parseStatement(null));return this.exitScope(),Ae&&this.finishNode(Ae,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(z,"SwitchStatement")},Ut.parseThrowStatement=function(z){return this.next(),ne.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),z.argument=this.parseExpression(),this.semicolon(),this.finishNode(z,"ThrowStatement")};var Rn=[];Ut.parseCatchClauseParam=function(){var z=this.parseBindingAtom(),Ae=z.type==="Identifier";return this.enterScope(Ae?nt:0),this.checkLValPattern(z,Ae?ft:it),this.expect(V.parenR),z},Ut.parseTryStatement=function(z){if(this.next(),z.block=this.parseBlock(),z.handler=null,this.type===V._catch){var Ae=this.startNode();this.next(),this.eat(V.parenL)?Ae.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),Ae.param=null,this.enterScope(0)),Ae.body=this.parseBlock(!1),this.exitScope(),z.handler=this.finishNode(Ae,"CatchClause")}return z.finalizer=this.eat(V._finally)?this.parseBlock():null,!z.handler&&!z.finalizer&&this.raise(z.start,"Missing catch or finally clause"),this.finishNode(z,"TryStatement")},Ut.parseVarStatement=function(z,Ae,Fe){return this.next(),this.parseVar(z,!1,Ae,Fe),this.semicolon(),this.finishNode(z,"VariableDeclaration")},Ut.parseWhileStatement=function(z){return this.next(),z.test=this.parseParenExpression(),this.labels.push(An),z.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(z,"WhileStatement")},Ut.parseWithStatement=function(z){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),z.object=this.parseParenExpression(),z.body=this.parseStatement("with"),this.finishNode(z,"WithStatement")},Ut.parseEmptyStatement=function(z){return this.next(),this.finishNode(z,"EmptyStatement")},Ut.parseLabeledStatement=function(z,Ae,Fe,Ue){for(var Qe=0,ut=this.labels;Qe<ut.length;Qe+=1){var pt=ut[Qe];pt.name===Ae&&this.raise(Fe.start,"Label '"+Ae+"' is already declared")}for(var Vt=this.type.isLoop?"loop":this.type===V._switch?"switch":null,Ft=this.labels.length-1;Ft>=0;Ft--){var nn=this.labels[Ft];if(nn.statementStart===z.start)nn.statementStart=this.start,nn.kind=Vt;else break}return this.labels.push({name:Ae,kind:Vt,statementStart:this.start}),z.body=this.parseStatement(Ue?Ue.indexOf("label")===-1?Ue+"label":Ue:"label"),this.labels.pop(),z.label=Fe,this.finishNode(z,"LabeledStatement")},Ut.parseExpressionStatement=function(z,Ae){return z.expression=Ae,this.semicolon(),this.finishNode(z,"ExpressionStatement")},Ut.parseBlock=function(z,Ae,Fe){for(z===void 0&&(z=!0),Ae===void 0&&(Ae=this.startNode()),Ae.body=[],this.expect(V.braceL),z&&this.enterScope(0);this.type!==V.braceR;){var Ue=this.parseStatement(null);Ae.body.push(Ue)}return Fe&&(this.strict=!1),this.next(),z&&this.exitScope(),this.finishNode(Ae,"BlockStatement")},Ut.parseFor=function(z,Ae){return z.init=Ae,this.expect(V.semi),z.test=this.type===V.semi?null:this.parseExpression(),this.expect(V.semi),z.update=this.type===V.parenR?null:this.parseExpression(),this.expect(V.parenR),z.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(z,"ForStatement")},Ut.parseForIn=function(z,Ae){var Fe=this.type===V._in;return this.next(),Ae.type==="VariableDeclaration"&&Ae.declarations[0].init!=null&&(!Fe||this.options.ecmaVersion<8||this.strict||Ae.kind!=="var"||Ae.declarations[0].id.type!=="Identifier")&&this.raise(Ae.start,(Fe?"for-in":"for-of")+" loop variable declaration may not have an initializer"),z.left=Ae,z.right=Fe?this.parseExpression():this.parseMaybeAssign(),this.expect(V.parenR),z.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(z,Fe?"ForInStatement":"ForOfStatement")},Ut.parseVar=function(z,Ae,Fe,Ue){for(z.declarations=[],z.kind=Fe;;){var Qe=this.startNode();if(this.parseVarId(Qe,Fe),this.eat(V.eq)?Qe.init=this.parseMaybeAssign(Ae):!Ue&&Fe==="const"&&!(this.type===V._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!Ue&&Qe.id.type!=="Identifier"&&!(Ae&&(this.type===V._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):Qe.init=null,z.declarations.push(this.finishNode(Qe,"VariableDeclarator")),!this.eat(V.comma))break}return z},Ut.parseVarId=function(z,Ae){z.id=this.parseBindingAtom(),this.checkLValPattern(z.id,Ae==="var"?Ye:it,!1)};var vn=1,Pn=2,Mn=4;Ut.parseFunction=function(z,Ae,Fe,Ue,Qe){this.initFunction(z),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Ue)&&(this.type===V.star&&Ae&Pn&&this.unexpected(),z.generator=this.eat(V.star)),this.options.ecmaVersion>=8&&(z.async=!!Ue),Ae&vn&&(z.id=Ae&Mn&&this.type!==V.name?null:this.parseIdent(),z.id&&!(Ae&Pn)&&this.checkLValSimple(z.id,this.strict||z.generator||z.async?this.treatFunctionsAsVar?Ye:it:rt));var ut=this.yieldPos,pt=this.awaitPos,Vt=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ct(z.async,z.generator)),Ae&vn||(z.id=this.type===V.name?this.parseIdent():null),this.parseFunctionParams(z),this.parseFunctionBody(z,Fe,!1,Qe),this.yieldPos=ut,this.awaitPos=pt,this.awaitIdentPos=Vt,this.finishNode(z,Ae&vn?"FunctionDeclaration":"FunctionExpression")},Ut.parseFunctionParams=function(z){this.expect(V.parenL),z.params=this.parseBindingList(V.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Ut.parseClass=function(z,Ae){this.next();var Fe=this.strict;this.strict=!0,this.parseClassId(z,Ae),this.parseClassSuper(z);var Ue=this.enterClassBody(),Qe=this.startNode(),ut=!1;for(Qe.body=[],this.expect(V.braceL);this.type!==V.braceR;){var pt=this.parseClassElement(z.superClass!==null);pt&&(Qe.body.push(pt),pt.type==="MethodDefinition"&&pt.kind==="constructor"?(ut&&this.raiseRecoverable(pt.start,"Duplicate constructor in the same class"),ut=!0):pt.key&&pt.key.type==="PrivateIdentifier"&&$n(Ue,pt)&&this.raiseRecoverable(pt.key.start,"Identifier '#"+pt.key.name+"' has already been declared"))}return this.strict=Fe,this.next(),z.body=this.finishNode(Qe,"ClassBody"),this.exitClassBody(),this.finishNode(z,Ae?"ClassDeclaration":"ClassExpression")},Ut.parseClassElement=function(z){if(this.eat(V.semi))return null;var Ae=this.options.ecmaVersion,Fe=this.startNode(),Ue="",Qe=!1,ut=!1,pt="method",Vt=!1;if(this.eatContextual("static")){if(Ae>=13&&this.eat(V.braceL))return this.parseClassStaticBlock(Fe),Fe;this.isClassElementNameStart()||this.type===V.star?Vt=!0:Ue="static"}if(Fe.static=Vt,!Ue&&Ae>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===V.star)&&!this.canInsertSemicolon()?ut=!0:Ue="async"),!Ue&&(Ae>=9||!ut)&&this.eat(V.star)&&(Qe=!0),!Ue&&!ut&&!Qe){var Ft=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?pt=Ft:Ue=Ft)}if(Ue?(Fe.computed=!1,Fe.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Fe.key.name=Ue,this.finishNode(Fe.key,"Identifier")):this.parseClassElementName(Fe),Ae<13||this.type===V.parenL||pt!=="method"||Qe||ut){var nn=!Fe.static&&Vn(Fe,"constructor"),Qt=nn&&z;nn&&pt!=="method"&&this.raise(Fe.key.start,"Constructor can't have get/set modifier"),Fe.kind=nn?"constructor":pt,this.parseClassMethod(Fe,Qe,ut,Qt)}else this.parseClassField(Fe);return Fe},Ut.isClassElementNameStart=function(){return this.type===V.name||this.type===V.privateId||this.type===V.num||this.type===V.string||this.type===V.bracketL||this.type.keyword},Ut.parseClassElementName=function(z){this.type===V.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),z.computed=!1,z.key=this.parsePrivateIdent()):this.parsePropertyName(z)},Ut.parseClassMethod=function(z,Ae,Fe,Ue){var Qe=z.key;z.kind==="constructor"?(Ae&&this.raise(Qe.start,"Constructor can't be a generator"),Fe&&this.raise(Qe.start,"Constructor can't be an async method")):z.static&&Vn(z,"prototype")&&this.raise(Qe.start,"Classes may not have a static property named prototype");var ut=z.value=this.parseMethod(Ae,Fe,Ue);return z.kind==="get"&&ut.params.length!==0&&this.raiseRecoverable(ut.start,"getter should have no params"),z.kind==="set"&&ut.params.length!==1&&this.raiseRecoverable(ut.start,"setter should have exactly one param"),z.kind==="set"&&ut.params[0].type==="RestElement"&&this.raiseRecoverable(ut.params[0].start,"Setter cannot use rest params"),this.finishNode(z,"MethodDefinition")},Ut.parseClassField=function(z){if(Vn(z,"constructor")?this.raise(z.key.start,"Classes can't have a field named 'constructor'"):z.static&&Vn(z,"prototype")&&this.raise(z.key.start,"Classes can't have a static field named 'prototype'"),this.eat(V.eq)){var Ae=this.currentThisScope(),Fe=Ae.inClassFieldInit;Ae.inClassFieldInit=!0,z.value=this.parseMaybeAssign(),Ae.inClassFieldInit=Fe}else z.value=null;return this.semicolon(),this.finishNode(z,"PropertyDefinition")},Ut.parseClassStaticBlock=function(z){z.body=[];var Ae=this.labels;for(this.labels=[],this.enterScope(It|Rt);this.type!==V.braceR;){var Fe=this.parseStatement(null);z.body.push(Fe)}return this.next(),this.exitScope(),this.labels=Ae,this.finishNode(z,"StaticBlock")},Ut.parseClassId=function(z,Ae){this.type===V.name?(z.id=this.parseIdent(),Ae&&this.checkLValSimple(z.id,it,!1)):(Ae===!0&&this.unexpected(),z.id=null)},Ut.parseClassSuper=function(z){z.superClass=this.eat(V._extends)?this.parseExprSubscripts(null,!1):null},Ut.enterClassBody=function(){var z={declared:Object.create(null),used:[]};return this.privateNameStack.push(z),z.declared},Ut.exitClassBody=function(){var z=this.privateNameStack.pop(),Ae=z.declared,Fe=z.used;if(this.options.checkPrivateFields)for(var Ue=this.privateNameStack.length,Qe=Ue===0?null:this.privateNameStack[Ue-1],ut=0;ut<Fe.length;++ut){var pt=Fe[ut];Be(Ae,pt.name)||(Qe?Qe.used.push(pt):this.raiseRecoverable(pt.start,"Private field '#"+pt.name+"' must be declared in an enclosing class"))}};function $n(z,Ae){var Fe=Ae.key.name,Ue=z[Fe],Qe="true";return Ae.type==="MethodDefinition"&&(Ae.kind==="get"||Ae.kind==="set")&&(Qe=(Ae.static?"s":"i")+Ae.kind),Ue==="iget"&&Qe==="iset"||Ue==="iset"&&Qe==="iget"||Ue==="sget"&&Qe==="sset"||Ue==="sset"&&Qe==="sget"?(z[Fe]="true",!1):Ue?!0:(z[Fe]=Qe,!1)}function Vn(z,Ae){var Fe=z.computed,Ue=z.key;return!Fe&&(Ue.type==="Identifier"&&Ue.name===Ae||Ue.type==="Literal"&&Ue.value===Ae)}Ut.parseExportAllDeclaration=function(z,Ae){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(z.exported=this.parseModuleExportName(),this.checkExport(Ae,z.exported,this.lastTokStart)):z.exported=null),this.expectContextual("from"),this.type!==V.string&&this.unexpected(),z.source=this.parseExprAtom(),this.semicolon(),this.finishNode(z,"ExportAllDeclaration")},Ut.parseExport=function(z,Ae){if(this.next(),this.eat(V.star))return this.parseExportAllDeclaration(z,Ae);if(this.eat(V._default))return this.checkExport(Ae,"default",this.lastTokStart),z.declaration=this.parseExportDefaultDeclaration(),this.finishNode(z,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())z.declaration=this.parseExportDeclaration(z),z.declaration.type==="VariableDeclaration"?this.checkVariableExport(Ae,z.declaration.declarations):this.checkExport(Ae,z.declaration.id,z.declaration.id.start),z.specifiers=[],z.source=null;else{if(z.declaration=null,z.specifiers=this.parseExportSpecifiers(Ae),this.eatContextual("from"))this.type!==V.string&&this.unexpected(),z.source=this.parseExprAtom();else{for(var Fe=0,Ue=z.specifiers;Fe<Ue.length;Fe+=1){var Qe=Ue[Fe];this.checkUnreserved(Qe.local),this.checkLocalExport(Qe.local),Qe.local.type==="Literal"&&this.raise(Qe.local.start,"A string literal cannot be used as an exported binding without `from`.")}z.source=null}this.semicolon()}return this.finishNode(z,"ExportNamedDeclaration")},Ut.parseExportDeclaration=function(z){return this.parseStatement(null)},Ut.parseExportDefaultDeclaration=function(){var z;if(this.type===V._function||(z=this.isAsyncFunction())){var Ae=this.startNode();return this.next(),z&&this.next(),this.parseFunction(Ae,vn|Mn,!1,z)}else if(this.type===V._class){var Fe=this.startNode();return this.parseClass(Fe,"nullableID")}else{var Ue=this.parseMaybeAssign();return this.semicolon(),Ue}},Ut.checkExport=function(z,Ae,Fe){z&&(typeof Ae!="string"&&(Ae=Ae.type==="Identifier"?Ae.name:Ae.value),Be(z,Ae)&&this.raiseRecoverable(Fe,"Duplicate export '"+Ae+"'"),z[Ae]=!0)},Ut.checkPatternExport=function(z,Ae){var Fe=Ae.type;if(Fe==="Identifier")this.checkExport(z,Ae,Ae.start);else if(Fe==="ObjectPattern")for(var Ue=0,Qe=Ae.properties;Ue<Qe.length;Ue+=1){var ut=Qe[Ue];this.checkPatternExport(z,ut)}else if(Fe==="ArrayPattern")for(var pt=0,Vt=Ae.elements;pt<Vt.length;pt+=1){var Ft=Vt[pt];Ft&&this.checkPatternExport(z,Ft)}else Fe==="Property"?this.checkPatternExport(z,Ae.value):Fe==="AssignmentPattern"?this.checkPatternExport(z,Ae.left):Fe==="RestElement"&&this.checkPatternExport(z,Ae.argument)},Ut.checkVariableExport=function(z,Ae){if(z)for(var Fe=0,Ue=Ae;Fe<Ue.length;Fe+=1){var Qe=Ue[Fe];this.checkPatternExport(z,Qe.id)}},Ut.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Ut.parseExportSpecifier=function(z){var Ae=this.startNode();return Ae.local=this.parseModuleExportName(),Ae.exported=this.eatContextual("as")?this.parseModuleExportName():Ae.local,this.checkExport(z,Ae.exported,Ae.exported.start),this.finishNode(Ae,"ExportSpecifier")},Ut.parseExportSpecifiers=function(z){var Ae=[],Fe=!0;for(this.expect(V.braceL);!this.eat(V.braceR);){if(Fe)Fe=!1;else if(this.expect(V.comma),this.afterTrailingComma(V.braceR))break;Ae.push(this.parseExportSpecifier(z))}return Ae},Ut.parseImport=function(z){return this.next(),this.type===V.string?(z.specifiers=Rn,z.source=this.parseExprAtom()):(z.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),z.source=this.type===V.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(z,"ImportDeclaration")},Ut.parseImportSpecifier=function(){var z=this.startNode();return z.imported=this.parseModuleExportName(),this.eatContextual("as")?z.local=this.parseIdent():(this.checkUnreserved(z.imported),z.local=z.imported),this.checkLValSimple(z.local,it),this.finishNode(z,"ImportSpecifier")},Ut.parseImportDefaultSpecifier=function(){var z=this.startNode();return z.local=this.parseIdent(),this.checkLValSimple(z.local,it),this.finishNode(z,"ImportDefaultSpecifier")},Ut.parseImportNamespaceSpecifier=function(){var z=this.startNode();return this.next(),this.expectContextual("as"),z.local=this.parseIdent(),this.checkLValSimple(z.local,it),this.finishNode(z,"ImportNamespaceSpecifier")},Ut.parseImportSpecifiers=function(){var z=[],Ae=!0;if(this.type===V.name&&(z.push(this.parseImportDefaultSpecifier()),!this.eat(V.comma)))return z;if(this.type===V.star)return z.push(this.parseImportNamespaceSpecifier()),z;for(this.expect(V.braceL);!this.eat(V.braceR);){if(Ae)Ae=!1;else if(this.expect(V.comma),this.afterTrailingComma(V.braceR))break;z.push(this.parseImportSpecifier())}return z},Ut.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===V.string){var z=this.parseLiteral(this.value);return We.test(z.value)&&this.raise(z.start,"An export name cannot include a lone surrogate."),z}return this.parseIdent(!0)},Ut.adaptDirectivePrologue=function(z){for(var Ae=0;Ae<z.length&&this.isDirectiveCandidate(z[Ae]);++Ae)z[Ae].directive=z[Ae].expression.raw.slice(1,-1)},Ut.isDirectiveCandidate=function(z){return this.options.ecmaVersion>=5&&z.type==="ExpressionStatement"&&z.expression.type==="Literal"&&typeof z.expression.value=="string"&&(this.input[z.start]==='"'||this.input[z.start]==="'")};var Jt=yt.prototype;Jt.toAssignable=function(z,Ae,Fe){if(this.options.ecmaVersion>=6&&z)switch(z.type){case"Identifier":this.inAsync&&z.name==="await"&&this.raise(z.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":z.type="ObjectPattern",Fe&&this.checkPatternErrors(Fe,!0);for(var Ue=0,Qe=z.properties;Ue<Qe.length;Ue+=1){var ut=Qe[Ue];this.toAssignable(ut,Ae),ut.type==="RestElement"&&(ut.argument.type==="ArrayPattern"||ut.argument.type==="ObjectPattern")&&this.raise(ut.argument.start,"Unexpected token")}break;case"Property":z.kind!=="init"&&this.raise(z.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(z.value,Ae);break;case"ArrayExpression":z.type="ArrayPattern",Fe&&this.checkPatternErrors(Fe,!0),this.toAssignableList(z.elements,Ae);break;case"SpreadElement":z.type="RestElement",this.toAssignable(z.argument,Ae),z.argument.type==="AssignmentPattern"&&this.raise(z.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":z.operator!=="="&&this.raise(z.left.end,"Only '=' operator can be used for specifying default value."),z.type="AssignmentPattern",delete z.operator,this.toAssignable(z.left,Ae);break;case"ParenthesizedExpression":this.toAssignable(z.expression,Ae,Fe);break;case"ChainExpression":this.raiseRecoverable(z.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!Ae)break;default:this.raise(z.start,"Assigning to rvalue")}else Fe&&this.checkPatternErrors(Fe,!0);return z},Jt.toAssignableList=function(z,Ae){for(var Fe=z.length,Ue=0;Ue<Fe;Ue++){var Qe=z[Ue];Qe&&this.toAssignable(Qe,Ae)}if(Fe){var ut=z[Fe-1];this.options.ecmaVersion===6&&Ae&&ut&&ut.type==="RestElement"&&ut.argument.type!=="Identifier"&&this.unexpected(ut.argument.start)}return z},Jt.parseSpread=function(z){var Ae=this.startNode();return this.next(),Ae.argument=this.parseMaybeAssign(!1,z),this.finishNode(Ae,"SpreadElement")},Jt.parseRestBinding=function(){var z=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==V.name&&this.unexpected(),z.argument=this.parseBindingAtom(),this.finishNode(z,"RestElement")},Jt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case V.bracketL:var z=this.startNode();return this.next(),z.elements=this.parseBindingList(V.bracketR,!0,!0),this.finishNode(z,"ArrayPattern");case V.braceL:return this.parseObj(!0)}return this.parseIdent()},Jt.parseBindingList=function(z,Ae,Fe,Ue){for(var Qe=[],ut=!0;!this.eat(z);)if(ut?ut=!1:this.expect(V.comma),Ae&&this.type===V.comma)Qe.push(null);else{if(Fe&&this.afterTrailingComma(z))break;if(this.type===V.ellipsis){var pt=this.parseRestBinding();this.parseBindingListItem(pt),Qe.push(pt),this.type===V.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(z);break}else Qe.push(this.parseAssignableListItem(Ue))}return Qe},Jt.parseAssignableListItem=function(z){var Ae=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(Ae),Ae},Jt.parseBindingListItem=function(z){return z},Jt.parseMaybeDefault=function(z,Ae,Fe){if(Fe=Fe||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(V.eq))return Fe;var Ue=this.startNodeAt(z,Ae);return Ue.left=Fe,Ue.right=this.parseMaybeAssign(),this.finishNode(Ue,"AssignmentPattern")},Jt.checkLValSimple=function(z,Ae,Fe){Ae===void 0&&(Ae=Ke);var Ue=Ae!==Ke;switch(z.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(z.name)&&this.raiseRecoverable(z.start,(Ue?"Binding ":"Assigning to ")+z.name+" in strict mode"),Ue&&(Ae===it&&z.name==="let"&&this.raiseRecoverable(z.start,"let is disallowed as a lexically bound name"),Fe&&(Be(Fe,z.name)&&this.raiseRecoverable(z.start,"Argument name clash"),Fe[z.name]=!0),Ae!==mt&&this.declareName(z.name,Ae,z.start));break;case"ChainExpression":this.raiseRecoverable(z.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Ue&&this.raiseRecoverable(z.start,"Binding member expression");break;case"ParenthesizedExpression":return Ue&&this.raiseRecoverable(z.start,"Binding parenthesized expression"),this.checkLValSimple(z.expression,Ae,Fe);default:this.raise(z.start,(Ue?"Binding":"Assigning to")+" rvalue")}},Jt.checkLValPattern=function(z,Ae,Fe){switch(Ae===void 0&&(Ae=Ke),z.type){case"ObjectPattern":for(var Ue=0,Qe=z.properties;Ue<Qe.length;Ue+=1){var ut=Qe[Ue];this.checkLValInnerPattern(ut,Ae,Fe)}break;case"ArrayPattern":for(var pt=0,Vt=z.elements;pt<Vt.length;pt+=1){var Ft=Vt[pt];Ft&&this.checkLValInnerPattern(Ft,Ae,Fe)}break;default:this.checkLValSimple(z,Ae,Fe)}},Jt.checkLValInnerPattern=function(z,Ae,Fe){switch(Ae===void 0&&(Ae=Ke),z.type){case"Property":this.checkLValInnerPattern(z.value,Ae,Fe);break;case"AssignmentPattern":this.checkLValPattern(z.left,Ae,Fe);break;case"RestElement":this.checkLValPattern(z.argument,Ae,Fe);break;default:this.checkLValPattern(z,Ae,Fe)}};var Zt=function(Ae,Fe,Ue,Qe,ut){this.token=Ae,this.isExpr=!!Fe,this.preserveSpace=!!Ue,this.override=Qe,this.generator=!!ut},Ht={b_stat:new Zt("{",!1),b_expr:new Zt("{",!0),b_tmpl:new Zt("${",!1),p_stat:new Zt("(",!1),p_expr:new Zt("(",!0),q_tmpl:new Zt("`",!0,!0,function(z){return z.tryReadTemplateToken()}),f_stat:new Zt("function",!1),f_expr:new Zt("function",!0),f_expr_gen:new Zt("function",!0,!1,null,!0),f_gen:new Zt("function",!1,!1,null,!0)},tn=yt.prototype;tn.initialContext=function(){return[Ht.b_stat]},tn.curContext=function(){return this.context[this.context.length-1]},tn.braceIsBlock=function(z){var Ae=this.curContext();return Ae===Ht.f_expr||Ae===Ht.f_stat?!0:z===V.colon&&(Ae===Ht.b_stat||Ae===Ht.b_expr)?!Ae.isExpr:z===V._return||z===V.name&&this.exprAllowed?ne.test(this.input.slice(this.lastTokEnd,this.start)):z===V._else||z===V.semi||z===V.eof||z===V.parenR||z===V.arrow?!0:z===V.braceL?Ae===Ht.b_stat:z===V._var||z===V._const||z===V.name?!1:!this.exprAllowed},tn.inGeneratorContext=function(){for(var z=this.context.length-1;z>=1;z--){var Ae=this.context[z];if(Ae.token==="function")return Ae.generator}return!1},tn.updateContext=function(z){var Ae,Fe=this.type;Fe.keyword&&z===V.dot?this.exprAllowed=!1:(Ae=Fe.updateContext)?Ae.call(this,z):this.exprAllowed=Fe.beforeExpr},tn.overrideContext=function(z){this.curContext()!==z&&(this.context[this.context.length-1]=z)},V.parenR.updateContext=V.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var z=this.context.pop();z===Ht.b_stat&&this.curContext().token==="function"&&(z=this.context.pop()),this.exprAllowed=!z.isExpr},V.braceL.updateContext=function(z){this.context.push(this.braceIsBlock(z)?Ht.b_stat:Ht.b_expr),this.exprAllowed=!0},V.dollarBraceL.updateContext=function(){this.context.push(Ht.b_tmpl),this.exprAllowed=!0},V.parenL.updateContext=function(z){var Ae=z===V._if||z===V._for||z===V._with||z===V._while;this.context.push(Ae?Ht.p_stat:Ht.p_expr),this.exprAllowed=!0},V.incDec.updateContext=function(){},V._function.updateContext=V._class.updateContext=function(z){z.beforeExpr&&z!==V._else&&!(z===V.semi&&this.curContext()!==Ht.p_stat)&&!(z===V._return&&ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((z===V.colon||z===V.braceL)&&this.curContext()===Ht.b_stat)?this.context.push(Ht.f_expr):this.context.push(Ht.f_stat),this.exprAllowed=!1},V.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},V.backQuote.updateContext=function(){this.curContext()===Ht.q_tmpl?this.context.pop():this.context.push(Ht.q_tmpl),this.exprAllowed=!1},V.star.updateContext=function(z){if(z===V._function){var Ae=this.context.length-1;this.context[Ae]===Ht.f_expr?this.context[Ae]=Ht.f_expr_gen:this.context[Ae]=Ht.f_gen}this.exprAllowed=!0},V.name.updateContext=function(z){var Ae=!1;this.options.ecmaVersion>=6&&z!==V.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(Ae=!0),this.exprAllowed=Ae};var Yt=yt.prototype;Yt.checkPropClash=function(z,Ae,Fe){if(!(this.options.ecmaVersion>=9&&z.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(z.computed||z.method||z.shorthand))){var Ue=z.key,Qe;switch(Ue.type){case"Identifier":Qe=Ue.name;break;case"Literal":Qe=String(Ue.value);break;default:return}var ut=z.kind;if(this.options.ecmaVersion>=6){Qe==="__proto__"&&ut==="init"&&(Ae.proto&&(Fe?Fe.doubleProto<0&&(Fe.doubleProto=Ue.start):this.raiseRecoverable(Ue.start,"Redefinition of __proto__ property")),Ae.proto=!0);return}Qe="$"+Qe;var pt=Ae[Qe];if(pt){var Vt;ut==="init"?Vt=this.strict&&pt.init||pt.get||pt.set:Vt=pt.init||pt[ut],Vt&&this.raiseRecoverable(Ue.start,"Redefinition of property")}else pt=Ae[Qe]={init:!1,get:!1,set:!1};pt[ut]=!0}},Yt.parseExpression=function(z,Ae){var Fe=this.start,Ue=this.startLoc,Qe=this.parseMaybeAssign(z,Ae);if(this.type===V.comma){var ut=this.startNodeAt(Fe,Ue);for(ut.expressions=[Qe];this.eat(V.comma);)ut.expressions.push(this.parseMaybeAssign(z,Ae));return this.finishNode(ut,"SequenceExpression")}return Qe},Yt.parseMaybeAssign=function(z,Ae,Fe){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(z);this.exprAllowed=!1}var Ue=!1,Qe=-1,ut=-1,pt=-1;Ae?(Qe=Ae.parenthesizedAssign,ut=Ae.trailingComma,pt=Ae.doubleProto,Ae.parenthesizedAssign=Ae.trailingComma=-1):(Ae=new pn,Ue=!0);var Vt=this.start,Ft=this.startLoc;(this.type===V.parenL||this.type===V.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=z==="await");var nn=this.parseMaybeConditional(z,Ae);if(Fe&&(nn=Fe.call(this,nn,Vt,Ft)),this.type.isAssign){var Qt=this.startNodeAt(Vt,Ft);return Qt.operator=this.value,this.type===V.eq&&(nn=this.toAssignable(nn,!1,Ae)),Ue||(Ae.parenthesizedAssign=Ae.trailingComma=Ae.doubleProto=-1),Ae.shorthandAssign>=nn.start&&(Ae.shorthandAssign=-1),this.type===V.eq?this.checkLValPattern(nn):this.checkLValSimple(nn),Qt.left=nn,this.next(),Qt.right=this.parseMaybeAssign(z),pt>-1&&(Ae.doubleProto=pt),this.finishNode(Qt,"AssignmentExpression")}else Ue&&this.checkExpressionErrors(Ae,!0);return Qe>-1&&(Ae.parenthesizedAssign=Qe),ut>-1&&(Ae.trailingComma=ut),nn},Yt.parseMaybeConditional=function(z,Ae){var Fe=this.start,Ue=this.startLoc,Qe=this.parseExprOps(z,Ae);if(this.checkExpressionErrors(Ae))return Qe;if(this.eat(V.question)){var ut=this.startNodeAt(Fe,Ue);return ut.test=Qe,ut.consequent=this.parseMaybeAssign(),this.expect(V.colon),ut.alternate=this.parseMaybeAssign(z),this.finishNode(ut,"ConditionalExpression")}return Qe},Yt.parseExprOps=function(z,Ae){var Fe=this.start,Ue=this.startLoc,Qe=this.parseMaybeUnary(Ae,!1,!1,z);return this.checkExpressionErrors(Ae)||Qe.start===Fe&&Qe.type==="ArrowFunctionExpression"?Qe:this.parseExprOp(Qe,Fe,Ue,-1,z)},Yt.parseExprOp=function(z,Ae,Fe,Ue,Qe){var ut=this.type.binop;if(ut!=null&&(!Qe||this.type!==V._in)&&ut>Ue){var pt=this.type===V.logicalOR||this.type===V.logicalAND,Vt=this.type===V.coalesce;Vt&&(ut=V.logicalAND.binop);var Ft=this.value;this.next();var nn=this.start,Qt=this.startLoc,_n=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,Qe),nn,Qt,ut,Qe),Gn=this.buildBinary(Ae,Fe,z,_n,Ft,pt||Vt);return(pt&&this.type===V.coalesce||Vt&&(this.type===V.logicalOR||this.type===V.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Gn,Ae,Fe,Ue,Qe)}return z},Yt.buildBinary=function(z,Ae,Fe,Ue,Qe,ut){Ue.type==="PrivateIdentifier"&&this.raise(Ue.start,"Private identifier can only be left side of binary expression");var pt=this.startNodeAt(z,Ae);return pt.left=Fe,pt.operator=Qe,pt.right=Ue,this.finishNode(pt,ut?"LogicalExpression":"BinaryExpression")},Yt.parseMaybeUnary=function(z,Ae,Fe,Ue){var Qe=this.start,ut=this.startLoc,pt;if(this.isContextual("await")&&this.canAwait)pt=this.parseAwait(Ue),Ae=!0;else if(this.type.prefix){var Vt=this.startNode(),Ft=this.type===V.incDec;Vt.operator=this.value,Vt.prefix=!0,this.next(),Vt.argument=this.parseMaybeUnary(null,!0,Ft,Ue),this.checkExpressionErrors(z,!0),Ft?this.checkLValSimple(Vt.argument):this.strict&&Vt.operator==="delete"&&an(Vt.argument)?this.raiseRecoverable(Vt.start,"Deleting local variable in strict mode"):Vt.operator==="delete"&&mn(Vt.argument)?this.raiseRecoverable(Vt.start,"Private fields can not be deleted"):Ae=!0,pt=this.finishNode(Vt,Ft?"UpdateExpression":"UnaryExpression")}else if(!Ae&&this.type===V.privateId)(Ue||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),pt=this.parsePrivateIdent(),this.type!==V._in&&this.unexpected();else{if(pt=this.parseExprSubscripts(z,Ue),this.checkExpressionErrors(z))return pt;for(;this.type.postfix&&!this.canInsertSemicolon();){var nn=this.startNodeAt(Qe,ut);nn.operator=this.value,nn.prefix=!1,nn.argument=pt,this.checkLValSimple(pt),this.next(),pt=this.finishNode(nn,"UpdateExpression")}}if(!Fe&&this.eat(V.starstar))if(Ae)this.unexpected(this.lastTokStart);else return this.buildBinary(Qe,ut,pt,this.parseMaybeUnary(null,!1,!1,Ue),"**",!1);else return pt};function an(z){return z.type==="Identifier"||z.type==="ParenthesizedExpression"&&an(z.expression)}function mn(z){return z.type==="MemberExpression"&&z.property.type==="PrivateIdentifier"||z.type==="ChainExpression"&&mn(z.expression)||z.type==="ParenthesizedExpression"&&mn(z.expression)}Yt.parseExprSubscripts=function(z,Ae){var Fe=this.start,Ue=this.startLoc,Qe=this.parseExprAtom(z,Ae);if(Qe.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return Qe;var ut=this.parseSubscripts(Qe,Fe,Ue,!1,Ae);return z&&ut.type==="MemberExpression"&&(z.parenthesizedAssign>=ut.start&&(z.parenthesizedAssign=-1),z.parenthesizedBind>=ut.start&&(z.parenthesizedBind=-1),z.trailingComma>=ut.start&&(z.trailingComma=-1)),ut},Yt.parseSubscripts=function(z,Ae,Fe,Ue,Qe){for(var ut=this.options.ecmaVersion>=8&&z.type==="Identifier"&&z.name==="async"&&this.lastTokEnd===z.end&&!this.canInsertSemicolon()&&z.end-z.start===5&&this.potentialArrowAt===z.start,pt=!1;;){var Vt=this.parseSubscript(z,Ae,Fe,Ue,ut,pt,Qe);if(Vt.optional&&(pt=!0),Vt===z||Vt.type==="ArrowFunctionExpression"){if(pt){var Ft=this.startNodeAt(Ae,Fe);Ft.expression=Vt,Vt=this.finishNode(Ft,"ChainExpression")}return Vt}z=Vt}},Yt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(V.arrow)},Yt.parseSubscriptAsyncArrow=function(z,Ae,Fe,Ue){return this.parseArrowExpression(this.startNodeAt(z,Ae),Fe,!0,Ue)},Yt.parseSubscript=function(z,Ae,Fe,Ue,Qe,ut,pt){var Vt=this.options.ecmaVersion>=11,Ft=Vt&&this.eat(V.questionDot);Ue&&Ft&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var nn=this.eat(V.bracketL);if(nn||Ft&&this.type!==V.parenL&&this.type!==V.backQuote||this.eat(V.dot)){var Qt=this.startNodeAt(Ae,Fe);Qt.object=z,nn?(Qt.property=this.parseExpression(),this.expect(V.bracketR)):this.type===V.privateId&&z.type!=="Super"?Qt.property=this.parsePrivateIdent():Qt.property=this.parseIdent(this.options.allowReserved!=="never"),Qt.computed=!!nn,Vt&&(Qt.optional=Ft),z=this.finishNode(Qt,"MemberExpression")}else if(!Ue&&this.eat(V.parenL)){var _n=new pn,Gn=this.yieldPos,rr=this.awaitPos,Yn=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var gr=this.parseExprList(V.parenR,this.options.ecmaVersion>=8,!1,_n);if(Qe&&!Ft&&this.shouldParseAsyncArrow())return this.checkPatternErrors(_n,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Gn,this.awaitPos=rr,this.awaitIdentPos=Yn,this.parseSubscriptAsyncArrow(Ae,Fe,gr,pt);this.checkExpressionErrors(_n,!0),this.yieldPos=Gn||this.yieldPos,this.awaitPos=rr||this.awaitPos,this.awaitIdentPos=Yn||this.awaitIdentPos;var Jn=this.startNodeAt(Ae,Fe);Jn.callee=z,Jn.arguments=gr,Vt&&(Jn.optional=Ft),z=this.finishNode(Jn,"CallExpression")}else if(this.type===V.backQuote){(Ft||ut)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Xn=this.startNodeAt(Ae,Fe);Xn.tag=z,Xn.quasi=this.parseTemplate({isTagged:!0}),z=this.finishNode(Xn,"TaggedTemplateExpression")}return z},Yt.parseExprAtom=function(z,Ae,Fe){this.type===V.slash&&this.readRegexp();var Ue,Qe=this.potentialArrowAt===this.start;switch(this.type){case V._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Ue=this.startNode(),this.next(),this.type===V.parenL&&!this.allowDirectSuper&&this.raise(Ue.start,"super() call outside constructor of a subclass"),this.type!==V.dot&&this.type!==V.bracketL&&this.type!==V.parenL&&this.unexpected(),this.finishNode(Ue,"Super");case V._this:return Ue=this.startNode(),this.next(),this.finishNode(Ue,"ThisExpression");case V.name:var ut=this.start,pt=this.startLoc,Vt=this.containsEsc,Ft=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Vt&&Ft.name==="async"&&!this.canInsertSemicolon()&&this.eat(V._function))return this.overrideContext(Ht.f_expr),this.parseFunction(this.startNodeAt(ut,pt),0,!1,!0,Ae);if(Qe&&!this.canInsertSemicolon()){if(this.eat(V.arrow))return this.parseArrowExpression(this.startNodeAt(ut,pt),[Ft],!1,Ae);if(this.options.ecmaVersion>=8&&Ft.name==="async"&&this.type===V.name&&!Vt&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ft=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(V.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(ut,pt),[Ft],!0,Ae)}return Ft;case V.regexp:var nn=this.value;return Ue=this.parseLiteral(nn.value),Ue.regex={pattern:nn.pattern,flags:nn.flags},Ue;case V.num:case V.string:return this.parseLiteral(this.value);case V._null:case V._true:case V._false:return Ue=this.startNode(),Ue.value=this.type===V._null?null:this.type===V._true,Ue.raw=this.type.keyword,this.next(),this.finishNode(Ue,"Literal");case V.parenL:var Qt=this.start,_n=this.parseParenAndDistinguishExpression(Qe,Ae);return z&&(z.parenthesizedAssign<0&&!this.isSimpleAssignTarget(_n)&&(z.parenthesizedAssign=Qt),z.parenthesizedBind<0&&(z.parenthesizedBind=Qt)),_n;case V.bracketL:return Ue=this.startNode(),this.next(),Ue.elements=this.parseExprList(V.bracketR,!0,!0,z),this.finishNode(Ue,"ArrayExpression");case V.braceL:return this.overrideContext(Ht.b_expr),this.parseObj(!1,z);case V._function:return Ue=this.startNode(),this.next(),this.parseFunction(Ue,0);case V._class:return this.parseClass(this.startNode(),!1);case V._new:return this.parseNew();case V.backQuote:return this.parseTemplate();case V._import:return this.options.ecmaVersion>=11?this.parseExprImport(Fe):this.unexpected();default:return this.parseExprAtomDefault()}},Yt.parseExprAtomDefault=function(){this.unexpected()},Yt.parseExprImport=function(z){var Ae=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===V.parenL&&!z)return this.parseDynamicImport(Ae);if(this.type===V.dot){var Fe=this.startNodeAt(Ae.start,Ae.loc&&Ae.loc.start);return Fe.name="import",Ae.meta=this.finishNode(Fe,"Identifier"),this.parseImportMeta(Ae)}else this.unexpected()},Yt.parseDynamicImport=function(z){if(this.next(),z.source=this.parseMaybeAssign(),!this.eat(V.parenR)){var Ae=this.start;this.eat(V.comma)&&this.eat(V.parenR)?this.raiseRecoverable(Ae,"Trailing comma is not allowed in import()"):this.unexpected(Ae)}return this.finishNode(z,"ImportExpression")},Yt.parseImportMeta=function(z){this.next();var Ae=this.containsEsc;return z.property=this.parseIdent(!0),z.property.name!=="meta"&&this.raiseRecoverable(z.property.start,"The only valid meta property for import is 'import.meta'"),Ae&&this.raiseRecoverable(z.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(z.start,"Cannot use 'import.meta' outside a module"),this.finishNode(z,"MetaProperty")},Yt.parseLiteral=function(z){var Ae=this.startNode();return Ae.value=z,Ae.raw=this.input.slice(this.start,this.end),Ae.raw.charCodeAt(Ae.raw.length-1)===110&&(Ae.bigint=Ae.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(Ae,"Literal")},Yt.parseParenExpression=function(){this.expect(V.parenL);var z=this.parseExpression();return this.expect(V.parenR),z},Yt.shouldParseArrow=function(z){return!this.canInsertSemicolon()},Yt.parseParenAndDistinguishExpression=function(z,Ae){var Fe=this.start,Ue=this.startLoc,Qe,ut=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var pt=this.start,Vt=this.startLoc,Ft=[],nn=!0,Qt=!1,_n=new pn,Gn=this.yieldPos,rr=this.awaitPos,Yn;for(this.yieldPos=0,this.awaitPos=0;this.type!==V.parenR;)if(nn?nn=!1:this.expect(V.comma),ut&&this.afterTrailingComma(V.parenR,!0)){Qt=!0;break}else if(this.type===V.ellipsis){Yn=this.start,Ft.push(this.parseParenItem(this.parseRestBinding())),this.type===V.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else Ft.push(this.parseMaybeAssign(!1,_n,this.parseParenItem));var gr=this.lastTokEnd,Jn=this.lastTokEndLoc;if(this.expect(V.parenR),z&&this.shouldParseArrow(Ft)&&this.eat(V.arrow))return this.checkPatternErrors(_n,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Gn,this.awaitPos=rr,this.parseParenArrowList(Fe,Ue,Ft,Ae);(!Ft.length||Qt)&&this.unexpected(this.lastTokStart),Yn&&this.unexpected(Yn),this.checkExpressionErrors(_n,!0),this.yieldPos=Gn||this.yieldPos,this.awaitPos=rr||this.awaitPos,Ft.length>1?(Qe=this.startNodeAt(pt,Vt),Qe.expressions=Ft,this.finishNodeAt(Qe,"SequenceExpression",gr,Jn)):Qe=Ft[0]}else Qe=this.parseParenExpression();if(this.options.preserveParens){var Xn=this.startNodeAt(Fe,Ue);return Xn.expression=Qe,this.finishNode(Xn,"ParenthesizedExpression")}else return Qe},Yt.parseParenItem=function(z){return z},Yt.parseParenArrowList=function(z,Ae,Fe,Ue){return this.parseArrowExpression(this.startNodeAt(z,Ae),Fe,!1,Ue)};var On=[];Yt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var z=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===V.dot){var Ae=this.startNodeAt(z.start,z.loc&&z.loc.start);Ae.name="new",z.meta=this.finishNode(Ae,"Identifier"),this.next();var Fe=this.containsEsc;return z.property=this.parseIdent(!0),z.property.name!=="target"&&this.raiseRecoverable(z.property.start,"The only valid meta property for new is 'new.target'"),Fe&&this.raiseRecoverable(z.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(z.start,"'new.target' can only be used in functions and class static block"),this.finishNode(z,"MetaProperty")}var Ue=this.start,Qe=this.startLoc;return z.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Ue,Qe,!0,!1),this.eat(V.parenL)?z.arguments=this.parseExprList(V.parenR,this.options.ecmaVersion>=8,!1):z.arguments=On,this.finishNode(z,"NewExpression")},Yt.parseTemplateElement=function(z){var Ae=z.isTagged,Fe=this.startNode();return this.type===V.invalidTemplate?(Ae||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),Fe.value={raw:this.value.replace(/\r\n?/g,`
1230
1230
  `),cooked:null}):Fe.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "randmarcomps",
3
3
  "private": false,
4
- "version": "1.472.0",
4
+ "version": "1.473.0",
5
5
  "description": "The UI library enabling speed and consistency in Randmar frontends.",
6
6
  "type": "module",
7
7
  "files": [