${e}\n`;let r=t?.allowTags??[],i=[...lz.tagNames??[],...r].filter(e=>!n.includes(e));if(t?.transform)return qz(i,t.transform,t.transformType).processSync(e).toString();let a=[[...n].sort().join(`,`),[...r].sort().join(`,`),t?.transformType??``].join(`|`),o=Jz.get(a);return o||(o=qz(i,void 0,t?.transformType).freeze(),Jz.set(a,o)),o.processSync(e).toString()}function oFt(e){return lR().use(vPt).use(XR).parse(e)}function sFt(e,t=1){let n=oFt(e),r=[];return CI(n,`heading`,e=>{let n=$R(e);n&&r.push({depth:e.depth??t,value:n})}),r}function $R(e){return e.type===`text`?e.value??``:`children`in e&&Array.isArray(e.children)?e.children.map(e=>$R(e)).join(``):``}function cFt(e){let t=oFt(e),n=[],r=[];return t.children?.forEach(e=>{e.type===`heading`?(r.length&&n.push(r),n.push([e]),r=[]):r.push(e)}),r.length&&n.push(r),n.map(e=>lFt(e))}function lFt(e){return lR().use(iFt).use(XR).stringify({type:`root`,children:e}).trim()}var uFt,dFt,fFt,ez,pFt,mFt,tz,nz,hFt,gFt,rz,_Ft,vFt,yFt,bFt,xFt,iz,SFt,CFt,wFt,TFt,az,EFt,DFt,OFt,kFt,AFt,jFt,MFt,NFt,PFt,oz,sz,FFt,IFt,cz,lz,uz,dz,fz,LFt,pz,RFt,zFt,mz,hz,gz,_z,BFt,VFt,HFt,UFt,vz,WFt,yz,GFt,KFt,qFt,JFt,YFt,XFt,ZFt,QFt,$Ft,eIt,tIt,nIt,bz,xz,Sz,Cz,wz,rIt,Tz,Ez,Dz,Oz,kz,Az,jz,iIt,aIt,oIt,sIt,cIt,lIt,uIt,dIt,fIt,pIt,Mz,mIt,hIt,gIt,_It,Nz,vIt,yIt,bIt,xIt,SIt,Pz,Fz,Iz,CIt,wIt,Lz,TIt,EIt,DIt,OIt,kIt,AIt,Rz,jIt,MIt,NIt,PIt,FIt,IIt,LIt,RIt,zIt,BIt,VIt,HIt,UIt,WIt,zz,Bz,Vz,Hz,GIt,Uz,KIt,Wz,qIt,JIt,Gz,YIt,Kz,XIt,ZIt,QIt,$It,eLt,qz,Jz,tLt,nLt=s((()=>{for(abt(),OEt(),DI(),NOt(),LOt(),uFt=typeof self==`object`?self:globalThis,dFt=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case-1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new uFt[e](t),i)}case 8:return n(BigInt(o),i);case`BigInt`:return n(Object(BigInt(o)),i)}return n(new uFt[a](o),i)};return r},fFt=e=>dFt(new Map,e)(0),ez=``,{toString:pFt}={},{keys:mFt}=Object,tz=e=>{let t=typeof e;if(t!==`object`||!e)return[0,t];let n=pFt.call(e).slice(8,-1);switch(n){case`Array`:return[1,ez];case`Object`:return[2,ez];case`Date`:return[3,ez];case`RegExp`:return[4,ez];case`Map`:return[5,ez];case`Set`:return[6,ez]}return n.includes(`Array`)?[1,n]:n.includes(`Error`)?[7,n]:[2,n]},nz=([e,t])=>e===0&&(t===`function`||t===`symbol`),hFt=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=tz(r);switch(o){case 0:{let t=r;switch(s){case`bigint`:o=8,t=r.toString();break;case`function`:case`symbol`:if(e)throw TypeError(`unable to serialize `+s);t=null;break;case`undefined`:return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case`BigInt`:return i([s,r.toString()],r);case`Boolean`:case`Number`:case`String`:return i([s,r.valueOf()],r)}if(t&&`toJSON`in r)return a(r.toJSON());let n=[],c=i([o,n],r);for(let t of mFt(r))(e||!nz(tz(r[t])))&&n.push([a(t),a(r[t])]);return c}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);for(let[n,i]of r)(e||!(nz(tz(n))||nz(tz(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!nz(tz(n)))&&t.push(a(n));return n}}let{message:c}=r;return i([o,{name:s,message:c}],r)};return a},gFt=(e,{json:t,lossy:n}={})=>{let r=[];return hFt(!(t||n),!!t,new Map,r)(e),r},rz=typeof structuredClone==`function`?(e,t)=>t&&(`json`in t||`lossy`in t)?fFt(gFt(e,t)):structuredClone(e):(e,t)=>fFt(gFt(e,t)),_Ft=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,vFt=/^[a-zA-Z]:\\/,yFt=[`http`,`https`],bFt=[`nofollow`],xFt={},iz=jI(function(e){return e.tagName===`audio`||e.tagName===`canvas`||e.tagName===`embed`||e.tagName===`iframe`||e.tagName===`img`||e.tagName===`math`||e.tagName===`object`||e.tagName===`picture`||e.tagName===`svg`||e.tagName===`video`}),SFt=`address.article.aside.blockquote.body.br.caption.center.col.colgroup.dd.dialog.dir.div.dl.dt.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.legend.li.li.listing.main.menu.nav.ol.optgroup.option.p.plaintext.pre.section.summary.table.tbody.td.td.tfoot.th.th.thead.tr.ul.wbr.xmp`.split(`.`),CFt=[`button`,`input`,`select`,`textarea`],wFt=[`area`,`base`,`basefont`,`dialog`,`datalist`,`head`,`link`,`meta`,`noembed`,`noframes`,`param`,`rp`,`script`,`source`,`style`,`template`,`track`,`title`],TFt={},az=wI([`comment`,`doctype`]),EFt={}.hasOwnProperty,DFt=new Set([`pingback`,`prefetch`,`stylesheet`]),OFt=jI(`a.abbr.area.b.bdi.bdo.br.button.cite.code.data.datalist.del.dfn.em.i.input.ins.kbd.keygen.label.map.mark.meter.noscript.output.progress.q.ruby.s.samp.script.select.small.span.strong.sub.sup.template.textarea.time.u.var.wbr`.split(`.`)),kFt=jI(`meta`),AFt=[`pre`,`script`,`style`,`textarea`],jFt={},MFt={},NFt={}.hasOwnProperty,PFt=dL(`type`,{handlers:{root:ckt,element:pkt,text:dkt,comment:fkt,doctype:ukt}}),oz=gkt(`end`),sz=gkt(`start`),FFt=new Set([`mdxFlowExpression`,`mdxJsxFlowElement`,`mdxJsxTextElement`,`mdxTextExpression`,`mdxjsEsm`]),IFt={sourceCodeLocationInfo:!0,scriptingEnabled:!1},cz=[`ariaDescribedBy`,`ariaLabel`,`ariaLabelledBy`],lz={ancestors:{tbody:[`table`],td:[`table`],th:[`table`],thead:[`table`],tfoot:[`table`],tr:[`table`]},attributes:{a:[...cz,`dataFootnoteBackref`,`dataFootnoteRef`,[`className`,`data-footnote-backref`],`href`],blockquote:[`cite`],code:[[`className`,/^language-./]],del:[`cite`],div:[`itemScope`,`itemType`],dl:[...cz],h2:[[`className`,`sr-only`]],img:[...cz,`longDesc`,`src`],input:[[`disabled`,!0],[`type`,`checkbox`]],ins:[`cite`],li:[[`className`,`task-list-item`]],ol:[...cz,[`className`,`contains-task-list`]],q:[`cite`],section:[`dataFootnotes`,[`className`,`footnotes`]],source:[`srcSet`],summary:[...cz],table:[...cz],ul:[...cz,[`className`,`contains-task-list`]],"*":`abbr.accept.acceptCharset.accessKey.action.align.alt.axis.border.cellPadding.cellSpacing.char.charOff.charSet.checked.clear.colSpan.color.cols.compact.coords.dateTime.dir.encType.frame.hSpace.headers.height.hrefLang.htmlFor.id.isMap.itemProp.label.lang.maxLength.media.method.multiple.name.noHref.noShade.noWrap.open.prompt.readOnly.rev.rowSpan.rows.rules.scope.selected.shape.size.span.start.summary.tabIndex.title.useMap.vAlign.value.width`.split(`.`)},clobber:[`ariaDescribedBy`,`ariaLabelledBy`,`id`,`name`],clobberPrefix:`user-content-`,protocols:{cite:[`http`,`https`],href:[`http`,`https`,`irc`,`ircs`,`mailto`,`xmpp`],longDesc:[`http`,`https`],src:[`http`,`https`]},required:{input:{disabled:!0,type:`checkbox`}},strip:[`script`],tagNames:`a.b.blockquote.br.code.dd.del.details.div.dl.dt.em.h1.h2.h3.h4.h5.h6.hr.i.img.input.ins.kbd.li.ol.p.picture.pre.q.rp.rt.ruby.s.samp.section.source.span.strike.strong.sub.summary.sup.table.tbody.td.tfoot.th.thead.tr.tt.ul.var`.split(`.`)},uz={}.hasOwnProperty,dz=RR(/[A-Za-z]/),fz=RR(/[\dA-Za-z]/),LFt=RR(/[#-'*+\--9=?A-Z^-~]/),pz=RR(/\d/),RFt=RR(/[\dA-Fa-f]/),zFt=RR(/[!-/:-@[-`{-~]/),mz=RR(/\p{P}|\p{S}/u),hz=RR(/\s/),gz=`phrasing`,_z=[`autolink`,`link`,`image`,`label`],wAt.peek=TAt,BFt=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],MAt.peek=NAt,VFt={}.hasOwnProperty,ejt.peek=tjt,HFt={},cjt.peek=ljt,ujt.peek=djt,fjt.peek=pjt,mjt.peek=hjt,_jt.peek=vjt,yjt.peek=bjt,UFt=wI([`break`,`delete`,`emphasis`,`footnote`,`footnoteReference`,`image`,`imageReference`,`inlineCode`,`inlineMath`,`link`,`linkReference`,`mdxJsxTextElement`,`mdxTextExpression`,`strong`,`text`,`textDirective`]),jjt.peek=Mjt,vz={blockquote:VAt,break:GAt,code:YAt,definition:QAt,emphasis:ejt,hardBreak:GAt,heading:sjt,html:cjt,image:ujt,imageReference:fjt,inlineCode:mjt,link:_jt,linkReference:yjt,list:Tjt,listItem:Djt,paragraph:Ojt,root:kjt,strong:jjt,text:Njt,thematicBreak:Fjt},WFt=[Ijt],yz=[`autolink`,`destinationLiteral`,`destinationRaw`,`reference`,`titleQuote`,`titleApostrophe`],GFt=[{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`\r`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:`
`,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`,`codeFencedMetaGraveAccent`,`codeFencedMetaTilde`,`destinationLiteral`,`headingAtx`]},{character:` `,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,before:`[\\r\\n]`,inConstruct:`phrasing`},{character:` `,inConstruct:[`codeFencedLangGraveAccent`,`codeFencedLangTilde`]},{character:`!`,after:`\\[`,inConstruct:`phrasing`,notInConstruct:yz},{character:`"`,inConstruct:`titleQuote`},{atBreak:!0,character:`#`},{character:`#`,inConstruct:`headingAtx`,after:`(?:[\r
]|$)`},{character:`&`,after:`[#A-Za-z]`,inConstruct:`phrasing`},{character:`'`,inConstruct:`titleApostrophe`},{character:`(`,inConstruct:`destinationRaw`},{before:`\\]`,character:`(`,inConstruct:`phrasing`,notInConstruct:yz},{atBreak:!0,before:`\\d+`,character:`)`},{character:`)`,inConstruct:`destinationRaw`},{atBreak:!0,character:`*`,after:`(?:[ \r
*])`},{character:`*`,inConstruct:`phrasing`,notInConstruct:yz},{atBreak:!0,character:`+`,after:`(?:[ \r
])`},{atBreak:!0,character:`-`,after:`(?:[ \r
-])`},{atBreak:!0,before:`\\d+`,character:`.`,after:`(?:[ \r
]|$)`},{atBreak:!0,character:`<`,after:`[!/?A-Za-z]`},{character:`<`,after:`[!/?A-Za-z]`,inConstruct:`phrasing`,notInConstruct:yz},{character:`<`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`=`},{atBreak:!0,character:`>`},{character:`>`,inConstruct:`destinationLiteral`},{atBreak:!0,character:`[`},{character:`[`,inConstruct:`phrasing`,notInConstruct:yz},{character:`[`,inConstruct:[`label`,`reference`]},{character:`\\`,after:`[\\r\\n]`,inConstruct:`phrasing`},{character:`]`,inConstruct:[`label`,`reference`]},{atBreak:!0,character:`_`},{character:`_`,inConstruct:`phrasing`,notInConstruct:yz},{atBreak:!0,character:"`"},{character:"`",inConstruct:[`codeFencedLangGraveAccent`,`codeFencedMetaGraveAccent`]},{character:"`",inConstruct:`phrasing`,notInConstruct:yz},{atBreak:!0,character:`~`}],KFt={AElig:`Æ`,AMP:`&`,Aacute:`Á`,Abreve:`Ă`,Acirc:`Â`,Acy:`А`,Afr:`𝔄`,Agrave:`À`,Alpha:`Α`,Amacr:`Ā`,And:`⩓`,Aogon:`Ą`,Aopf:`𝔸`,ApplyFunction:``,Aring:`Å`,Ascr:`𝒜`,Assign:`≔`,Atilde:`Ã`,Auml:`Ä`,Backslash:`∖`,Barv:`⫧`,Barwed:`⌆`,Bcy:`Б`,Because:`∵`,Bernoullis:`ℬ`,Beta:`Β`,Bfr:`𝔅`,Bopf:`𝔹`,Breve:`˘`,Bscr:`ℬ`,Bumpeq:`≎`,CHcy:`Ч`,COPY:`©`,Cacute:`Ć`,Cap:`⋒`,CapitalDifferentialD:`ⅅ`,Cayleys:`ℭ`,Ccaron:`Č`,Ccedil:`Ç`,Ccirc:`Ĉ`,Cconint:`∰`,Cdot:`Ċ`,Cedilla:`¸`,CenterDot:`·`,Cfr:`ℭ`,Chi:`Χ`,CircleDot:`⊙`,CircleMinus:`⊖`,CirclePlus:`⊕`,CircleTimes:`⊗`,ClockwiseContourIntegral:`∲`,CloseCurlyDoubleQuote:`”`,CloseCurlyQuote:`’`,Colon:`∷`,Colone:`⩴`,Congruent:`≡`,Conint:`∯`,ContourIntegral:`∮`,Copf:`ℂ`,Coproduct:`∐`,CounterClockwiseContourIntegral:`∳`,Cross:`⨯`,Cscr:`𝒞`,Cup:`⋓`,CupCap:`≍`,DD:`ⅅ`,DDotrahd:`⤑`,DJcy:`Ђ`,DScy:`Ѕ`,DZcy:`Џ`,Dagger:`‡`,Darr:`↡`,Dashv:`⫤`,Dcaron:`Ď`,Dcy:`Д`,Del:`∇`,Delta:`Δ`,Dfr:`𝔇`,DiacriticalAcute:`´`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,DiacriticalGrave:"`",DiacriticalTilde:`˜`,Diamond:`⋄`,DifferentialD:`ⅆ`,Dopf:`𝔻`,Dot:`¨`,DotDot:`⃜`,DotEqual:`≐`,DoubleContourIntegral:`∯`,DoubleDot:`¨`,DoubleDownArrow:`⇓`,DoubleLeftArrow:`⇐`,DoubleLeftRightArrow:`⇔`,DoubleLeftTee:`⫤`,DoubleLongLeftArrow:`⟸`,DoubleLongLeftRightArrow:`⟺`,DoubleLongRightArrow:`⟹`,DoubleRightArrow:`⇒`,DoubleRightTee:`⊨`,DoubleUpArrow:`⇑`,DoubleUpDownArrow:`⇕`,DoubleVerticalBar:`∥`,DownArrow:`↓`,DownArrowBar:`⤓`,DownArrowUpArrow:`⇵`,DownBreve:`̑`,DownLeftRightVector:`⥐`,DownLeftTeeVector:`⥞`,DownLeftVector:`↽`,DownLeftVectorBar:`⥖`,DownRightTeeVector:`⥟`,DownRightVector:`⇁`,DownRightVectorBar:`⥗`,DownTee:`⊤`,DownTeeArrow:`↧`,Downarrow:`⇓`,Dscr:`𝒟`,Dstrok:`Đ`,ENG:`Ŋ`,ETH:`Ð`,Eacute:`É`,Ecaron:`Ě`,Ecirc:`Ê`,Ecy:`Э`,Edot:`Ė`,Efr:`𝔈`,Egrave:`È`,Element:`∈`,Emacr:`Ē`,EmptySmallSquare:`◻`,EmptyVerySmallSquare:`▫`,Eogon:`Ę`,Eopf:`𝔼`,Epsilon:`Ε`,Equal:`⩵`,EqualTilde:`≂`,Equilibrium:`⇌`,Escr:`ℰ`,Esim:`⩳`,Eta:`Η`,Euml:`Ë`,Exists:`∃`,ExponentialE:`ⅇ`,Fcy:`Ф`,Ffr:`𝔉`,FilledSmallSquare:`◼`,FilledVerySmallSquare:`▪`,Fopf:`𝔽`,ForAll:`∀`,Fouriertrf:`ℱ`,Fscr:`ℱ`,GJcy:`Ѓ`,GT:`>`,Gamma:`Γ`,Gammad:`Ϝ`,Gbreve:`Ğ`,Gcedil:`Ģ`,Gcirc:`Ĝ`,Gcy:`Г`,Gdot:`Ġ`,Gfr:`𝔊`,Gg:`⋙`,Gopf:`𝔾`,GreaterEqual:`≥`,GreaterEqualLess:`⋛`,GreaterFullEqual:`≧`,GreaterGreater:`⪢`,GreaterLess:`≷`,GreaterSlantEqual:`⩾`,GreaterTilde:`≳`,Gscr:`𝒢`,Gt:`≫`,HARDcy:`Ъ`,Hacek:`ˇ`,Hat:`^`,Hcirc:`Ĥ`,Hfr:`ℌ`,HilbertSpace:`ℋ`,Hopf:`ℍ`,HorizontalLine:`─`,Hscr:`ℋ`,Hstrok:`Ħ`,HumpDownHump:`≎`,HumpEqual:`≏`,IEcy:`Е`,IJlig:`IJ`,IOcy:`Ё`,Iacute:`Í`,Icirc:`Î`,Icy:`И`,Idot:`İ`,Ifr:`ℑ`,Igrave:`Ì`,Im:`ℑ`,Imacr:`Ī`,ImaginaryI:`ⅈ`,Implies:`⇒`,Int:`∬`,Integral:`∫`,Intersection:`⋂`,InvisibleComma:``,InvisibleTimes:``,Iogon:`Į`,Iopf:`𝕀`,Iota:`Ι`,Iscr:`ℐ`,Itilde:`Ĩ`,Iukcy:`І`,Iuml:`Ï`,Jcirc:`Ĵ`,Jcy:`Й`,Jfr:`𝔍`,Jopf:`𝕁`,Jscr:`𝒥`,Jsercy:`Ј`,Jukcy:`Є`,KHcy:`Х`,KJcy:`Ќ`,Kappa:`Κ`,Kcedil:`Ķ`,Kcy:`К`,Kfr:`𝔎`,Kopf:`𝕂`,Kscr:`𝒦`,LJcy:`Љ`,LT:`<`,Lacute:`Ĺ`,Lambda:`Λ`,Lang:`⟪`,Laplacetrf:`ℒ`,Larr:`↞`,Lcaron:`Ľ`,Lcedil:`Ļ`,Lcy:`Л`,LeftAngleBracket:`⟨`,LeftArrow:`←`,LeftArrowBar:`⇤`,LeftArrowRightArrow:`⇆`,LeftCeiling:`⌈`,LeftDoubleBracket:`⟦`,LeftDownTeeVector:`⥡`,LeftDownVector:`⇃`,LeftDownVectorBar:`⥙`,LeftFloor:`⌊`,LeftRightArrow:`↔`,LeftRightVector:`⥎`,LeftTee:`⊣`,LeftTeeArrow:`↤`,LeftTeeVector:`⥚`,LeftTriangle:`⊲`,LeftTriangleBar:`⧏`,LeftTriangleEqual:`⊴`,LeftUpDownVector:`⥑`,LeftUpTeeVector:`⥠`,LeftUpVector:`↿`,LeftUpVectorBar:`⥘`,LeftVector:`↼`,LeftVectorBar:`⥒`,Leftarrow:`⇐`,Leftrightarrow:`⇔`,LessEqualGreater:`⋚`,LessFullEqual:`≦`,LessGreater:`≶`,LessLess:`⪡`,LessSlantEqual:`⩽`,LessTilde:`≲`,Lfr:`𝔏`,Ll:`⋘`,Lleftarrow:`⇚`,Lmidot:`Ŀ`,LongLeftArrow:`⟵`,LongLeftRightArrow:`⟷`,LongRightArrow:`⟶`,Longleftarrow:`⟸`,Longleftrightarrow:`⟺`,Longrightarrow:`⟹`,Lopf:`𝕃`,LowerLeftArrow:`↙`,LowerRightArrow:`↘`,Lscr:`ℒ`,Lsh:`↰`,Lstrok:`Ł`,Lt:`≪`,Map:`⤅`,Mcy:`М`,MediumSpace:` `,Mellintrf:`ℳ`,Mfr:`𝔐`,MinusPlus:`∓`,Mopf:`𝕄`,Mscr:`ℳ`,Mu:`Μ`,NJcy:`Њ`,Nacute:`Ń`,Ncaron:`Ň`,Ncedil:`Ņ`,Ncy:`Н`,NegativeMediumSpace:``,NegativeThickSpace:``,NegativeThinSpace:``,NegativeVeryThinSpace:``,NestedGreaterGreater:`≫`,NestedLessLess:`≪`,NewLine:`
`,Nfr:`𝔑`,NoBreak:``,NonBreakingSpace:`\xA0`,Nopf:`ℕ`,Not:`⫬`,NotCongruent:`≢`,NotCupCap:`≭`,NotDoubleVerticalBar:`∦`,NotElement:`∉`,NotEqual:`≠`,NotEqualTilde:`≂̸`,NotExists:`∄`,NotGreater:`≯`,NotGreaterEqual:`≱`,NotGreaterFullEqual:`≧̸`,NotGreaterGreater:`≫̸`,NotGreaterLess:`≹`,NotGreaterSlantEqual:`⩾̸`,NotGreaterTilde:`≵`,NotHumpDownHump:`≎̸`,NotHumpEqual:`≏̸`,NotLeftTriangle:`⋪`,NotLeftTriangleBar:`⧏̸`,NotLeftTriangleEqual:`⋬`,NotLess:`≮`,NotLessEqual:`≰`,NotLessGreater:`≸`,NotLessLess:`≪̸`,NotLessSlantEqual:`⩽̸`,NotLessTilde:`≴`,NotNestedGreaterGreater:`⪢̸`,NotNestedLessLess:`⪡̸`,NotPrecedes:`⊀`,NotPrecedesEqual:`⪯̸`,NotPrecedesSlantEqual:`⋠`,NotReverseElement:`∌`,NotRightTriangle:`⋫`,NotRightTriangleBar:`⧐̸`,NotRightTriangleEqual:`⋭`,NotSquareSubset:`⊏̸`,NotSquareSubsetEqual:`⋢`,NotSquareSuperset:`⊐̸`,NotSquareSupersetEqual:`⋣`,NotSubset:`⊂⃒`,NotSubsetEqual:`⊈`,NotSucceeds:`⊁`,NotSucceedsEqual:`⪰̸`,NotSucceedsSlantEqual:`⋡`,NotSucceedsTilde:`≿̸`,NotSuperset:`⊃⃒`,NotSupersetEqual:`⊉`,NotTilde:`≁`,NotTildeEqual:`≄`,NotTildeFullEqual:`≇`,NotTildeTilde:`≉`,NotVerticalBar:`∤`,Nscr:`𝒩`,Ntilde:`Ñ`,Nu:`Ν`,OElig:`Œ`,Oacute:`Ó`,Ocirc:`Ô`,Ocy:`О`,Odblac:`Ő`,Ofr:`𝔒`,Ograve:`Ò`,Omacr:`Ō`,Omega:`Ω`,Omicron:`Ο`,Oopf:`𝕆`,OpenCurlyDoubleQuote:`“`,OpenCurlyQuote:`‘`,Or:`⩔`,Oscr:`𝒪`,Oslash:`Ø`,Otilde:`Õ`,Otimes:`⨷`,Ouml:`Ö`,OverBar:`‾`,OverBrace:`⏞`,OverBracket:`⎴`,OverParenthesis:`⏜`,PartialD:`∂`,Pcy:`П`,Pfr:`𝔓`,Phi:`Φ`,Pi:`Π`,PlusMinus:`±`,Poincareplane:`ℌ`,Popf:`ℙ`,Pr:`⪻`,Precedes:`≺`,PrecedesEqual:`⪯`,PrecedesSlantEqual:`≼`,PrecedesTilde:`≾`,Prime:`″`,Product:`∏`,Proportion:`∷`,Proportional:`∝`,Pscr:`𝒫`,Psi:`Ψ`,QUOT:`"`,Qfr:`𝔔`,Qopf:`ℚ`,Qscr:`𝒬`,RBarr:`⤐`,REG:`®`,Racute:`Ŕ`,Rang:`⟫`,Rarr:`↠`,Rarrtl:`⤖`,Rcaron:`Ř`,Rcedil:`Ŗ`,Rcy:`Р`,Re:`ℜ`,ReverseElement:`∋`,ReverseEquilibrium:`⇋`,ReverseUpEquilibrium:`⥯`,Rfr:`ℜ`,Rho:`Ρ`,RightAngleBracket:`⟩`,RightArrow:`→`,RightArrowBar:`⇥`,RightArrowLeftArrow:`⇄`,RightCeiling:`⌉`,RightDoubleBracket:`⟧`,RightDownTeeVector:`⥝`,RightDownVector:`⇂`,RightDownVectorBar:`⥕`,RightFloor:`⌋`,RightTee:`⊢`,RightTeeArrow:`↦`,RightTeeVector:`⥛`,RightTriangle:`⊳`,RightTriangleBar:`⧐`,RightTriangleEqual:`⊵`,RightUpDownVector:`⥏`,RightUpTeeVector:`⥜`,RightUpVector:`↾`,RightUpVectorBar:`⥔`,RightVector:`⇀`,RightVectorBar:`⥓`,Rightarrow:`⇒`,Ropf:`ℝ`,RoundImplies:`⥰`,Rrightarrow:`⇛`,Rscr:`ℛ`,Rsh:`↱`,RuleDelayed:`⧴`,SHCHcy:`Щ`,SHcy:`Ш`,SOFTcy:`Ь`,Sacute:`Ś`,Sc:`⪼`,Scaron:`Š`,Scedil:`Ş`,Scirc:`Ŝ`,Scy:`С`,Sfr:`𝔖`,ShortDownArrow:`↓`,ShortLeftArrow:`←`,ShortRightArrow:`→`,ShortUpArrow:`↑`,Sigma:`Σ`,SmallCircle:`∘`,Sopf:`𝕊`,Sqrt:`√`,Square:`□`,SquareIntersection:`⊓`,SquareSubset:`⊏`,SquareSubsetEqual:`⊑`,SquareSuperset:`⊐`,SquareSupersetEqual:`⊒`,SquareUnion:`⊔`,Sscr:`𝒮`,Star:`⋆`,Sub:`⋐`,Subset:`⋐`,SubsetEqual:`⊆`,Succeeds:`≻`,SucceedsEqual:`⪰`,SucceedsSlantEqual:`≽`,SucceedsTilde:`≿`,SuchThat:`∋`,Sum:`∑`,Sup:`⋑`,Superset:`⊃`,SupersetEqual:`⊇`,Supset:`⋑`,THORN:`Þ`,TRADE:`™`,TSHcy:`Ћ`,TScy:`Ц`,Tab:` `,Tau:`Τ`,Tcaron:`Ť`,Tcedil:`Ţ`,Tcy:`Т`,Tfr:`𝔗`,Therefore:`∴`,Theta:`Θ`,ThickSpace:` `,ThinSpace:` `,Tilde:`∼`,TildeEqual:`≃`,TildeFullEqual:`≅`,TildeTilde:`≈`,Topf:`𝕋`,TripleDot:`⃛`,Tscr:`𝒯`,Tstrok:`Ŧ`,Uacute:`Ú`,Uarr:`↟`,Uarrocir:`⥉`,Ubrcy:`Ў`,Ubreve:`Ŭ`,Ucirc:`Û`,Ucy:`У`,Udblac:`Ű`,Ufr:`𝔘`,Ugrave:`Ù`,Umacr:`Ū`,UnderBar:`_`,UnderBrace:`⏟`,UnderBracket:`⎵`,UnderParenthesis:`⏝`,Union:`⋃`,UnionPlus:`⊎`,Uogon:`Ų`,Uopf:`𝕌`,UpArrow:`↑`,UpArrowBar:`⤒`,UpArrowDownArrow:`⇅`,UpDownArrow:`↕`,UpEquilibrium:`⥮`,UpTee:`⊥`,UpTeeArrow:`↥`,Uparrow:`⇑`,Updownarrow:`⇕`,UpperLeftArrow:`↖`,UpperRightArrow:`↗`,Upsi:`ϒ`,Upsilon:`Υ`,Uring:`Ů`,Uscr:`𝒰`,Utilde:`Ũ`,Uuml:`Ü`,VDash:`⊫`,Vbar:`⫫`,Vcy:`В`,Vdash:`⊩`,Vdashl:`⫦`,Vee:`⋁`,Verbar:`‖`,Vert:`‖`,VerticalBar:`∣`,VerticalLine:`|`,VerticalSeparator:`❘`,VerticalTilde:`≀`,VeryThinSpace:` `,Vfr:`𝔙`,Vopf:`𝕍`,Vscr:`𝒱`,Vvdash:`⊪`,Wcirc:`Ŵ`,Wedge:`⋀`,Wfr:`𝔚`,Wopf:`𝕎`,Wscr:`𝒲`,Xfr:`𝔛`,Xi:`Ξ`,Xopf:`𝕏`,Xscr:`𝒳`,YAcy:`Я`,YIcy:`Ї`,YUcy:`Ю`,Yacute:`Ý`,Ycirc:`Ŷ`,Ycy:`Ы`,Yfr:`𝔜`,Yopf:`𝕐`,Yscr:`𝒴`,Yuml:`Ÿ`,ZHcy:`Ж`,Zacute:`Ź`,Zcaron:`Ž`,Zcy:`З`,Zdot:`Ż`,ZeroWidthSpace:``,Zeta:`Ζ`,Zfr:`ℨ`,Zopf:`ℤ`,Zscr:`𝒵`,aacute:`á`,abreve:`ă`,ac:`∾`,acE:`∾̳`,acd:`∿`,acirc:`â`,acute:`´`,acy:`а`,aelig:`æ`,af:``,afr:`𝔞`,agrave:`à`,alefsym:`ℵ`,aleph:`ℵ`,alpha:`α`,amacr:`ā`,amalg:`⨿`,amp:`&`,and:`∧`,andand:`⩕`,andd:`⩜`,andslope:`⩘`,andv:`⩚`,ang:`∠`,ange:`⦤`,angle:`∠`,angmsd:`∡`,angmsdaa:`⦨`,angmsdab:`⦩`,angmsdac:`⦪`,angmsdad:`⦫`,angmsdae:`⦬`,angmsdaf:`⦭`,angmsdag:`⦮`,angmsdah:`⦯`,angrt:`∟`,angrtvb:`⊾`,angrtvbd:`⦝`,angsph:`∢`,angst:`Å`,angzarr:`⍼`,aogon:`ą`,aopf:`𝕒`,ap:`≈`,apE:`⩰`,apacir:`⩯`,ape:`≊`,apid:`≋`,apos:`'`,approx:`≈`,approxeq:`≊`,aring:`å`,ascr:`𝒶`,ast:`*`,asymp:`≈`,asympeq:`≍`,atilde:`ã`,auml:`ä`,awconint:`∳`,awint:`⨑`,bNot:`⫭`,backcong:`≌`,backepsilon:`϶`,backprime:`‵`,backsim:`∽`,backsimeq:`⋍`,barvee:`⊽`,barwed:`⌅`,barwedge:`⌅`,bbrk:`⎵`,bbrktbrk:`⎶`,bcong:`≌`,bcy:`б`,bdquo:`„`,becaus:`∵`,because:`∵`,bemptyv:`⦰`,bepsi:`϶`,bernou:`ℬ`,beta:`β`,beth:`ℶ`,between:`≬`,bfr:`𝔟`,bigcap:`⋂`,bigcirc:`◯`,bigcup:`⋃`,bigodot:`⨀`,bigoplus:`⨁`,bigotimes:`⨂`,bigsqcup:`⨆`,bigstar:`★`,bigtriangledown:`▽`,bigtriangleup:`△`,biguplus:`⨄`,bigvee:`⋁`,bigwedge:`⋀`,bkarow:`⤍`,blacklozenge:`⧫`,blacksquare:`▪`,blacktriangle:`▴`,blacktriangledown:`▾`,blacktriangleleft:`◂`,blacktriangleright:`▸`,blank:`␣`,blk12:`▒`,blk14:`░`,blk34:`▓`,block:`█`,bne:`=⃥`,bnequiv:`≡⃥`,bnot:`⌐`,bopf:`𝕓`,bot:`⊥`,bottom:`⊥`,bowtie:`⋈`,boxDL:`╗`,boxDR:`╔`,boxDl:`╖`,boxDr:`╓`,boxH:`═`,boxHD:`╦`,boxHU:`╩`,boxHd:`╤`,boxHu:`╧`,boxUL:`╝`,boxUR:`╚`,boxUl:`╜`,boxUr:`╙`,boxV:`║`,boxVH:`╬`,boxVL:`╣`,boxVR:`╠`,boxVh:`╫`,boxVl:`╢`,boxVr:`╟`,boxbox:`⧉`,boxdL:`╕`,boxdR:`╒`,boxdl:`┐`,boxdr:`┌`,boxh:`─`,boxhD:`╥`,boxhU:`╨`,boxhd:`┬`,boxhu:`┴`,boxminus:`⊟`,boxplus:`⊞`,boxtimes:`⊠`,boxuL:`╛`,boxuR:`╘`,boxul:`┘`,boxur:`└`,boxv:`│`,boxvH:`╪`,boxvL:`╡`,boxvR:`╞`,boxvh:`┼`,boxvl:`┤`,boxvr:`├`,bprime:`‵`,breve:`˘`,brvbar:`¦`,bscr:`𝒷`,bsemi:`⁏`,bsim:`∽`,bsime:`⋍`,bsol:`\\`,bsolb:`⧅`,bsolhsub:`⟈`,bull:`•`,bullet:`•`,bump:`≎`,bumpE:`⪮`,bumpe:`≏`,bumpeq:`≏`,cacute:`ć`,cap:`∩`,capand:`⩄`,capbrcup:`⩉`,capcap:`⩋`,capcup:`⩇`,capdot:`⩀`,caps:`∩︀`,caret:`⁁`,caron:`ˇ`,ccaps:`⩍`,ccaron:`č`,ccedil:`ç`,ccirc:`ĉ`,ccups:`⩌`,ccupssm:`⩐`,cdot:`ċ`,cedil:`¸`,cemptyv:`⦲`,cent:`¢`,centerdot:`·`,cfr:`𝔠`,chcy:`ч`,check:`✓`,checkmark:`✓`,chi:`χ`,cir:`○`,cirE:`⧃`,circ:`ˆ`,circeq:`≗`,circlearrowleft:`↺`,circlearrowright:`↻`,circledR:`®`,circledS:`Ⓢ`,circledast:`⊛`,circledcirc:`⊚`,circleddash:`⊝`,cire:`≗`,cirfnint:`⨐`,cirmid:`⫯`,cirscir:`⧂`,clubs:`♣`,clubsuit:`♣`,colon:`:`,colone:`≔`,coloneq:`≔`,comma:`,`,commat:`@`,comp:`∁`,compfn:`∘`,complement:`∁`,complexes:`ℂ`,cong:`≅`,congdot:`⩭`,conint:`∮`,copf:`𝕔`,coprod:`∐`,copy:`©`,copysr:`℗`,crarr:`↵`,cross:`✗`,cscr:`𝒸`,csub:`⫏`,csube:`⫑`,csup:`⫐`,csupe:`⫒`,ctdot:`⋯`,cudarrl:`⤸`,cudarrr:`⤵`,cuepr:`⋞`,cuesc:`⋟`,cularr:`↶`,cularrp:`⤽`,cup:`∪`,cupbrcap:`⩈`,cupcap:`⩆`,cupcup:`⩊`,cupdot:`⊍`,cupor:`⩅`,cups:`∪︀`,curarr:`↷`,curarrm:`⤼`,curlyeqprec:`⋞`,curlyeqsucc:`⋟`,curlyvee:`⋎`,curlywedge:`⋏`,curren:`¤`,curvearrowleft:`↶`,curvearrowright:`↷`,cuvee:`⋎`,cuwed:`⋏`,cwconint:`∲`,cwint:`∱`,cylcty:`⌭`,dArr:`⇓`,dHar:`⥥`,dagger:`†`,daleth:`ℸ`,darr:`↓`,dash:`‐`,dashv:`⊣`,dbkarow:`⤏`,dblac:`˝`,dcaron:`ď`,dcy:`д`,dd:`ⅆ`,ddagger:`‡`,ddarr:`⇊`,ddotseq:`⩷`,deg:`°`,delta:`δ`,demptyv:`⦱`,dfisht:`⥿`,dfr:`𝔡`,dharl:`⇃`,dharr:`⇂`,diam:`⋄`,diamond:`⋄`,diamondsuit:`♦`,diams:`♦`,die:`¨`,digamma:`ϝ`,disin:`⋲`,div:`÷`,divide:`÷`,divideontimes:`⋇`,divonx:`⋇`,djcy:`ђ`,dlcorn:`⌞`,dlcrop:`⌍`,dollar:`$`,dopf:`𝕕`,dot:`˙`,doteq:`≐`,doteqdot:`≑`,dotminus:`∸`,dotplus:`∔`,dotsquare:`⊡`,doublebarwedge:`⌆`,downarrow:`↓`,downdownarrows:`⇊`,downharpoonleft:`⇃`,downharpoonright:`⇂`,drbkarow:`⤐`,drcorn:`⌟`,drcrop:`⌌`,dscr:`𝒹`,dscy:`ѕ`,dsol:`⧶`,dstrok:`đ`,dtdot:`⋱`,dtri:`▿`,dtrif:`▾`,duarr:`⇵`,duhar:`⥯`,dwangle:`⦦`,dzcy:`џ`,dzigrarr:`⟿`,eDDot:`⩷`,eDot:`≑`,eacute:`é`,easter:`⩮`,ecaron:`ě`,ecir:`≖`,ecirc:`ê`,ecolon:`≕`,ecy:`э`,edot:`ė`,ee:`ⅇ`,efDot:`≒`,efr:`𝔢`,eg:`⪚`,egrave:`è`,egs:`⪖`,egsdot:`⪘`,el:`⪙`,elinters:`⏧`,ell:`ℓ`,els:`⪕`,elsdot:`⪗`,emacr:`ē`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,emsp13:` `,emsp14:` `,emsp:` `,eng:`ŋ`,ensp:` `,eogon:`ę`,eopf:`𝕖`,epar:`⋕`,eparsl:`⧣`,eplus:`⩱`,epsi:`ε`,epsilon:`ε`,epsiv:`ϵ`,eqcirc:`≖`,eqcolon:`≕`,eqsim:`≂`,eqslantgtr:`⪖`,eqslantless:`⪕`,equals:`=`,equest:`≟`,equiv:`≡`,equivDD:`⩸`,eqvparsl:`⧥`,erDot:`≓`,erarr:`⥱`,escr:`ℯ`,esdot:`≐`,esim:`≂`,eta:`η`,eth:`ð`,euml:`ë`,euro:`€`,excl:`!`,exist:`∃`,expectation:`ℰ`,exponentiale:`ⅇ`,fallingdotseq:`≒`,fcy:`ф`,female:`♀`,ffilig:`ffi`,fflig:`ff`,ffllig:`ffl`,ffr:`𝔣`,filig:`fi`,fjlig:`fj`,flat:`♭`,fllig:`fl`,fltns:`▱`,fnof:`ƒ`,fopf:`𝕗`,forall:`∀`,fork:`⋔`,forkv:`⫙`,fpartint:`⨍`,frac12:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`,frown:`⌢`,fscr:`𝒻`,gE:`≧`,gEl:`⪌`,gacute:`ǵ`,gamma:`γ`,gammad:`ϝ`,gap:`⪆`,gbreve:`ğ`,gcirc:`ĝ`,gcy:`г`,gdot:`ġ`,ge:`≥`,gel:`⋛`,geq:`≥`,geqq:`≧`,geqslant:`⩾`,ges:`⩾`,gescc:`⪩`,gesdot:`⪀`,gesdoto:`⪂`,gesdotol:`⪄`,gesl:`⋛︀`,gesles:`⪔`,gfr:`𝔤`,gg:`≫`,ggg:`⋙`,gimel:`ℷ`,gjcy:`ѓ`,gl:`≷`,glE:`⪒`,gla:`⪥`,glj:`⪤`,gnE:`≩`,gnap:`⪊`,gnapprox:`⪊`,gne:`⪈`,gneq:`⪈`,gneqq:`≩`,gnsim:`⋧`,gopf:`𝕘`,grave:"`",gscr:`ℊ`,gsim:`≳`,gsime:`⪎`,gsiml:`⪐`,gt:`>`,gtcc:`⪧`,gtcir:`⩺`,gtdot:`⋗`,gtlPar:`⦕`,gtquest:`⩼`,gtrapprox:`⪆`,gtrarr:`⥸`,gtrdot:`⋗`,gtreqless:`⋛`,gtreqqless:`⪌`,gtrless:`≷`,gtrsim:`≳`,gvertneqq:`≩︀`,gvnE:`≩︀`,hArr:`⇔`,hairsp:` `,half:`½`,hamilt:`ℋ`,hardcy:`ъ`,harr:`↔`,harrcir:`⥈`,harrw:`↭`,hbar:`ℏ`,hcirc:`ĥ`,hearts:`♥`,heartsuit:`♥`,hellip:`…`,hercon:`⊹`,hfr:`𝔥`,hksearow:`⤥`,hkswarow:`⤦`,hoarr:`⇿`,homtht:`∻`,hookleftarrow:`↩`,hookrightarrow:`↪`,hopf:`𝕙`,horbar:`―`,hscr:`𝒽`,hslash:`ℏ`,hstrok:`ħ`,hybull:`⁃`,hyphen:`‐`,iacute:`í`,ic:``,icirc:`î`,icy:`и`,iecy:`е`,iexcl:`¡`,iff:`⇔`,ifr:`𝔦`,igrave:`ì`,ii:`ⅈ`,iiiint:`⨌`,iiint:`∭`,iinfin:`⧜`,iiota:`℩`,ijlig:`ij`,imacr:`ī`,image:`ℑ`,imagline:`ℐ`,imagpart:`ℑ`,imath:`ı`,imof:`⊷`,imped:`Ƶ`,in:`∈`,incare:`℅`,infin:`∞`,infintie:`⧝`,inodot:`ı`,int:`∫`,intcal:`⊺`,integers:`ℤ`,intercal:`⊺`,intlarhk:`⨗`,intprod:`⨼`,iocy:`ё`,iogon:`į`,iopf:`𝕚`,iota:`ι`,iprod:`⨼`,iquest:`¿`,iscr:`𝒾`,isin:`∈`,isinE:`⋹`,isindot:`⋵`,isins:`⋴`,isinsv:`⋳`,isinv:`∈`,it:``,itilde:`ĩ`,iukcy:`і`,iuml:`ï`,jcirc:`ĵ`,jcy:`й`,jfr:`𝔧`,jmath:`ȷ`,jopf:`𝕛`,jscr:`𝒿`,jsercy:`ј`,jukcy:`є`,kappa:`κ`,kappav:`ϰ`,kcedil:`ķ`,kcy:`к`,kfr:`𝔨`,kgreen:`ĸ`,khcy:`х`,kjcy:`ќ`,kopf:`𝕜`,kscr:`𝓀`,lAarr:`⇚`,lArr:`⇐`,lAtail:`⤛`,lBarr:`⤎`,lE:`≦`,lEg:`⪋`,lHar:`⥢`,lacute:`ĺ`,laemptyv:`⦴`,lagran:`ℒ`,lambda:`λ`,lang:`⟨`,langd:`⦑`,langle:`⟨`,lap:`⪅`,laquo:`«`,larr:`←`,larrb:`⇤`,larrbfs:`⤟`,larrfs:`⤝`,larrhk:`↩`,larrlp:`↫`,larrpl:`⤹`,larrsim:`⥳`,larrtl:`↢`,lat:`⪫`,latail:`⤙`,late:`⪭`,lates:`⪭︀`,lbarr:`⤌`,lbbrk:`❲`,lbrace:`{`,lbrack:`[`,lbrke:`⦋`,lbrksld:`⦏`,lbrkslu:`⦍`,lcaron:`ľ`,lcedil:`ļ`,lceil:`⌈`,lcub:`{`,lcy:`л`,ldca:`⤶`,ldquo:`“`,ldquor:`„`,ldrdhar:`⥧`,ldrushar:`⥋`,ldsh:`↲`,le:`≤`,leftarrow:`←`,leftarrowtail:`↢`,leftharpoondown:`↽`,leftharpoonup:`↼`,leftleftarrows:`⇇`,leftrightarrow:`↔`,leftrightarrows:`⇆`,leftrightharpoons:`⇋`,leftrightsquigarrow:`↭`,leftthreetimes:`⋋`,leg:`⋚`,leq:`≤`,leqq:`≦`,leqslant:`⩽`,les:`⩽`,lescc:`⪨`,lesdot:`⩿`,lesdoto:`⪁`,lesdotor:`⪃`,lesg:`⋚︀`,lesges:`⪓`,lessapprox:`⪅`,lessdot:`⋖`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,lessgtr:`≶`,lesssim:`≲`,lfisht:`⥼`,lfloor:`⌊`,lfr:`𝔩`,lg:`≶`,lgE:`⪑`,lhard:`↽`,lharu:`↼`,lharul:`⥪`,lhblk:`▄`,ljcy:`љ`,ll:`≪`,llarr:`⇇`,llcorner:`⌞`,llhard:`⥫`,lltri:`◺`,lmidot:`ŀ`,lmoust:`⎰`,lmoustache:`⎰`,lnE:`≨`,lnap:`⪉`,lnapprox:`⪉`,lne:`⪇`,lneq:`⪇`,lneqq:`≨`,lnsim:`⋦`,loang:`⟬`,loarr:`⇽`,lobrk:`⟦`,longleftarrow:`⟵`,longleftrightarrow:`⟷`,longmapsto:`⟼`,longrightarrow:`⟶`,looparrowleft:`↫`,looparrowright:`↬`,lopar:`⦅`,lopf:`𝕝`,loplus:`⨭`,lotimes:`⨴`,lowast:`∗`,lowbar:`_`,loz:`◊`,lozenge:`◊`,lozf:`⧫`,lpar:`(`,lparlt:`⦓`,lrarr:`⇆`,lrcorner:`⌟`,lrhar:`⇋`,lrhard:`⥭`,lrm:``,lrtri:`⊿`,lsaquo:`‹`,lscr:`𝓁`,lsh:`↰`,lsim:`≲`,lsime:`⪍`,lsimg:`⪏`,lsqb:`[`,lsquo:`‘`,lsquor:`‚`,lstrok:`ł`,lt:`<`,ltcc:`⪦`,ltcir:`⩹`,ltdot:`⋖`,lthree:`⋋`,ltimes:`⋉`,ltlarr:`⥶`,ltquest:`⩻`,ltrPar:`⦖`,ltri:`◃`,ltrie:`⊴`,ltrif:`◂`,lurdshar:`⥊`,luruhar:`⥦`,lvertneqq:`≨︀`,lvnE:`≨︀`,mDDot:`∺`,macr:`¯`,male:`♂`,malt:`✠`,maltese:`✠`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,mapstoleft:`↤`,mapstoup:`↥`,marker:`▮`,mcomma:`⨩`,mcy:`м`,mdash:`—`,measuredangle:`∡`,mfr:`𝔪`,mho:`℧`,micro:`µ`,mid:`∣`,midast:`*`,midcir:`⫰`,middot:`·`,minus:`−`,minusb:`⊟`,minusd:`∸`,minusdu:`⨪`,mlcp:`⫛`,mldr:`…`,mnplus:`∓`,models:`⊧`,mopf:`𝕞`,mp:`∓`,mscr:`𝓂`,mstpos:`∾`,mu:`μ`,multimap:`⊸`,mumap:`⊸`,nGg:`⋙̸`,nGt:`≫⃒`,nGtv:`≫̸`,nLeftarrow:`⇍`,nLeftrightarrow:`⇎`,nLl:`⋘̸`,nLt:`≪⃒`,nLtv:`≪̸`,nRightarrow:`⇏`,nVDash:`⊯`,nVdash:`⊮`,nabla:`∇`,nacute:`ń`,nang:`∠⃒`,nap:`≉`,napE:`⩰̸`,napid:`≋̸`,napos:`ʼn`,napprox:`≉`,natur:`♮`,natural:`♮`,naturals:`ℕ`,nbsp:`\xA0`,nbump:`≎̸`,nbumpe:`≏̸`,ncap:`⩃`,ncaron:`ň`,ncedil:`ņ`,ncong:`≇`,ncongdot:`⩭̸`,ncup:`⩂`,ncy:`н`,ndash:`–`,ne:`≠`,neArr:`⇗`,nearhk:`⤤`,nearr:`↗`,nearrow:`↗`,nedot:`≐̸`,nequiv:`≢`,nesear:`⤨`,nesim:`≂̸`,nexist:`∄`,nexists:`∄`,nfr:`𝔫`,ngE:`≧̸`,nge:`≱`,ngeq:`≱`,ngeqq:`≧̸`,ngeqslant:`⩾̸`,nges:`⩾̸`,ngsim:`≵`,ngt:`≯`,ngtr:`≯`,nhArr:`⇎`,nharr:`↮`,nhpar:`⫲`,ni:`∋`,nis:`⋼`,nisd:`⋺`,niv:`∋`,njcy:`њ`,nlArr:`⇍`,nlE:`≦̸`,nlarr:`↚`,nldr:`‥`,nle:`≰`,nleftarrow:`↚`,nleftrightarrow:`↮`,nleq:`≰`,nleqq:`≦̸`,nleqslant:`⩽̸`,nles:`⩽̸`,nless:`≮`,nlsim:`≴`,nlt:`≮`,nltri:`⋪`,nltrie:`⋬`,nmid:`∤`,nopf:`𝕟`,not:`¬`,notin:`∉`,notinE:`⋹̸`,notindot:`⋵̸`,notinva:`∉`,notinvb:`⋷`,notinvc:`⋶`,notni:`∌`,notniva:`∌`,notnivb:`⋾`,notnivc:`⋽`,npar:`∦`,nparallel:`∦`,nparsl:`⫽⃥`,npart:`∂̸`,npolint:`⨔`,npr:`⊀`,nprcue:`⋠`,npre:`⪯̸`,nprec:`⊀`,npreceq:`⪯̸`,nrArr:`⇏`,nrarr:`↛`,nrarrc:`⤳̸`,nrarrw:`↝̸`,nrightarrow:`↛`,nrtri:`⋫`,nrtrie:`⋭`,nsc:`⊁`,nsccue:`⋡`,nsce:`⪰̸`,nscr:`𝓃`,nshortmid:`∤`,nshortparallel:`∦`,nsim:`≁`,nsime:`≄`,nsimeq:`≄`,nsmid:`∤`,nspar:`∦`,nsqsube:`⋢`,nsqsupe:`⋣`,nsub:`⊄`,nsubE:`⫅̸`,nsube:`⊈`,nsubset:`⊂⃒`,nsubseteq:`⊈`,nsubseteqq:`⫅̸`,nsucc:`⊁`,nsucceq:`⪰̸`,nsup:`⊅`,nsupE:`⫆̸`,nsupe:`⊉`,nsupset:`⊃⃒`,nsupseteq:`⊉`,nsupseteqq:`⫆̸`,ntgl:`≹`,ntilde:`ñ`,ntlg:`≸`,ntriangleleft:`⋪`,ntrianglelefteq:`⋬`,ntriangleright:`⋫`,ntrianglerighteq:`⋭`,nu:`ν`,num:`#`,numero:`№`,numsp:` `,nvDash:`⊭`,nvHarr:`⤄`,nvap:`≍⃒`,nvdash:`⊬`,nvge:`≥⃒`,nvgt:`>⃒`,nvinfin:`⧞`,nvlArr:`⤂`,nvle:`≤⃒`,nvlt:`<⃒`,nvltrie:`⊴⃒`,nvrArr:`⤃`,nvrtrie:`⊵⃒`,nvsim:`∼⃒`,nwArr:`⇖`,nwarhk:`⤣`,nwarr:`↖`,nwarrow:`↖`,nwnear:`⤧`,oS:`Ⓢ`,oacute:`ó`,oast:`⊛`,ocir:`⊚`,ocirc:`ô`,ocy:`о`,odash:`⊝`,odblac:`ő`,odiv:`⨸`,odot:`⊙`,odsold:`⦼`,oelig:`œ`,ofcir:`⦿`,ofr:`𝔬`,ogon:`˛`,ograve:`ò`,ogt:`⧁`,ohbar:`⦵`,ohm:`Ω`,oint:`∮`,olarr:`↺`,olcir:`⦾`,olcross:`⦻`,oline:`‾`,olt:`⧀`,omacr:`ō`,omega:`ω`,omicron:`ο`,omid:`⦶`,ominus:`⊖`,oopf:`𝕠`,opar:`⦷`,operp:`⦹`,oplus:`⊕`,or:`∨`,orarr:`↻`,ord:`⩝`,order:`ℴ`,orderof:`ℴ`,ordf:`ª`,ordm:`º`,origof:`⊶`,oror:`⩖`,orslope:`⩗`,orv:`⩛`,oscr:`ℴ`,oslash:`ø`,osol:`⊘`,otilde:`õ`,otimes:`⊗`,otimesas:`⨶`,ouml:`ö`,ovbar:`⌽`,par:`∥`,para:`¶`,parallel:`∥`,parsim:`⫳`,parsl:`⫽`,part:`∂`,pcy:`п`,percnt:`%`,period:`.`,permil:`‰`,perp:`⊥`,pertenk:`‱`,pfr:`𝔭`,phi:`φ`,phiv:`ϕ`,phmmat:`ℳ`,phone:`☎`,pi:`π`,pitchfork:`⋔`,piv:`ϖ`,planck:`ℏ`,planckh:`ℎ`,plankv:`ℏ`,plus:`+`,plusacir:`⨣`,plusb:`⊞`,pluscir:`⨢`,plusdo:`∔`,plusdu:`⨥`,pluse:`⩲`,plusmn:`±`,plussim:`⨦`,plustwo:`⨧`,pm:`±`,pointint:`⨕`,popf:`𝕡`,pound:`£`,pr:`≺`,prE:`⪳`,prap:`⪷`,prcue:`≼`,pre:`⪯`,prec:`≺`,precapprox:`⪷`,preccurlyeq:`≼`,preceq:`⪯`,precnapprox:`⪹`,precneqq:`⪵`,precnsim:`⋨`,precsim:`≾`,prime:`′`,primes:`ℙ`,prnE:`⪵`,prnap:`⪹`,prnsim:`⋨`,prod:`∏`,profalar:`⌮`,profline:`⌒`,profsurf:`⌓`,prop:`∝`,propto:`∝`,prsim:`≾`,prurel:`⊰`,pscr:`𝓅`,psi:`ψ`,puncsp:` `,qfr:`𝔮`,qint:`⨌`,qopf:`𝕢`,qprime:`⁗`,qscr:`𝓆`,quaternions:`ℍ`,quatint:`⨖`,quest:`?`,questeq:`≟`,quot:`"`,rAarr:`⇛`,rArr:`⇒`,rAtail:`⤜`,rBarr:`⤏`,rHar:`⥤`,race:`∽̱`,racute:`ŕ`,radic:`√`,raemptyv:`⦳`,rang:`⟩`,rangd:`⦒`,range:`⦥`,rangle:`⟩`,raquo:`»`,rarr:`→`,rarrap:`⥵`,rarrb:`⇥`,rarrbfs:`⤠`,rarrc:`⤳`,rarrfs:`⤞`,rarrhk:`↪`,rarrlp:`↬`,rarrpl:`⥅`,rarrsim:`⥴`,rarrtl:`↣`,rarrw:`↝`,ratail:`⤚`,ratio:`∶`,rationals:`ℚ`,rbarr:`⤍`,rbbrk:`❳`,rbrace:`}`,rbrack:`]`,rbrke:`⦌`,rbrksld:`⦎`,rbrkslu:`⦐`,rcaron:`ř`,rcedil:`ŗ`,rceil:`⌉`,rcub:`}`,rcy:`р`,rdca:`⤷`,rdldhar:`⥩`,rdquo:`”`,rdquor:`”`,rdsh:`↳`,real:`ℜ`,realine:`ℛ`,realpart:`ℜ`,reals:`ℝ`,rect:`▭`,reg:`®`,rfisht:`⥽`,rfloor:`⌋`,rfr:`𝔯`,rhard:`⇁`,rharu:`⇀`,rharul:`⥬`,rho:`ρ`,rhov:`ϱ`,rightarrow:`→`,rightarrowtail:`↣`,rightharpoondown:`⇁`,rightharpoonup:`⇀`,rightleftarrows:`⇄`,rightleftharpoons:`⇌`,rightrightarrows:`⇉`,rightsquigarrow:`↝`,rightthreetimes:`⋌`,ring:`˚`,risingdotseq:`≓`,rlarr:`⇄`,rlhar:`⇌`,rlm:``,rmoust:`⎱`,rmoustache:`⎱`,rnmid:`⫮`,roang:`⟭`,roarr:`⇾`,robrk:`⟧`,ropar:`⦆`,ropf:`𝕣`,roplus:`⨮`,rotimes:`⨵`,rpar:`)`,rpargt:`⦔`,rppolint:`⨒`,rrarr:`⇉`,rsaquo:`›`,rscr:`𝓇`,rsh:`↱`,rsqb:`]`,rsquo:`’`,rsquor:`’`,rthree:`⋌`,rtimes:`⋊`,rtri:`▹`,rtrie:`⊵`,rtrif:`▸`,rtriltri:`⧎`,ruluhar:`⥨`,rx:`℞`,sacute:`ś`,sbquo:`‚`,sc:`≻`,scE:`⪴`,scap:`⪸`,scaron:`š`,sccue:`≽`,sce:`⪰`,scedil:`ş`,scirc:`ŝ`,scnE:`⪶`,scnap:`⪺`,scnsim:`⋩`,scpolint:`⨓`,scsim:`≿`,scy:`с`,sdot:`⋅`,sdotb:`⊡`,sdote:`⩦`,seArr:`⇘`,searhk:`⤥`,searr:`↘`,searrow:`↘`,sect:`§`,semi:`;`,seswar:`⤩`,setminus:`∖`,setmn:`∖`,sext:`✶`,sfr:`𝔰`,sfrown:`⌢`,sharp:`♯`,shchcy:`щ`,shcy:`ш`,shortmid:`∣`,shortparallel:`∥`,shy:``,sigma:`σ`,sigmaf:`ς`,sigmav:`ς`,sim:`∼`,simdot:`⩪`,sime:`≃`,simeq:`≃`,simg:`⪞`,simgE:`⪠`,siml:`⪝`,simlE:`⪟`,simne:`≆`,simplus:`⨤`,simrarr:`⥲`,slarr:`←`,smallsetminus:`∖`,smashp:`⨳`,smeparsl:`⧤`,smid:`∣`,smile:`⌣`,smt:`⪪`,smte:`⪬`,smtes:`⪬︀`,softcy:`ь`,sol:`/`,solb:`⧄`,solbar:`⌿`,sopf:`𝕤`,spades:`♠`,spadesuit:`♠`,spar:`∥`,sqcap:`⊓`,sqcaps:`⊓︀`,sqcup:`⊔`,sqcups:`⊔︀`,sqsub:`⊏`,sqsube:`⊑`,sqsubset:`⊏`,sqsubseteq:`⊑`,sqsup:`⊐`,sqsupe:`⊒`,sqsupset:`⊐`,sqsupseteq:`⊒`,squ:`□`,square:`□`,squarf:`▪`,squf:`▪`,srarr:`→`,sscr:`𝓈`,ssetmn:`∖`,ssmile:`⌣`,sstarf:`⋆`,star:`☆`,starf:`★`,straightepsilon:`ϵ`,straightphi:`ϕ`,strns:`¯`,sub:`⊂`,subE:`⫅`,subdot:`⪽`,sube:`⊆`,subedot:`⫃`,submult:`⫁`,subnE:`⫋`,subne:`⊊`,subplus:`⪿`,subrarr:`⥹`,subset:`⊂`,subseteq:`⊆`,subseteqq:`⫅`,subsetneq:`⊊`,subsetneqq:`⫋`,subsim:`⫇`,subsub:`⫕`,subsup:`⫓`,succ:`≻`,succapprox:`⪸`,succcurlyeq:`≽`,succeq:`⪰`,succnapprox:`⪺`,succneqq:`⪶`,succnsim:`⋩`,succsim:`≿`,sum:`∑`,sung:`♪`,sup1:`¹`,sup2:`²`,sup3:`³`,sup:`⊃`,supE:`⫆`,supdot:`⪾`,supdsub:`⫘`,supe:`⊇`,supedot:`⫄`,suphsol:`⟉`,suphsub:`⫗`,suplarr:`⥻`,supmult:`⫂`,supnE:`⫌`,supne:`⊋`,supplus:`⫀`,supset:`⊃`,supseteq:`⊇`,supseteqq:`⫆`,supsetneq:`⊋`,supsetneqq:`⫌`,supsim:`⫈`,supsub:`⫔`,supsup:`⫖`,swArr:`⇙`,swarhk:`⤦`,swarr:`↙`,swarrow:`↙`,swnwar:`⤪`,szlig:`ß`,target:`⌖`,tau:`τ`,tbrk:`⎴`,tcaron:`ť`,tcedil:`ţ`,tcy:`т`,tdot:`⃛`,telrec:`⌕`,tfr:`𝔱`,there4:`∴`,therefore:`∴`,theta:`θ`,thetasym:`ϑ`,thetav:`ϑ`,thickapprox:`≈`,thicksim:`∼`,thinsp:` `,thkap:`≈`,thksim:`∼`,thorn:`þ`,tilde:`˜`,times:`×`,timesb:`⊠`,timesbar:`⨱`,timesd:`⨰`,tint:`∭`,toea:`⤨`,top:`⊤`,topbot:`⌶`,topcir:`⫱`,topf:`𝕥`,topfork:`⫚`,tosa:`⤩`,tprime:`‴`,trade:`™`,triangle:`▵`,triangledown:`▿`,triangleleft:`◃`,trianglelefteq:`⊴`,triangleq:`≜`,triangleright:`▹`,trianglerighteq:`⊵`,tridot:`◬`,trie:`≜`,triminus:`⨺`,triplus:`⨹`,trisb:`⧍`,tritime:`⨻`,trpezium:`⏢`,tscr:`𝓉`,tscy:`ц`,tshcy:`ћ`,tstrok:`ŧ`,twixt:`≬`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,uArr:`⇑`,uHar:`⥣`,uacute:`ú`,uarr:`↑`,ubrcy:`ў`,ubreve:`ŭ`,ucirc:`û`,ucy:`у`,udarr:`⇅`,udblac:`ű`,udhar:`⥮`,ufisht:`⥾`,ufr:`𝔲`,ugrave:`ù`,uharl:`↿`,uharr:`↾`,uhblk:`▀`,ulcorn:`⌜`,ulcorner:`⌜`,ulcrop:`⌏`,ultri:`◸`,umacr:`ū`,uml:`¨`,uogon:`ų`,uopf:`𝕦`,uparrow:`↑`,updownarrow:`↕`,upharpoonleft:`↿`,upharpoonright:`↾`,uplus:`⊎`,upsi:`υ`,upsih:`ϒ`,upsilon:`υ`,upuparrows:`⇈`,urcorn:`⌝`,urcorner:`⌝`,urcrop:`⌎`,uring:`ů`,urtri:`◹`,uscr:`𝓊`,utdot:`⋰`,utilde:`ũ`,utri:`▵`,utrif:`▴`,uuarr:`⇈`,uuml:`ü`,uwangle:`⦧`,vArr:`⇕`,vBar:`⫨`,vBarv:`⫩`,vDash:`⊨`,vangrt:`⦜`,varepsilon:`ϵ`,varkappa:`ϰ`,varnothing:`∅`,varphi:`ϕ`,varpi:`ϖ`,varpropto:`∝`,varr:`↕`,varrho:`ϱ`,varsigma:`ς`,varsubsetneq:`⊊︀`,varsubsetneqq:`⫋︀`,varsupsetneq:`⊋︀`,varsupsetneqq:`⫌︀`,vartheta:`ϑ`,vartriangleleft:`⊲`,vartriangleright:`⊳`,vcy:`в`,vdash:`⊢`,vee:`∨`,veebar:`⊻`,veeeq:`≚`,vellip:`⋮`,verbar:`|`,vert:`|`,vfr:`𝔳`,vltri:`⊲`,vnsub:`⊂⃒`,vnsup:`⊃⃒`,vopf:`𝕧`,vprop:`∝`,vrtri:`⊳`,vscr:`𝓋`,vsubnE:`⫋︀`,vsubne:`⊊︀`,vsupnE:`⫌︀`,vsupne:`⊋︀`,vzigzag:`⦚`,wcirc:`ŵ`,wedbar:`⩟`,wedge:`∧`,wedgeq:`≙`,weierp:`℘`,wfr:`𝔴`,wopf:`𝕨`,wp:`℘`,wr:`≀`,wreath:`≀`,wscr:`𝓌`,xcap:`⋂`,xcirc:`◯`,xcup:`⋃`,xdtri:`▽`,xfr:`𝔵`,xhArr:`⟺`,xharr:`⟷`,xi:`ξ`,xlArr:`⟸`,xlarr:`⟵`,xmap:`⟼`,xnis:`⋻`,xodot:`⨀`,xopf:`𝕩`,xoplus:`⨁`,xotime:`⨂`,xrArr:`⟹`,xrarr:`⟶`,xscr:`𝓍`,xsqcup:`⨆`,xuplus:`⨄`,xutri:`△`,xvee:`⋁`,xwedge:`⋀`,yacute:`ý`,yacy:`я`,ycirc:`ŷ`,ycy:`ы`,yen:`¥`,yfr:`𝔶`,yicy:`ї`,yopf:`𝕪`,yscr:`𝓎`,yucy:`ю`,yuml:`ÿ`,zacute:`ź`,zcaron:`ž`,zcy:`з`,zdot:`ż`,zeetrf:`ℨ`,zeta:`ζ`,zfr:`𝔷`,zhcy:`ж`,zigrarr:`⇝`,zopf:`𝕫`,zscr:`𝓏`,zwj:``,zwnj:``},qFt={}.hasOwnProperty,JFt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi,YFt=/\r?\n|\r/g,XFt={}.hasOwnProperty,ZFt={tokenize:DMt,partial:!0},QFt={tokenize:OMt,partial:!0},$Ft={tokenize:kMt,partial:!0},eIt={tokenize:AMt,partial:!0},tIt={tokenize:jMt,partial:!0},nIt={tokenize:TMt,previous:MMt},bz={tokenize:EMt,previous:NMt},xz={tokenize:wMt,previous:PMt},Sz={},Cz=48;Cz<123;)Sz[Cz]=xz,Cz++,Cz===58?Cz=65:Cz===91&&(Cz=97);Sz[43]=xz,Sz[45]=xz,Sz[46]=xz,Sz[95]=xz,Sz[72]=[xz,bz],Sz[104]=[xz,bz],Sz[87]=[xz,nIt],Sz[119]=[xz,nIt],wz={name:`attention`,tokenize:RMt,resolveAll:LMt},rIt={name:`autolink`,tokenize:BMt},Tz={tokenize:VMt,partial:!0},Ez={name:`blockQuote`,tokenize:HMt,continuation:{tokenize:UMt},exit:WMt},Dz={name:`characterEscape`,tokenize:GMt},Oz={name:`characterReference`,tokenize:KMt},kz={tokenize:JMt,partial:!0},Az={name:`codeFenced`,tokenize:qMt,concrete:!0},jz={name:`codeIndented`,tokenize:YMt},iIt={tokenize:XMt,partial:!0},aIt={name:`codeText`,tokenize:$Mt,resolve:ZMt,previous:QMt},oIt=class{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e {}));function Vzn(){let e=[],t={run:n,use:r};return t;function n(...t){let n=-1,r=t.pop();if(typeof r!=`function`)throw TypeError(`Expected function as last argument, not `+r);i(null,...t);function i(a,...o){let s=e[++n],c=-1;if(a)r(a);else{for(;++ca(e,n+r+t,i+r+t)),u+=2,d=n}else d=Math.min(s,r),a(n,c+t,d+t)}})},_Wt=(e,t,n,r,i,a)=>{r.lastIndex=t;let o=r.exec(e);if(o===null)return;let s=o.indices,c=s[0],l=n.captures,u=n.rest??i.default,d=c[0],f=c[1];for(let e=0;e${o}`}})),LWt=s((()=>{$H(),SWt(),TWt(),IWt()})),RWt,zWt=s((()=>{RWt={name:`bash`,aliases:[`sh`,`shell`,`zsh`,`console`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{include:`expansion`},{match:`\\\\[^\\r\\n]`,scope:`string.escape`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\$'`,scope:`string`,push:`string-ansi`},{match:"`",scope:`string`,push:`backtick`},{match:`(<<-?)([ \\t]*)(['"])([A-Za-z_]\\w*)(['"])`,scope:[`operator`,null,`string`,`string.special`,`string`],push:`heredoc-literal`,remember:4},{match:`(<<-?)([ \\t]*)([A-Za-z_]\\w*)`,scope:[`operator`,null,`string.special`],push:`heredoc`,remember:3},{match:`\\b(?:if|then|else|elif|fi|for|while|until|do|done|case|esac|select|break|continue|return|exit)\\b`,scope:`keyword.control`},{match:`\\b(?:local|declare|typeset|readonly|export)\\b`,scope:`keyword.declaration`,push:`declared-name`},{match:`\\b(?:function|alias|unset)\\b`,scope:`keyword.declaration`},{match:`\\b(?:in|then)\\b`,scope:`keyword.operator`},{match:`\\b(?:echo|printf|read|cd|pwd|source|eval|exec|test|trap|set|shift|wait|kill|jobs|getopts|command|type|hash|umask|ulimit)\\b`,scope:`function.builtin`},{match:"[A-Za-z_./~](?<=(?:^(?{}\\[\\]#=-][^\\s$'"\`\\\\|&;()<>{}]{0,256}`,scope:`string`},{match:`&&|\\|\\||[|&;]|[<>]{1,2}|[-+*%!=]=?|=~`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`}]},"declared-name":{rules:[{match:`(?:^|\\s)(--?[A-Za-z][\\w-]*)`,scope:[`constant`]},{match:`[A-Za-z_]\\w*`,scope:`variable`,pop:!0},{match:`(?=[^ \\t])`,pop:!0}]},expansion:{rules:[{match:`\\$\\{`,scope:`variable`,push:`brace-expansion`},{match:`\\$\\(\\(`,scope:`operator`,push:`arithmetic`},{match:`\\$\\(`,scope:`operator`,push:`subshell`},{match:`\\$(?:[A-Za-z_]\\w*|[0-9!@#?*$-])`,scope:`variable`}]},"brace-expansion":{default:`variable`,rules:[{match:`\\}`,scope:`variable`,pop:!0},{match:`[:#%/^,!*@-]+`,scope:`operator`}]},arithmetic:{rules:[{match:`\\)\\)`,scope:`operator`,pop:!0},{include:`expansion`},{match:`\\b\\d+\\b`,scope:`number`},{match:`[-+*/%<>=!&|^]+`,scope:`operator`}]},subshell:{rules:[{match:`\\)`,scope:`operator`,pop:!0},{include:`root`}]},"string-double":{default:`string`,rules:[{match:'\\\\(?:[\\\\$`"\\n]|\\r\\n)',scope:`string.escape`},{include:`expansion`},{match:"`",scope:`string`,push:`backtick`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`'`,scope:`string`,pop:!0}]},"string-ansi":{default:`string`,rules:[{match:`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},backtick:{rules:[{match:"`",scope:`string`,pop:!0},{include:`root`}]},heredoc:{default:`string`,rules:[{include:`heredoc-end`},{include:`expansion`}]},"heredoc-literal":{default:`string`,rules:[{include:`heredoc-end`}]},"heredoc-end":{rules:[{match:`^[ \\t]*{{remembered}}[ \\t]*$`,scope:`string.special`,pop:!0}]}}}})),cU,BWt,VWt,lU,uU,HWt,UWt=s((()=>{cU=`[A-Za-z_]\\w*`,BWt=`\\\\(?:x[0-9a-fA-F]+|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|.)`,VWt=`%[-+ #0']*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?(?:hh|ll|[hljztL])?[diouxXeEfFgGaAcspn%]`,lU=`(?:[uU](?:ll|LL|[lL])?|(?:ll|LL|[lL])[uU]?|[fF])?`,uU=`(?:u8|[uUL])?`,HWt={name:`c`,aliases:[`h`],states:{root:{rules:[{match:`/\\*[*!](?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(#[ \\t]*include(?:_next)?)([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[null,`keyword.import`,null,`string`]},{match:`^([ \\t]*)(#[ \\t]*define)([ \\t]+)(${cU})(?=\\()`,scope:[null,`keyword.declaration`,null,`function`]},{match:`^([ \\t]*)(#[ \\t]*(?:define|undef))([ \\t]+)(${cU})`,scope:[null,`keyword.declaration`,null,`constant`]},{match:`^([ \\t]*)(#[ \\t]*(?:ifdef|ifndef|elifdef|elifndef|if|elif|else|endif))\\b`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(#[ \\t]*[a-z_]+)`,scope:[null,`keyword`]},{match:`\\\\(?=\\r?\\n)`,scope:`operator`},{match:`${uU}(")`,scope:[`string`],rest:`string.special`,push:`string`},{match:`${uU}('(?:[^'\\\\\\n]|\\\\[^\\n]){1,8}')`,scope:[`string`],rest:`string.special`},{match:`\\b(struct|union|enum)([ \\t]+)(${cU})`,scope:[`keyword.declaration`,null,`type`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|goto)\\b`,scope:`keyword.control`},{match:`\\b(?:struct|union|enum|typedef|static|extern|const|volatile|inline|register|auto|restrict|constexpr|_Atomic|_Noreturn|_Thread_local|thread_local)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|alignof|_Alignof|typeof|typeof_unqual|_Generic|defined)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:NULL|nullptr|EOF)\\b`,scope:`constant.builtin`},{match:`\\b(?:stdin|stdout|stderr|errno)\\b`,scope:`variable.builtin`},{match:`\\b(?:void|char|short|int|long|float|double|signed|unsigned|_Bool|bool|size_t|ssize_t|ptrdiff_t|wchar_t|char16_t|char32_t|FILE|va_list|u?int(?:8|16|32|64|ptr|max)_t)\\b`,scope:`type.builtin`},{match:`\\b__\\w+`,scope:`variable.special`},{match:`(->)(${cU})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${cU})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${cU})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${cU})`,scope:[`punctuation`,`variable.member`]},{match:`\\b${cU}(?=[ \\t]*\\([^;(){}]{0,120}\\)[ \\t]*(?:\\r?\\n[ \\t]*)?\\{)`,scope:`function`},{match:`\\b(?:printf|fprintf|sprintf|snprintf|scanf|sscanf|puts|fputs|putchar|getchar|perror|fflush|fopen|fclose|fread|fwrite|malloc|calloc|realloc|free|memcpy|memmove|memset|memcmp|strlen|strcmp|strncmp|strcpy|strncpy|strcat|strchr|strstr|strtol|strtod|atoi|abort|exit|assert|qsort|bsearch|va_start|va_arg|va_end)\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`\\b${cU}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b${cU}_t\\b`,scope:`type`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b0[xX][0-9a-fA-F]+(?:\\.[0-9a-fA-F]*)?(?:[pP][-+]?\\d+)?${lU}\\b`,scope:`number`},{match:`\\b0[bB][01]+${lU}\\b`,scope:`number`},{match:`\\b\\d+(?:\\.\\d*)?(?:[eE][-+]?\\d+)?${lU}\\b`,scope:`number`},{match:`\\.\\d+(?:[eE][-+]?\\d+)?${lU}\\b`,scope:`number`},{match:`->|\\+\\+|--|<<=?|>>=?|&&|\\|\\||\\.{3}|[-+*/%&|^!=<>]=?|[?~]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:BWt,scope:`string.escape`},{match:VWt,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),dU,fU,pU,mU,hU,gU,_U,WWt,GWt=s((()=>{dU=`[\\w*+!?<>=&%$|.'#-]`,fU=`[A-Za-z*+!_?<>=&%$|.-]${dU}*`,pU=`(?=&%$|.'#:/-])`,mU=`(?![\\w*+!?<>=&%$|.'#:/-])`,hU=`(?:(\\^:?${dU}+)(\\s+))?`,gU=`(?:(\\s+)("(?:[^"\\\\]|\\\\[\\s\\S])*"))?`,_U=`String|Integer|Long|Double|Boolean|Object|Number|Class|Exception|Throwable|Math|System|Thread`,WWt={name:`clojure`,aliases:[`clj`,`cljs`,`cljc`,`edn`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`;[^\\n]*`,scope:`comment`},{match:`#_`,scope:`comment`},{match:`\\\\(?:newline|space|tab|formfeed|backspace|return|u[0-9a-fA-F]{4}|o[0-7]{1,3}|\\S)`,scope:`string`},{match:`#"`,scope:`regexp`,push:`regexp`},{match:`"`,scope:`string`,push:`string`},{match:`#\\?@?`,scope:`keyword`},{match:`(#')(${fU})`,scope:[`operator`,`variable`]},{match:`#[({]`,scope:`punctuation.bracket`},{match:`#[A-Za-z]${dU}*`,scope:`type`},{match:`\\^:?${dU}+`,scope:`decorator`},{match:`\\^`,scope:`operator`},{match:`##(?:-?Inf|NaN)`,scope:`number`},{match:`${pU}[-+]?(?:\\d+[rR][0-9a-zA-Z]+|0[xX][0-9a-fA-F]+N?|\\d+/\\d+|(?:\\d+\\.?\\d*|\\.\\d+)(?:[eE][-+]?\\d+)?[MN]?)`,scope:`number`},{match:`(:as)(\\s+)(${fU})`,scope:[`constant`,null,`namespace`]},{match:`${pU}::?${dU}+(?:/${dU}+)?`,scope:`constant`},{match:`(?<=\\()(def(?:record|type|protocol|interface|struct))(\\s+)${hU}(${fU})`,scope:[`keyword.declaration`,null,`decorator`,null,`class`]},{match:`(?<=\\()(def(?:n-?|m(?:acro|ulti|ethod)|test))(\\s+)${hU}(${fU})${gU}`,scope:[`keyword.declaration`,null,`decorator`,null,`function`,null,`comment.doc`]},{match:`(?<=\\()(def(?:once)?)(\\s+)${hU}(${fU})`,scope:[`keyword.declaration`,null,`decorator`,null,`variable`]},{match:`(?<=\\()(ns)(\\s+)${hU}(${fU})${gU}`,scope:[`keyword.import`,null,`decorator`,null,`namespace`,null,`comment.doc`]},{match:`(?<=\\()def${dU}*${mU}`,scope:`keyword.declaration`},{match:`(?<=\\()(\\.-)(${fU})`,scope:[`punctuation`,`variable.member`]},{match:`(?<=\\()(\\.)(${fU})`,scope:[`punctuation`,`function.method`]},{match:`${pU}nil${mU}`,scope:`constant.builtin`},{match:`${pU}(?:true|false)${mU}`,scope:`boolean`},{match:`${pU}(?:if(?:-not|-let|-some)?|when(?:-not|-let|-some|-first)?|condp?|case|do(?:seq|times|all|run)?|for|loop|recur|while|try|catch|finally|throw)${mU}`,scope:`keyword.control`},{match:`${pU}(?:fn|let(?:fn)?|binding|reify|proxy|declare|set!|var|new|extend-(?:type|protocol))${mU}`,scope:`keyword.declaration`},{match:`${pU}(?:(?:some|cond)?->>?|as->|and|or|not)${mU}`,scope:`keyword.operator`},{match:`${pU}(?:require|import|use|refer(?:-clojure)?|in-ns|load)${mU}`,scope:`keyword.import`},{match:`${pU}(?:not=|[<>]=?|=|[-+*/]|rem|quot|mod)${mU}`,scope:`operator`},{match:`${pU}(?:mapv?|filter|reduce|apply|into|conj|assoc(?:-in)?|dissoc|get(?:-in)?|update(?:-in)?|merge|count|first|second|rest|last|nth|take|drop|range|str|keyword|name|println|vec|vector|list|set|seq|sort(?:-by)?|concat|empty\\?|nil\\?|some|every\\?|contains\\?|inc|dec|swap!|reset!|atom|partial|comp|juxt)${mU}`,scope:`function.builtin`},{match:`${pU}(${_U})(/)(${fU})`,scope:[`type.builtin`,`punctuation.delimiter`,`function.method`]},{match:`${pU}([A-Z]${dU}*)(/)(${fU})`,scope:[`type`,`punctuation.delimiter`,`function.method`]},{match:`${pU}(?:${_U})${mU}`,scope:`type.builtin`},{match:`${pU}[A-Z]${dU}*`,scope:`type`},{match:`${pU}[a-z][\\w-]*(?:\\.[\\w-]+)+`,scope:`namespace`},{match:`(?<=\\()(?:(${fU})(/))?(${fU})`,scope:[`namespace`,`punctuation.delimiter`,`function.call`]},{match:`${pU}(${fU})(/)`,scope:[`namespace`,`punctuation.delimiter`]},{match:`${pU}%(?:\\d+|&)?`,scope:`variable.parameter`},{match:`${pU}&${mU}`,scope:`operator`},{match:`${pU}(?:~@|[~@'\`])`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|[\\s\\S])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},regexp:{default:`regexp`,rules:[{match:`\\\\[\\s\\S]`,scope:`string.escape`},{match:`"`,scope:`regexp`,pop:!0},{match:`$`,pop:!0}]}}}})),vU,KWt,qWt,yU,bU,xU,SU,JWt,YWt=s((()=>{vU=`[A-Za-z_]\\w*`,KWt=`\\\\(?:x[0-9a-fA-F]+|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|.)`,qWt=`%[-+ #0']{0,8}(?:\\d{1,10}|\\*)?(?:\\.(?:\\d{1,10}|\\*)?)?(?:hh|ll|[hljztL])?[diouxXeEfFgGaAcspn%]`,yU=`(?:[A-Za-z_]\\w*)?`,bU=`(?:u8|[uUL])?`,xU=`(?:const|noexcept|override|final|try|&&?)`,SU=`[ \\t\\r\\n]{0,32}`,JWt={name:`cpp`,aliases:[`c++`,`cc`,`cxx`,`hpp`,`hxx`,`h++`,`cppm`],states:{root:{rules:[{match:`/\\*[*!](?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(#[ \\t]*include(?:_next)?)([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[null,`keyword.import`,null,`string`]},{match:`^([ \\t]*)(#[ \\t]*define)([ \\t]+)(${vU})(?=\\()`,scope:[null,`keyword.declaration`,null,`function`]},{match:`^([ \\t]*)(#[ \\t]*(?:define|undef))([ \\t]+)(${vU})`,scope:[null,`keyword.declaration`,null,`constant`]},{match:`^([ \\t]*)(#[ \\t]*(?:ifdef|ifndef|elifdef|elifndef|if|elif|else|endif))\\b`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(#[ \\t]*[a-z_]+)`,scope:[null,`keyword`]},{match:`\\\\(?=\\r?\\n)`,scope:`operator`},{match:`\\[\\[[^\\[\\]\\n]{0,120}\\]\\]`,scope:`decorator`},{match:`(${bU}R)("[^()\\\\\\s]{0,16}\\()`,scope:[`string.special`,`string`],push:`raw-string`},{match:`${bU}(")`,scope:[`string`],rest:`string.special`,push:`string`},{match:`${bU}('(?:[^'\\\\\\n]|\\\\[^\\n]){1,8}')`,scope:[`string`],rest:`string.special`},{match:`\\b(class|struct|union|enum(?:[ \\t]+(?:class|struct))?)([ \\t]+)(${vU})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(namespace)([ \\t]+)(${vU}(?:::${vU})*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b(using)([ \\t]+)(namespace)([ \\t]+)(${vU}(?:::${vU})*)`,scope:[`keyword.import`,null,`keyword.import`,null,`namespace`]},{match:`\\b(using)([ \\t]+)(namespace)\\b`,scope:[`keyword.import`,null,`keyword.import`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|goto|try|catch|throw|co_await|co_return|co_yield)\\b`,scope:`keyword.control`},{match:`\\b(?:class|struct|union|enum|typedef|using|template|typename|namespace|auto|const|constexpr|consteval|constinit|static|static_assert|extern|inline|virtual|override|final|explicit|friend|mutable|volatile|thread_local|public|private|protected|operator|concept)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|alignof|alignas|typeid|decltype|noexcept|requires|new|delete|static_cast|dynamic_cast|const_cast|reinterpret_cast|and|or|not|xor|defined)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nullptr|NULL|EOF)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|cout|cerr|clog|cin|endl|stdin|stdout|stderr|errno)\\b`,scope:`variable.builtin`},{match:`\\b(?:void|bool|char|char(?:8|16|32)_t|wchar_t|short|int|long|float|double|signed|unsigned|size_t|ssize_t|ptrdiff_t|nullptr_t|u?int(?:8|16|32|64|ptr|max)_t|string|string_view|vector|unordered_map|unordered_set|shared_ptr|unique_ptr|weak_ptr|optional|variant|tuple|ostream)\\b`,scope:`type.builtin`},{match:`\\b__\\w+`,scope:`variable.special`},{match:`(->)(${vU})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${vU})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${vU})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${vU})`,scope:[`punctuation`,`variable.member`]},{match:`(,)(${SU})(${vU})(?=[ \\t]*\\()`,scope:[`punctuation.delimiter`,null,`function.call`]},{match:`\\)(?=${`(?:${SU}${xU}){0,4}${SU}`}:${SU}${vU}[ \\t]*\\()`,scope:`punctuation.bracket`,push:`member-init`},{match:`\\b${vU}(?=[ \\t]*\\([^;(){}]{0,120}\\)${`(?:[ \\t]*${xU}){0,4}[ \\t]*(?:->[^;{}\\n]{0,60})?(?:${SU}:[^;{}]{0,158}\\)[ \\t\\r\\n]{0,4})?(?:\\r?\\n[ \\t]*)?\\{`})`,scope:`function`},{match:`\\b(?:move|forward|make_shared|make_unique|swap|begin|end|to_string|printf|snprintf|memcpy|strlen|malloc|free|exit|assert)\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`\\b${vU}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b${vU}(?=<[^<>;(){}\\n]{0,80}(?:<[^<>;(){}\\n]{0,80}>[^<>;(){}\\n]{0,40})?>[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b${vU}_t\\b`,scope:`type`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b0[xX][0-9a-fA-F']+(?:\\.[0-9a-fA-F']*)?(?:[pP][-+]?\\d+)?${yU}\\b`,scope:`number`},{match:`\\b0[bB][01']+${yU}\\b`,scope:`number`},{match:`\\b\\d[\\d']*(?:\\.[\\d']*)?(?:[eE][-+]?\\d+)?${yU}\\b`,scope:`number`},{match:`\\.\\d[\\d']*(?:[eE][-+]?\\d+)?${yU}\\b`,scope:`number`},{match:`<=>|->\\*|\\.\\*|->|::|\\+\\+|--|<<=?|>>=?|&&|\\|\\||\\.{3}|[-+*/%&|^!=<>]=?|[?~]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"member-init":{rules:[{match:`\\b(?:const|override|final)\\b(?![ \\t]*\\()`,scope:`keyword.declaration`},{match:`\\bnoexcept\\b`,scope:`keyword.operator`},{match:`\\btry\\b`,scope:`keyword.control`},{match:`&&?`,scope:`operator`},{match:`:`,scope:`punctuation.delimiter`},{match:`${vU}(?=[ \\t]*\\()`,scope:`function.call`,pop:!0},{match:`(?=[{;])`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:KWt,scope:`string.escape`},{match:qWt,scope:`string.special`},{match:`(")(${vU})?`,scope:[`string`,`string.special`],pop:!0},{match:`$`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`(\\)[^()\\\\\\s]{0,16}")(${vU})?`,scope:[`string`,`string.special`],pop:!0}]}}}})),CU,wU,TU,EU,XWt,ZWt=s((()=>{CU=`[A-Za-z_]\\w*`,wU=`${CU}(?:\\.${CU})*`,TU=`<[^<>()\\n]{0,120}>`,EU=`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{1,4}|[0abfnrtve'"\\\\])`,XWt={name:`csharp`,aliases:[`cs`,`c#`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`^([ \\t]*)(#[ \\t]*[a-z]+)`,scope:[null,`decorator`]},{include:`strings`},{match:`(^[ \\t]*)(\\[)(${wU})`,scope:[null,`punctuation.bracket`,`decorator`]},{include:`numbers`},{match:`\\.\\.`,scope:`operator`},{match:`(\\??\\.)([ \\t]*)(${CU})(?=[ \\t]*(?:${TU})?[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\??\\.)([ \\t]*)(${CU})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(using)([ \\t]+)(?:(static)([ \\t]+))?(${wU})(?=[ \\t]*;)`,scope:[`keyword.import`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(namespace)([ \\t]+)(${wU})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b((?:record[ \\t]+)?(?:class|struct|interface|enum|delegate|record))([ \\t]+)(${CU})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(new)([ \\t]+)(${wU})`,scope:[`keyword.operator`,null,`type`]},{match:`\\b(?:if|else|for|foreach|while|do|switch|case|default|break|continue|return|goto|throw|try|catch|finally|yield|await|lock|when|from|select|orderby|join|into)\\b`,scope:`keyword.control`},{match:`\\b(var)([ \\t]+)(${CU})(?=[ \\t]*[=;])`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:class|struct|interface|enum|record|delegate|namespace|var|const|readonly|volatile|static|public|private|protected|internal|abstract|sealed|virtual|override|partial|async|event|extern|unsafe|fixed|implicit|explicit|operator|params|ref|out|where|get|set|init|required|global)\\b`,scope:`keyword.declaration`},{match:`\\busing\\b`,scope:`keyword.import`},{match:`\\b(?:is|as|in|new|typeof|sizeof|nameof|stackalloc|checked|unchecked|with|and|or|not)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|base)\\b`,scope:`variable.builtin`},{match:`\\b(?:bool|byte|sbyte|char|decimal|double|float|int|uint|long|ulong|short|ushort|nint|nuint|object|string|void|dynamic)\\b`,scope:`type.builtin`},{match:`@${CU}`,scope:`variable`},{match:`\\b${CU}(?=(?:${TU})?(?:\\[\\])*\\??[ \\t]+(?!(?:is|as|in|when|and|or|not|switch|with)\\b)${CU}[ \\t]*[=;,){(])`,scope:`type`},{match:`(?<=[\\w>\\]?][ \\t])(?[ \\t])(?))|(?[ \\t])(${CU})(?=[ \\t]*(?:=(?![=>])|;)))`,scope:[`function`,`variable.member`,`variable`]},{match:`\\b${CU}(?=[ \\t]*(?:${TU})?[ \\t]*\\()`,scope:`function.call`},{match:`\\b${CU}(?=[ \\t]*=>)`,scope:`variable.parameter`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*(?=\\.)`,scope:`type`},{match:`=>|\\?\\?=?|\\?\\.|::|\\+\\+|--|&&|\\|\\||<<=?|>>=?|[-+*/%&|^!=<>]=?|[?~^]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+(?:[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+(?:[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?[fFdDmM]?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?[fFdDmM]?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?(?:[fFdDmM]|[uU][lL]?|[lL][uU]?)?\\b`,scope:`number`}]},strings:{rules:[{match:`(\\$(?{DU=`-{0,2}[A-Za-z_\\u0080-\\uFFFF][\\w-\\u0080-\\uFFFF]*`,OU=`@(?:media|supports|container|import)\\b`,QWt={name:`css`,aliases:[`scss`,`less`],states:{root:{rules:[{include:`comments`},{include:`strings`},{match:OU,scope:`keyword`,push:`condition`},{include:`variable-definition`},{match:`@[A-Za-z-]+`,scope:`keyword`},{match:`\\$${DU}`,scope:`variable`},{match:`\\{`,scope:`punctuation.bracket`,push:`declarations`},{match:`[.#]${DU}`,scope:`selector`},{match:`::?[A-Za-z-]+`,scope:`selector`},{match:`\\[[^[\\]]*\\]`,scope:`selector`},{match:`\\b[a-z][\\w-]*\\b(?![\\w-]*\\s*:)`,scope:`tag`},{match:`[>~+*,]`,scope:`operator`},{match:`[{}();]`,scope:`punctuation`}]},declarations:{rules:[{include:`comments`},{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`declarations`},{match:`;`,scope:`punctuation.delimiter`},{match:OU,scope:`keyword`,push:`condition`},{include:`variable-definition`},{match:`@[A-Za-z-]+`,scope:`keyword`},{match:`(${DU})(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`],push:`value`},{match:`\\$${DU}`,scope:`variable`},{match:`[.#&]${DU}`,scope:`selector`},{match:`::?[A-Za-z-]+`,scope:`selector`},{match:DU},{include:`strings`}]},value:{rules:[{match:`(?=[;}])`,pop:!0},{include:`comments`},{include:`strings`},{match:`!important\\b`,scope:`keyword`},{match:`#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})\\b`,scope:`number`},{match:`var\\(\\s*(--[\\w-]+)`,scope:[`property`],rest:`function.builtin`},{match:`--[\\w-]+`,scope:`property`},{match:`[$@]${DU}`,scope:`variable`},{include:`value-tokens`},{match:`\\b[a-zA-Z-]+\\b`,scope:`constant`},{match:`[(),/]`,scope:`punctuation`},{match:`;`,scope:`punctuation.delimiter`,pop:!0}]},condition:{rules:[{match:`(?=[{;}])`,pop:!0},{include:`comments`},{include:`strings`},{match:`\\b(?:and|or|not|only)\\b`,scope:`keyword`},{match:`(${DU})(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`value-tokens`},{match:`\\$${DU}`,scope:`variable`},{match:DU,scope:`constant`},{match:`[(),/<>=]`,scope:`punctuation`}]},"variable-definition":{rules:[{match:`@page(?=:(?:first|left|right|blank)\\b)`,scope:`keyword`},{match:`(\\$${DU})(\\s*)(:)`,scope:[`variable`,null,`punctuation.delimiter`],push:`value`},{match:`(@${DU})(:)`,scope:[`variable`,`punctuation.delimiter`],push:`value`}]},"value-tokens":{rules:[{match:`\\b(url)(\\()(?=[ \\t]*[^\\s"'])`,scope:[`function.builtin`,`punctuation`],push:`url`},{match:`\\b(${DU})(?=\\()`,scope:`function.call`},{match:`(-?\\d*\\.?\\d+)((?:e[-+]?\\d+)?(?:%|[a-zA-Z]+)?)`,scope:[`number`,`unit`]}]},url:{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`\\)`,scope:`punctuation`,pop:!0},{match:`(?=[;}\\n])`,pop:!0}]},comments:{rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(?{eGt={name:`curl`,states:{root:{ignoreCase:!0,rules:[{match:`\\bcurl\\b`,scope:`keyword`},{match:`(^|\\s)(--request|-X)(\\s+)(get|post|put|patch|delete|head|options|trace|connect)\\b`,scope:[null,`constant.builtin`,null,`symbol`]},{match:`(^|\\s)(--[A-Za-z][\\w-]*)`,scope:[null,`constant.builtin`]},{match:`(^|\\s)(-[A-Za-z])(?![\\w-])`,scope:[null,`constant.builtin`]},{match:`\\\\"`,scope:`string`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\b\\d+(?:\\.\\d+)?\\b`,scope:`number`}]},"string-double":{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`\\$\\(`,scope:`variable`,push:`subshell`},{match:`"`,scope:`string`,pop:!0}]},subshell:{default:`variable`,rules:[{match:`\\)`,scope:`variable`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`'`,scope:`string`,pop:!0}]}}}})),kU,nGt,rGt=s((()=>{kU=`[A-Za-z_$][\\w$]{0,128}`,nGt={name:`dart`,states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{include:`expression`}]},expression:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`comment-doc`},{match:`/\\*`,scope:`comment`,push:`comment-block`},{include:`strings`},{include:`numbers`},{match:`@${kU}(?:\\.${kU})*`,scope:`decorator`},{match:`\\.\\.\\.\\??`,scope:`operator`},{match:`(\\?\\.\\.|\\.\\.)([ \\t]*)(${kU})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(\\?\\.\\.|\\.\\.)([ \\t]*)(${kU})`,scope:[`operator`,null,`variable.member`]},{match:`(\\?\\.|\\.)([ \\t]*)(${kU})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\?\\.|\\.)([ \\t]*)(${kU})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(?:if|else|for|while|do|switch|case|default|break|continue|return|yield|await|throw|rethrow|try|catch|finally|assert)\\b`,scope:`keyword.control`},{match:`\\b(?:abstract|async|base|class|const|covariant|enum|extends|extension|external|factory|final|get|implements|interface|late|mixin|operator|required|sealed|set|static|sync|typedef|var|with|on)\\b`,scope:`keyword.declaration`},{match:`\\b(?:import|export|library|part|deferred|show|hide|of)\\b`,scope:`keyword.import`},{match:`\\b(?:is|as|in|new)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:int|double|num|bool|String|List|Map|Set|Iterable|Future|Stream|Object|Function|Never|Null|dynamic|void)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_$]*\\b`,scope:`type`},{match:`\\bprint\\b(?=[ \\t]*\\()`,scope:`function.builtin`},{match:`(?<=[\\w>]\\??[ \\t])(?[ \\t])(?|\\?\\?=?|~/=?|\\+\\+|--|&&|\\|\\||<<=?|>>>?=?|[!=]=|[-+*/%&|^]=?|[<>]=?|[?!~=]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`}]},strings:{rules:[{match:`\\b(r)(''')`,scope:[`string.special`,`string`],push:`raw-triple-single`},{match:`\\b(r)(""")`,scope:[`string.special`,`string`],push:`raw-triple-double`},{match:`\\b(r)('[^'\\n]*')`,scope:[`string.special`,`string`]},{match:`\\b(r)("[^"\\n]*")`,scope:[`string.special`,`string`]},{match:`'''`,scope:`string`,push:`triple-single`},{match:`"""`,scope:`string`,push:`triple-double`},{match:`'`,scope:`string`,push:`single`},{match:`"`,scope:`string`,push:`double`}]},"string-body":{rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`},{match:`(\\$)(${kU})`,scope:[`interpolation`,`variable`]}]},single:{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},double:{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"raw-triple-single":{default:`string`,rules:[{match:`'''`,scope:`string`,pop:!0}]},"raw-triple-double":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},"comment-block":{default:`comment`,rules:[{match:`/\\*`,push:`comment-block`},{match:`\\*/`,pop:!0}]},"comment-doc":{default:`comment.doc`,rules:[{match:`/\\*`,push:`comment-doc`},{match:`\\*/`,pop:!0}]}}}})),iGt,aGt=s((()=>{iGt={name:`diff`,aliases:[`patch`],states:{root:{rules:[{match:`^(?:(?:diff|index|new file|deleted file|old mode|new mode|similarity index|rename|Index:|Only in|Binary files) |={3,}|#|\\\\)[^\\n]*`,scope:`comment`},{match:`^(?:@@|\\*{15}|\\*{3} \\d+(?:,\\d+)? \\*{4}|-{3} \\d+(?:,\\d+)? -{4}|\\d+(?:,\\d+)?[acd]\\d+(?:,\\d+)?$)[^\\n]*`,scope:`keyword`},{match:`^(?:---|\\+\\+\\+|\\*\\*\\*)[^\\n]*`,scope:`heading`},{match:`^[+>][^\\n]*`,scope:`diff.plus`},{match:`^[-<][^\\n]*`,scope:`diff.minus`}]}}}})),AU,jU,oGt,sGt,cGt=s((()=>{AU=`^[ \\t]*(?:(ONBUILD)([ \\t]+))?`,jU=[`keyword`,null],oGt=`RUN|CMD|ENTRYPOINT|COPY|ADD|EXPOSE|USER|WORKDIR|VOLUME|SHELL|STOPSIGNAL|MAINTAINER`,sGt={name:`dockerfile`,aliases:[`docker`,`containerfile`],states:{root:{ignoreCase:!0,rules:[{match:`^(#)([ \\t]*)(syntax|escape|check)(=)([^\\n]*)`,scope:[`comment`,null,`keyword`,`operator`,`string`]},{match:`#[^\\n]*`,scope:`comment`},{match:`${AU}(FROM)\\b`,scope:[...jU,`keyword.import`],push:`from`},{match:`${AU}(ARG|ENV)\\b([ \\t]*)([A-Za-z_]\\w*)?`,scope:[...jU,`keyword.declaration`,null,`variable`],push:`env`},{match:`${AU}(LABEL)\\b([ \\t]*)([\\w.-]+)?`,scope:[...jU,`keyword.declaration`,null,`property`],push:`label`},{match:`${AU}(HEALTHCHECK)\\b`,scope:[...jU,`keyword`],push:`healthcheck`},{match:`${AU}(${oGt})\\b`,scope:[...jU,`keyword`],push:`args`}]},args:{rules:[{match:`(<<-?)(['"]?)([A-Za-z_]\\w*)(['"]?)`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-head`},{match:`(?:^|[ \\t])(--from)(=)([\\w.-]+)`,scope:[`constant`,`operator`,`type`]},{match:`(?:^|[ \\t])(--?[A-Za-z][\\w-]*)`,scope:[`constant`]},{match:`(=)([\\w.-]+)(?==)`,scope:[`operator`,`variable.parameter`]},{match:`(,)([\\w.-]+)(?==)`,scope:[`punctuation.delimiter`,`variable.parameter`]},{match:`\\\\\\r?\\n`,scope:`operator`},{match:`\\\\[\\\\$"'\`]`,scope:`string.escape`},{include:`expansion`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{match:`(?:^|[ \\t:])(\\d+)(ms|[smh])?(?![\\w.-])`,scope:[`number`,`unit`]},{match:`([;=&<>|])(\\d+)(ms|[smh])?(?![\\w.-])`,scope:[`operator`,`number`,`unit`]},{match:`&&|\\|\\|?|>>?|[;=&<]`,scope:`operator`},{match:`[[\\]{}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},from:{rules:[{match:`(?:^|[ \\t])([Aa][Ss])([ \\t]+)([\\w.-]+)`,scope:[`keyword.operator`,null,`type`]},{match:`(?:^|[ \\t])(?!--)(?=[\\w.:/@$-])`,push:`image`},{include:`args`}]},image:{default:`string`,rules:[{match:`(?=\\s)`,pop:!0},{include:`expansion`}]},env:{rules:[{match:`(?:^|[ \\t])([A-Za-z_]\\w*)(?==)`,scope:[`variable`]},{include:`args`}]},label:{rules:[{match:`(?:^|[ \\t])([\\w.-]+)(?==)`,scope:[`property`]},{include:`args`}]},healthcheck:{rules:[{match:`(?:^|[ \\t])([Cc][Mm][Dd])\\b`,scope:[`keyword`],set:`args`},{match:`(?:^|[ \\t])([Nn][Oo][Nn][Ee])\\b`,scope:[`constant.builtin`],set:`args`},{include:`args`}]},expansion:{rules:[{match:`\\$\\{`,scope:`interpolation`,push:`expansion-brace`},{match:`\\$[A-Za-z_]\\w*`,scope:`variable`}]},"expansion-brace":{default:`variable`,rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:[-+?]|#{1,2}|%{1,2}`,scope:`operator`,push:`expansion-value`},{match:`$`,pop:!0}]},"expansion-value":{default:`string`,rules:[{match:`(?=\\})`,pop:!0},{include:`expansion`},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:`\\\\\\r?\\n`,scope:`operator`},{match:`\\\\.`,scope:`string.escape`},{include:`expansion`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\\\r?\\n`,scope:`operator`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"heredoc-head":{rules:[{match:`\\r?\\n`,set:`heredoc`},{include:`args`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*[A-Za-z_]\\w*[ \\t]*$`,scope:`string.special`,pop:2},{include:`expansion`}]}}}})),MU,NU,lGt,PU,uGt,dGt=s((()=>{MU=`[a-z_]\\w*`,NU=`${MU}[?!]?`,lGt=`\\{\\}|\\[\\]|\\.\\.\\.?|<>|<=|>=|[=!]==?|=~|\\+\\+?|--?|\\*\\*?|\\|\\||&&|[<>/|]`,PU=`~(?:[A-Z]{1,6}|[a-z])`,uGt={name:`elixir`,aliases:[`ex`,`exs`],states:{root:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`(@(?:module|type|short)?doc)([ \\t]*)(""")`,scope:[`decorator`,null,`comment.doc`],push:`doc-heredoc`},{match:`@${MU}`,scope:`decorator`},{match:`(${PU})(""")`,scope:[`string.special`,`string`],push:`heredoc-double`},{match:`(${PU})(''')`,scope:[`string.special`,`string`],push:`heredoc-single`},{match:`"""`,scope:`string`,push:`heredoc-double`},{match:`'''`,scope:`string`,push:`heredoc-single`},{match:`(${PU})(\\()`,scope:[`string.special`,`string`],push:`sigil-paren`},{match:`(${PU})(\\[)`,scope:[`string.special`,`string`],push:`sigil-bracket`},{match:`(${PU})(\\{)`,scope:[`string.special`,`string`],push:`sigil-brace`},{match:`(${PU})(<)`,scope:[`string.special`,`string`],push:`sigil-angle`},{match:`(${PU})(/)`,scope:[`string.special`,`string`],push:`sigil-slash`},{match:`(${PU})(\\|)`,scope:[`string.special`,`string`],push:`sigil-pipe`},{match:`(${PU})(")`,scope:[`string.special`,`string`],push:`string`},{match:`(${PU})(')`,scope:[`string.special`,`string`],push:`charlist`},{match:`"`,scope:`string`,push:`string`},{match:`'`,scope:`string`,push:`charlist`},{match:`:"(?:[^"\\\\\\n]|\\\\.)*"`,scope:`constant`},{match:`:[A-Za-z_]\\w*[?!]?`,scope:`constant`},{match:`:(?:${lGt})(?=[\\s,)\\]}])`,scope:`constant`},{match:`\\b${NU}(?=:(?![:=]))`,scope:`property`},{match:`(\\b(?:defmodule|defprotocol|defimpl)\\b)([ \\t]+)([A-Z]\\w*(?:\\.[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`(\\b(?:defp?|defmacrop?|defguardp?|defdelegate)\\b)([ \\t]+)(${NU})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:def(?:p|macrop?|guardp?|delegate|struct|exception|overridable|impl|protocol|module)?|fn)\\b`,scope:`keyword.declaration`},{match:`\\b(?:after|case|catch|cond|do|else|end|for|if|raise|receive|rescue|throw|try|unless|when|with)\\b`,scope:`keyword.control`},{match:`\\b(?:alias|import|require|use)\\b`,scope:`keyword.import`},{match:`\\b(?:and|in|not|or)\\b`,scope:`keyword.operator`},{match:`\\b(?:quote|unquote|unquote_splicing|super)\\b`,scope:`keyword`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`&\\d+`,scope:`variable.parameter`},{match:`(&)(${NU})(?=/\\d)`,scope:[`operator`,`function.call`]},{match:`\\bis_[a-z_]+(?=\\()`,scope:`function.builtin`},{match:`\\b(?:abs|apply|byte_size|div|elem|hd|inspect|length|map_size|max|min|rem|round|self|send|spawn|tl|to_string|tuple_size)\\b`,scope:`function.builtin`},{match:`(\\b[A-Z]\\w*)(\\.)(${NU})`,scope:[`namespace`,`punctuation`,`function.method`]},{match:`(\\.)(${NU})(?=\\(|/\\d)`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${NU})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z]\\w*(?=\\.)`,scope:`namespace`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b${NU}(?=\\()`,scope:`function.call`},{match:`\\b${MU}[?!](?![=~])`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO][0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\?(?:\\\\x\\{?[0-9a-fA-F]+\\}?|\\\\.|[^\\s\\\\])`,scope:`number`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\|\\|\\||&&&|<<<|>>>|\\^\\^\\^|~~~|\\+\\+\\+|---|\\|>|<-|->|=>|<>|<<|>>|\\.\\.\\.|\\.\\.|::|\\|\\||&&|\\+\\+|--|=~|[=!]==?|[<>]=?|\\\\\\\\|[-+*/^&|=!%]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`},{match:`\\.`,scope:`punctuation`}]},"interp-body":{rules:[{match:`\\\\(?:x\\{[0-9a-fA-F]+\\}|x[0-9a-fA-F]{1,2}|u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|.)`,scope:`string.escape`},{match:`#\\{`,scope:`interpolation`,push:`interpolation`}]},string:{default:`string`,rules:[{include:`interp-body`},{match:`"[a-zA-Z]*`,pop:!0},{match:`$`,pop:!0}]},charlist:{default:`string`,rules:[{include:`interp-body`},{match:`'[a-zA-Z]*`,pop:!0},{match:`$`,pop:!0}]},"heredoc-double":{default:`string`,rules:[{match:`"""`,pop:!0},{include:`interp-body`}]},"heredoc-single":{default:`string`,rules:[{match:`'''`,pop:!0},{include:`interp-body`}]},"doc-heredoc":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"sigil-paren":{default:`string`,rules:[{match:`\\(`,push:`sigil-paren`},{match:`\\)[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-bracket":{default:`string`,rules:[{match:`\\[`,push:`sigil-bracket`},{match:`\\][a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-brace":{default:`string`,rules:[{match:`\\{`,push:`sigil-brace`},{match:`\\}[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-angle":{default:`string`,rules:[{match:`<`,push:`sigil-angle`},{match:`>[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-slash":{default:`string`,rules:[{match:`/[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},"sigil-pipe":{default:`string`,rules:[{match:`\\|[a-zA-Z]*`,pop:!0},{include:`interp-body`}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]}}}})),FU,IU,LU,fGt,RU,zU,BU,pGt,mGt=s((()=>{FU=`[A-Za-z_][\\w']*`,IU=`(?:${FU}|\`\`[^\`\\n]*\`\`)`,LU=`((?:(?:rec|inline|mutable|private|internal|public|static|member|val)[ \\t]+)*)`,fGt=`(?!(?:rec|inline|mutable|private|internal|public|static|member|val)\\b)`,RU=`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{2}|[0-9]{3}|\\r?\\n|[\\\\"'ntbrafv0])`,zU=`%[-+ 0]*(?:\\d+|\\*)?(?:\\.\\d+)?[bscdiuxXoeEfFgGMOAat%]`,BU=`(?:[uU][yslLnN]?|[yslLnNIfFmM])?`,pGt={name:`fsharp`,aliases:[`fs`,`fsx`,`fsi`,`f#`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`\\(\\*\\)`,scope:`operator`},{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`\\(\\*`,scope:`comment`,push:`block-comment`},{match:`^([ \\t]*)(#[a-zA-Z]+)`,scope:[null,`keyword`]},{match:`\\[<[^[\\]\\n]*>\\]`,scope:`decorator`},{include:`strings`},{match:`(?@^|~?]+\\)`,scope:`operator`},{match:`\\b(open)([ \\t]+)([A-Za-z_][\\w'.]*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(namespace|module)([ \\t]+)((?:rec|global)[ \\t]+)?([A-Za-z_][\\w'.]*)`,scope:[`keyword.declaration`,null,`keyword.declaration`,`namespace`]},{match:`\\b(type)([ \\t]+)${LU}(${IU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`class`]},{match:`\\b(let|use|and)([ \\t]+)${LU}(${IU})(?=[ \\t]*[:=,](?!=))`,scope:[`keyword.declaration`,null,`keyword.declaration`,`variable`]},{match:`\\b(let|use|and)([ \\t]+)${LU}${fGt}(${IU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`function`]},{match:`\\b(member|override|abstract|default|val)([ \\t]+)${LU}(?:(${FU})(\\.))?(${IU})`,scope:[`keyword.declaration`,null,`keyword.declaration`,`variable.builtin`,`punctuation`,`function`]},{match:`\\b(?:return|yield|match|do)!`,scope:`keyword.control`},{match:`\\b(?:let|use|and)!`,scope:`keyword.declaration`},{match:`\\b(?:if|then|elif|else|match|when|with|try|finally|for|to|downto|while|do|done|return|yield|assert)\\b`,scope:`keyword.control`},{match:`\\b(?:let|rec|and|use|fun|function|type|member|override|abstract|default|static|val|mutable|new|inherit|interface|class|struct|begin|end|module|exception|delegate|inline|private|public|internal|extern|lazy|global|fixed)\\b`,scope:`keyword.declaration`},{match:`\\b(?:open|namespace)\\b`,scope:`keyword.import`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|None|Some|Ok|Error|ValueNone|ValueSome|nan|infinity)\\b`,scope:`constant.builtin`},{match:`\\b(?:not|in|as|of|mod|land|lor|lxor|lsl|lsr|asr|upcast|downcast|box|unbox|typeof|nameof|sizeof)\\b`,scope:`keyword.operator`},{match:`\\b(?:this|base)\\b`,scope:`variable.builtin`},{match:`\\b(?:u?int(?:8|16|32|64)?|u?nativeint|s?byte|float(?:32)?|double|single|decimal|bigint|char|string|bool|unit|obj|exn|list|array|seq|v?option|Result|Option|Map|Set|Async|Task)\\b`,scope:`type.builtin`},{match:`\\b(?:e?printfn?|sprintf|failwithf?|raise|ignore|id|fst|snd)\\b`,scope:`function.builtin`},{match:`(\\.)(${FU})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${FU})`,scope:[`punctuation`,`variable.member`]},{match:`^([ \\t]*)([A-Z][\\w']*)(?=[ \\t]*[:=](?!=))`,scope:[null,`property`]},{match:`(\\{)([ \\t]*)([A-Z][\\w']*)(?=[ \\t]*[:=](?!=))`,scope:[`punctuation.bracket`,null,`property`]},{match:`\\b[A-Z][\\w']*`,scope:`type`},{match:`(\\()([ \\t]*)([a-z_][\\w']*)(?=[ \\t]*:)`,scope:[`punctuation.bracket`,null,`variable.parameter`]},{match:`\\b0[xX][0-9a-fA-F_]+${BU}\\b`,scope:`number`},{match:`\\b0[bBoO][0-9_]+${BU}\\b`,scope:`number`},{match:`\\b\\d[\\d_]*\\.(?!\\.)(?:\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[fFmM]?|\\b\\d[\\d_]*(?:[eE][-+]?\\d+)[fFmM]?|\\b\\d[\\d_]*${BU}\\b`,scope:`number`},{match:`\\[\\||\\|\\]|\\{\\||\\|\\}`,scope:`punctuation.bracket`},{match:`::|:\\?>|:>|:\\?|:=|\\.\\.|[-+*/%@^&|!~<>=?]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[;,:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\(\\*`,push:`block-comment`},{match:`\\*\\)`,pop:!0}]},strings:{rules:[{match:`(\\$)(""")`,scope:[`string.special`,`string`],push:`interp-triple`},{match:`"""`,scope:`string`,push:`triple`},{match:`(\\$@|@\\$)(")`,scope:[`string.special`,`string`],push:`interp-verbatim`},{match:`(@)(")`,scope:[`string.special`,`string`],push:`verbatim`},{match:`(\\$)(")`,scope:[`string.special`,`string`],push:`interp`},{match:`"`,scope:`string`,push:`string`}]},"interp-body":{rules:[{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interp-expr`}]},"string-body":{rules:[{match:RU,scope:`string.escape`},{match:zU,scope:`string.special`}]},"verbatim-body":{rules:[{match:`""`,scope:`string.escape`},{match:zU,scope:`string.special`}]},string:{default:`string`,rules:[{include:`string-body`},{match:`"B?`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},interp:{default:`string`,rules:[{include:`string-body`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},verbatim:{default:`string`,rules:[{include:`verbatim-body`},{match:`"`,scope:`string`,pop:!0}]},"interp-verbatim":{default:`string`,rules:[{include:`verbatim-body`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0}]},triple:{default:`string`,rules:[{match:zU,scope:`string.special`},{match:`"""`,scope:`string`,pop:!0}]},"interp-triple":{default:`string`,rules:[{match:zU,scope:`string.special`},{include:`interp-body`},{match:`"""`,scope:`string`,pop:!0}]},"interp-expr":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:(?![:=])[^{}"\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]}}}})),hGt,gGt=s((()=>{hGt={name:`go`,aliases:[`golang`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:"`[^`]*`",scope:`string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\]|\\\\(?:u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.))'`,scope:`string`},{match:`\\b(?:if|else|for|range|switch|case|default|break|continue|return|goto|fallthrough|select|defer|go)\\b`,scope:`keyword.control`},{match:`(func)(\\s+)(\\([^)\\n]*\\))?(\\s*)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,null,null,`function`]},{match:`(package)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b(var)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:func|var|const|type|struct|interface|map|chan|package)\\b`,scope:`keyword.declaration`},{match:`\\bimport\\b`,scope:`keyword.import`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nil|iota)\\b`,scope:`constant.builtin`},{match:`\\b(?:append|cap|clear|close|complex|copy|delete|imag|len|make|max|min|new|panic|print|println|real|recover)\\b(?=\\s*\\()`,scope:`function.builtin`},{match:`\\b(?:bool|byte|complex64|complex128|error|float32|float64|int|int8|int16|int32|int64|rune|string|uint|uint8|uint16|uint32|uint64|uintptr|any)\\b`,scope:`type.builtin`},{match:`\\b([a-z]\\w*)(\\.)([A-Z]\\w*)\\b(?![ \\t]*\\()(?:(?=\\{)|(?<=(?:(?=]=?|\\+\\+|--`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]{2}|[0-7]{3}|.)`,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[vTtbcdoOqxXUeEfFgGsp%]`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),VU,_Gt,vGt=s((()=>{VU=`[_A-Za-z][_0-9A-Za-z]*`,_Gt={name:`graphql`,aliases:[`gql`],states:{root:{rules:[{match:`(^[ \\t]*)(""")`,scope:[null,`comment.doc`],push:`description`},{match:`(^[ \\t]*)("(?:[^"\\\\\\n]|\\\\.)*")`,scope:[null,`comment.doc`]},{include:`common`},{match:`\\b${VU}\\b`,scope:`property`}]},args:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`args`},{match:`\\$${VU}`,scope:`variable`},{match:`\\b${VU}(?=[ \\t]*:)`,scope:`variable.parameter`},{include:`common`}]},common:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`block-string`},{match:`"`,scope:`string`,push:`string`},{match:`\\b(type|interface|input|enum|union|scalar)([ \\t]+)(${VU})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\bextend\\b(?=[ \\t]+[a-z])`,scope:`keyword.declaration`},{match:`\\bschema\\b(?=[ \\t]*[{@])`,scope:`keyword.declaration`},{match:`\\bdirective\\b(?=[ \\t]*@)`,scope:`keyword.declaration`},{match:`\\b(query|mutation|subscription|fragment)([ \\t]+)(${VU})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:query|mutation|subscription)\\b(?=[ \\t]*[{(@])`,scope:`keyword.declaration`},{match:`(\\.\\.\\.)([ \\t]*)(on)\\b`,scope:[`operator`,null,`keyword`]},{match:`(\\.\\.\\.)([ \\t]*)(${VU})`,scope:[`operator`,null,`function.call`]},{match:`\\b(?:on|implements)\\b(?=[ \\t]+[A-Z_])`,scope:`keyword`},{match:`\\brepeatable\\b(?=[ \\t]+on\\b)`,scope:`keyword`},{match:`@${VU}`,scope:`decorator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b__(?:typename|schema|type)\\b`,scope:`variable.special`},{match:`\\b(?:Int|Float|String|Boolean|ID)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${VU}(?=[ \\t]*:)`,scope:`property`},{match:`\\b${VU}(?=[ \\t]*\\([^()]{0,300}\\)[ \\t]*:)`,scope:`property`},{match:`-?\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\(`,scope:`punctuation.bracket`,push:`args`},{match:`[{}\\[\\]()]`,scope:`punctuation.bracket`},{match:`\\.\\.\\.|[!=|&]`,scope:`operator`},{match:`[,:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|["\\\\/bfnrt])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-string":{default:`string`,rules:[{match:`\\\\"""`,scope:`string.escape`},{match:`"""`,scope:`string`,pop:!0}]},description:{default:`comment.doc`,rules:[{match:`\\\\"""`},{match:`"""`,pop:!0}]}}}})),HU,UU,WU,GU,KU,qU,JU,yGt,bGt=s((()=>{HU=`!#$%&*+./<=>?@\\\\^|~:-`,UU=`[a-z_][A-Za-z0-9_']{0,128}`,WU=`[A-Z][A-Za-z0-9_']{0,128}`,GU=`${WU}(?:\\.${WU}){0,32}`,KU=`(?|=>|--))`,pop:!0},{include:`exports`}]},"data-body":{rules:[{match:`\\n(?=[^ \\t\\n])`,pop:!0},{include:`comments`},{include:`literals`},{match:`([=|])([ \\t]*)(${WU})`,scope:[`operator`,null,`constant`]},{match:`${KU}(${UU})(?=[ \\t]*::)`,scope:`property`},{match:`${KU}(?:deriving|where|forall|via|stock|anyclass|instance)${qU}`,scope:`keyword.declaration`},{include:`type-names`},{match:`${KU}${WU}`,scope:`type`},{include:`operators`}]},operators:{rules:[{match:`\`(?:${GU}\\.)?${UU}\``,scope:`operator`},{match:`[${HU}]+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]}}}})),YU,xGt,SGt=s((()=>{YU={match:`&(?:#x?[0-9a-fA-F]+|[a-zA-Z][a-zA-Z0-9]*);`,scope:`string.escape`},xGt={name:`html`,aliases:[`xml`,`svg`,`vue`],states:{root:{ignoreCase:!0,rules:[{match:``,scope:`comment`,pop:!0}]},cdata:{default:`string`,rules:[{match:`\\]\\]>`,scope:`string`,pop:!0}]},"processing-instruction":{default:`decorator`,rules:[{match:`\\?>`,scope:`decorator`,pop:!0}]},tag:{ignoreCase:!0,rules:[{match:`/?>`,scope:`punctuation.bracket`,pop:!0},{include:`attributes`}]},"script-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`script-body`},{include:`attributes`}]},"style-tag":{ignoreCase:!0,rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`style-body`},{include:`attributes`}]},"script-body":{ignoreCase:!0,embed:{language:`javascript`,until:`<\/script(?=[\\s/>])`},rules:[]},"style-body":{ignoreCase:!0,embed:{language:`css`,until:`])`},rules:[]},attributes:{ignoreCase:!0,rules:[{match:`(=)([ \\t]*)([^\\s"'=<>\`]+)`,scope:[`operator`,null,`string`]},{match:`[@:#v-]?[A-Za-z_][\\w:.-]*`,scope:`tag.attribute`},{match:`=`,scope:`operator`},{match:`"`,scope:`string`,push:`attr-double`},{match:`'`,scope:`string`,push:`attr-single`},{match:`[^\\s>]+`,scope:`string`}]},"attr-double":{default:`string`,rules:[YU,{match:`"`,scope:`string`,pop:!0}]},"attr-single":{default:`string`,rules:[YU,{match:`'`,scope:`string`,pop:!0}]}}}})),XU,ZU,CGt,QU,wGt,TGt=s((()=>{XU=`GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS|TRACE|CONNECT`,ZU=`###|HTTP/\\d|(?:${XU})[ \\t]`,CGt=`^(?:${ZU}|[ \\t]*(?://|#)[^\\n]*\\n(?:${ZU}))`,QU=`(HTTP)(/)(\\d(?:\\.\\d)?)`,wGt={name:`http`,aliases:[`https`],states:{root:{rules:[{match:`^[ \\t]*(?:#|//)[^\\n]*`,scope:`comment`},{match:`^(${XU})([ \\t]+)`,scope:[`keyword.control`,null],push:`target`},{match:`^${QU}([ \\t]+)(\\d{3})([ \\t]*)([^\\r\\n]*)`,scope:[`keyword`,`punctuation.delimiter`,`number`,null,`number`,null,`constant`]},{match:QU,scope:[`keyword`,`punctuation.delimiter`,`number`]},{match:`^([A-Za-z][\\w-]*)([ \\t]*)(:)([ \\t]*)`,scope:[`property`,null,`punctuation.delimiter`,null],push:`header-value`},{match:`\\r?\\n[ \\t]*\\r?\\n`,set:`body`}]},target:{default:`link`,rules:[{match:`([?&])([^?&=\\s]*)(=)`,scope:[`punctuation.delimiter`,`variable.parameter`,`operator`]},{match:`[?]`,scope:`punctuation.delimiter`},{match:`(?=[ \\t])`,pop:!0},{match:`$`,pop:!0}]},"header-value":{default:`string`,rules:[{match:`$`,pop:!0},{match:`(?<=[ \\t;,:])([\\w.-]+)(=)`,scope:[`variable.parameter`,`operator`]},{match:`https?://[^\\s;,]+`,scope:`link`},{match:`(?{EGt=`[\\w.:+\\-/']+`,$U=`(?![\\w.:+\\-/])`,DGt=`\\\\(?:[btnfr"\\\\]|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})`,OGt=`\\\\(?:[btnfr"\\\\]|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|\\r?\\n)`,kGt=`\\d{4}-\\d{2}-\\d{2}(?:[Tt ]\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:[Zz]|[-+]\\d{2}:\\d{2})?)?|\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?`,AGt=`0[xX][0-9a-fA-F](?:_?[0-9a-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*|[-+]?(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?|inf|nan)`,jGt=`(?=(?:[\\w.\\- \\t]|"[^"\\n]{0,128}"|'[^'\\n]{0,128}'){1,256}[=:])`,eW=`[\\w.\\-]{1,64}|"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,MGt={name:`ini`,aliases:[`toml`,`cfg`,`conf`,`properties`],states:{root:{rules:[{include:`comment`},{match:`^[ \\t]*(\\[\\[?)`,scope:[`punctuation.bracket`],push:`header`},{match:`^${jGt}`,push:`key`}]},comment:{rules:[{match:`^[ \\t]*([!#;][^\\n]*)`,scope:[`comment`]},{match:`([ \\t])([#;][^\\n]*)`,scope:[null,`comment`]}]},header:{rules:[{match:`\\]{1,2}`,scope:`punctuation.bracket`,pop:!0},{match:`"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,scope:`namespace`},{match:`[\\w\\-]+`,scope:`namespace`},{match:`\\.`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},key:{rules:[{match:`[=:]`,scope:`operator`,set:`value`},{match:`"[^"\\n]{0,128}"|'[^'\\n]{0,128}'`,scope:`property`},{match:`[\\w\\-]+`,scope:`property`},{match:`\\.`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},value:{rules:[{include:`comment`},{match:`$`,pop:!0},{include:`literals`}]},literals:{rules:[{match:`"""`,scope:`string`,push:`ml-basic`},{match:`'''`,scope:`string`,push:`ml-literal`},{match:`"`,scope:`string`,push:`basic`},{match:`'[^'\\n]*'`,scope:`string`},{match:`(?:${kGt}|${AGt})${$U}`,scope:`number`},{match:`(?:true|false|yes|no|on|off)${$U}`,scope:`boolean`},{match:`\\[`,scope:`punctuation.bracket`,push:`array`},{match:`(\\{)([ \\t]*)(${eW})([ \\t]*)([=:])`,scope:[`punctuation.bracket`,null,`property`,null,`operator`],push:`inline-table`},{match:`\\{`,scope:`punctuation.bracket`,push:`inline-table`},{match:`,`,scope:`punctuation.delimiter`},{match:EGt}]},array:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`comment`},{include:`literals`}]},"inline-table":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`(,)([ \\t\\r\\n]*)(${eW})([ \\t]*)([=:])`,scope:[`punctuation.delimiter`,null,`property`,null,`operator`]},{include:`literals`},{match:`$`,pop:!0}]},basic:{default:`string`,rules:[{match:DGt,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"ml-basic":{default:`string`,rules:[{match:OGt,scope:`string.escape`},{match:`"""`,scope:`string`,pop:!0}]},"ml-literal":{default:`string`,rules:[{match:`'''`,scope:`string`,pop:!0}]}}}})),tW,nW,PGt,FGt=s((()=>{tW=`[A-Za-z_$\\u0080-\\uFFFF][\\w$\\u0080-\\uFFFF]{0,128}`,nW=`\\\\(?:u+[0-9a-fA-F]{4}|[0-7]{1,3}|.)`,PGt={name:`java`,states:{root:{rules:[{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`text-block`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|${nW})'`,scope:`string`},{match:`\\b(import|package)([ \\t]+)(?:(static)([ \\t]+))?((?:${tW}\\.)*(?:${tW}|\\*))`,scope:[`keyword.import`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(?:import|package)\\b`,scope:`keyword.import`},{match:`(?\\]])(?)(?)(?)`,scope:`variable.parameter`},{match:`\\b[a-z_$][\\w$\\u0080-\\uFFFF]{0,128}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?\\b`,scope:`number`},{match:`\\b0[bB][01][01_]*[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.[\\d_]*)?(?:[eE][-+]?\\d+)?[fFdDlL]?\\b|\\.\\d[\\d_]*(?:[eE][-+]?\\d+)?[fFdDlL]?`,scope:`number`},{match:`->|::|\\.{3}|\\+\\+|--|>>>?=?|<<=?|&&|\\|\\||[-+*/%&|^!=<>]=?|[~?]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"string-body":{rules:[{match:nW,scope:`string.escape`},{match:`%(?:\\d{1,3}\\$)?[-#+ 0,(]{0,6}\\d{0,6}(?:\\.\\d{1,6})?[bBhHsScCdoxXeEfgGaAtTn%]`,scope:`string.special`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"text-block":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]}}}})),rW,IGt,iW,LGt,aW,oW,sW,cW,lW,RGt,zGt=s((()=>{rW=`[A-Za-z_$\\u0080-\\uFFFF][\\w$\\u0080-\\uFFFF]{0,128}`,IGt=`(?:[=(,:;\\[!&|?{}+\\-*%^~<>]|=>|\\breturn|\\bcase|\\btypeof|\\bin|\\bof|\\bnew|\\bdo|\\byield|\\bawait|\\belse)`,iW=`(?:^|[=(,?:{\\[;!&|]|=>|\\breturn|\\byield|\\bdefault|\\bawait)`,LGt=`(?!>[ \\t]*\\()(?!\\s+(?:extends\\b|=))(?!>(?![ \\t]*$)(?![^\\n]{0,512}(?:<\\/|(?])))`,aW=`(?!\\??:)`,oW=`[A-Z][\\w.]*|[a-z][\\w-]*(?:[.:][\\w-]+)*`,sW=`(?:[^;=(){}\\n]|=>|\\([^(){}\\n]{0,128}\\)|\\{[^{}()\\n]{0,128}\\}){1,512}>[ \\t]*\\(`,cW=`[ \\t]*=[ \\t]*(?:async[ \\t]*)?(?:function\\b|(?:<[^<>()=]{0,128}>[ \\t]*)?\\([^()]{0,512}\\)[ \\t]*(?::[^=;\\n]{0,256})?=>|${rW}[ \\t]*=>)`,lW=`/(?![/*])(?:[^/\\\\\\n\\[]|\\\\.|\\[(?:[^\\]\\\\\\n]|\\\\.)*\\])+/[dgimsuvy]*`,RGt={name:`javascript`,aliases:[`js`,`jsx`,`mjs`,`cjs`,`ts`,`tsx`,`typescript`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`^#!.*`,scope:`comment`},{include:`strings`},{match:`(${IGt})(\\s*)(${lW})`,scope:[`operator`,null,`regexp`]},{match:`/(?<=(?)`,scope:`punctuation.bracket`,push:`params`},{match:`\\b(?:function|class|interface|enum|namespace|module|declare|abstract|implements|extends|constructor|static|readonly|override|public|private|protected|async|get(?!\\()|set(?!\\()|type(?!\\())\\b${aW}`,scope:`keyword.declaration`},{match:`\\b(?:import|export|from(?!\\()|require)\\b${aW}`,scope:`keyword.import`},{match:`\\bwith(?=[ \\t]*\\{)`,scope:`keyword.import`},{match:`\\b(?:typeof|instanceof|in|of(?!\\()|new|delete(?!\\()|void|satisfies|keyof|infer|asserts|as)\\b${aW}`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|undefined|NaN|Infinity)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super|arguments|globalThis)\\b`,scope:`variable.builtin`},{match:`\\b(?:console|window|document|process|module|exports)\\b${aW}`,scope:`variable.builtin`},{match:`\\b(?:string|number|boolean|symbol|bigint|object|unknown|never|any|void|readonly)\\b(?=[^\\w$]|$)${aW}`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b(?![\\w$])`,scope:`constant`},{match:`\\b[A-Z][\\w$]{0,128}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Za-z0-9_$]*\\b`,scope:`type`},{match:`\\b${rW}(?=\\??:)`,scope:`property`},{match:`\\b${rW}(?=\\s*=>)`,scope:`variable.parameter`},{match:`\\b${rW}(?=[ \\t]*\\(|\`)`,scope:`function.call`},{match:`\\b${rW}(?=[ \\t]*<${sW})`,scope:`function.call`},{match:`=>|\\?\\?=?|\\?\\.|\\.{3}|&&=?|\\|\\|=?|\\*\\*=?|[-+*/%&|^]=?|[!=]==?|[<>]=?|<<=?|>>>?=?|[?~!]|=`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"declared-name":{rules:[{match:`\\benum\\b`,scope:`keyword.declaration`,pop:!0},{match:`${rW}(?=${cW})`,scope:`function`,pop:!0},{match:rW,scope:`variable`,pop:!0},{match:`(?=\\S)`,pop:!0}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`param-pattern`}]},"param-pattern":{rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`//[^\\n]*`,scope:`comment`},{match:`:`,scope:`punctuation.delimiter`,push:`param-type`},{match:`(?==(?!>))`,push:`param-default`},{match:`\\{`,scope:`punctuation.bracket`,push:`param-object`},{match:`\\[`,scope:`punctuation.bracket`,push:`param-array`},{match:`\\.{3}|\\?`,scope:`operator`},{match:`\\bthis\\b`,scope:`variable.builtin`},{match:`\\b(?:public|private|protected|readonly|override)\\b(?=[ \\t]+[\\w$\\[{])`,scope:`keyword.declaration`},{match:`@${rW}`,scope:`decorator`},{match:rW,scope:`variable.parameter`},{match:`,`,scope:`punctuation.delimiter`}]},"param-object":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`:`,scope:`punctuation.delimiter`},{include:`numbers`},{match:`("(?:[^"\\\\\\r\\n]|\\\\.)*"|'(?:[^'\\\\\\r\\n]|\\\\.)*')([ \\t]*)(:)`,scope:[`string`,null,`punctuation.delimiter`]},{match:`(${rW})([ \\t]*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`param-pattern`}]},"param-array":{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`param-pattern`}]},"param-type":{rules:[{match:`(?=[,)}\\]]|=(?!>))`,pop:!0},{match:`<`,scope:`punctuation.bracket`,push:`type-angle`},{include:`nesting`},{include:`expression`}]},"type-angle":{rules:[{match:`=>`,scope:`operator`},{match:`>`,scope:`punctuation.bracket`,pop:!0},{match:`<`,scope:`punctuation.bracket`,push:`type-angle`},{include:`nesting`},{include:`expression`}]},"param-default":{rules:[{match:`(?=[,)}\\]])`,pop:!0},{include:`nesting`},{include:`expression`}]},nesting:{rules:[{match:`(\\()(\\s*)(${lW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`paren`},{match:`(\\[)(\\s*)(${lW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`bracket`},{match:`<(?=${sW})`,scope:`punctuation.bracket`,push:`type-angle`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nesting`},{include:`expression`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nesting`},{include:`expression`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+n?\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+n?\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+n?\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d+)?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d+)?n?\\b`,scope:`number`}]},strings:{rules:[{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`template`}]},"string-double":{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|\\r?\\n|.)`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|\\r?\\n|.)`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},template:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`template-expression`},{match:"`",scope:`string`,pop:!0}]},"template-expression":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},jsx:{rules:[{match:`(<)(?<=${iW}\\s*<)(${oW})(?=[\\s/>])${LGt}`,scope:[`punctuation.bracket`,`tag`],push:`jsx-open-tag`},{match:`<(?<=${iW}\\s*<)>`,scope:`punctuation.bracket`,push:`jsx-children`},{match:`()(${oW})?([ \\t]*)(>)`,scope:[`punctuation.bracket`,`tag`,null,`punctuation.bracket`]}]},"jsx-open-tag":{rules:[{match:`/>`,scope:`punctuation.bracket`,pop:!0},{match:`>`,scope:`punctuation.bracket`,set:`jsx-children`},{match:`\\{`,scope:`interpolation`,push:`jsx-expression`},{match:`\\b${rW}(?:[-:]${rW})*`,scope:`tag.attribute`},{match:`=`,scope:`operator`},{include:`strings`}]},"jsx-children":{rules:[{match:`()(${oW})?([ \\t]*)(>)`,scope:[`punctuation.bracket`,`tag`,null,`punctuation.bracket`],pop:!0},{match:`(<)(${oW})(?=[\\s/>])`,scope:[`punctuation.bracket`,`tag`],push:`jsx-open-tag`},{match:`<>`,scope:`punctuation.bracket`,push:`jsx-children`},{match:`\\{`,scope:`interpolation`,push:`jsx-expression`},{match:`&(?:#\\d{1,8}|#x[0-9a-fA-F]{1,8}|[A-Za-z][A-Za-z0-9]{1,32});`,scope:`string.escape`}]},"jsx-expression":{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,scope:`comment.doc`,pop:!0}]}}}})),BGt,VGt=s((()=>{BGt={name:`json`,aliases:[`jsonc`,`json5`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`("(?:[^"\\\\\\n]|\\\\.)*")(\\s*)(:)`,scope:[`property`,null,`punctuation.delimiter`]},{match:`"`,scope:`string`,push:`string`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`-?\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`[{}\\[\\]]`,scope:`punctuation.bracket`},{match:`[,:]`,scope:`punctuation.delimiter`},{match:`[^\\s{}\\[\\],:"]+`,scope:`invalid`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|["\\\\/bfnrt])`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),uW,HGt,UGt=s((()=>{uW=`[A-Za-z_\\u00A1-\\uFFFF][\\w!\\u00A1-\\uFFFF]{0,128}`,HGt={name:`julia`,aliases:[`jl`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{match:`#=`,scope:`comment`,push:`block-comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`"""`,scope:`string`,push:`string-triple`},{match:`(${uW})(""")`,scope:[`string.special`,`string`],push:`string-raw-triple`},{match:`(${uW})(")`,scope:[`string.special`,`string`],push:`string-raw`},{match:`"`,scope:`string`,push:`string`},{match:"`",scope:`string`,push:`command`},{match:`'(?:)([ \\t]*)(${uW}(?:\\.${uW})*)`,scope:[`operator`,null,`type`]},{match:`\\b(function|macro)([ \\t]+)(${uW}(?:\\.${uW})*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b((?:mutable[ \\t]+)?struct|abstract[ \\t]+type|primitive[ \\t]+type)([ \\t]+)(${uW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b((?:bare)?module)([ \\t]+)(${uW})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`^([ \\t]*)(${uW})(?=\\([^()\\n]{0,256}\\)[ \\t]*(?:where[^=\\n]{0,256})?=(?!=))`,scope:[null,`function`]},{match:`\\b(?:if|elseif|else|end|for|while|break|continue|return|try|catch|finally|do|begin|let|quote)\\b`,scope:`keyword.control`},{match:`\\b(?:function|macro|struct|mutable|abstract|primitive|type|module|baremodule|const|global|local|where|outer)\\b`,scope:`keyword.declaration`},{match:`\\b(?:using|import|export|public|as)\\b`,scope:`keyword.import`},{match:`\\b(?:in|isa)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:nothing|missing|NaN|Inf|NaN32|Inf32|undef|stdout|stderr|stdin)\\b`,scope:`constant.builtin`},{match:`\\b(?:println|print|show|display|string|length|size|push!|pop!|append!|map|filter|reduce|sum|prod|maximum|minimum|collect|typeof|isa|convert|parse|zeros|ones|rand|round|floor|ceil|abs|sqrt|exp|log|error|throw|isempty|haskey|get|keys|values|pairs|enumerate|zip|sort|sort!|occursin|replace|split|join|startswith|endswith|open|read|write|close|eachline|readline|readlines|sprint|repr|Dict|Vector|Array|Tuple)(?=\\.?\\()`,scope:`function.builtin`},{match:`(\\.)(${uW})(?=\\.?\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${uW})`,scope:[`punctuation`,`variable.member`]},{match:`${uW}(?=\\.?\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\.?(?:===|!==|==|!=|<=|>=|=>|->|\\|\\||&&|\\|>|<\\||\\.\\.\\.|[-+*/\\\\^%÷<>=!&|~⊻∈∉≤≥≠]=?)|'`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`},{match:`[.:?]`,scope:`punctuation`}]},"block-comment":{default:`comment`,rules:[{match:`#=`,scope:`comment`,push:`block-comment`},{match:`=#`,scope:`comment`,pop:!0}]},string:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"`,scope:`string`,pop:!0}]},"string-triple":{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"""`,scope:`string`,pop:!0}]},"string-raw":{default:`string`,rules:[{match:`\\\\"`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0}]},"string-raw-triple":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},command:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:"`",scope:`string`,pop:!0}]},escapes:{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{1,4}|U[0-9a-fA-F]{1,8}|[0-7]{1,3}|[\\s\\S])`,scope:`string.escape`}]},interpolation:{rules:[{match:`\\$\\(`,scope:`interpolation`,push:`interpolation-body`},{match:`(\\$)(${uW})`,scope:[`interpolation`,`variable`]}]},"interpolation-body":{rules:[{match:`\\)`,scope:`interpolation`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`parens`},{include:`expression`}]},parens:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`parens`},{include:`expression`}]}}}})),dW,WGt,GGt=s((()=>{dW=`[A-Za-z_\\u0080-\\uFFFF][A-Za-z0-9_\\u0080-\\uFFFF]{0,128}`,WGt={name:`kotlin`,aliases:[`kt`,`kts`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`"""`,scope:`string`,push:`raw-string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|\\\\(?:u[0-9a-fA-F]{4}|.))'`,scope:`string`},{match:`(\\b(?:return|break|continue))(@)(${dW})`,scope:[`keyword.control`,`operator`,`variable.special`]},{match:`(\\b(?:this|super))(@)(${dW})`,scope:[`variable.builtin`,`operator`,`variable.special`]},{match:`@${dW}(?::${dW})?`,scope:`decorator`},{match:`\\b(${dW})(@)(?=[\\s{])`,scope:[`variable.special`,`operator`]},{match:`(fun)(\\s+)(?:<[^<>\\n]{0,80}>\\s*)?(?:(${dW})(\\.))?(${`(?:\`[^\`\\n]*\`|${dW})`})`,scope:[`keyword.declaration`,null,`type`,`punctuation`,`function`]},{match:`(\\b(?:class|interface|object))(\\s+)(${dW})`,scope:[`keyword.declaration`,null,`class`]},{match:"(\\b(?:val|var))(\\s+)(`[^`\\n]*`|[a-z_]\\w*)",scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(?:if|else|when|while|do|for|return|break|continue|throw|try|catch|finally)\\b`,scope:`keyword.control`},{match:`\\b(?:fun|val|var|class|interface|object|typealias|const(?:ructor)?|init|companion|enum|data|sealed|annotation|inner|open|override|abstract|final|private|protected|public|internal|lateinit|(?:no|cross)?inline|reified|vararg|suspend|operator|infix|actual|expect|by|where|get|set|out|tailrec|external)\\b`,scope:`keyword.declaration`},{match:`\\bvalue(?=\\s+class\\b)`,scope:`keyword.declaration`},{match:`\\b(package|import)(\\s+)([A-Za-z_]\\w*(?:\\.[A-Za-z_]\\w*)*(?:\\.\\*)?)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:package|import)\\b`,scope:`keyword.import`},{match:`\\bas\\?|\\b(?:as|in|is)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super|it)\\b`,scope:`variable.builtin`},{match:`\\b(?:Int|Long|Short|Byte|Double|Float|Char|Boolean|String|Unit|Any|Nothing|Array|Pair|(?:Mutable)?(?:List|Map|Set)|Sequence)\\b`,scope:`type.builtin`},{match:`(\\?\\.|\\.)(let|run|apply|also|takeIf|takeUnless|use)\\b`,scope:[`punctuation`,`function.builtin`]},{match:`\\b(?:print(?:ln)?|readLine|arrayOf|(?:mutableL|l)istOf|(?:mutableM|m)apOf|(?:mutableS|s)etOf|emptyList|buildString|require|check|error|TODO|repeat|lazy|with)\\b(?=\\s*[({<])`,scope:`function.builtin`},{match:`(\\?\\.|\\.)([A-Z][A-Z0-9_]+)\\b`,scope:[`punctuation`,`constant`]},{match:`(\\?\\.|\\.)([A-Z]\\w*)`,scope:[`punctuation`,`type`]},{match:`(\\?\\.|\\.)(${dW})(?=\\s*[({])`,scope:[`punctuation`,`function.method`]},{match:`(\\?\\.|\\.)(${dW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${dW}(?=:)`,scope:`variable.parameter`},{match:`\\b[a-z_]\\w*(?=\\s*[({])`,scope:`function.call`},{match:"`[^`\\n]*`",scope:`variable`},{match:`\\b0[xX][0-9a-fA-F_]+[uU]?[lL]?\\b`,scope:`number`},{match:`\\b0[bB][01_]+[uU]?[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[uU]?[lLfF]?\\b`,scope:`number`},{match:`\\?[.:]|!!|\\+\\+|--|->|::|\\.\\.|&&|\\|\\||[!=]==?|[-+*/%<>]=?|[?=!&|]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,push:`block-comment`},{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`/\\*`,push:`doc-comment`},{match:`\\*/`,pop:!0}]},template:{rules:[{match:`(\\$)(${dW})`,scope:[`interpolation`,`variable`]},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|.)`,scope:`string.escape`},{include:`template`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"raw-string":{default:`string`,rules:[{include:`template`},{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]}}}})),fW,pW,mW,hW,KGt,qGt=s((()=>{fW=`[A-Za-z_]\\w*`,pW=`(?=[ \\t]*(?:[({"']|\\[=*\\[))`,mW=`(?:coroutine|debug|io|math|os|package|string|table|utf8)`,hW=`\\\\(?:x[0-9a-fA-F]{2}|u\\{[0-9a-fA-F]+\\}|z\\s*|\\d{1,3}|\\r?\\n|[abfnrtv\\\\"'])`,KGt={name:`lua`,states:{root:{rules:[{match:`^#![^\\n]*`,scope:`comment`},{match:`(---(?!-)[ \\t]*)(@\\w+)([^\\n]*)`,scope:[`comment.doc`,`decorator`,`comment.doc`]},{match:`---(?!-)[^\\n]*`,scope:`comment.doc`},{match:`--\\[\\[`,scope:`comment`,push:`long-comment-0`},{match:`--\\[=\\[`,scope:`comment`,push:`long-comment-1`},{match:`--\\[==\\[`,scope:`comment`,push:`long-comment-2`},{match:`--\\[={3,}\\[`,scope:`comment`,push:`long-comment-n`},{match:`--[^\\n]*`,scope:`comment`},{match:`\\[\\[`,scope:`string`,push:`long-string-0`},{match:`\\[=\\[`,scope:`string`,push:`long-string-1`},{match:`\\[==\\[`,scope:`string`,push:`long-string-2`},{match:`\\[={3,}\\[`,scope:`string`,push:`long-string-n`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`\\b0[xX](?:[0-9a-fA-F]+(?:\\.[0-9a-fA-F]*)?|\\.[0-9a-fA-F]+)(?:[pP][-+]?\\d+)?`,scope:`number`},{match:`(?:\\b\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][-+]?\\d+)?`,scope:`number`},{match:`\\.\\.\\.`,scope:`variable.builtin`},{match:`(::)(${fW})(::)`,scope:[`punctuation.delimiter`,`variable.special`,`punctuation.delimiter`]},{match:`\\b(goto)([ \\t]+)(${fW})`,scope:[`keyword.control`,null,`variable.special`]},{match:`\\bfunction(?=[ \\t]+[A-Za-z_])`,scope:`keyword.declaration`,push:`definition`},{match:`\\b(?:if|elseif|else|then|end|do|while|repeat|until|for|in|break|goto|return)\\b`,scope:`keyword.control`},{match:`\\b(?:function|local)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`<(?:const|close)>`,scope:`decorator`},{match:`\\b(?:self|_G|_ENV|_VERSION)\\b`,scope:`variable.builtin`},{match:`\\b(${mW})(\\.)(${fW})${pW}`,scope:[`namespace`,`punctuation`,`function.builtin`]},{match:`\\b(${mW})(\\.)(${fW})`,scope:[`namespace`,`punctuation`,`variable.builtin`]},{match:`(:)(${fW})`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${fW})${pW}`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${fW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b(?:assert|collectgarbage|dofile|error|getmetatable|ipairs|load|loadfile|loadstring|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setmetatable|tonumber|tostring|type|unpack|xpcall)\\b`,scope:`function.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${fW}${pW}`,scope:`function.call`},{match:`\\.\\.|//|<<|>>|[=~<>]=|[-+*/%^#&|~<>=]`,scope:`operator`},{match:`(\\{)([ \\t\\r\\n]*)(${fW})(?=[ \\t]*=(?!=))`,scope:[`punctuation.bracket`,null,`property`],push:`table-constructor`},{match:`\\{`,scope:`punctuation.bracket`,push:`table-constructor`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`},{match:`\\.`,scope:`punctuation`}]},definition:{rules:[{match:`(:)([ \\t]*)(${fW})`,scope:[`punctuation`,null,`function.method`],pop:!0},{match:`(\\.)([ \\t]*)(${fW})(?=[ \\t]*[.:])`,scope:[`punctuation`,null,`variable.member`]},{match:`(\\.)([ \\t]*)(${fW})`,scope:[`punctuation`,null,`function`],pop:!0},{match:`\\b${fW}\\b(?![ \\t]*[.:])`,scope:`function`,pop:!0},{match:`$`,pop:!0},{include:`root`}]},"table-constructor":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\blocal\\b(?=[ \\t]+(?!function\\b)${fW}[ \\t]*,)`,scope:`keyword.declaration`,push:`local-list`},{match:`(,)([ \\t\\r\\n]*)(${fW})(?=[ \\t]*=(?!=))`,scope:[`punctuation.delimiter`,null,`property`]},{include:`root`}]},"local-list":{rules:[{match:`,(?=[ \\t\\r\\n]*${fW}[ \\t\\r\\n]*,)`,scope:`punctuation.delimiter`},{match:`,`,scope:`punctuation.delimiter`,pop:!0},{include:`root`}]},"string-double":{default:`string`,rules:[{match:hW,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:hW,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"long-string-0":{default:`string`,rules:[{match:`\\]\\]`,pop:!0}]},"long-string-1":{default:`string`,rules:[{match:`\\]=\\]`,pop:!0}]},"long-string-2":{default:`string`,rules:[{match:`\\]==\\]`,pop:!0}]},"long-string-n":{default:`string`,rules:[{match:`\\]={3,}\\]`,pop:!0}]},"long-comment-0":{default:`comment`,rules:[{match:`\\]\\]`,pop:!0}]},"long-comment-1":{default:`comment`,rules:[{match:`\\]=\\]`,pop:!0}]},"long-comment-2":{default:`comment`,rules:[{match:`\\]==\\]`,pop:!0}]},"long-comment-n":{default:`comment`,rules:[{match:`\\]={3,}\\]`,pop:!0}]}}}})),gW,_W,vW,JGt,YGt=s((()=>{gW=`[A-Za-z_.][\\w.-]{0,120}`,_W=`abspath|addprefix|addsuffix|and|basename|call|dir|error|eval|file|filter-out|filter|findstring|firstword|flavor|foreach|info|if|join|lastword|notdir|origin|or|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|wordlist|words|word`,vW=`[@<^*?%+|]`,JGt={name:`makefile`,aliases:[`make`,`mk`,`bsdmake`],states:{root:{rules:[{match:`^(\\t[ \\t]*)([-@+]*)`,scope:[null,`operator`],push:`recipe`},{match:`#[^\\n]*`,scope:`comment`},{match:`^([ \\t]*)(?:(export|override|private|unexport)([ \\t]+))?(${gW})([ \\t]*)(:{1,3}=|[+?!]?=)`,scope:[null,`keyword`,null,`variable`,null,`operator`]},{match:`^[ \\t]*(?:else[ \\t]+)?ifn?eq\\b(?![ \\t]*:)`,scope:`keyword.control`,push:`condition`},{match:`^[ \\t]*(?:else[ \\t]+)?(?:ifn?def|else|endif)\\b(?![ \\t]*:)`,scope:`keyword.control`},{match:`^[ \\t]*[-s]?include\\b(?![ \\t]*:)`,scope:`keyword.import`},{match:`^([ \\t]*)(define)([ \\t]+)(${gW})`,scope:[null,`keyword.declaration`,null,`variable`],push:`define`},{match:`^[ \\t]*(?:unexport|override|export|private|undefine|vpath)\\b(?![ \\t]*:)`,scope:`keyword`},{match:`^(?=[ \\t]*[^\\s:#=][^:#=\\n]{0,120}:)`,push:`target`},{include:`common`}]},target:{default:`function`,rules:[{match:`^\\.[A-Z][A-Z_]+`,scope:`function.builtin`},{match:`%`,scope:`operator`},{match:`::?`,scope:`punctuation.delimiter`,set:`prereqs`},{include:`common`},{match:`$`,pop:!0}]},prereqs:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`[%|]`,scope:`operator`},{match:`;`,scope:`punctuation.delimiter`,set:`recipe`},{include:`common`},{match:`$`,pop:!0}]},condition:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`[()]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`},{include:`common`},{match:`$`,pop:!0}]},recipe:{rules:[{match:`(?:^|[ \\t])#[^\\n]*`,scope:`comment`},{include:`common`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:'\\\\[\\\\$`"]',scope:`string.escape`},{include:`common`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`common`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},define:{rules:[{match:`^[ \\t]*endef\\b`,scope:`keyword.declaration`,pop:!0},{match:`#[^\\n]*`,scope:`comment`},{include:`common`}]},common:{rules:[{match:`\\$\\$`,scope:`string.escape`},{match:`\\$[({]${vW}[DF][)}]`,scope:`variable.builtin`},{match:`\\$${vW}`,scope:`variable.builtin`},{match:`(\\$\\()(${_W})(?=[ \\t])`,scope:[`punctuation.bracket`,`function.builtin`],push:`args-paren`},{match:`(\\$\\{)(${_W})(?=[ \\t])`,scope:[`punctuation.bracket`,`function.builtin`],push:`args-brace`},{match:`\\$\\(`,scope:`variable`,push:`ref-paren`},{match:`\\$\\{`,scope:`variable`,push:`ref-brace`},{match:`\\$[A-Za-z_]`,scope:`variable`},{match:`(\\\\\\r?\\n)[ \\t]*`,scope:[`operator`]}]},"ref-paren":{default:`variable`,rules:[{match:`\\)`,scope:`variable`,pop:!0},{match:`[:=%]`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"ref-brace":{default:`variable`,rules:[{match:`\\}`,scope:`variable`,pop:!0},{match:`[:=%]`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"args-paren":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`%`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]},"args-brace":{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`%`,scope:`operator`},{include:`common`},{match:`$`,pop:!0}]}}}})),yW,XGt,ZGt,bW,QGt,$Gt=s((()=>{yW=`script|pre|style|textarea`,XGt=yW.replace(/[a-z]/g,e=>`[${e}${e.toUpperCase()}]`),ZGt=`(?<=<\\/?[A-Za-z][\\w-]{0,64}(?:[^<>"'\\n]|"[^"\\n]{0,512}"|'[^'\\n]{0,512}'){0,512}>)`,bW=(e,t)=>{let n=`^[ \\t]*${t}[ \\t]*$`;return{[`${e}-code`]:{default:`string`,rules:[{match:n,scope:`punctuation`,pop:!0},{match:`^`,push:`${e}-body`}]},[`${e}-body`]:{default:`string`,embed:{language:`{{remembered}}`,until:n},rules:[]}}},QGt={name:`markdown`,aliases:[`md`,`mdx`],states:{root:{rules:[{match:"^([ \\t]*)(```(?!`))([ \\t]*)([A-Za-z][\\w+#.-]*)([^\\n]*)$",scope:[null,`punctuation`,null,`type`,`type`],push:`backtick-code`,remember:4},{match:`^([ \\t]*)(~~~(?!~))([ \\t]*)([A-Za-z][\\w+#.-]*)([^\\n]*)$`,scope:[null,`punctuation`,null,`type`,`type`],push:`tilde-code`,remember:4},{match:"^([ \\t]*)(```+|~~~+)([^\\n]*)$",scope:[null,`punctuation`,`type`],push:`fence`,remember:2},{match:``,scope:`comment`,pop:!0}]}}}})),xW,eKt,tKt=s((()=>{xW=`[A-Za-z]\\w{0,63}`,eKt={name:`matlab`,aliases:[`m`,`octave`],states:{root:{rules:[{include:`statement`},{include:`expression`},{include:`brackets`}]},statement:{rules:[{match:`^([ \\t]*)(arguments|properties|methods|events|enumeration)\\b(?=[ \\t]*(?:\\([^)\\n]{0,120}\\)[ \\t]*)?(?:[%#][^\\n]*)?$)`,scope:[null,`keyword.declaration`]},{match:`\\b(classdef)([ \\t]+)(${xW})`,scope:[`keyword.declaration`,null,`class`],push:`superclass`},{match:`\\bclassdef\\b`,scope:`keyword.declaration`},{match:`\\bfunction\\b`,scope:`keyword.declaration`,push:`func-decl`},{match:`\\bimport\\b`,scope:`keyword.import`}]},expression:{rules:[{include:`comments`},{match:`(?<=[\\w)\\]}'"])'`,scope:`operator`},{match:`'`,scope:`string`,push:`char-array`},{match:`"`,scope:`string`,push:`string-double`},{match:`(?=]=?|[&|:@.]`,scope:`operator`}]},brackets:{rules:[{match:`[(\\[{]`,scope:`punctuation.bracket`,push:`group`},{match:`[)\\]}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},group:{rules:[{match:`[)\\]}]`,scope:`punctuation.bracket`,pop:!0},{match:`~(?=[ \\t]*[,\\]])`,scope:`variable.parameter`},{include:`nested`}]},nested:{rules:[{match:`\\bend\\b`,scope:`constant.builtin`},{include:`expression`},{include:`brackets`}]},"func-decl":{rules:[{include:`comments`},{match:`$`,pop:!0},{match:`[,;]`,scope:`punctuation.delimiter`,pop:!0},{match:`\\[`,scope:`punctuation.bracket`,push:`params`},{match:`(${xW})(?=[ \\t]*=(?!=))`,scope:[`variable.parameter`]},{match:`=`,scope:`operator`},{match:`(${xW})([ \\t]*)(\\()`,scope:[`function`,null,`punctuation.bracket`],push:`params`},{match:xW,scope:`function`},{match:`\\(`,scope:`punctuation.bracket`,push:`params`}]},params:{rules:[{match:`[)\\]]`,scope:`punctuation.bracket`,pop:!0},{include:`comments`},{match:`[~]|${xW}`,scope:`variable.parameter`},{match:`,`,scope:`punctuation.delimiter`},{match:`$`,pop:!0}]},superclass:{rules:[{include:`comments`},{match:`$`,pop:!0},{match:`[,;]`,scope:`punctuation.delimiter`,pop:!0},{match:`[<&]`,scope:`operator`},{match:`${xW}(?:\\.${xW}){0,8}`,scope:`type`}]},comments:{rules:[{match:`^([ \\t]*)([%#]\\{[ \\t]*)$`,scope:[null,`comment`],push:`block-comment`},{match:`^([ \\t]*)((?:%%|##)[^\\n]*)`,scope:[null,`comment.doc`]},{match:`[%#][^\\n]*`,scope:`comment`},{match:`(\\.\\.\\.)([^\\n]*)(\\n?)`,scope:[`punctuation`,`comment`,null]}]},"block-comment":{default:`comment`,rules:[{match:`^[ \\t]*[%#]\\}[ \\t]*$`,pop:!0}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|[0-7]{1,3}|[nrtfvab0\\\\'"%])`,scope:`string.escape`},{match:`%[-+ #0]{0,8}(?:\\d{1,6}|\\*)?(?:\\.(?:\\d{1,6}|\\*))?[diouxXeEfgGcs%]`,scope:`string.special`}]},"char-array":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-double":{default:`string`,rules:[{match:`""`,scope:`string.escape`},{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]}}}})),SW,nKt,rKt=s((()=>{SW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,nKt={name:`mojo`,aliases:[`🔥`],states:{root:{rules:[{include:`statement`},{include:`expression`}]},statement:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^[ \\t]*"""`,scope:`comment.doc`,push:`docstring-double`},{match:`^[ \\t]*'''`,scope:`comment.doc`,push:`docstring-single`},{match:`^([ \\t]*)(@${SW}(?:\\.${SW})*)`,scope:[null,`decorator`]},{match:`\\b(fn|def)([ \\t]+)(${SW})`,scope:[`keyword.declaration`,null,`function`],push:`signature`},{match:`\\b(struct|trait)([ \\t]+)(${SW})([ \\t]*)(\\[)`,scope:[`keyword.declaration`,null,`class`,null,`punctuation.bracket`],push:`params`},{match:`\\b(struct|trait)([ \\t]+)(${SW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(from|import)([ \\t]+)(${SW}(?:\\.${SW})*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|from)\\b`,scope:`keyword.import`}]},signature:{rules:[{match:`\\[`,scope:`punctuation.bracket`,push:`params`},{match:`\\(`,scope:`punctuation.bracket`,set:`return-type`,push:`params`},{match:`:`,scope:`punctuation.delimiter`,pop:!0},{match:`$`,pop:!0}]},"return-type":{rules:[{match:`:`,scope:`punctuation.delimiter`,pop:!0},{match:`$`,pop:!0},{include:`expression`}]},expression:{rules:[{match:`#[^\\n]*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`\\.\\.\\.`,scope:`constant.builtin`},{match:`(\\.)([ \\t]*)(${SW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\.)([ \\t]*)(__\\w+__)`,scope:[`punctuation`,null,`variable.special`]},{match:`(\\.)([ \\t]*)(${SW})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\bNone\\b`,scope:`constant.builtin`},{match:`\\b(?:True|False)\\b`,scope:`boolean`},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`\\b(?:if|elif|else|for|while|break|continue|return|yield|await|raise|try|except|finally|with|pass|assert|del)\\b`,scope:`keyword.control`},{match:`\\b(?:fn|def|struct|trait|alias|var|let|async|global|nonlocal|lambda)\\b`,scope:`keyword.declaration`},{match:`\\b(?:raises|capturing|as)\\b`,scope:`keyword`},{match:`\\b(?:and|or|not|in|is)\\b`,scope:`keyword.operator`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`\\b(?:abs|align_?of|all|any|bin|chr|constrained|debug_assert|enumerate|hex|isinstance|len|max|min|oct|open|ord|pow|print|range|rebind|repr|reversed|round|simd_?width_?of|size_?of|sorted|str|sum|swap|zip)\\b`,scope:`function.builtin`},{match:`\\b(?:U?Int(?:8|16|32|64)?|Float(?:16|32|64)|SIMD|Scalar|DType|Bool|String(?:Literal|Slice)?|List|Dict|Set|Tuple|Optional|UnsafePointer|Pointer|AnyType|Error|Self)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${SW}(?==(?!=))`,scope:`variable.parameter`},{match:`\\b${SW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`->|:=|\\*\\*=?|//=?|<<=?|>>=?|[-+*/%@&|^~<>!=]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?\\b`,scope:`number`}]},strings:{rules:[{match:`[rRfF]{0,2}(""")`,scope:[`string`],rest:`string.special`,push:`string-triple-double`},{match:`[rRfF]{0,2}(''')`,scope:[`string`],rest:`string.special`,push:`string-triple-single`},{match:`[rRfF]{0,2}(")`,scope:[`string`],rest:`string.special`,push:`string-double`},{match:`[rRfF]{0,2}(')`,scope:[`string`],rest:`string.special`,push:`string-single`}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|[0-7]{1,3}|\\r?\\n|[\\\\'"abfnrtv0])`,scope:`string.escape`},{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interpolation`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"string-triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"docstring-double":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"docstring-single":{default:`comment.doc`,rules:[{match:`'''`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`:[^{}\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},nested:{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},params:{rules:[{match:`[)\\]]`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:owned|borrowed|inout|mut|read|out|ref)\\b(?=[ \\t]+[*A-Za-z_])`,scope:`keyword`},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`:`,scope:`punctuation.delimiter`,push:`param-value`},{match:`=(?!=)`,scope:`operator`,push:`param-value`},{match:`(?:(\\*{1,2})|(?{CW=`[A-Za-z_]\\w*\\b`,wW=`(?:^|(?<=[;{]))[ \\t]*`,TW=`(?=[^;{\\n]{0,300}(?:\\{[^;{\\n]{0,300}){0,3}\\{[ \\t\\r]*(?:#[^\\n]*)?$)`,iKt={name:`nginx`,aliases:[`nginxconf`,`nginx-conf`],states:{root:{rules:[{match:`#[^\\n]*`,scope:`comment`},{match:`${wW}(rewrite)\\b`,scope:[`property`],push:`regex`},{match:`${wW}(map)\\b${TW}`,scope:[`keyword`],push:`map-arguments`},{match:`${wW}(?:(upstream)([ \\t]+)([$\\w.-]+)|(${CW}))${TW}`,scope:[`keyword`,null,`type`,`keyword`]},{match:`${wW}(${CW})`,scope:[`property`]},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{include:`variables`},{match:`!?~\\*?`,scope:`operator`,push:`regex`},{match:`\\^~|!?=`,scope:`operator`},{match:`\\B-!?[fdex]\\b`,scope:`keyword.operator`},{match:`\\b(?:on|off)\\b`,scope:`boolean`},{match:`\\b(?:(debug|info|notice|warn|error|crit|alert|emerg|main|combined|epoll|kqueue|eventport|devpoll)(?![\\w/.-])|(last|break|redirect|permanent)(?=[ \\t]*;))(?{EW=`[A-Za-z_]\\w*`,oKt={name:`objectivec`,aliases:[`objc`,`obj-c`,`objective-c`],states:{root:{rules:[{include:`code`}]},code:{rules:[{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*[*!](?!/)`,scope:`comment.doc`,push:`block-doc`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`^[ \\t]*(#[ \\t]*(?:import|include))([ \\t]*)(<[^>\\n]*>|"[^"\\n]*")`,scope:[`keyword.import`,null,`string`]},{match:`^[ \\t]*#[ \\t]*\\w+`,scope:`keyword`},{match:`^[ \\t]*([-+])([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`method-return`},{match:`(@(?:interface|implementation|protocol|class))([ \\t]+)(${EW})`,scope:[`keyword.declaration`,null,`class`]},{match:`(@property)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`property-attrs`},{match:`(@selector)([ \\t]*)(\\()([^)\\n]*)(\\))`,scope:[`keyword.operator`,null,`punctuation.bracket`,`function.method`,`punctuation.bracket`]},{match:`@(?:try|catch|finally|throw|synchronized|autoreleasepool)\\b`,scope:`keyword.control`},{match:`@(?:interface|implementation|protocol|end|property|synthesize|dynamic|class|public|private|protected|optional|required)\\b`,scope:`keyword.declaration`},{match:`@import\\b`,scope:`keyword.import`},{match:`@(?:selector|encode|available)\\b`,scope:`keyword.operator`},{match:`(@)(")`,scope:[`string.special`,`string`],push:`string`},{match:`"`,scope:`string`,push:`string`},{match:`@(?=[\\[({\\d]|YES\\b|NO\\b)`,scope:`operator`},{match:`'(?:[^'\\\\\\n]|\\\\.){1,8}'`,scope:`string`},{match:`\\b0(?:[xX][0-9a-fA-F]+|[bB][01]+)[uUlL]*\\b`,scope:`number`},{match:`\\b\\d+\\.?\\d*(?:[eE][-+]?\\d+)?[uUlLfF]*\\b`,scope:`number`},{match:`\\.\\d+(?:[eE][-+]?\\d+)?[fF]?`,scope:`number`},{match:`\\b(?:break|case|continue|default|do|else|for|goto|if|return|switch|while)\\b`,scope:`keyword.control`},{match:`\\b(?:auto|const|enum|extern|inline|static|struct|typedef|union|volatile|nullable|nonnull|_Nullable|_Nonnull|__block|__weak|__strong|__kindof|__bridge(?:_retained|_transfer)?)\\b`,scope:`keyword.declaration`},{match:`\\b(?:sizeof|typeof|__typeof__)\\b`,scope:`keyword.operator`},{match:`\\b(?:YES|NO)\\b`,scope:`boolean`},{match:`\\b(?:nil|Nil|NULL)\\b`,scope:`constant.builtin`},{match:`\\b(?:self|super|_cmd)\\b`,scope:`variable.builtin`},{match:`\\b(?:id|instancetype|Class|SEL|IMP|BOOL|void|char|short|int|long|float|double|signed|unsigned|size_t|u?int(?:8|16|32|64)_t|NSInteger|NSUInteger|NSTimeInterval|CGFloat)\\b`,scope:`type.builtin`},{match:`(\\.)(${EW})(?=[ \\t]*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${EW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b${EW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\.{3}|->|\\+\\+|--|<<=?|>>=?|&&|\\|\\||[-+*/%!&|^<>=]=?|[~?]`,scope:`operator`},{match:`\\[`,scope:`punctuation.bracket`,push:`message`},{match:`[()\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"block-doc":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},string:{default:`string`,rules:[{match:`\\\\(?:u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|x[0-9a-fA-F]+|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`%(?:\\d{1,3}\\$)?[-+ #0]{0,6}(?:\\d{1,6}|\\*)?(?:\\.(?:\\d{1,6}|\\*))?(?:hh?|ll?|[Lzjtq])?[@%a-zA-Z]`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},message:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`code`},{match:`\\b${EW}(?=:(?![:=]))`,scope:`function.method`},{match:`(?<=[\\w\\]"\\)])[ \\t]+(${EW})(?=[ \\t]*\\])`,scope:[`function.method`]}]},"method-return":{rules:[{match:`\\)`,scope:`punctuation.bracket`,set:`method-name`},{include:`code`}]},"method-name":{rules:[{match:EW,scope:`function`,set:`method-sig`},{match:`\\n`,pop:!0}]},"method-sig":{rules:[{match:`\\{`,scope:`punctuation.bracket`,pop:!0},{match:`;`,scope:`punctuation.delimiter`,pop:!0},{match:`\\b${EW}(?=:)`,scope:`function`},{match:`(?<=\\))[ \\t]*(${EW})`,scope:[`variable.parameter`]},{include:`code`}]},"property-attrs":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:nonatomic|atomic|strong|weak|copy|assign|retain|readonly|readwrite|class|getter|setter)\\b`,scope:`keyword`},{match:`(=)([ \\t]*)(${EW}:?)`,scope:[`operator`,null,`function.method`]},{include:`code`}]}}}})),DW,OW,kW,AW,cKt,lKt=s((()=>{DW=`[a-z_][A-Za-z0-9_']{0,128}`,OW=`[A-Z][A-Za-z0-9_']{0,128}`,kW=`(?![\\w'])`,AW=`\\\\(?:[0-9]{3}|x[0-9a-fA-F]{2}|o[0-3][0-7]{2}|u\\{[0-9a-fA-F]{1,6}\\}|\\r?\\n[ \\t]*|[\\s\\S])`,cKt={name:`ocaml`,aliases:[`ml`,`mli`],states:{root:{rules:[{include:`expression`}]},expression:{rules:[{include:`atoms`},{match:`\\[(?:@{1,3}|%{1,2})[A-Za-z_][\\w.']{0,64}`,scope:`decorator`},{include:`definitions`},{match:`(${OW})(\\.)`,scope:[`namespace`,`punctuation`]},{match:`(\\.)(${DW})`,scope:[`punctuation`,`variable.member`]},{match:`[~?]${DW}`,scope:`variable.parameter`},{match:"`[A-Za-z_][\\w']{0,128}",scope:`constant`},{match:`\\b(?:if|then|else|match|when|with|for|to|downto|while|do|done|begin|end|try|assert)${kW}`,scope:`keyword.control`},{match:`\\b(?:let|rec|and|in|fun|function|type|val|external|module|struct|sig|object|class|method|inherit|initializer|constraint|mutable|private|virtual|nonrec|exception|new|lazy)${kW}`,scope:`keyword.declaration`},{match:`\\b(?:open|include)${kW}`,scope:`keyword.import`},{match:`\\b(?:mod|land|lor|lxor|lsl|lsr|asr|or)${kW}`,scope:`keyword.operator`},{match:`\\b(?:as|of)${kW}`,scope:`keyword`},{include:`types`},{match:`\\b(?:printf|sprintf|eprintf|fprintf|print_endline|print_string|print_newline|prerr_endline|failwith|invalid_arg|raise|ignore|ref|incr|decr|not|fst|snd|compare|min|max|exit)${kW}`,scope:`function.builtin`},{match:`\\b(?:int|float|string|char|bool|bytes)_of_(?:int|float|string|char|bool|bytes)${kW}`,scope:`function.builtin`},{match:`\\b${OW}`,scope:`constant`},{match:`(?])`,scope:`punctuation.delimiter`},{match:`[!$%&*+\\-./:<>=?@^|~]+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`}]},atoms:{rules:[{include:`comments`},{include:`strings`},{include:`numbers`},{match:`\\b(?:true|false)${kW}`,scope:`boolean`},{match:`\\b(?:None|Some|Ok|Error)${kW}`,scope:`constant.builtin`}]},comments:{rules:[{match:`\\(\\*\\*(?!\\))`,scope:`comment.doc`,push:`comment-doc`},{match:`\\(\\*`,scope:`comment`,push:`comment`}]},comment:{default:`comment`,rules:[{match:`\\(\\*`,push:`comment`},{match:`\\*\\)`,pop:!0},{match:`"`,push:`comment-string`}]},"comment-doc":{default:`comment.doc`,rules:[{match:`\\(\\*`,push:`comment-doc`},{match:`\\*\\)`,pop:!0},{match:`"`,push:`comment-string`}]},"comment-string":{default:`comment`,rules:[{match:`\\\\[\\s\\S]`,scope:`comment`},{match:`"`,scope:`comment`,pop:!0}]},strings:{rules:[{match:`\\{([a-z_]*)\\|`,scope:`string`,push:`quoted-string`,remember:1},{match:`"`,scope:`string`,push:`string`},{match:`(?)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(val|external)([ \\t]+)(${DW})`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\b(type)([ \\t]+)('${DW})?([ \\t]*)(${DW})`,scope:[`keyword.declaration`,null,`type`,null,`type`]},{match:`\\b(module)([ \\t]+)(?:(type)([ \\t]+))?(${OW})`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`namespace`]},{match:`\\b(open!?|include)([ \\t]+)(${OW}(?:\\.${OW})*)`,scope:[`keyword.import`,null,`namespace`]}]},params:{rules:[{match:`=(?![=<>|&])`,scope:`operator`,pop:!0},{match:`->`,scope:`operator`,pop:!0},{include:`param-atoms`}]},"params-paren":{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`param-atoms`}]},"param-atoms":{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`params-paren`},{include:`atoms`},{include:`types`},{match:`[~?]?${DW}`,scope:`variable.parameter`},{include:`expression`}]}}}})),jW,MW,NW,PW,FW,uKt,IW,LW,dKt,fKt=s((()=>{jW=`[A-Za-z_]\\w*(?:::\\w+)*`,MW="\\${0,8}",NW=`(?:[^/\\\\\\n]|\\\\.){0,240}`,PW=`[a-z]*`,FW=`/(?:[^/\\\\\\n]|\\\\.){1,240}/${PW}`,uKt=`=~|!~|=>|&&|\\|\\||[=!]=|[=!?~]`,IW=`\\b(?:qq|qw|qx|qr|q|m)`,LW=`\\b(?:s|tr|y)`,dKt={name:`perl`,aliases:[`pl`,`pm`],states:{root:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^=[a-zA-Z]\\w*`,scope:`comment.doc`,push:`pod`},{match:`^__(?:END|DATA)__`,scope:`keyword`,push:`data`},{match:`#[^\\n]*`,scope:`comment`},{match:`(<<~?)(")(\\w+)(")`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line`},{match:`(<<~?)(')(\\w+)(')`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line-raw`},{match:`(<<~)(\\w+)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`(<<)([A-Z_]\\w*)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`backtick`},{match:`(${IW})(\\()`,scope:[`keyword.operator`,`string`],push:`q-paren`},{match:`(${IW})(\\{)`,scope:[`keyword.operator`,`string`],push:`q-brace`},{match:`(${IW})(\\[)`,scope:[`keyword.operator`,`string`],push:`q-bracket`},{match:`(${LW})\\{`,scope:[`keyword.operator`],rest:`string`,push:`subst`},{match:`(${LW})(/${NW}/${NW}/${PW})`,scope:[`keyword.operator`,`regexp`]},{match:`(\\b(?:qr|m))(/${NW}/${PW})`,scope:[`keyword.operator`,`regexp`]},{match:`([(\\[])(\\s*)(${FW})`,scope:[`punctuation.bracket`,null,`regexp`]},{match:`(\\{)(\\s*)(${FW})`,scope:[`punctuation.bracket`,null,`regexp`],push:`brace`},{match:`([,;:])(\\s*)(${FW})`,scope:[`punctuation.delimiter`,null,`regexp`]},{match:`(\\b(?:return|if|elsif|unless|while|until|when)\\b)(\\s*)(${FW})`,scope:[`keyword.control`,null,`regexp`]},{match:`(\\b(?:split|grep|map|push|join|print|die)\\b)(\\s*)(${FW})`,scope:[`function.builtin`,null,`regexp`]},{match:`(\\b(?:and|or|not)\\b)(\\s*)(${FW})`,scope:[`keyword.operator`,null,`regexp`]},{match:`(${uKt})(\\s*)(${FW})`,scope:[`operator`,null,`regexp`]},{match:`\\$#\\{`,scope:`variable`,push:`deref`},{match:`\\$#${MW}${jW}`,scope:`variable`},{match:`[$@%]_(?!\\w)`,scope:`variable.builtin`},{match:`(?:[@%](?:ARGV|ENV|INC)|\\$(?:0|ARGV))(?!\\w)`,scope:`variable.builtin`},{match:`[$@%]\\{\\^?\\w+\\}`,scope:`variable`},{match:`[$@%&]${MW}\\{`,scope:`variable`,push:`deref`},{match:`[$@%]${MW}${jW}`,scope:`variable`},{match:`\\$(?:\\d+|\\^\\w|[!@/\\\\,;.&+])`,scope:`variable.builtin`},{match:`&(?`,scope:`variable.builtin`},{match:`(->)(${jW})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(->)(${jW})`,scope:[`operator`,`variable.member`]},{match:`(\\{)(-?\\w+)(\\})`,scope:[`punctuation.bracket`,`property`,`punctuation.bracket`]},{match:`\\b[A-Za-z_]\\w*(?=[ \\t]*=>)`,scope:`property`},{match:`(\\bpackage)([ \\t]+)(${jW})`,scope:[`keyword.declaration`,null,`namespace`]},{match:`(\\b(?:use|no|require))([ \\t]+)((?!v\\d)${jW})`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:use|no|require)\\b`,scope:`keyword.import`},{match:`(\\bsub)([ \\t]+)(${jW})`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(?:if|elsif|else|unless|while|until|foreach|for|do|last|next|redo|return|goto|given|when|eval)\\b`,scope:`keyword.control`},{match:`\\b(?:sub|my|our|local|state|package)\\b`,scope:`keyword.declaration`},{match:`\\b(?:BEGIN|END|AUTOLOAD|DESTROY)\\b`,scope:`keyword`},{match:`\\b(?:xor|cmp|and|or|not|eq|ne|lt|gt|le|ge|x)\\b`,scope:`keyword.operator`},{match:`\\bundef\\b`,scope:`constant.builtin`},{match:`\\b__(?:PACKAGE|FILE|LINE|SUB)__\\b`,scope:`variable.special`},{match:`\\b(?:STDIN|STDOUT|STDERR)\\b`,scope:`variable.builtin`},{match:`\\b(?:sprintf|printf|print|say|push|pop|shift|unshift|splice|keys|values|each|exists|delete|defined|ref|bless|die|warn|join|split|grep|map|sort|reverse|scalar|wantarray|chomp|lcfirst|ucfirst|lc|uc|length|substr|index|open|close|abs|int|sqrt|time|localtime|exit)\\b`,scope:`function.builtin`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO]?[0-7_]+\\b`,scope:`number`},{match:`\\bv\\d+(?:\\.\\d+)+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\b[A-Za-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b[a-z_]\\w*(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`<=>|=~|!~|->|=>|\\+\\+|--|\\*\\*=?|\\|\\|=?|&&=?|//=?|<<=?|>>=?|\\.\\.\\.?|::|[-+*/%.^&|]=|[<>!=]=|[-+*/%.!~\\\\^&|<>=?]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},pod:{default:`comment.doc`,rules:[{match:`^=cut[^\\n]*`,pop:!0}]},data:{default:`comment`,rules:[]},interp:{rules:[{match:`\\\\(?:x\\{[0-9a-fA-F]{1,8}\\}|x[0-9a-fA-F]{1,2}|[0-7]{1,3}|N\\{[^}\\n]{0,60}\\}|.)`,scope:`string.escape`},{match:`%[-+ 0#]{0,8}(?:\\d{1,6}|\\*)?(?:\\.\\d{1,6})?[sdfgeExXobcu%]`,scope:`string.special`},{match:`\\$#${MW}${jW}`,scope:`variable`},{match:`[$@]\\{\\^?\\w+\\}`,scope:`variable`},{match:`[$@]${MW}\\{`,scope:`variable`,push:`deref`},{match:`[$@]${MW}(?:${jW}|\\d+)(?:(?:->)?(?:\\[[^\\]\\n]{0,80}\\]|\\{[^}\\n]{0,80}\\})){0,6}`,scope:`variable`}]},"string-double":{default:`string`,rules:[{include:`interp`},{match:`"`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,pop:!0}]},backtick:{default:`string`,rules:[{include:`interp`},{match:"`",pop:!0}]},"q-paren":{default:`string`,rules:[{match:`\\(`,push:`q-paren`},{match:`\\)`,pop:!0},{include:`interp`}]},"q-brace":{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}`,pop:!0},{include:`interp`}]},"q-bracket":{default:`string`,rules:[{match:`\\[`,push:`q-bracket`},{match:`\\]`,pop:!0},{include:`interp`}]},subst:{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}`,set:`subst-mid`},{include:`interp`}]},"subst-mid":{rules:[{match:`([ \\t\\n]*)(\\{)`,scope:[null,`string`],set:`subst-2`},{match:`(?=[\\s\\S])`,pop:!0}]},"subst-2":{default:`string`,rules:[{match:`\\{`,push:`q-brace`},{match:`\\}${PW}`,pop:!0},{include:`interp`}]},"heredoc-line":{rules:[{match:`\\n`,set:`heredoc`},{include:`root`}]},"heredoc-line-raw":{rules:[{match:`\\n`,set:`heredoc-raw`},{include:`root`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*\\w+[ \\t]*$`,scope:`string.special`,pop:!0},{include:`interp`}]},"heredoc-raw":{default:`string`,rules:[{match:`^[ \\t]*\\w+[ \\t]*$`,scope:`string.special`,pop:!0}]},deref:{rules:[{match:`\\}`,scope:`variable`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]}}}})),RW,zW,BW,VW,pKt,mKt=s((()=>{RW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,zW=`\\\\?${RW}(?:\\\\${RW})*`,BW=`[A-Za-z_][\\w:.-]*`,VW=String.raw`<\?(?:php\b|=)(?:"(?:\\[\s\S]|[^"\\])*(?:"|(?![\s\S]))|'(?:\\[\s\S]|[^'\\])*(?:'|(?![\s\S]))|/\*[^*]*(?:\*(?!/)[^*]*)*(?:\*/|(?![\s\S]))|(?:\/\/|#(?!\[))(?:(?!\?>)[^\n])*|[^"'/?#]|/(?![/*])|\?(?!>)|#(?=\[))*(?:\?>|(?![\s\S]))`,pKt={name:`php`,aliases:[`php3`,`php4`,`php5`,`php8`],states:{root:{rules:[{match:`(?=\\s*<(?!<<))`,set:`markup`},{match:`(?=[\\s\\S])`,set:`code`}]},markup:{ignoreCase:!0,rules:[{match:`<\\?(?:php\\b|=)`,scope:`tag`,push:`php`},{match:``,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`\\*/`,pop:!0}]},"html-tag":{ignoreCase:!0,rules:[{match:`/?>`,scope:`punctuation.bracket`,pop:!0},{match:`<\\?(?:php\\b|=)`,scope:`tag`,push:`php`},{match:`"[^"<]*"|'[^'<]*'`,scope:`string`},{match:`[@:#]?${BW}`,scope:`tag.attribute`},{match:`=`,scope:`operator`}]},php:{rules:[{match:`\\?>`,scope:`tag`,pop:!0},{include:`expression`}]},code:{rules:[{match:`\\?>`,scope:`tag`,set:`markup`},{include:`expression`}]},expression:{rules:[{match:`(#\\[)(${zW})`,scope:[`decorator`,`decorator`]},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(?://|#)[^?\\n]*(?:\\?(?!>)[^?\\n]*)*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`(\\?->|->)([ \\t]*)(${RW})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(\\?->|->)([ \\t]*)(${RW})`,scope:[`operator`,null,`variable.member`]},{match:`(::)([ \\t]*)(${RW})(?=[ \\t]*\\()`,scope:[`operator`,null,`function.method`]},{match:`(function)([ \\t]+)(&?)(${RW})([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`operator`,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(function|fn)([ \\t]*)(&?)(\\()`,scope:[`keyword.declaration`,null,`operator`,`punctuation.bracket`],push:`params`},{match:`\\b(class|interface|trait|enum)([ \\t]+)(${RW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(namespace|use)([ \\t]+)(${zW})`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:if|else|elseif|while|do|for|foreach|switch|case|default|break|continue|return|goto|throw|try|catch|finally|yield|match|declare|end(?:if|while|for|foreach|switch|declare))\\b`,scope:`keyword.control`},{match:`\\b(?:abstract|final|public|private|protected|static|readonly|const|var|global|function|fn|class|interface|trait|enum|extends|implements)\\b`,scope:`keyword.declaration`},{match:`\\b(?:namespace|use|require_once|require|include_once|include)\\b`,scope:`keyword.import`},{match:`\\b(?:new|clone|instanceof|insteadof|as|and|or|xor)\\b`,scope:`keyword.operator`},{match:`\\b(?:echo|print)\\b`,scope:`keyword`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnull\\b|\\b__[A-Z]+__\\b`,scope:`constant.builtin`},{match:`\\$this\\b`,scope:`variable.builtin`},{match:`\\$(?:GLOBALS|_(?:GET|POST|REQUEST|SERVER|SESSION|COOKIE|FILES|ENV))\\b`,scope:`variable.builtin`},{match:`\\$\\$?${RW}`,scope:`variable`},{match:`\\b(?:array_(?:map|filter|merge|keys|values|slice|sum)|in_array|count|is_(?:array|string|int|null|numeric)|str_(?:replace|repeat|contains|pad)|strlen|strtolower|strtoupper|substr|strpos|trim|sprintf|printf|number_format|implode|explode|json_(?:encode|decode)|preg_(?:match|replace|split)|var_dump|usort|isset|unset|empty|list|compact|exit|die)\\b`,scope:`function.builtin`},{match:`\\b(?:int|float|string|bool|array|object|mixed|void|never|callable|iterable|resource|self|parent)\\b`,scope:`type.builtin`},{match:`\\b${RW}(?=\\\\)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=[ \\t]*\\()`,scope:`function.call`},{match:`\\*\\*=?|\\?\\?=?|\\?->|<=>|<<=?|>>=?|===?|!==?|<>|=>|->|::|&&|\\|\\||\\+\\+|--|[-+*/%.&|^!]=?|[<>]=?|=|[?~@]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]|\\\\`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO][0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*\\.[\\d_]*(?:[eE][-+]?\\d+)?|\\.\\d[\\d_]*(?:[eE][-+]?\\d+)?|\\b\\d[\\d_]*(?:[eE][-+]?\\d+)?\\b`,scope:`number`}]},strings:{rules:[{match:`<<<[ \\t]*'(${RW})'`,scope:`string.special`,push:`nowdoc`,remember:1},{match:`<<<[ \\t]*"?(${RW})"?`,scope:`string.special`,push:`heredoc`,remember:1},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`shell`}]},escapes:{rules:[{match:'\\\\(?:x[0-9a-fA-F]{1,2}|u\\{[0-9a-fA-F]+\\}|[0-7]{1,3}|[nrtvef\\\\$"`])',scope:`string.escape`}]},interpolation:{rules:[{match:`\\{(?=\\$)`,scope:`interpolation`,push:`interp`},{match:`\\$\\{[^}\\n]*\\}`,scope:`variable`},{match:`\\$${RW}(?:->${RW}|\\[[^\\[\\]\\n]*\\])?`,scope:`variable`}]},interp:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`expression`}]},"string-double":{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},shell:{default:`string`,rules:[{include:`escapes`},{include:`interpolation`},{match:"`",scope:`string`,pop:!0}]},"heredoc-end":{rules:[{match:`^([ \\t]*)({{remembered}})(?![\\w\\u0080-\\uFFFF])`,scope:[null,`string.special`],pop:!0}]},heredoc:{default:`string`,rules:[{include:`heredoc-end`},{include:`escapes`},{include:`interpolation`}]},nowdoc:{default:`string`,rules:[{include:`heredoc-end`}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\$${RW}`,scope:`variable.parameter`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`expression`}]}}}})),HW,UW,hKt,gKt=s((()=>{HW=`[a-z_]\\w*`,UW=`[a-z_][\\w.]*`,hKt={name:`powershell`,aliases:[`ps`,`ps1`,`pwsh`,`posh`],states:{root:{ignoreCase:!0,rules:[{match:`<#`,scope:`comment`,push:`block-comment`},{match:`(?<=^|[ \\t;(])#[^\\n]*`,scope:`comment`},{match:`@"[ \\t]*\\r?$`,scope:`string.special`,push:`heredoc-double`},{match:`@'[ \\t]*\\r?$`,scope:`string.special`,push:`heredoc-single`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`[\\s\\S]",scope:`string.escape`},{match:`[$@]\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`@\\{`,scope:`punctuation.bracket`},{include:`variables`},{match:`@${HW}`,scope:`variable`},{match:`(\\[)(${UW})(?=\\()`,scope:[`punctuation.bracket`,`decorator`]},{match:`(\\[)((?:string|char|byte|int|int32|int64|long|bool|boolean|double|float|decimal|object|array|hashtable|pscustomobject|psobject|scriptblock|switch|datetime|regex|xml|void|version)(?:\\[[^\\][\\n]*\\])?)(\\])`,scope:[`punctuation.bracket`,`type.builtin`,`punctuation.bracket`]},{match:`(\\[)(${`${UW}(?:\\[[^\\][\\n]*\\])?`})(\\])`,scope:[`punctuation.bracket`,`type`,`punctuation.bracket`]},{match:`(::)(${HW})(?=[ \\t]*\\()`,scope:[`operator`,`function.method`]},{match:`(::)(${HW})`,scope:[`operator`,`variable.member`]},{match:`(\\.)(${HW})(?=\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${HW})`,scope:[`punctuation`,`variable.member`]},{match:`\\b(function|filter|workflow)([ \\t]+)([a-z_][\\w-]*)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(function|filter|workflow)([ \\t]+)([a-z_][\\w-]*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(class|enum)([ \\t]+)(${HW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(param)([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`punctuation.bracket`],push:`params`},{match:`\\b(using)([ \\t]+)(namespace|module|assembly)([ \\t]+)([\\w.]+)`,scope:[`keyword.import`,null,`keyword.import`,null,`namespace`]},{match:`\\b(?:if|elseif|else|switch|default|foreach|for|while|do|until|break|continue|return|throw|exit|try|catch|finally|trap)\\b`,scope:`keyword.control`},{match:`\\b(?:begin|process|end|clean|dynamicparam|param|hidden|static|data)\\b`,scope:`keyword.declaration`},{match:`\\busing\\b`,scope:`keyword.import`},{match:`\\bin\\b`,scope:`keyword.operator`},{match:`\\b[a-z]\\w*-[a-z]\\w*\\b`,scope:`function.call`},{match:`-[ci]?(?:eq|ne|gt|ge|lt|le|like|notlike|match|notmatch|contains|notcontains|in|notin|replace|split|join|isnot|is|as|and|or|xor|not|band|bor|bxor|bnot|shl|shr|f)\\b`,scope:`keyword.operator`},{match:`(?=]=?|[|&]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"special-variables":{ignoreCase:!0,rules:[{match:`\\$(?:true|false)\\b`,scope:`boolean`},{match:`\\$null\\b`,scope:`constant.builtin`},{match:`\\$(?:_|this|args|input|matches|error|host|pwd|psitem|pscmdlet|psscriptroot|psboundparameters|psversiontable|lastexitcode|myinvocation|erroractionpreference)\\b`,scope:`variable.builtin`},{match:`\\$[$?^]`,scope:`variable.builtin`},{match:`\\$((?:env|global|script|local|private|using|variable|function):)${HW}`,scope:[`namespace`],rest:`variable`}]},variables:{ignoreCase:!0,rules:[{include:`special-variables`},{match:`\\$\\{[^{}\\n]*\\}`,scope:`variable`},{match:`\\$${HW}`,scope:`variable`}]},interpolated:{ignoreCase:!0,rules:[{match:"`[\\s\\S]",scope:`string.escape`},{match:`\\$\\(`,scope:`interpolation`,push:`subexpression`},{include:`variables`}]},"string-double":{default:`string`,ignoreCase:!0,rules:[{match:`""`,scope:`string.escape`},{include:`interpolated`},{match:`"`,scope:`string`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0}]},"heredoc-double":{default:`string`,ignoreCase:!0,rules:[{match:`^[ \\t]*"@`,scope:`string.special`,pop:!0},{include:`interpolated`}]},"heredoc-single":{default:`string`,rules:[{match:`^[ \\t]*'@`,scope:`string.special`,pop:!0}]},subexpression:{ignoreCase:!0,rules:[{match:`\\)`,scope:`interpolation`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`root`}]},paren:{ignoreCase:!0,rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`root`}]},params:{ignoreCase:!0,rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{include:`special-variables`},{match:`\\$${HW}`,scope:`variable.parameter`},{include:`root`}]},"block-comment":{default:`comment`,ignoreCase:!0,rules:[{match:`#>`,pop:!0},{match:`^([ \\t]*)(\\.[a-z]+)\\b`,scope:[null,`comment.doc`]}]}}}})),WW,GW,_Kt,vKt=s((()=>{WW=`[A-Za-z_\\u0080-\\uFFFF][\\w\\u0080-\\uFFFF]*`,GW=`\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|N\\{[^}\\n]*\\}|[0-7]{1,3}|\\r?\\n|[\\\\'"abfnrtv0])`,_Kt={name:`python`,aliases:[`py`,`python3`],states:{root:{rules:[{include:`statement`},{include:`expression`}]},statement:{rules:[{match:`^#!.*`,scope:`comment`},{match:`^[ \\t]*"""`,scope:`comment.doc`,push:`docstring-double`},{match:`^[ \\t]*'''`,scope:`comment.doc`,push:`docstring-single`},{match:`^([ \\t]*)(@${WW}(?:\\.${WW})*)`,scope:[null,`decorator`]},{match:`\\b(def)([ \\t]+)(${WW})([ \\t]*)(\\()`,scope:[`keyword.declaration`,null,`function`,null,`punctuation.bracket`],push:`params`},{match:`\\b(class)([ \\t]+)(${WW})`,scope:[`keyword.declaration`,null,`class`]},{match:`\\b(from|import)([ \\t]+)(${WW}(?:\\.${WW})*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|from)\\b`,scope:`keyword.import`},{match:`^([ \\t]*)(match)\\b(?=[^\\n]*:[ \\t]*(?:#[^\\n]*)?$)`,scope:[null,`keyword.control`]},{match:`^([ \\t]*)(case)\\b(?![ \\t]*(?::|(?:\\*\\*|//|<<|>>|[-+*/%@&|^])?=))(?=[ \\t]+[^\\n]*:)`,scope:[null,`keyword.control`]}]},expression:{rules:[{match:`#[^\\n]*`,scope:`comment`},{include:`strings`},{include:`numbers`},{match:`\\.\\.\\.`,scope:`constant.builtin`},{match:`(\\.)([ \\t]*)(${WW})(?=[ \\t]*\\()`,scope:[`punctuation`,null,`function.method`]},{match:`(\\.)([ \\t]*)(__\\w+__)`,scope:[`punctuation`,null,`variable.special`]},{match:`(\\.)([ \\t]*)(${WW})`,scope:[`punctuation`,null,`variable.member`]},{match:`\\b(?:None|True|False|NotImplemented|Ellipsis)\\b`,scope:`constant.builtin`},{match:`\\b(?:self|cls|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:if|elif|else|for|while|break|continue|return|yield|await|raise|try|except|finally|with|pass|assert|del)\\b`,scope:`keyword.control`},{match:`\\blambda\\b`,scope:`keyword.declaration`,push:`lambda-params`},{match:`\\b(?:def|class|async|global|nonlocal)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not|in|is)\\b`,scope:`keyword.operator`},{match:`\\bas\\b`,scope:`keyword`},{match:`\\b__\\w+__\\b`,scope:`variable.special`},{match:`\\b(?:abs|aiter|anext|all|any|ascii|bin|breakpoint|callable|chr|classmethod|compile|delattr|dir|divmod|enumerate|eval|exec|filter|format|getattr|globals|hasattr|hash|help|hex|id|input|isinstance|issubclass|iter|len|locals|map|max|min|next|oct|open|ord|pow|print|property|range|repr|reversed|round|setattr|slice|sorted|staticmethod|sum|vars|zip)\\b`,scope:`function.builtin`},{match:`\\b(?:bool|bytearray|bytes|complex|dict|float|frozenset|int|list|memoryview|object|set|str|tuple|type)\\b`,scope:`type.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${WW}(?==(?!=))`,scope:`variable.parameter`},{match:`\\b${WW}(?=[ \\t]*\\()`,scope:`function.call`},{match:`->|:=|\\*\\*=?|//=?|<<=?|>>=?|[-+*/%@&|^~<>!=]=?`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},numbers:{rules:[{match:`\\b0[xX](?:_?[0-9a-fA-F])+\\b`,scope:`number`},{match:`\\b0[oO](?:_?[0-7])+\\b`,scope:`number`},{match:`\\b0[bB](?:_?[01])+\\b`,scope:`number`},{match:`\\b\\d(?:_?\\d)*\\.(?:\\d(?:_?\\d)*)?(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?|\\.\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?|\\b\\d(?:_?\\d)*(?:[eE][-+]?\\d(?:_?\\d)*)?[jJ]?\\b`,scope:`number`}]},strings:{rules:[{match:`(?:[rR][fF]|[fF][rR]?)(""")`,scope:[`string`],rest:`string.special`,push:`fstring-triple-double`},{match:`(?:[rR][fF]|[fF][rR]?)(''')`,scope:[`string`],rest:`string.special`,push:`fstring-triple-single`},{match:`(?:[rR][fF]|[fF][rR]?)(")`,scope:[`string`],rest:`string.special`,push:`fstring-double`},{match:`(?:[rR][fF]|[fF][rR]?)(')`,scope:[`string`],rest:`string.special`,push:`fstring-single`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(""")`,scope:[`string`],rest:`string.special`,push:`string-triple-double`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(''')`,scope:[`string`],rest:`string.special`,push:`string-triple-single`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(")`,scope:[`string`],rest:`string.special`,push:`string-double`},{match:`(?:[rRbBuU]|[rR][bB]|[bB][rR])?(')`,scope:[`string`],rest:`string.special`,push:`string-single`}]},"string-body":{rules:[{match:GW,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[hlL]?[diouxXeEfFgGcrsa%]`,scope:`string.special`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-triple-double":{default:`string`,rules:[{include:`string-body`},{match:`"""`,scope:`string`,pop:!0}]},"string-triple-single":{default:`string`,rules:[{include:`string-body`},{match:`'''`,scope:`string`,pop:!0}]},"docstring-double":{default:`comment.doc`,rules:[{match:`"""`,pop:!0}]},"docstring-single":{default:`comment.doc`,rules:[{match:`'''`,pop:!0}]},"fstring-body":{rules:[{match:GW,scope:`string.escape`},{match:`\\{\\{|\\}\\}`,scope:`string.escape`},{match:`\\{`,scope:`interpolation`,push:`interpolation`}]},"fstring-double":{default:`string`,rules:[{include:`fstring-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"fstring-single":{default:`string`,rules:[{include:`fstring-body`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"fstring-triple-double":{default:`string`,rules:[{include:`fstring-body`},{match:`"""`,scope:`string`,pop:!0}]},"fstring-triple-single":{default:`string`,rules:[{include:`fstring-body`},{match:`'''`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`=(?=[!:}])`,scope:`string.special`},{match:``,scope:`string.special`},{match:`:[^{}\\n]{0,120}(?=\\})`,scope:`string.special`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{include:`expression`}]},paren:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},bracket:{rules:[{match:`\\]`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`nested`}]},nested:{rules:[{match:`\\(`,scope:`punctuation.bracket`,push:`paren`},{match:`\\[`,scope:`punctuation.bracket`,push:`bracket`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`expression`}]},params:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`\\b(?:self|cls)\\b`,scope:`variable.builtin`},{match:`:`,scope:`punctuation.delimiter`,push:`param-value`},{match:`=(?!=)`,scope:`operator`,push:`param-value`},{match:`(?:(\\*{1,2})[ \\t]*|(?{KW=`[A-Za-z.][\\w.]{0,64}`,qW="`[^`\\n]*`",JW=`(?>|->|\\|>|:::?|%[^%\\n]*%|&&|\\|\\||[-+*/^!<>=]=?|[~?:@$]|[&|]`,scope:`operator`},{match:`\\(`,scope:`punctuation.bracket`,push:`args`},{match:`[)\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},args:{rules:[{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`${JW}(${KW}|${qW})([ \\t]*)(=)(?!=)`,scope:[`variable.parameter`,null,`operator`]},{include:`expression`}]},params:{rules:[{match:`${JW}(${KW}|${qW})([ \\t]*)(=)(?!=)`,scope:[`variable.parameter`,null,`operator`],push:`default-value`},{match:`${JW}(?:${KW}|${qW})(?=[ \\t]*[,)])`,scope:`variable.parameter`},{include:`args`}]},"default-value":{rules:[{match:`(?=[,)])`,pop:!0},{include:`expression`}]},roxygen:{default:`comment.doc`,rules:[{match:`@\\w+`,scope:`decorator`},{match:`$`,pop:!0}]},strings:{rules:[{match:`([rR])(["'](-*)[(\\[{])`,scope:[`string.special`,`string`],push:`raw-string`,remember:3},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`}]},"string-body":{rules:[{match:`\\\\(?:x[0-9a-fA-F]{1,2}|[uU]\\{[0-9a-fA-F]{1,8}\\}|u[0-9a-fA-F]{1,4}|U[0-9a-fA-F]{1,8}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`%[-+ #0]*(?:\\d+|\\*)?(?:\\.(?:\\d+|\\*))?[diouxXeEfgGsaA%]`,scope:`string.special`}]},"string-double":{default:`string`,rules:[{include:`string-body`},{match:`"`,scope:`string`,pop:!0},{match:`\\n[ \\t\\r]*\\n`,pop:!0}]},"string-single":{default:`string`,rules:[{include:`string-body`},{match:`'`,scope:`string`,pop:!0},{match:`\\n[ \\t\\r]*\\n`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`[)\\]}]{{remembered}}["']`,pop:!0}]}}}})),XW,ZW,QW,$W,xKt,eG,SKt,CKt=s((()=>{XW=`[A-Za-z_]\\w*`,ZW=`\\[\\]=?|<=>|===?|=~|<<|>>|\\*\\*|[<>]=?|[-+*/%&|^~]`,QW=`(?:${XW}[?!=]?|${ZW}|![=~]?)`,$W=`%[qQwWiIrsx]`,xKt=`(?:=~|!~|=>|&&|\\|\\||==|!=|[=,;|&!?:])`,eG=`/(?![/=])(?:[^/\\\\\\n\\[]|\\\\.|\\[(?:[^\\]\\\\\\n]|\\\\.){0,120}\\]){1,400}/[imxounse]*`,SKt={name:`ruby`,aliases:[`rb`,`gemspec`,`rake`],states:{root:{rules:[{match:`^=begin`,scope:`comment`,push:`block-comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`\\?(?:\\\\\\w|[^\\s\\\\])(?![\\w?!])`,scope:`string`},{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`},{match:"`",scope:`string`,push:`command`},{match:`(${$W})(\\[)`,scope:[`string.special`,`string`],push:`pct-bracket`},{match:`(${$W})(\\{)`,scope:[`string.special`,`string`],push:`pct-brace`},{match:`(${$W})(\\()`,scope:[`string.special`,`string`],push:`pct-paren`},{match:`(<<[-~]?)(['"])(\\w+)(['"])`,scope:[`operator`,`string`,`string.special`,`string`],push:`heredoc-line`},{match:`(<<[-~])(\\w+)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`(<<)([A-Z_]\\w*)`,scope:[`operator`,`string.special`],push:`heredoc-line`},{match:`([(\\[])([ \\t]*)(${eG})`,scope:[`punctuation.bracket`,null,`regexp`]},{match:`(\\{)([ \\t]*)(${eG})`,scope:[`punctuation.bracket`,null,`regexp`],push:`brace`},{match:`(\\b(?:when|if|elsif|unless|while|until|case|return|then)\\b)([ \\t]*)(${eG})`,scope:[`keyword.control`,null,`regexp`]},{match:`(${xKt})([ \\t]*)(${eG})`,scope:[`operator`,null,`regexp`]},{match:`:(?:${XW}[?!=]?|${ZW})`,scope:`constant`},{match:`@@?${XW}`,scope:`variable`},{match:`\\$(?:${XW}|[0-9!@&*$?:~])`,scope:`variable`},{match:`(\\bdo)([ \\t]*)(\\|)`,scope:[`keyword.control`,null,`punctuation.delimiter`],push:`do-params`},{match:`(\\{)([ \\t]*)(\\|)`,scope:[`punctuation.bracket`,null,`punctuation.delimiter`],push:`brace-params`},{match:`\\bdef\\b`,scope:`keyword.declaration`,push:`def`},{match:`(\\bclass)([ \\t]+)([A-Z]\\w*(?:::[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`class`]},{match:`(\\bmodule)([ \\t]+)([A-Z]\\w*(?:::[A-Z]\\w*)*)`,scope:[`keyword.declaration`,null,`namespace`]},{match:`\\b${XW}(?=:(?![:=]))`,scope:`property`},{match:`\\b(?:if|elsif|else|unless|case|when|while|until|for|break|next|redo|retry|return|yield|begin|rescue|ensure|end|do|then)\\b`,scope:`keyword.control`},{match:`\\b(?:def|class|module|alias|undef|private|public|protected|module_function)\\b`,scope:`keyword.declaration`},{match:`\\b(?:require|require_relative|load|autoload|include|extend|prepend|using)\\b`,scope:`keyword.import`},{match:`\\b(?:and|or|not|in|defined\\?)(?![\\w?!])`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b(?:self|super)\\b`,scope:`variable.builtin`},{match:`\\b__(?:FILE|LINE|ENCODING|dir|method)__\\b`,scope:`variable.special`},{match:`\\b(?:puts|pp|print|printf|putc|warn|raise|fail|abort|loop|lambda|proc|format|sprintf|gets|readlines?|sleep|rand|srand|exit|at_exit|freeze|attr_accessor|attr_reader|attr_writer|define_method|block_given\\?)(?![\\w?!])`,scope:`function.builtin`},{match:`\\bp(?=\\(|[ \\t]+[\\w"':\\[@$])`,scope:`function.builtin`},{match:`(&?\\.)([ \\t]*)(${XW}[?!]?)(?=[ \\t]*(?:\\(|\\{|do\\b))`,scope:[`punctuation`,null,`function.method`]},{match:`(&?\\.)([ \\t]*)(${XW}[?!]?)`,scope:[`punctuation`,null,`function.method`]},{match:`\\b[A-Z]\\w*(?=::)`,scope:`namespace`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*`,scope:`type`},{match:`\\b[a-z_]\\w*[?!]?(?=\\()`,scope:`function.call`},{match:`\\b[a-z_]\\w*[?!](?![=~\\w?!])`,scope:`function.call`},{match:`\\b0[xX][0-9a-fA-F_]+\\b`,scope:`number`},{match:`\\b0[bB][01_]+\\b`,scope:`number`},{match:`\\b0[oO]?[0-7_]+\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[ri]?\\b`,scope:`number`},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{match:`<=>|=~|!~|\\.\\.\\.?|::|=>|\\*\\*=?|\\|\\|=?|&&=?|<<=?|>>=?|[-+*/%^&|]=?|[<>!=]=?=?|[?~]`,scope:`operator`},{match:`[()\\[\\]}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`^=end[^\\n]*`,pop:!0}]},"interp-body":{rules:[{match:`\\\\(?:u\\{[0-9a-fA-F ]+\\}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2}|[0-7]{1,3}|.)`,scope:`string.escape`},{match:`#\\{`,scope:`interpolation`,push:`interpolation`}]},"string-double":{default:`string`,rules:[{include:`interp-body`},{match:`"`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`\\\\['\\\\]`,scope:`string.escape`},{match:`'`,pop:!0}]},command:{default:`string`,rules:[{include:`interp-body`},{match:"`",pop:!0}]},"pct-bracket":{default:`string`,rules:[{match:`\\[`,push:`pct-bracket`},{match:`\\][imxounse]*`,pop:!0},{include:`interp-body`}]},"pct-brace":{default:`string`,rules:[{match:`\\{`,push:`pct-brace`},{match:`\\}[imxounse]*`,pop:!0},{include:`interp-body`}]},"pct-paren":{default:`string`,rules:[{match:`\\(`,push:`pct-paren`},{match:`\\)[imxounse]*`,pop:!0},{include:`interp-body`}]},"heredoc-line":{rules:[{match:`\\n`,set:`heredoc`},{include:`root`}]},heredoc:{default:`string`,rules:[{match:`^[ \\t]*${XW}[ \\t]*$`,scope:`string.special`,pop:!0},{include:`interp-body`}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{include:`root`}]},def:{rules:[{match:`(self)(\\.)`,scope:[`variable.builtin`,`punctuation`]},{match:`(${QW})([ \\t]+)(${XW})`,scope:[`function`,null,`variable.parameter`],set:`params`},{match:QW,scope:`function`,set:`params`},{match:`$`,pop:!0}]},params:{rules:[{match:`(\\()(\\s*)([&*]{0,2})(${XW})`,scope:[`punctuation.bracket`,null,`operator`,`variable.parameter`]},{match:`(,)(\\s*)([&*]{0,2})(${XW})`,scope:[`punctuation.delimiter`,null,`operator`,`variable.parameter`]},{match:`\\)`,scope:`punctuation.bracket`,pop:!0},{match:`(?{wKt={name:`rust`,aliases:[`rs`],states:{root:{rules:[{match:`//[/!][^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`(b?r)(#*)(")`,scope:[`string.special`,`string.special`,`string`],push:`raw-string`,remember:2},{match:`(b?)(")`,scope:[`string.special`,`string`],push:`string`},{match:`'(?:[^'\\\\]|\\\\(?:u\\{[0-9a-fA-F]{1,6}\\}|x[0-9a-fA-F]{2}|.))'`,scope:`string`},{match:`'(?:static|_|[a-z][\\w]*)\\b`,scope:`variable.special`},{match:`#!?\\[[^[\\]]*\\]`,scope:`decorator`},{match:`\\b(?:if|else|match|loop|while|for|break|continue|return|await|yield)\\b`,scope:`keyword.control`},{match:`(fn)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`function`]},{match:`\\b(let)(\\s+)(?:(mut)(\\s+))?((?:r#)?[a-z_]\\w*)`,scope:[`keyword.declaration`,null,`keyword.declaration`,null,`variable`]},{match:`\\b(?:fn|let|const|static|struct|enum|trait|impl|type|mod|union|async|move|dyn|pub|crate|unsafe|extern|ref|mut|where)\\b`,scope:`keyword.declaration`},{match:`r#[A-Za-z_]\\w*`},{match:`\\b(?:use|as|super)\\b`,scope:`keyword.import`},{match:`\\bself\\b`,scope:`variable.builtin`},{match:`\\bSelf\\b`,scope:`type`},{match:`\\b(?:in|box)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:None|Some|Ok|Err)\\b`,scope:`constant.builtin`},{match:`\\b(?:i8|i16|i32|i64|i128|isize|u8|u16|u32|u64|u128|usize|f32|f64|bool|char|str|String|Vec|Option|Result|Box|Rc|Arc)\\b`,scope:`type.builtin`},{match:`\\b([A-Za-z_]\\w*)(!)`,scope:[`function.builtin`,`function.builtin`]},{match:`(\\.)(await)\\b`,scope:[`punctuation`,`keyword.control`]},{match:`(\\.)([A-Za-z_]\\w*)(?=\\s*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\.)([A-Za-z_]\\w*)`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\b[a-z_]\\w*(?=::)`,scope:`namespace`},{match:`\\b0[xX][0-9a-fA-F_]+(?:[iu](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`\\b0[bo][0-9_]+(?:[iu](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?(?:[iuf](?:8|16|32|64|128|size))?\\b`,scope:`number`},{match:`->|=>|::|\\.\\.=?|&&|\\|\\||[-+*/%!&|^<>=]=?|[?@]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},string:{default:`string`,rules:[{match:`\\\\(?:u\\{[0-9a-fA-F]{1,6}\\}|x[0-9a-fA-F]{2}|.)`,scope:`string.escape`},{match:`\\{[^{}\\n]*\\}`,scope:`string.special`},{match:`"`,scope:`string`,pop:!0}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`\\*/`,scope:`comment`,pop:!0}]},"raw-string":{default:`string`,rules:[{match:`"{{remembered}}`,scope:`string`,pop:!0}]}}}})),tG,nG,rG,iG,aG,EKt,DKt=s((()=>{tG=`[A-Za-z0-9_\\u0080-\\uFFFF]{0,128}`,nG=`[A-Za-z_\\u0080-\\uFFFF]${tG}`,rG=`(?:\`[^\`\\n]*\`|${nG})`,iG=`(?:[!#%&*+\\-:<=>?@^|~]|/(?![/*]))`,aG=`\\\\(?:u[0-9a-fA-F]{4}|.)`,EKt={name:`scala`,aliases:[`sc`,`sbt`],states:{root:{rules:[{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`doc-comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`\\b(${nG})(""")`,scope:[`string.special`,`string`],push:`interp-triple`},{match:`\\b(raw)(")`,scope:[`string.special`,`string`],push:`interp-raw`},{match:`\\b(${nG})(")`,scope:[`string.special`,`string`],push:`interp-string`},{match:`"""`,scope:`string`,push:`triple-string`},{match:`"`,scope:`string`,push:`string`},{match:`'(?:[^'\\\\\\n]|${aG})'`,scope:`string`},{match:`'[A-Za-z_]\\w{0,128}`,scope:`string.special`},{match:`\\b(import|package|export)([ \\t]+)((?:${nG}\\.)*(?:${nG}|\\*|_))`,scope:[`keyword.import`,null,`namespace`]},{match:`\\b(?:import|package|export)\\b`,scope:`keyword.import`},{match:`(\\b${nG})(@)`,scope:[`variable`,`operator`]},{match:`@${nG}(?:\\.${nG})*`,scope:`decorator`},{match:`(\\bdef)([ \\t]+)(${rG}|${iG}{1,16})`,scope:[`keyword.declaration`,null,`function`]},{match:`(\\b(?:class|trait|object|enum))([ \\t]+)(${rG})`,scope:[`keyword.declaration`,null,`class`]},{match:`(\\btype)([ \\t]+)(${rG})`,scope:[`keyword.declaration`,null,`type`]},{match:`(\\b(?:val|var))([ \\t]+)([A-Z]${tG})(?=[ \\t]*[:=])`,scope:[`keyword.declaration`,null,`constant`]},{match:`(\\b(?:val|var))([ \\t]+)(\`[^\`\\n]*\`|[a-z_\\u0080-\\uFFFF]${tG})`,scope:[`keyword.declaration`,null,`variable`]},{match:`\\bcase(?=[ \\t]+(?:class|object)\\b)`,scope:`keyword.declaration`},{match:`\\b(?:if|else|then|match|case|for|while|do|yield|try|catch|finally|throw|return)\\b`,scope:`keyword.control`},{match:`\\b(?:def|val|var|class|trait|object|enum|type|given|using|extension|implicit|lazy|sealed|abstract|final|override|private|protected|extends|with|derives|opaque|inline|transparent|infix|open)\\b`,scope:`keyword.declaration`},{match:`\\bnew\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:null|None|Nil)\\b`,scope:`constant.builtin`},{match:`\\b(?:this|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:Int|Long|Short|Byte|Char|Float|Double|Boolean|Unit|String|Any(?:Ref|Val)?|Nothing|Null|Option|Some|Either|Left|Right|List|Seq|Vector|Array|Set|Map|Future|Try|Success|Failure)\\b`,scope:`type.builtin`},{match:`\\b(?:print(?:ln|f)?|require|assert|implicitly|summon)\\b`,scope:`function.builtin`},{match:`(\\.)([A-Z][A-Z0-9_]{0,128})\\b`,scope:[`punctuation`,`constant`]},{match:`(\\.)([A-Z][A-Za-z0-9_]{0,128})`,scope:[`punctuation`,`type`]},{match:`(\\.)(${nG})(?=[ \\t]*[({])`,scope:[`punctuation`,`function.method`]},{match:`(\\.)(${nG})`,scope:[`punctuation`,`variable.member`]},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z][A-Za-z0-9_]*\\b`,scope:`type`},{match:`\\b${nG}(?=:(?![:=]))`,scope:`variable.parameter`},{match:`\\b[a-z_]${tG}(?=[ \\t]*[({])`,scope:`function.call`},{match:"`[^`\\n]*`",scope:`variable`},{match:`\\b0[xX][0-9a-fA-F][0-9a-fA-F_]*[lL]?\\b`,scope:`number`},{match:`\\b\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[eE][-+]?\\d+)?[fFdDlL]?\\b`,scope:`number`},{match:`:(?![!#%&*+\\-/:<=>?@^|~])`,scope:`punctuation.delimiter`},{match:`${iG}+`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`/\\*`,push:`block-comment`},{match:`\\*/`,pop:!0}]},"doc-comment":{default:`comment.doc`,rules:[{match:`/\\*`,push:`doc-comment`},{match:`\\*/`,pop:!0}]},"interp-body":{rules:[{match:`\\$\\$`,scope:`string.escape`},{match:`\\$\\{`,scope:`interpolation`,push:`interpolation`},{match:`(\\$)(${nG})`,scope:[`interpolation`,`variable`]},{match:`%[-#+0,(]{0,6}\\d{0,6}(?:\\.\\d{1,6})?[sSdxXeEfgGn%]`,scope:`string.special`}]},string:{default:`string`,rules:[{match:aG,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"interp-string":{default:`string`,rules:[{match:aG,scope:`string.escape`},{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"interp-raw":{default:`string`,rules:[{include:`interp-body`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"triple-string":{default:`string`,rules:[{match:`"""`,scope:`string`,pop:!0}]},"interp-triple":{default:`string`,rules:[{include:`interp-body`},{match:`"""`,scope:`string`,pop:!0}]},interpolation:{rules:[{match:`\\}`,scope:`interpolation`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]},brace:{rules:[{match:`\\}`,scope:`punctuation.bracket`,pop:!0},{match:`\\{`,scope:`punctuation.bracket`,push:`brace`},{include:`root`}]}}}})),OKt,kKt=s((()=>{OKt={name:`sql`,aliases:[`postgres`,`postgresql`,`mysql`,`sqlite`],states:{root:{ignoreCase:!0,rules:[{match:`--[^\\n]*`,scope:`comment`},{match:`#[^\\n]*`,scope:`comment`},{match:`/\\*`,scope:`comment`,push:`block-comment`},{match:`'(?:[^']|'')*'`,scope:`string`},{match:`"(?:[^"]|"")*"`,scope:`variable.member`},{match:"`[^`]*`",scope:`variable.member`},{match:`\\[[^[\\]]*\\]`,scope:`variable.member`},{match:`\\b(?:select|from|where|group|by|order|having|limit|offset|join|inner|left|right|full|outer|cross|lateral|on|using|union|intersect|except|with|recursive|case|when|then|else|end|distinct|returning|fetch|next|rows?|only|declare|print|go|exec|execute|return|returns|while|loop|for|call|connect|prior|merge|matched|raise|exception|elsif|immediate)\\b`,scope:`keyword.control`},{match:`\\b(?:insert|into|values|update|set|delete|create|alter|drop|truncate|table|view|index|sequence|schema|database|function|procedure|trigger|constraint|primary|foreign|key|references|unique|check|default|cascade|column|add|rename|grant|revoke|begin|commit|rollback|transaction|explain|analyze|vacuum|copy|temporary|temp|if|exists|replace|materialized)\\b`,scope:`keyword.declaration`},{match:`\\b(?:and|or|not|in|is|like|ilike|between|exists|any|all|some|as|asc|desc|nulls|first|last)\\b`,scope:`keyword.operator`},{match:`\\b(?:null)\\b`,scope:`constant.builtin`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\b(?:int|integer|bigint|smallint|serial|bigserial|decimal|numeric|real|double|precision|float|money|char|varchar|text|bytea|timestamp|timestamptz|date|time|interval|boolean|bool|uuid|json|jsonb|array|enum|blob|varchar2|nvarchar2?|nchar|number|binary|varbinary|tinyint|datetime2?|bit|clob|nclob|character|dec|xml)\\b`,scope:`type.builtin`},{match:`\\b(?:count|sum|avg|min|max|coalesce|nullif|cast|greatest|least|now|current_date|current_timestamp|extract|date_trunc|concat|substring|trim|upper|lower|length|round|abs|row_number|rank|dense_rank|lag|lead|over|partition|array_agg|string_agg|json_build_object|generate_series)\\b`,scope:`function.builtin`},{match:`\\b[A-Za-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\b\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?\\b`,scope:`number`},{match:`\\$\\d+|[:@][A-Za-z_]\\w*|\\?`,scope:`variable`},{match:`::|<>|!=|>=|<=|\\|\\||[-+*/%<>=]`,scope:`operator`},{match:`[()]`,scope:`punctuation.bracket`},{match:`[,;.]`,scope:`punctuation.delimiter`}]},"block-comment":{default:`comment`,rules:[{match:`\\*/`,scope:`comment`,pop:!0}]}}}})),AKt,jKt=s((()=>{AKt={name:`swift`,states:{root:{rules:[{include:`expression`}]},expression:{rules:[{include:`comments`},{include:`strings`},{include:`regex`},{match:`@[A-Za-z_]\\w*`,scope:`decorator`},{match:`#[A-Za-z_]\\w*`,scope:`keyword`},{include:`labels`},{match:`(\\??\\.)([A-Za-z_]\\w*)(?=\\s*\\()`,scope:[`punctuation`,`function.method`]},{match:`(\\??\\.)([A-Za-z_]\\w*)`,scope:[`punctuation`,`variable.member`]},{match:`(func)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`function`]},{match:`(class|struct|enum|protocol|extension|actor)(\\s+)([A-Za-z_]\\w*)`,scope:[`keyword.declaration`,null,`class`]},{match:`(import)(\\s+)([A-Za-z_][\\w.]*)`,scope:[`keyword.import`,null,`namespace`]},{match:`\\bimport\\b`,scope:`keyword.import`},{match:`\\b(?:if|else|guard|switch|case|default|for|while|repeat|break|continue|return|fallthrough|throw|try|catch|defer|do|where|await)\\b`,scope:`keyword.control`},{match:`\\b(?:func|var|let|class|struct|enum|protocol|extension|actor|init|deinit|subscript|typealias|associatedtype|operator|precedencegroup|static|final|lazy|weak|unowned|mutating|nonmutating|override|open|public|internal|fileprivate|private|package|required|convenience|indirect|inout|dynamic|async|throws|rethrows|some|any|get|set|willSet|didSet|nonisolated|isolated|distributed|borrowing|consuming|sending|macro)\\b`,scope:`keyword.declaration`},{match:`\\b(?:is|as|in)\\b`,scope:`keyword.operator`},{match:`\\b(?:true|false)\\b`,scope:`boolean`},{match:`\\bnil\\b`,scope:`constant.builtin`},{match:`\\b(?:self|Self|super)\\b`,scope:`variable.builtin`},{match:`\\b(?:U?Int(?:8|16|32|64)?|Float|Double|Bool|String|Character|Array|Dictionary|Set|Optional|Result|AnyObject|AnyHashable|Any|Void|Never|Error)\\b`,scope:`type.builtin`},{match:`\\b(?:print|debugPrint|dump|assert|assertionFailure|precondition|preconditionFailure|fatalError|abs|min|max|zip|stride|swap|type)\\b(?=\\s*\\()`,scope:`function.builtin`},{match:`\\b[A-Z][A-Z0-9_]+\\b`,scope:`constant`},{match:`\\b[A-Z]\\w*\\b`,scope:`type`},{match:`\\b[a-z_]\\w*(?=\\s*\\()`,scope:`function.call`},{match:`\\$\\w+`,scope:`variable.special`},{include:`numbers`},{match:`->|\\.\\.[.<]|\\?\\?|&&|\\|\\||[!=]==?|<<=?|>>=?|[-+*/%&|^]=?|[<>]=?|[?!~=]`,scope:`operator`},{match:`[()\\[\\]{}]`,scope:`punctuation.bracket`},{match:`[,;:]`,scope:`punctuation.delimiter`}]},labels:{rules:[{match:`(?<=[(,])\\s*([a-z_]\\w*)(\\s+)([a-z_]\\w*)(?=\\s*:)`,scope:[`variable.parameter`,null,`variable.parameter`]},{match:`(?<=[(,])\\s*([a-z_]\\w*)(?=\\s*:)`,scope:[`variable.parameter`]}]},comments:{rules:[{match:`///[^\\n]*`,scope:`comment.doc`},{match:`//[^\\n]*`,scope:`comment`},{match:`/\\*\\*(?![/*])`,scope:`comment.doc`,push:`comment-doc`},{match:`/\\*`,scope:`comment`,push:`comment-block`}]},"comment-block":{default:`comment`,rules:[{match:`/\\*`,push:`comment-block`},{match:`\\*/`,pop:!0}]},"comment-doc":{default:`comment.doc`,rules:[{match:`/\\*`,push:`comment-doc`},{match:`\\*/`,pop:!0}]},strings:{rules:[{match:`(#)(""")`,scope:[`string.special`,`string`],push:`raw-multiline`},{match:`(#)(")`,scope:[`string.special`,`string`],push:`raw-string`},{match:`"""`,scope:`string`,push:`multiline`},{match:`"`,scope:`string`,push:`string`}]},regex:{rules:[{match:`(?{oG=`(?:"[^"\\n]*"|'[^'\\n]*'|[^\\s#:\\[\\]{},"'][^:\\n]{0,256}?)`,MKt=`(?:"[^"\\n]*"|'[^'\\n]*'|[^\\s#:,\\[\\]{}][^:,\\[\\]{}\\n]{0,256}?)`,sG=`[|>][-+1-9]{0,2}`,cG=`(?:([ \\t]+)(#[^\\n]*))?(?=[ \\t]*$)`,lG={match:`(?%@\`][^\\s]*(?:[ \\t]+[^\\s#][^\\s]*)*)`,scope:[null,`string`]},{match:`(${oG})([ \\t]*)(:)(?=[ \\t]|$)`,scope:[`property`,null,`punctuation.delimiter`],push:`value`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(${sG})([ \\t]*)$`,scope:[`operator`,null],push:`block-scalar-loose`},{include:`strings`},{match:`\\b(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)\\b`,scope:`boolean`},{match:`\\b(?:null|Null|NULL)\\b|~`,scope:`constant.builtin`},{match:`(?:^|[\\s,\\[{])(-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?)\\b`,scope:[`number`]},{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[\\]}]`,scope:`punctuation.bracket`},{match:`,`,scope:`punctuation.delimiter`}]},value:{rules:[lG,{match:`(${sG})([ \\t]*)$`,scope:[`operator`,null],set:`block-scalar-loose`},{match:`(${oG})([ \\t]*)(:)(?=[ \\t]|$)`,scope:[`property`,null,`punctuation.delimiter`]},{include:`strings`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)(?=[ \\t]*(?:#|$))`,scope:`boolean`},{match:`(?:null|Null|NULL|~)(?=[ \\t]*(?:#|$))`,scope:`constant.builtin`},{match:`-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?(?=[ \\t]*(?:#|$))`,scope:`number`},{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[^\\s#\\[\\]{}][^\\s]*(?:[ \\t]+[^\\s#][^\\s]*)*`,scope:`string`},{match:`$`,pop:!0}]},flow:{rules:[lG,{match:`[\\[{]`,scope:`punctuation.bracket`,push:`flow`},{match:`[\\]}]`,scope:`punctuation.bracket`,pop:!0},{match:`,`,scope:`punctuation.delimiter`},{match:`(${MKt})([ \\t]*)(:)(?=[ \\t]|$|[,\\]}])`,scope:[`property`,null,`punctuation.delimiter`]},{include:`strings`},{match:`[&*][\\w-]+`,scope:`variable.special`},{match:`!!?[\\w/-]+`,scope:`type`},{match:`(?:true|false|yes|no|on|off|True|False|Yes|No|On|Off)(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`boolean`},{match:`(?:null|Null|NULL|~)(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`constant.builtin`},{match:`-?\\d+(?:\\.\\d+)?(?:[eE][-+]?\\d+)?(?=[ \\t]*(?:[,\\]}]|#|$))`,scope:`number`},{match:`[^\\s#,\\[\\]{}][^,\\[\\]{}\\n#]*`,scope:`string`}]},strings:{rules:[{match:`"`,scope:`string`,push:`string-double`},{match:`'`,scope:`string`,push:`string-single`}]},"string-double":{default:`string`,rules:[{match:`\\\\.`,scope:`string.escape`},{match:`"`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"string-single":{default:`string`,rules:[{match:`''`,scope:`string.escape`},{match:`'`,scope:`string`,pop:!0},{match:`$`,pop:!0}]},"block-scalar":{default:`string`,rules:[{match:`^(?!{{remembered}}[ \\t])(?=[ \\t]*\\S)`,pop:!0}]},"block-scalar-loose":{default:`string`,rules:[{match:`^(?=[ \\t]*(?:[^\\s#-][^:\\n]*:(?:[ \\t]|$)|-{3}|\\.{3}))`,pop:!0}]}}}})),uG,FKt=s((()=>{XH(),zWt(),UWt(),GWt(),YWt(),ZWt(),$Wt(),tGt(),rGt(),aGt(),cGt(),dGt(),mGt(),gGt(),vGt(),bGt(),SGt(),TGt(),NGt(),FGt(),zGt(),VGt(),UGt(),GGt(),qGt(),YGt(),$Gt(),tKt(),rKt(),aKt(),sKt(),lKt(),fKt(),mKt(),gKt(),vKt(),bKt(),CKt(),TKt(),DKt(),kKt(),jKt(),PKt(),GH(),OWt(),bWt(),$H(),HH(),uG=[RWt,HWt,WWt,JWt,XWt,QWt,eGt,nGt,iGt,sGt,uGt,pGt,hGt,_Gt,yGt,xGt,wGt,MGt,PGt,RGt,BGt,HGt,WGt,KGt,JGt,QGt,eKt,nKt,iKt,oKt,cKt,dKt,pKt,hKt,_Kt,yKt,SKt,wKt,EKt,OKt,AKt,NKt],JH(...uG)})),IKt,LKt,RKt,zKt=s((()=>{MH(),LH(),ru(),B(),BH(),LWt(),FKt(),IKt=[`aria-label`],LKt=[`id`,`innerHTML`],JH(...uG),RKt=k({inheritAttrs:!1,__name:`ScalarCodeBlock`,props:{content:{},prettyPrintedContent:{},lang:{default:`plaintext`},lineNumbers:{type:Boolean,default:!1},hideCredentials:{},copy:{type:[String,Boolean],default:`hover`},label:{default:`Code sample`},copyLabel:{}},setup(e){let t=Tr(),n=z(()=>e.prettyPrintedContent||RH(e.content??``)),r=z(()=>FWt(n.value,{lang:e.lang.trim(),lineNumbers:e.lineNumbers,maskCredentials:e.hideCredentials}).slice(5,-6)),i=z(()=>!n.value.includes(`
`)),a=z(()=>n.value!==null&&n.value!==`null`&&n.value!==`404 Not Found`),o=z(()=>e.copy&&a.value),s=z(()=>i.value&&o.value),{cx:c}=nu();return(a,l)=>(j(),M(`div`,ht(ri(D(c)(`scalar-code-block group/code-block flex flex-col`,`relative bg-b-1 min-h-0 min-w-0 focus-visible:outline`))),[P(`div`,{"aria-label":e.label,class:`custom-scroll min-h-0 min-w-0 flex-1 overflow-x-auto rounded-[inherit] p-2 -outline-offset-2`,role:`group`,tabindex:`0`},[P(`pre`,{id:D(t),class:mt([`m-0 w-fit border-0 bg-transparent p-0 text-nowrap whitespace-pre`,{"pr-6":s.value}]),innerHTML:r.value},null,10,LKt)],8,IKt),o.value?(j(),N(D(IH),{key:0,"aria-controls":D(t),class:mt([`scalar-code-copy absolute`,[i.value?`top-1/2 right-1 m-0 -translate-y-1/2`:`top-2.5 right-2.5`,{"opacity-100":e.copy===`always`}]]),content:n.value,copyLabel:e.copyLabel,lang:e.lang,showLang:!i.value},{backdrop:O(()=>[R(jH,{class:mt([`scalar-code-copy-backdrop`,[i.value?`group-hocus-within/code-block:-left-0.5 -inset-y-0.75 -right-1 left-3`:`-top-1 -right-1.5`]])},null,8,[`class`])]),_:1},8,[`aria-controls`,`class`,`content`,`copyLabel`,`lang`,`showLang`])):I(``,!0)],16))}})})),dG,BKt=s((()=>{zKt(),dG=RKt})),fG=s((()=>{BKt(),LH()})),pG=s((()=>{pB(),wB(),OB(),tzt(),nzt(),MB(),PB(),IB(),mBt(),bH(),WV(),xUt()})),VKt=s((()=>{MH(),QUt()})),mG,HKt=s((()=>{mG={"multipart/form-data":`Multipart Form`,"application/x-www-form-urlencoded":`Form URL Encoded`,"application/octet-stream":`Binary File`,"application/json":`JSON`,"application/xml":`XML`,"application/yaml":`YAML`,"application/edn":`EDN`,other:`Other`,none:`None`}})),UKt,WKt,GKt,KKt,qKt,JKt,YKt,XKt=s((()=>{$s(),f9e(),jvt(),eI(),iI(),oI(),Wvt(),pI(),zLt(),Dw(),qLt(),tRt(),oB(),B(),Nw(),dB(),Pc(),Ib(),Wx(),YF(),Px(),Zc(),Gu(),pG(),fG(),VKt(),HKt(),fu(),Ks(),_u(),cv(),Oy(),UKt={class:`flex items-center gap-1`},WKt={key:0,class:`min-w-0 border-t py-3 ps-10 pe-6`},GKt={key:1,class:`text-c-3 flex min-h-10 w-full items-center justify-center border-t p-2 text-sm`},KKt={key:2,class:`flex items-center justify-center overflow-hidden border-t p-1.5`},qKt={class:`text-c-2 w-full max-w-full overflow-hidden rounded border px-1.5 py-1 text-xs whitespace-nowrap`},JKt={key:1,class:`group/code-block relative min-w-0 border-t`},YKt=k({__name:`RequestBody`,props:{requestBody:{},exampleKey:{},title:{},environment:{},openapiVersion:{},requestBodyCompositionSelection:{},defaultView:{default:`raw`}},emits:[`update:contentType`,`update:value`,`update:formValue`,`generate:example`],setup(e,{emit:t}){let n=t,{translate:r}=Qs(),i={"application/json":`json`,"application/xml":`xml`,"application/yaml":`yaml`},a=z(()=>vy(e.requestBody,e.exampleKey)??`none`),o=z(()=>du(a.value)?`xml`:i[a.value]??`plaintext`),s=e=>Xc(e).essence,c=z(()=>({...mG,"multipart/form-data":r(`apiClient.requestBody.multipartForm`),"application/x-www-form-urlencoded":r(`apiClient.requestBody.formUrlEncoded`),"application/octet-stream":r(`apiClient.requestBody.binaryFile`),other:r(`apiClient.requestBody.other`),none:r(`apiClient.requestBody.none`)})),l=z(()=>{let t=Fb(c.value).map(([e,t])=>({id:e,label:t})),n=Object.keys(e.requestBody?.content??{}).filter(e=>e in mG?!1:!(s(e)in mG)).map(e=>({id:e,label:s(e)}));return[...t,...n]}),u=z({get:()=>{let e=l.value.find(e=>e.id===a.value);if(e)return e;let t=s(a.value),n=c.value[t]??t;return{id:a.value,label:n}},set:e=>{n(`update:contentType`,{value:e.id})}});function d(e){let{open:t}=d9e({onChange:t=>{let n=t?.[0];n&&e(n)},multiple:!1,accept:`*/*`});t()}let f=z(()=>e.requestBody&&_y(e.requestBody,a.value,e.exampleKey,e.requestBodyCompositionSelection,e.openapiVersion)),p=z(()=>{if(!f.value)return``;let e=hu(f.value),t=gu(e,a.value,2);if(t!==void 0)return t;let n=e?.value;return typeof n==`string`?n:JSON.stringify(n,null,2)}),m=z(()=>sv.schema(e.requestBody?.content?.[a.value]?.schema??e.requestBody?.content?.[a.value]?.itemSchema)),h=z(()=>a.value===`none`?void 0:Ew(a.value)),g=z(()=>{let e=h.value;if(!e)return{ok:!1};let t=hu(f.value??void 0);if(f.value?.dataValue!==void 0)return{ok:!0,value:f.value.dataValue};let n=t?.value;if(n==null||n===``)return{ok:!0,value:{}};if(typeof n==`string`)try{return{ok:!0,value:e.parse(n)}}catch{return{ok:!1}}return{ok:!0,value:n}});hr([()=>e.requestBody,()=>e.exampleKey,z(()=>JSON.stringify(e.requestBodyCompositionSelection??{}))],([,,t],[r,i,o])=>{if(e.requestBody!==r||e.exampleKey!==i||t===o||o===`{}`||Object.keys(e.requestBodyCompositionSelection??{}).length===0)return;let s=h.value,c=du(a.value),l=a.value===`multipart/form-data`||a.value===`application/x-www-form-urlencoded`;if(!e.requestBody||!s&&!c&&!l)return;let u=gy(e.requestBody,a.value,e.requestBodyCompositionSelection,e.openapiVersion);if(l){let t=fI({value:u},a.value,m.value,e.requestBodyCompositionSelection);n(`update:formValue`,{contentType:a.value,payload:t.map(e=>({name:e.name,value:a.value===`multipart/form-data`?dI(e):e.value??void 0,isDisabled:e.isDisabled??!1,...e.isDisabledByDefault?{isDisabledByDefault:!0}:{},...e.isArray?{isArray:!0}:{}}))});return}let d=``;u!=null&&(d=c?String(u):s.stringify(u)),n(`update:value`,{payload:d,contentType:a.value})});let _=z(()=>g.value.ok&&V(g.value.value)),v=z(()=>!!h.value&&(_.value||!!(m.value&&Cy(m.value)))),y=E(e.defaultView),b=z(()=>a.value!==`none`&&m.value!==void 0);hr(()=>e.requestBody,()=>{y.value===`schema`&&(y.value=_.value?e.defaultView:`raw`)}),hr(b,e=>{!e&&y.value===`schema`&&(y.value=`raw`)}),hr(_,e=>{!e&&y.value===`form`&&(y.value=`raw`)},{immediate:!0});let x=z(()=>!!(h.value&&m.value));return(t,i)=>(j(),N(D(aB),null,{title:O(()=>[F(T(e.title),1)]),default:O(()=>[R(D($F),{columns:[``],presentational:``},{default:O(()=>[R(D(rI),{class:`relative col-span-full flex h-8 cursor-pointer items-center justify-between border-r-0 !p-0`},{default:O(()=>[R(D(sB),{modelValue:u.value,"onUpdate:modelValue":i[0]||=e=>u.value=e,options:l.value,teleport:``},{default:O(()=>[R(D(Mw),{class:`text-c-2 hover:text-c-1 flex h-full w-fit gap-1.5 px-3 font-normal`,fullWidth:``,variant:`ghost`},{default:O(()=>[P(`span`,null,T(u.value.label),1),R(D(Bx),{icon:`ChevronDown`,size:`md`})]),_:1})]),_:1},8,[`modelValue`,`options`]),P(`div`,UKt,[x.value?(j(),N(D(qF),{key:0,"aria-label":`Generate example from schema`,icon:D(nge),label:`Generate example from schema`,size:`sm`,tooltip:``,onClick:i[1]||=Xa(e=>n(`generate:example`,{contentType:a.value}),[`stop`])},null,8,[`icon`])):I(``,!0),v.value||b.value?(j(),N(eRt,{key:1,disabled:!_.value,modelValue:y.value,rawLabel:h.value?void 0:D(r)(`apiClient.requestBodyStructured.body`),showForm:v.value,showSchema:b.value,"onUpdate:modelValue":i[2]||=e=>y.value=e},null,8,[`disabled`,`modelValue`,`rawLabel`,`showForm`,`showSchema`])):I(``,!0)])]),_:1}),R(D(aI),null,{default:O(()=>[y.value===`schema`&&b.value?(j(),M(`div`,WKt,[(j(),N(D(UV),{key:a.value,eventBus:null,options:{hideReadOnly:!0,hideModels:!0,schemaKeyboardNav:!0},schema:m.value},null,8,[`schema`]))])):a.value===`none`?(j(),M(`div`,GKt,[P(`span`,null,T(D(r)(`apiClient.requestBody.noBody`)),1)])):a.value===`application/octet-stream`?(j(),M(`div`,KKt,[D(sI)(D(Wu)(f.value?.value))===void 0?(j(),N(D(Mw),{key:1,class:`bg-b-2 hover:bg-b-3 text-c-2 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:i[4]||=()=>d(e=>n(`update:value`,{payload:e,contentType:a.value}))},{default:O(()=>[P(`span`,null,T(D(r)(`apiClient.requestBody.selectFile`)),1),R(D(Bx),{class:`ml-1`,icon:`Upload`,size:`xs`,thickness:`2.5`})]),_:1})):(j(),M(L,{key:0},[P(`span`,qKt,T(D(sI)(D(Wu)(f.value?.value))),1),R(D(Mw),{class:`bg-b-2 hover:bg-b-3 text-c-2 ml-1 border-0 shadow-none`,size:`sm`,variant:`outlined`,onClick:i[3]||=e=>n(`update:value`,{payload:void 0,contentType:a.value})},{default:O(()=>[F(T(D(r)(`apiClient.requestBody.delete`)),1)]),_:1})],64))])):a.value===`multipart/form-data`||a.value===`application/x-www-form-urlencoded`?(j(),N(RLt,{key:3,bodySchema:m.value,compositionSelection:e.requestBodyCompositionSelection,environment:e.environment,example:f.value,selectedContentType:a.value,"onUpdate:formValue":i[5]||=e=>n(`update:formValue`,{payload:e,contentType:a.value})},null,8,[`bodySchema`,`compositionSelection`,`environment`,`example`,`selectedContentType`])):(j(),M(L,{key:4},[y.value===`form`&&_.value?(j(),N(KLt,{key:0,bodySchema:m.value,contentType:a.value,environment:e.environment,parsedValue:g.value.value,"onUpdate:value":i[6]||=e=>n(`update:value`,{payload:e,contentType:a.value})},null,8,[`bodySchema`,`contentType`,`environment`,`parsedValue`])):(j(),M(`div`,JKt,[R(D(QF),{class:`px-3`,content:``,environment:e.environment,language:o.value,lineNumbers:``,lint:``,modelValue:p.value,withFakeData:``,"onUpdate:modelValue":i[7]||=e=>n(`update:value`,{payload:e,contentType:a.value})},null,8,[`environment`,`language`,`modelValue`]),p.value?(j(),N(D(IH),{key:0,class:`absolute top-1.5 right-1.5`,content:p.value,lang:o.value,showLang:``},{backdrop:O(()=>[R(D(jH),{class:`-top-1 -right-1.5`})]),_:1},8,[`content`,`lang`])):I(``,!0)]))],64))]),_:1})]),_:1})]),_:1}))}})})),ZKt,QKt=s((()=>{Vs(),XKt(),ZKt=Bs(YKt,[[`__scopeId`,`data-v-ec7e5b86`]])})),hG,gG=s((()=>{Ks(),hG=e=>{let t=new Set,n=e;for(;V(n)&&typeof n.$ref==`string`;){if(t.has(n))return;t.add(n),n=n[`$ref-value`]}return n}})),$Kt,eqt,tqt,nqt,rqt=s((()=>{Ks(),gG(),$Kt=new Set([`properties`,`patternProperties`,`definitions`,`$defs`,`dependentSchemas`]),eqt=new Set([`allOf`,`anyOf`,`oneOf`,`prefixItems`]),tqt=new Set([`items`,`additionalItems`,`additionalProperties`,`contains`,`propertyNames`,`not`,`if`,`then`,`else`,`unevaluatedItems`,`unevaluatedProperties`]),nqt=(e,t)=>{if(t&&!/^application\/(?:vnd\.aai\.asyncapi(?:\+json|\+yaml)?(?:;|$)|schema\+(?:json|yaml)(?:;version=draft-07)?$)/i.test(t))return e;let n=new WeakMap,r=e=>{if(!V(e))return e;let t=n.get(e);if(t)return t;let a={};if(n.set(e,a),typeof e.$ref==`string`){a.$ref=e.$ref;for(let t of[`$global`,`$status`])Object.hasOwn(e,t)&&(a[t]=e[t]);return Object.defineProperty(a,"$ref-value",{value:r(hG(e)),enumerable:!0}),a}for(let[t,n]of Object.entries(e))Object.defineProperty(a,t,{value:i(t,n),enumerable:!0,configurable:!0,writable:!0});return a},i=(e,t)=>$Kt.has(e)&&V(t)?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,r(t)])):e===`dependencies`&&V(t)?Object.fromEntries(Object.entries(t).map(([e,t])=>[e,Array.isArray(t)?t:r(t)])):(eqt.has(e)||e===`items`)&&Array.isArray(t)?t.map(r):tqt.has(e)?r(t):t;return r(e)}})),_G,vG,yG=s((()=>{Ks(),rqt(),Oh(),gG(),_G=e=>{if(e===void 0)return!0;if(typeof e!=`string`)return!1;let t=e.split(`;`)[0]?.trim().toLowerCase();return[`application/schema+json`,`application/schema+yaml`,`application/vnd.aai.asyncapi`,`application/vnd.aai.asyncapi+json`,`application/vnd.aai.asyncapi+yaml`,`application/vnd.oai.openapi`,`application/vnd.oai.openapi+json`,`application/vnd.oai.openapi+yaml`].includes(t??``)},vG=e=>{let t=hG(e),n=V(t)&&`schemaFormat`in t,r=n?hG(t.schema):t;if(r===void 0)return;if(n&&!_G(t.schemaFormat))return{kind:`source`,format:String(t.schemaFormat),value:r};if(typeof r==`boolean`)return{kind:`schema`,schema:Dh(r)};let i=nqt(r,n?String(t.schemaFormat):void 0);return V(i)?{kind:`schema`,schema:i}:void 0}})),bG,xG,iqt=s((()=>{gG(),Ks(),yG(),qu(),Px(),bG=(e,t=new Set)=>{let n=hG(e);return n===!1?!0:!V(n)||t.has(n)?!1:(t.add(n),Array.isArray(n.allOf)&&n.allOf.some(e=>bG(e,t)))},xG=e=>{if(e.examples?.some(e=>hG(e)?.payload!==void 0))return;let t=hG(e.payload);if(typeof t==`boolean`||V(t)&&`schemaFormat`in t&&typeof hG(t.schema)==`boolean`)return;let n=vG(e.payload),r=n?.kind===`schema`?n.schema:void 0;if(!r||bG(r))return;let i=Ku(r);return ay(i,{emptyString:`string`,includeDeprecated:!0})}})),SG,aqt=s((()=>{Ks(),gv(),fu(),Zc(),BH(),SG=(e,t)=>{if(e===void 0)return;let n=t===void 0||hv(t),r=Array.isArray(e)||V(e),i=!n&&r,{subtype:a}=Xc(t),o=n||i?`json`:du(t)?`xml`:a===`yaml`||a===`x-yaml`||a.endsWith(`+yaml`)?`yaml`:`plaintext`;if(e===null||typeof e==`boolean`)return{content:String(e),lang:o,structural:i};if(typeof e==`string`)return{content:n?RH(e):e,lang:o,structural:i};if(typeof e==`number`||Array.isArray(e)||V(e))return{content:RH(e),lang:o,structural:i}}})),oqt,CG,wG,TG,sqt,cqt,EG,DG,OG,kG,lqt,uqt,AG,jG,dqt,MG=s((()=>{Ks(),Ib(),Xy(),Gc(),gG(),oqt=[`ws`,`wss`],CG=e=>e?.variables?Fb(e.variables).reduce((e,[t,n])=>{let r=hG(n);return r?.default!=null&&(e[String(t)]=String(r.default)),e},{}):{},wG=(e,t)=>{let n=e;return t.serverVariables&&(n=Jy(n,t.serverVariables)),t.environmentVariables&&(n=Yy(n,t.environmentVariables)),t.pathParameters&&(n=Jy(n,t.pathParameters)),n},TG=e=>e?.trim().toLowerCase()||void 0,sqt=e=>e.trim().toLowerCase(),cqt=e=>oqt.some(t=>t===e.trim().toLowerCase()),EG=(e,t)=>{let n=CG(e),r=`${sqt(e.protocol)}://${wG(e.host,{serverVariables:n,environmentVariables:t})}`;if(!e.pathname)return r;let i=wG(e.pathname,{serverVariables:n,environmentVariables:t});return Uc(r,i)},DG=e=>{if(e)return hG(e)?.ws},OG=(e,t)=>{let n=DG(e.bindings),r=t?DG(t.bindings):void 0;if(n||r)return{...n,...r,query:lqt(n?.query,r?.query)}},kG=e=>{if(!e)return;let t=hG(e);if(t!==!0&&t!==!1&&V(t))return t},lqt=(e,t)=>{let n=kG(e),r=kG(t);if(!n&&!r)return;if(!n)return t;if(!r)return e;let i=`properties`in n?n.properties:void 0,a=`properties`in r?r.properties:void 0;return Object.assign({},n,r,{properties:{...i,...a}})},uqt=e=>{let t=hG(e);if(t!==!0&&t!==!1&&V(t)){if(`default`in t&&t.default!==void 0)return t.default;if(`example`in t&&t.example!==void 0)return t.example;if(`enum`in t&&Array.isArray(t.enum)&&t.enum[0]!==void 0)return t.enum[0]}},AG=(e,t,n)=>{n!=null&&(Array.isArray(n)?n.forEach(n=>AG(e,t,n)):typeof n==`object`?e.append(t,JSON.stringify(n)):e.append(t,String(n)))},jG=(e,t)=>{let n=new URLSearchParams,r=kG(e?.query),i=r&&`properties`in r?r.properties:void 0;if(V(i))for(let[e,t]of Object.entries(i)){let r=uqt(t);AG(n,e,r)}if(t)for(let[e,r]of Fb(t))n.delete(e),AG(n,e,r);return n},dqt=({server:e,channel:t,operation:n=null,pathParameters:r={},queryParameters:i={},environmentVariables:a})=>{let o=CG(e),s=EG(e,a),c=t.address;if(c==null||c===``){let e=jG(OG(t,n),i);return Wc(s,``,e,!0)}let l=wG(c,{serverVariables:o,environmentVariables:a,pathParameters:r}),u=jG(OG(t,n),i);return Wc(s,l,u,!0)}})),fqt,pqt=s((()=>{Ib(),gG(),fqt=(e,t)=>t.messages?Fb(t.messages).map(([e,t])=>({name:e,message:hG(t)})).filter(e=>e.message!=null):[]})),NG,PG=s((()=>{vv(),Su(),XVe(),NG=(e,t)=>{let n=`#/${t.map(_v).join(`/`)}/`;if(!e.startsWith(n))return;let r=$y(()=>xu(e.slice(1)));if(!r.ok)return;let i=r.data;if(i.length!==t.length+1)return;for(let e=0;eo)&&e.substring(r,i)!==n&&v.push({offset:r,length:i-r,content:n})}let b=_();if(n.keepLines&&u>0&&y(e0(c,u),0,0),b!==17){let e=m.getTokenOffset()+a;y(f.length*r<20&&n.insertSpaces?Z1[f.length*r]:e0(f,r),a,e)}for(;b!==17;){let e=m.getTokenOffset()+m.getTokenLength()+a,t=_(),r=``,i=!1;for(;u===0&&(t===12||t===13);){let n=m.getTokenOffset()+a;y(Z1[1],e,n),e=m.getTokenOffset()+m.getTokenLength()+a,i=t===12,r=i?g():``,t=_()}if(t===2)b!==1&&d--,n.keepLines&&u>0||!n.keepLines&&b!==1?r=g():n.keepLines&&(r=Z1[1]);else if(t===4)b!==3&&d--,n.keepLines&&u>0||!n.keepLines&&b!==3?r=g():n.keepLines&&(r=Z1[1]);else{switch(b){case 3:case 1:d++,r=n.keepLines&&u>0||!n.keepLines?g():Z1[1];break;case 5:r=n.keepLines&&u>0||!n.keepLines?g():Z1[1];break;case 12:r=g();break;case 13:u>0?r=g():i||(r=Z1[1]);break;case 6:n.keepLines&&u>0?r=g():i||(r=Z1[1]);break;case 10:n.keepLines&&u>0?r=g():t===6&&!i&&(r=``);break;case 7:case 8:case 9:case 11:case 2:case 4:n.keepLines&&u>0?r=g():(t===12||t===13)&&!i?r=Z1[1]:t!==5&&t!==17&&(h=!0);break;case 16:h=!0}u>0&&(t===12||t===13)&&(r=g())}t===17&&(r=n.keepLines&&u>0?g():n.insertFinalNewline?c:``);let o=m.getTokenOffset()+a;y(r,e,o),b=t}return v}function e0(e,t){let n=``;for(let r=0;r0n&&ac&&(r=c);let l=h0(r,e);i(Number(l),`millisecond`,`ms`,l)}}else{let n=h0(e*h/s,m),r=t.keepDecimalsOnWholeSeconds?n:n.replace(RegExp(`\\.0+$`,`v`),``);i(Number(r),`second`,`s`,r)}}let v=t.colonNotation?`:`:` `;typeof t.unitCount==`number`&&(r=r.slice(0,Math.max(t.unitCount,1)||1/0));let y=r.length===0?`0`+(t.verbose?` milliseconds`:`ms`):r.join(v);return RegExp(`[1-9]`,`v`).test(y)?n+y:y}var Ban,Van,d0,f0,p0,Han,Uan,m0,Wan,h0,Gan=s((()=>{Ban=e=>e===0||e===0n,Van=(e,t)=>t===1||t===1n?e:`${e}s`,d0=1000n,f0=60n*d0,p0=60n*f0,Han=24n*p0,Uan=100,m0=(e,t)=>typeof e==`number`&&!Number.isNaN(e)?Math.min(Math.max(Math.trunc(e),0),Uan):t,Wan=e=>{if(typeof e==`bigint`||Number.isInteger(e))return{value:BigInt(e),scale:1n};let[t,n=`0`]=e.toPrecision(15).split(`e`,2),[r,i=``]=t.split(`.`,2),a=BigInt(r+i),o=i.length-Number(n);return o<0?{value:a*10n**BigInt(-o),scale:1n}:{value:a,scale:10n**BigInt(o)}},h0=(e,t)=>{if(t===0)return String(e);let n=String(e).padStart(t+1,`0`);return`${n.slice(0,-t)}.${n.slice(-t)}`}})),Kan,qan,Jan,Yan,Xan,Zan,Qan,$an,eon=s((()=>{$s(),xrn(),Ran(),B(),vxe(),Gan(),Kan={class:`text-c-1 flex gap-1.5`},qan={key:0},Jan={class:`sr-only`},Yan={key:0},Xan={class:`sr-only`},Zan={class:`sr-only`},Qan={key:1},$an=k({__name:`ResponseMetaInformation`,props:{response:{},eventBus:{}},setup(e){let{translate:t}=Qs(),n=E(),r=E(0),i=()=>{clearInterval(n.value),n.value=void 0,r.value=0},a=()=>{n.value=setInterval(()=>r.value+=1e3,1e3)};zi(()=>{e.eventBus.on(`hooks:on:request:sent`,a),e.eventBus.on(`hooks:on:request:complete`,i)}),Vi(()=>{e.eventBus.off(`hooks:on:request:sent`,a),e.eventBus.off(`hooks:on:request:complete`,i),i()});let o=z(()=>{let t=e.response?.status;if(t)return sl[t]??void 0});return(i,a)=>(j(),M(`div`,Kan,[n.value&&r.value?(j(),M(`span`,qan,T(D(zan)(r.value)),1)):(j(),M(L,{key:1},[P(`span`,null,[P(`span`,Jan,T(D(t)(`apiClient.responseMetaInformation.duration`)),1),F(` `+T(D(zan)(e.response.duration)),1)]),D(u0)(e.response)?(j(),M(`span`,Yan,[P(`span`,Xan,T(D(t)(`apiClient.responseMetaInformation.size`)),1),F(` `+T(D(u0)(e.response)),1)])):I(``,!0),o.value?(j(),M(L,{key:1},[P(`span`,Zan,T(D(t)(`apiClient.responseMetaInformation.status`)),1),o.value.url?(j(),N(W1,{key:0,class:`flex items-center gap-1.5`,href:o.value.url},{default:O(()=>[F(T(e.response.status)+` `+T(o.value.name)+` `,1),P(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:pt({backgroundColor:o.value.color})},null,4)]),_:1},8,[`href`])):(j(),M(`span`,Qan,[F(T(e.response.status)+` `+T(o.value.name)+` `,1),P(`span`,{class:`block h-1.5 w-1.5 rounded-full`,style:pt({backgroundColor:o.value.color})},null,4)]))],64)):I(``,!0)],64))]))}})})),ton,non=s((()=>{eon(),ton=$an})),ron,ion=s((()=>{ron=e=>{if(!e||typeof e!=`string`)return null;let t=e.indexOf(`=`);if(t===-1)return null;let n=e.substring(0,t).trim(),r=e.substring(t+1).trim();return n?{name:n,value:r}:null}})),aon,oon,son,con,lon,uon,don,g0,fon,pon=s((()=>{$s(),au(),el(),u8e(),Orn(),zin(),Zin(),can(),man(),Man(),Lan(),non(),ion(),B(),cu(),rl(),vX(),aon={class:`flex h-8 flex-1 items-center`},oon={class:`response-heading pointer-events-none absolute`},son=[`id`,`role`],con={key:0,class:`flex flex-col gap-3 p-4 text-sm`,role:`alert`},lon={class:`text-c-1 font-medium`},uon={class:`text-c-2 break-words`},don={key:0,class:`text-c-2 leading-relaxed`},g0=2e5,fon=k({__name:`ResponseBlock`,props:{executionDisabled:{type:Boolean},requestError:{},response:{},requestPayload:{},layout:{},totalPerformedRequests:{},appVersion:{},plugins:{},eventBus:{}},setup(e,{expose:t}){let{translate:n}=Qs(),r=z(()=>!nl()&&e.requestError?.name===`TypeError`&&[`Failed to fetch`,`Load failed`,`NetworkError when attempting to fetch resource.`].includes(e.requestError.message)),i=z(()=>{let t=e.response?.headers;return t?Object.keys(t).map(e=>({name:e,value:t[e]??``})):[]}),a=z(()=>e.response?.headers[`content-type`]??e.response?.headers[`Content-Type`]),o=z(()=>e.response?.cookieHeaderKeys.map(e=>ron(e)).filter(su)??[]),s=[`Cookies`,`Headers`,`Body`],c=E(`All`),l=z(()=>[`All`,...s]),u=z(()=>({All:Tr(),Cookies:Tr(),Headers:Tr(),Body:Tr()})),d=z(()=>{if(!e.response||!(`size`in e.response))return!1;let t=e.response.headers?.[`content-type`]||e.response.headers?.[`Content-Type`];return!t||(e.response.size??0)<=g0||t.includes(`text/html`)?!1:sxe.some(e=>t.includes(e))&&(e.response.size??0)>g0}),f=z(()=>{let t=e.requestPayload?.[1]?.headers;return t?[...new Headers(t)].map(([e,t])=>({name:e,value:t,required:!1})):[]}),p=e=>c.value===`All`||c.value===e;t({responseHeaders:i,responseCookies:o,requestHeaders:f,shouldVirtualize:d,activeFilter:c,filters:l});let m=z(()=>({All:n(`apiClient.sectionFilter.all`),Auth:n(`apiClient.sectionFilter.auth`),Variables:n(`apiClient.sectionFilter.variables`),Cookies:n(`apiClient.sectionFilter.cookies`),Headers:n(`apiClient.sectionFilter.headers`),Query:n(`apiClient.sectionFilter.query`),Body:n(`apiClient.sectionFilter.body`)}));return(t,s)=>(j(),N(iu,{"aria-label":D(n)(`apiClient.responseBlock.response`),class:`max-xl:max-h-full`},{title:O(()=>[P(`div`,aon,[P(`div`,{"aria-live":`polite`,class:mt([`flex items-center`,{"animate-response-heading":e.response}])},[P(`span`,oon,T(D(n)(`apiClient.responseBlock.response`)),1),e.response?(j(),N(ton,{key:0,class:`animate-response-children`,eventBus:e.eventBus,response:e.response},null,8,[`eventBus`,`response`])):I(``,!0)],2),R(Gx,{modelValue:c.value,"onUpdate:modelValue":s[0]||=e=>c.value=e,filters:l.value,labels:m.value},null,8,[`modelValue`,`filters`,`labels`])])]),default:O(()=>[P(`div`,{id:u.value.All,class:mt([`custom-scroll response-section-content relative grid h-full justify-stretch`,{"content-start":e.response}]),role:c.value===`All`&&e.response?`tabpanel`:`none`},[e.requestError?(j(),M(`div`,con,[P(`h3`,lon,T(D(n)(`apiClient.responseBlock.requestFailed`)),1),P(`p`,uon,T(e.requestError.message),1),r.value?(j(),M(`p`,don,T(D(n)(`apiClient.responseBlock.networkErrorHelp`)),1)):I(``,!0)])):e.response?(j(),M(L,{key:2},[p(`Cookies`)?(j(),N(pan,{key:0,id:u.value.Cookies,class:`response-section-content-cookies`,cookies:o.value,role:c.value===`All`?`none`:`tabpanel`},null,8,[`id`,`cookies`,`role`])):I(``,!0),p(`Headers`)?(j(),N(G1,{key:1,id:u.value.Headers,class:`response-section-content-headers`,headers:f.value,role:c.value===`All`?`none`:`tabpanel`},{title:O(()=>[F(T(D(n)(`apiClient.responseBlock.requestHeaders`)),1)]),_:1},8,[`id`,`headers`,`role`])):I(``,!0),p(`Headers`)?(j(),N(G1,{key:2,id:u.value.Headers,class:`response-section-content-headers`,headers:i.value,role:c.value===`All`?`none`:`tabpanel`},{title:O(()=>[F(T(D(n)(`apiClient.responseBlock.responseHeaders`)),1)]),_:1},8,[`id`,`headers`,`role`])):I(``,!0),(j(!0),M(L,null,Fr(e.plugins,(e,t)=>(j(),N(D(_X),{key:t},{default:O(()=>[e?.components?.response?lr((j(),N(Pr(e.components.response.component),li({key:0,ref_for:!0},e.components.response.additionalProps),null,16)),[[Pa,c.value===`All`]]):I(``,!0)]),_:2},1024))),128)),c.value===`All`||c.value===`Body`?(j(),M(L,{key:3},[`reader`in e.response?(j(),N(Xin,{key:0,id:u.value.Body,class:`response-section-content-body`,contentType:a.value,reader:e.response.reader},null,8,[`id`,`contentType`,`reader`])):d.value&&typeof e.response?.data==`string`?(j(),N(san,{key:1,id:u.value.Body,content:e.response.data,data:e.response?.data,headers:i.value,role:c.value===`All`?`none`:`tabpanel`},null,8,[`id`,`content`,`data`,`headers`,`role`])):(j(),N(Rin,{key:2,id:u.value.Body,active:!0,class:`response-section-content-body`,data:e.response?.data,headers:i.value,layout:`client`,plugins:e.plugins,role:c.value===`All`?`none`:`tabpanel`,title:D(n)(`apiClient.responseBlock.body`)},null,8,[`id`,`data`,`headers`,`plugins`,`role`,`title`]))],64)):I(``,!0)],64)):(j(),N(jan,{key:1,appVersion:e.appVersion,executionDisabled:e.executionDisabled,layout:e.layout,totalPerformedRequests:e.totalPerformedRequests,onAddRequest:s[1]||=t=>e.eventBus.emit(`ui:open:command-palette`,{action:`create-request`,payload:void 0}),onOpenCommandPalette:s[2]||=t=>e.eventBus.emit(`ui:open:command-palette`),onSendRequest:s[3]||=t=>e.eventBus.emit(`operation:send:request:hotkey`)},null,8,[`appVersion`,`executionDisabled`,`layout`,`totalPerformedRequests`])),R(Ian,{eventBus:e.eventBus},null,8,[`eventBus`])],10,son)]),_:1},8,[`aria-label`]))}})})),mon,hon=s((()=>{Vs(),pon(),mon=Bs(fon,[[`__scopeId`,`data-v-7f122fc4`]])})),gon,_on=s((()=>{B(),dB(),dJ(),Ib(),ru(),gon=k({__name:`HttpMethod`,props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,i=z(()=>uJ(n.method)),a=z(()=>{let e=Fb(lJ).map(([e])=>({id:String(e),label:e.toUpperCase(),color:uJ(e).colorClass}));return e.some(({id:e})=>e===n.method)||e.push({id:n.method,label:n.method,color:i.value.colorClass}),e}),o=z({get:()=>a.value.find(({id:e})=>e===n.method),set:e=>e?.id&&r(`change`,e.id)}),s=eu({base:`text-center font-code text-3xs justify-center items-center flex`,variants:{isSquare:{true:`px-2.5 whitespace-nowrap font-bold border-r h-fit m-auto`,false:`rounded-full`},isEditable:{true:`http-bg-gradient rounded-md border`,false:`cursor-auto`}}}),c=z(()=>i.value.short);return(t,n)=>e.isEditable?(j(),N(D(sB),{key:0,modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,class:`font-code scalar-client mt-1 text-sm`,options:a.value},{default:O(()=>[P(`div`,{class:mt([`h-full`,{"pointer-events-none":!e.isEditable}])},[P(`button`,{class:mt([`relative h-full`,D(tu)(D(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},[P(`span`,null,T(c.value),1)],2)],2)]),_:1},8,[`modelValue`,`options`])):(j(),M(`div`,{key:1,class:mt([`relative gap-1 whitespace-nowrap`,D(tu)(D(s)({isSquare:e.isSquare,isEditable:e.isEditable}),i.value.colorClass)]),type:`button`},T(i.value.short),3))}})})),_0,von=s((()=>{_on(),Vs(),_0=Bs(gon,[[`__scopeId`,`data-v-e7883636`]])})),yon,bon,xon=s((()=>{yon=/^\/_scalar_temp[a-f0-9]*$/i,bon=(e,t)=>t.toLowerCase()===`drafts`&&e===`/`||yon.test(e)})),v0,Son=s((()=>{v0=e=>{if(!e)return;let t=document.querySelector(e);t instanceof HTMLButtonElement?t.click():(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.getAttribute(`contenteditable`)===`true`)&&t.focus()}})),y0,b0,Con,won,Ton,Eon,Don,Oon=s((()=>{B(),y0=20,b0=100,Con=0,won=15,Ton=60,Eon=400/y0,Don=()=>{let e=E(b0),t=E(0),n=E(!1),r=E(),i=()=>{clearInterval(r.value),r.value=void 0,e.value=b0,n.value=!1},a=()=>{n.value?e.value-=(e.value-won)/Ton:e.value-=t.value/Eon,e.value<=Con&&i()};return{startLoading:()=>{r.value?n.value=!0:(n.value=!0,r.value=setInterval(a,y0))},stopLoading:()=>{t.value=e.value,n.value=!1},percentage:e,isLoading:n}}})),kon,Aon=s((()=>{B(),kon=({isReady:e,operationKey:t,shouldMask:n,onMask:r})=>{hr([e,t],([e])=>{e&&n()&&r()},{flush:`post`})}})),jon,Mon,Non=s((()=>{$s(),B(),Nw(),dB(),Pc(),jon={key:0,class:`sr-only`},Mon=k({__name:`ServerVariablesSelect`,props:{enum:{},value:{},controls:{},describedBy:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Qs(),a=z(()=>n.enum.map(e=>({id:e,label:e}))),o=z({get:()=>a.value.find(e=>e.id===n.value),set:e=>r(`change`,e?.id??``)});return(t,n)=>(j(),N(D(sB),{modelValue:o.value,"onUpdate:modelValue":n[0]||=e=>o.value=e,options:a.value},{default:O(()=>[R(D(Mw),{"aria-controls":e.controls,"aria-describedby":e.describedBy,class:`group/button h-8 gap-1.5 p-1.5 text-base font-normal`,variant:`ghost`},{default:O(()=>[P(`span`,{class:mt({"text-c-1":e.value})},[e.value?(j(),M(`span`,jon,T(D(i)(`apiClient.serverVariablesSelect.selected`)),1)):I(``,!0),F(` `+T(e.value||`Select value`),1)],2),R(D(cc),{class:`mt-0.25 size-3 transition-transform duration-100 group-aria-expanded/button:rotate-180`,weight:`bold`})]),_:1},8,[`aria-controls`,`aria-describedby`])]),_:1},8,[`modelValue`,`options`]))}})})),Pon,Fon=s((()=>{Non(),Pon=Mon})),Ion,Lon,Ron=s((()=>{$s(),B(),Ion=[`placeholder`],Lon=k({__name:`ServerVariablesTextbox`,props:{value:{},controls:{}},emits:[`change`],setup(e,{emit:t}){let n=e,r=t,{translate:i}=Qs(),a=z({get:()=>n.value,set:e=>r(`change`,e)});return(t,n)=>lr((j(),M(`input`,li({"onUpdate:modelValue":n[0]||=e=>a.value=e},e.controls?{...t.$attrs,"aria-controls":e.controls}:{},{autocomplete:`off`,class:`text-c-1 w-full border-transparent px-1.5 py-1.25 -outline-offset-1 group-last/label:rounded-br-lg`,placeholder:D(i)(`apiClient.serverVariablesTextbox.value`),spellcheck:`false`,type:`text`}),null,16,Ion)),[[Ka,a.value]])}})})),zon,Bon=s((()=>{Ron(),zon=Lon})),Von,Hon,Uon,Won,Gon=s((()=>{Fon(),Bon(),B(),Von={class:`flex h-8 w-full items-center`},Hon=[`for`],Uon=[`id`],Won=k({__name:`ServerVariablesForm`,props:{variables:{},values:{},controls:{},layout:{default:`client`}},emits:[`update:variable`],setup(e,{emit:t}){let n=t,r=Rr(),i=Tr();function a(e,t){n(`update:variable`,e,t)}let o=t=>(e.values?.[t]??e.variables?.[t]?.default??``).toString();return(t,n)=>e.variables&&Object.keys(e.variables??{}).length?(j(!0),M(L,{key:0},Fr(Object.keys(e.variables),n=>(j(),M(`div`,{key:n,class:mt([`group/label w-full`,e.layout===`reference`&&`border-x border-b last:rounded-b-lg`])},[P(`div`,Von,[P(`label`,{class:`flex items-center py-2 pl-3 group-has-[input]/label:mr-0 after:content-[':']`,for:`${D(i)}-${n}`},T(n),9,Hon),e.variables?.[n]?.enum?.length?(j(),N(Pon,{key:0,id:`${D(i)}-${n}`,controls:e.controls,describedBy:r[`hint-${n}`]?`${D(i)}-${n}-hint`:void 0,enum:e.variables[n]?.enum?.map(e=>`${e}`)??[],value:o(n),onChange:e=>a(n,e)},null,8,[`id`,`controls`,`describedBy`,`enum`,`value`,`onChange`])):(j(),N(zon,{key:1,id:`${D(i)}-${n}`,"aria-describedby":r[`hint-${n}`]?`${D(i)}-${n}-hint`:void 0,controls:e.controls,value:o(n),onChange:e=>a(n,e)},null,8,[`id`,`aria-describedby`,`controls`,`value`,`onChange`]))]),r[`hint-${n}`]?(j(),M(`div`,{key:0,id:`${D(i)}-${n}-hint`,class:`text-c-2 px-3 pb-2 text-sm`},[A(t.$slots,`hint-${n}`)],8,Uon)):I(``,!0)],2))),128)):I(``,!0)}})})),x0,Kon=s((()=>{Gon(),x0=Won})),qon,Jon,Yon,Xon,Zon,Qon,$on=s((()=>{Kon(),B(),dB(),Zz(),qon=[`aria-expanded`],Jon={class:`overflow-hidden text-ellipsis whitespace-nowrap`},Yon=[`id`],Xon={key:0},Zon={class:`description text-c-3 px-3 py-1.5`},Qon=k({__name:`ServerDropdownItem`,props:{server:{},serverOption:{}},emits:[`update:variable`,`update:selectedServer`],setup(e,{emit:t}){let n=t,r=Tr(),i=()=>Object.keys(e.server?.variables??{}).length>0,a=z(()=>e.serverOption.id===e.server?.url),o=z(()=>a.value&&i());return(t,i)=>(j(),M(`div`,{class:mt([`group/item flex min-h-fit flex-col rounded border`,{"border-transparent":!a.value}])},[P(`button`,li(o.value?{"aria-controls":D(r)}:{},{"aria-expanded":o.value,class:[`flex min-h-8 cursor-pointer items-center gap-1.5 rounded px-1.5`,a.value?`text-c-1 bg-b-2`:`hover:bg-b-2`],type:`button`,onClick:i[0]||=e=>n(`update:selectedServer`)}),[R(D(Pw),{selected:a.value},null,8,[`selected`]),P(`span`,Jon,T(e.serverOption.label),1)],16,qon),o.value?(j(),M(`div`,{key:0,id:D(r),class:`bg-b-2 divide divide-y rounded-b border-t *:pl-4`,onClick:i[2]||=Xa(()=>{},[`stop`])},[R(x0,{variables:e.server?.variables,"onUpdate:variable":i[1]||=(e,t)=>n(`update:variable`,e,t)},null,8,[`variables`]),e.server?.description?(j(),M(`div`,Xon,[P(`div`,Zon,[R(D(Yz),{value:e.server.description},null,8,[`value`])])])):I(``,!0)],8,Yon)):I(``,!0)],2))}})})),esn,tsn=s((()=>{Vs(),$on(),esn=Bs(Qon,[[`__scopeId`,`data-v-9775eaaf`]])})),nsn,rsn,isn,asn,osn,ssn=s((()=>{$s(),iB(),tsn(),B(),Nw(),Pc(),$z(),nsn={class:`sr-only`},rsn={class:`sr-only`},isn=[`onClick`],asn={class:`flex items-center justify-center`},osn=k({name:`ServerDropdown`,props:{meta:{},servers:{},server:{},target:{},layout:{}},emits:[`update:selectedServer`,`update:variable`,`update:servers`,`update:open`],setup(e,{emit:t}){let n=t,{translate:r}=Qs(),i=z(()=>e.servers.map(e=>({id:e.url,label:e.name||e.url||r(`apiClient.serverDropdown.unknownServer`)}))),a=z(()=>e.server?.url?.endsWith(`/`)?e.server.url.slice(0,-1):e.server?.url||``);return(t,o)=>(j(),N(D(Qz),{class:`max-h-[inherit] rounded-none rounded-b-lg border border-t-0 p-0 text-base inset-shadow-none`,focus:``,offset:0,placement:`bottom`,resize:``,target:e.target,teleport:`#${e.target}`},{popover:O(({close:t,open:a})=>[R(rB,{value:a,onChange:o[0]||=e=>n(`update:open`,e),onUnmount:o[1]||=e=>n(`update:open`,!1)},null,8,[`value`]),P(`div`,{class:`custom-scroll flex max-h-[inherit] flex-col gap-1 p-1`,onClick:t},[(j(!0),M(L,null,Fr(i.value,(t,r)=>(j(),N(esn,{key:t.id,server:e.server,serverOption:t,type:`request`,"onUpdate:selectedServer":r=>n(`update:selectedServer`,{url:t.id,meta:e.meta}),"onUpdate:variable":(t,i)=>n(`update:variable`,{index:r,key:t,value:i,meta:e.meta})},null,8,[`server`,`serverOption`,`onUpdate:selectedServer`,`onUpdate:variable`]))),128)),e.layout===`modal`?I(``,!0):(j(),M(`button`,{key:0,class:`text-xxs hover:bg-b-2 flex cursor-pointer items-center gap-1.5 rounded p-1.75`,type:`button`,onClick:o[2]||=e=>n(`update:servers`)},[P(`div`,asn,[R(D(Tc),{class:`size-4`})]),P(`span`,null,T(D(r)(`apiClient.serverDropdown.updateServers`)),1)]))],8,isn)]),default:O(()=>[R(D(Mw),{class:`hover:bg-b-2 font-code text-c-2 h-auto gap-0.75 rounded border px-1.5 text-base whitespace-nowrap @3xl:ml-0.75`,variant:`ghost`},{default:O(()=>[e.server?(j(),M(L,{key:0},[P(`span`,nsn,T(D(r)(`apiClient.serverDropdown.server`)),1),F(` `+T(a.value),1)],64)):(j(),M(L,{key:1},[P(`span`,rsn,T(D(r)(`apiClient.serverDropdown.addServer`)),1),R(D(Dc),{class:`size-3`})],64))]),_:1})]),_:1},8,[`target`,`teleport`]))}})})),csn,lsn=s((()=>{ssn(),csn=osn})),usn,dsn,fsn=s((()=>{usn={100:{color:`text-yellow`},200:{color:`text-green`},202:{color:`text-green`},300:{color:`text-blue`},304:{color:`text-blue`},400:{color:`text-red`},401:{color:`text-orange`},422:{color:`text-yellow`},423:{color:`text-purple`},505:{color:`text-orange`}},dsn=e=>usn[e]||{color:`text-grey`}})),S0=s((()=>{vT()})),psn,msn=s((()=>{psn=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+`s`:e.toFixed(t)+`ms`})),hsn,gsn,_sn,vsn,ysn=s((()=>{$s(),von(),iB(),fsn(),B(),Wx(),vxe(),zs(),S0(),msn(),hsn={class:`sr-only`},gsn={class:`min-w-0`},_sn={class:`text-c-1 min-w-0 truncate`},vsn=k({__name:`AddressBarHistory`,props:{target:{},history:{}},emits:[`select:history:item`,`update:open`],setup(e,{emit:t}){let n=t,{translate:r}=Qs();return(t,i)=>(j(),N(D(zse),{as:`div`},{default:O(({open:t})=>[R(rB,{value:t,onChange:i[0]||=e=>n(`update:open`,e),onUnmount:i[1]||=e=>n(`update:open`,!1)},null,8,[`value`]),R(D(_T),{offset:0,resize:``,target:e.target},Ir({default:O(()=>[e.history.length?(j(),N(D(Bse),{key:0,class:`address-bar-history-button text-c-3 focus:text-c-1 relative mr-1 rounded-lg p-1.5`},{default:O(()=>[R(D(Bx),{icon:`History`,size:`sm`,thickness:`2.25`}),P(`span`,hsn,T(D(r)(`apiClient.addressBarHistory.requestHistory`)),1)]),_:1})):I(``,!0)]),_:2},[t?{name:`floating`,fn:O(({width:t})=>[R(D(Vse),{class:`custom-scroll bg-b-1 dark:bg-b-1.5 grid max-h-[inherit] grid-cols-[44px_1fr_repeat(3,auto)] items-center rounded-b-lg border border-t-0 p-0.75 shadow-md`,static:``,style:pt({width:t})},{default:O(()=>[(j(!0),M(L,null,Fr(e.history,(e,t)=>(j(),N(D(Hse),{key:t,as:`button`,class:`font-code ui-active:*:bg-b-2 text-c-2 contents text-sm font-medium *:flex *:h-8 *:cursor-pointer *:items-center *:rounded-none *:px-1.5 *:first:rounded-l *:last:rounded-r`,value:t,onClick:e=>n(`select:history:item`,{index:t})},{default:O(()=>[R(D(_0),{class:`text-[11px]`,method:e.method},null,8,[`method`]),P(`div`,gsn,[P(`div`,_sn,T(e.path),1)]),P(`div`,null,T(D(psn)(e.duration)),1),P(`div`,{class:mt([D(dsn)(e.status).color])},T(e.status),3),P(`div`,null,T(D(sl)[e.status]?.name),1)]),_:2},1032,[`value`,`onClick`]))),128))]),_:1},8,[`style`])]),key:`0`}:void 0]),1032,[`target`])]),_:1}))}})})),bsn,xsn=s((()=>{Vs(),ysn(),bsn=Bs(vsn,[[`__scopeId`,`data-v-04d27531`]])})),Ssn,Csn=s((()=>{Ssn=e=>{if(!e||!(e instanceof Element))return null;let t=[],n=e;for(;n instanceof Element;){let e=n.localName,r=1,i=n.previousElementSibling;for(;i;)i.localName===e&&r++,i=i.previousElementSibling;t.unshift(r>1?`${e}:nth-of-type(${r})`:e),n=n.parentElement}return t.join(` > `)}})),wsn,Tsn=s((()=>{wsn=(e=``)=>{if(!e.trim())return null;if(!e.startsWith(`/`)&&!/^[a-z][a-z0-9+\-.]*:\/\//i.test(e)){let t=e.search(/[/?#]/),n=t===-1?e:e.slice(0,t);if(n.includes(`.`))try{let t=new URL(`https://${e}`);if(t.origin===`null`)return null;let r=t.host,i=n.match(/:(\d+)$/);i&&!t.port&&(r=`${t.hostname}:${i[1]}`);let a=decodeURIComponent(t.pathname)+t.search+t.hash;return[r,a]}catch{return null}}if(e.startsWith(`//`))try{let t=new URL(`https:${e}`);return t.origin===`null`?null:[t.origin.replace(/^https?:/,``),decodeURIComponent(t.pathname)+t.search+t.hash]}catch{return null}try{let t=new URL(e);if(t.origin===`null`)return null;let n=decodeURIComponent(t.pathname)+t.search+t.hash;return[t.origin,n]}catch{return null}}})),Esn,Dsn,Osn,ksn,Asn,jsn,Msn,Nsn,Psn,Fsn,Isn,Lsn,Rsn,zsn,Bsn,Vsn=s((()=>{$s(),von(),jvt(),kCe(),xon(),Son(),Oon(),Aon(),lsn(),xsn(),B(),Nw(),Pc(),dJ(),Wx(),KF(),Csn(),Tsn(),Esn={class:`order-last flex h-auto w-full max-w-3xl grow-3 flex-wrap items-stretch [--scalar-address-bar-height:32px] @3xl:order-0 @3xl:flex-nowrap`},Dsn=[`id`],Osn={class:`flex`},ksn={class:`scroll-timeline-x scroll-timeline-x-hidden relative flex w-full bg-blend-normal`,dir:`ltr`},Asn={class:`sr-only`},jsn={key:0,class:`z-context absolute inset-x-0 top-[calc(100%+4px)] flex flex-col items-center rounded px-6`},Msn={class:`text-c-danger bg-b-danger border-c-danger flex items-center gap-1 rounded border p-1`},Nsn={class:`min-w-0 flex-1`},Psn={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},Fsn={class:`text-xxs flex`},Isn={class:`sr-only`},Lsn={"aria-hidden":`true`,class:`inline-flex items-center gap-1`},Rsn={class:`text-xxs`},zsn={class:`sr-only`},Bsn=k({name:`AddressBar`,props:{executionDisabled:{type:Boolean},path:{},method:{},isWebhook:{type:Boolean,default:!1},documentSlug:{},exampleKey:{},server:{},servers:{},history:{},layout:{},eventBus:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`,`update:webhook-url`],setup(e,{expose:t,emit:n}){let r=n,{translate:i}=Qs(),a=Tr(),o=Dr(`sendButtonRef`),s=Dr(`mobileSendButtonRef`),c=Dr(`addressBarRef`),{percentage:l,startLoading:u,stopLoading:d,isLoading:f}=Don(),p=E(null),m=E(null),h=E(!1),g=E(!1),_=E(!1),v=sA.scrollMargins.of(()=>({right:24})),y=z(()=>({backgroundColor:`color-mix(in srgb, transparent 90%, ${uJ(e.method).colorVar})`,transform:`translate3d(-${l.value}%,0,0)`})),b=z(()=>m.value||p.value),x=z(()=>e.server?``:e.isWebhook?i(`apiClient.addressBar.webhookUrlPlaceholder`):i(`apiClient.addressBar.urlPlaceholder`)),ee=z(()=>g.value||_.value),te=z(()=>lu(e.method,e.path,e.exampleKey,e.documentSlug));hr(te,()=>{p.value=null,m.value=null});let ne=()=>{let e=o.value?.$el,t=s.value?.$el;e&&e.offsetParent!==null?e.focus():t?.focus()},re=t=>{c.value?.isFocused&&e.layout!==`desktop`||(c.value?.focus(`end`),t&&`clear`in t&&t.clear&&c.value?.setCodeMirrorContent(``),t&&`event`in t&&t.event.preventDefault())};kon({isReady:()=>c.value?.codeMirror,operationKey:()=>te.value,shouldMask:()=>bon(e.path,e.documentSlug),onMask:()=>requestAnimationFrame(()=>{let t=c.value?.codeMirror?.state.doc.toString();t&&t!==e.path||re({clear:!0})})});let ie=t=>{let n=wsn(t);if(!n)return t;let[r,i]=n;return r===e.server?.url||(e.servers.find(e=>e.url===r)?e.eventBus.emit(`server:update:selected`,{url:r,meta:e.serverMeta}):e.eventBus.emit(`server:add:server`,{url:r,select:!0,meta:{type:`operation`,path:e.path,method:e.method}})),i},ae=e=>e.startsWith(`/`)?e:`/${e}`,oe=(t,n,i=null)=>{if(e.isWebhook){let e=n.trim();c.value?.setCodeMirrorContent(e),r(`update:webhook-url`,e),m.value=null,p.value=null,ar(()=>v0(i));return}let a=ie(n),o=ae(a);c.value?.setCodeMirrorContent(o),e.eventBus.emit(`operation:update:pathMethod`,{meta:{method:e.method,path:e.path},blurTargetSelector:i,payload:{method:t,path:o},callback:(n,r)=>{if(n===`success`||n===`no-change`)m.value=null,p.value=null;else if(n===`conflict`){t!==e.method&&(m.value=t),o!==e.path&&(p.value=o);return}let i=c.value?.codeMirrorRef?.textContent;n===`no-change`&&i&&i!==a&&c.value?.setCodeMirrorContent(a),ar(()=>v0(r))}})},se=t=>oe(t,p.value??e.path),ce=(t,n)=>{let r=n.relatedTarget instanceof Element?n.relatedTarget:null,i=h.value||`sourceCapabilities`in n&&n.sourceCapabilities===null?null:Ssn(r);h.value=!1,oe(m.value??e.method,t,i)},le=(t,n)=>{n.stopPropagation(),oe(m.value??e.method,t,`[data-addressbar-action="send"]`)},S=t=>{if(t.target instanceof HTMLElement&&t.target.innerText===`
`){if(e.isWebhook)return;e.eventBus.emit(`server:update:selected`,{url:``,meta:e.serverMeta})}},ue=t=>{e.eventBus.emit(`server:update:selected`,t)},de=t=>{e.eventBus.emit(`server:update:variables`,t)},fe=()=>{e.eventBus.emit(`copy-url:address-bar`)},pe=()=>{e.serverMeta.type===`operation`?e.eventBus.emit(`ui:navigate`,{page:`operation`,path:`servers`,operationPath:e.serverMeta.path,method:e.serverMeta.method}):e.eventBus.emit(`ui:navigate`,{page:`document`,path:`servers`})},me=[];return zi(()=>{me.push(e.eventBus.on(`ui:focus:address-bar`,re),e.eventBus.on(`ui:focus:send-button`,ne),e.eventBus.on(`hooks:on:request:sent`,u),e.eventBus.on(`hooks:on:request:complete`,d))}),Vi(()=>{for(let e of me)e();d()}),t({methodConflict:m,pathConflict:p}),(t,n)=>(j(),M(`div`,Esn,[P(`div`,{id:D(a),class:mt([`address-bar-bg-states text-xxs group relative flex h-(--scalar-address-bar-height) w-full flex-1 flex-row items-stretch rounded-lg p-0.75`,{"outline-c-danger outline":b.value,"rounded-b-none":ee.value}])},[P(`div`,{class:mt([`pointer-events-none absolute top-0 left-0 block h-full w-full overflow-hidden rounded-lg border`,{"rounded-b-none":ee.value}])},[P(`div`,{class:`absolute top-0 left-0 h-full w-full`,style:pt(y.value)},null,4)],2),P(`div`,Osn,[R(D(_0),{isEditable:e.layout!==`modal`&&!e.isWebhook,isSquare:``,method:m.value??e.method,teleport:``,onChange:se},null,8,[`isEditable`,`method`])]),P(`div`,ksn,[e.servers.length?(j(),N(D(csn),{key:0,layout:e.isWebhook?`modal`:e.layout,meta:e.serverMeta,server:e.server,servers:e.servers,target:D(a),"onUpdate:open":n[0]||=e=>g.value=e,"onUpdate:selectedServer":ue,"onUpdate:servers":pe,"onUpdate:variable":de},null,8,[`layout`,`meta`,`server`,`servers`,`target`])):I(``,!0),R(D(QF),{ref_key:`addressBarRef`,ref:c,alwaysEmitChange:``,"aria-label":D(i)(`apiClient.addressBar.path`),class:`ml-1 min-w-fit pl-px outline-none`,disableCloseBrackets:``,disabled:e.layout===`modal`&&!e.isWebhook,disableEnter:``,disableTabIndent:``,emitOnBlur:!1,environment:e.environment,extensions:[D(v)],importCurl:``,layout:e.layout,modelValue:e.path,placeholder:x.value,server:``,onBlur:ce,onKeydown:[Za(S,[`delete`]),n[1]||=Za(e=>h.value=!0,[`tab`])],onSubmit:le},null,8,[`aria-label`,`disabled`,`environment`,`extensions`,`layout`,`modelValue`,`placeholder`])]),R(D(Mw),{class:`hover:bg-b-3 mx-1 flex`,size:`xs`,variant:`ghost`,onClick:fe},{default:O(()=>[R(D(fc)),P(`span`,Asn,T(D(i)(`apiClient.addressBar.copyUrl`)),1)]),_:1}),R(bsn,{history:e.history,target:D(a),"onSelect:history:item":n[2]||=e=>r(`select:history:item`,e),"onUpdate:open":n[3]||=e=>_.value=e},null,8,[`history`,`target`]),b.value?(j(),M(`div`,jsn,[P(`div`,Msn,[R(D(Bye),{size:`sm`}),P(`div`,Nsn,T(D(i)(`apiClient.addressBar.duplicateRequest`,{method:(m.value??e.method).toUpperCase(),path:p.value??e.path})),1)])])):I(``,!0),R(D(Mw),{ref_key:`sendButtonRef`,ref:o,class:`relative hidden h-auto shrink-0 overflow-hidden py-1 pr-2.5 pl-2 font-bold @3xl:flex`,"data-addressbar-action":`send`,disabled:D(f)||e.executionDisabled,onClick:n[4]||=e=>r(`execute`)},{default:O(()=>[P(`span`,Psn,[R(D(Bx),{class:`relative shrink-0 fill-current`,icon:`Play`,size:`xs`}),P(`span`,Fsn,T(D(i)(`apiClient.addressBar.send`)),1)]),P(`span`,Isn,T(D(i)(`apiClient.addressBar.sendRequest`,{method:e.method,url:`${e.server?.url??``}${e.path}`})),1)]),_:1},8,[`disabled`])],10,Dsn),R(D(Mw),{ref_key:`mobileSendButtonRef`,ref:s,class:`relative mt-2 h-(--scalar-address-bar-height) w-full shrink-0 justify-center overflow-hidden py-1 font-bold @3xl:hidden`,"data-addressbar-action":`send`,disabled:D(f)||e.executionDisabled,onClick:n[5]||=e=>r(`execute`)},{default:O(()=>[P(`span`,Lsn,[R(D(Bx),{class:`relative shrink-0 fill-current`,icon:`Play`,size:`xs`}),P(`span`,Rsn,T(D(i)(`apiClient.addressBar.send`)),1)]),P(`span`,zsn,T(D(i)(`apiClient.addressBar.sendRequest`,{method:e.method,url:`${e.server?.url??``}${e.path}`})),1)]),_:1},8,[`disabled`])]))}})})),Hsn,Usn=s((()=>{Vs(),Vsn(),Hsn=Bs(Bsn,[[`__scopeId`,`data-v-6edfa5a3`]])})),Wsn,Gsn,Ksn,qsn,Jsn,Ysn,Xsn,Zsn,Qsn,$sn,ecn,tcn,ncn,rcn=s((()=>{$s(),B(),Nw(),Wx(),Jnt(),Wsn={class:`relative flex items-center`},Gsn={class:`flex max-w-[220px] min-w-0 items-center gap-1.5`},Ksn={class:`text-xxs block max-w-[160px] min-w-0 truncate text-left font-medium`},qsn={class:`text-c-2`},Jsn={class:`min-w-0 flex-1 truncate`},Ysn={class:`bg-c-accent text-b-1 mt-0.5 flex h-4 w-4 shrink-0 items-center justify-center rounded-full p-[3px]`},Xsn={class:`min-w-0 flex-1 text-left`},Zsn={class:`block truncate`},Qsn={class:`text-c-3 block truncate text-xs`},$sn={class:`flex h-4 w-4 items-center justify-center`},ecn={key:5,class:`text-c-3 px-2 py-1.5 text-xs`},tcn={class:`mb-1`},ncn=k({__name:`EnvironmentSelector`,props:{environments:{default:()=>[]},activeEnvironment:{}},emits:[`select:environment`,`add:environment`],setup(e,{emit:t}){let n=t,{translate:r}=Qs(),i=z(()=>!!e.activeEnvironment),a=z(()=>e.environments.length>0),o=z(()=>e.activeEnvironment?e.environments.includes(e.activeEnvironment):!1),s=z(()=>i.value&&!o.value),c=z(()=>s.value?r(`apiClient.environmentSelector.unavailable`,{name:e.activeEnvironment??``}):i.value?e.activeEnvironment:a.value?r(`apiClient.environmentSelector.select`):r(`apiClient.environmentSelector.add`)),l=z(()=>s.value?`hover:bg-b-2 text-c-2 border-transparent`:i.value?`bg-c-accent/10 text-c-accent hover:bg-c-accent/20 border-c-accent/30`:a.value?`hover:bg-b-2 text-c-2 border-transparent`:`hover:bg-b-2 text-c-3 border-transparent`),u=()=>{n(`add:environment`)},d=e=>{n(`select:environment`,e)};return(t,n)=>(j(),M(`div`,Wsn,[R(D(LT),null,{items:O(()=>[i.value?(j(),N(D(BT),{key:0,class:`group/item flex w-full items-center gap-1.5`,onClick:n[0]||=e=>d(``)},{default:O(()=>[P(`div`,{class:mt([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,e.activeEnvironment?`shadow-border text-transparent`:`bg-c-accent text-b-1`])},[R(D(Bx),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,qsn,T(D(r)(`apiClient.environmentSelector.noEnvironment`)),1)]),_:1})):I(``,!0),i.value&&a.value?(j(),N(D(zT),{key:1})):I(``,!0),(j(!0),M(L,null,Fr(e.environments,t=>(j(),N(D(BT),{key:t,class:`group/item flex w-full min-w-0 items-center gap-1.5 overflow-hidden text-ellipsis whitespace-nowrap`,onClick:e=>d(t)},{default:O(()=>[P(`div`,{class:mt([`flex h-4 w-4 items-center justify-center rounded-full p-[3px]`,e.activeEnvironment===t?`bg-c-accent text-b-1`:`shadow-border text-transparent`])},[R(D(Bx),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})],2),P(`span`,Jsn,T(t),1)]),_:2},1032,[`onClick`]))),128)),s.value?(j(),N(D(zT),{key:2})):I(``,!0),s.value?(j(),N(D(BT),{key:3,class:`group/item flex h-auto w-full min-w-0 items-start gap-1.5 overflow-hidden`,disabled:``},{default:O(()=>[P(`div`,Ysn,[R(D(Bx),{class:`size-2.5`,icon:`Checkmark`,thickness:`3`})]),P(`div`,Xsn,[P(`span`,Zsn,T(e.activeEnvironment),1),P(`span`,Qsn,T(D(r)(`apiClient.environmentSelector.notAvailableInThisContext`)),1)])]),_:1})):I(``,!0),a.value?(j(),N(D(zT),{key:4})):I(``,!0),R(D(BT),{class:`text-c-accent flex items-center gap-1.5`,onClick:u},{default:O(()=>[P(`div`,$sn,[R(D(Bx),{icon:`Add`,size:`sm`})]),P(`span`,null,T(a.value?`New Environment`:`Create Environment`),1)]),_:1}),!a.value&&!i.value?(j(),M(`div`,ecn,[P(`p`,tcn,T(D(r)(`apiClient.environmentSelector.environmentHint`)),1)])):I(``,!0)]),default:O(()=>[R(D(Mw),{"aria-label":D(r)(`apiClient.environmentSelector.current`,{name:c.value??``}),class:mt([`line-clamp-1 h-full w-fit justify-start border px-2 py-1 font-normal transition-colors`,l.value]),size:`sm`,variant:`ghost`},{default:O(()=>[P(`div`,Gsn,[R(D(Bx),{class:mt([`shrink-0`,i.value&&!s.value?`text-c-accent`:`text-c-3`]),icon:`Globe`,size:`sm`},null,8,[`class`]),P(`span`,Ksn,T(c.value),1),R(D(Bx),{class:`shrink-0`,icon:`ChevronDown`,size:`xs`})])]),_:1},8,[`aria-label`,`class`])]),_:1})]))}})})),icn,acn=s((()=>{rcn(),icn=ncn})),ocn,scn,ccn,lcn,ucn,dcn=s((()=>{$s(),Fbe(),Usn(),acn(),B(),Pc(),Wx(),YF(),ocn={class:`lg:min-h-header t-app__top-container @container flex w-full flex-wrap items-center justify-center p-2`},scn={class:`mb-2 flex flex-1 items-center justify-end gap-2 @3xl:mb-0`},ccn={class:`sr-only`},lcn={class:`sr-only`},ucn=k({__name:`Header`,props:{executionDisabled:{type:Boolean},path:{},method:{},isWebhook:{type:Boolean},layout:{},hideClientButton:{type:Boolean,default:!1},integration:{},documentSlug:{},exampleKey:{},documentUrl:{},source:{},server:{},servers:{},history:{},eventBus:{},environments:{},activeEnvironment:{},environment:{},serverMeta:{}},emits:[`execute`,`select:history:item`,`add:environment`,`navigate:settings`,`update:webhook-url`],setup(e,{emit:t}){let n=t,{translate:r}=Qs(),i=t=>{e.eventBus.emit(`workspace:update:active-environment`,t)},a=()=>{e.eventBus.emit(`ui:navigate`,{page:`document`,path:`environment`})};return(t,o)=>(j(),M(`div`,ocn,[o[7]||=P(`div`,{class:`flex flex-1`},null,-1),R(D(Hsn),{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,executionDisabled:e.executionDisabled,history:e.history,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:e.path,server:e.server,serverMeta:e.serverMeta,servers:e.servers,"onAdd:environment":o[0]||=e=>n(`add:environment`),onExecute:o[1]||=e=>n(`execute`),"onSelect:history:item":o[2]||=e=>n(`select:history:item`,e),"onUpdate:webhookUrl":o[3]||=e=>n(`update:webhook-url`,e)},null,8,[`activeEnvironment`,`documentSlug`,`environment`,`environments`,`eventBus`,`exampleKey`,`executionDisabled`,`history`,`isWebhook`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`]),P(`div`,scn,[e.layout===`modal`?I(``,!0):(j(),N(icn,{key:0,activeEnvironment:e.activeEnvironment,environments:e.environments,"onAdd:environment":a,"onSelect:environment":i},null,8,[`activeEnvironment`,`environments`])),e.layout!==`modal`&&!e.isWebhook?(j(),N(D(qF),{key:1,icon:D(Xpe),label:D(r)(`apiClient.header.operationSettings`),size:`sm`,weight:`bold`,onClick:o[4]||=e=>n(`navigate:settings`)},null,8,[`icon`,`label`])):I(``,!0),e.layout===`modal`&&e.documentUrl&&!e.hideClientButton?(j(),N(Pbe,{key:2,buttonSource:`modal`,class:`!w-fit lg:-mr-1`,integration:e.integration??null,operationMethod:e.method,operationPath:e.path,source:e.source??`api-reference`,url:e.documentUrl},null,8,[`integration`,`operationMethod`,`operationPath`,`source`,`url`])):I(``,!0),e.layout===`modal`&&e.source!==`gitbook`?(j(),M(`button`,{key:3,class:`app-exit-button zoomed:static zoomed:p-1 fixed top-2 right-2 rounded-full p-2`,"data-modal-initial-focus":``,type:`button`,onClick:o[5]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[R(D(Bx),{icon:`Close`,size:`lg`,thickness:`2`}),P(`span`,ccn,T(D(r)(`apiClient.header.closeClient`)),1)])):I(``,!0),e.layout===`modal`&&e.source===`gitbook`?(j(),M(`button`,{key:4,class:`text-c-1 hover:bg-b-2 active:text-c-1 -mr-1.5 rounded p-2`,"data-modal-initial-focus":``,type:`button`,onClick:o[6]||=t=>e.eventBus.emit(`ui:close:client-modal`)},[R(D(Bx),{icon:`Close`,size:`md`,thickness:`1.75`}),P(`span`,lcn,T(D(r)(`apiClient.header.closeClient`)),1)])):I(``,!0)])]))}})})),fcn,pcn=s((()=>{Vs(),dcn(),fcn=Bs(ucn,[[`__scopeId`,`data-v-3a29d7a0`]])})),mcn,hcn,gcn,_cn,vcn=s((()=>{$s(),rCe(),cCe(),au(),Wxe(),hCe(),vCe(),wCe(),DCe(),kCe(),eqe(),prn(),hon(),pcn(),B(),Nw(),Px(),fxe(),rl(),ol(),gX(),gxe(),s0(),oK(),eV(),QB(),mcn={class:`bg-b-1 flex h-full min-w-0 flex-col`},hcn={class:`lg:min-h-header flex w-full flex-wrap items-center justify-center p-2 lg:p-0`},gcn={class:`text-c-2 p-4`,role:`status`},_cn=k({name:`OperationBlock`,props:{externalExamplesPending:{type:Boolean,default:!1},externalExamplesFailed:{type:Boolean,default:!1},eventBus:{},appVersion:{},document:{},documentSlug:{},workspaceCookies:{default:()=>[]},documentCookies:{default:()=>[]},path:{},method:{},isWebhook:{type:Boolean,default:!1},httpClients:{default:()=>aK},history:{default:()=>[]},layout:{},server:{},selectedClient:{},servers:{},serverMeta:{},hideClientButton:{type:Boolean},integration:{},documentUrl:{},source:{},operation:{},sourceOperation:{},exampleKey:{},authMeta:{},securitySchemes:{},plugins:{default:()=>[]},environments:{},activeEnvironment:{},environment:{},proxyUrl:{},selectedSecurity:{},selectedSecuritySchemes:{},securityRequirements:{},defaultHeaders:{},requestBodyCompositionSelection:{},options:{}},emits:[`retry:externalExamples`],setup(e){let{translate:t}=Qs(),n=z(()=>Jq(e.httpClients)),{toast:r}=YB(),{copyToClipboard:i}=$B(),a=E(null),o=E(null),s=E(null),c=E(null),l=E(``);hr([()=>e.path,()=>e.method,()=>e.isWebhook],()=>{l.value=``},{immediate:!0});let u=z(()=>e.isWebhook?l.value:e.path),d=z(()=>e.isWebhook?null:e.server),f=()=>a.value?.abort(tl.REQUEST_ABORTED),p=t=>{let n=CCe({cookieHeaderKeys:t.response.cookieHeaderKeys??[],documentCookies:e.documentCookies,requestUrl:yCe(String(t.requestPayload[0]))});for(let t of n)t.type===`delete`?e.eventBus.emit(`cookie:delete:cookie`,{collectionType:`document`,cookieName:t.cookieName,index:t.index}):e.eventBus.emit(`cookie:upsert:cookie`,{collectionType:`document`,payload:t.cookie,...t.index===void 0?{}:{index:t.index}})},m=async()=>{let{request:t}=rKe({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:[...e.workspaceCookies,...e.documentCookies],method:e.method,operation:e.operation,path:u.value,proxyUrl:e.proxyUrl,server:d.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:nl(),openapiVersion:e.document.openapi,requestBodyCompositionSelection:e.requestBodyCompositionSelection});await i(iGe(t,Pb(e.environment)))},h=async()=>{if(e.externalExamplesPending)return;if(s.value=null,e.eventBus.flushDebouncedEmits?.(),await ar(),e.isWebhook&&!u.value.trim()){r(t(`apiClient.operationBlock.webhookUrlRequired`),`error`);return}if($Ke(e.operation.parameters??[],e.exampleKey).ok===!1){r(t(`apiClient.operationBlock.pathParametersRequired`),`error`);return}let n=[...e.workspaceCookies,...e.documentCookies],{request:i}=rKe({defaultHeaders:e.defaultHeaders,environment:e.environment,exampleName:e.exampleKey,globalCookies:n,method:e.method,operation:e.operation,path:u.value,proxyUrl:e.proxyUrl,server:d.value,selectedSecuritySchemes:e.selectedSecuritySchemes,isElectron:nl(),openapiVersion:e.document.openapi,requestBodyCompositionSelection:e.requestBodyCompositionSelection});o.value&&`reader`in o.value&&o.value.reader.cancel();let l=XKe(),f=Pb(e.environment);l.setEnvironment?.(Object.entries(f).map(([e,t])=>({key:e,value:t})));let m=e.activeEnvironment?{environmentName:e.activeEnvironment,mergedVariables:[...e.environment.variables],documentVariables:[...e.document[`x-scalar-environments`]?.[e.activeEnvironment]?.variables??[]],environmentExistsOnDocument:!!e.document[`x-scalar-environments`]?.[e.activeEnvironment]}:null;await i0({requestBuilder:i,document:e.document,operation:e.operation,variablesStore:l,server:d.value,customFetch:Dn(e.options)?.customFetch},`beforeRequest`,e.plugins);let h=()=>{if(!m)return;let t=ECe({...m,seededVariables:f,scriptVariables:l.getEnvironment()});for(let n of t)n.type===`delete`?e.eventBus.emit(`environment:delete:environment-variable`,{environmentName:n.environmentName,index:n.index,collectionType:n.collectionType}):e.eventBus.emit(`environment:upsert:environment-variable`,{environmentName:n.environmentName,variable:n.variable,index:n.index,collectionType:n.collectionType})},g=l.getVariables(),_=oGe(i,{envVariables:g,allowMissingRequestServerBase:e.layout===`modal`});if(!_.ok){h(),r(_.message??_.error,`error`);return}let v=_.data.requestPayload[1].method??`GET`;if(hxe(v)){h(),r(t(`apiClient.operationBlock.forbiddenMethod`,{method:v.toUpperCase()}),`error`);return}a.value=_.data.controller;let y=al(..._.data.requestPayload);await i0({request:y,requestBuilder:i,document:e.document,operation:e.operation,variablesStore:l},`requestBuilt`,e.plugins),e.eventBus.emit(`hooks:on:request:sent`,{meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}});let[b,x]=await Vxe({isUsingProxy:_.data.isUsingProxy,requestPayload:_.data.requestPayload,request:y,plugins:e.plugins,customFetch:Dn(e.options)?.customFetch,onResponseReceived:async(t,n)=>(await $in({response:t,responseDuration:n,requestBuilder:i,request:al(..._.data.requestPayload),document:e.document,operation:e.operation,variablesStore:l},e.plugins)).response});if(h(),e.eventBus.emit(`hooks:on:request:complete`,{payload:x?{response:x.originalResponse.clone(),requestPayload:x.requestPayload,duration:x.response.duration,timestamp:x.timestamp}:void 0,meta:{method:e.method,path:e.path,exampleKey:e.exampleKey}}),b){if(_.data.controller.signal.aborted){a.value===_.data.controller&&(a.value=null);return}s.value=b,o.value=null,c.value=null,a.value=null,r(b.message,`error`)}else o.value=x.response,c.value=x.requestPayload,p(x),OCe(x.response)||uu.set(lu(e.method,e.path,e.exampleKey),{response:x.response,requestPayload:x.requestPayload})};zi(()=>{e.eventBus.on(`operation:send:request:hotkey`,h),e.eventBus.on(`operation:cancel:request`,f),e.eventBus.on(`copy-url:address-bar`,m),i0({document:e.document,operation:e.operation},`onRequestMount`,e.plugins)}),Vi(()=>{e.eventBus.off(`operation:send:request:hotkey`,h),e.eventBus.off(`operation:cancel:request`,f),e.eventBus.off(`copy-url:address-bar`,m)});let g=z(()=>e.history.map(e=>({method:e.request.method,path:e.request.url,duration:e.time,status:e.response.status})).reverse()),_=({index:t})=>{let n=(e.history.length??0)-t-1,r=e.history[n];r&&e.eventBus.emit(`operation:reload:history`,{meta:{path:e.path,method:e.method},index:n,callback:()=>e.eventBus.emit(`ui:navigate`,{page:`example`,method:e.method,path:e.path,exampleName:`draft`,callback:t=>{if(t!==`success`)return;let n=ou({harResponse:r.response,url:r.request.url,method:e.method,path:e.path,duration:r.time}),i=fCe({harRequest:r.request});s.value=null,o.value=n,c.value=i}})})},v=()=>{e.eventBus.emit(`ui:navigate`,{page:`operation`,path:`overview`,operationPath:e.path,method:e.method})};return hr([()=>e.path,()=>e.method,()=>e.exampleKey],([t,n,r])=>{s.value=null;let i=uu.get(lu(n,t,r));if(i)o.value=i.response,c.value=i.requestPayload;else{let i=(()=>{for(let t=e.history.length-1;t>=0;t--){let n=e.history[t];if(n?.meta.example===r)return n}})();i?(o.value=ou({harResponse:i.response,url:i.request.url,method:n,path:t,duration:i.time}),c.value=null):(o.value=null,c.value=null)}f()},{immediate:!0}),Vi(()=>{f()}),(t,r)=>(j(),M(`div`,mcn,[P(`div`,hcn,[R(fcn,{activeEnvironment:e.activeEnvironment,documentSlug:e.documentSlug,documentUrl:e.documentUrl,environment:e.environment,environments:e.environments,eventBus:e.eventBus,exampleKey:e.exampleKey,executionDisabled:e.externalExamplesPending,hideClientButton:e.hideClientButton,history:g.value,integration:e.integration,isWebhook:e.isWebhook,layout:e.layout,method:e.method,path:u.value,server:d.value,serverMeta:e.serverMeta,servers:e.servers,source:e.source,onExecute:h,"onNavigate:settings":v,"onSelect:history:item":_,"onUpdate:webhookUrl":r[0]||=e=>l.value=e},null,8,[`activeEnvironment`,`documentSlug`,`documentUrl`,`environment`,`environments`,`eventBus`,`exampleKey`,`executionDisabled`,`hideClientButton`,`history`,`integration`,`isWebhook`,`layout`,`method`,`path`,`server`,`serverMeta`,`servers`,`source`])]),R(nCe,{class:`border-t`},{default:O(()=>[R(sCe,{class:`flex-1`},{default:O(()=>[e.externalExamplesPending?(j(),N(iu,{key:0,"aria-label":`Request`},{title:O(()=>[...r[2]||=[F(`Request`,-1)]]),default:O(()=>[P(`div`,gcn,[e.externalExamplesFailed?(j(),M(L,{key:0},[r[4]||=F(` Could not load this example. `,-1),R(D(Mw),{size:`sm`,variant:`ghost`,onClick:r[1]||=e=>t.$emit(`retry:externalExamples`)},{default:O(()=>[...r[3]||=[F(` Retry `,-1)]]),_:1})],64)):(j(),M(L,{key:1},[F(`Loading example…`)],64))])]),_:1})):(j(),N(D(frn),{key:1,authMeta:e.authMeta,clientOptions:n.value,defaultHeaders:e.defaultHeaders,defaultRequestBodyView:e.document[`x-scalar-default-request-body-view`],documentCookies:e.documentCookies,documentSlug:e.documentSlug,environment:e.environment,eventBus:e.eventBus,exampleKey:e.exampleKey,layout:e.layout,method:e.method,openapiVersion:e.document.openapi,operation:e.operation,options:Dn(e.options),path:u.value,plugins:e.plugins,proxyUrl:e.proxyUrl,requestBodyCompositionSelection:e.requestBodyCompositionSelection,securityRequirements:e.securityRequirements,securitySchemes:e.securitySchemes,selectedClient:e.selectedClient,selectedSecurity:e.selectedSecurity,selectedSecuritySchemes:e.selectedSecuritySchemes,server:d.value,sourceOperation:e.sourceOperation,workspaceCookies:e.workspaceCookies},null,8,`authMeta.clientOptions.defaultHeaders.defaultRequestBodyView.documentCookies.documentSlug.environment.eventBus.exampleKey.layout.method.openapiVersion.operation.options.path.plugins.proxyUrl.requestBodyCompositionSelection.securityRequirements.securitySchemes.selectedClient.selectedSecurity.selectedSecuritySchemes.server.sourceOperation.workspaceCookies`.split(`.`))),R(D(mon),{appVersion:e.appVersion,eventBus:e.eventBus,executionDisabled:e.externalExamplesPending,layout:e.layout,plugins:e.plugins,requestError:s.value,requestPayload:c.value,response:o.value,totalPerformedRequests:g.value.length},null,8,[`appVersion`,`eventBus`,`executionDisabled`,`layout`,`plugins`,`requestError`,`requestPayload`,`response`,`totalPerformedRequests`])]),_:1})]),_:1})]))}})})),ycn,bcn=s((()=>{vcn(),ycn=_cn})),C0,xcn=s((()=>{B(),C0=({eventBus:e,load:t,status:n=En(`idle`)})=>{let r=en(),i=En(null),a=!1,o=!1,s=null,c=e.on(`ui:open:client-modal`,u=>{s={payload:u},n.value=`loading`,!o&&(o=!0,t().then(t=>{!a&&s&&(i.value=(r?r.run(t):t())??null,i.value&&(c(),l(),e.emit(`ui:open:client-modal`,s.payload)))}).catch(e=>{!a&&s&&(n.value=`error`),console.error(`[@scalar/api-client] Could not load the API client modal.`,e)}).finally(()=>{s=null,o=!1,n.value===`loading`&&(n.value=`idle`)}))}),l=e.on(`ui:close:client-modal`,()=>{s=null,n.value=`idle`});return tn(()=>{a=!0,n.value=`idle`,s=null,c(),l(),i.value?.app.unmount()},!0),i}}));function w0({eventBus:e,store:t,hooks:n,getConfiguredSecuritySchemes:r}){let i=[],a={on:(t,n)=>{let r=e.on(t,n);return i.push(r),r}},o=z(()=>P2t(t.value)),s=({collectionType:e})=>e===`document`?o.value.active():o.value.workspace();return a.on(`workspace:update:active-proxy`,e=>T0(`workspace:update:active-proxy`,o.value.workspace().workspace.updateActiveProxy,n)(e)),a.on(`workspace:update:color-mode`,e=>T0(`workspace:update:color-mode`,o.value.workspace().workspace.updateColorMode,n)(e)),a.on(`workspace:update:theme`,e=>T0(`workspace:update:theme`,o.value.workspace().workspace.updateTheme,n)(e)),a.on(`workspace:update:selected-client`,e=>T0(`workspace:update:selected-client`,o.value.workspace().workspace.updateSelectedClient,n)(e)),a.on(`workspace:update:selected-example`,e=>T0(`workspace:update:selected-example`,o.value.workspace().workspace.updateSelectedExample,n)(e)),a.on(`workspace:update:active-environment`,e=>T0(`workspace:update:active-environment`,o.value.workspace().workspace.updateActiveEnvironment,n)(e)),a.on(`document:update:extension`,e=>T0(`document:update:extension`,o.value.active().document.updateDocumentExtension,n)(e)),a.on(`document:update:icon`,e=>T0(`document:update:icon`,o.value.active().document.updateDocumentIcon,n)(e)),a.on(`document:update:info`,e=>T0(`document:update:info`,o.value.active().document.updateDocumentInfo,n)(e)),a.on(`document:update:watch-mode`,e=>T0(`document:update:watch-mode`,o.value.active().document.updateWatchMode,n)(e)),a.on(`document:create:empty-document`,e=>T0(`document:create:empty-document`,o.value.active().document.createEmptyDocument,n)(e)),a.on(`document:delete:document`,e=>T0(`document:delete:document`,o.value.active().document.deleteDocument,n)(e)),a.on(`environment:upsert:environment`,e=>T0(`environment:upsert:environment`,s(e).environment.upsertEnvironment,n)(e)),a.on(`environment:delete:environment`,e=>T0(`environment:delete:environment`,s(e).environment.deleteEnvironment,n)(e)),a.on(`environment:upsert:environment-variable`,e=>T0(`environment:upsert:environment-variable`,s(e).environment.upsertEnvironmentVariable,n)(e)),a.on(`environment:delete:environment-variable`,e=>T0(`environment:delete:environment-variable`,s(e).environment.deleteEnvironmentVariable,n)(e)),a.on(`cookie:upsert:cookie`,async e=>{await T0(`cookie:upsert:cookie`,s(e).cookie.upsertCookie,n)(e)}),a.on(`cookie:delete:cookie`,async e=>{await T0(`cookie:delete:cookie`,s(e).cookie.deleteCookie,n)(e)}),a.on(`auth:delete:security-scheme`,e=>T0(`auth:delete:security-scheme`,o.value.active().auth.deleteSecurityScheme,n)(e)),a.on(`auth:update:active-index`,e=>T0(`auth:update:active-index`,o.value.active().auth.updateSelectedAuthTab,n)(e)),a.on(`auth:update:security-scheme`,e=>T0(`auth:update:security-scheme`,e=>o.value.active().auth.updateSecurityScheme(e,r?.()),n)(e)),a.on(`auth:update:selected-scopes`,e=>T0(`auth:update:selected-scopes`,o.value.active().auth.updateSelectedScopes,n)(e)),a.on(`auth:upsert:scopes`,e=>T0(`auth:upsert:scopes`,o.value.active().auth.upsertScope,n)(e)),a.on(`auth:delete:scopes`,e=>T0(`auth:delete:scopes`,o.value.active().auth.deleteScope,n)(e)),a.on(`auth:update:selected-security-schemes`,e=>T0(`auth:update:selected-security-schemes`,o.value.active().auth.updateSelectedSecuritySchemes,n)(e)),a.on(`auth:clear:selected-security-schemes`,e=>T0(`auth:clear:selected-security-schemes`,o.value.active().auth.clearSelectedSecuritySchemes,n)(e)),a.on(`auth:update:security-scheme-secrets`,e=>T0(`auth:update:security-scheme-secrets`,o.value.active().auth.updateSecuritySchemeSecrets,n)(e)),a.on(`auth:reset:security-scheme-secret`,e=>T0(`auth:reset:security-scheme-secret`,o.value.active().auth.resetSecuritySchemeSecret,n)(e)),a.on(`auth:clear:security-scheme-secrets`,e=>T0(`auth:clear:security-scheme-secrets`,o.value.active().auth.clearSecuritySchemeSecrets,n)(e)),a.on(`server:initialize:servers`,e=>T0(`server:initialize:servers`,o.value.active().server.initializeServers,n)(e)),a.on(`server:add:server`,e=>T0(`server:add:server`,o.value.active().server.addServer,n)(e)),a.on(`server:update:server`,e=>T0(`server:update:server`,o.value.active().server.updateServer,n)(e)),a.on(`server:delete:server`,e=>T0(`server:delete:server`,o.value.active().server.deleteServer,n)(e)),a.on(`server:clear:servers`,e=>T0(`server:clear:servers`,o.value.active().server.clearServers,n)(e)),a.on(`server:update:variables`,e=>T0(`server:update:variables`,o.value.active().server.updateServerVariables,n)(e)),a.on(`server:update:selected`,e=>T0(`server:update:selected`,o.value.active().server.updateSelectedServer,n)(e)),a.on(`asyncapi-server:update:selected`,e=>T0(`asyncapi-server:update:selected`,o.value.active().server.updateSelectedAsyncApiServer,n)(e)),a.on(`asyncapi-server:update:variables`,e=>T0(`asyncapi-server:update:variables`,o.value.active().server.updateAsyncApiServerVariables,n)(e)),a.on(`operation:create:operation`,e=>T0(`operation:create:operation`,o.value.active().operation.createOperation,n)(e)),a.on(`operation:update:pathMethod`,e=>T0(`operation:update:pathMethod`,o.value.active().operation.updateOperationPathMethod,n)(e)),a.on(`operation:update:meta`,e=>T0(`operation:update:meta`,o.value.active().operation.updateOperationMeta,n)(e)),a.on(`operation:delete:operation`,e=>T0(`operation:delete:operation`,o.value.active().operation.deleteOperation,n)(e)),a.on(`operation:create:draft-example`,e=>T0(`operation:create:draft-example`,o.value.active().operation.createOperationDraftExample,n)(e)),a.on(`operation:delete:example`,e=>T0(`operation:delete:example`,o.value.active().operation.deleteOperationExample,n)(e)),a.on(`operation:rename:example`,e=>T0(`operation:rename:example`,o.value.active().operation.renameOperationExample,n)(e)),a.on(`operation:upsert:parameter`,e=>T0(`operation:upsert:parameter`,o.value.active().operation.upsertOperationParameter,n)(e)),a.on(`operation:update:extra-parameters`,e=>T0(`operation:update:extra-parameters`,o.value.active().operation.updateOperationExtraParameters,n)(e)),a.on(`operation:delete:parameter`,e=>T0(`operation:delete:parameter`,o.value.active().operation.deleteOperationParameter,n)(e)),a.on(`operation:delete-all:parameters`,e=>T0(`operation:delete-all:parameters`,o.value.active().operation.deleteAllOperationParameters,n)(e)),a.on(`operation:update:extension`,e=>T0(`operation:update:extension`,o.value.active().operation.updateOperationExtension,n)(e)),a.on(`operation:update:requestBody:contentType`,e=>T0(`operation:update:requestBody:contentType`,o.value.active().operation.updateOperationRequestBodyContentType,n)(e)),a.on(`operation:update:requestBody:value`,e=>T0(`operation:update:requestBody:value`,o.value.active().operation.updateOperationRequestBodyExample,n)(e)),a.on(`operation:update:requestBody:formValue`,e=>T0(`operation:update:requestBody:formValue`,o.value.active().operation.updateOperationRequestBodyFormValue,n)(e)),a.on(`operation:reload:history`,e=>T0(`operation:reload:history`,o.value.active().operation.reloadOperationHistory,n)(e)),a.on(`tag:create:tag`,e=>T0(`tag:create:tag`,o.value.active().tag.createTag,n)(e)),a.on(`tag:edit:tag`,e=>T0(`tag:edit:tag`,o.value.active().tag.editTag,n)(e)),a.on(`tag:delete:tag`,e=>T0(`tag:delete:tag`,o.value.active().tag.deleteTag,n)(e)),a.on(`tabs:add:tab`,e=>T0(`tabs:add:tab`,o.value.workspace().tabs.addTab,n)(e)),a.on(`tabs:close:tab`,e=>T0(`tabs:close:tab`,o.value.workspace().tabs.closeTab,n)(e)),a.on(`tabs:close:other-tabs`,e=>T0(`tabs:close:other-tabs`,o.value.workspace().tabs.closeOtherTabs,n)(e)),a.on(`tabs:focus:tab`,e=>T0(`tabs:focus:tab`,o.value.workspace().tabs.focusTab,n)(e)),a.on(`tabs:focus:tab-last`,e=>T0(`tabs:focus:tab-last`,o.value.workspace().tabs.focusLastTab,n)(e)),a.on(`tabs:navigate:previous`,e=>T0(`tabs:navigate:previous`,o.value.workspace().tabs.navigatePreviousTab,n)(e)),a.on(`tabs:navigate:next`,e=>T0(`tabs:navigate:next`,o.value.workspace().tabs.navigateNextTab,n)(e)),a.on(`tabs:update:tabs`,e=>T0(`tabs:update:tabs`,o.value.workspace().tabs.updateTabs,n)(e)),a.on(`hooks:on:request:complete`,e=>T0(`hooks:on:request:complete`,o.value.active().operation.addResponseToHistory,n)(e)),()=>i.splice(0).forEach(e=>e())}var T0,E0=s((()=>{B(),F2t(),T0=(e,t,n)=>async r=>{let i=await n[e]?.onBeforeExecute?.(r)??r;return await t(i),await n[e]?.onAfterExecute?.(i),i}})),Scn,Ccn=s((()=>{ru(),B(),Scn=k({inheritAttrs:!1,__name:`ScalarColorModeToggleIcon`,props:{is:{default:`button`},mode:{default:`light`}},setup(e){let{cx:t}=nu(),n=z(()=>e.mode===`dark`?`Set light mode`:`Set dark mode`);return(r,i)=>(j(),N(Pr(e.is),li({"aria-label":n.value,class:`toggle-icon-${e.mode}`,type:e.is===`button`?`button`:void 0},D(t)(`size-3 flex items-center justify-center text-c-1`)),{default:O(()=>[...i[0]||=[P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-sun-ray`},null,-1),P(`span`,{class:`toggle-icon-ellipse`},[P(`span`,{class:`toggle-icon-moon-mask`})],-1)]]),_:1},16,[`aria-label`,`class`,`type`]))}})})),D0,O0=s((()=>{Ix(),Ccn(),D0=Fx(Scn,[[`__scopeId`,`data-v-8f507267`]])})),wcn,Tcn,Ecn=s((()=>{O0(),ru(),B(),wcn=[`aria-pressed`],Tcn=k({inheritAttrs:!1,__name:`ScalarColorModeToggleButton`,props:{modelValue:{type:Boolean},modelModifiers:{}},emits:[`update:modelValue`],setup(e){let{cx:t}=nu(),n=Gr(e,`modelValue`);return(e,r)=>(j(),M(`button`,li({"aria-pressed":n.value,type:`button`},D(t)(`group/toggle flex h-6 w-[38px] -mx-px items-center py-1.5 -my-1.5 relative outline-none`),{onClick:r[0]||=e=>n.value=!n.value}),[r[1]||=P(`div`,{class:`bg-border mx-px h-3 w-full rounded-xl -outline-offset-1 group-focus-visible/toggle:outline`},null,-1),P(`div`,{class:mt([`left-border bg-b-1 dark:bg-b-1.5 absolute flex size-[23px] items-center justify-center rounded-full border -outline-offset-1 transition-transform duration-300 ease-in-out group-focus-visible/toggle:outline`,{"translate-x-[14px]":n.value}])},[R(D0,{is:`div`,mode:n.value?`dark`:`light`},null,8,[`mode`])],2)],16,wcn))}})})),k0,Dcn=s((()=>{Ecn(),k0=Tcn})),A0,Ocn,kcn,Acn=s((()=>{A0={light:`light-mode`,dark:`dark-mode`},Ocn=(e,t=document.body)=>{t.classList.toggle(A0.dark,e===`dark`),t.classList.toggle(A0.light,e===`light`)},kcn=()=>typeof window>`u`?`light`:typeof window.matchMedia==`function`?window.matchMedia(`(prefers-color-scheme: dark)`)?.matches?`dark`:`light`:`dark`}));function jcn(e={}){let{initialColorMode:t=`system`,overrideColorMode:n}=e;function r(){j0.value=o.value===`dark`?`light`:`dark`,typeof window<`u`&&window?.localStorage?.setItem(`colorMode`,j0.value)}function i(e){j0.value=e,typeof window<`u`&&window?.localStorage?.setItem(`colorMode`,j0.value)}function a(){return kcn()}let o=z({get:()=>j0.value===`system`?M0.value:j0.value,set:i}),s=z({get:()=>o.value===`dark`,set:e=>i(e?`dark`:`light`)});function c(){if(typeof document>`u`||typeof window>`u`)return;let e=n??(j0.value===`system`?M0.value:j0.value);Ocn(e===`dark`?`dark`:`light`)}let l=typeof window>`u`?`system`:window?.localStorage?.getItem(`colorMode`),u=y(Mcn,l)?l:null;j0.value=n??u??t,hr([j0,M0],c,{immediate:!0});let d=()=>{M0.value=a()},f=E(null);return zi(()=>{M0.value=a(),typeof window<`u`&&typeof window?.matchMedia==`function`&&(f.value=window.matchMedia(`(prefers-color-scheme: dark)`),f.value?.addEventListener(`change`,d))}),Hi(()=>{f.value?.removeEventListener(`change`,d)}),{colorMode:z({get:()=>j0.value,set:i}),darkLightMode:o,isDarkMode:s,toggleColorMode:r,setColorMode:i,getSystemModePreference:a}}var j0,M0,Mcn,Ncn=s((()=>{Acn(),Ce(),B(),j0=E(`dark`),M0=E(`light`),Mcn=_e([ye(`system`),ye(`dark`),ye(`light`)])})),Pcn=s((()=>{Ncn()})),Fcn,Icn=s((()=>{O0(),Dcn(),B(),Pcn(),Fcn=k({__name:`ScalarColorModeToggle`,props:{variant:{default:`switch`}},setup(e){let{isDarkMode:t,toggleColorMode:n,darkLightMode:r}=jcn(),i=z(()=>t.value?`Set light mode`:`Set dark mode`);return(a,o)=>e.variant===`switch`?(j(),N(k0,{key:0,modelValue:D(t),"onUpdate:modelValue":o[0]||=e=>Tn(t)?t.value=e:null,"aria-label":i.value},null,8,[`modelValue`,`aria-label`])):(j(),N(D0,{key:1,"aria-label":i.value,mode:D(r),onClick:D(n)},null,8,[`aria-label`,`mode`,`onClick`]))}})})),N0,Lcn=s((()=>{Icn(),N0=Fcn})),Rcn=s((()=>{O0(),Dcn(),Lcn()})),P0,F0,zcn,I0,L0,Bcn=s((()=>{P0=`scalar-app`,F0=`headlessui-portal-root`,zcn=e=>e!==null&&e instanceof HTMLElement,I0=e=>{e&&!e.classList.contains(P0)&&e.classList.add(P0)},L0=()=>{I0(document.getElementById(F0));let e=new MutationObserver(e=>e.forEach(({addedNodes:e})=>e.forEach(e=>{zcn(e)&&e.id===F0&&I0(e)})));return e.observe(document.body,{childList:!0}),e}})),Vcn=s((()=>{Bcn()})),Hcn,Ucn=s((()=>{ru(),B(),Hcn=k({inheritAttrs:!1,__name:`ScalarSidebar`,setup(e){let{cx:t}=nu();return(e,n)=>(j(),M(`aside`,ht(ri(D(t)(`flex flex-col border-r bg-sidebar-b-1 border-sidebar-border w-72`))),[A(e.$slots,`default`)],16))}})})),Wcn,Gcn=s((()=>{Ucn(),Wcn=Hcn})),Kcn,qcn=s((()=>{ru(),B(),Kcn=k({inheritAttrs:!1,__name:`ScalarSidebarIndent`,props:{indent:{default:0},selected:{type:Boolean,default:!1},disabled:{type:Boolean}},setup(e){let t=z(()=>Array.from({length:e.indent},(e,t)=>t)),{cx:n}=nu();return(r,i)=>(j(),M(`div`,ht(ri(D(n)(`scalar-sidebar-indent flex justify-center`,{"mr-[calc(20px-var(--scalar-sidebar-indent))]":e.indent>0,"scalar-sidebar-indent-selected":e.selected}))),[(j(!0),M(L,null,Fr(t.value,(n,r)=>(j(),M(`div`,{key:n,class:`relative w-[var(--scalar-sidebar-indent)]`},[i[0]||=P(`div`,{class:`scalar-sidebar-indent-border w-border bg-sidebar-indent-border absolute inset-y-0 left-2`},null,-1),r===t.value.length-1?(j(),M(`div`,{key:0,class:mt([`w-border absolute inset-y-0 left-2`,e.disabled?``:e.selected?`bg-sidebar-indent-border-active`:`group-hover/button:bg-sidebar-indent-border-hover`])},null,2)):I(``,!0)]))),128))],16))}})})),R0,z0=s((()=>{Ix(),qcn(),R0=Fx(Kcn,[[`__scopeId`,`data-v-b2388a0c`]])})),Jcn,Ycn,Xcn,Zcn=s((()=>{Ux(),z0(),ru(),B(),Jcn={key:0,class:`mr-1 flex h-lh items-center *:size-4`},Ycn={class:`group/button-label min-w-0 flex-1`},Xcn=k({inheritAttrs:!1,__name:`ScalarSidebarButton`,props:{is:{default:`a`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{default:0}},setup(e){let t=eu({base:[`group/button peer/button flex items-stretch rounded p-2`,`font-sidebar text-base/4 text-sidebar-c-2 no-underline wrap-break-word`],variants:{active:{true:`text-sidebar-c-active font-sidebar-active`},disabled:{true:`cursor-auto`},selected:{true:`cursor-auto bg-sidebar-b-active text-sidebar-c-active font-sidebar-active`}},compoundVariants:[{selected:!1,disabled:!1,active:!1,class:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`},{selected:!1,disabled:!1,active:!0,class:`hover:bg-sidebar-b-hover`}],defaultVariants:{selected:!1,disabled:!1,active:!1}}),{cx:n}=nu();return(r,i)=>(j(),N(Pr(e.is),li({"aria-current":e.selected?`page`:void 0,type:e.is===`button`?`button`:void 0},D(n)(D(t)({selected:e.selected,disabled:e.disabled,active:e.active}))),{default:O(()=>[A(r.$slots,`indent`,{},()=>[R(R0,{class:`-my-2`,disabled:e.disabled,indent:e.indent,selected:e.selected},null,8,[`disabled`,`indent`,`selected`])]),e.icon||r.$slots.icon?(j(),M(`div`,Jcn,[A(r.$slots,`icon`,{},()=>[e.icon?(j(),N(D(Hx),{key:0,icon:e.icon},null,8,[`icon`])):I(``,!0)])])):I(``,!0),P(`div`,Ycn,[A(r.$slots,`default`)]),A(r.$slots,`aside`)]),_:3},16,[`aria-current`,`type`]))}})})),B0,V0=s((()=>{Zcn(),B0=Xcn})),Qcn,H0,$cn=s((()=>{Qcn=`https://scalar.com/`,H0=e=>{let t=new URL(Qcn);t.searchParams.set(`utm_source`,`powered-by`),t.searchParams.set(`utm_medium`,`api-reference`);let n=typeof e==`string`?e.trim():``;return n.length&&t.searchParams.set(`utm_campaign`,n),t.toString()}})),eln,tln,nln,rln,iln=s((()=>{Lcn(),ru(),B(),$cn(),eln={class:`flex items-center`},tln={class:`text-sidebar-c-2 flex min-w-0 flex-1 items-center text-sm`},nln=[`href`],rln=k({inheritAttrs:!1,__name:`ScalarSidebarFooter`,setup(e){let{cx:t}=nu(),n=H0();return(e,r)=>(j(),M(`div`,ht(ri(D(t)(`flex flex-col gap-3 px-3 pb-3 border-sidebar-border`))),[A(e.$slots,`default`),P(`div`,eln,[P(`div`,tln,[A(e.$slots,`description`,{},()=>[P(`a`,{class:`no-underline hover:underline`,href:D(n),rel:`noopener`,target:`_blank`},` Powered by Scalar `,8,nln)])]),A(e.$slots,`toggle`,{},()=>[R(D(N0))])])],16))}})})),aln,oln=s((()=>{iln(),aln=rln})),sln,cln,lln=s((()=>{Ux(),ru(),B(),Pc(),sln={class:`sr-only`},cln=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggle`,props:{is:{default:`div`},open:{type:Boolean,default:!1},icon:{type:[Object,Function]}},setup(e){let t=eu({base:`size-4 flex items-center justify-center transition-transform duration-100`,variants:{open:{true:`rotate-90`}},defaultVariants:{open:!1}}),{cx:n}=nu();return(r,i)=>(j(),N(Pr(e.is),li({type:e.is===`button`?`button`:void 0},D(n)(D(t)({open:e.open}))),{default:O(()=>[A(r.$slots,`default`,{open:e.open},()=>[e.icon?(j(),N(D(Hx),{key:0,icon:e.icon},null,8,[`icon`])):(j(),N(D(lc),{key:1,class:`size-3`,weight:`bold`}))]),P(`span`,sln,[A(r.$slots,`label`,{open:e.open},()=>[F(T(e.open?`Close`:`Open`)+` Group `,1)])])]),_:3},16,[`type`]))}})})),U0,W0=s((()=>{lln(),U0=cln})),uln,dln,fln=s((()=>{W0(),ru(),B(),uln=[`aria-expanded`],dln=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggleButton`,props:{open:{type:Boolean,default:!1},selected:{type:Boolean}},setup(e){let t=eu({base:[`absolute top-[1lh] right-1 -translate-y-1/2`,`rounded p-1 text-sidebar-c-2`],variants:{selected:{true:`hover:bg-sidebar-b-1 hover:text-sidebar-c-1`,false:`hover:bg-sidebar-b-hover hover:text-sidebar-c-hover`}},defaultVariants:{selected:!1}}),{cx:n}=nu();return(r,i)=>(j(),M(`button`,li({"aria-expanded":e.open,type:`button`},D(n)(D(t)({selected:e.selected}))),[A(r.$slots,`default`,{open:e.open},()=>[R(U0,{open:e.open},Ir({_:2},[r.$slots.label?{name:`label`,fn:O(()=>[A(r.$slots,`label`,{open:e.open})]),key:`0`}:void 0]),1032,[`open`])])],16,uln))}})})),G0,pln=s((()=>{fln(),G0=dln})),mln,hln=s((()=>{ru(),B(),mln=k({inheritAttrs:!1,__name:`ScalarSidebarGroupToggleSpacer`,setup(e){let{cx:t}=nu();return(e,n)=>(j(),M(`div`,ht(ri(D(t)(`h-4 w-5`))),null,16))}})})),K0,gln=s((()=>{hln(),K0=mln})),q0,J0,Y0=s((()=>{B(),q0=Symbol(),J0=(e={})=>{let{increment:t=!1,reset:n=!1}=e,r=fr(q0,0);return n?dr(q0,0):t&&r<6?dr(q0,r+1):dr(q0,r),{level:r}}})),_ln,vln=s((()=>{V0(),Y0(),ru(),B(),_ln=k({inheritAttrs:!1,__name:`ScalarSidebarItem`,props:{is:{},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{}},setup(e){let t=e,{level:n}=J0(),{cx:r}=nu();return(i,a)=>(j(),M(`li`,ht(ri(D(r)(`group/item flex flex-col text-base`))),[A(i.$slots,`before`),A(i.$slots,`button`,{level:D(n)},()=>[R(B0,li(t,{indent:e.indent??D(n)}),Ir({_:2},[i.$slots.default?{name:`default`,fn:O(()=>[A(i.$slots,`default`)]),key:`0`}:void 0,i.$slots.icon?{name:`icon`,fn:O(()=>[A(i.$slots,`icon`)]),key:`1`}:void 0,i.$slots.aside?{name:`aside`,fn:O(()=>[A(i.$slots,`aside`)]),key:`2`}:void 0]),1040,[`indent`])]),A(i.$slots,`after`)],16))}})})),X0,yln=s((()=>{vln(),X0=_ln})),bln,xln=s((()=>{yln(),B(),bln=k({__name:`ScalarSidebarLoading`,props:{items:{default:4}},setup(e){return(t,n)=>(j(!0),M(L,null,Fr(e.items,e=>(j(),N(X0,{key:e,class:`pointer-events-none`},{default:O(()=>[...n[0]||=[P(`div`,{class:`group/button-loading bg-sidebar-c-2/15 -my-px box-content h-lh w-full animate-pulse rounded-lg py-px`},null,-1)]]),_:1}))),128))}})})),Z0,Sln=s((()=>{xln(),Z0=bln})),Cln,wln,Tln,Eln=s((()=>{z0(),V0(),W0(),pln(),gln(),Y0(),Sln(),ru(),B(),Cln={class:`group/group-button relative flex flex-col text-base`},wln={key:0,class:`group/items flex flex-col gap-px`},Tln=k({inheritAttrs:!1,__name:`ScalarSidebarGroup`,props:Vr({is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},controlled:{type:Boolean},discrete:{type:Boolean},loading:{type:Boolean}},{open:{type:Boolean,default:!1},openModifiers:{}}),emits:Vr([`click`,`toggle`],[`update:open`]),setup(e,{emit:t}){let n=t,r=Gr(e,`open`),{level:i}=J0({increment:!0}),{cx:a}=nu(),o=t=>{n(`click`,t),!e.controlled&&!e.discrete&&(r.value=!r.value)},s=t=>{n(`toggle`,t),!e.controlled&&e.discrete&&(r.value=!r.value)};return(t,n)=>(j(),N(Pr(e.is),ht(ri(D(a)(`group/item flex flex-col gap-px`))),{default:O(()=>[P(`div`,Cln,[A(t.$slots,`before`,{open:r.value}),A(t.$slots,`button`,{level:D(i),open:r.value},()=>[R(B0,{is:`button`,active:e.active,"aria-expanded":e.discrete?void 0:r.value,disabled:e.disabled,icon:e.icon,indent:D(i),selected:e.selected,onClick:o},Ir({indent:O(()=>[R(R0,{class:`-my-2 mr-0`,indent:D(i),selected:e.selected},null,8,[`indent`,`selected`])]),aside:O(()=>[A(t.$slots,`aside`,{open:r.value}),e.discrete?(j(),N(K0,{key:0})):A(t.$slots,`toggle`,{open:r.value},()=>[R(U0,{class:`text-sidebar-c-2`,open:r.value},null,8,[`open`])],void 0,1)]),default:O(()=>[A(t.$slots,`default`,{open:r.value})]),_:2},[t.$slots.icon?{name:`icon`,fn:O(()=>[A(t.$slots,`icon`,{open:r.value})]),key:`0`}:void 0]),1032,[`active`,`aria-expanded`,`disabled`,`icon`,`indent`,`selected`]),e.discrete?(j(),N(G0,{key:0,open:r.value,selected:e.selected,onClick:s},{default:O(()=>[A(t.$slots,`toggle`,{open:r.value},()=>[R(U0,{open:r.value},{label:O(()=>[F(T(r.value?`Close`:`Open`)+` `,1),A(t.$slots,`default`,{open:r.value})]),_:3},8,[`open`])])]),_:3},8,[`open`,`selected`])):I(``,!0)]),A(t.$slots,`after`,{open:r.value})]),r.value?(j(),M(`ul`,wln,[e.loading?(j(),N(Z0,{key:0})):A(t.$slots,`items`,{open:r.value},void 0,void 0,1)])):I(``,!0)]),_:3},16))}})})),Dln,Oln=s((()=>{Eln(),Dln=Tln})),kln,Aln,jln=s((()=>{B(),kln=Symbol(),Aln=()=>{let e=hn(new Set),t=z(()=>{for(let t of e)if(t())return!0;return!1});return dr(kln,e),{open:t}}})),Mln,Nln=s((()=>{jln(),ru(),B(),Mln=k({inheritAttrs:!1,__name:`ScalarSidebarItems`,props:{is:{default:`ul`}},setup(e){let{open:t}=Aln(),{cx:n}=nu();return(r,i)=>(j(),N(Pr(e.is),ht(ri(D(n)(`group/items relative flex flex-col p-(--scalar-sidebar-padding) gap-px transition-transform duration-300`,D(t)?`-translate-x-full`:`translate-x-0`))),{default:O(()=>[A(r.$slots,`default`)]),_:3},16))}})})),Pln,Fln=s((()=>{Nln(),Pln=Mln})),Iln,Lln=s((()=>{z0(),ru(),B(),Iln=k({inheritAttrs:!1,__name:`ScalarSidebarSpacer`,props:{indent:{default:0}},setup(e){let{cx:t}=nu();return(n,r)=>(j(),M(`div`,ht(ri(D(t)(`flex shrink-0 px-2 h-1`))),[R(R0,{indent:e.indent},null,8,[`indent`])],16))}})})),Q0,Rln=s((()=>{Lln(),Q0=Iln})),zln,Bln,Vln,Hln,Uln,Wln=s((()=>{ru(),B(),Pc(),zln={class:`flex-1 text-start leading-none`},Bln={key:0,class:`text-sidebar-c-2 rounded border px-1.25 py-1 text-xs leading-none font-medium uppercase`},Vln={class:`sr-only`},Hln={dir:`ltr`},Uln=k({inheritAttrs:!1,__name:`ScalarSidebarSearchButton`,props:{shortcutLabel:{default:`Keyboard Shortcut:`}},setup(e){let{cx:t}=nu();return(n,r)=>(j(),M(`button`,li({type:`button`},D(t)(`flex items-center rounded border text-base h-8 gap-1 pl-2 pr-1`,`bg-sidebar-b-search border-sidebar-border-search text-sidebar-c-search`)),[R(D(Sc),{"aria-hidden":`true`,class:`size-4`}),P(`span`,zln,[A(n.$slots,`default`,{},()=>[r[0]||=F(`Search...`,-1)])]),n.$slots.shortcut?(j(),M(`span`,Bln,[P(`span`,Vln,T(e.shortcutLabel),1),P(`kbd`,Hln,[A(n.$slots,`shortcut`)])])):I(``,!0)],16))}})})),Gln,Kln=s((()=>{Wln(),Gln=Uln})),qln,Jln,Yln=s((()=>{Aw(),JF(),ru(),B(),Pc(),qln=[`aria-label`],Jln=k({inheritAttrs:!1,__name:`ScalarSidebarSearchInput`,props:Vr({autofocus:{type:Boolean},loader:{},label:{}},{modelValue:{},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let t=E(null),n=Gr(e,`modelValue`);function r(){n.value=``,t.value&&t.value.focus()}let{stylingAttrsCx:i,otherAttrs:a}=nu();return zi(()=>e.autofocus&&t.value?.focus()),(o,s)=>(j(),M(`label`,ht(ri(D(i)(`flex items-center rounded border text-base has-[:focus-visible]:bg-sidebar-b-1 has-[:focus-visible]:outline h-8 gap-1 pl-2 pr-1.5`,`bg-sidebar-b-search border-sidebar-border-search`,n.value?`text-sidebar-c-1`:`text-sidebar-c-search`))),[R(D(Sc),{class:`text-sidebar-c-search size-4`}),lr(P(`input`,li({ref_key:`inputRef`,ref:t,"onUpdate:modelValue":s[0]||=e=>n.value=e,"aria-label":e.label??`Enter search query`,autocapitalize:`off`,autocomplete:`off`,autocorrect:`off`,class:`flex-1 appearance-none rounded border-none bg-transparent outline-none`,placeholder:`Search...`,spellcheck:`false`,type:`search`},D(a)),null,16,qln),[[Ka,n.value]]),e.loader&&e.loader.isActive?(j(),N(D(kw),{key:0,class:`mr-3 self-center`,loader:e.loader,size:`md`},null,8,[`loader`])):n.value?(j(),N(D(qF),{key:1,class:`size-4 p-px`,icon:D(Nc),label:`Clear Search`,weight:`bold`,onClick:Xa(r,[`stop`,`prevent`])},null,8,[`icon`])):I(``,!0)],16))}})})),Xln,Zln=s((()=>{Yln(),Xln=Jln})),Qln,$ln,eun=s((()=>{V0(),Y0(),Sln(),Rln(),ru(),B(),Qln={class:`flex flex-col gap-px`},$ln=k({inheritAttrs:!1,__name:`ScalarSidebarSection`,props:{is:{default:`li`},icon:{type:[Object,Function]},active:{type:Boolean},selected:{type:Boolean},disabled:{type:Boolean},indent:{},loading:{type:Boolean}},setup(e){let{level:t}=J0({increment:!1}),{cx:n}=nu();return(r,i)=>(j(),N(Pr(e.is),ht(ri(D(n)(`group/item group/sidebar-section contents`))),{default:O(()=>[R(Q0,{class:`group/spacer-before h-3`,indent:D(t)},null,8,[`indent`]),r.$slots.default?(j(),N(B0,{key:0,is:`div`,class:`py-1.75 text-sm/4 font-bold`,disabled:``,icon:e.icon,indent:D(t)},{default:O(()=>[A(r.$slots,`default`)]),_:3},8,[`icon`,`indent`])):I(``,!0),P(`ul`,Qln,[e.loading?(j(),N(Z0,{key:0})):A(r.$slots,`items`,{},void 0,void 0,1)]),R(Q0,{class:`group/spacer-after h-3`,indent:D(t)},null,8,[`indent`])]),_:3},16))}})})),$0,tun=s((()=>{eun(),$0=$ln})),e2=s((()=>{Gcn(),z0(),V0(),oln(),W0(),pln(),gln(),yln(),Oln(),Fln(),Kln(),Zln(),tun()}));xcn(),E0(),Rcn(),Vcn(),e2(),vv(),f$t();var nun=(e,t={})=>{let{prefix:n=``,cache:r=new WeakMap}=t,i=e=>({$ref:`#${e??``}`});if(typeof e!=`object`||!e)return e;let a=n;r.set(e,a);let o=Array.isArray(e)?Array(e.length):{},s=new qJ;for(s.enqueue({node:e,result:o,path:a});!s.isEmpty();){let e=s.dequeue();if(!e)continue;let{node:t,result:n,path:a}=e;if(Array.isArray(t)){let e=t,o=n;for(let t=0;t