astro-vscode 2.16.0 → 2.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
 
2
- > astro-vscode@2.16.0 build /home/runner/work/astro/astro/packages/language-tools/vscode
2
+ > astro-vscode@2.16.2 build /home/runner/work/astro/astro/packages/language-tools/vscode
3
3
  > tsc && pnpm prebuild && node scripts/build.mjs -- --minify
4
4
 
5
5
 
6
- > astro-vscode@2.16.0 prebuild /home/runner/work/astro/astro/packages/language-tools/vscode
6
+ > astro-vscode@2.16.2 prebuild /home/runner/work/astro/astro/packages/language-tools/vscode
7
7
  > cd ../ts-plugin && pnpm build
8
8
 
9
9
 
10
- > @astrojs/ts-plugin@1.10.5 build /home/runner/work/astro/astro/packages/language-tools/ts-plugin
10
+ > @astrojs/ts-plugin@1.10.6 build /home/runner/work/astro/astro/packages/language-tools/ts-plugin
11
11
  > tsc
12
12
 
package/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
1
  # astro-vscode
2
2
 
3
+ ## 2.16.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#14909](https://github.com/withastro/astro/pull/14909) [`629d86b`](https://github.com/withastro/astro/commit/629d86b8279ea27c3a56843fd772c3fe11b27983) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fixes borked publish
8
+
9
+ ## 2.16.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#14740](https://github.com/withastro/astro/pull/14740) [`abfed97`](https://github.com/withastro/astro/commit/abfed97d45ab04c625d6463f9be1e5b1d23c3573) Thanks [@ArmandPhilippot](https://github.com/ArmandPhilippot)! - Fixes link targets in documentation following repository relocation.
14
+
15
+ - [#14710](https://github.com/withastro/astro/pull/14710) [`c6903cd`](https://github.com/withastro/astro/commit/c6903cd6ce20e17d6604ea3412bd66ea8387d079) Thanks [@RomanHauksson](https://github.com/RomanHauksson)! - Fixes the displayed description for the Content-intellisense setting to refer to the correct configuration file option
16
+
3
17
  ## 2.16.0
4
18
 
5
19
  ### Minor Changes
6
20
 
7
- - [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/language-tools/issues/1035 for more details.
21
+ - [#14584](https://github.com/withastro/astro/pull/14584) [`3c7ab17`](https://github.com/withastro/astro/commit/3c7ab178da26d095777495bcee94b468937936a3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Adds a new setting for disabling the Auto Import Cache. The cache can cause an issue where new files are not able to be automatically imported using autocomplete in certain cases. Check https://github.com/withastro/astro/issues/14642 for more details.
8
22
 
9
23
  ## 2.15.5
10
24
 
@@ -29,7 +43,7 @@
29
43
 
30
44
  ### Patch Changes
31
45
 
32
- - 43f66cd: Fixes publishing on OpenVSX. For full changelogs between 2.11.0 and this version, please see [CHANGELOG.md](https://github.com/withastro/language-tools/blob/main/packages/vscode/CHANGELOG.md) in the repository.
46
+ - 43f66cd: Fixes publishing on OpenVSX. For full changelogs between 2.11.0 and this version, please see [CHANGELOG.md](https://github.com/withastro/astro/blob/main/packages/language-tools/vscode/CHANGELOG.md) in the repository.
33
47
 
34
48
  ## 2.15.1
35
49
 
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > 🧑‍🚀 Not sure what Astro is? See our website at [astro.build](https://astro.build)!
4
4
 
5
- Provides language support for `.astro` files. This extension is powered by the [Astro language server](https://github.com/withastro/language-tools/tree/main/packages/language-server).
5
+ Provides language support for `.astro` files. This extension is powered by the [Astro language server](https://github.com/withastro/astro/tree/main/packages/language-tools/language-server).
6
6
 
7
7
  ## Features
8
8
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- var Q2e=Object.create;var p1=Object.defineProperty;var X2e=Object.getOwnPropertyDescriptor;var Z2e=Object.getOwnPropertyNames;var exe=Object.getPrototypeOf,txe=Object.prototype.hasOwnProperty;var Ce=(t,e)=>()=>(t&&(e=t(t=0)),e);var I=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qa=(t,e)=>{for(var n in e)p1(t,n,{get:e[n],enumerable:!0})},e7=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Z2e(e))!txe.call(t,i)&&i!==n&&p1(t,i,{get:()=>e[i],enumerable:!(r=X2e(e,i))||r.enumerable});return t};var Wr=(t,e,n)=>(n=t!=null?Q2e(exe(t)):{},e7(e||!t||!t.__esModule?p1(n,"default",{value:t,enumerable:!0}):n,t)),or=t=>e7(p1({},"__esModule",{value:!0}),t);var t7=I((jft,nxe)=>{nxe.exports={name:"@astrojs/language-server",version:"2.16.0",author:"withastro",license:"MIT",repository:{type:"git",url:"https://github.com/withastro/astro.git",directory:"packages/language-tools/language-server"},type:"commonjs",main:"dist/index.js",files:["bin","dist/**/*.js","dist/**/*.d.ts","types/**/*.d.ts"],bin:{"astro-ls":"./bin/nodeServer.js"},scripts:{build:"tsc",dev:"tsc --watch","sync-fixture":"pnpm --dir ./test/fixture sync",test:'pnpm sync-fixture && astro-scripts test "**/*.test.ts" --teardown-test ./test/misc/teardown.ts --tsx true',"test:match":"pnpm run test --match"},dependencies:{"@astrojs/compiler":"^2.10.3","@astrojs/yaml2ts":"^0.2.2","@jridgewell/sourcemap-codec":"^1.4.15","@volar/kit":"~2.4.23","@volar/language-core":"~2.4.23","@volar/language-server":"~2.4.23","@volar/language-service":"~2.4.23","fast-glob":"^3.2.12","muggle-string":"^0.4.1","volar-service-css":"0.0.66","volar-service-emmet":"0.0.66","volar-service-html":"0.0.66","volar-service-prettier":"0.0.66","volar-service-typescript":"0.0.66","volar-service-typescript-twoslash-queries":"0.0.66","volar-service-yaml":"0.0.66","vscode-html-languageservice":"^5.5.2","vscode-uri":"^3.1.0"},devDependencies:{"@types/node":"^20.9.0","@volar/test-utils":"~2.4.23","@volar/typescript":"~2.4.23",tsx:"^4.20.6",typescript:"^5.9.3","vscode-languageserver-protocol":"^3.17.5","vscode-languageserver-textdocument":"^1.0.11","astro-scripts":"workspace:*"},peerDependencies:{prettier:"^3.0.0","prettier-plugin-astro":">=0.11.0"},peerDependenciesMeta:{prettier:{optional:!0},"prettier-plugin-astro":{optional:!0}}}});var m1=I(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.thenable=Tr.typedArray=Tr.stringArray=Tr.array=Tr.func=Tr.error=Tr.number=Tr.string=Tr.boolean=void 0;function rxe(t){return t===!0||t===!1}Tr.boolean=rxe;function n7(t){return typeof t=="string"||t instanceof String}Tr.string=n7;function ixe(t){return typeof t=="number"||t instanceof Number}Tr.number=ixe;function sxe(t){return t instanceof Error}Tr.error=sxe;function r7(t){return typeof t=="function"}Tr.func=r7;function i7(t){return Array.isArray(t)}Tr.array=i7;function oxe(t){return i7(t)&&t.every(e=>n7(e))}Tr.stringArray=oxe;function axe(t,e){return Array.isArray(t)&&t.every(e)}Tr.typedArray=axe;function lxe(t){return t&&r7(t.then)}Tr.thenable=lxe});var rp=I(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.stringArray=Ai.array=Ai.func=Ai.error=Ai.number=Ai.string=Ai.boolean=void 0;function cxe(t){return t===!0||t===!1}Ai.boolean=cxe;function s7(t){return typeof t=="string"||t instanceof String}Ai.string=s7;function uxe(t){return typeof t=="number"||t instanceof Number}Ai.number=uxe;function dxe(t){return t instanceof Error}Ai.error=dxe;function hxe(t){return typeof t=="function"}Ai.func=hxe;function o7(t){return Array.isArray(t)}Ai.array=o7;function fxe(t){return o7(t)&&t.every(e=>s7(e))}Ai.stringArray=fxe});var lM=I(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.Message=Ge.NotificationType9=Ge.NotificationType8=Ge.NotificationType7=Ge.NotificationType6=Ge.NotificationType5=Ge.NotificationType4=Ge.NotificationType3=Ge.NotificationType2=Ge.NotificationType1=Ge.NotificationType0=Ge.NotificationType=Ge.RequestType9=Ge.RequestType8=Ge.RequestType7=Ge.RequestType6=Ge.RequestType5=Ge.RequestType4=Ge.RequestType3=Ge.RequestType2=Ge.RequestType1=Ge.RequestType=Ge.RequestType0=Ge.AbstractMessageSignature=Ge.ParameterStructures=Ge.ResponseError=Ge.ErrorCodes=void 0;var bh=rp(),$T;(function(t){t.ParseError=-32700,t.InvalidRequest=-32600,t.MethodNotFound=-32601,t.InvalidParams=-32602,t.InternalError=-32603,t.jsonrpcReservedErrorRangeStart=-32099,t.serverErrorStart=-32099,t.MessageWriteError=-32099,t.MessageReadError=-32098,t.PendingResponseRejected=-32097,t.ConnectionInactive=-32096,t.ServerNotInitialized=-32002,t.UnknownErrorCode=-32001,t.jsonrpcReservedErrorRangeEnd=-32e3,t.serverErrorEnd=-32e3})($T||(Ge.ErrorCodes=$T={}));var xb=class extends Error{constructor(e,n,r){super(n),this.code=bh.number(e)?e:$T.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,xb.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};Ge.ResponseError=xb;var Xr=class{constructor(e){this.kind=e}static is(e){return e===Xr.auto||e===Xr.byName||e===Xr.byPosition}toString(){return this.kind}};Ge.ParameterStructures=Xr;Xr.auto=new Xr("auto");Xr.byPosition=new Xr("byPosition");Xr.byName=new Xr("byName");var jn=class{constructor(e,n){this.method=e,this.numberOfParams=n}get parameterStructures(){return Xr.auto}};Ge.AbstractMessageSignature=jn;var zT=class extends jn{constructor(e){super(e,0)}};Ge.RequestType0=zT;var jT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.RequestType=jT;var WT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.RequestType1=WT;var UT=class extends jn{constructor(e){super(e,2)}};Ge.RequestType2=UT;var BT=class extends jn{constructor(e){super(e,3)}};Ge.RequestType3=BT;var HT=class extends jn{constructor(e){super(e,4)}};Ge.RequestType4=HT;var VT=class extends jn{constructor(e){super(e,5)}};Ge.RequestType5=VT;var KT=class extends jn{constructor(e){super(e,6)}};Ge.RequestType6=KT;var GT=class extends jn{constructor(e){super(e,7)}};Ge.RequestType7=GT;var JT=class extends jn{constructor(e){super(e,8)}};Ge.RequestType8=JT;var YT=class extends jn{constructor(e){super(e,9)}};Ge.RequestType9=YT;var QT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.NotificationType=QT;var XT=class extends jn{constructor(e){super(e,0)}};Ge.NotificationType0=XT;var ZT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.NotificationType1=ZT;var eM=class extends jn{constructor(e){super(e,2)}};Ge.NotificationType2=eM;var tM=class extends jn{constructor(e){super(e,3)}};Ge.NotificationType3=tM;var nM=class extends jn{constructor(e){super(e,4)}};Ge.NotificationType4=nM;var rM=class extends jn{constructor(e){super(e,5)}};Ge.NotificationType5=rM;var iM=class extends jn{constructor(e){super(e,6)}};Ge.NotificationType6=iM;var sM=class extends jn{constructor(e){super(e,7)}};Ge.NotificationType7=sM;var oM=class extends jn{constructor(e){super(e,8)}};Ge.NotificationType8=oM;var aM=class extends jn{constructor(e){super(e,9)}};Ge.NotificationType9=aM;var a7;(function(t){function e(i){let s=i;return s&&bh.string(s.method)&&(bh.string(s.id)||bh.number(s.id))}t.isRequest=e;function n(i){let s=i;return s&&bh.string(s.method)&&i.id===void 0}t.isNotification=n;function r(i){let s=i;return s&&(s.result!==void 0||!!s.error)&&(bh.string(s.id)||bh.number(s.id)||s.id===null)}t.isResponse=r})(a7||(Ge.Message=a7={}))});var uM=I(yu=>{"use strict";var l7;Object.defineProperty(yu,"__esModule",{value:!0});yu.LRUCache=yu.LinkedMap=yu.Touch=void 0;var Fi;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Fi||(yu.Touch=Fi={}));var g1=class{constructor(){this[l7]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,n=Fi.None){let r=this._map.get(e);if(r)return n!==Fi.None&&this.touch(r,n),r.value}set(e,n,r=Fi.None){let i=this._map.get(e);if(i)i.value=n,r!==Fi.None&&this.touch(i,r);else{switch(i={key:e,value:n,next:void 0,previous:void 0},r){case Fi.None:this.addItemLast(i);break;case Fi.First:this.addItemFirst(i);break;case Fi.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){let r=this._state,i=this._head;for(;i;){if(n?e.bind(n)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:n.key,done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}values(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:n.value,done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}entries(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:[n.key,n.value],done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}[(l7=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,r=this.size;for(;n&&r>e;)this._map.delete(n.key),n=n.next,r--;this._head=n,this._size=r,n&&(n.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let n=e.next,r=e.previous;if(!n||!r)throw new Error("Invalid list");n.previous=r,r.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==Fi.First&&n!==Fi.Last)){if(n===Fi.First){if(e===this._head)return;let r=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===Fi.Last){if(e===this._tail)return;let r=e.next,i=e.previous;e===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((n,r)=>{e.push([r,n])}),e}fromJSON(e){this.clear();for(let[n,r]of e)this.set(n,r)}};yu.LinkedMap=g1;var cM=class extends g1{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,n=Fi.AsNew){return super.get(e,n)}peek(e){return super.get(e,Fi.None)}set(e,n){return super.set(e,n,Fi.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};yu.LRUCache=cM});var u7=I(b1=>{"use strict";Object.defineProperty(b1,"__esModule",{value:!0});b1.Disposable=void 0;var c7;(function(t){function e(n){return{dispose:n}}t.create=e})(c7||(b1.Disposable=c7={}))});var vu=I(fM=>{"use strict";Object.defineProperty(fM,"__esModule",{value:!0});var dM;function hM(){if(dM===void 0)throw new Error("No runtime abstraction layer installed");return dM}(function(t){function e(n){if(n===void 0)throw new Error("No runtime abstraction layer provided");dM=n}t.install=e})(hM||(hM={}));fM.default=hM});var op=I(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.Emitter=sp.Event=void 0;var pxe=vu(),d7;(function(t){let e={dispose(){}};t.None=function(){return e}})(d7||(sp.Event=d7={}));var pM=class{add(e,n=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(n),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,n)})}remove(e,n=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i<s;i++)if(this._callbacks[i]===e)if(this._contexts[i]===n){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else r=!0;if(r)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let n=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let s=0,o=r.length;s<o;s++)try{n.push(r[s].apply(i[s],e))}catch(a){(0,pxe.default)().console.error(a)}return n}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},ip=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,n,r)=>{this._callbacks||(this._callbacks=new pM),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,n);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,n),i.dispose=ip._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};sp.Emitter=ip;ip._noop=function(){}});var w1=I(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.CancellationTokenSource=ap.CancellationToken=void 0;var mxe=vu(),gxe=rp(),mM=op(),y1;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:mM.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:mM.Event.None});function e(n){let r=n;return r&&(r===t.None||r===t.Cancelled||gxe.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}t.is=e})(y1||(ap.CancellationToken=y1={}));var bxe=Object.freeze(function(t,e){let n=(0,mxe.default)().timer.setTimeout(t.bind(e),0);return{dispose(){n.dispose()}}}),v1=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?bxe:(this._emitter||(this._emitter=new mM.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},gM=class{get token(){return this._token||(this._token=new v1),this._token}cancel(){this._token?this._token.cancel():this._token=y1.Cancelled}dispose(){this._token?this._token instanceof v1&&this._token.dispose():this._token=y1.None}};ap.CancellationTokenSource=gM});var h7=I(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.SharedArrayReceiverStrategy=lp.SharedArraySenderStrategy=void 0;var yxe=w1(),kb;(function(t){t.Continue=0,t.Cancelled=1})(kb||(kb={}));var bM=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let n=new SharedArrayBuffer(4),r=new Int32Array(n,0,1);r[0]=kb.Continue,this.buffers.set(e.id,n),e.$cancellationData=n}async sendCancellation(e,n){let r=this.buffers.get(n);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,kb.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};lp.SharedArraySenderStrategy=bM;var yM=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===kb.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},vM=class{constructor(e){this.token=new yM(e)}cancel(){}dispose(){}},wM=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let n=e.$cancellationData;return n===void 0?new yxe.CancellationTokenSource:new vM(n)}};lp.SharedArrayReceiverStrategy=wM});var SM=I(_1=>{"use strict";Object.defineProperty(_1,"__esModule",{value:!0});_1.Semaphore=void 0;var vxe=vu(),_M=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((n,r)=>{this._waiting.push({thunk:e,resolve:n,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,vxe.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let n=e.thunk();n instanceof Promise?n.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(n),this.runNext())}catch(n){this._active--,e.reject(n),this.runNext()}}};_1.Semaphore=_M});var p7=I(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.ReadableStreamMessageReader=wu.AbstractMessageReader=wu.MessageReader=void 0;var xM=vu(),cp=rp(),CM=op(),wxe=SM(),f7;(function(t){function e(n){let r=n;return r&&cp.func(r.listen)&&cp.func(r.dispose)&&cp.func(r.onError)&&cp.func(r.onClose)&&cp.func(r.onPartialMessage)}t.is=e})(f7||(wu.MessageReader=f7={}));var S1=class{constructor(){this.errorEmitter=new CM.Emitter,this.closeEmitter=new CM.Emitter,this.partialMessageEmitter=new CM.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${cp.string(e.message)?e.message:"unknown"}`)}};wu.AbstractMessageReader=S1;var kM;(function(t){function e(n){let r,i,s,o=new Map,a,l=new Map;if(n===void 0||typeof n=="string")r=n??"utf-8";else{if(r=n.charset??"utf-8",n.contentDecoder!==void 0&&(s=n.contentDecoder,o.set(s.name,s)),n.contentDecoders!==void 0)for(let c of n.contentDecoders)o.set(c.name,c);if(n.contentTypeDecoder!==void 0&&(a=n.contentTypeDecoder,l.set(a.name,a)),n.contentTypeDecoders!==void 0)for(let c of n.contentTypeDecoders)l.set(c.name,c)}return a===void 0&&(a=(0,xM.default)().applicationJson.decoder,l.set(a.name,a)),{charset:r,contentDecoder:s,contentDecoders:o,contentTypeDecoder:a,contentTypeDecoders:l}}t.fromOptions=e})(kM||(kM={}));var AM=class extends S1{constructor(e,n){super(),this.readable=e,this.options=kM.fromOptions(n),this.buffer=(0,xM.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new wxe.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let n=this.readable.onData(r=>{this.onData(r)});return this.readable.onError(r=>this.fireError(r)),this.readable.onClose(()=>this.fireClose()),n}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let r=this.buffer.tryReadHeaders(!0);if(!r)return;let i=r.get("content-length");if(!i){this.fireError(new Error(`Header must provide a Content-Length property.
2
+ var Q2e=Object.create;var p1=Object.defineProperty;var X2e=Object.getOwnPropertyDescriptor;var Z2e=Object.getOwnPropertyNames;var exe=Object.getPrototypeOf,txe=Object.prototype.hasOwnProperty;var Ce=(t,e)=>()=>(t&&(e=t(t=0)),e);var I=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qa=(t,e)=>{for(var n in e)p1(t,n,{get:e[n],enumerable:!0})},e7=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Z2e(e))!txe.call(t,i)&&i!==n&&p1(t,i,{get:()=>e[i],enumerable:!(r=X2e(e,i))||r.enumerable});return t};var Wr=(t,e,n)=>(n=t!=null?Q2e(exe(t)):{},e7(e||!t||!t.__esModule?p1(n,"default",{value:t,enumerable:!0}):n,t)),or=t=>e7(p1({},"__esModule",{value:!0}),t);var t7=I((jft,nxe)=>{nxe.exports={name:"@astrojs/language-server",version:"2.16.1",author:"withastro",license:"MIT",repository:{type:"git",url:"https://github.com/withastro/astro.git",directory:"packages/language-tools/language-server"},type:"commonjs",main:"dist/index.js",files:["bin","dist/**/*.js","dist/**/*.d.ts","types/**/*.d.ts"],bin:{"astro-ls":"./bin/nodeServer.js"},scripts:{build:"tsc",dev:"tsc --watch","sync-fixture":"pnpm --dir ./test/fixture sync",test:'pnpm sync-fixture && astro-scripts test "**/*.test.ts" --teardown-test ./test/misc/teardown.ts --tsx true',"test:match":"pnpm run test --match"},dependencies:{"@astrojs/compiler":"^2.10.3","@astrojs/yaml2ts":"^0.2.2","@jridgewell/sourcemap-codec":"^1.4.15","@volar/kit":"~2.4.23","@volar/language-core":"~2.4.23","@volar/language-server":"~2.4.23","@volar/language-service":"~2.4.23","fast-glob":"^3.2.12","muggle-string":"^0.4.1","volar-service-css":"0.0.66","volar-service-emmet":"0.0.66","volar-service-html":"0.0.66","volar-service-prettier":"0.0.66","volar-service-typescript":"0.0.66","volar-service-typescript-twoslash-queries":"0.0.66","volar-service-yaml":"0.0.66","vscode-html-languageservice":"^5.5.2","vscode-uri":"^3.1.0"},devDependencies:{"@types/node":"^20.9.0","@volar/test-utils":"~2.4.23","@volar/typescript":"~2.4.23",tsx:"^4.20.6",typescript:"^5.9.3","vscode-languageserver-protocol":"^3.17.5","vscode-languageserver-textdocument":"^1.0.11","astro-scripts":"workspace:*"},peerDependencies:{prettier:"^3.0.0","prettier-plugin-astro":">=0.11.0"},peerDependenciesMeta:{prettier:{optional:!0},"prettier-plugin-astro":{optional:!0}}}});var m1=I(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.thenable=Tr.typedArray=Tr.stringArray=Tr.array=Tr.func=Tr.error=Tr.number=Tr.string=Tr.boolean=void 0;function rxe(t){return t===!0||t===!1}Tr.boolean=rxe;function n7(t){return typeof t=="string"||t instanceof String}Tr.string=n7;function ixe(t){return typeof t=="number"||t instanceof Number}Tr.number=ixe;function sxe(t){return t instanceof Error}Tr.error=sxe;function r7(t){return typeof t=="function"}Tr.func=r7;function i7(t){return Array.isArray(t)}Tr.array=i7;function oxe(t){return i7(t)&&t.every(e=>n7(e))}Tr.stringArray=oxe;function axe(t,e){return Array.isArray(t)&&t.every(e)}Tr.typedArray=axe;function lxe(t){return t&&r7(t.then)}Tr.thenable=lxe});var rp=I(Ai=>{"use strict";Object.defineProperty(Ai,"__esModule",{value:!0});Ai.stringArray=Ai.array=Ai.func=Ai.error=Ai.number=Ai.string=Ai.boolean=void 0;function cxe(t){return t===!0||t===!1}Ai.boolean=cxe;function s7(t){return typeof t=="string"||t instanceof String}Ai.string=s7;function uxe(t){return typeof t=="number"||t instanceof Number}Ai.number=uxe;function dxe(t){return t instanceof Error}Ai.error=dxe;function hxe(t){return typeof t=="function"}Ai.func=hxe;function o7(t){return Array.isArray(t)}Ai.array=o7;function fxe(t){return o7(t)&&t.every(e=>s7(e))}Ai.stringArray=fxe});var lM=I(Ge=>{"use strict";Object.defineProperty(Ge,"__esModule",{value:!0});Ge.Message=Ge.NotificationType9=Ge.NotificationType8=Ge.NotificationType7=Ge.NotificationType6=Ge.NotificationType5=Ge.NotificationType4=Ge.NotificationType3=Ge.NotificationType2=Ge.NotificationType1=Ge.NotificationType0=Ge.NotificationType=Ge.RequestType9=Ge.RequestType8=Ge.RequestType7=Ge.RequestType6=Ge.RequestType5=Ge.RequestType4=Ge.RequestType3=Ge.RequestType2=Ge.RequestType1=Ge.RequestType=Ge.RequestType0=Ge.AbstractMessageSignature=Ge.ParameterStructures=Ge.ResponseError=Ge.ErrorCodes=void 0;var bh=rp(),$T;(function(t){t.ParseError=-32700,t.InvalidRequest=-32600,t.MethodNotFound=-32601,t.InvalidParams=-32602,t.InternalError=-32603,t.jsonrpcReservedErrorRangeStart=-32099,t.serverErrorStart=-32099,t.MessageWriteError=-32099,t.MessageReadError=-32098,t.PendingResponseRejected=-32097,t.ConnectionInactive=-32096,t.ServerNotInitialized=-32002,t.UnknownErrorCode=-32001,t.jsonrpcReservedErrorRangeEnd=-32e3,t.serverErrorEnd=-32e3})($T||(Ge.ErrorCodes=$T={}));var xb=class extends Error{constructor(e,n,r){super(n),this.code=bh.number(e)?e:$T.UnknownErrorCode,this.data=r,Object.setPrototypeOf(this,xb.prototype)}toJson(){let e={code:this.code,message:this.message};return this.data!==void 0&&(e.data=this.data),e}};Ge.ResponseError=xb;var Xr=class{constructor(e){this.kind=e}static is(e){return e===Xr.auto||e===Xr.byName||e===Xr.byPosition}toString(){return this.kind}};Ge.ParameterStructures=Xr;Xr.auto=new Xr("auto");Xr.byPosition=new Xr("byPosition");Xr.byName=new Xr("byName");var jn=class{constructor(e,n){this.method=e,this.numberOfParams=n}get parameterStructures(){return Xr.auto}};Ge.AbstractMessageSignature=jn;var zT=class extends jn{constructor(e){super(e,0)}};Ge.RequestType0=zT;var jT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.RequestType=jT;var WT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.RequestType1=WT;var UT=class extends jn{constructor(e){super(e,2)}};Ge.RequestType2=UT;var BT=class extends jn{constructor(e){super(e,3)}};Ge.RequestType3=BT;var HT=class extends jn{constructor(e){super(e,4)}};Ge.RequestType4=HT;var VT=class extends jn{constructor(e){super(e,5)}};Ge.RequestType5=VT;var KT=class extends jn{constructor(e){super(e,6)}};Ge.RequestType6=KT;var GT=class extends jn{constructor(e){super(e,7)}};Ge.RequestType7=GT;var JT=class extends jn{constructor(e){super(e,8)}};Ge.RequestType8=JT;var YT=class extends jn{constructor(e){super(e,9)}};Ge.RequestType9=YT;var QT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.NotificationType=QT;var XT=class extends jn{constructor(e){super(e,0)}};Ge.NotificationType0=XT;var ZT=class extends jn{constructor(e,n=Xr.auto){super(e,1),this._parameterStructures=n}get parameterStructures(){return this._parameterStructures}};Ge.NotificationType1=ZT;var eM=class extends jn{constructor(e){super(e,2)}};Ge.NotificationType2=eM;var tM=class extends jn{constructor(e){super(e,3)}};Ge.NotificationType3=tM;var nM=class extends jn{constructor(e){super(e,4)}};Ge.NotificationType4=nM;var rM=class extends jn{constructor(e){super(e,5)}};Ge.NotificationType5=rM;var iM=class extends jn{constructor(e){super(e,6)}};Ge.NotificationType6=iM;var sM=class extends jn{constructor(e){super(e,7)}};Ge.NotificationType7=sM;var oM=class extends jn{constructor(e){super(e,8)}};Ge.NotificationType8=oM;var aM=class extends jn{constructor(e){super(e,9)}};Ge.NotificationType9=aM;var a7;(function(t){function e(i){let s=i;return s&&bh.string(s.method)&&(bh.string(s.id)||bh.number(s.id))}t.isRequest=e;function n(i){let s=i;return s&&bh.string(s.method)&&i.id===void 0}t.isNotification=n;function r(i){let s=i;return s&&(s.result!==void 0||!!s.error)&&(bh.string(s.id)||bh.number(s.id)||s.id===null)}t.isResponse=r})(a7||(Ge.Message=a7={}))});var uM=I(yu=>{"use strict";var l7;Object.defineProperty(yu,"__esModule",{value:!0});yu.LRUCache=yu.LinkedMap=yu.Touch=void 0;var Fi;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Fi||(yu.Touch=Fi={}));var g1=class{constructor(){this[l7]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,n=Fi.None){let r=this._map.get(e);if(r)return n!==Fi.None&&this.touch(r,n),r.value}set(e,n,r=Fi.None){let i=this._map.get(e);if(i)i.value=n,r!==Fi.None&&this.touch(i,r);else{switch(i={key:e,value:n,next:void 0,previous:void 0},r){case Fi.None:this.addItemLast(i);break;case Fi.First:this.addItemFirst(i);break;case Fi.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let n=this._map.get(e);if(n)return this._map.delete(e),this.removeItem(n),this._size--,n.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,n){let r=this._state,i=this._head;for(;i;){if(n?e.bind(n)(i.value,i.key,this):e(i.value,i.key,this),this._state!==r)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:n.key,done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}values(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:n.value,done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}entries(){let e=this._state,n=this._head,r={[Symbol.iterator]:()=>r,next:()=>{if(this._state!==e)throw new Error("LinkedMap got modified during iteration.");if(n){let i={value:[n.key,n.value],done:!1};return n=n.next,i}else return{value:void 0,done:!0}}};return r}[(l7=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let n=this._head,r=this.size;for(;n&&r>e;)this._map.delete(n.key),n=n.next,r--;this._head=n,this._size=r,n&&(n.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let n=e.next,r=e.previous;if(!n||!r)throw new Error("Invalid list");n.previous=r,r.next=n}e.next=void 0,e.previous=void 0,this._state++}touch(e,n){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(n!==Fi.First&&n!==Fi.Last)){if(n===Fi.First){if(e===this._head)return;let r=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(r.previous=i,i.next=r),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(n===Fi.Last){if(e===this._tail)return;let r=e.next,i=e.previous;e===this._head?(r.previous=void 0,this._head=r):(r.previous=i,i.next=r),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((n,r)=>{e.push([r,n])}),e}fromJSON(e){this.clear();for(let[n,r]of e)this.set(n,r)}};yu.LinkedMap=g1;var cM=class extends g1{constructor(e,n=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,n),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,n=Fi.AsNew){return super.get(e,n)}peek(e){return super.get(e,Fi.None)}set(e,n){return super.set(e,n,Fi.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};yu.LRUCache=cM});var u7=I(b1=>{"use strict";Object.defineProperty(b1,"__esModule",{value:!0});b1.Disposable=void 0;var c7;(function(t){function e(n){return{dispose:n}}t.create=e})(c7||(b1.Disposable=c7={}))});var vu=I(fM=>{"use strict";Object.defineProperty(fM,"__esModule",{value:!0});var dM;function hM(){if(dM===void 0)throw new Error("No runtime abstraction layer installed");return dM}(function(t){function e(n){if(n===void 0)throw new Error("No runtime abstraction layer provided");dM=n}t.install=e})(hM||(hM={}));fM.default=hM});var op=I(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.Emitter=sp.Event=void 0;var pxe=vu(),d7;(function(t){let e={dispose(){}};t.None=function(){return e}})(d7||(sp.Event=d7={}));var pM=class{add(e,n=null,r){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(n),Array.isArray(r)&&r.push({dispose:()=>this.remove(e,n)})}remove(e,n=null){if(!this._callbacks)return;let r=!1;for(let i=0,s=this._callbacks.length;i<s;i++)if(this._callbacks[i]===e)if(this._contexts[i]===n){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else r=!0;if(r)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let n=[],r=this._callbacks.slice(0),i=this._contexts.slice(0);for(let s=0,o=r.length;s<o;s++)try{n.push(r[s].apply(i[s],e))}catch(a){(0,pxe.default)().console.error(a)}return n}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},ip=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,n,r)=>{this._callbacks||(this._callbacks=new pM),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,n);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,n),i.dispose=ip._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(r)&&r.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};sp.Emitter=ip;ip._noop=function(){}});var w1=I(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.CancellationTokenSource=ap.CancellationToken=void 0;var mxe=vu(),gxe=rp(),mM=op(),y1;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:mM.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:mM.Event.None});function e(n){let r=n;return r&&(r===t.None||r===t.Cancelled||gxe.boolean(r.isCancellationRequested)&&!!r.onCancellationRequested)}t.is=e})(y1||(ap.CancellationToken=y1={}));var bxe=Object.freeze(function(t,e){let n=(0,mxe.default)().timer.setTimeout(t.bind(e),0);return{dispose(){n.dispose()}}}),v1=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?bxe:(this._emitter||(this._emitter=new mM.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},gM=class{get token(){return this._token||(this._token=new v1),this._token}cancel(){this._token?this._token.cancel():this._token=y1.Cancelled}dispose(){this._token?this._token instanceof v1&&this._token.dispose():this._token=y1.None}};ap.CancellationTokenSource=gM});var h7=I(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.SharedArrayReceiverStrategy=lp.SharedArraySenderStrategy=void 0;var yxe=w1(),kb;(function(t){t.Continue=0,t.Cancelled=1})(kb||(kb={}));var bM=class{constructor(){this.buffers=new Map}enableCancellation(e){if(e.id===null)return;let n=new SharedArrayBuffer(4),r=new Int32Array(n,0,1);r[0]=kb.Continue,this.buffers.set(e.id,n),e.$cancellationData=n}async sendCancellation(e,n){let r=this.buffers.get(n);if(r===void 0)return;let i=new Int32Array(r,0,1);Atomics.store(i,0,kb.Cancelled)}cleanup(e){this.buffers.delete(e)}dispose(){this.buffers.clear()}};lp.SharedArraySenderStrategy=bM;var yM=class{constructor(e){this.data=new Int32Array(e,0,1)}get isCancellationRequested(){return Atomics.load(this.data,0)===kb.Cancelled}get onCancellationRequested(){throw new Error("Cancellation over SharedArrayBuffer doesn't support cancellation events")}},vM=class{constructor(e){this.token=new yM(e)}cancel(){}dispose(){}},wM=class{constructor(){this.kind="request"}createCancellationTokenSource(e){let n=e.$cancellationData;return n===void 0?new yxe.CancellationTokenSource:new vM(n)}};lp.SharedArrayReceiverStrategy=wM});var SM=I(_1=>{"use strict";Object.defineProperty(_1,"__esModule",{value:!0});_1.Semaphore=void 0;var vxe=vu(),_M=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((n,r)=>{this._waiting.push({thunk:e,resolve:n,reject:r}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||(0,vxe.default)().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let n=e.thunk();n instanceof Promise?n.then(r=>{this._active--,e.resolve(r),this.runNext()},r=>{this._active--,e.reject(r),this.runNext()}):(this._active--,e.resolve(n),this.runNext())}catch(n){this._active--,e.reject(n),this.runNext()}}};_1.Semaphore=_M});var p7=I(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.ReadableStreamMessageReader=wu.AbstractMessageReader=wu.MessageReader=void 0;var xM=vu(),cp=rp(),CM=op(),wxe=SM(),f7;(function(t){function e(n){let r=n;return r&&cp.func(r.listen)&&cp.func(r.dispose)&&cp.func(r.onError)&&cp.func(r.onClose)&&cp.func(r.onPartialMessage)}t.is=e})(f7||(wu.MessageReader=f7={}));var S1=class{constructor(){this.errorEmitter=new CM.Emitter,this.closeEmitter=new CM.Emitter,this.partialMessageEmitter=new CM.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${cp.string(e.message)?e.message:"unknown"}`)}};wu.AbstractMessageReader=S1;var kM;(function(t){function e(n){let r,i,s,o=new Map,a,l=new Map;if(n===void 0||typeof n=="string")r=n??"utf-8";else{if(r=n.charset??"utf-8",n.contentDecoder!==void 0&&(s=n.contentDecoder,o.set(s.name,s)),n.contentDecoders!==void 0)for(let c of n.contentDecoders)o.set(c.name,c);if(n.contentTypeDecoder!==void 0&&(a=n.contentTypeDecoder,l.set(a.name,a)),n.contentTypeDecoders!==void 0)for(let c of n.contentTypeDecoders)l.set(c.name,c)}return a===void 0&&(a=(0,xM.default)().applicationJson.decoder,l.set(a.name,a)),{charset:r,contentDecoder:s,contentDecoders:o,contentTypeDecoder:a,contentTypeDecoders:l}}t.fromOptions=e})(kM||(kM={}));var AM=class extends S1{constructor(e,n){super(),this.readable=e,this.options=kM.fromOptions(n),this.buffer=(0,xM.default)().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0,this.readSemaphore=new wxe.Semaphore(1)}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let n=this.readable.onData(r=>{this.onData(r)});return this.readable.onError(r=>this.fireError(r)),this.readable.onClose(()=>this.fireClose()),n}onData(e){try{for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let r=this.buffer.tryReadHeaders(!0);if(!r)return;let i=r.get("content-length");if(!i){this.fireError(new Error(`Header must provide a Content-Length property.
3
3
  ${JSON.stringify(Object.fromEntries(r))}`));return}let s=parseInt(i);if(isNaN(s)){this.fireError(new Error(`Content-Length value must be a number. Got ${i}`));return}this.nextMessageLength=s}let n=this.buffer.tryReadBody(this.nextMessageLength);if(n===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1,this.readSemaphore.lock(async()=>{let r=this.options.contentDecoder!==void 0?await this.options.contentDecoder.decode(n):n,i=await this.options.contentTypeDecoder.decode(r,this.options);this.callback(i)}).catch(r=>{this.fireError(r)})}}catch(n){this.fireError(n)}}clearPartialMessageTimer(){this.partialMessageTimer&&(this.partialMessageTimer.dispose(),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=(0,xM.default)().timer.setTimeout((e,n)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:n}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};wu.ReadableStreamMessageReader=AM});var v7=I(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.WriteableStreamMessageWriter=_u.AbstractMessageWriter=_u.MessageWriter=void 0;var m7=vu(),Ab=rp(),_xe=SM(),g7=op(),Sxe="Content-Length: ",b7=`\r
4
4
  `,y7;(function(t){function e(n){let r=n;return r&&Ab.func(r.dispose)&&Ab.func(r.onClose)&&Ab.func(r.onError)&&Ab.func(r.write)}t.is=e})(y7||(_u.MessageWriter=y7={}));var C1=class{constructor(){this.errorEmitter=new g7.Emitter,this.closeEmitter=new g7.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,n,r){this.errorEmitter.fire([this.asError(e),n,r])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${Ab.string(e.message)?e.message:"unknown"}`)}};_u.AbstractMessageWriter=C1;var FM;(function(t){function e(n){return n===void 0||typeof n=="string"?{charset:n??"utf-8",contentTypeEncoder:(0,m7.default)().applicationJson.encoder}:{charset:n.charset??"utf-8",contentEncoder:n.contentEncoder,contentTypeEncoder:n.contentTypeEncoder??(0,m7.default)().applicationJson.encoder}}t.fromOptions=e})(FM||(FM={}));var EM=class extends C1{constructor(e,n){super(),this.writable=e,this.options=FM.fromOptions(n),this.errorCount=0,this.writeSemaphore=new _xe.Semaphore(1),this.writable.onError(r=>this.fireError(r)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(r=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(r):r).then(r=>{let i=[];return i.push(Sxe,r.byteLength.toString(),b7),i.push(b7),this.doWrite(e,i,r)},r=>{throw this.fireError(r),r}))}async doWrite(e,n,r){try{return await this.writable.write(n.join(""),"ascii"),this.writable.write(r)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,n){this.errorCount++,this.fireError(e,n,this.errorCount)}end(){this.writable.end()}};_u.WriteableStreamMessageWriter=EM});var w7=I(x1=>{"use strict";Object.defineProperty(x1,"__esModule",{value:!0});x1.AbstractMessageBuffer=void 0;var Cxe=13,xxe=10,kxe=`\r
5
5
  `,TM=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let n=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(n),this._totalLength+=n.byteLength}tryReadHeaders(e=!1){if(this._chunks.length===0)return;let n=0,r=0,i=0,s=0;e:for(;r<this._chunks.length;){let c=this._chunks[r];i=0;t:for(;i<c.length;){switch(c[i]){case Cxe:switch(n){case 0:n=1;break;case 2:n=3;break;default:n=0}break;case xxe:switch(n){case 1:n=2;break;case 3:n=4,i++;break e;default:n=0}break;default:n=0}i++}s+=c.byteLength,r++}if(n!==4)return;let o=this._read(s+i),a=new Map,l=this.toString(o,"ascii").split(kxe);if(l.length<2)return a;for(let c=0;c<l.length-2;c++){let u=l[c],d=u.indexOf(":");if(d===-1)throw new Error(`Message header must separate key and value using ':'
@@ -667,9 +667,9 @@ See [Browser compatibility](#Browser_compatibility) for notes on browser support
667
667
 
668
668
  * a _negative value_ means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
669
669
  * \`0\` means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
670
- * a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/tabindex"}],browsers:["C1","CA18","E12","FF1.5","FFA4","S3.1","SM2"],status:{baseline:"high",baseline_low_date:"2015-07-29",baseline_high_date:"2018-01-29"}},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/title"}],browsers:["C1","CA18","E12","FF1","FFA4","S4","SM3.2"],status:{baseline:"high",baseline_low_date:"2015-07-29",baseline_high_date:"2018-01-29"}},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/translate"}],browsers:["C19","CA25","E79","FF111","FFA111","S6","SM6"],status:{baseline:"high",baseline_low_date:"2023-03-14",baseline_high_date:"2025-09-14"}},{name:"virtualkeyboardpolicy",description:{kind:"markdown",value:"When specified on an element that the element's content is editable (for example, it is an `<input>` or `<textarea>` element, or an element with the `contenteditable` attribute set), it controls the on-screen virtual keyboard behavior on devices such as tablets, mobile phones, or other devices where a hardware keyboard may not be available."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/virtualkeyboardpolicy"}],browsers:["C94","CA94","E94"],status:{baseline:!1}},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]},{name:"enterkeyhint",values:[{name:"enter"},{name:"done"},{name:"go"},{name:"next"},{name:"previous"},{name:"search"},{name:"send"}]},{name:"popover",values:[{name:"auto"},{name:"hint"},{name:"manual"}]},{name:"fetchpriority",values:[{name:"high"},{name:"low"},{name:"auto"}]}]}});var AC,lqe,uee=Ce(()=>{Py();YO();jO();AC=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,n){this.dataProviders=[],e&&this.dataProviders.push(new rm("html5",kC)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(e,n){return!!e&&xZ(n,e.toLowerCase(),(r,i)=>r.localeCompare(i))>=0}getVoidElements(e){let n=Array.isArray(e)?e:this.getDataProviders().filter(i=>i.isApplicable(e)),r=[];return n.forEach(i=>{i.provideTags().filter(s=>s.void).forEach(s=>r.push(s.name))}),r.sort()}isPathAttribute(e,n){if(n==="src"||n==="href")return!0;let r=lqe[e];return r?typeof r=="string"?r===n:r.indexOf(n)!==-1:!1}},lqe={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]}});var Lh={};Qa(Lh,{ClientCapabilities:()=>LO,Color:()=>yc,ColorInformation:()=>Yu,ColorPresentation:()=>Qu,Command:()=>Ss,CompletionItem:()=>dl,CompletionItemKind:()=>Fe,CompletionItemTag:()=>Ji,CompletionList:()=>ed,Diagnostic:()=>di,DocumentHighlight:()=>nd,DocumentHighlightKind:()=>Mi,DocumentLink:()=>sd,DocumentSymbol:()=>pl,DocumentUri:()=>Qp,FileType:()=>Iy,FoldingRange:()=>Xu,FoldingRangeKind:()=>Gi,FormattingOptions:()=>fC,Hover:()=>td,InsertReplaceEdit:()=>uC,InsertTextFormat:()=>Xe,InsertTextMode:()=>dC,Location:()=>Ki,MarkedString:()=>hl,MarkupContent:()=>Ca,MarkupKind:()=>sn,Position:()=>Et,Range:()=>Ae,ScannerState:()=>Je,SelectionRange:()=>hi,SymbolInformation:()=>fl,SymbolKind:()=>En,TextDocument:()=>ac,TextEdit:()=>Me,TokenType:()=>ve,WorkspaceEdit:()=>wc,getDefaultHTMLDataProvider:()=>dqe,getLanguageService:()=>uqe,newHTMLDataProvider:()=>dee});function uqe(t=cqe){let e=new AC(t),n=new _C(t,e),r=new vC(t,e),i=new bC(e),s=new xC(i),o=new CC(e),a=new SC(e);return{setDataProviders:e.setDataProviders.bind(e),createScanner:wr,parseHTMLDocument:i.parseDocument.bind(i),doComplete:r.doComplete.bind(r),doComplete2:r.doComplete2.bind(r),setCompletionParticipants:r.setCompletionParticipants.bind(r),doHover:n.doHover.bind(n),format:HZ,findDocumentHighlights:XZ,findDocumentLinks:a.findDocumentLinks.bind(a),findDocumentSymbols:eee,findDocumentSymbols2:GO,getFoldingRanges:o.getFoldingRanges.bind(o),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:r.doQuoteComplete.bind(r),doTagComplete:r.doTagComplete.bind(r),doRename:ree,findMatchingTagPosition:see,findOnTypeRenameRanges:JO,findLinkedEditingRanges:JO}}function dee(t,e){return new rm(t,e)}function dqe(){return dee("default",kC)}var cqe,qh=Ce(()=>{Sc();kZ();RZ();PZ();VZ();GZ();ZZ();nee();iee();oee();aee();lee();cee();Py();uee();YO();Cs();cqe={}});var FC=I(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.framework2tsx=hqe;Ly.classNameFromFilename=fee;Ly.patchTSX=pee;var QO=rt(),hee=oC();function hqe(t,e,n){let r=n==="vue"?(0,hee.importVueIntegration)(t):(0,hee.importSvelteIntegration)(t);if(!r)return o("");let i=fee(t),s=pee(r.toTSX(e,i),t);return o(s);function o(a){return{id:"tsx",languageId:"typescript",snapshot:{getText:(l,c)=>a.substring(l,c),getLength:()=>a.length,getChangeRange:()=>{}},mappings:[],embeddedCodes:[]}}}function fqe(t){return`${t}`.replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,n,r)=>`${n.toUpperCase()+r.toLowerCase()}`).replace(new RegExp(/\w/),e=>e.toUpperCase())}function fee(t){let e=QO.URI.parse(t),r=QO.Utils.basename(e).slice(0,-QO.Utils.extname(e).length).split("").filter(l=>/[\w$-]/.test(l)).join(""),i=r.split("").findIndex(l=>/[A-Za-z]/.test(l)),s=r.substring(i),o=fqe(s);return i===-1?`A${o}`:o}function pee(t,e){let n=e.split("/").pop(),r=n.startsWith("[")&&n.endsWith("]");return t.replace(/\b(\S*)__AstroComponent_/g,(i,s)=>s?r?`_${s}_`:s[0].toUpperCase()+s.slice(1):n==="404"?"FourOhFour":i)}});var yee=I(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.safeConvertToTSX=gee;qy.getTSXRangesAsLSPRanges=bee;qy.astro2tsx=bqe;var pqe=require("@astrojs/compiler/sync"),mqe=UX(),mee=dc(),XO=(qh(),or(Lh)),gqe=FC();function gee(t,e){try{return(0,pqe.convertToTSX)(t,{filename:e.filename,includeScripts:!1,includeStyles:!1})}catch(n){return console.error(`There was an error transforming ${e.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/language-tools/issues
671
- Error: ${n}.`),{code:"",map:{file:e.filename??"",sources:[],sourcesContent:[],names:[],mappings:"",version:0},diagnostics:[{code:1e3,location:{file:e.filename,line:1,column:1,length:t.length},severity:1,text:"The Astro compiler encountered an unknown error while transform this file to TSX. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues"}],metaRanges:{frontmatter:{start:0,end:0},body:{start:0,end:0},scripts:[],styles:[]}}}}function bee(t){let e=XO.TextDocument.create("","typescriptreact",0,t.code);return{frontmatter:mee.Range.create(e.positionAt(t.metaRanges.frontmatter.start),e.positionAt(t.metaRanges.frontmatter.end)),body:mee.Range.create(e.positionAt(t.metaRanges.body.start),e.positionAt(t.metaRanges.body.end)),scripts:t.metaRanges.scripts??[],styles:t.metaRanges.styles??[]}}function bqe(t,e){let n=gee(t,{filename:e});return{virtualCode:yqe(t,n,e),diagnostics:n.diagnostics,ranges:bee(n)}}function yqe(t,e,n){e.code=(0,gqe.patchTSX)(e.code,n);let r=(0,mqe.decode)(e.map.mappings),i=XO.TextDocument.create("","astro",0,t),s=XO.TextDocument.create("","typescriptreact",0,e.code),o=[],a;for(let l=0;l<r.length;l++)for(let c of r[l]){let u=c[0],d=s.offsetAt({line:l,character:u});if(a){let f=d-a.genOffset,m=t.substring(a.sourceOffset,a.sourceOffset+f),b=e.code.substring(a.genOffset,a.genOffset+f);if(m!==b){f=0;for(let g=0;g<d-a.genOffset&&m[g]===b[g];g++)f=g+1}if(f>0){let g=o.length?o[o.length-1]:void 0;g&&g.generatedOffsets[0]+g.lengths[0]===a.genOffset&&g.sourceOffsets[0]+g.lengths[0]===a.sourceOffset?g.lengths[0]+=f:o.push({sourceOffsets:[a.sourceOffset],generatedOffsets:[a.genOffset],lengths:[f],data:{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}})}a=void 0}if(c[2]!==void 0&&c[3]!==void 0){let f=i.offsetAt({line:c[2],character:c[3]});a={genOffset:d,sourceOffset:f}}}return{id:"tsx",languageId:"typescriptreact",snapshot:{getText:(l,c)=>e.code.substring(l,c),getLength:()=>e.code.length,getChangeRange:()=>{}},mappings:o,embeddedCodes:[]}}});var vee=I(ZO=>{"use strict";Object.defineProperty(ZO,"__esModule",{value:!0});ZO.getAstroMetadata=wqe;var vqe=require("@astrojs/compiler/sync");function wqe(t,e,n={position:!0}){let r=_qe(t,e,n);return{...r,frontmatter:Sqe(r.ast,e)}}function _qe(t,e,n){try{return(0,vqe.parse)(e,n)}catch(r){return console.error(`There was an error parsing ${t}'s AST. An empty AST will be returned instead to avoid breaking the server. Please create an issue: https://github.com/withastro/language-tools/issues
672
- Error: ${r}.`),{ast:{type:"root",children:[]},diagnostics:[{code:1e3,location:{file:t,line:1,column:1,length:e.length},severity:1,text:"The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/language-tools/issues"}]}}}function Sqe(t,e){if(!t.children||t.children&&t.children.length===0)return{status:"doesnt-exist",position:void 0};if(t.children[0].type==="frontmatter"){let n=t.children[0];if(n.position)return n.position.end?n.position.end.offset===e.length&&!e.endsWith("---")?{status:"open",position:{start:n.position.start,end:void 0}}:{status:"closed",position:{start:n.position.start,end:n.position.end}}:{status:"open",position:{start:n.position.start,end:void 0}}}return{status:"doesnt-exist",position:void 0}}});var wee=I(EC=>{"use strict";Object.defineProperty(EC,"__esModule",{value:!0});EC.binarySearch=void 0;function Cqe(t,e){let n=0,r=t.length-1;for(;n<=r;){let i=Math.floor((n+r)/2),s=t[i];if(s<e)n=i+1;else if(s>e)r=i-1;else{n=i,r=i;break}}return Math.max(Math.min(n,r,t.length-1),0)}EC.binarySearch=Cqe});var tN=I(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.getStack=Oo.track=Oo.resetOffsetStack=Oo.offsetStack=Oo.setTracking=void 0;var _ee=!0,eN=0;function xqe(t){_ee=t}Oo.setTracking=xqe;function kqe(){eN++}Oo.offsetStack=kqe;function Aqe(){eN--}Oo.resetOffsetStack=Aqe;function Fqe(t,e=[]){return[new Proxy(t,{get(c,u,d){if(_ee){if(u==="push")return n;if(u==="pop")return r;if(u==="shift")return i;if(u==="unshift")return s;if(u==="splice")return o;if(u==="sort")return a;if(u==="reverse")return l}return Reflect.get(c,u,d)}}),e];function n(...c){return e.push({stack:im(),length:c.length}),t.push(...c)}function r(){if(e.length){let c=e[e.length-1];c.length>1?c.length--:e.pop()}return t.pop()}function i(){if(e.length){let c=e[0];c.length>1?c.length--:e.shift()}return t.shift()}function s(...c){return e.unshift({stack:im(),length:c.length}),t.unshift(...c)}function o(c,u,...d){u===void 0&&(u=t.length-c);let f=0,m;for(let g=0;g<e.length;g++){let w=e[g],_=f;if(f=_+w.length,c>=_){m=g+1;let v=w.length;w.length=c-_,e.splice(m,0,{stack:w.stack,length:v-w.length});break}}if(m===void 0)throw new Error("Invalid splice operation");let b=u;for(let g=m;g<e.length;g++){let w=e[g];for(;b>0&&w.length>0;)w.length--,b--;if(b===0)break}return e.splice(m,0,{stack:im(),length:d.length}),t.splice(c,u,...d)}function a(c){return e.splice(0,e.length,{stack:im(),length:t.length}),t.sort(c)}function l(){return e.splice(0,e.length,{stack:im(),length:t.length}),t.reverse()}}Oo.track=Fqe;function im(){let e=new Error().stack.split(`
670
+ * a _positive value_ means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the [**tabindex**](#attr-tabindex). If several elements share the same tabindex, their relative order follows their relative positions in the document.`},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/tabindex"}],browsers:["C1","CA18","E12","FF1.5","FFA4","S3.1","SM2"],status:{baseline:"high",baseline_low_date:"2015-07-29",baseline_high_date:"2018-01-29"}},{name:"title",description:{kind:"markdown",value:"Contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip."},references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/title"}],browsers:["C1","CA18","E12","FF1","FFA4","S4","SM3.2"],status:{baseline:"high",baseline_low_date:"2015-07-29",baseline_high_date:"2018-01-29"}},{name:"translate",description:{kind:"markdown",value:"An enumerated attribute that is used to specify whether an element's attribute values and the values of its [`Text`](https://developer.mozilla.org/docs/Web/API/Text \"The Text interface represents the textual content of Element or Attr. If an element has no markup within its content, it has a single child implementing Text that contains the element's text. However, if the element contains markup, it is parsed into information items and Text nodes that form its children.\") node children are to be translated when the page is localized, or whether to leave them unchanged. It can have the following values:\n\n* empty string and `yes`, which indicates that the element will be translated.\n* `no`, which indicates that the element will not be translated."},valueSet:"y",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/translate"}],browsers:["C19","CA25","E79","FF111","FFA111","S6","SM6"],status:{baseline:"high",baseline_low_date:"2023-03-14",baseline_high_date:"2025-09-14"}},{name:"virtualkeyboardpolicy",description:{kind:"markdown",value:"When specified on an element that the element's content is editable (for example, it is an `<input>` or `<textarea>` element, or an element with the `contenteditable` attribute set), it controls the on-screen virtual keyboard behavior on devices such as tablets, mobile phones, or other devices where a hardware keyboard may not be available."},valueSet:"b",references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/HTML/Reference/Global_attributes/virtualkeyboardpolicy"}],browsers:["C94","CA94","E94"],status:{baseline:!1}},{name:"onabort",description:{kind:"markdown",value:"The loading of a resource has been aborted."}},{name:"onblur",description:{kind:"markdown",value:"An element has lost focus (does not bubble)."}},{name:"oncanplay",description:{kind:"markdown",value:"The user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content."}},{name:"oncanplaythrough",description:{kind:"markdown",value:"The user agent can play the media up to its end without having to stop for further buffering of content."}},{name:"onchange",description:{kind:"markdown",value:"The change event is fired for <input>, <select>, and <textarea> elements when a change to the element's value is committed by the user."}},{name:"onclick",description:{kind:"markdown",value:"A pointing device button has been pressed and released on an element."}},{name:"oncontextmenu",description:{kind:"markdown",value:"The right button of the mouse is clicked (before the context menu is displayed)."}},{name:"ondblclick",description:{kind:"markdown",value:"A pointing device button is clicked twice on an element."}},{name:"ondrag",description:{kind:"markdown",value:"An element or text selection is being dragged (every 350ms)."}},{name:"ondragend",description:{kind:"markdown",value:"A drag operation is being ended (by releasing a mouse button or hitting the escape key)."}},{name:"ondragenter",description:{kind:"markdown",value:"A dragged element or text selection enters a valid drop target."}},{name:"ondragleave",description:{kind:"markdown",value:"A dragged element or text selection leaves a valid drop target."}},{name:"ondragover",description:{kind:"markdown",value:"An element or text selection is being dragged over a valid drop target (every 350ms)."}},{name:"ondragstart",description:{kind:"markdown",value:"The user starts dragging an element or text selection."}},{name:"ondrop",description:{kind:"markdown",value:"An element is dropped on a valid drop target."}},{name:"ondurationchange",description:{kind:"markdown",value:"The duration attribute has been updated."}},{name:"onemptied",description:{kind:"markdown",value:"The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the load() method is called to reload it."}},{name:"onended",description:{kind:"markdown",value:"Playback has stopped because the end of the media was reached."}},{name:"onerror",description:{kind:"markdown",value:"A resource failed to load."}},{name:"onfocus",description:{kind:"markdown",value:"An element has received focus (does not bubble)."}},{name:"onformchange"},{name:"onforminput"},{name:"oninput",description:{kind:"markdown",value:"The value of an element changes or the content of an element with the attribute contenteditable is modified."}},{name:"oninvalid",description:{kind:"markdown",value:"A submittable element has been checked and doesn't satisfy its constraints."}},{name:"onkeydown",description:{kind:"markdown",value:"A key is pressed down."}},{name:"onkeypress",description:{kind:"markdown",value:"A key is pressed down and that key normally produces a character value (use input instead)."}},{name:"onkeyup",description:{kind:"markdown",value:"A key is released."}},{name:"onload",description:{kind:"markdown",value:"A resource and its dependent resources have finished loading."}},{name:"onloadeddata",description:{kind:"markdown",value:"The first frame of the media has finished loading."}},{name:"onloadedmetadata",description:{kind:"markdown",value:"The metadata has been loaded."}},{name:"onloadstart",description:{kind:"markdown",value:"Progress has begun."}},{name:"onmousedown",description:{kind:"markdown",value:"A pointing device button (usually a mouse) is pressed on an element."}},{name:"onmousemove",description:{kind:"markdown",value:"A pointing device is moved over an element."}},{name:"onmouseout",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached or off one of its children."}},{name:"onmouseover",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached or onto one of its children."}},{name:"onmouseup",description:{kind:"markdown",value:"A pointing device button is released over an element."}},{name:"onmousewheel"},{name:"onmouseenter",description:{kind:"markdown",value:"A pointing device is moved onto the element that has the listener attached."}},{name:"onmouseleave",description:{kind:"markdown",value:"A pointing device is moved off the element that has the listener attached."}},{name:"onpause",description:{kind:"markdown",value:"Playback has been paused."}},{name:"onplay",description:{kind:"markdown",value:"Playback has begun."}},{name:"onplaying",description:{kind:"markdown",value:"Playback is ready to start after having been paused or delayed due to lack of data."}},{name:"onprogress",description:{kind:"markdown",value:"In progress."}},{name:"onratechange",description:{kind:"markdown",value:"The playback rate has changed."}},{name:"onreset",description:{kind:"markdown",value:"A form is reset."}},{name:"onresize",description:{kind:"markdown",value:"The document view has been resized."}},{name:"onreadystatechange",description:{kind:"markdown",value:"The readyState attribute of a document has changed."}},{name:"onscroll",description:{kind:"markdown",value:"The document view or an element has been scrolled."}},{name:"onseeked",description:{kind:"markdown",value:"A seek operation completed."}},{name:"onseeking",description:{kind:"markdown",value:"A seek operation began."}},{name:"onselect",description:{kind:"markdown",value:"Some text is being selected."}},{name:"onshow",description:{kind:"markdown",value:"A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute"}},{name:"onstalled",description:{kind:"markdown",value:"The user agent is trying to fetch media data, but data is unexpectedly not forthcoming."}},{name:"onsubmit",description:{kind:"markdown",value:"A form is submitted."}},{name:"onsuspend",description:{kind:"markdown",value:"Media data loading has been suspended."}},{name:"ontimeupdate",description:{kind:"markdown",value:"The time indicated by the currentTime attribute has been updated."}},{name:"onvolumechange",description:{kind:"markdown",value:"The volume has changed."}},{name:"onwaiting",description:{kind:"markdown",value:"Playback has stopped because of a temporary lack of data."}},{name:"onpointercancel",description:{kind:"markdown",value:"The pointer is unlikely to produce any more events."}},{name:"onpointerdown",description:{kind:"markdown",value:"The pointer enters the active buttons state."}},{name:"onpointerenter",description:{kind:"markdown",value:"Pointing device is moved inside the hit-testing boundary."}},{name:"onpointerleave",description:{kind:"markdown",value:"Pointing device is moved out of the hit-testing boundary."}},{name:"onpointerlockchange",description:{kind:"markdown",value:"The pointer was locked or released."}},{name:"onpointerlockerror",description:{kind:"markdown",value:"It was impossible to lock the pointer for technical reasons or because the permission was denied."}},{name:"onpointermove",description:{kind:"markdown",value:"The pointer changed coordinates."}},{name:"onpointerout",description:{kind:"markdown",value:"The pointing device moved out of hit-testing boundary or leaves detectable hover range."}},{name:"onpointerover",description:{kind:"markdown",value:"The pointing device is moved into the hit-testing boundary."}},{name:"onpointerup",description:{kind:"markdown",value:"The pointer leaves the active buttons state."}},{name:"aria-activedescendant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-activedescendant"}],description:{kind:"markdown",value:"Identifies the currently active element when DOM focus is on a [`composite`](https://www.w3.org/TR/wai-aria-1.1/#composite) widget, [`textbox`](https://www.w3.org/TR/wai-aria-1.1/#textbox), [`group`](https://www.w3.org/TR/wai-aria-1.1/#group), or [`application`](https://www.w3.org/TR/wai-aria-1.1/#application)."}},{name:"aria-atomic",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-atomic"}],description:{kind:"markdown",value:"Indicates whether [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology) will present all, or only parts of, the changed region based on the change notifications defined by the [`aria-relevant`](https://www.w3.org/TR/wai-aria-1.1/#aria-relevant) attribute."}},{name:"aria-autocomplete",valueSet:"autocomplete",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete"}],description:{kind:"markdown",value:"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made."}},{name:"aria-busy",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-busy"}],description:{kind:"markdown",value:"Indicates an element is being modified and that assistive technologies _MAY_ want to wait until the modifications are complete before exposing them to the user."}},{name:"aria-checked",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-checked"}],description:{kind:"markdown",value:'Indicates the current "checked" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of checkboxes, radio buttons, and other [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-colcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colcount"}],description:{kind:"markdown",value:"Defines the total number of columns in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex)."}},{name:"aria-colindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) column index or position with respect to the total number of columns within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-colcount) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-colspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-colspan"}],description:{kind:"markdown",value:"Defines the number of columns spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-colindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-colindex) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-controls",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-controls"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) whose contents or presence are controlled by the current element. See related [`aria-owns`](https://www.w3.org/TR/wai-aria-1.1/#aria-owns)."}},{name:"aria-current",valueSet:"current",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-current"}],description:{kind:"markdown",value:"Indicates the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that represents the current item within a container or set of related elements."}},{name:"aria-describedby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-describedby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that describes the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-disabled",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-disabled"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is [perceivable](https://www.w3.org/TR/wai-aria-1.1/#dfn-perceivable) but disabled, so it is not editable or otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-hidden`](https://www.w3.org/TR/wai-aria-1.1/#aria-hidden) and [`aria-readonly`](https://www.w3.org/TR/wai-aria-1.1/#aria-readonly)."}},{name:"aria-dropeffect",valueSet:"dropeffect",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-dropeffect"}],description:{kind:"markdown",value:"\\[Deprecated in ARIA 1.1\\] Indicates what functions can be performed when a dragged object is released on the drop target."}},{name:"aria-errormessage",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides an error message for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-invalid`](https://www.w3.org/TR/wai-aria-1.1/#aria-invalid) and [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-expanded",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-expanded"}],description:{kind:"markdown",value:"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed."}},{name:"aria-flowto",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-flowto"}],description:{kind:"markdown",value:"Identifies the next [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in an alternate reading order of content which, at the user's discretion, allows assistive technology to override the general default of reading in document source order."}},{name:"aria-grabbed",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-grabbed"}],description:{kind:"markdown",value:`\\[Deprecated in ARIA 1.1\\] Indicates an element's "grabbed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) in a drag-and-drop operation.`}},{name:"aria-haspopup",valueSet:"haspopup",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup"}],description:{kind:"markdown",value:"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-hidden",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-hidden"}],description:{kind:"markdown",value:"Indicates whether the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is exposed to an accessibility API. See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-invalid",valueSet:"invalid",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-invalid"}],description:{kind:"markdown",value:"Indicates the entered value does not conform to the format expected by the application. See related [`aria-errormessage`](https://www.w3.org/TR/wai-aria-1.1/#aria-errormessage)."}},{name:"aria-label",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-label"}],description:{kind:"markdown",value:"Defines a string value that labels the current element. See related [`aria-labelledby`](https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby)."}},{name:"aria-labelledby",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-labelledby"}],description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) that labels the current element. See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-level",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-level"}],description:{kind:"markdown",value:"Defines the hierarchical level of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) within a structure."}},{name:"aria-live",valueSet:"live",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-live"}],description:{kind:"markdown",value:"Indicates that an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) will be updated, and describes the types of updates the [user agents](https://www.w3.org/TR/wai-aria-1.1/#dfn-user-agent), [assistive technologies](https://www.w3.org/TR/wai-aria-1.1/#dfn-assistive-technology), and user can expect from the [live region](https://www.w3.org/TR/wai-aria-1.1/#dfn-live-region)."}},{name:"aria-modal",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-modal"}],description:{kind:"markdown",value:"Indicates whether an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is modal when displayed."}},{name:"aria-multiline",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiline"}],description:{kind:"markdown",value:"Indicates whether a text box accepts multiple lines of input or only a single line."}},{name:"aria-multiselectable",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-multiselectable"}],description:{kind:"markdown",value:"Indicates that the user may select more than one item from the current selectable descendants."}},{name:"aria-orientation",valueSet:"orientation",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-orientation"}],description:{kind:"markdown",value:"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous."}},{name:"aria-owns",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-owns"}],description:{kind:"markdown",value:"Identifies an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) (or elements) in order to define a visual, functional, or contextual parent/child [relationship](https://www.w3.org/TR/wai-aria-1.1/#dfn-relationship) between DOM elements where the DOM hierarchy cannot be used to represent the relationship. See related [`aria-controls`](https://www.w3.org/TR/wai-aria-1.1/#aria-controls)."}},{name:"aria-placeholder",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-placeholder"}],description:{kind:"markdown",value:"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format."}},{name:"aria-posinset",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-posinset"}],description:{kind:"markdown",value:"Defines an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)'s number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-setsize`](https://www.w3.org/TR/wai-aria-1.1/#aria-setsize)."}},{name:"aria-pressed",valueSet:"tristate",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-pressed"}],description:{kind:"markdown",value:'Indicates the current "pressed" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of toggle buttons. See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-selected`](https://www.w3.org/TR/wai-aria-1.1/#aria-selected).'}},{name:"aria-readonly",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-readonly"}],description:{kind:"markdown",value:"Indicates that the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) is not editable, but is otherwise [operable](https://www.w3.org/TR/wai-aria-1.1/#dfn-operable). See related [`aria-disabled`](https://www.w3.org/TR/wai-aria-1.1/#aria-disabled)."}},{name:"aria-relevant",valueSet:"relevant",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-relevant"}],description:{kind:"markdown",value:"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. See related [`aria-atomic`](https://www.w3.org/TR/wai-aria-1.1/#aria-atomic)."}},{name:"aria-required",valueSet:"b",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-required"}],description:{kind:"markdown",value:"Indicates that user input is required on the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) before a form may be submitted."}},{name:"aria-roledescription",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-roledescription"}],description:{kind:"markdown",value:"Defines a human-readable, author-localized description for the [role](https://www.w3.org/TR/wai-aria-1.1/#dfn-role) of an [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element)."}},{name:"aria-rowcount",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount"}],description:{kind:"markdown",value:"Defines the total number of rows in a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex)."}},{name:"aria-rowindex",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex"}],description:{kind:"markdown",value:"Defines an [element's](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) row index or position with respect to the total number of rows within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowcount`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowcount) and [`aria-rowspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan)."}},{name:"aria-rowspan",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-rowspan"}],description:{kind:"markdown",value:"Defines the number of rows spanned by a cell or gridcell within a [`table`](https://www.w3.org/TR/wai-aria-1.1/#table), [`grid`](https://www.w3.org/TR/wai-aria-1.1/#grid), or [`treegrid`](https://www.w3.org/TR/wai-aria-1.1/#treegrid). See related [`aria-rowindex`](https://www.w3.org/TR/wai-aria-1.1/#aria-rowindex) and [`aria-colspan`](https://www.w3.org/TR/wai-aria-1.1/#aria-colspan)."}},{name:"aria-selected",valueSet:"u",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-selected"}],description:{kind:"markdown",value:'Indicates the current "selected" [state](https://www.w3.org/TR/wai-aria-1.1/#dfn-state) of various [widgets](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-checked`](https://www.w3.org/TR/wai-aria-1.1/#aria-checked) and [`aria-pressed`](https://www.w3.org/TR/wai-aria-1.1/#aria-pressed).'}},{name:"aria-setsize",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-setsize"}],description:{kind:"markdown",value:"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. See related [`aria-posinset`](https://www.w3.org/TR/wai-aria-1.1/#aria-posinset)."}},{name:"aria-sort",valueSet:"sort",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-sort"}],description:{kind:"markdown",value:"Indicates if items in a table or grid are sorted in ascending or descending order."}},{name:"aria-valuemax",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemax"}],description:{kind:"markdown",value:"Defines the maximum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuemin",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuemin"}],description:{kind:"markdown",value:"Defines the minimum allowed value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-valuenow",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow"}],description:{kind:"markdown",value:"Defines the current value for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget). See related [`aria-valuetext`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext)."}},{name:"aria-valuetext",references:[{name:"WAI-ARIA Reference",url:"https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext"}],description:{kind:"markdown",value:"Defines the human readable text alternative of [`aria-valuenow`](https://www.w3.org/TR/wai-aria-1.1/#aria-valuenow) for a range [widget](https://www.w3.org/TR/wai-aria-1.1/#dfn-widget)."}},{name:"aria-details",description:{kind:"markdown",value:"Identifies the [element](https://www.w3.org/TR/wai-aria-1.1/#dfn-element) that provides a detailed, extended description for the [object](https://www.w3.org/TR/wai-aria-1.1/#dfn-object). See related [`aria-describedby`](https://www.w3.org/TR/wai-aria-1.1/#aria-describedby)."}},{name:"aria-keyshortcuts",description:{kind:"markdown",value:"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element."}}],valueSets:[{name:"b",values:[{name:"true"},{name:"false"}]},{name:"u",values:[{name:"true"},{name:"false"},{name:"undefined"}]},{name:"o",values:[{name:"on"},{name:"off"}]},{name:"y",values:[{name:"yes"},{name:"no"}]},{name:"w",values:[{name:"soft"},{name:"hard"}]},{name:"d",values:[{name:"ltr"},{name:"rtl"},{name:"auto"}]},{name:"m",values:[{name:"get",description:{kind:"markdown",value:"Corresponds to the HTTP [GET method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.3); form data are appended to the `action` attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters."}},{name:"post",description:{kind:"markdown",value:"Corresponds to the HTTP [POST method](https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5); form data are included in the body of the form and sent to the server."}},{name:"dialog",description:{kind:"markdown",value:"Use when the form is inside a [`<dialog>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog) element to close the dialog when submitted."}}]},{name:"fm",values:[{name:"get"},{name:"post"}]},{name:"s",values:[{name:"row"},{name:"col"},{name:"rowgroup"},{name:"colgroup"}]},{name:"t",values:[{name:"hidden"},{name:"text"},{name:"search"},{name:"tel"},{name:"url"},{name:"email"},{name:"password"},{name:"datetime"},{name:"date"},{name:"month"},{name:"week"},{name:"time"},{name:"datetime-local"},{name:"number"},{name:"range"},{name:"color"},{name:"checkbox"},{name:"radio"},{name:"file"},{name:"submit"},{name:"image"},{name:"reset"},{name:"button"}]},{name:"im",values:[{name:"verbatim"},{name:"latin"},{name:"latin-name"},{name:"latin-prose"},{name:"full-width-latin"},{name:"kana"},{name:"kana-name"},{name:"katakana"},{name:"numeric"},{name:"tel"},{name:"email"},{name:"url"}]},{name:"bt",values:[{name:"button"},{name:"submit"},{name:"reset"}]},{name:"lt",values:[{name:"1"},{name:"a"},{name:"A"},{name:"i"},{name:"I"}]},{name:"mt",values:[{name:"context"},{name:"toolbar"}]},{name:"mit",values:[{name:"command"},{name:"checkbox"},{name:"radio"}]},{name:"et",values:[{name:"application/x-www-form-urlencoded"},{name:"multipart/form-data"},{name:"text/plain"}]},{name:"tk",values:[{name:"subtitles"},{name:"captions"},{name:"descriptions"},{name:"chapters"},{name:"metadata"}]},{name:"pl",values:[{name:"none"},{name:"metadata"},{name:"auto"}]},{name:"sh",values:[{name:"circle"},{name:"default"},{name:"poly"},{name:"rect"}]},{name:"xo",values:[{name:"anonymous"},{name:"use-credentials"}]},{name:"target",values:[{name:"_self"},{name:"_blank"},{name:"_parent"},{name:"_top"}]},{name:"sb",values:[{name:"allow-forms"},{name:"allow-modals"},{name:"allow-pointer-lock"},{name:"allow-popups"},{name:"allow-popups-to-escape-sandbox"},{name:"allow-same-origin"},{name:"allow-scripts"},{name:"allow-top-navigation"}]},{name:"tristate",values:[{name:"true"},{name:"false"},{name:"mixed"},{name:"undefined"}]},{name:"inputautocomplete",values:[{name:"additional-name"},{name:"address-level1"},{name:"address-level2"},{name:"address-level3"},{name:"address-level4"},{name:"address-line1"},{name:"address-line2"},{name:"address-line3"},{name:"bday"},{name:"bday-year"},{name:"bday-day"},{name:"bday-month"},{name:"billing"},{name:"cc-additional-name"},{name:"cc-csc"},{name:"cc-exp"},{name:"cc-exp-month"},{name:"cc-exp-year"},{name:"cc-family-name"},{name:"cc-given-name"},{name:"cc-name"},{name:"cc-number"},{name:"cc-type"},{name:"country"},{name:"country-name"},{name:"current-password"},{name:"email"},{name:"family-name"},{name:"fax"},{name:"given-name"},{name:"home"},{name:"honorific-prefix"},{name:"honorific-suffix"},{name:"impp"},{name:"language"},{name:"mobile"},{name:"name"},{name:"new-password"},{name:"nickname"},{name:"off"},{name:"on"},{name:"organization"},{name:"organization-title"},{name:"pager"},{name:"photo"},{name:"postal-code"},{name:"sex"},{name:"shipping"},{name:"street-address"},{name:"tel-area-code"},{name:"tel"},{name:"tel-country-code"},{name:"tel-extension"},{name:"tel-local"},{name:"tel-local-prefix"},{name:"tel-local-suffix"},{name:"tel-national"},{name:"transaction-amount"},{name:"transaction-currency"},{name:"url"},{name:"username"},{name:"work"}]},{name:"autocomplete",values:[{name:"inline"},{name:"list"},{name:"both"},{name:"none"}]},{name:"current",values:[{name:"page"},{name:"step"},{name:"location"},{name:"date"},{name:"time"},{name:"true"},{name:"false"}]},{name:"dropeffect",values:[{name:"copy"},{name:"move"},{name:"link"},{name:"execute"},{name:"popup"},{name:"none"}]},{name:"invalid",values:[{name:"grammar"},{name:"false"},{name:"spelling"},{name:"true"}]},{name:"live",values:[{name:"off"},{name:"polite"},{name:"assertive"}]},{name:"orientation",values:[{name:"vertical"},{name:"horizontal"},{name:"undefined"}]},{name:"relevant",values:[{name:"additions"},{name:"removals"},{name:"text"},{name:"all"},{name:"additions text"}]},{name:"sort",values:[{name:"ascending"},{name:"descending"},{name:"none"},{name:"other"}]},{name:"roles",values:[{name:"alert"},{name:"alertdialog"},{name:"button"},{name:"checkbox"},{name:"dialog"},{name:"gridcell"},{name:"link"},{name:"log"},{name:"marquee"},{name:"menuitem"},{name:"menuitemcheckbox"},{name:"menuitemradio"},{name:"option"},{name:"progressbar"},{name:"radio"},{name:"scrollbar"},{name:"searchbox"},{name:"slider"},{name:"spinbutton"},{name:"status"},{name:"switch"},{name:"tab"},{name:"tabpanel"},{name:"textbox"},{name:"timer"},{name:"tooltip"},{name:"treeitem"},{name:"combobox"},{name:"grid"},{name:"listbox"},{name:"menu"},{name:"menubar"},{name:"radiogroup"},{name:"tablist"},{name:"tree"},{name:"treegrid"},{name:"application"},{name:"article"},{name:"cell"},{name:"columnheader"},{name:"definition"},{name:"directory"},{name:"document"},{name:"feed"},{name:"figure"},{name:"group"},{name:"heading"},{name:"img"},{name:"list"},{name:"listitem"},{name:"math"},{name:"none"},{name:"note"},{name:"presentation"},{name:"region"},{name:"row"},{name:"rowgroup"},{name:"rowheader"},{name:"separator"},{name:"table"},{name:"term"},{name:"text"},{name:"toolbar"},{name:"banner"},{name:"complementary"},{name:"contentinfo"},{name:"form"},{name:"main"},{name:"navigation"},{name:"region"},{name:"search"},{name:"doc-abstract"},{name:"doc-acknowledgments"},{name:"doc-afterword"},{name:"doc-appendix"},{name:"doc-backlink"},{name:"doc-biblioentry"},{name:"doc-bibliography"},{name:"doc-biblioref"},{name:"doc-chapter"},{name:"doc-colophon"},{name:"doc-conclusion"},{name:"doc-cover"},{name:"doc-credit"},{name:"doc-credits"},{name:"doc-dedication"},{name:"doc-endnote"},{name:"doc-endnotes"},{name:"doc-epigraph"},{name:"doc-epilogue"},{name:"doc-errata"},{name:"doc-example"},{name:"doc-footnote"},{name:"doc-foreword"},{name:"doc-glossary"},{name:"doc-glossref"},{name:"doc-index"},{name:"doc-introduction"},{name:"doc-noteref"},{name:"doc-notice"},{name:"doc-pagebreak"},{name:"doc-pagelist"},{name:"doc-part"},{name:"doc-preface"},{name:"doc-prologue"},{name:"doc-pullquote"},{name:"doc-qna"},{name:"doc-subtitle"},{name:"doc-tip"},{name:"doc-toc"}]},{name:"metanames",values:[{name:"application-name"},{name:"author"},{name:"description"},{name:"format-detection"},{name:"generator"},{name:"keywords"},{name:"publisher"},{name:"referrer"},{name:"robots"},{name:"theme-color"},{name:"viewport"}]},{name:"haspopup",values:[{name:"false",description:{kind:"markdown",value:"(default) Indicates the element does not have a popup."}},{name:"true",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"menu",description:{kind:"markdown",value:"Indicates the popup is a menu."}},{name:"listbox",description:{kind:"markdown",value:"Indicates the popup is a listbox."}},{name:"tree",description:{kind:"markdown",value:"Indicates the popup is a tree."}},{name:"grid",description:{kind:"markdown",value:"Indicates the popup is a grid."}},{name:"dialog",description:{kind:"markdown",value:"Indicates the popup is a dialog."}}]},{name:"decoding",values:[{name:"sync"},{name:"async"},{name:"auto"}]},{name:"loading",values:[{name:"eager",description:{kind:"markdown",value:"Loads the image immediately, regardless of whether or not the image is currently within the visible viewport (this is the default value)."}},{name:"lazy",description:{kind:"markdown",value:"Defers loading the image until it reaches a calculated distance from the viewport, as defined by the browser. The intent is to avoid the network and storage bandwidth needed to handle the image until it's reasonably certain that it will be needed. This generally improves the performance of the content in most typical use cases."}}]},{name:"referrerpolicy",values:[{name:"no-referrer"},{name:"no-referrer-when-downgrade"},{name:"origin"},{name:"origin-when-cross-origin"},{name:"same-origin"},{name:"strict-origin"},{name:"strict-origin-when-cross-origin"},{name:"unsafe-url"}]},{name:"enterkeyhint",values:[{name:"enter"},{name:"done"},{name:"go"},{name:"next"},{name:"previous"},{name:"search"},{name:"send"}]},{name:"popover",values:[{name:"auto"},{name:"hint"},{name:"manual"}]},{name:"fetchpriority",values:[{name:"high"},{name:"low"},{name:"auto"}]}]}});var AC,lqe,uee=Ce(()=>{Py();YO();jO();AC=class{constructor(e){this.dataProviders=[],this.setDataProviders(e.useDefaultDataProvider!==!1,e.customDataProviders||[])}setDataProviders(e,n){this.dataProviders=[],e&&this.dataProviders.push(new rm("html5",kC)),this.dataProviders.push(...n)}getDataProviders(){return this.dataProviders}isVoidElement(e,n){return!!e&&xZ(n,e.toLowerCase(),(r,i)=>r.localeCompare(i))>=0}getVoidElements(e){let n=Array.isArray(e)?e:this.getDataProviders().filter(i=>i.isApplicable(e)),r=[];return n.forEach(i=>{i.provideTags().filter(s=>s.void).forEach(s=>r.push(s.name))}),r.sort()}isPathAttribute(e,n){if(n==="src"||n==="href")return!0;let r=lqe[e];return r?typeof r=="string"?r===n:r.indexOf(n)!==-1:!1}},lqe={a:"href",area:"href",body:"background",blockquote:"cite",del:"cite",form:"action",frame:["src","longdesc"],img:["src","longdesc"],ins:"cite",link:"href",object:"data",q:"cite",script:"src",audio:"src",button:"formaction",command:"icon",embed:"src",html:"manifest",input:["src","formaction"],source:"src",track:"src",video:["src","poster"]}});var Lh={};Qa(Lh,{ClientCapabilities:()=>LO,Color:()=>yc,ColorInformation:()=>Yu,ColorPresentation:()=>Qu,Command:()=>Ss,CompletionItem:()=>dl,CompletionItemKind:()=>Fe,CompletionItemTag:()=>Ji,CompletionList:()=>ed,Diagnostic:()=>di,DocumentHighlight:()=>nd,DocumentHighlightKind:()=>Mi,DocumentLink:()=>sd,DocumentSymbol:()=>pl,DocumentUri:()=>Qp,FileType:()=>Iy,FoldingRange:()=>Xu,FoldingRangeKind:()=>Gi,FormattingOptions:()=>fC,Hover:()=>td,InsertReplaceEdit:()=>uC,InsertTextFormat:()=>Xe,InsertTextMode:()=>dC,Location:()=>Ki,MarkedString:()=>hl,MarkupContent:()=>Ca,MarkupKind:()=>sn,Position:()=>Et,Range:()=>Ae,ScannerState:()=>Je,SelectionRange:()=>hi,SymbolInformation:()=>fl,SymbolKind:()=>En,TextDocument:()=>ac,TextEdit:()=>Me,TokenType:()=>ve,WorkspaceEdit:()=>wc,getDefaultHTMLDataProvider:()=>dqe,getLanguageService:()=>uqe,newHTMLDataProvider:()=>dee});function uqe(t=cqe){let e=new AC(t),n=new _C(t,e),r=new vC(t,e),i=new bC(e),s=new xC(i),o=new CC(e),a=new SC(e);return{setDataProviders:e.setDataProviders.bind(e),createScanner:wr,parseHTMLDocument:i.parseDocument.bind(i),doComplete:r.doComplete.bind(r),doComplete2:r.doComplete2.bind(r),setCompletionParticipants:r.setCompletionParticipants.bind(r),doHover:n.doHover.bind(n),format:HZ,findDocumentHighlights:XZ,findDocumentLinks:a.findDocumentLinks.bind(a),findDocumentSymbols:eee,findDocumentSymbols2:GO,getFoldingRanges:o.getFoldingRanges.bind(o),getSelectionRanges:s.getSelectionRanges.bind(s),doQuoteComplete:r.doQuoteComplete.bind(r),doTagComplete:r.doTagComplete.bind(r),doRename:ree,findMatchingTagPosition:see,findOnTypeRenameRanges:JO,findLinkedEditingRanges:JO}}function dee(t,e){return new rm(t,e)}function dqe(){return dee("default",kC)}var cqe,qh=Ce(()=>{Sc();kZ();RZ();PZ();VZ();GZ();ZZ();nee();iee();oee();aee();lee();cee();Py();uee();YO();Cs();cqe={}});var FC=I(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0});Ly.framework2tsx=hqe;Ly.classNameFromFilename=fee;Ly.patchTSX=pee;var QO=rt(),hee=oC();function hqe(t,e,n){let r=n==="vue"?(0,hee.importVueIntegration)(t):(0,hee.importSvelteIntegration)(t);if(!r)return o("");let i=fee(t),s=pee(r.toTSX(e,i),t);return o(s);function o(a){return{id:"tsx",languageId:"typescript",snapshot:{getText:(l,c)=>a.substring(l,c),getLength:()=>a.length,getChangeRange:()=>{}},mappings:[],embeddedCodes:[]}}}function fqe(t){return`${t}`.replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,n,r)=>`${n.toUpperCase()+r.toLowerCase()}`).replace(new RegExp(/\w/),e=>e.toUpperCase())}function fee(t){let e=QO.URI.parse(t),r=QO.Utils.basename(e).slice(0,-QO.Utils.extname(e).length).split("").filter(l=>/[\w$-]/.test(l)).join(""),i=r.split("").findIndex(l=>/[A-Za-z]/.test(l)),s=r.substring(i),o=fqe(s);return i===-1?`A${o}`:o}function pee(t,e){let n=e.split("/").pop(),r=n.startsWith("[")&&n.endsWith("]");return t.replace(/\b(\S*)__AstroComponent_/g,(i,s)=>s?r?`_${s}_`:s[0].toUpperCase()+s.slice(1):n==="404"?"FourOhFour":i)}});var yee=I(qy=>{"use strict";Object.defineProperty(qy,"__esModule",{value:!0});qy.safeConvertToTSX=gee;qy.getTSXRangesAsLSPRanges=bee;qy.astro2tsx=bqe;var pqe=require("@astrojs/compiler/sync"),mqe=UX(),mee=dc(),XO=(qh(),or(Lh)),gqe=FC();function gee(t,e){try{return(0,pqe.convertToTSX)(t,{filename:e.filename,includeScripts:!1,includeStyles:!1})}catch(n){return console.error(`There was an error transforming ${e.filename} to TSX. An empty file will be returned instead. Please create an issue: https://github.com/withastro/astro/issues
671
+ Error: ${n}.`),{code:"",map:{file:e.filename??"",sources:[],sourcesContent:[],names:[],mappings:"",version:0},diagnostics:[{code:1e3,location:{file:e.filename,line:1,column:1,length:t.length},severity:1,text:"The Astro compiler encountered an unknown error while transform this file to TSX. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/astro/issues"}],metaRanges:{frontmatter:{start:0,end:0},body:{start:0,end:0},scripts:[],styles:[]}}}}function bee(t){let e=XO.TextDocument.create("","typescriptreact",0,t.code);return{frontmatter:mee.Range.create(e.positionAt(t.metaRanges.frontmatter.start),e.positionAt(t.metaRanges.frontmatter.end)),body:mee.Range.create(e.positionAt(t.metaRanges.body.start),e.positionAt(t.metaRanges.body.end)),scripts:t.metaRanges.scripts??[],styles:t.metaRanges.styles??[]}}function bqe(t,e){let n=gee(t,{filename:e});return{virtualCode:yqe(t,n,e),diagnostics:n.diagnostics,ranges:bee(n)}}function yqe(t,e,n){e.code=(0,gqe.patchTSX)(e.code,n);let r=(0,mqe.decode)(e.map.mappings),i=XO.TextDocument.create("","astro",0,t),s=XO.TextDocument.create("","typescriptreact",0,e.code),o=[],a;for(let l=0;l<r.length;l++)for(let c of r[l]){let u=c[0],d=s.offsetAt({line:l,character:u});if(a){let f=d-a.genOffset,m=t.substring(a.sourceOffset,a.sourceOffset+f),b=e.code.substring(a.genOffset,a.genOffset+f);if(m!==b){f=0;for(let g=0;g<d-a.genOffset&&m[g]===b[g];g++)f=g+1}if(f>0){let g=o.length?o[o.length-1]:void 0;g&&g.generatedOffsets[0]+g.lengths[0]===a.genOffset&&g.sourceOffsets[0]+g.lengths[0]===a.sourceOffset?g.lengths[0]+=f:o.push({sourceOffsets:[a.sourceOffset],generatedOffsets:[a.genOffset],lengths:[f],data:{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}})}a=void 0}if(c[2]!==void 0&&c[3]!==void 0){let f=i.offsetAt({line:c[2],character:c[3]});a={genOffset:d,sourceOffset:f}}}return{id:"tsx",languageId:"typescriptreact",snapshot:{getText:(l,c)=>e.code.substring(l,c),getLength:()=>e.code.length,getChangeRange:()=>{}},mappings:o,embeddedCodes:[]}}});var vee=I(ZO=>{"use strict";Object.defineProperty(ZO,"__esModule",{value:!0});ZO.getAstroMetadata=wqe;var vqe=require("@astrojs/compiler/sync");function wqe(t,e,n={position:!0}){let r=_qe(t,e,n);return{...r,frontmatter:Sqe(r.ast,e)}}function _qe(t,e,n){try{return(0,vqe.parse)(e,n)}catch(r){return console.error(`There was an error parsing ${t}'s AST. An empty AST will be returned instead to avoid breaking the server. Please create an issue: https://github.com/withastro/astro/issues
672
+ Error: ${r}.`),{ast:{type:"root",children:[]},diagnostics:[{code:1e3,location:{file:t,line:1,column:1,length:e.length},severity:1,text:"The Astro compiler encountered an unknown error while parsing this file's AST. Please create an issue with your code and the error shown in the server's logs: https://github.com/withastro/astro/issues"}]}}}function Sqe(t,e){if(!t.children||t.children&&t.children.length===0)return{status:"doesnt-exist",position:void 0};if(t.children[0].type==="frontmatter"){let n=t.children[0];if(n.position)return n.position.end?n.position.end.offset===e.length&&!e.endsWith("---")?{status:"open",position:{start:n.position.start,end:void 0}}:{status:"closed",position:{start:n.position.start,end:n.position.end}}:{status:"open",position:{start:n.position.start,end:void 0}}}return{status:"doesnt-exist",position:void 0}}});var wee=I(EC=>{"use strict";Object.defineProperty(EC,"__esModule",{value:!0});EC.binarySearch=void 0;function Cqe(t,e){let n=0,r=t.length-1;for(;n<=r;){let i=Math.floor((n+r)/2),s=t[i];if(s<e)n=i+1;else if(s>e)r=i-1;else{n=i,r=i;break}}return Math.max(Math.min(n,r,t.length-1),0)}EC.binarySearch=Cqe});var tN=I(Oo=>{"use strict";Object.defineProperty(Oo,"__esModule",{value:!0});Oo.getStack=Oo.track=Oo.resetOffsetStack=Oo.offsetStack=Oo.setTracking=void 0;var _ee=!0,eN=0;function xqe(t){_ee=t}Oo.setTracking=xqe;function kqe(){eN++}Oo.offsetStack=kqe;function Aqe(){eN--}Oo.resetOffsetStack=Aqe;function Fqe(t,e=[]){return[new Proxy(t,{get(c,u,d){if(_ee){if(u==="push")return n;if(u==="pop")return r;if(u==="shift")return i;if(u==="unshift")return s;if(u==="splice")return o;if(u==="sort")return a;if(u==="reverse")return l}return Reflect.get(c,u,d)}}),e];function n(...c){return e.push({stack:im(),length:c.length}),t.push(...c)}function r(){if(e.length){let c=e[e.length-1];c.length>1?c.length--:e.pop()}return t.pop()}function i(){if(e.length){let c=e[0];c.length>1?c.length--:e.shift()}return t.shift()}function s(...c){return e.unshift({stack:im(),length:c.length}),t.unshift(...c)}function o(c,u,...d){u===void 0&&(u=t.length-c);let f=0,m;for(let g=0;g<e.length;g++){let w=e[g],_=f;if(f=_+w.length,c>=_){m=g+1;let v=w.length;w.length=c-_,e.splice(m,0,{stack:w.stack,length:v-w.length});break}}if(m===void 0)throw new Error("Invalid splice operation");let b=u;for(let g=m;g<e.length;g++){let w=e[g];for(;b>0&&w.length>0;)w.length--,b--;if(b===0)break}return e.splice(m,0,{stack:im(),length:d.length}),t.splice(c,u,...d)}function a(c){return e.splice(0,e.length,{stack:im(),length:t.length}),t.sort(c)}function l(){return e.splice(0,e.length,{stack:im(),length:t.length}),t.reverse()}}Oo.track=Fqe;function im(){let e=new Error().stack.split(`
673
673
  `)[3+eN].trim();return e.endsWith(")")?e=e.slice(e.lastIndexOf("(")+1,-1):e=e.slice(e.lastIndexOf(" ")+1),e}Oo.getStack=im});var Cee=I(See=>{"use strict";Object.defineProperty(See,"__esModule",{value:!0})});var iN=I(dr=>{"use strict";var Eqe=dr&&dr.__createBinding||(Object.create?function(t,e,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}),kee=dr&&dr.__exportStar||function(t,e){for(var n in t)n!=="default"&&!Object.prototype.hasOwnProperty.call(e,n)&&Eqe(e,t,n)};Object.defineProperty(dr,"__esModule",{value:!0});dr.replaceRange=dr.replaceSourceRange=dr.replaceAll=dr.replace=dr.create=dr.toString=dr.getLength=void 0;var xee=wee(),bl=tN();kee(Cee(),dr);kee(tN(),dr);function Aee(t){let e=0;for(let n of t)e+=typeof n=="string"?n.length:n[0].length;return e}dr.getLength=Aee;function nN(t){return t.map(e=>typeof e=="string"?e:e[0]).join("")}dr.toString=nN;function Tqe(t){return[[t,void 0,0]]}dr.create=Tqe;function Mqe(t,e,...n){let i=nN(t).match(e);if(i&&i.index!==void 0){let s=i.index,o=s+i[0].length;(0,bl.offsetStack)(),rN(t,s,o,...n.map(a=>typeof a=="function"?a(i[0]):a)),(0,bl.resetOffsetStack)()}}dr.replace=Mqe;function Dqe(t,e,...n){let r=nN(t),i=r.matchAll(e),s=r.length,o=0;for(let a of i)if(a.index!==void 0){let l=a.index+o,c=l+a[0].length;(0,bl.offsetStack)(),rN(t,l,c,...n.map(d=>typeof d=="function"?d(a[0]):d)),(0,bl.resetOffsetStack)();let u=Aee(t);o+=u-s,s=u}}dr.replaceAll=Dqe;function Rqe(t,e,n,r,...i){for(let s of t)if(typeof s!="string"&&s[1]===e){let o=s[2],a=s[2]+s[0].length;if(o<=n&&a>=r){let l=[];n>o&&l.push(Eee(s,n-o));for(let c of i)l.push(c);return r<a&&l.push(Tee(s,r-a)),Fee(l),(0,bl.offsetStack)(),t.splice(t.indexOf(s),1,...l),(0,bl.resetOffsetStack)(),!0}}return!1}dr.replaceSourceRange=Rqe;function rN(t,e,n,...r){let i=Iqe(t),s=(0,xee.binarySearch)(i,e),o=(0,xee.binarySearch)(i,n),a=t[s],l=t[o],c=i[s],u=i[o],d=i[o]+(typeof l=="string"?l.length:l[0].length),f=[];e>c&&f.push(Eee(a,e-c));for(let m of r)f.push(m);n<d&&f.push(Tee(l,n-u)),Fee(f),(0,bl.offsetStack)(),t.splice(s,o-s+1,...f),(0,bl.resetOffsetStack)()}dr.replaceRange=rN;function Fee(t){for(let e=t.length-1;e>=1;e--)typeof t[e]=="string"&&typeof t[e-1]=="string"&&(t[e-1]=t[e-1]+t[e],(0,bl.offsetStack)(),t.splice(e,1),(0,bl.resetOffsetStack)())}function Eee(t,e){return typeof t=="string"?t.slice(0,e):[t[0].slice(0,e),...t.slice(1)]}function Tee(t,e){return typeof t=="string"?t.slice(e):(e<0&&(e+=t[0].length),[t[0].slice(e),t[1],t[2]+e,...t.slice(3)])}function Iqe(t){let e=[],n=0;for(let r of t)e.push(n),n+=typeof r=="string"?r.length:r[0].length;return e}});var oN=I(sN=>{"use strict";Object.defineProperty(sN,"__esModule",{value:!0});sN.buildMappings=Pqe;function Pqe(t){let e=0,n=[];for(let r of t)typeof r=="string"?e+=r.length:(n.push({sourceOffsets:[r[2]],generatedOffsets:[e],lengths:[r[0].length],data:r[3]}),e+=r[0].length);return n}});var Dee=I(aN=>{"use strict";Object.defineProperty(aN,"__esModule",{value:!0});aN.extractStylesheets=qqe;var Oqe=iN(),Nqe=oN(),Mee=["css","scss","less"];function Lqe(t){return Mee.includes(t)}function qqe(t){return $qe(t)}function $qe(t){let e={css:[],scss:[],less:[]};for(let r of t){let i=Lqe(r.lang)?e[r.lang]:e.css,s=r.type==="style-attribute";s&&i.push("__ { "),i.push([r.content,void 0,r.position.start,{verification:!1,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}]),s&&i.push(` }
674
674
  `)}let n=[];for(let r of Mee)e[r].length&&n.push(zqe(e[r],r));return n}function zqe(t,e){let n=(0,Nqe.buildMappings)(t),r=(0,Oqe.toString)(t);return{id:`style.${e}`,languageId:e,snapshot:{getText:(i,s)=>r.substring(i,s),getLength:()=>r.length,getChangeRange:()=>{}},embeddedCodes:[],mappings:n}}});var sm=I(No=>{"use strict";Object.defineProperty(No,"__esModule",{value:!0});No.isJSDocument=jqe;No.isPossibleComponent=Ree;No.isInComponentStartTag=Wqe;No.isInsideExpression=Uqe;No.isInsideFrontmatter=Bqe;No.ensureProperEditForFrontmatter=Hqe;No.ensureRangeIsInFrontmatter=Iee;No.getNewFrontmatterEdit=Pee;No.getOpenFrontmatterEdit=Oee;No.editShouldBeInFrontmatter=Vqe;var TC=(qh(),or(Lh));function jqe(t){return t==="javascript"||t==="typescript"||t==="javascriptreact"||t==="typescriptreact"}function Ree(t){return t.tag?!!/[A-Z]/.test(t.tag?.[0])||!!/.+\.[A-Z]?/.test(t.tag):!1}function Wqe(t,e){let n=t.findNodeAt(e);return Ree(n)&&(!n.startTagEnd||e<n.startTagEnd)}function Uqe(t,e,n){let r=t.substring(e,n);return r.lastIndexOf("{")>r.lastIndexOf("}")}function Bqe(t,e){switch(e.status){case"closed":return t>e.position.start.offset&&t<e.position.end.offset;case"open":return t>e.position.start.offset;case"doesnt-exist":return!1}}function Hqe(t,e,n,r="top"){switch(e.frontmatter.status){case"open":return Oee(t,e,n);case"closed":let i=Iee(t.range,e,r);return{newText:i.start.line===e.frontmatter.position.start.line&&t.newText.startsWith(n)?t.newText.trimStart():t.newText,range:i};case"doesnt-exist":return Pee(t,e,n)}}function Iee(t,e,n="top"){if(e.frontmatter.status==="open"||e.frontmatter.status==="closed"){let r=e.frontmatter.position.end?e.tsxRanges.frontmatter.end:void 0;return t.start.line<e.tsxRanges.frontmatter.start.line||r&&t.start.line>r.line?r&&n==="bottom"?TC.Range.create(r,r):TC.Range.create(e.tsxRanges.frontmatter.start,e.tsxRanges.frontmatter.start):t}return t}function Pee(t,e,n){return t.newText=`---${t.newText.startsWith(n)?"":n}${t.newText}---${n}${n}`,t.range=TC.Range.create(e.tsxRanges.frontmatter.start,e.tsxRanges.frontmatter.start),t}function Oee(t,e,n){return t.newText=t.newText.startsWith(n)?`${t.newText}---`:`${n}${t.newText}---`,t.range=TC.Range.create(e.tsxRanges.frontmatter.start,e.tsxRanges.frontmatter.start),t}function Vqe(t,e){let n=t.start.line<e.tsxRanges.frontmatter.start.line,r=t.start.line>e.tsxRanges.body.end.line;return n||r?{itShould:!0,position:r?"bottom":"top"}:{itShould:!1,position:void 0}}});var $ee=I(yl=>{"use strict";var Kqe=yl&&yl.__createBinding||(Object.create?function(t,e,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}),Gqe=yl&&yl.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),Jqe=yl&&yl.__importStar||function(){var t=function(e){return t=Object.getOwnPropertyNames||function(n){var r=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[r.length]=i);return r},t(e)};return function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var r=t(e),i=0;i<r.length;i++)r[i]!=="default"&&Kqe(n,e,r[i]);return Gqe(n,e),n}}();Object.defineProperty(yl,"__esModule",{value:!0});yl.parseHTML=Qqe;yl.preprocessHTML=qee;var od=Jqe((qh(),or(Lh))),Yqe=sm(),Lee=od.getLanguageService();function Qqe(t,e){let n=qee(t.getText(0,t.getLength()),e);return{virtualCode:Xqe(n),htmlDocument:Zqe(n)}}var Nee=Lee.createScanner;function qee(t,e){let n=t.split("").fill(" ",0,e).join(""),r=Nee(n),i=r.scan(),s=null;for(;i!==od.TokenType.EOS;){let l=r.getTokenOffset();i===od.TokenType.StartTagOpen&&(s=l),i===od.TokenType.StartTagClose&&(o(l)?a(l):s=null),i===od.TokenType.StartTagSelfClose&&(s=null),i===od.TokenType.Unknown&&r.getScannerState()===od.ScannerState.WithinTag&&r.getTokenText()==="<"&&o(l)&&a(l),i=r.scan()}return n;function o(l){return s!==null&&(0,Yqe.isInsideExpression)(n,s,l)}function a(l,c){n=n.substring(0,l)+" "+n.substring(l+1),r=Nee(n,l,c??od.ScannerState.WithinTag)}}function Xqe(t){return{id:"html",languageId:"html",snapshot:{getText:(e,n)=>t.substring(e,n),getLength:()=>t.length,getChangeRange:()=>{}},mappings:[{sourceOffsets:[0],generatedOffsets:[0],lengths:[t.length],data:{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}}],embeddedCodes:[]}}function Zqe(t){return Lee.parseHTMLDocument({getText:()=>t})}});var zee=I(lN=>{"use strict";Object.defineProperty(lN,"__esModule",{value:!0});lN.extractScriptTags=n3e;var e3e=iN(),t3e=oN();function n3e(t){let e=[],n=t.filter(o=>o.type==="module"||o.type==="processed-module").map(r3e),r=t.filter(o=>o.type==="event-attribute"||o.type==="inline"||o.type==="unknown").sort((o,a)=>o.position.start-a.position.start);e.push(...n);let i=s3e(r);i&&e.push(i);let s=t.filter(o=>o.type==="json").map(i3e);return e.push(...s),e}function r3e(t,e){let n="mts",r="typescript";return t.type==="module"&&(n="mjs",r="javascript"),{id:`${e}.${n}`,languageId:r,snapshot:{getText:(i,s)=>t.content.substring(i,s),getLength:()=>t.content.length,getChangeRange:()=>{}},mappings:[{sourceOffsets:[t.position.start],generatedOffsets:[0],lengths:[t.content.length],data:{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}}],embeddedCodes:[]}}function i3e(t,e){return{id:`${e}.json`,languageId:"json",snapshot:{getText:(n,r)=>t.content.substring(n,r),getLength:()=>t.content.length,getChangeRange:()=>{}},mappings:[{sourceOffsets:[t.position.start],generatedOffsets:[0],lengths:[t.content.length],data:{verification:!1,completion:!1,semantic:!1,navigation:!1,structure:!1,format:!1}}],embeddedCodes:[]}}function s3e(t){if(t.length===0)return;let e=[];for(let i of t)e.push([i.content+";",void 0,i.position.start,{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!1}]);let n=(0,t3e.buildMappings)(e),r=(0,e3e.toString)(e);return{id:"inline.mjs",languageId:"javascript",snapshot:{getText:(i,s)=>r.substring(i,s),getLength:()=>r.length,getChangeRange:()=>{}},embeddedCodes:[],mappings:n}}});var xc=I(Lo=>{"use strict";var o3e=Lo&&Lo.__createBinding||(Object.create?function(t,e,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){r===void 0&&(r=n),t[r]=e[n]}),a3e=Lo&&Lo.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l3e=Lo&&Lo.__importStar||function(){var t=function(e){return t=Object.getOwnPropertyNames||function(n){var r=[];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[r.length]=i);return r},t(e)};return function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var r=t(e),i=0;i<r.length;i++)r[i]!=="default"&&o3e(n,e,r[i]);return a3e(n,e),n}}();Object.defineProperty(Lo,"__esModule",{value:!0});Lo.AstroVirtualCode=void 0;Lo.addAstroTypes=m3e;Lo.getAstroLanguagePlugin=g3e;var cN=l3e(require("node:path")),jee=Nt(),c3e=xO(),u3e=yee(),d3e=vee(),h3e=Dee(),f3e=$ee(),p3e=zee(),Wee=new WeakSet;function m3e(t,e,n){if(Wee.has(n))return;Wee.add(n);let r=n.getScriptFileNames.bind(n),i=n.getCompilationSettings.bind(n);n.getScriptFileNames=()=>{let s=(0,c3e.getLanguageServerTypesDir)(e),o=r(),a=[];return t?(a.push(...["./env.d.ts","./astro-jsx.d.ts"].map(l=>e.sys.resolvePath(cN.resolve(t.directory,l)))),(t.version.major<4||t.version.major===4&&t.version.minor===0&&t.version.patch<8)&&a.push(...["./jsx-runtime-augment.d.ts"].map(l=>e.sys.resolvePath(cN.resolve(s,l))))):a.push(...["./env.d.ts","./astro-jsx.d.ts","./jsx-runtime-fallback.d.ts"].map(l=>e.sys.resolvePath(cN.resolve(s,l)))),[...o,...a]},n.getCompilationSettings=()=>{let s=i();return{...s,module:e.ModuleKind.ESNext??99,target:e.ScriptTarget.ESNext??99,jsx:e.JsxEmit.Preserve??1,resolveJsonModule:!0,allowJs:!0,isolatedModules:!0,moduleResolution:s.moduleResolution===e.ModuleResolutionKind.Classic||!s.moduleResolution?e.ModuleResolutionKind.Node10:s.moduleResolution}}}function g3e(){return{getLanguageId(t){if(t.path.endsWith(".astro"))return"astro"},createVirtualCode(t,e,n){if(e==="astro"){let r=t.fsPath.replace(/\\/g,"/");return new MC(r,n)}},typescript:{extraFileExtensions:[{extension:"astro",isMixedContent:!0,scriptKind:7}],getServiceScript(t){for(let e of(0,jee.forEachEmbeddedCode)(t))if(e.id==="tsx")return{code:e,extension:".tsx",scriptKind:4}},getExtraServiceScripts(t,e){let n=[];for(let r of(0,jee.forEachEmbeddedCode)(e))if(r.id.endsWith(".mjs")||r.id.endsWith(".mts")){let i=r.id.endsWith(".mjs")?".mjs":".mts";n.push({fileName:t+"."+r.id,code:r,extension:i,scriptKind:i===".mjs"?1:3})}return n}}}}var MC=class{constructor(e,n){this.fileName=e,this.snapshot=n,this.id="root",this.languageId="astro",this.codegenStacks=[],this.mappings=[{sourceOffsets:[0],generatedOffsets:[0],lengths:[this.snapshot.getLength()],data:{verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!0}}];let r=(0,u3e.astro2tsx)(this.snapshot.getText(0,this.snapshot.getLength()),this.fileName),i=(0,d3e.getAstroMetadata)(this.fileName,this.snapshot.getText(0,this.snapshot.getLength())),{htmlDocument:s,virtualCode:o}=(0,f3e.parseHTML)(this.snapshot,i.frontmatter.status==="closed"?i.frontmatter.position.end.offset:0);this.htmlDocument=s,o.embeddedCodes=[...(0,h3e.extractStylesheets)(r.ranges.styles),...(0,p3e.extractScriptTags)(r.ranges.scripts)],this.astroMeta={...i,tsxRanges:r.ranges},this.compilerDiagnostics=[...r.diagnostics,...i.diagnostics],this.embeddedCodes=[o,r.virtualCode]}get hasCompilationErrors(){return this.compilerDiagnostics.filter(e=>e.severity===1).length>0}};Lo.AstroVirtualCode=MC});var q,IC,DC,Uee,Bee,mwt,RC,Hee,Vee,$y,zy,b3e,y3e,jy,v3e,ad,Kee,w3e,uN,ete,tte,_3e,S3e,C3e,x3e,k3e,dN,Gee,om,am,Wy,Jee,Yee,hN,fN,A3e,F3e,E3e,T3e,M3e,D3e,R3e,Qee,Xee,I3e,Zee,vl,qn,qo,ld=Ce(()=>{"use strict";(function(t){t[t.Ident=0]="Ident",t[t.AtKeyword=1]="AtKeyword",t[t.String=2]="String",t[t.BadString=3]="BadString",t[t.UnquotedString=4]="UnquotedString",t[t.Hash=5]="Hash",t[t.Num=6]="Num",t[t.Percentage=7]="Percentage",t[t.Dimension=8]="Dimension",t[t.UnicodeRange=9]="UnicodeRange",t[t.CDO=10]="CDO",t[t.CDC=11]="CDC",t[t.Colon=12]="Colon",t[t.SemiColon=13]="SemiColon",t[t.CurlyL=14]="CurlyL",t[t.CurlyR=15]="CurlyR",t[t.ParenthesisL=16]="ParenthesisL",t[t.ParenthesisR=17]="ParenthesisR",t[t.BracketL=18]="BracketL",t[t.BracketR=19]="BracketR",t[t.Whitespace=20]="Whitespace",t[t.Includes=21]="Includes",t[t.Dashmatch=22]="Dashmatch",t[t.SubstringOperator=23]="SubstringOperator",t[t.PrefixOperator=24]="PrefixOperator",t[t.SuffixOperator=25]="SuffixOperator",t[t.Delim=26]="Delim",t[t.EMS=27]="EMS",t[t.EXS=28]="EXS",t[t.Length=29]="Length",t[t.Angle=30]="Angle",t[t.Time=31]="Time",t[t.Freq=32]="Freq",t[t.Exclamation=33]="Exclamation",t[t.Resolution=34]="Resolution",t[t.Comma=35]="Comma",t[t.Charset=36]="Charset",t[t.EscapedJavaScript=37]="EscapedJavaScript",t[t.BadEscapedJavaScript=38]="BadEscapedJavaScript",t[t.Comment=39]="Comment",t[t.SingleLineComment=40]="SingleLineComment",t[t.EOF=41]="EOF",t[t.ContainerQueryLength=42]="ContainerQueryLength",t[t.CustomToken=43]="CustomToken"})(q||(q={}));IC=class{constructor(e){this.source=e,this.len=e.length,this.position=0}substring(e,n=this.position){return this.source.substring(e,n)}eos(){return this.len<=this.position}pos(){return this.position}goBackTo(e){this.position=e}goBack(e){this.position-=e}advance(e){this.position+=e}nextChar(){return this.source.charCodeAt(this.position++)||0}peekChar(e=0){return this.source.charCodeAt(this.position+e)||0}lookbackChar(e=0){return this.source.charCodeAt(this.position-e)||0}advanceIfChar(e){return e===this.source.charCodeAt(this.position)?(this.position++,!0):!1}advanceIfChars(e){if(this.position+e.length>this.source.length)return!1;let n=0;for(;n<e.length;n++)if(this.source.charCodeAt(this.position+n)!==e[n])return!1;return this.advance(n),!0}advanceWhileChar(e){let n=this.position;for(;this.position<this.len&&e(this.source.charCodeAt(this.position));)this.position++;return this.position-n}},DC="a".charCodeAt(0),Uee="f".charCodeAt(0),Bee="z".charCodeAt(0),mwt="u".charCodeAt(0),RC="A".charCodeAt(0),Hee="F".charCodeAt(0),Vee="Z".charCodeAt(0),$y="0".charCodeAt(0),zy="9".charCodeAt(0),b3e="~".charCodeAt(0),y3e="^".charCodeAt(0),jy="=".charCodeAt(0),v3e="|".charCodeAt(0),ad="-".charCodeAt(0),Kee="_".charCodeAt(0),w3e="%".charCodeAt(0),uN="*".charCodeAt(0),ete="(".charCodeAt(0),tte=")".charCodeAt(0),_3e="<".charCodeAt(0),S3e=">".charCodeAt(0),C3e="@".charCodeAt(0),x3e="#".charCodeAt(0),k3e="$".charCodeAt(0),dN="\\".charCodeAt(0),Gee="/".charCodeAt(0),om=`
675
675
  `.charCodeAt(0),am="\r".charCodeAt(0),Wy="\f".charCodeAt(0),Jee='"'.charCodeAt(0),Yee="'".charCodeAt(0),hN=" ".charCodeAt(0),fN=" ".charCodeAt(0),A3e=";".charCodeAt(0),F3e=":".charCodeAt(0),E3e="{".charCodeAt(0),T3e="}".charCodeAt(0),M3e="[".charCodeAt(0),D3e="]".charCodeAt(0),R3e=",".charCodeAt(0),Qee=".".charCodeAt(0),Xee="!".charCodeAt(0),I3e="?".charCodeAt(0),Zee="+".charCodeAt(0),vl={};vl[A3e]=q.SemiColon;vl[F3e]=q.Colon;vl[E3e]=q.CurlyL;vl[T3e]=q.CurlyR;vl[D3e]=q.BracketR;vl[M3e]=q.BracketL;vl[ete]=q.ParenthesisL;vl[tte]=q.ParenthesisR;vl[R3e]=q.Comma;qn={};qn.em=q.EMS;qn.ex=q.EXS;qn.px=q.Length;qn.cm=q.Length;qn.mm=q.Length;qn.in=q.Length;qn.pt=q.Length;qn.pc=q.Length;qn.deg=q.Angle;qn.rad=q.Angle;qn.grad=q.Angle;qn.ms=q.Time;qn.s=q.Time;qn.hz=q.Freq;qn.khz=q.Freq;qn["%"]=q.Percentage;qn.fr=q.Percentage;qn.dpi=q.Resolution;qn.dpcm=q.Resolution;qn.cqw=q.ContainerQueryLength;qn.cqh=q.ContainerQueryLength;qn.cqi=q.ContainerQueryLength;qn.cqb=q.ContainerQueryLength;qn.cqmin=q.ContainerQueryLength;qn.cqmax=q.ContainerQueryLength;qo=class{constructor(){this.stream=new IC(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}setSource(e){this.stream=new IC(e)}finishToken(e,n,r){return{offset:e,len:this.stream.pos()-e,type:n,text:r||this.stream.substring(e)}}substring(e,n){return this.stream.substring(e,e+n)}pos(){return this.stream.pos()}goBackTo(e){this.stream.goBackTo(e)}scanUnquotedString(){let e=this.stream.pos(),n=[];return this._unquotedString(n)?this.finishToken(e,q.UnquotedString,n.join("")):null}scan(){let e=this.trivia();if(e!==null)return e;let n=this.stream.pos();return this.stream.eos()?this.finishToken(n,q.EOF):this.scanNext(n)}tryScanUnicode(){let e=this.stream.pos();if(!this.stream.eos()&&this._unicodeRange())return this.finishToken(e,q.UnicodeRange);this.stream.goBackTo(e)}scanNext(e){if(this.stream.advanceIfChars([_3e,Xee,ad,ad]))return this.finishToken(e,q.CDO);if(this.stream.advanceIfChars([ad,ad,S3e]))return this.finishToken(e,q.CDC);let n=[];if(this.ident(n))return this.finishToken(e,q.Ident,n.join(""));if(this.stream.advanceIfChar(C3e))if(n=["@"],this._name(n)){let i=n.join("");return i==="@charset"?this.finishToken(e,q.Charset,i):this.finishToken(e,q.AtKeyword,i)}else return this.finishToken(e,q.Delim);if(this.stream.advanceIfChar(x3e))return n=["#"],this._name(n)?this.finishToken(e,q.Hash,n.join("")):this.finishToken(e,q.Delim);if(this.stream.advanceIfChar(Xee))return this.finishToken(e,q.Exclamation);if(this._number()){let i=this.stream.pos();if(n=[this.stream.substring(e,i)],this.stream.advanceIfChar(w3e))return this.finishToken(e,q.Percentage);if(this.ident(n)){let s=this.stream.substring(i).toLowerCase(),o=qn[s];return typeof o<"u"?this.finishToken(e,o,n.join("")):this.finishToken(e,q.Dimension,n.join(""))}return this.finishToken(e,q.Num)}n=[];let r=this._string(n);return r!==null?this.finishToken(e,r,n.join("")):(r=vl[this.stream.peekChar()],typeof r<"u"?(this.stream.advance(1),this.finishToken(e,r)):this.stream.peekChar(0)===b3e&&this.stream.peekChar(1)===jy?(this.stream.advance(2),this.finishToken(e,q.Includes)):this.stream.peekChar(0)===v3e&&this.stream.peekChar(1)===jy?(this.stream.advance(2),this.finishToken(e,q.Dashmatch)):this.stream.peekChar(0)===uN&&this.stream.peekChar(1)===jy?(this.stream.advance(2),this.finishToken(e,q.SubstringOperator)):this.stream.peekChar(0)===y3e&&this.stream.peekChar(1)===jy?(this.stream.advance(2),this.finishToken(e,q.PrefixOperator)):this.stream.peekChar(0)===k3e&&this.stream.peekChar(1)===jy?(this.stream.advance(2),this.finishToken(e,q.SuffixOperator)):(this.stream.nextChar(),this.finishToken(e,q.Delim)))}trivia(){for(;;){let e=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(e,q.Whitespace)}else if(this.comment()){if(!this.ignoreComment)return this.finishToken(e,q.Comment)}else return null}}comment(){if(this.stream.advanceIfChars([Gee,uN])){let e=!1,n=!1;return this.stream.advanceWhileChar(r=>n&&r===Gee?(e=!0,!1):(n=r===uN,!0)),e&&this.stream.advance(1),!0}return!1}_number(){let e=0,n=!1,r=this.stream.peekChar();(r===Zee||r===ad)&&e++,this.stream.peekChar(e)===Qee&&(e++,n=!0);let i=this.stream.peekChar(e);return i>=$y&&i<=zy?(this.stream.advance(e+1),this.stream.advanceWhileChar(s=>s>=$y&&s<=zy||!n&&s===Qee),!0):!1}_newline(e){let n=this.stream.peekChar();switch(n){case am:case Wy:case om:return this.stream.advance(1),e.push(String.fromCharCode(n)),n===am&&this.stream.advanceIfChar(om)&&e.push(`
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "color": "#17191E",
25
25
  "theme": "dark"
26
26
  },
27
- "version": "2.16.0",
27
+ "version": "2.16.2",
28
28
  "author": "withastro",
29
29
  "license": "MIT",
30
30
  "publisher": "astro-build",
@@ -146,13 +146,13 @@
146
146
  "scope": "resource",
147
147
  "type": "boolean",
148
148
  "default": false,
149
- "description": "Enable experimental support for content collection intellisense inside Markdown, MDX and Markdoc. Note that this require also enabling the feature in your Astro config (experimental.contentCollectionIntellisense) (Astro 4.14+)"
149
+ "description": "Enable experimental support for content collection intellisense inside Markdown, MDX and Markdoc. Note that this requires also enabling the feature in your Astro config (experimental.contentIntellisense) (Astro 4.14+)"
150
150
  },
151
151
  "astro.auto-import-cache.enabled": {
152
152
  "scope": "resource",
153
153
  "type": "boolean",
154
154
  "default": true,
155
- "markdownDescription": "Enable the auto import cache. Yields a faster intellisense when automatically importing a file, but can cause issues with new files not being detected. Change is applied on restart. See [#1035](https://github.com/withastro/language-tools/issues/1035)."
155
+ "markdownDescription": "Enable the auto import cache. Yields a faster intellisense when automatically importing a file, but can cause issues with new files not being detected. Change is applied on restart. See [#14642](https://github.com/withastro/astro/issues/14642)."
156
156
  },
157
157
  "astro.updateImportsOnFileMove.enabled": {
158
158
  "scope": "resource",
@@ -235,8 +235,8 @@
235
235
  ]
236
236
  },
237
237
  "devDependencies": {
238
- "@astrojs/language-server": "^2.16.0",
239
- "@astrojs/ts-plugin": "^1.10.5",
238
+ "@astrojs/language-server": "^2.16.1",
239
+ "@astrojs/ts-plugin": "^1.10.6",
240
240
  "@types/glob": "^8.1.0",
241
241
  "@types/mocha": "^10.0.1",
242
242
  "@types/node": "^20.9.0",
@@ -251,6 +251,7 @@
251
251
  "js-yaml": "^4.1.0",
252
252
  "kleur": "^4.1.5",
253
253
  "mocha": "^10.2.0",
254
+ "ovsx": "^0.10.6",
254
255
  "vscode-languageclient": "^9.0.1",
255
256
  "vscode-tmgrammar-test": "^0.1.2"
256
257
  },