All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.primefaces-extensions.monacoeditor.css.worker.js Maven / Gradle / Ivy

There is a newer version: 15.0.0
Show newest version
!function(){var e,t,n={13355:function(e,t,n){"use strict";function r(e,t,n=(e,t)=>e===t){if(e===t)return!0;if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let r=0,i=e.length;re){const n=new Set;return e.filter((e=>{const r=t(e);return!n.has(r)&&(n.add(r),!0)}))}function l(e,t){return e.length>0?e[0]:t}function c(e,t,n){const r=e.slice(0,t),i=e.slice(t);return r.concat(n,i)}function h(e,t){for(const n of t)e.push(n)}var d;function p(e,t){return(n,r)=>t(e(n),e(r))}n.d(t,{ArrayQueue:function(){return f},CallbackIterable:function(){return g},arrayInsert:function(){return c},compareBy:function(){return p},distinct:function(){return a},equals:function(){return r},firstOrDefault:function(){return l},forEachAdjacent:function(){return s},forEachWithNeighbors:function(){return o},groupAdjacentBy:function(){return i},numberComparator:function(){return u},pushMany:function(){return h},reverseOrder:function(){return m}}),function(e){e.isLessThan=function(e){return e<0},e.isLessThanOrEqual=function(e){return e<=0},e.isGreaterThan=function(e){return e>0},e.isNeitherLessOrGreaterThan=function(e){return 0===e},e.greaterThan=1,e.lessThan=-1,e.neitherLessOrGreaterThan=0}(d||(d={}));const u=(e,t)=>e-t;function m(e){return(t,n)=>-e(t,n)}class f{constructor(e){this.items=e,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(e){let t=this.firstIdx;for(;t=0&&e(this.items[t]);)t--;const n=t===this.lastIdx?null:this.items.slice(t+1,this.lastIdx+1);return this.lastIdx=t,n}peek(){if(0!==this.length)return this.items[this.firstIdx]}dequeue(){const e=this.items[this.firstIdx];return this.firstIdx++,e}takeCount(e){const t=this.items.slice(this.firstIdx,this.firstIdx+e);return this.firstIdx+=e,t}}class g{static{this.empty=new g((e=>{}))}constructor(e){this.iterate=e}toArray(){const e=[];return this.iterate((t=>(e.push(t),!0))),e}filter(e){return new g((t=>this.iterate((n=>!e(n)||t(n)))))}map(e){return new g((t=>this.iterate((n=>t(e(n))))))}findLast(e){let t;return this.iterate((n=>(e(n)&&(t=n),!0))),t}findLastMaxBy(e){let t,n=!0;return this.iterate((r=>((n||d.isGreaterThan(e(r,t)))&&(n=!1,t=r),!0))),t}}},56748:function(e,t,n){"use strict";function r(e,t){const n=function(e,t,n=e.length-1){for(let r=n;r>=0;r--){if(t(e[r]))return r}return-1}(e,t);if(-1!==n)return e[n]}function i(e,t){const n=s(e,t);return-1===n?void 0:e[n]}function s(e,t,n=0,r=e.length){let i=n,s=r;for(;i{e()}),t);this.disposable=(0,s.toDisposable)((()=>{n.clearInterval(i),this.disposable=void 0}))}dispose(){this.cancel(),this.isDisposed=!0}}class c{constructor(e,t){this.timeoutToken=-1,this.runner=e,this.timeout=t,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(e=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,e)}get delay(){return this.timeout}set delay(e){this.timeout=e}isScheduled(){return-1!==this.timeoutToken}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner?.()}}let h,d;d="function"!=typeof globalThis.requestIdleCallback||"function"!=typeof globalThis.cancelIdleCallback?(e,t)=>{(0,o.setTimeout0)((()=>{if(n)return;const e=Date.now()+15,r={didTimeout:!0,timeRemaining(){return Math.max(0,e-Date.now())}};t(Object.freeze(r))}));let n=!1;return{dispose(){n||(n=!0)}}}:(e,t,n)=>{const r=e.requestIdleCallback(t,"number"==typeof n?{timeout:n}:void 0);let i=!1;return{dispose(){i||(i=!0,e.cancelIdleCallback(r))}}},h=e=>d(globalThis,e);var p;!function(e){e.settled=async function(e){let t;const n=await Promise.all(e.map((e=>e.then((e=>e),(e=>{t||(t=e)})))));if(void 0!==t)throw t;return n},e.withAsyncBody=function(e){return new Promise((async(t,n)=>{try{await e(t,n)}catch(e){n(e)}}))}}(p||(p={}));class u{static fromArray(e){return new u((t=>{t.emitMany(e)}))}static fromPromise(e){return new u((async t=>{t.emitMany(await e)}))}static fromPromises(e){return new u((async t=>{await Promise.all(e.map((async e=>t.emitOne(await e))))}))}static merge(e){return new u((async t=>{await Promise.all(e.map((async e=>{for await(const n of e)t.emitOne(n)})))}))}static{this.EMPTY=u.fromArray([])}constructor(e,t){this._state=0,this._results=[],this._error=null,this._onReturn=t,this._onStateChanged=new i.Emitter,queueMicrotask((async()=>{const t={emitOne:e=>this.emitOne(e),emitMany:e=>this.emitMany(e),reject:e=>this.reject(e)};try{await Promise.resolve(e(t)),this.resolve()}catch(e){this.reject(e)}finally{t.emitOne=void 0,t.emitMany=void 0,t.reject=void 0}}))}[Symbol.asyncIterator](){let e=0;return{next:async()=>{for(;;){if(2===this._state)throw this._error;if(e(this._onReturn?.(),{done:!0,value:void 0})}}static map(e,t){return new u((async n=>{for await(const r of e)n.emitOne(t(r))}))}map(e){return u.map(this,e)}static filter(e,t){return new u((async n=>{for await(const r of e)t(r)&&n.emitOne(r)}))}filter(e){return u.filter(this,e)}static coalesce(e){return u.filter(e,(e=>!!e))}coalesce(){return u.coalesce(this)}static async toPromise(e){const t=[];for await(const n of e)t.push(n);return t}toPromise(){return u.toPromise(this)}emitOne(e){0===this._state&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){0===this._state&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){0===this._state&&(this._state=1,this._onStateChanged.fire())}reject(e){0===this._state&&(this._state=2,this._error=e,this._onStateChanged.fire())}}},67675:function(e,t,n){"use strict";function r(e){return e}n.d(t,{CachedFunction:function(){return s},LRUCachedFunction:function(){return i}});class i{constructor(e,t){this.lastCache=void 0,this.lastArgKey=void 0,"function"==typeof e?(this._fn=e,this._computeKey=r):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){const t=this._computeKey(e);return this.lastArgKey!==t&&(this.lastArgKey=t,this.lastCache=this._fn(e)),this.lastCache}}class s{get cachedValues(){return this._map}constructor(e,t){this._map=new Map,this._map2=new Map,"function"==typeof e?(this._fn=e,this._computeKey=r):(this._fn=t,this._computeKey=e.getCacheKey)}get(e){const t=this._computeKey(e);if(this._map2.has(t))return this._map2.get(t);const n=this._fn(e);return this._map.set(e,n),this._map2.set(t,n),n}}},35910:function(e,t,n){"use strict";n.d(t,{CancellationTokenSource:function(){return a}});var r=n(1077);const i=Object.freeze((function(e,t){const n=setTimeout(e.bind(t),0);return{dispose(){clearTimeout(n)}}}));var s;!function(e){e.isCancellationToken=function(t){return t===e.None||t===e.Cancelled||(t instanceof o||!(!t||"object"!=typeof t)&&("boolean"==typeof t.isCancellationRequested&&"function"==typeof t.onCancellationRequested))},e.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),e.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:i})}(s||(s={}));class o{constructor(){this._isCancelled=!1,this._emitter=null}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?i:(this._emitter||(this._emitter=new r.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class a{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token instanceof o&&this._token.cancel():this._token=s.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof o&&this._token.dispose():this._token=s.None}}},66781:function(e,t,n){"use strict";n.d(t,{Codicon:function(){return o}});var r=n(90305),i=n(5726);const s={dialogError:(0,r.register)("dialog-error","error"),dialogWarning:(0,r.register)("dialog-warning","warning"),dialogInfo:(0,r.register)("dialog-info","info"),dialogClose:(0,r.register)("dialog-close","close"),treeItemExpanded:(0,r.register)("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:(0,r.register)("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:(0,r.register)("tree-filter-on-type-off","list-selection"),treeFilterClear:(0,r.register)("tree-filter-clear","close"),treeItemLoading:(0,r.register)("tree-item-loading","loading"),menuSelection:(0,r.register)("menu-selection","check"),menuSubmenu:(0,r.register)("menu-submenu","chevron-right"),menuBarMore:(0,r.register)("menubar-more","more"),scrollbarButtonLeft:(0,r.register)("scrollbar-button-left","triangle-left"),scrollbarButtonRight:(0,r.register)("scrollbar-button-right","triangle-right"),scrollbarButtonUp:(0,r.register)("scrollbar-button-up","triangle-up"),scrollbarButtonDown:(0,r.register)("scrollbar-button-down","triangle-down"),toolBarMore:(0,r.register)("toolbar-more","more"),quickInputBack:(0,r.register)("quick-input-back","arrow-left"),dropDownButton:(0,r.register)("drop-down-button",60084),symbolCustomColor:(0,r.register)("symbol-customcolor",60252),exportIcon:(0,r.register)("export",60332),workspaceUnspecified:(0,r.register)("workspace-unspecified",60355),newLine:(0,r.register)("newline",60394),thumbsDownFilled:(0,r.register)("thumbsdown-filled",60435),thumbsUpFilled:(0,r.register)("thumbsup-filled",60436),gitFetch:(0,r.register)("git-fetch",60445),lightbulbSparkleAutofix:(0,r.register)("lightbulb-sparkle-autofix",60447),debugBreakpointPending:(0,r.register)("debug-breakpoint-pending",60377)},o={...i.codiconsLibrary,...s}},5726:function(e,t,n){"use strict";n.d(t,{codiconsLibrary:function(){return i}});var r=n(90305);const i={add:(0,r.register)("add",6e4),plus:(0,r.register)("plus",6e4),gistNew:(0,r.register)("gist-new",6e4),repoCreate:(0,r.register)("repo-create",6e4),lightbulb:(0,r.register)("lightbulb",60001),lightBulb:(0,r.register)("light-bulb",60001),repo:(0,r.register)("repo",60002),repoDelete:(0,r.register)("repo-delete",60002),gistFork:(0,r.register)("gist-fork",60003),repoForked:(0,r.register)("repo-forked",60003),gitPullRequest:(0,r.register)("git-pull-request",60004),gitPullRequestAbandoned:(0,r.register)("git-pull-request-abandoned",60004),recordKeys:(0,r.register)("record-keys",60005),keyboard:(0,r.register)("keyboard",60005),tag:(0,r.register)("tag",60006),gitPullRequestLabel:(0,r.register)("git-pull-request-label",60006),tagAdd:(0,r.register)("tag-add",60006),tagRemove:(0,r.register)("tag-remove",60006),person:(0,r.register)("person",60007),personFollow:(0,r.register)("person-follow",60007),personOutline:(0,r.register)("person-outline",60007),personFilled:(0,r.register)("person-filled",60007),gitBranch:(0,r.register)("git-branch",60008),gitBranchCreate:(0,r.register)("git-branch-create",60008),gitBranchDelete:(0,r.register)("git-branch-delete",60008),sourceControl:(0,r.register)("source-control",60008),mirror:(0,r.register)("mirror",60009),mirrorPublic:(0,r.register)("mirror-public",60009),star:(0,r.register)("star",60010),starAdd:(0,r.register)("star-add",60010),starDelete:(0,r.register)("star-delete",60010),starEmpty:(0,r.register)("star-empty",60010),comment:(0,r.register)("comment",60011),commentAdd:(0,r.register)("comment-add",60011),alert:(0,r.register)("alert",60012),warning:(0,r.register)("warning",60012),search:(0,r.register)("search",60013),searchSave:(0,r.register)("search-save",60013),logOut:(0,r.register)("log-out",60014),signOut:(0,r.register)("sign-out",60014),logIn:(0,r.register)("log-in",60015),signIn:(0,r.register)("sign-in",60015),eye:(0,r.register)("eye",60016),eyeUnwatch:(0,r.register)("eye-unwatch",60016),eyeWatch:(0,r.register)("eye-watch",60016),circleFilled:(0,r.register)("circle-filled",60017),primitiveDot:(0,r.register)("primitive-dot",60017),closeDirty:(0,r.register)("close-dirty",60017),debugBreakpoint:(0,r.register)("debug-breakpoint",60017),debugBreakpointDisabled:(0,r.register)("debug-breakpoint-disabled",60017),debugHint:(0,r.register)("debug-hint",60017),terminalDecorationSuccess:(0,r.register)("terminal-decoration-success",60017),primitiveSquare:(0,r.register)("primitive-square",60018),edit:(0,r.register)("edit",60019),pencil:(0,r.register)("pencil",60019),info:(0,r.register)("info",60020),issueOpened:(0,r.register)("issue-opened",60020),gistPrivate:(0,r.register)("gist-private",60021),gitForkPrivate:(0,r.register)("git-fork-private",60021),lock:(0,r.register)("lock",60021),mirrorPrivate:(0,r.register)("mirror-private",60021),close:(0,r.register)("close",60022),removeClose:(0,r.register)("remove-close",60022),x:(0,r.register)("x",60022),repoSync:(0,r.register)("repo-sync",60023),sync:(0,r.register)("sync",60023),clone:(0,r.register)("clone",60024),desktopDownload:(0,r.register)("desktop-download",60024),beaker:(0,r.register)("beaker",60025),microscope:(0,r.register)("microscope",60025),vm:(0,r.register)("vm",60026),deviceDesktop:(0,r.register)("device-desktop",60026),file:(0,r.register)("file",60027),fileText:(0,r.register)("file-text",60027),more:(0,r.register)("more",60028),ellipsis:(0,r.register)("ellipsis",60028),kebabHorizontal:(0,r.register)("kebab-horizontal",60028),mailReply:(0,r.register)("mail-reply",60029),reply:(0,r.register)("reply",60029),organization:(0,r.register)("organization",60030),organizationFilled:(0,r.register)("organization-filled",60030),organizationOutline:(0,r.register)("organization-outline",60030),newFile:(0,r.register)("new-file",60031),fileAdd:(0,r.register)("file-add",60031),newFolder:(0,r.register)("new-folder",60032),fileDirectoryCreate:(0,r.register)("file-directory-create",60032),trash:(0,r.register)("trash",60033),trashcan:(0,r.register)("trashcan",60033),history:(0,r.register)("history",60034),clock:(0,r.register)("clock",60034),folder:(0,r.register)("folder",60035),fileDirectory:(0,r.register)("file-directory",60035),symbolFolder:(0,r.register)("symbol-folder",60035),logoGithub:(0,r.register)("logo-github",60036),markGithub:(0,r.register)("mark-github",60036),github:(0,r.register)("github",60036),terminal:(0,r.register)("terminal",60037),console:(0,r.register)("console",60037),repl:(0,r.register)("repl",60037),zap:(0,r.register)("zap",60038),symbolEvent:(0,r.register)("symbol-event",60038),error:(0,r.register)("error",60039),stop:(0,r.register)("stop",60039),variable:(0,r.register)("variable",60040),symbolVariable:(0,r.register)("symbol-variable",60040),array:(0,r.register)("array",60042),symbolArray:(0,r.register)("symbol-array",60042),symbolModule:(0,r.register)("symbol-module",60043),symbolPackage:(0,r.register)("symbol-package",60043),symbolNamespace:(0,r.register)("symbol-namespace",60043),symbolObject:(0,r.register)("symbol-object",60043),symbolMethod:(0,r.register)("symbol-method",60044),symbolFunction:(0,r.register)("symbol-function",60044),symbolConstructor:(0,r.register)("symbol-constructor",60044),symbolBoolean:(0,r.register)("symbol-boolean",60047),symbolNull:(0,r.register)("symbol-null",60047),symbolNumeric:(0,r.register)("symbol-numeric",60048),symbolNumber:(0,r.register)("symbol-number",60048),symbolStructure:(0,r.register)("symbol-structure",60049),symbolStruct:(0,r.register)("symbol-struct",60049),symbolParameter:(0,r.register)("symbol-parameter",60050),symbolTypeParameter:(0,r.register)("symbol-type-parameter",60050),symbolKey:(0,r.register)("symbol-key",60051),symbolText:(0,r.register)("symbol-text",60051),symbolReference:(0,r.register)("symbol-reference",60052),goToFile:(0,r.register)("go-to-file",60052),symbolEnum:(0,r.register)("symbol-enum",60053),symbolValue:(0,r.register)("symbol-value",60053),symbolRuler:(0,r.register)("symbol-ruler",60054),symbolUnit:(0,r.register)("symbol-unit",60054),activateBreakpoints:(0,r.register)("activate-breakpoints",60055),archive:(0,r.register)("archive",60056),arrowBoth:(0,r.register)("arrow-both",60057),arrowDown:(0,r.register)("arrow-down",60058),arrowLeft:(0,r.register)("arrow-left",60059),arrowRight:(0,r.register)("arrow-right",60060),arrowSmallDown:(0,r.register)("arrow-small-down",60061),arrowSmallLeft:(0,r.register)("arrow-small-left",60062),arrowSmallRight:(0,r.register)("arrow-small-right",60063),arrowSmallUp:(0,r.register)("arrow-small-up",60064),arrowUp:(0,r.register)("arrow-up",60065),bell:(0,r.register)("bell",60066),bold:(0,r.register)("bold",60067),book:(0,r.register)("book",60068),bookmark:(0,r.register)("bookmark",60069),debugBreakpointConditionalUnverified:(0,r.register)("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:(0,r.register)("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:(0,r.register)("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:(0,r.register)("debug-breakpoint-data-unverified",60072),debugBreakpointData:(0,r.register)("debug-breakpoint-data",60073),debugBreakpointDataDisabled:(0,r.register)("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:(0,r.register)("debug-breakpoint-log-unverified",60074),debugBreakpointLog:(0,r.register)("debug-breakpoint-log",60075),debugBreakpointLogDisabled:(0,r.register)("debug-breakpoint-log-disabled",60075),briefcase:(0,r.register)("briefcase",60076),broadcast:(0,r.register)("broadcast",60077),browser:(0,r.register)("browser",60078),bug:(0,r.register)("bug",60079),calendar:(0,r.register)("calendar",60080),caseSensitive:(0,r.register)("case-sensitive",60081),check:(0,r.register)("check",60082),checklist:(0,r.register)("checklist",60083),chevronDown:(0,r.register)("chevron-down",60084),chevronLeft:(0,r.register)("chevron-left",60085),chevronRight:(0,r.register)("chevron-right",60086),chevronUp:(0,r.register)("chevron-up",60087),chromeClose:(0,r.register)("chrome-close",60088),chromeMaximize:(0,r.register)("chrome-maximize",60089),chromeMinimize:(0,r.register)("chrome-minimize",60090),chromeRestore:(0,r.register)("chrome-restore",60091),circleOutline:(0,r.register)("circle-outline",60092),circle:(0,r.register)("circle",60092),debugBreakpointUnverified:(0,r.register)("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:(0,r.register)("terminal-decoration-incomplete",60092),circleSlash:(0,r.register)("circle-slash",60093),circuitBoard:(0,r.register)("circuit-board",60094),clearAll:(0,r.register)("clear-all",60095),clippy:(0,r.register)("clippy",60096),closeAll:(0,r.register)("close-all",60097),cloudDownload:(0,r.register)("cloud-download",60098),cloudUpload:(0,r.register)("cloud-upload",60099),code:(0,r.register)("code",60100),collapseAll:(0,r.register)("collapse-all",60101),colorMode:(0,r.register)("color-mode",60102),commentDiscussion:(0,r.register)("comment-discussion",60103),creditCard:(0,r.register)("credit-card",60105),dash:(0,r.register)("dash",60108),dashboard:(0,r.register)("dashboard",60109),database:(0,r.register)("database",60110),debugContinue:(0,r.register)("debug-continue",60111),debugDisconnect:(0,r.register)("debug-disconnect",60112),debugPause:(0,r.register)("debug-pause",60113),debugRestart:(0,r.register)("debug-restart",60114),debugStart:(0,r.register)("debug-start",60115),debugStepInto:(0,r.register)("debug-step-into",60116),debugStepOut:(0,r.register)("debug-step-out",60117),debugStepOver:(0,r.register)("debug-step-over",60118),debugStop:(0,r.register)("debug-stop",60119),debug:(0,r.register)("debug",60120),deviceCameraVideo:(0,r.register)("device-camera-video",60121),deviceCamera:(0,r.register)("device-camera",60122),deviceMobile:(0,r.register)("device-mobile",60123),diffAdded:(0,r.register)("diff-added",60124),diffIgnored:(0,r.register)("diff-ignored",60125),diffModified:(0,r.register)("diff-modified",60126),diffRemoved:(0,r.register)("diff-removed",60127),diffRenamed:(0,r.register)("diff-renamed",60128),diff:(0,r.register)("diff",60129),diffSidebyside:(0,r.register)("diff-sidebyside",60129),discard:(0,r.register)("discard",60130),editorLayout:(0,r.register)("editor-layout",60131),emptyWindow:(0,r.register)("empty-window",60132),exclude:(0,r.register)("exclude",60133),extensions:(0,r.register)("extensions",60134),eyeClosed:(0,r.register)("eye-closed",60135),fileBinary:(0,r.register)("file-binary",60136),fileCode:(0,r.register)("file-code",60137),fileMedia:(0,r.register)("file-media",60138),filePdf:(0,r.register)("file-pdf",60139),fileSubmodule:(0,r.register)("file-submodule",60140),fileSymlinkDirectory:(0,r.register)("file-symlink-directory",60141),fileSymlinkFile:(0,r.register)("file-symlink-file",60142),fileZip:(0,r.register)("file-zip",60143),files:(0,r.register)("files",60144),filter:(0,r.register)("filter",60145),flame:(0,r.register)("flame",60146),foldDown:(0,r.register)("fold-down",60147),foldUp:(0,r.register)("fold-up",60148),fold:(0,r.register)("fold",60149),folderActive:(0,r.register)("folder-active",60150),folderOpened:(0,r.register)("folder-opened",60151),gear:(0,r.register)("gear",60152),gift:(0,r.register)("gift",60153),gistSecret:(0,r.register)("gist-secret",60154),gist:(0,r.register)("gist",60155),gitCommit:(0,r.register)("git-commit",60156),gitCompare:(0,r.register)("git-compare",60157),compareChanges:(0,r.register)("compare-changes",60157),gitMerge:(0,r.register)("git-merge",60158),githubAction:(0,r.register)("github-action",60159),githubAlt:(0,r.register)("github-alt",60160),globe:(0,r.register)("globe",60161),grabber:(0,r.register)("grabber",60162),graph:(0,r.register)("graph",60163),gripper:(0,r.register)("gripper",60164),heart:(0,r.register)("heart",60165),home:(0,r.register)("home",60166),horizontalRule:(0,r.register)("horizontal-rule",60167),hubot:(0,r.register)("hubot",60168),inbox:(0,r.register)("inbox",60169),issueReopened:(0,r.register)("issue-reopened",60171),issues:(0,r.register)("issues",60172),italic:(0,r.register)("italic",60173),jersey:(0,r.register)("jersey",60174),json:(0,r.register)("json",60175),kebabVertical:(0,r.register)("kebab-vertical",60176),key:(0,r.register)("key",60177),law:(0,r.register)("law",60178),lightbulbAutofix:(0,r.register)("lightbulb-autofix",60179),linkExternal:(0,r.register)("link-external",60180),link:(0,r.register)("link",60181),listOrdered:(0,r.register)("list-ordered",60182),listUnordered:(0,r.register)("list-unordered",60183),liveShare:(0,r.register)("live-share",60184),loading:(0,r.register)("loading",60185),location:(0,r.register)("location",60186),mailRead:(0,r.register)("mail-read",60187),mail:(0,r.register)("mail",60188),markdown:(0,r.register)("markdown",60189),megaphone:(0,r.register)("megaphone",60190),mention:(0,r.register)("mention",60191),milestone:(0,r.register)("milestone",60192),gitPullRequestMilestone:(0,r.register)("git-pull-request-milestone",60192),mortarBoard:(0,r.register)("mortar-board",60193),move:(0,r.register)("move",60194),multipleWindows:(0,r.register)("multiple-windows",60195),mute:(0,r.register)("mute",60196),noNewline:(0,r.register)("no-newline",60197),note:(0,r.register)("note",60198),octoface:(0,r.register)("octoface",60199),openPreview:(0,r.register)("open-preview",60200),package:(0,r.register)("package",60201),paintcan:(0,r.register)("paintcan",60202),pin:(0,r.register)("pin",60203),play:(0,r.register)("play",60204),run:(0,r.register)("run",60204),plug:(0,r.register)("plug",60205),preserveCase:(0,r.register)("preserve-case",60206),preview:(0,r.register)("preview",60207),project:(0,r.register)("project",60208),pulse:(0,r.register)("pulse",60209),question:(0,r.register)("question",60210),quote:(0,r.register)("quote",60211),radioTower:(0,r.register)("radio-tower",60212),reactions:(0,r.register)("reactions",60213),references:(0,r.register)("references",60214),refresh:(0,r.register)("refresh",60215),regex:(0,r.register)("regex",60216),remoteExplorer:(0,r.register)("remote-explorer",60217),remote:(0,r.register)("remote",60218),remove:(0,r.register)("remove",60219),replaceAll:(0,r.register)("replace-all",60220),replace:(0,r.register)("replace",60221),repoClone:(0,r.register)("repo-clone",60222),repoForcePush:(0,r.register)("repo-force-push",60223),repoPull:(0,r.register)("repo-pull",60224),repoPush:(0,r.register)("repo-push",60225),report:(0,r.register)("report",60226),requestChanges:(0,r.register)("request-changes",60227),rocket:(0,r.register)("rocket",60228),rootFolderOpened:(0,r.register)("root-folder-opened",60229),rootFolder:(0,r.register)("root-folder",60230),rss:(0,r.register)("rss",60231),ruby:(0,r.register)("ruby",60232),saveAll:(0,r.register)("save-all",60233),saveAs:(0,r.register)("save-as",60234),save:(0,r.register)("save",60235),screenFull:(0,r.register)("screen-full",60236),screenNormal:(0,r.register)("screen-normal",60237),searchStop:(0,r.register)("search-stop",60238),server:(0,r.register)("server",60240),settingsGear:(0,r.register)("settings-gear",60241),settings:(0,r.register)("settings",60242),shield:(0,r.register)("shield",60243),smiley:(0,r.register)("smiley",60244),sortPrecedence:(0,r.register)("sort-precedence",60245),splitHorizontal:(0,r.register)("split-horizontal",60246),splitVertical:(0,r.register)("split-vertical",60247),squirrel:(0,r.register)("squirrel",60248),starFull:(0,r.register)("star-full",60249),starHalf:(0,r.register)("star-half",60250),symbolClass:(0,r.register)("symbol-class",60251),symbolColor:(0,r.register)("symbol-color",60252),symbolConstant:(0,r.register)("symbol-constant",60253),symbolEnumMember:(0,r.register)("symbol-enum-member",60254),symbolField:(0,r.register)("symbol-field",60255),symbolFile:(0,r.register)("symbol-file",60256),symbolInterface:(0,r.register)("symbol-interface",60257),symbolKeyword:(0,r.register)("symbol-keyword",60258),symbolMisc:(0,r.register)("symbol-misc",60259),symbolOperator:(0,r.register)("symbol-operator",60260),symbolProperty:(0,r.register)("symbol-property",60261),wrench:(0,r.register)("wrench",60261),wrenchSubaction:(0,r.register)("wrench-subaction",60261),symbolSnippet:(0,r.register)("symbol-snippet",60262),tasklist:(0,r.register)("tasklist",60263),telescope:(0,r.register)("telescope",60264),textSize:(0,r.register)("text-size",60265),threeBars:(0,r.register)("three-bars",60266),thumbsdown:(0,r.register)("thumbsdown",60267),thumbsup:(0,r.register)("thumbsup",60268),tools:(0,r.register)("tools",60269),triangleDown:(0,r.register)("triangle-down",60270),triangleLeft:(0,r.register)("triangle-left",60271),triangleRight:(0,r.register)("triangle-right",60272),triangleUp:(0,r.register)("triangle-up",60273),twitter:(0,r.register)("twitter",60274),unfold:(0,r.register)("unfold",60275),unlock:(0,r.register)("unlock",60276),unmute:(0,r.register)("unmute",60277),unverified:(0,r.register)("unverified",60278),verified:(0,r.register)("verified",60279),versions:(0,r.register)("versions",60280),vmActive:(0,r.register)("vm-active",60281),vmOutline:(0,r.register)("vm-outline",60282),vmRunning:(0,r.register)("vm-running",60283),watch:(0,r.register)("watch",60284),whitespace:(0,r.register)("whitespace",60285),wholeWord:(0,r.register)("whole-word",60286),window:(0,r.register)("window",60287),wordWrap:(0,r.register)("word-wrap",60288),zoomIn:(0,r.register)("zoom-in",60289),zoomOut:(0,r.register)("zoom-out",60290),listFilter:(0,r.register)("list-filter",60291),listFlat:(0,r.register)("list-flat",60292),listSelection:(0,r.register)("list-selection",60293),selection:(0,r.register)("selection",60293),listTree:(0,r.register)("list-tree",60294),debugBreakpointFunctionUnverified:(0,r.register)("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:(0,r.register)("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:(0,r.register)("debug-breakpoint-function-disabled",60296),debugStackframeActive:(0,r.register)("debug-stackframe-active",60297),circleSmallFilled:(0,r.register)("circle-small-filled",60298),debugStackframeDot:(0,r.register)("debug-stackframe-dot",60298),terminalDecorationMark:(0,r.register)("terminal-decoration-mark",60298),debugStackframe:(0,r.register)("debug-stackframe",60299),debugStackframeFocused:(0,r.register)("debug-stackframe-focused",60299),debugBreakpointUnsupported:(0,r.register)("debug-breakpoint-unsupported",60300),symbolString:(0,r.register)("symbol-string",60301),debugReverseContinue:(0,r.register)("debug-reverse-continue",60302),debugStepBack:(0,r.register)("debug-step-back",60303),debugRestartFrame:(0,r.register)("debug-restart-frame",60304),debugAlt:(0,r.register)("debug-alt",60305),callIncoming:(0,r.register)("call-incoming",60306),callOutgoing:(0,r.register)("call-outgoing",60307),menu:(0,r.register)("menu",60308),expandAll:(0,r.register)("expand-all",60309),feedback:(0,r.register)("feedback",60310),gitPullRequestReviewer:(0,r.register)("git-pull-request-reviewer",60310),groupByRefType:(0,r.register)("group-by-ref-type",60311),ungroupByRefType:(0,r.register)("ungroup-by-ref-type",60312),account:(0,r.register)("account",60313),gitPullRequestAssignee:(0,r.register)("git-pull-request-assignee",60313),bellDot:(0,r.register)("bell-dot",60314),debugConsole:(0,r.register)("debug-console",60315),library:(0,r.register)("library",60316),output:(0,r.register)("output",60317),runAll:(0,r.register)("run-all",60318),syncIgnored:(0,r.register)("sync-ignored",60319),pinned:(0,r.register)("pinned",60320),githubInverted:(0,r.register)("github-inverted",60321),serverProcess:(0,r.register)("server-process",60322),serverEnvironment:(0,r.register)("server-environment",60323),pass:(0,r.register)("pass",60324),issueClosed:(0,r.register)("issue-closed",60324),stopCircle:(0,r.register)("stop-circle",60325),playCircle:(0,r.register)("play-circle",60326),record:(0,r.register)("record",60327),debugAltSmall:(0,r.register)("debug-alt-small",60328),vmConnect:(0,r.register)("vm-connect",60329),cloud:(0,r.register)("cloud",60330),merge:(0,r.register)("merge",60331),export:(0,r.register)("export",60332),graphLeft:(0,r.register)("graph-left",60333),magnet:(0,r.register)("magnet",60334),notebook:(0,r.register)("notebook",60335),redo:(0,r.register)("redo",60336),checkAll:(0,r.register)("check-all",60337),pinnedDirty:(0,r.register)("pinned-dirty",60338),passFilled:(0,r.register)("pass-filled",60339),circleLargeFilled:(0,r.register)("circle-large-filled",60340),circleLarge:(0,r.register)("circle-large",60341),circleLargeOutline:(0,r.register)("circle-large-outline",60341),combine:(0,r.register)("combine",60342),gather:(0,r.register)("gather",60342),table:(0,r.register)("table",60343),variableGroup:(0,r.register)("variable-group",60344),typeHierarchy:(0,r.register)("type-hierarchy",60345),typeHierarchySub:(0,r.register)("type-hierarchy-sub",60346),typeHierarchySuper:(0,r.register)("type-hierarchy-super",60347),gitPullRequestCreate:(0,r.register)("git-pull-request-create",60348),runAbove:(0,r.register)("run-above",60349),runBelow:(0,r.register)("run-below",60350),notebookTemplate:(0,r.register)("notebook-template",60351),debugRerun:(0,r.register)("debug-rerun",60352),workspaceTrusted:(0,r.register)("workspace-trusted",60353),workspaceUntrusted:(0,r.register)("workspace-untrusted",60354),workspaceUnknown:(0,r.register)("workspace-unknown",60355),terminalCmd:(0,r.register)("terminal-cmd",60356),terminalDebian:(0,r.register)("terminal-debian",60357),terminalLinux:(0,r.register)("terminal-linux",60358),terminalPowershell:(0,r.register)("terminal-powershell",60359),terminalTmux:(0,r.register)("terminal-tmux",60360),terminalUbuntu:(0,r.register)("terminal-ubuntu",60361),terminalBash:(0,r.register)("terminal-bash",60362),arrowSwap:(0,r.register)("arrow-swap",60363),copy:(0,r.register)("copy",60364),personAdd:(0,r.register)("person-add",60365),filterFilled:(0,r.register)("filter-filled",60366),wand:(0,r.register)("wand",60367),debugLineByLine:(0,r.register)("debug-line-by-line",60368),inspect:(0,r.register)("inspect",60369),layers:(0,r.register)("layers",60370),layersDot:(0,r.register)("layers-dot",60371),layersActive:(0,r.register)("layers-active",60372),compass:(0,r.register)("compass",60373),compassDot:(0,r.register)("compass-dot",60374),compassActive:(0,r.register)("compass-active",60375),azure:(0,r.register)("azure",60376),issueDraft:(0,r.register)("issue-draft",60377),gitPullRequestClosed:(0,r.register)("git-pull-request-closed",60378),gitPullRequestDraft:(0,r.register)("git-pull-request-draft",60379),debugAll:(0,r.register)("debug-all",60380),debugCoverage:(0,r.register)("debug-coverage",60381),runErrors:(0,r.register)("run-errors",60382),folderLibrary:(0,r.register)("folder-library",60383),debugContinueSmall:(0,r.register)("debug-continue-small",60384),beakerStop:(0,r.register)("beaker-stop",60385),graphLine:(0,r.register)("graph-line",60386),graphScatter:(0,r.register)("graph-scatter",60387),pieChart:(0,r.register)("pie-chart",60388),bracket:(0,r.register)("bracket",60175),bracketDot:(0,r.register)("bracket-dot",60389),bracketError:(0,r.register)("bracket-error",60390),lockSmall:(0,r.register)("lock-small",60391),azureDevops:(0,r.register)("azure-devops",60392),verifiedFilled:(0,r.register)("verified-filled",60393),newline:(0,r.register)("newline",60394),layout:(0,r.register)("layout",60395),layoutActivitybarLeft:(0,r.register)("layout-activitybar-left",60396),layoutActivitybarRight:(0,r.register)("layout-activitybar-right",60397),layoutPanelLeft:(0,r.register)("layout-panel-left",60398),layoutPanelCenter:(0,r.register)("layout-panel-center",60399),layoutPanelJustify:(0,r.register)("layout-panel-justify",60400),layoutPanelRight:(0,r.register)("layout-panel-right",60401),layoutPanel:(0,r.register)("layout-panel",60402),layoutSidebarLeft:(0,r.register)("layout-sidebar-left",60403),layoutSidebarRight:(0,r.register)("layout-sidebar-right",60404),layoutStatusbar:(0,r.register)("layout-statusbar",60405),layoutMenubar:(0,r.register)("layout-menubar",60406),layoutCentered:(0,r.register)("layout-centered",60407),target:(0,r.register)("target",60408),indent:(0,r.register)("indent",60409),recordSmall:(0,r.register)("record-small",60410),errorSmall:(0,r.register)("error-small",60411),terminalDecorationError:(0,r.register)("terminal-decoration-error",60411),arrowCircleDown:(0,r.register)("arrow-circle-down",60412),arrowCircleLeft:(0,r.register)("arrow-circle-left",60413),arrowCircleRight:(0,r.register)("arrow-circle-right",60414),arrowCircleUp:(0,r.register)("arrow-circle-up",60415),layoutSidebarRightOff:(0,r.register)("layout-sidebar-right-off",60416),layoutPanelOff:(0,r.register)("layout-panel-off",60417),layoutSidebarLeftOff:(0,r.register)("layout-sidebar-left-off",60418),blank:(0,r.register)("blank",60419),heartFilled:(0,r.register)("heart-filled",60420),map:(0,r.register)("map",60421),mapHorizontal:(0,r.register)("map-horizontal",60421),foldHorizontal:(0,r.register)("fold-horizontal",60421),mapFilled:(0,r.register)("map-filled",60422),mapHorizontalFilled:(0,r.register)("map-horizontal-filled",60422),foldHorizontalFilled:(0,r.register)("fold-horizontal-filled",60422),circleSmall:(0,r.register)("circle-small",60423),bellSlash:(0,r.register)("bell-slash",60424),bellSlashDot:(0,r.register)("bell-slash-dot",60425),commentUnresolved:(0,r.register)("comment-unresolved",60426),gitPullRequestGoToChanges:(0,r.register)("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:(0,r.register)("git-pull-request-new-changes",60428),searchFuzzy:(0,r.register)("search-fuzzy",60429),commentDraft:(0,r.register)("comment-draft",60430),send:(0,r.register)("send",60431),sparkle:(0,r.register)("sparkle",60432),insert:(0,r.register)("insert",60433),mic:(0,r.register)("mic",60434),thumbsdownFilled:(0,r.register)("thumbsdown-filled",60435),thumbsupFilled:(0,r.register)("thumbsup-filled",60436),coffee:(0,r.register)("coffee",60437),snake:(0,r.register)("snake",60438),game:(0,r.register)("game",60439),vr:(0,r.register)("vr",60440),chip:(0,r.register)("chip",60441),piano:(0,r.register)("piano",60442),music:(0,r.register)("music",60443),micFilled:(0,r.register)("mic-filled",60444),repoFetch:(0,r.register)("repo-fetch",60445),copilot:(0,r.register)("copilot",60446),lightbulbSparkle:(0,r.register)("lightbulb-sparkle",60447),robot:(0,r.register)("robot",60448),sparkleFilled:(0,r.register)("sparkle-filled",60449),diffSingle:(0,r.register)("diff-single",60450),diffMultiple:(0,r.register)("diff-multiple",60451),surroundWith:(0,r.register)("surround-with",60452),share:(0,r.register)("share",60453),gitStash:(0,r.register)("git-stash",60454),gitStashApply:(0,r.register)("git-stash-apply",60455),gitStashPop:(0,r.register)("git-stash-pop",60456),vscode:(0,r.register)("vscode",60457),vscodeInsiders:(0,r.register)("vscode-insiders",60458),codeOss:(0,r.register)("code-oss",60459),runCoverage:(0,r.register)("run-coverage",60460),runAllCoverage:(0,r.register)("run-all-coverage",60461),coverage:(0,r.register)("coverage",60462),githubProject:(0,r.register)("github-project",60463),mapVertical:(0,r.register)("map-vertical",60464),foldVertical:(0,r.register)("fold-vertical",60464),mapVerticalFilled:(0,r.register)("map-vertical-filled",60465),foldVerticalFilled:(0,r.register)("fold-vertical-filled",60465),goToSearch:(0,r.register)("go-to-search",60466),percentage:(0,r.register)("percentage",60467),sortPercentage:(0,r.register)("sort-percentage",60467),attach:(0,r.register)("attach",60468)}},90305:function(e,t,n){"use strict";n.d(t,{register:function(){return s}});var r=n(820);const i=Object.create(null);function s(e,t){if((0,r.isString)(t)){const n=i[t];if(void 0===n)throw new Error(`${e} references an unknown codicon: ${t}`);t=n}return i[e]=t,{id:e}}},59746:function(e,t,n){"use strict";function r(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}n.d(t,{Color:function(){return a},HSLA:function(){return s},RGBA:function(){return i}});class i{constructor(e,t,n,i=1){this._rgbaBrand=void 0,this.r=0|Math.min(255,Math.max(0,e)),this.g=0|Math.min(255,Math.max(0,t)),this.b=0|Math.min(255,Math.max(0,n)),this.a=r(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}}class s{constructor(e,t,n,i){this._hslaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.l=r(Math.max(Math.min(1,n),0),3),this.a=r(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.l===t.l&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=e.a,o=Math.max(t,n,r),a=Math.min(t,n,r);let l=0,c=0;const h=(a+o)/2,d=o-a;if(d>0){switch(c=Math.min(h<=.5?d/(2*h):d/(2-2*h),1),o){case t:l=(n-r)/d+(n1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}static toRGBA(e){const t=e.h/360,{s:n,l:r,a:o}=e;let a,l,c;if(0===n)a=l=c=r;else{const e=r<.5?r*(1+n):r+n-r*n,i=2*r-e;a=s._hue2rgb(i,e,t+1/3),l=s._hue2rgb(i,e,t),c=s._hue2rgb(i,e,t-1/3)}return new i(Math.round(255*a),Math.round(255*l),Math.round(255*c),o)}}class o{constructor(e,t,n,i){this._hsvaBrand=void 0,this.h=0|Math.max(Math.min(360,e),0),this.s=r(Math.max(Math.min(1,t),0),3),this.v=r(Math.max(Math.min(1,n),0),3),this.a=r(Math.max(Math.min(1,i),0),3)}static equals(e,t){return e.h===t.h&&e.s===t.s&&e.v===t.v&&e.a===t.a}static fromRGBA(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=0===i?0:s/i;let l;return l=0===s?0:i===t?((n-r)/s%6+6)%6:i===n?(r-t)/s+2:(t-n)/s+4,new o(Math.round(60*l),a,i,e.a)}static toRGBA(e){const{h:t,s:n,v:r,a:s}=e,o=r*n,a=o*(1-Math.abs(t/60%2-1)),l=r-o;let[c,h,d]=[0,0,0];return t<60?(c=o,h=a):t<120?(c=a,h=o):t<180?(h=o,d=a):t<240?(h=a,d=o):t<300?(c=a,d=o):t<=360&&(c=o,d=a),c=Math.round(255*(c+l)),h=Math.round(255*(h+l)),d=Math.round(255*(d+l)),new i(c,h,d,s)}}class a{static fromHex(e){return a.Format.CSS.parseHex(e)||a.red}static equals(e,t){return!e&&!t||!(!e||!t)&&e.equals(t)}get hsla(){return this._hsla?this._hsla:s.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:o.fromRGBA(this.rgba)}constructor(e){if(!e)throw new Error("Color needs a value");if(e instanceof i)this.rgba=e;else if(e instanceof s)this._hsla=e,this.rgba=s.toRGBA(e);else{if(!(e instanceof o))throw new Error("Invalid color ctor argument");this._hsva=e,this.rgba=o.toRGBA(e)}}equals(e){return!!e&&i.equals(this.rgba,e.rgba)&&s.equals(this.hsla,e.hsla)&&o.equals(this.hsva,e.hsva)}getRelativeLuminance(){return r(.2126*a._relativeLuminanceForComponent(this.rgba.r)+.7152*a._relativeLuminanceForComponent(this.rgba.g)+.0722*a._relativeLuminanceForComponent(this.rgba.b),4)}static _relativeLuminanceForComponent(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}isLighter(){return(299*this.rgba.r+587*this.rgba.g+114*this.rgba.b)/1e3>=128}isLighterThan(e){return this.getRelativeLuminance()>e.getRelativeLuminance()}isDarkerThan(e){return this.getRelativeLuminance()0||this.m_modifiedCount>0)&&this.m_changes.push(new r.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_originalCount++}AddModifiedElement(e,t){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,t),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class h{constructor(e,t,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=t;const[r,i,s]=h._getElements(e),[o,a,l]=h._getElements(t);this._hasStrings=s&&l,this._originalStringElements=r,this._originalElementsOrHash=i,this._modifiedStringElements=o,this._modifiedElementsOrHash=a,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&"string"==typeof e[0]}static _getElements(e){const t=e.getElements();if(h._isStringArray(t)){const e=new Int32Array(t.length);for(let n=0,r=t.length;n=e&&i>=n&&this.ElementsAreEqual(t,i);)t--,i--;if(e>t||n>i){let s;return n<=i?(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),s=[new r.DiffChange(e,0,n,i-n+1)]):e<=t?(a.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[new r.DiffChange(e,t-e+1,n,0)]):(a.Assert(e===t+1,"originalStart should only be one more than originalEnd"),a.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),s=[]),s}const o=[0],l=[0],c=this.ComputeRecursionPoint(e,t,n,i,o,l,s),h=o[0],d=l[0];if(null!==c)return c;if(!s[0]){const o=this.ComputeDiffRecursive(e,h,n,d,s);let a=[];return a=s[0]?[new r.DiffChange(h+1,t-(h+1)+1,d+1,i-(d+1)+1)]:this.ComputeDiffRecursive(h+1,t,d+1,i,s),this.ConcatenateChanges(o,a)}return[new r.DiffChange(e,t-e+1,n,i-n+1)]}WALKTRACE(e,t,n,i,s,o,a,l,h,d,p,u,m,f,g,b,v,y){let w=null,S=null,x=new c,C=t,_=n,k=m[0]-b[0]-i,E=-1073741824,F=this.m_forwardHistory.length-1;do{const t=k+e;t===C||t<_&&h[t-1]=0&&(e=(h=this.m_forwardHistory[F])[0],C=1,_=h.length-1)}while(--F>=-1);if(w=x.getReverseChanges(),y[0]){let e=m[0]+1,t=b[0]+1;if(null!==w&&w.length>0){const n=w[w.length-1];e=Math.max(e,n.getOriginalEnd()),t=Math.max(t,n.getModifiedEnd())}S=[new r.DiffChange(e,u-e+1,t,g-t+1)]}else{x=new c,C=o,_=a,k=m[0]-b[0]-l,E=1073741824,F=v?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const e=k+s;e===C||e<_&&d[e-1]>=d[e+1]?(f=(p=d[e+1]-1)-k-l,p>E&&x.MarkNextChange(),E=p+1,x.AddOriginalElement(p+1,f+1),k=e+1-s):(f=(p=d[e-1])-k-l,p>E&&x.MarkNextChange(),E=p,x.AddModifiedElement(p+1,f+1),k=e-1-s),F>=0&&(s=(d=this.m_reverseHistory[F])[0],C=1,_=d.length-1)}while(--F>=-1);S=x.getChanges()}return this.ConcatenateChanges(w,S)}ComputeRecursionPoint(e,t,n,i,s,o,a){let c=0,h=0,d=0,p=0,u=0,m=0;e--,n--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const f=t-e+(i-n),g=f+1,b=new Int32Array(g),v=new Int32Array(g),y=i-n,w=t-e,S=e-n,x=t-i,C=(w-y)%2==0;b[y]=e,v[w]=t,a[0]=!1;for(let _=1;_<=f/2+1;_++){let f=0,k=0;d=this.ClipDiagonalBound(y-_,_,y,g),p=this.ClipDiagonalBound(y+_,_,y,g);for(let e=d;e<=p;e+=2){c=e===d||ef+k&&(f=c,k=h),!C&&Math.abs(e-w)<=_-1&&c>=v[e])return s[0]=c,o[0]=h,n<=v[e]&&_<=1448?this.WALKTRACE(y,d,p,S,w,u,m,x,b,v,c,t,s,h,i,o,C,a):null}const E=(f-e+(k-n)-_)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(f,E))return a[0]=!0,s[0]=f,o[0]=k,E>0&&_<=1448?this.WALKTRACE(y,d,p,S,w,u,m,x,b,v,c,t,s,h,i,o,C,a):(e++,n++,[new r.DiffChange(e,t-e+1,n,i-n+1)]);u=this.ClipDiagonalBound(w-_,_,w,g),m=this.ClipDiagonalBound(w+_,_,w,g);for(let r=u;r<=m;r+=2){c=r===u||r=v[r+1]?v[r+1]-1:v[r-1],h=c-(r-w)-x;const l=c;for(;c>e&&h>n&&this.ElementsAreEqual(c,h);)c--,h--;if(v[r]=c,C&&Math.abs(r-y)<=_&&c<=b[r])return s[0]=c,o[0]=h,l>=b[r]&&_<=1448?this.WALKTRACE(y,d,p,S,w,u,m,x,b,v,c,t,s,h,i,o,C,a):null}if(_<=1447){let e=new Int32Array(p-d+2);e[0]=y-d+1,l.Copy2(b,d,e,1,p-d+1),this.m_forwardHistory.push(e),e=new Int32Array(m-u+2),e[0]=w-u+1,l.Copy2(v,u,e,1,m-u+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(y,d,p,S,w,u,m,x,b,v,c,t,s,h,i,o,C,a)}PrettifyChanges(e){for(let t=0;t0,o=n.modifiedLength>0;for(;n.originalStart+n.originalLength=0;t--){const n=e[t];let r=0,i=0;if(t>0){const n=e[t-1];r=n.originalStart+n.originalLength,i=n.modifiedStart+n.modifiedLength}const s=n.originalLength>0,o=n.modifiedLength>0;let a=0,l=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let e=1;;e++){const t=n.originalStart-e,c=n.modifiedStart-e;if(tl&&(l=h,a=e)}n.originalStart-=a,n.modifiedStart-=a;const c=[null];t>0&&this.ChangesOverlap(e[t-1],e[t],c)&&(e[t-1]=c[0],e.splice(t,1),t++)}if(this._hasStrings)for(let t=1,n=e.length;t0&&n>a&&(a=n,l=t,c=e)}return a>0?[l,c]:null}_contiguousSequenceScore(e,t,n){let r=0;for(let i=0;i=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(t>0){const n=e+t;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,t,n,r){return(this._OriginalRegionIsBoundary(e,t)?1:0)+(this._ModifiedRegionIsBoundary(n,r)?1:0)}ConcatenateChanges(e,t){const n=[];if(0===e.length||0===t.length)return t.length>0?t:e;if(this.ChangesOverlap(e[e.length-1],t[0],n)){const r=new Array(e.length+t.length-1);return l.Copy(e,0,r,0,e.length-1),r[e.length-1]=n[0],l.Copy(t,1,r,e.length,t.length-1),r}{const n=new Array(e.length+t.length);return l.Copy(e,0,n,0,e.length),l.Copy(t,0,n,e.length,t.length),n}}ChangesOverlap(e,t,n){if(a.Assert(e.originalStart<=t.originalStart,"Left change is not less than or equal to right change"),a.Assert(e.modifiedStart<=t.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){const i=e.originalStart;let s=e.originalLength;const o=e.modifiedStart;let a=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(s=t.originalStart+t.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=t.modifiedStart&&(a=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new r.DiffChange(i,s,o,a),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){if(e>=0&&e{if(e.stack){if(p.isErrorNoTelemetry(e))throw new p(e.message+"\n\n"+e.stack);throw new Error(e.message+"\n\n"+e.stack)}throw e}),0)}}emit(e){this.listeners.forEach((t=>{t(e)}))}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}};function i(e){a(e)||r.onUnexpectedError(e)}function s(e){if(e instanceof Error){const{name:t,message:n}=e;return{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack,noTelemetry:p.isErrorNoTelemetry(e)}}return e}const o="Canceled";function a(e){return e instanceof l||e instanceof Error&&e.name===o&&e.message===o}class l extends Error{constructor(){super(o),this.name=this.message}}function c(e){return e?new Error(`Illegal argument: ${e}`):new Error("Illegal argument")}function h(e){return e?new Error(`Illegal state: ${e}`):new Error("Illegal state")}class d extends Error{constructor(e){super("NotSupported"),e&&(this.message=e)}}class p extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof p)return e;const t=new p;return t.message=e.message,t.stack=e.stack,t}static isErrorNoTelemetry(e){return"CodeExpectedError"===e.name}}class u extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,u.prototype)}}},1077:function(e,t,n){"use strict";n.d(t,{Emitter:function(){return m},Event:function(){return o}});var r=n(42050),i=n(22845),s=(n(30356),n(33670));var o;!function(e){function t(e){false}function n(e){return(t,n=null,r)=>{let i,s=!1;return i=e((e=>{if(!s)return i?i.dispose():s=!0,t.call(n,e)}),null,r),s&&i.dispose(),i}}function r(e,t,n){return o(((n,r=null,i)=>e((e=>n.call(r,t(e))),null,i)),n)}function s(e,t,n){return o(((n,r=null,i)=>e((e=>t(e)&&n.call(r,e)),null,i)),n)}function o(e,n){let r;const i={onWillAddFirstListener(){r=e(s.fire,s)},onDidRemoveLastListener(){r?.dispose()}};n||t();const s=new m(i);return n?.add(s),s.event}function a(e,n,r=100,i=!1,s=!1,o,a){let l,c,h,d,p=0;const u={leakWarningThreshold:o,onWillAddFirstListener(){l=e((e=>{p++,c=n(c,e),i&&!h&&(f.fire(c),c=void 0),d=()=>{const e=c;c=void 0,h=void 0,(!i||p>1)&&f.fire(e),p=0},"number"==typeof r?(clearTimeout(h),h=setTimeout(d,r)):void 0===h&&(h=0,queueMicrotask(d))}))},onWillRemoveListener(){s&&p>0&&d?.()},onDidRemoveLastListener(){d=void 0,l.dispose()}};a||t();const f=new m(u);return a?.add(f),f.event}e.None=()=>i.Disposable.None,e.defer=function(e,t){return a(e,(()=>{}),0,void 0,!0,void 0,t)},e.once=n,e.onceIf=function(t,n){return e.once(e.filter(t,n))},e.map=r,e.forEach=function(e,t,n){return o(((n,r=null,i)=>e((e=>{t(e),n.call(r,e)}),null,i)),n)},e.filter=s,e.signal=function(e){return e},e.any=function(...e){return(t,n=null,r)=>function(e,t){t instanceof Array?t.push(e):t&&t.add(e);return e}((0,i.combinedDisposable)(...e.map((e=>e((e=>t.call(n,e)))))),r)},e.reduce=function(e,t,n,i){let s=n;return r(e,(e=>(s=t(s,e),s)),i)},e.debounce=a,e.accumulate=function(t,n=0,r){return e.debounce(t,((e,t)=>e?(e.push(t),e):[t]),n,void 0,!0,void 0,r)},e.latch=function(e,t=(e,t)=>e===t,n){let r,i=!0;return s(e,(e=>{const n=i||!t(e,r);return i=!1,r=e,n}),n)},e.split=function(t,n,r){return[e.filter(t,n,r),e.filter(t,(e=>!n(e)),r)]},e.buffer=function(e,t=!1,n=[],r){let i=n.slice(),s=e((e=>{i?i.push(e):a.fire(e)}));r&&r.add(s);const o=()=>{i?.forEach((e=>a.fire(e))),i=null},a=new m({onWillAddFirstListener(){s||(s=e((e=>a.fire(e))),r&&r.add(s))},onDidAddFirstListener(){i&&(t?setTimeout(o):o())},onDidRemoveLastListener(){s&&s.dispose(),s=null}});return r&&r.add(a),a.event},e.chain=function(e,t){return(n,r,i)=>{const s=t(new c);return e((function(e){const t=s.evaluate(e);t!==l&&n.call(r,t)}),void 0,i)}};const l=Symbol("HaltChainable");class c{constructor(){this.steps=[]}map(e){return this.steps.push(e),this}forEach(e){return this.steps.push((t=>(e(t),t))),this}filter(e){return this.steps.push((t=>e(t)?t:l)),this}reduce(e,t){let n=t;return this.steps.push((t=>(n=e(n,t),n))),this}latch(e=(e,t)=>e===t){let t,n=!0;return this.steps.push((r=>{const i=n||!e(r,t);return n=!1,t=r,i?r:l})),this}evaluate(e){for(const t of this.steps)if((e=t(e))===l)break;return e}}e.fromNodeEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new m({onWillAddFirstListener:()=>e.on(t,r),onDidRemoveLastListener:()=>e.removeListener(t,r)});return i.event},e.fromDOMEventEmitter=function(e,t,n=e=>e){const r=(...e)=>i.fire(n(...e)),i=new m({onWillAddFirstListener:()=>e.addEventListener(t,r),onDidRemoveLastListener:()=>e.removeEventListener(t,r)});return i.event},e.toPromise=function(e){return new Promise((t=>n(e)(t)))},e.fromPromise=function(e){const t=new m;return e.then((e=>{t.fire(e)}),(()=>{t.fire(void 0)})).finally((()=>{t.dispose()})),t.event},e.forward=function(e,t){return e((e=>t.fire(e)))},e.runAndSubscribe=function(e,t,n){return t(n),e((e=>t(e)))};class h{constructor(e,n){this._observable=e,this._counter=0,this._hasChanged=!1;const r={onWillAddFirstListener:()=>{e.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{e.removeObserver(this)}};n||t(),this.emitter=new m(r),n&&n.add(this.emitter)}beginUpdate(e){this._counter++}handlePossibleChange(e){}handleChange(e,t){this._hasChanged=!0}endUpdate(e){this._counter--,0===this._counter&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}e.fromObservable=function(e,t){return new h(e,t).emitter.event},e.fromObservableLight=function(e){return(t,n,r)=>{let s=0,o=!1;const a={beginUpdate(){s++},endUpdate(){s--,0===s&&(e.reportChanges(),o&&(o=!1,t.call(n)))},handlePossibleChange(){},handleChange(){o=!0}};e.addObserver(a),e.reportChanges();const l={dispose(){e.removeObserver(a)}};return r instanceof i.DisposableStore?r.add(l):Array.isArray(r)&&r.push(l),l}}}(o||(o={}));class a{static{this.all=new Set}static{this._idPool=0}constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${a._idPool++}`,a.all.add(this)}start(e){this._stopWatch=new s.StopWatch,this.listenerCount=e}stop(){if(this._stopWatch){const e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}}class l{static{this._idPool=1}constructor(e,t,n=(l._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=t,this.name=n,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,t){const n=this.threshold;if(n<=0||t{const t=this._stacks.get(e.value)||0;this._stacks.set(e.value,t-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,t=0;for(const[n,r]of this._stacks)(!e||t{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const e=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(e);const t=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],n=new d(`${e}. HINT: Stack shows most frequent listener (${t[1]}-times)`,t[0]);return(this._options?.onListenerError||r.onUnexpectedError)(n),i.Disposable.None}if(this._disposed)return i.Disposable.None;t&&(e=e.bind(t));const s=new p(e);let o;this._leakageMon&&this._size>=Math.ceil(.2*this._leakageMon.threshold)&&(s.stack=c.create(),o=this._leakageMon.check(s.stack,this._size+1)),this._listeners?this._listeners instanceof p?(this._deliveryQueue??=new f,this._listeners=[this._listeners,s]):this._listeners.push(s):(this._options?.onWillAddFirstListener?.(this),this._listeners=s,this._options?.onDidAddFirstListener?.(this)),this._size++;const a=(0,i.toDisposable)((()=>{u?.unregister(a),o?.(),this._removeListener(s)}));if(n instanceof i.DisposableStore?n.add(a):Array.isArray(n)&&n.push(a),u){const e=(new Error).stack.split("\n").slice(2,3).join("\n").trim(),t=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(e);u.register(a,t?.[2]??e,a)}return a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(1===this._size)return this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),void(this._size=0);const t=this._listeners,n=t.indexOf(e);if(-1===n)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,t[n]=void 0;const r=this._deliveryQueue.current===this;if(2*this._size<=t.length){let e=0;for(let n=0;n0}}class f{constructor(){this.i=-1,this.end=0}enqueue(e,t,n){this.i=0,this.end=n,this.current=e,this.value=t}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}},33628:function(e,t,n){"use strict";function r(e,t){const n=this;let r,i=!1;return function(){if(i)return r;if(i=!0,t)try{r=e.apply(n,arguments)}finally{t()}else r=e.apply(n,arguments);return r}}n.d(t,{createSingleCallFunction:function(){return r}})},48621:function(e,t,n){"use strict";n.d(t,{StringSHA1:function(){return h},doHash:function(){return i},stringHash:function(){return o}});var r=n(41011);function i(e,t){switch(typeof e){case"object":return null===e?s(349,t):Array.isArray(e)?(n=e,r=s(104579,r=t),n.reduce(((e,t)=>i(t,e)),r)):function(e,t){return t=s(181387,t),Object.keys(e).sort().reduce(((t,n)=>(t=o(n,t),i(e[n],t))),t)}(e,t);case"string":return o(e,t);case"boolean":return function(e,t){return s(e?433:863,t)}(e,t);case"number":return s(e,t);case"undefined":return s(937,t);default:return s(617,t)}var n,r}function s(e,t){return(t<<5)-t+e|0}function o(e,t){t=s(149417,t);for(let n=0,r=e.length;n>>r)>>>0}function l(e,t=0,n=e.byteLength,r=0){for(let i=0;ie.toString(16).padStart(2,"0"))).join(""):function(e,t,n="0"){for(;e.length>>0).toString(16),t/4)}class h{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){const t=e.length;if(0===t)return;const n=this._buff;let i,s,o=this._buffLen,a=this._leftoverHighSurrogate;for(0!==a?(i=a,s=-1,a=0):(i=e.charCodeAt(0),s=0);;){let l=i;if(r.isHighSurrogate(i)){if(!(s+1>>6,e[t++]=128|(63&n)>>>0):n<65536?(e[t++]=224|(61440&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0):(e[t++]=240|(1835008&n)>>>18,e[t++]=128|(258048&n)>>>12,e[t++]=128|(4032&n)>>>6,e[t++]=128|(63&n)>>>0),t>=64&&(this._step(),t-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),t}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),c(this._h0)+c(this._h1)+c(this._h2)+c(this._h3)+c(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,l(this._buff,this._buffLen),this._buffLen>56&&(this._step(),l(this._buff));const e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){const e=h._bigBlock32,t=this._buffDV;for(let n=0;n<64;n+=4)e.setUint32(n,t.getUint32(n,!1),!1);for(let t=64;t<320;t+=4)e.setUint32(t,a(e.getUint32(t-12,!1)^e.getUint32(t-32,!1)^e.getUint32(t-56,!1)^e.getUint32(t-64,!1),1),!1);let n,r,i,s=this._h0,o=this._h1,l=this._h2,c=this._h3,d=this._h4;for(let t=0;t<80;t++)t<20?(n=o&l|~o&c,r=1518500249):t<40?(n=o^l^c,r=1859775393):t<60?(n=o&l|o&c|l&c,r=2400959708):(n=o^l^c,r=3395469782),i=a(s,5)+n+d+r+e.getUint32(4*t,!1)&4294967295,d=c,c=l,l=a(o,30),o=s,s=i;this._h0=this._h0+s&4294967295,this._h1=this._h1+o&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+c&4294967295,this._h4=this._h4+d&4294967295}}},11523:function(e,t,n){"use strict";var r;n.d(t,{Iterable:function(){return r}}),function(e){function t(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]}e.is=t;const n=Object.freeze([]);function*r(e){yield e}e.empty=function(){return n},e.single=r,e.wrap=function(e){return t(e)?e:r(e)},e.from=function(e){return e||n},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},e.first=function(e){return e[Symbol.iterator]().next().value},e.some=function(e,t){let n=0;for(const r of e)if(t(r,n++))return!0;return!1},e.find=function(e,t){for(const n of e)if(t(n))return n},e.filter=function*(e,t){for(const n of e)t(n)&&(yield n)},e.map=function*(e,t){let n=0;for(const r of e)yield t(r,n++)},e.flatMap=function*(e,t){let n=0;for(const r of e)yield*t(r,n++)},e.concat=function*(...e){for(const t of e)yield*t},e.reduce=function(e,t,n){let r=n;for(const n of e)r=t(r,n);return r},e.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);t>>0)>>>0}!function(){const e="",t=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e],[1,8,"Sleep",0,e,0,"VK_SLEEP",e,e],[1,9,"WakeUp",0,e,0,e,e,e],[0,10,"KeyA",31,"A",65,"VK_A",e,e],[0,11,"KeyB",32,"B",66,"VK_B",e,e],[0,12,"KeyC",33,"C",67,"VK_C",e,e],[0,13,"KeyD",34,"D",68,"VK_D",e,e],[0,14,"KeyE",35,"E",69,"VK_E",e,e],[0,15,"KeyF",36,"F",70,"VK_F",e,e],[0,16,"KeyG",37,"G",71,"VK_G",e,e],[0,17,"KeyH",38,"H",72,"VK_H",e,e],[0,18,"KeyI",39,"I",73,"VK_I",e,e],[0,19,"KeyJ",40,"J",74,"VK_J",e,e],[0,20,"KeyK",41,"K",75,"VK_K",e,e],[0,21,"KeyL",42,"L",76,"VK_L",e,e],[0,22,"KeyM",43,"M",77,"VK_M",e,e],[0,23,"KeyN",44,"N",78,"VK_N",e,e],[0,24,"KeyO",45,"O",79,"VK_O",e,e],[0,25,"KeyP",46,"P",80,"VK_P",e,e],[0,26,"KeyQ",47,"Q",81,"VK_Q",e,e],[0,27,"KeyR",48,"R",82,"VK_R",e,e],[0,28,"KeyS",49,"S",83,"VK_S",e,e],[0,29,"KeyT",50,"T",84,"VK_T",e,e],[0,30,"KeyU",51,"U",85,"VK_U",e,e],[0,31,"KeyV",52,"V",86,"VK_V",e,e],[0,32,"KeyW",53,"W",87,"VK_W",e,e],[0,33,"KeyX",54,"X",88,"VK_X",e,e],[0,34,"KeyY",55,"Y",89,"VK_Y",e,e],[0,35,"KeyZ",56,"Z",90,"VK_Z",e,e],[0,36,"Digit1",22,"1",49,"VK_1",e,e],[0,37,"Digit2",23,"2",50,"VK_2",e,e],[0,38,"Digit3",24,"3",51,"VK_3",e,e],[0,39,"Digit4",25,"4",52,"VK_4",e,e],[0,40,"Digit5",26,"5",53,"VK_5",e,e],[0,41,"Digit6",27,"6",54,"VK_6",e,e],[0,42,"Digit7",28,"7",55,"VK_7",e,e],[0,43,"Digit8",29,"8",56,"VK_8",e,e],[0,44,"Digit9",30,"9",57,"VK_9",e,e],[0,45,"Digit0",21,"0",48,"VK_0",e,e],[1,46,"Enter",3,"Enter",13,"VK_RETURN",e,e],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",e,e],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",e,e],[1,49,"Tab",2,"Tab",9,"VK_TAB",e,e],[1,50,"Space",10,"Space",32,"VK_SPACE",e,e],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,e,0,e,e,e],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",e,e],[1,64,"F1",59,"F1",112,"VK_F1",e,e],[1,65,"F2",60,"F2",113,"VK_F2",e,e],[1,66,"F3",61,"F3",114,"VK_F3",e,e],[1,67,"F4",62,"F4",115,"VK_F4",e,e],[1,68,"F5",63,"F5",116,"VK_F5",e,e],[1,69,"F6",64,"F6",117,"VK_F6",e,e],[1,70,"F7",65,"F7",118,"VK_F7",e,e],[1,71,"F8",66,"F8",119,"VK_F8",e,e],[1,72,"F9",67,"F9",120,"VK_F9",e,e],[1,73,"F10",68,"F10",121,"VK_F10",e,e],[1,74,"F11",69,"F11",122,"VK_F11",e,e],[1,75,"F12",70,"F12",123,"VK_F12",e,e],[1,76,"PrintScreen",0,e,0,e,e,e],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",e,e],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",e,e],[1,79,"Insert",19,"Insert",45,"VK_INSERT",e,e],[1,80,"Home",14,"Home",36,"VK_HOME",e,e],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",e,e],[1,82,"Delete",20,"Delete",46,"VK_DELETE",e,e],[1,83,"End",13,"End",35,"VK_END",e,e],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",e,e],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",e],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",e],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",e],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",e],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",e,e],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",e,e],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",e,e],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",e,e],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",e,e],[1,94,"NumpadEnter",3,e,0,e,e,e],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",e,e],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",e,e],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",e,e],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",e,e],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",e,e],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",e,e],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",e,e],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",e,e],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",e,e],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",e,e],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",e,e],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",e,e],[1,107,"ContextMenu",58,"ContextMenu",93,e,e,e],[1,108,"Power",0,e,0,e,e,e],[1,109,"NumpadEqual",0,e,0,e,e,e],[1,110,"F13",71,"F13",124,"VK_F13",e,e],[1,111,"F14",72,"F14",125,"VK_F14",e,e],[1,112,"F15",73,"F15",126,"VK_F15",e,e],[1,113,"F16",74,"F16",127,"VK_F16",e,e],[1,114,"F17",75,"F17",128,"VK_F17",e,e],[1,115,"F18",76,"F18",129,"VK_F18",e,e],[1,116,"F19",77,"F19",130,"VK_F19",e,e],[1,117,"F20",78,"F20",131,"VK_F20",e,e],[1,118,"F21",79,"F21",132,"VK_F21",e,e],[1,119,"F22",80,"F22",133,"VK_F22",e,e],[1,120,"F23",81,"F23",134,"VK_F23",e,e],[1,121,"F24",82,"F24",135,"VK_F24",e,e],[1,122,"Open",0,e,0,e,e,e],[1,123,"Help",0,e,0,e,e,e],[1,124,"Select",0,e,0,e,e,e],[1,125,"Again",0,e,0,e,e,e],[1,126,"Undo",0,e,0,e,e,e],[1,127,"Cut",0,e,0,e,e,e],[1,128,"Copy",0,e,0,e,e,e],[1,129,"Paste",0,e,0,e,e,e],[1,130,"Find",0,e,0,e,e,e],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",e,e],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",e,e],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",e,e],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",e,e],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",e,e],[1,136,"KanaMode",0,e,0,e,e,e],[0,137,"IntlYen",0,e,0,e,e,e],[1,138,"Convert",0,e,0,e,e,e],[1,139,"NonConvert",0,e,0,e,e,e],[1,140,"Lang1",0,e,0,e,e,e],[1,141,"Lang2",0,e,0,e,e,e],[1,142,"Lang3",0,e,0,e,e,e],[1,143,"Lang4",0,e,0,e,e,e],[1,144,"Lang5",0,e,0,e,e,e],[1,145,"Abort",0,e,0,e,e,e],[1,146,"Props",0,e,0,e,e,e],[1,147,"NumpadParenLeft",0,e,0,e,e,e],[1,148,"NumpadParenRight",0,e,0,e,e,e],[1,149,"NumpadBackspace",0,e,0,e,e,e],[1,150,"NumpadMemoryStore",0,e,0,e,e,e],[1,151,"NumpadMemoryRecall",0,e,0,e,e,e],[1,152,"NumpadMemoryClear",0,e,0,e,e,e],[1,153,"NumpadMemoryAdd",0,e,0,e,e,e],[1,154,"NumpadMemorySubtract",0,e,0,e,e,e],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",e,e],[1,156,"NumpadClearEntry",0,e,0,e,e,e],[1,0,e,5,"Ctrl",17,"VK_CONTROL",e,e],[1,0,e,4,"Shift",16,"VK_SHIFT",e,e],[1,0,e,6,"Alt",18,"VK_MENU",e,e],[1,0,e,57,"Meta",91,"VK_COMMAND",e,e],[1,157,"ControlLeft",5,e,0,"VK_LCONTROL",e,e],[1,158,"ShiftLeft",4,e,0,"VK_LSHIFT",e,e],[1,159,"AltLeft",6,e,0,"VK_LMENU",e,e],[1,160,"MetaLeft",57,e,0,"VK_LWIN",e,e],[1,161,"ControlRight",5,e,0,"VK_RCONTROL",e,e],[1,162,"ShiftRight",4,e,0,"VK_RSHIFT",e,e],[1,163,"AltRight",6,e,0,"VK_RMENU",e,e],[1,164,"MetaRight",57,e,0,"VK_RWIN",e,e],[1,165,"BrightnessUp",0,e,0,e,e,e],[1,166,"BrightnessDown",0,e,0,e,e,e],[1,167,"MediaPlay",0,e,0,e,e,e],[1,168,"MediaRecord",0,e,0,e,e,e],[1,169,"MediaFastForward",0,e,0,e,e,e],[1,170,"MediaRewind",0,e,0,e,e,e],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",e,e],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",e,e],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",e,e],[1,174,"Eject",0,e,0,e,e,e],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",e,e],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",e,e],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",e,e],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",e,e],[1,179,"LaunchApp1",0,e,0,"VK_MEDIA_LAUNCH_APP1",e,e],[1,180,"SelectTask",0,e,0,e,e,e],[1,181,"LaunchScreenSaver",0,e,0,e,e,e],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",e,e],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",e,e],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",e,e],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",e,e],[1,186,"BrowserStop",0,e,0,"VK_BROWSER_STOP",e,e],[1,187,"BrowserRefresh",0,e,0,"VK_BROWSER_REFRESH",e,e],[1,188,"BrowserFavorites",0,e,0,"VK_BROWSER_FAVORITES",e,e],[1,189,"ZoomToggle",0,e,0,e,e,e],[1,190,"MailReply",0,e,0,e,e,e],[1,191,"MailForward",0,e,0,e,e,e],[1,192,"MailSend",0,e,0,e,e,e],[1,0,e,114,"KeyInComposition",229,e,e,e],[1,0,e,116,"ABNT_C2",194,"VK_ABNT_C2",e,e],[1,0,e,96,"OEM_8",223,"VK_OEM_8",e,e],[1,0,e,0,e,0,"VK_KANA",e,e],[1,0,e,0,e,0,"VK_HANGUL",e,e],[1,0,e,0,e,0,"VK_JUNJA",e,e],[1,0,e,0,e,0,"VK_FINAL",e,e],[1,0,e,0,e,0,"VK_HANJA",e,e],[1,0,e,0,e,0,"VK_KANJI",e,e],[1,0,e,0,e,0,"VK_CONVERT",e,e],[1,0,e,0,e,0,"VK_NONCONVERT",e,e],[1,0,e,0,e,0,"VK_ACCEPT",e,e],[1,0,e,0,e,0,"VK_MODECHANGE",e,e],[1,0,e,0,e,0,"VK_SELECT",e,e],[1,0,e,0,e,0,"VK_PRINT",e,e],[1,0,e,0,e,0,"VK_EXECUTE",e,e],[1,0,e,0,e,0,"VK_SNAPSHOT",e,e],[1,0,e,0,e,0,"VK_HELP",e,e],[1,0,e,0,e,0,"VK_APPS",e,e],[1,0,e,0,e,0,"VK_PROCESSKEY",e,e],[1,0,e,0,e,0,"VK_PACKET",e,e],[1,0,e,0,e,0,"VK_DBE_SBCSCHAR",e,e],[1,0,e,0,e,0,"VK_DBE_DBCSCHAR",e,e],[1,0,e,0,e,0,"VK_ATTN",e,e],[1,0,e,0,e,0,"VK_CRSEL",e,e],[1,0,e,0,e,0,"VK_EXSEL",e,e],[1,0,e,0,e,0,"VK_EREOF",e,e],[1,0,e,0,e,0,"VK_PLAY",e,e],[1,0,e,0,e,0,"VK_ZOOM",e,e],[1,0,e,0,e,0,"VK_NONAME",e,e],[1,0,e,0,e,0,"VK_PA1",e,e],[1,0,e,0,e,0,"VK_OEM_CLEAR",e,e]],n=[],r=[];for(const e of t){const[t,m,f,g,b,v,y,w,S]=e;if(r[m]||(r[m]=!0,c[m]=f,h[f]=m,d[f.toLowerCase()]=m,t&&(p[m]=g,0!==g&&3!==g&&5!==g&&4!==g&&6!==g&&57!==g&&(u[g]=m))),!n[g]){if(n[g]=!0,!b)throw new Error(`String representation missing for key code ${g} around scan code ${f}`);i.define(g,b),s.define(g,w||b),o.define(g,S||w||b)}v&&(a[v]=g),y&&(l[y]=g)}u[3]=46}(),function(e){e.toString=function(e){return i.keyCodeToStr(e)},e.fromString=function(e){return i.strToKeyCode(e)},e.toUserSettingsUS=function(e){return s.keyCodeToStr(e)},e.toUserSettingsGeneral=function(e){return o.keyCodeToStr(e)},e.fromUserSettings=function(e){return s.strToKeyCode(e)||o.strToKeyCode(e)},e.toElectronAccelerator=function(e){if(e>=98&&e<=113)return null;switch(e){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return i.keyCodeToStr(e)}}(m||(m={}))},90707:function(e,t,n){"use strict";n.d(t,{Lazy:function(){return r}});class r{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}},22845:function(e,t,n){"use strict";n.d(t,{Disposable:function(){return u},DisposableMap:function(){return f},DisposableStore:function(){return p},MutableDisposable:function(){return m},combinedDisposable:function(){return h},dispose:function(){return c},markAsDisposed:function(){return a},toDisposable:function(){return d},trackDisposable:function(){return o}});var r=n(33628),i=n(11523);let s=null;function o(e){return s?.trackDisposable(e),e}function a(e){s?.markAsDisposed(e)}function l(e,t){s?.setParent(e,t)}function c(e){if(i.Iterable.is(e)){const t=[];for(const n of e)if(n)try{n.dispose()}catch(e){t.push(e)}if(1===t.length)throw t[0];if(t.length>1)throw new AggregateError(t,"Encountered errors while disposing of store");return Array.isArray(e)?[]:e}if(e)return e.dispose(),e}function h(...e){const t=d((()=>c(e)));return function(e,t){if(s)for(const n of e)s.setParent(n,t)}(e,t),t}function d(e){const t=o({dispose:(0,r.createSingleCallFunction)((()=>{a(t),e()}))});return t}class p{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1,o(this)}dispose(){this._isDisposed||(a(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(0!==this._toDispose.size)try{c(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return l(e,this),this._isDisposed?p.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),l(e,null))}}class u{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new p,o(this),l(this._store,this)}dispose(){a(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}class m{constructor(){this._isDisposed=!1,o(this)}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value?.dispose(),e&&l(e,this),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,a(this),this._value?.dispose(),this._value=void 0}}class f{constructor(){this._store=new Map,this._isDisposed=!1,o(this)}dispose(){a(this),this._isDisposed=!0,this.clearAndDisposeAll()}clearAndDisposeAll(){if(this._store.size)try{c(this._store.values())}finally{this._store.clear()}}get(e){return this._store.get(e)}set(e,t,n=!1){this._isDisposed&&console.warn(new Error("Trying to add a disposable to a DisposableMap that has already been disposed of. The added object will be leaked!").stack),n||this._store.get(e)?.dispose(),this._store.set(e,t)}deleteAndDispose(e){this._store.get(e)?.dispose(),this._store.delete(e)}[Symbol.iterator](){return this._store[Symbol.iterator]()}}},30356:function(e,t,n){"use strict";n.d(t,{LinkedList:function(){return i}});class r{static{this.Undefined=new r(void 0)}constructor(e){this.element=e,this.next=r.Undefined,this.prev=r.Undefined}}class i{constructor(){this._first=r.Undefined,this._last=r.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===r.Undefined}clear(){let e=this._first;for(;e!==r.Undefined;){const t=e.next;e.prev=r.Undefined,e.next=r.Undefined,e=t}this._first=r.Undefined,this._last=r.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,t){const n=new r(e);if(this._first===r.Undefined)this._first=n,this._last=n;else if(t){const e=this._last;this._last=n,n.prev=e,e.next=n}else{const e=this._first;this._first=n,n.next=e,e.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==r.Undefined){const e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==r.Undefined){const e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==r.Undefined&&e.next!==r.Undefined){const t=e.prev;t.next=e.next,e.next.prev=t}else e.prev===r.Undefined&&e.next===r.Undefined?(this._first=r.Undefined,this._last=r.Undefined):e.next===r.Undefined?(this._last=this._last.prev,this._last.next=r.Undefined):e.prev===r.Undefined&&(this._first=this._first.next,this._first.prev=r.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==r.Undefined;)yield e.element,e=e.next}}},37727:function(e,t,n){"use strict";var r,i;n.d(t,{BidirectionalMap:function(){return h},LRUCache:function(){return c},ResourceMap:function(){return o},SetMap:function(){return d}});class s{constructor(e,t){this.uri=e,this.value=t}}class o{static{this.defaultToKey=e=>e.toString()}constructor(e,t){if(this[r]="ResourceMap",e instanceof o)this.map=new Map(e.map),this.toKey=t??o.defaultToKey;else if(function(e){return Array.isArray(e)}(e)){this.map=new Map,this.toKey=t??o.defaultToKey;for(const[t,n]of e)this.set(t,n)}else this.map=new Map,this.toKey=e??o.defaultToKey}set(e,t){return this.map.set(this.toKey(e),new s(e,t)),this}get(e){return this.map.get(this.toKey(e))?.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,t){void 0!==t&&(e=e.bind(t));for(const[t,n]of this.map)e(n.value,n.uri,this)}*values(){for(const e of this.map.values())yield e.value}*keys(){for(const e of this.map.values())yield e.uri}*entries(){for(const e of this.map.values())yield[e.uri,e.value]}*[(r=Symbol.toStringTag,Symbol.iterator)](){for(const[,e]of this.map)yield[e.uri,e.value]}}class a{constructor(){this[i]="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,t=0){const n=this._map.get(e);if(n)return 0!==t&&this.touch(n,t),n.value}set(e,t,n=0){let r=this._map.get(e);if(r)r.value=t,0!==n&&this.touch(r,n);else{switch(r={key:e,value:t,next:void 0,previous:void 0},n){case 0:case 2:default:this.addItemLast(r);break;case 1:this.addItemFirst(r)}this._map.set(e,r),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){const t=this._map.get(e);if(t)return this._map.delete(e),this.removeItem(t),this._size--,t.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,t){const n=this._state;let r=this._head;for(;r;){if(t?e.bind(t)(r.value,r.key,this):e(r.value,r.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");r=r.next}}keys(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.key,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}values(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:n.value,done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}entries(){const e=this,t=this._state;let n=this._head;const r={[Symbol.iterator](){return r},next(){if(e._state!==t)throw new Error("LinkedMap got modified during iteration.");if(n){const e={value:[n.key,n.value],done:!1};return n=n.next,e}return{value:void 0,done:!0}}};return r}[(i=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._head,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.next,n--;this._head=t,this._size=n,t&&(t.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(0===e)return void this.clear();let t=this._tail,n=this.size;for(;t&&n>e;)this._map.delete(t.key),t=t.previous,n--;this._tail=t,this._size=n,t&&(t.next=void 0),this._state++}addItemFirst(e){if(this._head||this._tail){if(!this._head)throw new Error("Invalid list");e.next=this._head,this._head.previous=e}else this._tail=e;this._head=e,this._state++}addItemLast(e){if(this._head||this._tail){if(!this._tail)throw new Error("Invalid list");e.previous=this._tail,this._tail.next=e}else this._head=e;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{const t=e.next,n=e.previous;if(!t||!n)throw new Error("Invalid list");t.previous=n,n.next=t}e.next=void 0,e.previous=void 0,this._state++}touch(e,t){if(!this._head||!this._tail)throw new Error("Invalid list");if(1===t||2===t)if(1===t){if(e===this._head)return;const t=e.next,n=e.previous;e===this._tail?(n.next=void 0,this._tail=n):(t.previous=n,n.next=t),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(2===t){if(e===this._tail)return;const t=e.next,n=e.previous;e===this._head?(t.previous=void 0,this._head=t):(t.previous=n,n.next=t),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}toJSON(){const e=[];return this.forEach(((t,n)=>{e.push([n,t])})),e}fromJSON(e){this.clear();for(const[t,n]of e)this.set(t,n)}}class l extends a{constructor(e,t=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,t),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,t=2){return super.get(e,t)}peek(e){return super.get(e,0)}set(e,t){return super.set(e,t,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}}class c extends l{constructor(e,t=1){super(e,t)}trim(e){this.trimOld(e)}set(e,t){return super.set(e,t),this.checkTrim(),this}}class h{constructor(e){if(this._m1=new Map,this._m2=new Map,e)for(const[t,n]of e)this.set(t,n)}clear(){this._m1.clear(),this._m2.clear()}set(e,t){this._m1.set(e,t),this._m2.set(t,e)}get(e){return this._m1.get(e)}getKey(e){return this._m2.get(e)}delete(e){const t=this._m1.get(e);return void 0!==t&&(this._m1.delete(e),this._m2.delete(t),!0)}keys(){return this._m1.keys()}values(){return this._m1.values()}}class d{constructor(){this.map=new Map}add(e,t){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(t)}delete(e,t){const n=this.map.get(e);n&&(n.delete(t),0===n.size&&this.map.delete(e))}forEach(e,t){const n=this.map.get(e);n&&n.forEach(t)}get(e){const t=this.map.get(e);return t||new Set}}},61115:function(e,t,n){"use strict";n.d(t,{FileAccess:function(){return p},Schemas:function(){return r},matchesScheme:function(){return c}});var r,i=n(42050),s=n(606),o=n(41011),a=n(20599),l=n(97574);function c(e,t){return a.URI.isUri(e)?(0,o.equalsIgnoreCase)(e.scheme,t):(0,o.startsWithIgnoreCase)(e,t+":")}!function(e){e.inMemory="inmemory",e.vscode="vscode",e.internal="private",e.walkThrough="walkThrough",e.walkThroughSnippet="walkThroughSnippet",e.http="http",e.https="https",e.file="file",e.mailto="mailto",e.untitled="untitled",e.data="data",e.command="command",e.vscodeRemote="vscode-remote",e.vscodeRemoteResource="vscode-remote-resource",e.vscodeManagedRemoteResource="vscode-managed-remote-resource",e.vscodeUserData="vscode-userdata",e.vscodeCustomEditor="vscode-custom-editor",e.vscodeNotebookCell="vscode-notebook-cell",e.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",e.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",e.vscodeNotebookCellOutput="vscode-notebook-cell-output",e.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",e.vscodeNotebookMetadata="vscode-notebook-metadata",e.vscodeInteractiveInput="vscode-interactive-input",e.vscodeSettings="vscode-settings",e.vscodeWorkspaceTrust="vscode-workspace-trust",e.vscodeTerminal="vscode-terminal",e.vscodeChatCodeBlock="vscode-chat-code-block",e.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",e.vscodeChatSesssion="vscode-chat-editor",e.webviewPanel="webview-panel",e.vscodeWebview="vscode-webview",e.extension="extension",e.vscodeFileResource="vscode-file",e.tmp="tmp",e.vsls="vsls",e.vscodeSourceControl="vscode-scm",e.commentsInput="comment",e.codeSetting="code-setting",e.outputChannel="output"}(r||(r={}));const h=new class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return l.posix.join(this._serverRootPath,r.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(t){return i.onUnexpectedError(t),e}const t=e.authority;let n=this._hosts[t];n&&-1!==n.indexOf(":")&&-1===n.indexOf("[")&&(n=`[${n}]`);const o=this._ports[t],l=this._connectionTokens[t];let c=`path=${encodeURIComponent(e.path)}`;return"string"==typeof l&&(c+=`&tkn=${encodeURIComponent(l)}`),a.URI.from({scheme:s.isWeb?this._preferredWebSchema:r.vscodeRemoteResource,authority:`${n}:${o}`,path:this._remoteResourcesPath,query:c})}};class d{static{this.FALLBACK_AUTHORITY="vscode-app"}asBrowserUri(e){const t=this.toUri(e);return this.uriToBrowserUri(t)}uriToBrowserUri(e){return e.scheme===r.vscodeRemote?h.rewrite(e):e.scheme!==r.file||!s.isNative&&s.webWorkerOrigin!==`${r.vscodeFileResource}://${d.FALLBACK_AUTHORITY}`?e:e.with({scheme:r.vscodeFileResource,authority:e.authority||d.FALLBACK_AUTHORITY,query:null,fragment:null})}toUri(e,t){if(a.URI.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){const t=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(t))return a.URI.joinPath(a.URI.parse(t,!0),e);const n=l.join(t,e);return a.URI.file(n)}return a.URI.parse(t.toUrl(e))}}const p=new d;var u;!function(e){const t=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);e.CoopAndCoep=Object.freeze(t.get("3"));const n="vscode-coi";e.getHeadersFromQuery=function(e){let r;"string"==typeof e?r=new URL(e).searchParams:e instanceof URL?r=e.searchParams:a.URI.isUri(e)&&(r=new URL(e.toString(!0)).searchParams);const i=r?.get(n);if(i)return t.get(i)},e.addSearchParam=function(e,t,r){if(!globalThis.crossOriginIsolated)return;const i=t&&r?"3":r?"2":"1";e instanceof URLSearchParams?e.set(n,i):e[n]=i}}(u||(u={}))},46645:function(e,t,n){"use strict";n.d(t,{createProxyObject:function(){return s},equals:function(){return r},getAllMethodNames:function(){return i}});Object.prototype.hasOwnProperty;function r(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(typeof e!=typeof t)return!1;if("object"!=typeof e)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;let n,i;if(Array.isArray(e)){if(e.length!==t.length)return!1;for(n=0;nfunction(){const n=Array.prototype.slice.call(arguments,0);return t(e,n)},r={};for(const t of e)r[t]=n(t);return r}},97574:function(e,t,n){"use strict";n.d(t,{basename:function(){return _},dirname:function(){return C},extname:function(){return k},join:function(){return w},normalize:function(){return y},posix:function(){return v},relative:function(){return x},resolve:function(){return S},sep:function(){return E},win32:function(){return g}});var r=n(11352);const i=46,s=47,o=92,a=58;class l extends Error{constructor(e,t,n){let r;"string"==typeof t&&0===t.indexOf("not ")?(r="must not be",t=t.replace(/^not /,"")):r="must be";const i=-1!==e.indexOf(".")?"property":"argument";let s=`The "${e}" ${i} ${r} of type ${t}`;s+=". Received type "+typeof n,super(s),this.code="ERR_INVALID_ARG_TYPE"}}function c(e,t){if("string"!=typeof e)throw new l(t,"string",e)}const h="win32"===r.platform;function d(e){return e===s||e===o}function p(e){return e===s}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function m(e,t,n,r){let o="",a=0,l=-1,c=0,h=0;for(let d=0;d<=e.length;++d){if(d2){const e=o.lastIndexOf(n);-1===e?(o="",a=0):(o=o.slice(0,e),a=o.length-1-o.lastIndexOf(n)),l=d,c=0;continue}if(0!==o.length){o="",a=0,l=d,c=0;continue}}t&&(o+=o.length>0?`${n}..`:"..",a=2)}else o.length>0?o+=`${n}${e.slice(l+1,d)}`:o=e.slice(l+1,d),a=d-l-1;l=d,c=0}else h===i&&-1!==c?++c:c=-1}return o}function f(e,t){!function(e,t){if(null===e||"object"!=typeof e)throw new l(t,"Object",e)}(t,"pathObject");const n=t.dir||t.root,r=t.base||`${t.name||""}${i=t.ext,i?`${"."===i[0]?"":"."}${i}`:""}`;var i;return n?n===t.root?`${n}${r}`:`${n}${e}${r}`:r}const g={resolve(...e){let t="",n="",i=!1;for(let s=e.length-1;s>=-1;s--){let l;if(s>=0){if(l=e[s],c(l,`paths[${s}]`),0===l.length)continue}else 0===t.length?l=r.cwd():(l=r.env[`=${t}`]||r.cwd(),(void 0===l||l.slice(0,2).toLowerCase()!==t.toLowerCase()&&l.charCodeAt(2)===o)&&(l=`${t}\\`));const h=l.length;let p=0,m="",f=!1;const g=l.charCodeAt(0);if(1===h)d(g)&&(p=1,f=!0);else if(d(g))if(f=!0,d(l.charCodeAt(1))){let e=2,t=e;for(;e2&&d(l.charCodeAt(2))&&(f=!0,p=3));if(m.length>0)if(t.length>0){if(m.toLowerCase()!==t.toLowerCase())continue}else t=m;if(i){if(t.length>0)break}else if(n=`${l.slice(p)}\\${n}`,i=f,f&&t.length>0)break}return n=m(n,!i,"\\",d),i?`${t}\\${n}`:`${t}${n}`||"."},normalize(e){c(e,"path");const t=e.length;if(0===t)return".";let n,r=0,i=!1;const s=e.charCodeAt(0);if(1===t)return p(s)?"\\":e;if(d(s))if(i=!0,d(e.charCodeAt(1))){let i=2,s=i;for(;i2&&d(e.charCodeAt(2))&&(i=!0,r=3));let o=r0&&d(e.charCodeAt(t-1))&&(o+="\\"),void 0===n?i?`\\${o}`:o:i?`${n}\\${o}`:`${n}${o}`},isAbsolute(e){c(e,"path");const t=e.length;if(0===t)return!1;const n=e.charCodeAt(0);return d(n)||t>2&&u(n)&&e.charCodeAt(1)===a&&d(e.charCodeAt(2))},join(...e){if(0===e.length)return".";let t,n;for(let r=0;r0&&(void 0===t?t=n=i:t+=`\\${i}`)}if(void 0===t)return".";let r=!0,i=0;if("string"==typeof n&&d(n.charCodeAt(0))){++i;const e=n.length;e>1&&d(n.charCodeAt(1))&&(++i,e>2&&(d(n.charCodeAt(2))?++i:r=!1))}if(r){for(;i=2&&(t=`\\${t.slice(i)}`)}return g.normalize(t)},relative(e,t){if(c(e,"from"),c(t,"to"),e===t)return"";const n=g.resolve(e),r=g.resolve(t);if(n===r)return"";if((e=n.toLowerCase())===(t=r.toLowerCase()))return"";let i=0;for(;ii&&e.charCodeAt(s-1)===o;)s--;const a=s-i;let l=0;for(;ll&&t.charCodeAt(h-1)===o;)h--;const d=h-l,p=ap){if(t.charCodeAt(l+m)===o)return r.slice(l+m+1);if(2===m)return r.slice(l+m)}a>p&&(e.charCodeAt(i+m)===o?u=m:2===m&&(u=3)),-1===u&&(u=0)}let f="";for(m=i+u+1;m<=s;++m)m!==s&&e.charCodeAt(m)!==o||(f+=0===f.length?"..":"\\..");return l+=u,f.length>0?`${f}${r.slice(l,h)}`:(r.charCodeAt(l)===o&&++l,r.slice(l,h))},toNamespacedPath(e){if("string"!=typeof e||0===e.length)return e;const t=g.resolve(e);if(t.length<=2)return e;if(t.charCodeAt(0)===o){if(t.charCodeAt(1)===o){const e=t.charCodeAt(2);if(63!==e&&e!==i)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(u(t.charCodeAt(0))&&t.charCodeAt(1)===a&&t.charCodeAt(2)===o)return`\\\\?\\${t}`;return e},dirname(e){c(e,"path");const t=e.length;if(0===t)return".";let n=-1,r=0;const i=e.charCodeAt(0);if(1===t)return d(i)?e:".";if(d(i)){if(n=r=1,d(e.charCodeAt(1))){let i=2,s=i;for(;i2&&d(e.charCodeAt(2))?3:2,r=n);let s=-1,o=!0;for(let n=t-1;n>=r;--n)if(d(e.charCodeAt(n))){if(!o){s=n;break}}else o=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&c(t,"suffix"),c(e,"path");let n,r=0,i=-1,s=!0;if(e.length>=2&&u(e.charCodeAt(0))&&e.charCodeAt(1)===a&&(r=2),void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let o=t.length-1,a=-1;for(n=e.length-1;n>=r;--n){const l=e.charCodeAt(n);if(d(l)){if(!s){r=n+1;break}}else-1===a&&(s=!1,a=n+1),o>=0&&(l===t.charCodeAt(o)?-1==--o&&(i=n):(o=-1,i=a))}return r===i?i=a:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=r;--n)if(d(e.charCodeAt(n))){if(!s){r=n+1;break}}else-1===i&&(s=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){c(e,"path");let t=0,n=-1,r=0,s=-1,o=!0,l=0;e.length>=2&&e.charCodeAt(1)===a&&u(e.charCodeAt(0))&&(t=r=2);for(let a=e.length-1;a>=t;--a){const t=e.charCodeAt(a);if(d(t)){if(!o){r=a+1;break}}else-1===s&&(o=!1,s=a+1),t===i?-1===n?n=a:1!==l&&(l=1):-1!==n&&(l=-1)}return-1===n||-1===s||0===l||1===l&&n===s-1&&n===r+1?"":e.slice(n,s)},format:f.bind(null,"\\"),parse(e){c(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.length;let r=0,s=e.charCodeAt(0);if(1===n)return d(s)?(t.root=t.dir=e,t):(t.base=t.name=e,t);if(d(s)){if(r=1,d(e.charCodeAt(1))){let t=2,i=t;for(;t0&&(t.root=e.slice(0,r));let o=-1,l=r,h=-1,p=!0,m=e.length-1,f=0;for(;m>=r;--m)if(s=e.charCodeAt(m),d(s)){if(!p){l=m+1;break}}else-1===h&&(p=!1,h=m+1),s===i?-1===o?o=m:1!==f&&(f=1):-1!==o&&(f=-1);return-1!==h&&(-1===o||0===f||1===f&&o===h-1&&o===l+1?t.base=t.name=e.slice(l,h):(t.name=e.slice(l,o),t.base=e.slice(l,h),t.ext=e.slice(o,h))),t.dir=l>0&&l!==r?e.slice(0,l-1):t.root,t},sep:"\\",delimiter:";",win32:null,posix:null},b=(()=>{if(h){const e=/\\/g;return()=>{const t=r.cwd().replace(e,"/");return t.slice(t.indexOf("/"))}}return()=>r.cwd()})(),v={resolve(...e){let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const i=r>=0?e[r]:b();c(i,`paths[${r}]`),0!==i.length&&(t=`${i}/${t}`,n=i.charCodeAt(0)===s)}return t=m(t,!n,"/",p),n?`/${t}`:t.length>0?t:"."},normalize(e){if(c(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===s,n=e.charCodeAt(e.length-1)===s;return 0===(e=m(e,!t,"/",p)).length?t?"/":n?"./":".":(n&&(e+="/"),t?`/${e}`:e)},isAbsolute(e){return c(e,"path"),e.length>0&&e.charCodeAt(0)===s},join(...e){if(0===e.length)return".";let t;for(let n=0;n0&&(void 0===t?t=r:t+=`/${r}`)}return void 0===t?".":v.normalize(t)},relative(e,t){if(c(e,"from"),c(t,"to"),e===t)return"";if((e=v.resolve(e))===(t=v.resolve(t)))return"";const n=e.length,r=n-1,i=t.length-1,o=ro){if(t.charCodeAt(1+l)===s)return t.slice(1+l+1);if(0===l)return t.slice(1+l)}else r>o&&(e.charCodeAt(1+l)===s?a=l:0===l&&(a=0));let h="";for(l=1+a+1;l<=n;++l)l!==n&&e.charCodeAt(l)!==s||(h+=0===h.length?"..":"/..");return`${h}${t.slice(1+a)}`},toNamespacedPath(e){return e},dirname(e){if(c(e,"path"),0===e.length)return".";const t=e.charCodeAt(0)===s;let n=-1,r=!0;for(let t=e.length-1;t>=1;--t)if(e.charCodeAt(t)===s){if(!r){n=t;break}}else r=!1;return-1===n?t?"/":".":t&&1===n?"//":e.slice(0,n)},basename(e,t){void 0!==t&&c(t,"ext"),c(e,"path");let n,r=0,i=-1,o=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t===e)return"";let a=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){const c=e.charCodeAt(n);if(c===s){if(!o){r=n+1;break}}else-1===l&&(o=!1,l=n+1),a>=0&&(c===t.charCodeAt(a)?-1==--a&&(i=n):(a=-1,i=l))}return r===i?i=l:-1===i&&(i=e.length),e.slice(r,i)}for(n=e.length-1;n>=0;--n)if(e.charCodeAt(n)===s){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){c(e,"path");let t=-1,n=0,r=-1,o=!0,a=0;for(let l=e.length-1;l>=0;--l){const c=e.charCodeAt(l);if(c!==s)-1===r&&(o=!1,r=l+1),c===i?-1===t?t=l:1!==a&&(a=1):-1!==t&&(a=-1);else if(!o){n=l+1;break}}return-1===t||-1===r||0===a||1===a&&t===r-1&&t===n+1?"":e.slice(t,r)},format:f.bind(null,"/"),parse(e){c(e,"path");const t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;const n=e.charCodeAt(0)===s;let r;n?(t.root="/",r=1):r=0;let o=-1,a=0,l=-1,h=!0,d=e.length-1,p=0;for(;d>=r;--d){const t=e.charCodeAt(d);if(t!==s)-1===l&&(h=!1,l=d+1),t===i?-1===o?o=d:1!==p&&(p=1):-1!==o&&(p=-1);else if(!h){a=d+1;break}}if(-1!==l){const r=0===a&&n?1:a;-1===o||0===p||1===p&&o===l-1&&o===a+1?t.base=t.name=e.slice(r,l):(t.name=e.slice(r,o),t.base=e.slice(r,l),t.ext=e.slice(o,l))}return a>0?t.dir=e.slice(0,a-1):n&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};v.win32=g.win32=g,v.posix=g.posix=v;const y=h?g.normalize:v.normalize,w=h?g.join:v.join,S=h?g.resolve:v.resolve,x=h?g.relative:v.relative,C=h?g.dirname:v.dirname,_=h?g.basename:v.basename,k=h?g.extname:v.extname,E=h?g.sep:v.sep},606:function(e,t,n){"use strict";n.d(t,{OS:function(){return L},isChrome:function(){return P},isEdge:function(){return V},isFirefox:function(){return W},isLinux:function(){return F},isLittleEndian:function(){return O},isMacintosh:function(){return E},isNative:function(){return R},isSafari:function(){return U},isWeb:function(){return N},isWindows:function(){return k},setTimeout0:function(){return T},webWorkerOrigin:function(){return I}});var r=n(34106);const i="en";let s,o,a=!1,l=!1,c=!1,h=!1,d=!1,p=!1,u=!1,m=!1,f=!1,g=!1,b=null,v=null,y=null;const w=globalThis;let S;void 0!==w.vscode&&void 0!==w.vscode.process?S=w.vscode.process:"undefined"!=typeof process&&"string"==typeof process?.versions?.node&&(S=process);const x="string"==typeof S?.versions?.electron,C=x&&"renderer"===S?.type;if("object"==typeof S){a="win32"===S.platform,l="darwin"===S.platform,c="linux"===S.platform,h=c&&!!S.env.SNAP&&!!S.env.SNAP_REVISION,u=x,f=!!S.env.CI||!!S.env.BUILD_ARTIFACTSTAGINGDIRECTORY,s=i,b=i;const e=S.env.VSCODE_NLS_CONFIG;if(e)try{const t=JSON.parse(e);s=t.userLocale,v=t.osLocale,b=t.resolvedLanguage||i,y=t.languagePack?.translationsConfigFile}catch(e){}d=!0}else"object"!=typeof navigator||C?console.error("Unable to resolve platform."):(o=navigator.userAgent,a=o.indexOf("Windows")>=0,l=o.indexOf("Macintosh")>=0,m=(o.indexOf("Macintosh")>=0||o.indexOf("iPad")>=0||o.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,c=o.indexOf("Linux")>=0,g=o?.indexOf("Mobi")>=0,p=!0,b=r.getNLSLanguage()||i,s=navigator.language.toLowerCase(),v=s);let _=0;l?_=1:a?_=3:c&&(_=2);const k=a,E=l,F=c,R=d,N=p,I=p&&"function"==typeof w.importScripts?w.origin:void 0,D=o,M="function"==typeof w.postMessage&&!w.importScripts,T=(()=>{if(M){const e=[];w.addEventListener("message",(t=>{if(t.data&&t.data.vscodeScheduleAsyncWork)for(let n=0,r=e.length;n{const r=++t;e.push({id:r,callback:n}),w.postMessage({vscodeScheduleAsyncWork:r},"*")}}return e=>setTimeout(e)})(),L=l||m?2:a?1:3;let A=!0,z=!1;function O(){if(!z){z=!0;const e=new Uint8Array(2);e[0]=1,e[1]=2;const t=new Uint16Array(e.buffer);A=513===t[0]}return A}const P=!!(D&&D.indexOf("Chrome")>=0),W=!!(D&&D.indexOf("Firefox")>=0),U=!!(!P&&D&&D.indexOf("Safari")>=0),V=!!(D&&D.indexOf("Edg/")>=0);D&&D.indexOf("Android")},11352:function(e,t,n){"use strict";n.d(t,{cwd:function(){return o},env:function(){return a},platform:function(){return l}});var r=n(606);let i;const s=globalThis.vscode;if(void 0!==s&&void 0!==s.process){const e=s.process;i={get platform(){return e.platform},get arch(){return e.arch},get env(){return e.env},cwd(){return e.cwd()}}}else i="undefined"!=typeof process&&"string"==typeof process?.versions?.node?{get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:{get platform(){return r.isWindows?"win32":r.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};const o=i.cwd,a=i.env,l=i.platform},33670:function(e,t,n){"use strict";n.d(t,{StopWatch:function(){return i}});const r=globalThis.performance&&"function"==typeof globalThis.performance.now;class i{static create(e){return new i(e)}constructor(e){this._now=r&&!1===e?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}}},41011:function(e,t,n){"use strict";n.d(t,{AmbiguousCharacters:function(){return U},GraphemeIterator:function(){return E},InvisibleCharacters:function(){return V},UNUSUAL_LINE_TERMINATORS:function(){return D},UTF8_BOM_CHARACTER:function(){return A},compare:function(){return m},computeCodePoint:function(){return C},containsRTL:function(){return R},containsUnusualLineTerminators:function(){return M},createRegExp:function(){return c},equalsIgnoreCase:function(){return y},escapeRegExpCharacters:function(){return a},firstNonWhitespaceIndex:function(){return p},getNextCodePoint:function(){return _},htmlAttributeEncodeValue:function(){return o},isBasicASCII:function(){return I},isEmojiImprecise:function(){return L},isFalsyOrWhitespace:function(){return s},isFullWidthCharacter:function(){return T},isHighSurrogate:function(){return S},isLowSurrogate:function(){return x},isUpperAsciiLetter:function(){return v},lastNonWhitespaceIndex:function(){return u},ltrim:function(){return l},regExpLeadsToEndlessLoop:function(){return h},singleLetterHash:function(){return O},splitLines:function(){return d},startsWithIgnoreCase:function(){return w},startsWithUTF8BOM:function(){return z}});var r=n(67675),i=n(90707);function s(e){return!e||"string"!=typeof e||0===e.trim().length}function o(e){return e.replace(/[<>"'&]/g,(e=>{switch(e){case"<":return"<";case">":return">";case'"':return""";case"'":return"'";case"&":return"&"}return e}))}function a(e){return e.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function l(e,t){if(!e||!t)return e;const n=t.length;if(0===n||0===e.length)return e;let r=0;for(;e.indexOf(t,r)===r;)r+=n;return e.substring(r)}function c(e,t,n={}){if(!e)throw new Error("Cannot create regex from empty string");t||(e=a(e)),n.wholeWord&&(/\B/.test(e.charAt(0))||(e="\\b"+e),/\B/.test(e.charAt(e.length-1))||(e+="\\b"));let r="";return n.global&&(r+="g"),n.matchCase||(r+="i"),n.multiline&&(r+="m"),n.unicode&&(r+="u"),new RegExp(e,r)}function h(e){if("^"===e.source||"^$"===e.source||"$"===e.source||"^\\s*$"===e.source)return!1;return!(!e.exec("")||0!==e.lastIndex)}function d(e){return e.split(/\r\n|\r|\n/)}function p(e){for(let t=0,n=e.length;t=0;n--){const t=e.charCodeAt(n);if(32!==t&&9!==t)return n}return-1}function m(e,t){return et?1:0}function f(e,t,n=0,r=e.length,i=0,s=t.length){for(;ns)return 1}const o=r-n,a=s-i;return oa?1:0}function g(e,t,n=0,r=e.length,i=0,s=t.length){for(;n=128||a>=128)return f(e.toLowerCase(),t.toLowerCase(),n,r,i,s);b(o)&&(o-=32),b(a)&&(a-=32);const l=o-a;if(0!==l)return l}const o=r-n,a=s-i;return oa?1:0}function b(e){return e>=97&&e<=122}function v(e){return e>=65&&e<=90}function y(e,t){return e.length===t.length&&0===g(e,t)}function w(e,t){const n=t.length;return!(t.length>e.length)&&0===g(e,t,0,n)}function S(e){return 55296<=e&&e<=56319}function x(e){return 56320<=e&&e<=57343}function C(e,t){return t-56320+(e-55296<<10)+65536}function _(e,t,n){const r=e.charCodeAt(n);if(S(r)&&n+11){const r=e.charCodeAt(t-2);if(S(r))return C(r,n)}return n}(this._str,this._offset);return this._offset-=e>=65536?2:1,e}nextCodePoint(){const e=_(this._str,this._len,this._offset);return this._offset+=e>=65536?2:1,e}eol(){return this._offset>=this._len}}class E{get offset(){return this._iterator.offset}constructor(e,t=0){this._iterator=new k(e,t)}nextGraphemeLength(){const e=W.getInstance(),t=this._iterator,n=t.offset;let r=e.getGraphemeBreakType(t.nextCodePoint());for(;!t.eol();){const n=t.offset,i=e.getGraphemeBreakType(t.nextCodePoint());if(P(r,i)){t.setOffset(n);break}r=i}return t.offset-n}prevGraphemeLength(){const e=W.getInstance(),t=this._iterator,n=t.offset;let r=e.getGraphemeBreakType(t.prevCodePoint());for(;t.offset>0;){const n=t.offset,i=e.getGraphemeBreakType(t.prevCodePoint());if(P(i,r)){t.setOffset(n);break}r=i}return n-t.offset}eol(){return this._iterator.eol()}}let F;function R(e){return F||(F=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/),F.test(e)}const N=/^[\t\n\r\x20-\x7E]*$/;function I(e){return N.test(e)}const D=/[\u2028\u2029]/;function M(e){return D.test(e)}function T(e){return e>=11904&&e<=55215||e>=63744&&e<=64255||e>=65281&&e<=65374}function L(e){return e>=127462&&e<=127487||8986===e||8987===e||9200===e||9203===e||e>=9728&&e<=10175||11088===e||11093===e||e>=127744&&e<=128591||e>=128640&&e<=128764||e>=128992&&e<=129008||e>=129280&&e<=129535||e>=129648&&e<=129782}const A=String.fromCharCode(65279);function z(e){return!!(e&&e.length>0&&65279===e.charCodeAt(0))}function O(e){return(e%=52)<26?String.fromCharCode(97+e):String.fromCharCode(65+e-26)}function P(e,t){return 0===e?5!==t&&7!==t:(2!==e||3!==t)&&(4===e||2===e||3===e||(4===t||2===t||3===t||(8!==e||8!==t&&9!==t&&11!==t&&12!==t)&&((11!==e&&9!==e||9!==t&&10!==t)&&((12!==e&&10!==e||10!==t)&&(5!==t&&13!==t&&(7!==t&&(1!==e&&((13!==e||14!==t)&&(6!==e||6!==t)))))))))}class W{static{this._INSTANCE=null}static getInstance(){return W._INSTANCE||(W._INSTANCE=new W),W._INSTANCE}constructor(){this._data=JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(e<127)return 0;const t=this._data,n=t.length/3;let r=1;for(;r<=n;)if(et[3*r+1]))return t[3*r+2];r=2*r+1}return 0}}class U{static{this.ambiguousCharacterData=new i.Lazy((()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')))}static{this.cache=new r.LRUCachedFunction({getCacheKey:JSON.stringify},(e=>{function t(e){const t=new Map;for(let n=0;n!e.startsWith("_")&&e in r));0===s.length&&(s=["_default"]);for(const e of s){i=n(i,t(r[e]))}const o=function(e,t){const n=new Map(e);for(const[e,r]of t)n.set(e,r);return n}(t(r._common),i);return new U(o)}))}static getInstance(e){return U.cache.get(Array.from(e))}static{this._locales=new i.Lazy((()=>Object.keys(U.ambiguousCharacterData.value).filter((e=>!e.startsWith("_")))))}static getLocales(){return U._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}class V{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static{this._data=void 0}static getData(){return this._data||(this._data=new Set(V.getRawData())),this._data}static isInvisibleCharacter(e){return V.getData().has(e)}static get codePoints(){return V.getData()}}},61364:function(e,t,n){"use strict";Symbol("MicrotaskDelay")},820:function(e,t,n){"use strict";function r(e){return"string"==typeof e}function i(e){return!("object"!=typeof e||null===e||Array.isArray(e)||e instanceof RegExp||e instanceof Date)}function s(e){return void 0===e}function o(e){return s(e)||null===e}n.d(t,{isObject:function(){return i},isString:function(){return r},isUndefined:function(){return s},isUndefinedOrNull:function(){return o}})},29957:function(e,t,n){"use strict";function r(e){return e<0?0:e>255?255:0|e}function i(e){return e<0?0:e>4294967295?4294967295:0|e}n.d(t,{toUint32:function(){return i},toUint8:function(){return r}})},20599:function(e,t,n){"use strict";n.d(t,{URI:function(){return d},uriToFsPath:function(){return b}});var r=n(97574),i=n(606);const s=/^\w[\w\d+.-]*$/,o=/^\//,a=/^\/\//;const l="",c="/",h=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class d{static isUri(e){return e instanceof d||!!e&&("string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString)}constructor(e,t,n,r,i,h=!1){"object"==typeof e?(this.scheme=e.scheme||l,this.authority=e.authority||l,this.path=e.path||l,this.query=e.query||l,this.fragment=e.fragment||l):(this.scheme=function(e,t){return e||t?e:"file"}(e,h),this.authority=t||l,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==c&&(t=c+t):t=c}return t}(this.scheme,n||l),this.query=r||l,this.fragment=i||l,function(e,t){if(!e.scheme&&t)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!s.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!o.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(a.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}(this,h))}get fsPath(){return b(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=l),void 0===n?n=this.authority:null===n&&(n=l),void 0===r?r=this.path:null===r&&(r=l),void 0===i?i=this.query:null===i&&(i=l),void 0===s?s=this.fragment:null===s&&(s=l),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new u(t,n,r,i,s)}static parse(e,t=!1){const n=h.exec(e);return n?new u(n[2]||l,S(n[4]||l),S(n[5]||l),S(n[7]||l),S(n[9]||l),t):new u(l,l,l,l,l)}static file(e){let t=l;if(i.isWindows&&(e=e.replace(/\\/g,c)),e[0]===c&&e[1]===c){const n=e.indexOf(c,2);-1===n?(t=e.substring(2),e=c):(t=e.substring(2,n),e=e.substring(n)||c)}return new u("file",t,e,l,l)}static from(e,t){return new u(e.scheme,e.authority,e.path,e.query,e.fragment,t)}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=i.isWindows&&"file"===e.scheme?d.file(r.win32.join(b(e,!0),...t)).path:r.posix.join(e.path,...t),e.with({path:n})}toString(e=!1){return v(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof d)return e;{const t=new u(e);return t._formatted=e.external??null,t._fsPath=e._sep===p?e.fsPath??null:null,t}}return e}}const p=i.isWindows?1:void 0;class u extends d{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=b(this,!1)),this._fsPath}toString(e=!1){return e?v(this,!0):(this._formatted||(this._formatted=v(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=p),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const m={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function f(e,t,n){let r,i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));const t=m[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function g(e){let t;for(let n=0;n1&&"file"===e.scheme?`//${e.authority}${e.path}`:47===e.path.charCodeAt(0)&&(e.path.charCodeAt(1)>=65&&e.path.charCodeAt(1)<=90||e.path.charCodeAt(1)>=97&&e.path.charCodeAt(1)<=122)&&58===e.path.charCodeAt(2)?t?e.path.substr(1):e.path[1].toLowerCase()+e.path.substr(2):e.path,i.isWindows&&(n=n.replace(/\//g,"\\")),n}function v(e,t){const n=t?g:f;let r="",{scheme:i,authority:s,path:o,query:a,fragment:l}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=c,r+=c),s){let e=s.indexOf("@");if(-1!==e){const t=s.substr(0,e);s=s.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}s=s.toLowerCase(),e=s.lastIndexOf(":"),-1===e?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),l&&(r+="#",r+=t?l:f(l,!1,!1)),r}function y(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+y(e.substr(3)):e}}const w=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(e){return e.match(w)?e.replace(w,(e=>y(e))):e}},40198:function(e,t,n){"use strict";n.r(t),n.d(t,{SimpleWorkerClient:function(){return y},SimpleWorkerServer:function(){return x},create:function(){return C},logOnceWebWorkerWarning:function(){return p}});var r=n(42050),i=n(1077),s=n(22845),o=n(61115),a=n(606),l=n(41011);const c="default",h="$initialize";let d=!1;function p(e){a.isWeb&&(d||(d=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(e.message))}class u{constructor(e,t,n,r,i){this.vsWorker=e,this.req=t,this.channel=n,this.method=r,this.args=i,this.type=0}}class m{constructor(e,t,n,r){this.vsWorker=e,this.seq=t,this.res=n,this.err=r,this.type=1}}class f{constructor(e,t,n,r,i){this.vsWorker=e,this.req=t,this.channel=n,this.eventName=r,this.arg=i,this.type=2}}class g{constructor(e,t,n){this.vsWorker=e,this.req=t,this.event=n,this.type=3}}class b{constructor(e,t){this.vsWorker=e,this.req=t,this.type=4}}class v{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,t,n){const r=String(++this._lastSentReq);return new Promise(((i,s)=>{this._pendingReplies[r]={resolve:i,reject:s},this._send(new u(this._workerId,r,e,t,n))}))}listen(e,t,n){let r=null;const s=new i.Emitter({onWillAddFirstListener:()=>{r=String(++this._lastSentReq),this._pendingEmitters.set(r,s),this._send(new f(this._workerId,r,e,t,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(r),this._send(new b(this._workerId,r)),r=null}});return s.event}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}createProxyToRemoteChannel(e,t){const n={get:(n,r)=>("string"!=typeof r||n[r]||(S(r)?n[r]=t=>this.listen(e,r,t):w(r)?n[r]=this.listen(e,r,void 0):36===r.charCodeAt(0)&&(n[r]=async(...n)=>(await(t?.()),this.sendMessage(e,r,n)))),n[r])};return new Proxy(Object.create(null),n)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq])return void console.warn("Got reply to unknown seq");const t=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;return e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),void t.reject(n)}t.resolve(e.res)}_handleRequestMessage(e){const t=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then((e=>{this._send(new m(this._workerId,t,e,void 0))}),(e=>{e.detail instanceof Error&&(e.detail=(0,r.transformErrorForSerialization)(e.detail)),this._send(new m(this._workerId,t,void 0,(0,r.transformErrorForSerialization)(e)))}))}_handleSubscribeEventMessage(e){const t=e.req,n=this._handler.handleEvent(e.channel,e.eventName,e.arg)((e=>{this._send(new g(this._workerId,t,e))}));this._pendingEvents.set(t,n)}_handleEventMessage(e){this._pendingEmitters.has(e.req)?this._pendingEmitters.get(e.req).fire(e.event):console.warn("Got event for unknown req")}_handleUnsubscribeEventMessage(e){this._pendingEvents.has(e.req)?(this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)):console.warn("Got unsubscribe for unknown req")}_send(e){const t=[];if(0===e.type)for(let n=0;n{this._protocol.handleMessage(e)}),(e=>{(0,r.onUnexpectedError)(e)}))),this._protocol=new v({sendMessage:(e,t)=>{this._worker.postMessage(e,t)},handleMessage:(e,t,n)=>this._handleMessage(e,t,n),handleEvent:(e,t,n)=>this._handleEvent(e,t,n)}),this._protocol.setWorkerId(this._worker.getId());let n=null;const i=globalThis.require;void 0!==i&&"function"==typeof i.getConfig?n=i.getConfig():void 0!==globalThis.requirejs&&(n=globalThis.requirejs.s.contexts._.config),this._onModuleLoaded=this._protocol.sendMessage(c,h,[this._worker.getId(),JSON.parse(JSON.stringify(n)),t.amdModuleId]),this.proxy=this._protocol.createProxyToRemoteChannel(c,(async()=>{await this._onModuleLoaded})),this._onModuleLoaded.catch((e=>{this._onError("Worker failed to load "+t.amdModuleId,e)}))}_handleMessage(e,t,n){const r=this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on main thread`));if("function"!=typeof r[t])return Promise.reject(new Error(`Missing method ${t} on main thread channel ${e}`));try{return Promise.resolve(r[t].apply(r,n))}catch(e){return Promise.reject(e)}}_handleEvent(e,t,n){const r=this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on main thread`);if(S(t)){const i=r[t].call(r,n);if("function"!=typeof i)throw new Error(`Missing dynamic event ${t} on main thread channel ${e}.`);return i}if(w(t)){const n=r[t];if("function"!=typeof n)throw new Error(`Missing event ${t} on main thread channel ${e}.`);return n}throw new Error(`Malformed event name ${t}`)}setChannel(e,t){this._localChannels.set(e,t)}_onError(e,t){console.error(e),console.info(t)}}function w(e){return"o"===e[0]&&"n"===e[1]&&l.isUpperAsciiLetter(e.charCodeAt(2))}function S(e){return/^onDynamic/.test(e)&&l.isUpperAsciiLetter(e.charCodeAt(9))}class x{constructor(e,t){this._localChannels=new Map,this._remoteChannels=new Map,this._requestHandlerFactory=t,this._requestHandler=null,this._protocol=new v({sendMessage:(t,n)=>{e(t,n)},handleMessage:(e,t,n)=>this._handleMessage(e,t,n),handleEvent:(e,t,n)=>this._handleEvent(e,t,n)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t,n){if(e===c&&t===h)return this.initialize(n[0],n[1],n[2]);const r=e===c?this._requestHandler:this._localChannels.get(e);if(!r)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));if("function"!=typeof r[t])return Promise.reject(new Error(`Missing method ${t} on worker thread channel ${e}`));try{return Promise.resolve(r[t].apply(r,n))}catch(e){return Promise.reject(e)}}_handleEvent(e,t,n){const r=e===c?this._requestHandler:this._localChannels.get(e);if(!r)throw new Error(`Missing channel ${e} on worker thread`);if(S(t)){const e=r[t].call(r,n);if("function"!=typeof e)throw new Error(`Missing dynamic event ${t} on request handler.`);return e}if(w(t)){const e=r[t];if("function"!=typeof e)throw new Error(`Missing event ${t} on request handler.`);return e}throw new Error(`Malformed event name ${t}`)}getChannel(e){if(!this._remoteChannels.has(e)){const t=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,t)}return this._remoteChannels.get(e)}async initialize(e,t,r){if(this._protocol.setWorkerId(e),!this._requestHandlerFactory){t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,void 0!==t.trustedTypesPolicy&&delete t.trustedTypesPolicy,t.catchError=!0,globalThis.require.config(t));{const e=o.FileAccess.asBrowserUri(`${r}.js`).toString(!0);return n(86189)(`${e}`).then((e=>{if(this._requestHandler=e.create(this),!this._requestHandler)throw new Error("No RequestHandler!")}))}}this._requestHandler=this._requestHandlerFactory(this)}}function C(e){return new x(e,null)}},86189:function(e,t,n){var r={"./simpleWorker":40198,"./simpleWorker.js":40198};function i(e){return Promise.resolve().then((function(){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n(r[e])}))}i.keys=function(){return Object.keys(r)},i.id=86189,e.exports=i},52319:function(e,t,n){"use strict";n.d(t,{CharacterClassifier:function(){return i}});var r=n(29957);class i{constructor(e){const t=(0,r.toUint8)(e);this._defaultValue=t,this._asciiMap=i._createAsciiMap(t),this._map=new Map}static _createAsciiMap(e){const t=new Uint8Array(256);return t.fill(e),t}set(e,t){const n=(0,r.toUint8)(t);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}}},55898:function(e,t,n){"use strict";n.d(t,{LineRange:function(){return a},LineRangeSet:function(){return l}});var r=n(42050),i=n(88265),s=n(74032),o=n(56748);class a{static fromRangeInclusive(e){return new a(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(0===e.length)return[];let t=new l(e[0].slice());for(let n=1;nt)throw new r.BugIndicatingError(`startLineNumber ${e} cannot be after endLineNumberExclusive ${t}`);this.startLineNumber=e,this.endLineNumberExclusive=t}contains(e){return this.startLineNumber<=e&&et.endLineNumberExclusive>=e.startLineNumber)),n=(0,o.findLastIdxMonotonous)(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)this._normalizedRanges.splice(t,0,e);else if(t===n-1){const n=this._normalizedRanges[t];this._normalizedRanges[t]=n.join(e)}else{const r=this._normalizedRanges[t].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(t,n-t,r)}}contains(e){const t=(0,o.findLastMonotonous)(this._normalizedRanges,(t=>t.startLineNumber<=e));return!!t&&t.endLineNumberExclusive>e}intersects(e){const t=(0,o.findLastMonotonous)(this._normalizedRanges,(t=>t.startLineNumbere.startLineNumber}getUnion(e){if(0===this._normalizedRanges.length)return e;if(0===e._normalizedRanges.length)return this;const t=[];let n=0,r=0,i=null;for(;n=s.startLineNumber?i=new a(i.startLineNumber,Math.max(i.endLineNumberExclusive,s.endLineNumberExclusive)):(t.push(i),i=s)}return null!==i&&t.push(i),new l(t)}subtractFrom(e){const t=(0,o.findFirstIdxMonotonousOrArrLen)(this._normalizedRanges,(t=>t.endLineNumberExclusive>=e.startLineNumber)),n=(0,o.findLastIdxMonotonous)(this._normalizedRanges,(t=>t.startLineNumber<=e.endLineNumberExclusive))+1;if(t===n)return new l([e]);const r=[];let i=e.startLineNumber;for(let e=t;ei&&r.push(new a(i,t.startLineNumber)),i=t.endLineNumberExclusive}return ie.toString())).join(", ")}getIntersection(e){const t=[];let n=0,r=0;for(;nt.delta(e))))}}},88265:function(e,t,n){"use strict";n.d(t,{OffsetRange:function(){return i}});var r=n(42050);class i{static addRange(e,t){let n=0;for(;nt))return new i(e,t)}static ofLength(e){return new i(0,e)}static ofStartAndLength(e,t){return new i(e,e+t)}constructor(e,t){if(this.start=e,this.endExclusive=t,e>t)throw new r.BugIndicatingError(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new i(this.start+e,this.endExclusive+e)}deltaStart(e){return new i(this.start+e,this.endExclusive)}deltaEnd(e){return new i(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new r.BugIndicatingError(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new r.BugIndicatingError(`Invalid clipping range: ${this.toString()}`);return e=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let t=this.start;tn||e===n&&t>r?(this.startLineNumber=n,this.startColumn=r,this.endLineNumber=e,this.endColumn=t):(this.startLineNumber=e,this.startColumn=t,this.endLineNumber=n,this.endColumn=r)}isEmpty(){return i.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return i.containsPosition(this,e)}static containsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.columne.endColumn))}static strictContainsPosition(e,t){return!(t.lineNumbere.endLineNumber)&&(!(t.lineNumber===e.startLineNumber&&t.column<=e.startColumn)&&!(t.lineNumber===e.endLineNumber&&t.column>=e.endColumn))}containsRange(e){return i.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)))}strictContainsRange(e){return i.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.endLineNumber>e.endLineNumber)&&(!(t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn)&&!(t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)))}plusRange(e){return i.plusRange(this,e)}static plusRange(e,t){let n,r,s,o;return t.startLineNumbere.endLineNumber?(s=t.endLineNumber,o=t.endColumn):t.endLineNumber===e.endLineNumber?(s=t.endLineNumber,o=Math.max(t.endColumn,e.endColumn)):(s=e.endLineNumber,o=e.endColumn),new i(n,r,s,o)}intersectRanges(e){return i.intersectRanges(this,e)}static intersectRanges(e,t){let n=e.startLineNumber,r=e.startColumn,s=e.endLineNumber,o=e.endColumn;const a=t.startLineNumber,l=t.startColumn,c=t.endLineNumber,h=t.endColumn;return nc?(s=c,o=h):s===c&&(o=Math.min(o,h)),n>s||n===s&&r>o?null:new i(n,r,s,o)}equalsRange(e){return i.equalsRange(this,e)}static equalsRange(e,t){return!e&&!t||!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return i.getEndPosition(this)}static getEndPosition(e){return new r.Position(e.endLineNumber,e.endColumn)}getStartPosition(){return i.getStartPosition(this)}static getStartPosition(e){return new r.Position(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new i(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new i(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return i.collapseToStart(this)}static collapseToStart(e){return new i(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return i.collapseToEnd(this)}static collapseToEnd(e){return new i(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new i(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,t=e){return new i(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new i(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&"number"==typeof e.startLineNumber&&"number"==typeof e.startColumn&&"number"==typeof e.endLineNumber&&"number"==typeof e.endColumn}static areIntersectingOrTouching(e,t){return!(e.endLineNumbere.startLineNumber}toJSON(){return this}}},5679:function(e,t,n){"use strict";n.d(t,{Selection:function(){return s}});var r=n(64946),i=n(74032);class s extends i.Range{constructor(e,t,n,r){super(e,t,n,r),this.selectionStartLineNumber=e,this.selectionStartColumn=t,this.positionLineNumber=n,this.positionColumn=r}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return s.selectionsEqual(this,e)}static selectionsEqual(e,t){return e.selectionStartLineNumber===t.selectionStartLineNumber&&e.selectionStartColumn===t.selectionStartColumn&&e.positionLineNumber===t.positionLineNumber&&e.positionColumn===t.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,t){return 0===this.getDirection()?new s(this.startLineNumber,this.startColumn,e,t):new s(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new r.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new r.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,t){return 0===this.getDirection()?new s(e,t,this.endLineNumber,this.endColumn):new s(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new s(e.lineNumber,e.column,t.lineNumber,t.column)}static fromRange(e,t){return 0===t?new s(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new s(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new s(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(!e&&!t)return!0;if(e.length!==t.length)return!1;for(let n=0,r=e.length;ne.lineCount:this.columnCount>=e.columnCount}createRange(e){return 0===this.lineCount?new i.Range(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new i.Range(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return 0===this.lineCount?new r.Position(e.lineNumber,e.column+this.columnCount):new r.Position(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}},69403:function(e,t,n){"use strict";n.d(t,{getMapForWordSeparators:function(){return a}});var r=n(37727),i=n(52319);class s extends i.CharacterClassifier{constructor(e,t){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=t,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let t=0,n=e.length;tt)break;n=r}return n}findNextIntlWordAtOrAfterOffset(e,t){for(const n of this._getIntlSegmenterWordsOnLine(e))if(!(n.index/?")e.indexOf(n)>=0||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")}();function o(e){let t=s;if(e&&e instanceof RegExp)if(e.global)t=e;else{let n="g";e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),t=new RegExp(e.source,n)}return t.lastIndex=0,t}const a=new i.LinkedList;function l(e,t,n,i,s){if(t=o(t),s||(s=r.Iterable.first(a)),n.length>s.maxLen){let r=e-s.maxLen/2;return r<0?r=0:i+=r,l(e,t,n=n.substring(r,e+s.maxLen/2),i,s)}const h=Date.now(),d=e-1-i;let p=-1,u=null;for(let e=1;!(Date.now()-h>=s.timeBudget);e++){const r=d-s.windowSize*e;t.lastIndex=Math.max(0,r);const i=c(t,n,d,p);if(!i&&u)break;if(u=i,r<=0)break;p=r}if(u){const e={word:u[0],startColumn:i+1+u.index,endColumn:i+1+u.index+u[0].length};return t.lastIndex=0,e}return null}function c(e,t,n,r){let i;for(;i=e.exec(t);){const t=i.index||0;if(t<=n&&e.lastIndex>=n)return i;if(r>0&&t>r)return null}return null}a.unshift({maxLen:1e3,windowSize:15,timeBudget:150})},88243:function(e,t,n){"use strict";n.d(t,{DateTimeout:function(){return h},DiffAlgorithmResult:function(){return o},InfiniteTimeout:function(){return c},OffsetPair:function(){return l},SequenceDiff:function(){return a}});var r=n(13355),i=n(42050),s=n(88265);class o{static trivial(e,t){return new o([new a(s.OffsetRange.ofLength(e.length),s.OffsetRange.ofLength(t.length))],!1)}static trivialTimedOut(e,t){return new o([new a(s.OffsetRange.ofLength(e.length),s.OffsetRange.ofLength(t.length))],!0)}constructor(e,t){this.diffs=e,this.hitTimeout=t}}class a{static invert(e,t){const n=[];return(0,r.forEachAdjacent)(e,((e,r)=>{n.push(a.fromOffsetPairs(e?e.getEndExclusives():l.zero,r?r.getStarts():new l(t,(e?e.seq2Range.endExclusive-e.seq1Range.endExclusive:0)+t)))})),n}static fromOffsetPairs(e,t){return new a(new s.OffsetRange(e.offset1,t.offset1),new s.OffsetRange(e.offset2,t.offset2))}static assertSorted(e){let t;for(const n of e){if(t&&!(t.seq1Range.endExclusive<=n.seq1Range.start&&t.seq2Range.endExclusive<=n.seq2Range.start))throw new i.BugIndicatingError("Sequence diffs must be sorted");t=n}}constructor(e,t){this.seq1Range=e,this.seq2Range=t}swap(){return new a(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new a(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return 0===e?this:new a(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return 0===e?this:new a(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return 0===e?this:new a(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){const t=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(t&&n)return new a(t,n)}getStarts(){return new l(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new l(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}}class l{static{this.zero=new l(0,0)}static{this.max=new l(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}constructor(e,t){this.offset1=e,this.offset2=t}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return 0===e?this:new l(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}}class c{static{this.instance=new c}isValid(){return!0}}class h{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new i.BugIndicatingError("timeout must be positive")}isValid(){return!(Date.now()-this.startTime0&&s>0&&3===l.get(r-1,s-1)&&(p+=c.get(r-1,s-1)),p+=o?o(r,s):1):p=-1;const u=Math.max(h,d,p);if(u===p){const e=r>0&&s>0?c.get(r-1,s-1):0;c.set(r,s,e+1),l.set(r,s,3)}else u===h?(c.set(r,s,0),l.set(r,s,1)):u===d&&(c.set(r,s,0),l.set(r,s,2));a.set(r,s,u)}const h=[];let d=e.length,p=t.length;function u(e,t){e+1===d&&t+1===p||h.push(new i.SequenceDiff(new r.OffsetRange(e+1,d),new r.OffsetRange(t+1,p))),d=e,p=t}let m=e.length-1,f=t.length-1;for(;m>=0&&f>=0;)3===l.get(m,f)?(u(m,f),m--,f--):1===l.get(m,f)?m--:f--;return u(-1,-1),h.reverse(),new i.DiffAlgorithmResult(h,!1)}}},91505:function(e,t,n){"use strict";n.d(t,{MyersDiffAlgorithm:function(){return s}});var r=n(88265),i=n(88243);class s{compute(e,t,n=i.InfiniteTimeout.instance){if(0===e.length||0===t.length)return i.DiffAlgorithmResult.trivial(e,t);const s=e,c=t;function h(e,t){for(;es.length||l>c.length)continue;const d=h(a,l);p.set(m,d);const f=a===r?u.get(m+1):u.get(m-1);if(u.set(m,d!==a?new o(f,a,l,d-a):f),p.get(m)===s.length&&p.get(m)-m===c.length)break e}}let f=u.get(m);const g=[];let b=s.length,v=c.length;for(;;){const e=f?f.x+f.length:0,t=f?f.y+f.length:0;if(e===b&&t===v||g.push(new i.SequenceDiff(new r.OffsetRange(e,b),new r.OffsetRange(t,v))),!f)break;b=f.x,v=f.y,f=f.prev}return g.reverse(),new i.DiffAlgorithmResult(g,!1)}}class o{constructor(e,t,n,r){this.prev=e,this.x=t,this.y=n,this.length=r}}class a{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){if(e<0){if((e=-e-1)>=this.negativeArr.length){const e=this.negativeArr;this.negativeArr=new Int32Array(2*e.length),this.negativeArr.set(e)}this.negativeArr[e]=t}else{if(e>=this.positiveArr.length){const e=this.positiveArr;this.positiveArr=new Int32Array(2*e.length),this.positiveArr.set(e)}this.positiveArr[e]=t}}}class l{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,t){e<0?(e=-e-1,this.negativeArr[e]=t):this.positiveArr[e]=t}}},62475:function(e,t,n){"use strict";n.d(t,{computeMovedLines:function(){return u}});var r=n(88243),i=n(44560),s=n(13355),o=n(56748),a=n(37727),l=n(55898),c=n(83540),h=n(48885),d=n(91505),p=n(74032);function u(e,t,n,r,c,d){let{moves:p,excludedChanges:u}=function(e,t,n,r){const s=[],o=e.filter((e=>e.modified.isEmpty&&e.original.length>=3)).map((e=>new h.LineRangeFragment(e.original,t,e))),a=new Set(e.filter((e=>e.original.isEmpty&&e.modified.length>=3)).map((e=>new h.LineRangeFragment(e.modified,n,e)))),l=new Set;for(const e of o){let t,n=-1;for(const r of a){const i=e.computeSimilarity(r);i>n&&(n=i,t=r)}if(n>.9&&t&&(a.delete(t),s.push(new i.LineRangeMapping(e.range,t.range)),l.add(e.source),l.add(t.source)),!r.isValid())return{moves:s,excludedChanges:l}}return{moves:s,excludedChanges:l}}(e,t,n,d);if(!d.isValid())return[];const f=function(e,t,n,r,c,h){const d=[],p=new a.SetMap;for(const n of e)for(let e=n.original.startLineNumber;ee.modified.startLineNumber),s.numberComparator));for(const t of e){let e=[];for(let r=t.modified.startLineNumber;r{for(const n of e)if(n.originalLineRange.endLineNumberExclusive+1===t.endLineNumberExclusive&&n.modifiedLineRange.endLineNumberExclusive+1===i.endLineNumberExclusive)return n.originalLineRange=new l.LineRange(n.originalLineRange.startLineNumber,t.endLineNumberExclusive),n.modifiedLineRange=new l.LineRange(n.modifiedLineRange.startLineNumber,i.endLineNumberExclusive),void s.push(n);const n={modifiedLineRange:i,originalLineRange:t};u.push(n),s.push(n)})),e=s}if(!h.isValid())return[]}u.sort((0,s.reverseOrder)((0,s.compareBy)((e=>e.modifiedLineRange.length),s.numberComparator)));const f=new l.LineRangeSet,g=new l.LineRangeSet;for(const e of u){const t=e.modifiedLineRange.startLineNumber-e.originalLineRange.startLineNumber,n=f.subtractFrom(e.modifiedLineRange),r=g.subtractFrom(e.originalLineRange).getWithDelta(t),s=n.getIntersection(r);for(const e of s.ranges){if(e.length<3)continue;const n=e,r=e.delta(-t);d.push(new i.LineRangeMapping(r,n)),f.addRange(n),g.addRange(r)}}d.sort((0,s.compareBy)((e=>e.original.startLineNumber),s.numberComparator));const b=new o.MonotonousArray(e);for(let t=0;te.original.startLineNumber<=n.original.startLineNumber)),a=(0,o.findLastMonotonous)(e,(e=>e.modified.startLineNumber<=n.modified.startLineNumber)),p=Math.max(n.original.startLineNumber-s.original.startLineNumber,n.modified.startLineNumber-a.modified.startLineNumber),u=b.findLastMonotonous((e=>e.original.startLineNumbere.modified.startLineNumberr.length||t>c.length)break;if(f.contains(t)||g.contains(e))break;if(!m(r[e-1],c[t-1],h))break}for(w>0&&(g.addRange(new l.LineRange(n.original.startLineNumber-w,n.original.startLineNumber)),f.addRange(new l.LineRange(n.modified.startLineNumber-w,n.modified.startLineNumber))),S=0;Sr.length||t>c.length)break;if(f.contains(t)||g.contains(e))break;if(!m(r[e-1],c[t-1],h))break}S>0&&(g.addRange(new l.LineRange(n.original.endLineNumberExclusive,n.original.endLineNumberExclusive+S)),f.addRange(new l.LineRange(n.modified.endLineNumberExclusive,n.modified.endLineNumberExclusive+S))),(w>0||S>0)&&(d[t]=new i.LineRangeMapping(new l.LineRange(n.original.startLineNumber-w,n.original.endLineNumberExclusive+S),new l.LineRange(n.modified.startLineNumber-w,n.modified.endLineNumberExclusive+S)))}return d}(e.filter((e=>!u.has(e))),r,c,t,n,d);return(0,s.pushMany)(p,f),p=function(e){if(0===e.length)return e;e.sort((0,s.compareBy)((e=>e.original.startLineNumber),s.numberComparator));const t=[e[0]];for(let n=1;n=0&&o>=0&&s+o<=2?t[t.length-1]=r.join(i):t.push(i)}return t}(p),p=p.filter((e=>{const n=e.original.toOffsetRange().slice(t).map((e=>e.trim()));return n.join("\n").length>=15&&function(e,t){let n=0;for(const r of e)t(r)&&n++;return n}(n,(e=>e.length>=2))>=2})),p=function(e,t){const n=new o.MonotonousArray(e);return t=t.filter((t=>(n.findLastMonotonous((e=>e.original.startLineNumbere.modified.startLineNumber300&&t.length>300)return!1;const i=(new d.MyersDiffAlgorithm).compute(new c.LinesSliceCharSequence([e],new p.Range(1,1,1,e.length),!1),new c.LinesSliceCharSequence([t],new p.Range(1,1,1,t.length),!1),n);let s=0;const o=r.SequenceDiff.invert(i.diffs,e.length);for(const t of o)t.seq1Range.forEach((t=>{(0,h.isSpace)(e.charCodeAt(t))||s++}));const a=function(t){let n=0;for(let r=0;rt.length?e:t);return s/a>.6&&a>10}},62096:function(e,t,n){"use strict";n.d(t,{DefaultLinesDiffComputer:function(){return b}});var r=n(13355),i=n(63587),s=n(55898),o=n(88265),a=n(74032),l=n(88243),c=n(56860),h=n(91505),d=n(62475),p=n(85239),u=n(73957),m=n(83540),f=n(22600),g=n(44560);class b{constructor(){this.dynamicProgrammingDiffing=new c.DynamicProgrammingDiffing,this.myersDiffingAlgorithm=new h.MyersDiffAlgorithm}computeDiff(e,t,n){if(e.length<=1&&(0,r.equals)(e,t,((e,t)=>e===t)))return new f.LinesDiff([],[],!1);if(1===e.length&&0===e[0].length||1===t.length&&0===t[0].length)return new f.LinesDiff([new g.DetailedLineRangeMapping(new s.LineRange(1,e.length+1),new s.LineRange(1,t.length+1),[new g.RangeMapping(new a.Range(1,1,e.length,e[e.length-1].length+1),new a.Range(1,1,t.length,t[t.length-1].length+1))])],[],!1);const c=0===n.maxComputationTimeMs?l.InfiniteTimeout.instance:new l.DateTimeout(n.maxComputationTimeMs),h=!n.ignoreTrimWhitespace,d=new Map;function m(e){let t=d.get(e);return void 0===t&&(t=d.size,d.set(e,t)),t}const b=e.map((e=>m(e.trim()))),y=t.map((e=>m(e.trim()))),w=new u.LineSequence(b,e),S=new u.LineSequence(y,t),x=(()=>w.length+S.length<1700?this.dynamicProgrammingDiffing.compute(w,S,c,((n,r)=>e[n]===t[r]?0===t[r].length?.1:1+Math.log(1+t[r].length):.99)):this.myersDiffingAlgorithm.compute(w,S,c))();let C=x.diffs,_=x.hitTimeout;C=(0,p.optimizeSequenceDiffs)(w,S,C),C=(0,p.removeVeryShortMatchingLinesBetweenDiffs)(w,S,C);const k=[],E=n=>{if(h)for(let r=0;rn.seq1Range.start-F==n.seq2Range.start-R));E(n.seq1Range.start-F),F=n.seq1Range.endExclusive,R=n.seq2Range.endExclusive;const r=this.refineDiff(e,t,n,c,h);r.hitTimeout&&(_=!0);for(const e of r.mappings)k.push(e)}E(e.length-F);const N=v(k,e,t);let I=[];return n.computeMoves&&(I=this.computeMoves(N,e,t,b,y,c,h)),(0,i.assertFn)((()=>{function n(e,t){if(e.lineNumber<1||e.lineNumber>t.length)return!1;const n=t[e.lineNumber-1];return!(e.column<1||e.column>n.length+1)}function r(e,t){return!(e.startLineNumber<1||e.startLineNumber>t.length+1)&&!(e.endLineNumberExclusive<1||e.endLineNumberExclusive>t.length+1)}for(const i of N){if(!i.innerChanges)return!1;for(const r of i.innerChanges){if(!(n(r.modifiedRange.getStartPosition(),t)&&n(r.modifiedRange.getEndPosition(),t)&&n(r.originalRange.getStartPosition(),e)&&n(r.originalRange.getEndPosition(),e)))return!1}if(!r(i.modified,t)||!r(i.original,e))return!1}return!0})),new f.LinesDiff(N,I,_)}computeMoves(e,t,n,r,i,s,o){return(0,d.computeMovedLines)(e,t,n,r,i,s).map((e=>{const r=v(this.refineDiff(t,n,new l.SequenceDiff(e.original.toOffsetRange(),e.modified.toOffsetRange()),s,o).mappings,t,n,!0);return new f.MovedText(e,r)}))}refineDiff(e,t,n,r,i){var o;const a=(o=n,new g.LineRangeMapping(new s.LineRange(o.seq1Range.start+1,o.seq1Range.endExclusive+1),new s.LineRange(o.seq2Range.start+1,o.seq2Range.endExclusive+1))).toRangeMapping2(e,t),l=new m.LinesSliceCharSequence(e,a.originalRange,i),c=new m.LinesSliceCharSequence(t,a.modifiedRange,i),h=l.length+c.length<500?this.dynamicProgrammingDiffing.compute(l,c,r):this.myersDiffingAlgorithm.compute(l,c,r),d=!1;let u=h.diffs;u=(0,p.optimizeSequenceDiffs)(l,c,u),u=(0,p.extendDiffsToEntireWordIfAppropriate)(l,c,u),u=(0,p.removeShortMatches)(l,c,u),u=(0,p.removeVeryShortMatchingTextBetweenLongDiffs)(l,c,u);const f=u.map((e=>new g.RangeMapping(l.translateRange(e.seq1Range),c.translateRange(e.seq2Range))));return{mappings:f,hitTimeout:h.hitTimeout}}}function v(e,t,n,o=!1){const a=[];for(const i of(0,r.groupAdjacentBy)(e.map((e=>function(e,t,n){let r=0,i=0;1===e.modifiedRange.endColumn&&1===e.originalRange.endColumn&&e.originalRange.startLineNumber+r<=e.originalRange.endLineNumber&&e.modifiedRange.startLineNumber+r<=e.modifiedRange.endLineNumber&&(i=-1);e.modifiedRange.startColumn-1>=n[e.modifiedRange.startLineNumber-1].length&&e.originalRange.startColumn-1>=t[e.originalRange.startLineNumber-1].length&&e.originalRange.startLineNumber<=e.originalRange.endLineNumber+i&&e.modifiedRange.startLineNumber<=e.modifiedRange.endLineNumber+i&&(r=1);const o=new s.LineRange(e.originalRange.startLineNumber+r,e.originalRange.endLineNumber+1+i),a=new s.LineRange(e.modifiedRange.startLineNumber+r,e.modifiedRange.endLineNumber+1+i);return new g.DetailedLineRangeMapping(o,a,[e])}(e,t,n))),((e,t)=>e.original.overlapOrTouch(t.original)||e.modified.overlapOrTouch(t.modified)))){const e=i[0],t=i[i.length-1];a.push(new g.DetailedLineRangeMapping(e.original.join(t.original),e.modified.join(t.modified),i.map((e=>e.innerChanges[0]))))}return(0,i.assertFn)((()=>{if(!o&&a.length>0){if(a[0].modified.startLineNumber!==a[0].original.startLineNumber)return!1;if(n.length-a[a.length-1].modified.endLineNumberExclusive!=t.length-a[a.length-1].original.endLineNumberExclusive)return!1}return(0,i.checkAdjacentItems)(a,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive0?n[r-1]:void 0,o=n[r],a=r+10&&(l=l.delta(c))}o.push(l)}return r.length>0&&o.push(r[r.length-1]),o}function l(e,t,n,r,i){let s=1;for(;e.seq1Range.start-s>=r.start&&e.seq2Range.start-s>=i.start&&n.isStronglyEqual(e.seq2Range.start-s,e.seq2Range.endExclusive-s)&&s<100;)s++;s--;let o=0;for(;e.seq1Range.start+ol&&(l=c,a=r)}return e.delta(a)}function c(e,t,n){const r=[];for(const e of n){const t=r[r.length-1];t?e.seq1Range.start-t.seq1Range.endExclusive<=2||e.seq2Range.start-t.seq2Range.endExclusive<=2?r[r.length-1]=new s.SequenceDiff(t.seq1Range.join(e.seq1Range),t.seq2Range.join(e.seq2Range)):r.push(e):r.push(e)}return r}function h(e,t,n){const r=s.SequenceDiff.invert(n,e.length),i=[];let o=new s.OffsetPair(0,0);function a(n,a){if(n.offset10;){const n=r[0];if(!(n.seq1Range.intersects(h.seq1Range)||n.seq2Range.intersects(h.seq2Range)))break;const i=e.findWordContaining(n.seq1Range.start),o=t.findWordContaining(n.seq2Range.start),a=new s.SequenceDiff(i,o),l=a.intersect(n);if(p+=l.seq1Range.length,u+=l.seq2Range.length,h=h.join(a),!(h.seq1Range.endExclusive>=n.seq1Range.endExclusive))break;r.shift()}p+u<2*(h.seq1Range.length+h.seq2Range.length)/3&&i.push(h),o=h.getEndExclusives()}for(;r.length>0;){const e=r.shift();e.seq1Range.isEmpty||(a(e.getStarts(),e),a(e.getEndExclusives().delta(-1),e))}return function(e,t){const n=[];for(;e.length>0||t.length>0;){const r=e[0],i=t[0];let s;s=r&&(!i||r.seq1Range.start0&&n[n.length-1].seq1Range.endExclusive>=s.seq1Range.start?n[n.length-1]=n[n.length-1].join(s):n.push(s)}return n}(n,i)}function d(e,t,n){let r=n;if(0===r.length)return r;let s,o=0;do{s=!1;const a=[r[0]];for(let l=1;l5||n.seq1Range.length+n.seq2Range.length>5)}d(h,c)?(s=!0,a[a.length-1]=a[a.length-1].join(c)):a.push(c)}r=a}while(o++<10&&s);return r}function p(e,t,n){let o=n;if(0===o.length)return o;let a,l=0;do{a=!1;const h=[o[0]];for(let d=1;d5||s.length>500)return!1;const o=e.getText(s).trim();if(o.length>20||o.split(/\r\n|\r|\n/).length>1)return!1;const a=e.countLinesIn(n.seq1Range),l=n.seq1Range.length,c=t.countLinesIn(n.seq2Range),h=n.seq2Range.length,d=e.countLinesIn(r.seq1Range),m=r.seq1Range.length,f=t.countLinesIn(r.seq2Range),g=r.seq2Range.length;function b(e){return Math.min(e,130)}return Math.pow(Math.pow(b(40*a+l),1.5)+Math.pow(b(40*c+h),1.5),1.5)+Math.pow(Math.pow(b(40*d+m),1.5)+Math.pow(b(40*f+g),1.5),1.5)>74184.96480721243}m(u,p)?(a=!0,h[h.length-1]=h[h.length-1].join(p)):h.push(p)}o=h}while(l++<10&&a);const c=[];return(0,r.forEachWithNeighbors)(o,((t,n,r)=>{let o=n;function a(e){return e.length>0&&e.trim().length<=3&&n.seq1Range.length+n.seq2Range.length>100}const l=e.extendToFullLines(n.seq1Range),h=e.getText(new i.OffsetRange(l.start,n.seq1Range.start));a(h)&&(o=o.deltaStart(-h.length));const d=e.getText(new i.OffsetRange(n.seq1Range.endExclusive,l.endExclusive));a(d)&&(o=o.deltaEnd(d.length));const p=s.SequenceDiff.fromOffsetPairs(t?t.getEndExclusives():s.OffsetPair.zero,r?r.getStarts():s.OffsetPair.max),u=o.intersect(p);c.length>0&&u.getStarts().equals(c[c.length-1].getEndExclusives())?c[c.length-1]=c[c.length-1].join(u):c.push(u)})),c}},73957:function(e,t,n){"use strict";n.d(t,{LineSequence:function(){return r}});class r{constructor(e,t){this.trimmedHash=e,this.lines=t}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){return 1e3-((0===e?0:i(this.lines[e-1]))+(e===this.lines.length?0:i(this.lines[e])))}getText(e){return this.lines.slice(e.start,e.endExclusive).join("\n")}isStronglyEqual(e,t){return this.lines[e]===this.lines[t]}}function i(e){let t=0;for(;t1&&(i=this.range.startColumn-1,r=r.substring(i)),this.lineStartOffsets.push(i);let s=0;if(!n){const e=r.trimStart();s=r.length-e.length,r=e.trimEnd()}this.trimmedWsLengthsByLineIdx.push(s);const o=t===this.range.endLineNumber?Math.min(this.range.endColumn-1-i-s,r.length):r.length;for(let e=0;eString.fromCharCode(e))).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){const t=p(e>0?this.elements[e-1]:-1),n=p(et<=e)),i=e-this.firstElementOffsetByLineIdx[n];return new s.Position(this.range.startLineNumber+n,1+this.lineStartOffsets[n]+i+(0===i&&"left"===t?0:this.trimmedWsLengthsByLineIdx[n]))}translateRange(e){const t=this.translateOffset(e.start,"right"),n=this.translateOffset(e.endExclusive,"left");return n.isBefore(t)?o.Range.fromPositions(n,n):o.Range.fromPositions(t,n)}findWordContaining(e){if(e<0||e>=this.elements.length)return;if(!c(this.elements[e]))return;let t=e;for(;t>0&&c(this.elements[t-1]);)t--;let n=e;for(;nt<=e.start))??0,n=(0,r.findFirstMonotonous)(this.firstElementOffsetByLineIdx,(t=>e.endExclusive<=t))??this.elements.length;return new i.OffsetRange(t,n)}}function c(e){return e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57}const h={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function d(e){return h[e]}function p(e){return 10===e?8:13===e?7:(0,a.isSpace)(e)?6:e>=97&&e<=122?0:e>=65&&e<=90?1:e>=48&&e<=57?2:-1===e?3:44===e||59===e?5:4}},48885:function(e,t,n){"use strict";n.d(t,{Array2D:function(){return r},LineRangeFragment:function(){return s},isSpace:function(){return i}});class r{constructor(e,t){this.width=e,this.height=t,this.array=[],this.array=new Array(e*t)}get(e,t){return this.array[e+t*this.width]}set(e,t,n){this.array[e+t*this.width]=n}}function i(e){return 32===e||9===e}class s{static{this.chrKeys=new Map}static getKey(e){let t=this.chrKeys.get(e);return void 0===t&&(t=this.chrKeys.size,this.chrKeys.set(e,t)),t}constructor(e,t,n){this.range=e,this.lines=t,this.source=n,this.histogram=[];let r=0;for(let n=e.startLineNumber-1;nnew s.RangeMapping(new a.Range(e.originalStartLineNumber,e.originalStartColumn,e.originalEndLineNumber,e.originalEndColumn),new a.Range(e.modifiedStartLineNumber,e.modifiedStartColumn,e.modifiedEndLineNumber,e.modifiedEndColumn)))));h&&(h.modified.endLineNumberExclusive!==r.modified.startLineNumber&&h.original.endLineNumberExclusive!==r.original.startLineNumber||(r=new s.DetailedLineRangeMapping(h.original.join(r.original),h.modified.join(r.modified),h.innerChanges&&r.innerChanges?h.innerChanges.concat(r.innerChanges):void 0),o.pop())),o.push(r),h=r}return(0,l.assertFn)((()=>(0,l.checkAdjacentItems)(o,((e,t)=>t.original.startLineNumber-e.original.endLineNumberExclusive==t.modified.startLineNumber-e.modified.endLineNumberExclusive&&e.original.endLineNumberExclusive(10===e?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[t]},${this._columns[t]})`)).join(", ")+"]"}_assertIndex(e,t){if(e<0||e>=t.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return-1===e?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),10===this._charCodes[e]?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return-1===e?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),10===this._charCodes[e]?1:this._columns[e]+1)}}class m{constructor(e,t,n,r,i,s,o,a){this.originalStartLineNumber=e,this.originalStartColumn=t,this.originalEndLineNumber=n,this.originalEndColumn=r,this.modifiedStartLineNumber=i,this.modifiedStartColumn=s,this.modifiedEndLineNumber=o,this.modifiedEndColumn=a}static createFromDiffChange(e,t,n){const r=t.getStartLineNumber(e.originalStart),i=t.getStartColumn(e.originalStart),s=t.getEndLineNumber(e.originalStart+e.originalLength-1),o=t.getEndColumn(e.originalStart+e.originalLength-1),a=n.getStartLineNumber(e.modifiedStart),l=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),h=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new m(r,i,s,o,a,l,c,h)}}class f{constructor(e,t,n,r,i){this.originalStartLineNumber=e,this.originalEndLineNumber=t,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=r,this.charChanges=i}static createFromDiffResult(e,t,n,r,i,s,o){let a,l,c,h,p;if(0===t.originalLength?(a=n.getStartLineNumber(t.originalStart)-1,l=0):(a=n.getStartLineNumber(t.originalStart),l=n.getEndLineNumber(t.originalStart+t.originalLength-1)),0===t.modifiedLength?(c=r.getStartLineNumber(t.modifiedStart)-1,h=0):(c=r.getStartLineNumber(t.modifiedStart),h=r.getEndLineNumber(t.modifiedStart+t.modifiedLength-1)),s&&t.originalLength>0&&t.originalLength<20&&t.modifiedLength>0&&t.modifiedLength<20&&i()){const s=n.createCharSequence(e,t.originalStart,t.originalStart+t.originalLength-1),a=r.createCharSequence(e,t.modifiedStart,t.modifiedStart+t.modifiedLength-1);if(s.getElements().length>0&&a.getElements().length>0){let e=d(s,a,i,!0).changes;o&&(e=function(e){if(e.length<=1)return e;const t=[e[0]];let n=t[0];for(let r=1,i=e.length;r1&&o>1;){if(e.charCodeAt(n-2)!==t.charCodeAt(o-2))break;n--,o--}(n>1||o>1)&&this._pushTrimWhitespaceCharChange(r,i+1,1,n,s+1,1,o)}{let n=v(e,1),o=v(t,1);const a=e.length+1,l=t.length+1;for(;n!0;const t=Date.now();return()=>Date.now()-tnew r.LegacyLinesDiffComputer,getDefault:()=>new i.DefaultLinesDiffComputer}},44560:function(e,t,n){"use strict";n.d(t,{DetailedLineRangeMapping:function(){return d},LineRangeMapping:function(){return l},RangeMapping:function(){return p}});var r=n(42050),i=n(55898),s=n(64946),o=n(74032),a=n(52338);class l{static inverse(e,t,n){const r=[];let s=1,o=1;for(const t of e){const e=new l(new i.LineRange(s,t.original.startLineNumber),new i.LineRange(o,t.modified.startLineNumber));e.modified.isEmpty||r.push(e),s=t.original.endLineNumberExclusive,o=t.modified.endLineNumberExclusive}const a=new l(new i.LineRange(s,t+1),new i.LineRange(o,n+1));return a.modified.isEmpty||r.push(a),r}static clip(e,t,n){const r=[];for(const i of e){const e=i.original.intersect(t),s=i.modified.intersect(n);e&&!e.isEmpty&&s&&!s.isEmpty&&r.push(new l(e,s))}return r}constructor(e,t){this.original=e,this.modified=t}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new l(this.modified,this.original)}join(e){return new l(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){const e=this.original.toInclusiveRange(),t=this.modified.toInclusiveRange();if(e&&t)return new p(e,t);if(1===this.original.startLineNumber||1===this.modified.startLineNumber){if(1!==this.modified.startLineNumber||1!==this.original.startLineNumber)throw new r.BugIndicatingError("not a valid diff");return new p(new o.Range(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new o.Range(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}return new p(new o.Range(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new o.Range(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(e,t){if(h(this.original.endLineNumberExclusive,e)&&h(this.modified.endLineNumberExclusive,t))return new p(new o.Range(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new o.Range(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new p(o.Range.fromPositions(new s.Position(this.original.startLineNumber,1),c(new s.Position(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),o.Range.fromPositions(new s.Position(this.modified.startLineNumber,1),c(new s.Position(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new p(o.Range.fromPositions(c(new s.Position(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),c(new s.Position(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),o.Range.fromPositions(c(new s.Position(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),t),c(new s.Position(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),t)));throw new r.BugIndicatingError}}function c(e,t){if(e.lineNumber<1)return new s.Position(1,1);if(e.lineNumber>t.length)return new s.Position(t.length,t[t.length-1].length+1);const n=t[e.lineNumber-1];return e.column>n.length+1?new s.Position(e.lineNumber,n.length+1):e}function h(e,t){return e>=1&&e<=t.length}class d extends l{static fromRangeMappings(e){const t=i.LineRange.join(e.map((e=>i.LineRange.fromRangeInclusive(e.originalRange)))),n=i.LineRange.join(e.map((e=>i.LineRange.fromRangeInclusive(e.modifiedRange))));return new d(t,n,e)}constructor(e,t,n){super(e,t),this.innerChanges=n}flip(){return new d(this.modified,this.original,this.innerChanges?.map((e=>e.flip())))}withInnerChangesFromLineRanges(){return new d(this.original,this.modified,[this.toRangeMapping()])}}class p{static assertSorted(e){for(let t=1;t${this.modifiedRange.toString()}}`}flip(){return new p(this.modifiedRange,this.originalRange)}toTextEdit(e){const t=e.getValueOfRange(this.modifiedRange);return new a.SingleTextEdit(this.originalRange,t)}}},89050:function(e,t,n){"use strict";n.d(t,{EncodedTokenizationResult:function(){return u},Token:function(){return p},TokenizationRegistry:function(){return w},TreeSitterTokenizationRegistry:function(){return S}});var r,i,s,o,a,l,c=n(66781),h=(n(20599),n(13425)),d=n(34106);class p{constructor(e,t,n){this.offset=e,this.type=t,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}}class u{constructor(e,t){this.tokens=e,this.endState=t,this._encodedTokenizationResultBrand=void 0}}!function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(r||(r={})),function(e){const t=new Map;t.set(0,c.Codicon.symbolMethod),t.set(1,c.Codicon.symbolFunction),t.set(2,c.Codicon.symbolConstructor),t.set(3,c.Codicon.symbolField),t.set(4,c.Codicon.symbolVariable),t.set(5,c.Codicon.symbolClass),t.set(6,c.Codicon.symbolStruct),t.set(7,c.Codicon.symbolInterface),t.set(8,c.Codicon.symbolModule),t.set(9,c.Codicon.symbolProperty),t.set(10,c.Codicon.symbolEvent),t.set(11,c.Codicon.symbolOperator),t.set(12,c.Codicon.symbolUnit),t.set(13,c.Codicon.symbolValue),t.set(15,c.Codicon.symbolEnum),t.set(14,c.Codicon.symbolConstant),t.set(15,c.Codicon.symbolEnum),t.set(16,c.Codicon.symbolEnumMember),t.set(17,c.Codicon.symbolKeyword),t.set(27,c.Codicon.symbolSnippet),t.set(18,c.Codicon.symbolText),t.set(19,c.Codicon.symbolColor),t.set(20,c.Codicon.symbolFile),t.set(21,c.Codicon.symbolReference),t.set(22,c.Codicon.symbolCustomColor),t.set(23,c.Codicon.symbolFolder),t.set(24,c.Codicon.symbolTypeParameter),t.set(25,c.Codicon.account),t.set(26,c.Codicon.issues),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for CompletionItemKind "+e),n=c.Codicon.symbolProperty),n};const n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26),e.fromString=function(e,t){let r=n.get(e);return void 0!==r||t||(r=9),r}}(i||(i={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(s||(s={}));!function(e){e[e.Automatic=0]="Automatic",e[e.PasteAs=1]="PasteAs"}(o||(o={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}(a||(a={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(l||(l={}));(0,d.localize)("vs/editor/common/languages","Array","array"),(0,d.localize)("vs/editor/common/languages","Boolean","boolean"),(0,d.localize)("vs/editor/common/languages","Class","class"),(0,d.localize)("vs/editor/common/languages","Constant","constant"),(0,d.localize)("vs/editor/common/languages","Constructor","constructor"),(0,d.localize)("vs/editor/common/languages","Enum","enumeration"),(0,d.localize)("vs/editor/common/languages","EnumMember","enumeration member"),(0,d.localize)("vs/editor/common/languages","Event","event"),(0,d.localize)("vs/editor/common/languages","Field","field"),(0,d.localize)("vs/editor/common/languages","File","file"),(0,d.localize)("vs/editor/common/languages","Function","function"),(0,d.localize)("vs/editor/common/languages","Interface","interface"),(0,d.localize)("vs/editor/common/languages","Key","key"),(0,d.localize)("vs/editor/common/languages","Method","method"),(0,d.localize)("vs/editor/common/languages","Module","module"),(0,d.localize)("vs/editor/common/languages","Namespace","namespace"),(0,d.localize)("vs/editor/common/languages","Null","null"),(0,d.localize)("vs/editor/common/languages","Number","number"),(0,d.localize)("vs/editor/common/languages","Object","object"),(0,d.localize)("vs/editor/common/languages","Operator","operator"),(0,d.localize)("vs/editor/common/languages","Package","package"),(0,d.localize)("vs/editor/common/languages","Property","property"),(0,d.localize)("vs/editor/common/languages","String","string"),(0,d.localize)("vs/editor/common/languages","Struct","struct"),(0,d.localize)("vs/editor/common/languages","TypeParameter","type parameter"),(0,d.localize)("vs/editor/common/languages","Variable","variable");var m,f,g,b,v;!function(e){const t=new Map;t.set(0,c.Codicon.symbolFile),t.set(1,c.Codicon.symbolModule),t.set(2,c.Codicon.symbolNamespace),t.set(3,c.Codicon.symbolPackage),t.set(4,c.Codicon.symbolClass),t.set(5,c.Codicon.symbolMethod),t.set(6,c.Codicon.symbolProperty),t.set(7,c.Codicon.symbolField),t.set(8,c.Codicon.symbolConstructor),t.set(9,c.Codicon.symbolEnum),t.set(10,c.Codicon.symbolInterface),t.set(11,c.Codicon.symbolFunction),t.set(12,c.Codicon.symbolVariable),t.set(13,c.Codicon.symbolConstant),t.set(14,c.Codicon.symbolString),t.set(15,c.Codicon.symbolNumber),t.set(16,c.Codicon.symbolBoolean),t.set(17,c.Codicon.symbolArray),t.set(18,c.Codicon.symbolObject),t.set(19,c.Codicon.symbolKey),t.set(20,c.Codicon.symbolNull),t.set(21,c.Codicon.symbolEnumMember),t.set(22,c.Codicon.symbolStruct),t.set(23,c.Codicon.symbolEvent),t.set(24,c.Codicon.symbolOperator),t.set(25,c.Codicon.symbolTypeParameter),e.toIcon=function(e){let n=t.get(e);return n||(console.info("No codicon found for SymbolKind "+e),n=c.Codicon.symbolProperty),n}}(m||(m={}));class y{static{this.Comment=new y("comment")}static{this.Imports=new y("imports")}static{this.Region=new y("region")}static fromValue(e){switch(e){case"comment":return y.Comment;case"imports":return y.Imports;case"region":return y.Region}return new y(e)}constructor(e){this.value=e}}!function(e){e[e.AIGenerated=1]="AIGenerated"}(f||(f={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(g||(g={})),function(e){e.is=function(e){return!(!e||"object"!=typeof e)&&("string"==typeof e.id&&"string"==typeof e.title)}}(b||(b={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(v||(v={}));const w=new h.TokenizationRegistry,S=new h.TokenizationRegistry;var x;!function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(x||(x={}))},63596:function(e,t,n){"use strict";n.d(t,{computeDefaultDocumentColors:function(){return d}});var r=n(59746);function i(e){const t=[];for(const n of e){const e=Number(n);(e||0===e&&""!==n.replace(/\s/g,""))&&t.push(e)}return t}function s(e,t,n,r){return{red:e/255,blue:n/255,green:t/255,alpha:r}}function o(e,t){const n=t.index,r=t[0].length;if(!n)return;const i=e.positionAt(n);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+r}}function a(e,t){if(!e)return;const n=r.Color.Format.CSS.parseHex(t);return n?{range:e,color:s(n.rgba.r,n.rgba.g,n.rgba.b,n.rgba.a)}:void 0}function l(e,t,n){if(!e||1!==t.length)return;const r=i(t[0].values());return{range:e,color:s(r[0],r[1],r[2],n?r[3]:1)}}function c(e,t,n){if(!e||1!==t.length)return;const o=i(t[0].values()),a=new r.Color(new r.HSLA(o[0],o[1]/100,o[2]/100,n?o[3]:1));return{range:e,color:s(a.rgba.r,a.rgba.g,a.rgba.b,a.rgba.a)}}function h(e,t){return"string"==typeof e?[...e.matchAll(t)]:e.findMatches(t)}function d(e){return e&&"function"==typeof e.getValue&&"function"==typeof e.positionAt?function(e){const t=[],n=h(e,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(const r of n){const n=r.filter((e=>void 0!==e)),i=n[1],s=n[2];if(!s)continue;let d;if("rgb"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;d=l(o(e,r),h(s,t),!1)}else if("rgba"===i){const t=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;d=l(o(e,r),h(s,t),!0)}else if("hsl"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;d=c(o(e,r),h(s,t),!1)}else if("hsla"===i){const t=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;d=c(o(e,r),h(s,t),!0)}else"#"===i&&(d=a(o(e,r),i+s));d&&t.push(d)}return t}(e):[]}},15684:function(e,t,n){"use strict";n.d(t,{computeLinks:function(){return c}});var r=n(52319);class i{constructor(e,t,n){const r=new Uint8Array(e*t);for(let i=0,s=e*t;it&&(t=s),i>n&&(n=i),o>n&&(n=o)}t++,n++;const r=new i(n,t,0);for(let t=0,n=e.length;t=this._maxCharCode?0:this._states.get(e,t)}}let o=null;let a=null;class l{static _createLink(e,t,n,r,i){let s=i-1;do{const n=t.charCodeAt(s);if(2!==e.get(n))break;s--}while(s>r);if(r>0){const e=t.charCodeAt(r-1),n=t.charCodeAt(s);(40===e&&41===n||91===e&&93===n||123===e&&125===n)&&s--}return{range:{startLineNumber:n,startColumn:r+1,endLineNumber:n,endColumn:s+2},url:t.substring(r,s+1)}}static computeLinks(e,t=function(){return null===o&&(o=new s([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),o}()){const n=function(){if(null===a){a=new r.CharacterClassifier(0);const e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t=0?(r+=n?1:-1,r<0?r=e.length-1:r%=e.length,e[r]):null}}},92188:function(e,t,n){"use strict";n.d(t,{ApplyEditsResult:function(){return p},FindMatch:function(){return l},GlyphMarginLane:function(){return i},OverviewRulerLane:function(){return r},SearchData:function(){return d},TextModelResolvedOptions:function(){return a},ValidAnnotatedEditOperation:function(){return h},isITextSnapshot:function(){return c},shouldSynchronizeModel:function(){return u}});var r,i,s,o=n(46645);!function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(r||(r={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"}(i||(i={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(s||(s={}));class a{get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":this.indentSize}constructor(e){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,0|e.tabSize),"tabSize"===e.indentSize?(this.indentSize=this.tabSize,this._indentSizeIsTabSize=!0):(this.indentSize=Math.max(1,0|e.indentSize),this._indentSizeIsTabSize=!1),this.insertSpaces=Boolean(e.insertSpaces),this.defaultEOL=0|e.defaultEOL,this.trimAutoWhitespace=Boolean(e.trimAutoWhitespace),this.bracketPairColorizationOptions=e.bracketPairColorizationOptions}equals(e){return this.tabSize===e.tabSize&&this._indentSizeIsTabSize===e._indentSizeIsTabSize&&this.indentSize===e.indentSize&&this.insertSpaces===e.insertSpaces&&this.defaultEOL===e.defaultEOL&&this.trimAutoWhitespace===e.trimAutoWhitespace&&(0,o.equals)(this.bracketPairColorizationOptions,e.bracketPairColorizationOptions)}createChangeEvent(e){return{tabSize:this.tabSize!==e.tabSize,indentSize:this.indentSize!==e.indentSize,insertSpaces:this.insertSpaces!==e.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==e.trimAutoWhitespace}}}class l{constructor(e,t){this._findMatchBrand=void 0,this.range=e,this.matches=t}}function c(e){return e&&"function"==typeof e.read}class h{constructor(e,t,n,r,i,s){this.identifier=e,this.range=t,this.text=n,this.forceMoveMarkers=r,this.isAutoWhitespaceEdit=i,this._isTracked=s}}class d{constructor(e,t,n){this.regex=e,this.wordSeparators=t,this.simpleSearch=n}}class p{constructor(e,t,n){this.reverseEdits=e,this.changes=t,this.trimAutoWhitespaceLineNumbers=n}}function u(e){return!e.isTooLargeForSyncing()&&!e.isForSimpleWidget}},98338:function(e,t,n){"use strict";n.d(t,{MirrorTextModel:function(){return o}});var r=n(41011),i=n(64946),s=n(30457);class o{constructor(e,t,n,r){this._uri=e,this._lines=t,this._eol=n,this._versionId=r,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return null===this._cachedTextValue&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);const t=e.changes;for(const e of t)this._acceptDeleteRange(e.range),this._acceptInsertText(new i.Position(e.range.startLineNumber,e.range.startColumn),e.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){const e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,t){return e=(0,r.toUint32)(e),t=(0,r.toUint32)(t),this.values[e]!==t&&(this.values[e]=t,e-1=n.length)return!1;const s=n.length-e;return t>=s&&(t=s),0!==t&&(this.values=new Uint32Array(n.length-t),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return 0===this.values.length?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=(0,r.toUint32)(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let t=this.prefixSumValidIndex[0]+1;0===t&&(this.prefixSum[0]=this.values[0],t++),e>=this.values.length&&(e=this.values.length-1);for(let n=t;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0,i=0,o=0;for(;t<=n;)if(r=t+(n-t)/2|0,i=this.prefixSum[r],o=i-this.values[r],e=i))break;t=r+1}return new s(r,e-o)}}class s{constructor(e,t){this.index=e,this.remainder=t,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=t}}},22007:function(e,t,n){"use strict";n.d(t,{SearchParams:function(){return l},Searcher:function(){return u},TextModelSearch:function(){return d},createFindMatch:function(){return c},isValidMatch:function(){return p}});var r=n(41011),i=n(69403),s=n(64946),o=n(74032),a=n(92188);class l{constructor(e,t,n,r){this.searchString=e,this.isRegex=t,this.matchCase=n,this.wordSeparators=r}parseSearchRequest(){if(""===this.searchString)return null;let e;e=this.isRegex?function(e){if(!e||0===e.length)return!1;for(let t=0,n=e.length;t=n)break;const r=e.charCodeAt(t);if(110===r||114===r||87===r)return!0}}return!1}(this.searchString):this.searchString.indexOf("\n")>=0;let t=null;try{t=r.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:e,global:!0,unicode:!0})}catch(e){return null}if(!t)return null;let n=!this.isRegex&&!e;return n&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(n=this.matchCase),new a.SearchData(t,this.wordSeparators?(0,i.getMapForWordSeparators)(this.wordSeparators,[]):null,n?this.searchString:null)}}function c(e,t,n){if(!n)return new a.FindMatch(e,null);const r=[];for(let e=0,n=t.length;e=e?r=i-1:t[i+1]>=e?(n=i,r=i):n=i+1}return n+1}}class d{static findMatches(e,t,n,r,i){const s=t.parseSearchRequest();return s?s.regex.multiline?this._doFindMatchesMultiline(e,n,new u(s.wordSeparators,s.regex),r,i):this._doFindMatchesLineByLine(e,n,s,r,i):[]}static _getMultilineMatchRange(e,t,n,r,i,s){let a,l,c=0;if(r?(c=r.findLineFeedCountBeforeOffset(i),a=t+i+c):a=t+i,r){const e=r.findLineFeedCountBeforeOffset(i+s.length)-c;l=a+s.length+e}else l=a+s.length;const h=e.getPositionAt(a),d=e.getPositionAt(l);return new o.Range(h.lineNumber,h.column,d.lineNumber,d.column)}static _doFindMatchesMultiline(e,t,n,r,i){const s=e.getOffsetAt(t.getStartPosition()),o=e.getValueInRange(t,1),a="\r\n"===e.getEOL()?new h(o):null,l=[];let d,p=0;for(n.reset(0);d=n.next(o);)if(l[p++]=c(this._getMultilineMatchRange(e,s,o,a,d.index,d[0]),d,r),p>=i)return l;return l}static _doFindMatchesLineByLine(e,t,n,r,i){const s=[];let o=0;if(t.startLineNumber===t.endLineNumber){const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1,t.endColumn-1);return o=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,o,s,r,i),s}const a=e.getLineContent(t.startLineNumber).substring(t.startColumn-1);o=this._findMatchesInLine(n,a,t.startLineNumber,t.startColumn-1,o,s,r,i);for(let a=t.startLineNumber+1;a=h))return i;return i}const m=new u(e.wordSeparators,e.regex);let f;m.reset(0);do{if(f=m.next(t),f&&(s[i++]=c(new o.Range(n,f.index+1+r,n,f.index+1+f[0].length+r),f,l),i>=h))return i}while(f);return i}static findNextMatch(e,t,n,r){const i=t.parseSearchRequest();if(!i)return null;const s=new u(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindNextMatchMultiline(e,n,s,r):this._doFindNextMatchLineByLine(e,n,s,r)}static _doFindNextMatchMultiline(e,t,n,r){const i=new s.Position(t.lineNumber,1),a=e.getOffsetAt(i),l=e.getLineCount(),d=e.getValueInRange(new o.Range(i.lineNumber,i.column,l,e.getLineMaxColumn(l)),1),p="\r\n"===e.getEOL()?new h(d):null;n.reset(t.column-1);const u=n.next(d);return u?c(this._getMultilineMatchRange(e,a,d,p,u.index,u[0]),u,r):1!==t.lineNumber||1!==t.column?this._doFindNextMatchMultiline(e,new s.Position(1,1),n,r):null}static _doFindNextMatchLineByLine(e,t,n,r){const i=e.getLineCount(),s=t.lineNumber,o=e.getLineContent(s),a=this._findFirstMatchInLine(n,o,s,t.column,r);if(a)return a;for(let t=1;t<=i;t++){const o=(s+t-1)%i,a=e.getLineContent(o+1),l=this._findFirstMatchInLine(n,a,o+1,1,r);if(l)return l}return null}static _findFirstMatchInLine(e,t,n,r,i){e.reset(r-1);const s=e.next(t);return s?c(new o.Range(n,s.index+1,n,s.index+1+s[0].length),s,i):null}static findPreviousMatch(e,t,n,r){const i=t.parseSearchRequest();if(!i)return null;const s=new u(i.wordSeparators,i.regex);return i.regex.multiline?this._doFindPreviousMatchMultiline(e,n,s,r):this._doFindPreviousMatchLineByLine(e,n,s,r)}static _doFindPreviousMatchMultiline(e,t,n,r){const i=this._doFindMatchesMultiline(e,new o.Range(1,1,t.lineNumber,t.column),n,r,9990);if(i.length>0)return i[i.length-1];const a=e.getLineCount();return t.lineNumber!==a||t.column!==e.getLineMaxColumn(a)?this._doFindPreviousMatchMultiline(e,new s.Position(a,e.getLineMaxColumn(a)),n,r):null}static _doFindPreviousMatchLineByLine(e,t,n,r){const i=e.getLineCount(),s=t.lineNumber,o=e.getLineContent(s).substring(0,t.column-1),a=this._findLastMatchInLine(n,o,s,r);if(a)return a;for(let t=1;t<=i;t++){const o=(i+s-t-1)%i,a=e.getLineContent(o+1),l=this._findLastMatchInLine(n,a,o+1,r);if(l)return l}return null}static _findLastMatchInLine(e,t,n,r){let i,s=null;for(e.reset(0);i=e.next(t);)s=c(new o.Range(n,i.index+1,n,i.index+1+i[0].length),i,r);return s}}function p(e,t,n,r,i){return function(e,t,n,r,i){if(0===r)return!0;const s=t.charCodeAt(r-1);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(i>0){const n=t.charCodeAt(r);if(0!==e.get(n))return!0}return!1}(e,t,0,r,i)&&function(e,t,n,r,i){if(r+i===n)return!0;const s=t.charCodeAt(r+i);if(0!==e.get(s))return!0;if(13===s||10===s)return!0;if(i>0){const n=t.charCodeAt(r+i-1);if(0!==e.get(n))return!0}return!1}(e,t,n,r,i)}class u{constructor(e,t){this._wordSeparators=e,this._searchRegex=t,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){const t=e.length;let n;do{if(this._prevMatchStartIndex+this._prevMatchLength===t)return null;if(n=this._searchRegex.exec(e),!n)return null;const i=n.index,s=n[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(0===s){r.getNextCodePoint(e,t,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||p(this._wordSeparators,e,t,i,s))return n}while(n);return null}}},51338:function(e,t,n){"use strict";n.r(t),n.d(t,{KeyMod:function(){return p},createMonacoBaseAPI:function(){return u}});var r=n(35910),i=n(1077),s=n(28782),o=n(20599),a=n(64946),l=n(74032),c=n(5679),h=n(89050),d=n(42862);class p{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(e,t){return(0,s.KeyChord)(e,t)}}function u(){return{editor:void 0,languages:void 0,CancellationTokenSource:r.CancellationTokenSource,Emitter:i.Emitter,KeyCode:d.KeyCode,KeyMod:p,Position:a.Position,Range:l.Range,Selection:c.Selection,SelectionDirection:d.SelectionDirection,MarkerSeverity:d.MarkerSeverity,MarkerTag:d.MarkerTag,Uri:o.URI,Token:h.Token}}},13725:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseEditorSimpleWorker:function(){return b},EditorSimpleWorker:function(){return v},create:function(){return y}});var r=n(17150),i=n(74032),s=n(15684),o=n(60295),a=n(51338),l=n(98221),c=n(33670),h=n(14234),d=n(5239),p=n(46645),u=n(61115),m=n(63596),f=n(47020),g=n(2225);class b{constructor(){this._workerTextModelSyncServer=new g.WorkerTextModelSyncServer}dispose(){}_getModel(e){return this._workerTextModelSyncServer.getModel(e)}_getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(e){this._workerTextModelSyncServer.$acceptNewModel(e)}$acceptModelChanged(e,t){this._workerTextModelSyncServer.$acceptModelChanged(e,t)}$acceptRemovedModel(e){this._workerTextModelSyncServer.$acceptRemovedModel(e)}async $computeUnicodeHighlights(e,t,n){const r=this._getModel(e);return r?h.UnicodeTextModelHighlighter.computeUnicodeHighlights(r,t,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(e,t){const n=this._getModel(e);return n?(0,f.findSectionHeaders)(n,t):[]}async $computeDiff(e,t,n,r){const i=this._getModel(e),s=this._getModel(t);if(!i||!s)return null;return v.computeDiff(i,s,n,r)}static computeDiff(e,t,n,r){const i="advanced"===r?d.linesDiffComputers.getDefault():d.linesDiffComputers.getLegacy(),s=e.getLinesContent(),o=t.getLinesContent(),a=i.computeDiff(s,o,n);function l(e){return e.map((e=>[e.original.startLineNumber,e.original.endLineNumberExclusive,e.modified.startLineNumber,e.modified.endLineNumberExclusive,e.innerChanges?.map((e=>[e.originalRange.startLineNumber,e.originalRange.startColumn,e.originalRange.endLineNumber,e.originalRange.endColumn,e.modifiedRange.startLineNumber,e.modifiedRange.startColumn,e.modifiedRange.endLineNumber,e.modifiedRange.endColumn]))]))}return{identical:!(a.changes.length>0)&&this._modelsAreIdentical(e,t),quitEarly:a.hitTimeout,changes:l(a.changes),moves:a.moves.map((e=>[e.lineRangeMapping.original.startLineNumber,e.lineRangeMapping.original.endLineNumberExclusive,e.lineRangeMapping.modified.startLineNumber,e.lineRangeMapping.modified.endLineNumberExclusive,l(e.changes)]))}}static _modelsAreIdentical(e,t){const n=e.getLineCount();if(n!==t.getLineCount())return!1;for(let r=1;r<=n;r++){if(e.getLineContent(r)!==t.getLineContent(r))return!1}return!0}static{this._diffLimit=1e5}async $computeMoreMinimalEdits(e,t,n){const s=this._getModel(e);if(!s)return t;const o=[];let a;t=t.slice(0).sort(((e,t)=>{if(e.range&&t.range)return i.Range.compareRangesUsingStarts(e.range,t.range);return(e.range?0:1)-(t.range?0:1)}));let l=0;for(let e=1;ev._diffLimit){o.push({range:e,text:l});continue}const h=(0,r.stringDiff)(t,l,n),d=s.offsetAt(i.Range.lift(e).getStartPosition());for(const e of h){const t=s.positionAt(d+e.originalStart),n=s.positionAt(d+e.originalStart+e.originalLength),r={text:l.substr(e.modifiedStart,e.modifiedLength),range:{startLineNumber:t.lineNumber,startColumn:t.column,endLineNumber:n.lineNumber,endColumn:n.column}};s.getValueInRange(r.range)!==r.text&&o.push(r)}}return"number"==typeof a&&o.push({eol:a,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),o}async $computeLinks(e){const t=this._getModel(e);return t?(0,s.computeLinks)(t):null}async $computeDefaultDocumentColors(e){const t=this._getModel(e);return t?(0,m.computeDefaultDocumentColors)(t):null}static{this._suggestionsLimit=1e4}async $textualSuggest(e,t,n,r){const i=new c.StopWatch,s=new RegExp(n,r),o=new Set;e:for(const n of e){const e=this._getModel(n);if(e)for(const n of e.words(s))if(n!==t&&isNaN(Number(n))&&(o.add(n),o.size>v._suggestionsLimit))break e}return{words:Array.from(o),duration:i.elapsed()}}async $computeWordRanges(e,t,n,r){const i=this._getModel(e);if(!i)return Object.create(null);const s=new RegExp(n,r),o=Object.create(null);for(let e=t.startLineNumber;ethis._host.$fhr(e,t))),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(i,t),Promise.resolve((0,p.getAllMethodNames)(this._foreignModule))):new Promise(((r,s)=>{const o=e=>{this._foreignModule=e.create(i,t),r((0,p.getAllMethodNames)(this._foreignModule))};{const t=u.FileAccess.asBrowserUri(`${e}.js`).toString(!0);n(6919)(`${t}`).then(o).catch(s)}}))}$fmr(e,t){if(!this._foreignModule||"function"!=typeof this._foreignModule[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,t))}catch(e){return Promise.reject(e)}}}function y(e){return new v(l.EditorWorkerHost.getChannel(e),null)}"function"==typeof importScripts&&(globalThis.monaco=(0,a.createMonacoBaseAPI)())},98221:function(e,t,n){"use strict";n.r(t),n.d(t,{EditorWorkerHost:function(){return r}});class r{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(e){return e.getChannel(r.CHANNEL_NAME)}static setChannel(e,t){e.setChannel(r.CHANNEL_NAME,t)}}},47020:function(e,t,n){"use strict";n.r(t),n.d(t,{findSectionHeaders:function(){return s}});const r=new RegExp("\\bMARK:\\s*(.*)$","d"),i=/^-+|-+$/g;function s(e,t){let n=[];if(t.findRegionSectionHeaders&&t.foldingRules?.markers){const r=function(e,t){const n=[],r=e.getLineCount();for(let i=1;i<=r;i++){const r=e.getLineContent(i),s=r.match(t.foldingRules.markers.start);if(s){const e={startLineNumber:i,startColumn:s[0].length+1,endLineNumber:i,endColumn:r.length+1};if(e.endColumn>e.startColumn){const t={range:e,...a(r.substring(s[0].length)),shouldBeInComments:!1};(t.text||t.hasSeparatorLine)&&n.push(t)}}}return n}(e,t);n=n.concat(r)}if(t.findMarkSectionHeaders){const t=function(e){const t=[],n=e.getLineCount();for(let r=1;r<=n;r++){o(e.getLineContent(r),r,t)}return t}(e);n=n.concat(t)}return n}function o(e,t,n){r.lastIndex=0;const i=r.exec(e);if(i){const e={startLineNumber:t,startColumn:i.indices[1][0]+1,endLineNumber:t,endColumn:i.indices[1][1]+1};if(e.endColumn>e.startColumn){const t={range:e,...a(i[1]),shouldBeInComments:!0};(t.text||t.hasSeparatorLine)&&n.push(t)}}}function a(e){const t=(e=e.trim()).startsWith("-");return{text:e=e.replace(i,""),hasSeparatorLine:t}}},2225:function(e,t,n){"use strict";n.r(t),n.d(t,{MirrorModel:function(){return u},STOP_SYNC_MODEL_DELTA_TIME_MS:function(){return h},WorkerTextModelSyncClient:function(){return d},WorkerTextModelSyncServer:function(){return p}});var r=n(4717),i=n(22845),s=n(20599),o=n(64946),a=n(74032),l=n(40969),c=n(98338);const h=6e4;class d extends i.Disposable{constructor(e,t,n=!1){if(super(),this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),this._proxy=e,this._modelService=t,!n){const e=new r.IntervalTimer;e.cancelAndSet((()=>this._checkStopModelSync()),Math.round(h/2)),this._register(e)}}dispose(){for(const e in this._syncedModels)(0,i.dispose)(this._syncedModels[e]);this._syncedModels=Object.create(null),this._syncedModelsLastUsedTime=Object.create(null),super.dispose()}ensureSyncedResources(e,t=!1){for(const n of e){const e=n.toString();this._syncedModels[e]||this._beginModelSync(n,t),this._syncedModels[e]&&(this._syncedModelsLastUsedTime[e]=(new Date).getTime())}}_checkStopModelSync(){const e=(new Date).getTime(),t=[];for(const n in this._syncedModelsLastUsedTime){e-this._syncedModelsLastUsedTime[n]>h&&t.push(n)}for(const e of t)this._stopModelSync(e)}_beginModelSync(e,t){const n=this._modelService.getModel(e);if(!n)return;if(!t&&n.isTooLargeForSyncing())return;const r=e.toString();this._proxy.$acceptNewModel({url:n.uri.toString(),lines:n.getLinesContent(),EOL:n.getEOL(),versionId:n.getVersionId()});const s=new i.DisposableStore;s.add(n.onDidChangeContent((e=>{this._proxy.$acceptModelChanged(r.toString(),e)}))),s.add(n.onWillDispose((()=>{this._stopModelSync(r)}))),s.add((0,i.toDisposable)((()=>{this._proxy.$acceptRemovedModel(r)}))),this._syncedModels[r]=s}_stopModelSync(e){const t=this._syncedModels[e];delete this._syncedModels[e],delete this._syncedModelsLastUsedTime[e],(0,i.dispose)(t)}}class p{constructor(){this._models=Object.create(null)}getModel(e){return this._models[e]}getModels(){const e=[];return Object.keys(this._models).forEach((t=>e.push(this._models[t]))),e}$acceptNewModel(e){this._models[e.url]=new u(s.URI.parse(e.url),e.lines,e.EOL,e.versionId)}$acceptModelChanged(e,t){if(!this._models[e])return;this._models[e].onEvents(t)}$acceptRemovedModel(e){this._models[e]&&delete this._models[e]}}class u extends c.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){const t=[];for(let n=0;nthis._lines.length)t=this._lines.length,n=this._lines[t-1].length+1,r=!0;else{const e=this._lines[t-1].length+1;n<1?(n=1,r=!0):n>e&&(n=e,r=!0)}return r?{lineNumber:t,column:n}:e}}},14234:function(e,t,n){"use strict";n.r(t),n.d(t,{UnicodeTextModelHighlighter:function(){return l}});var r=n(74032),i=n(22007),s=n(41011),o=n(63587),a=n(40969);class l{static computeUnicodeHighlights(e,t,n){const l=n?n.startLineNumber:1,h=n?n.endLineNumber:e.getLineCount(),d=new c(t),p=d.getCandidateCodePoints();let u;var m;u="allNonBasicAscii"===p?new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):new RegExp(""+(m=Array.from(p),`[${s.escapeRegExpCharacters(m.map((e=>String.fromCodePoint(e))).join(""))}]`),"g");const f=new i.Searcher(null,u),g=[];let b,v=!1,y=0,w=0,S=0;e:for(let t=l,n=h;t<=n;t++){const n=e.getLineContent(t),i=n.length;f.reset(0);do{if(b=f.next(n),b){let e=b.index,l=b.index+b[0].length;if(e>0){const t=n.charCodeAt(e-1);s.isHighSurrogate(t)&&e--}if(l+1=n){v=!0;break e}g.push(new r.Range(t,e+1,t,l+1))}}}while(b)}return{ranges:g,hasMore:v,ambiguousCharacterCount:y,invisibleCharacterCount:w,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(e,t){const n=new c(t);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{const r=e.codePointAt(0),i=n.ambiguousCharacters.getPrimaryConfusable(r),o=s.AmbiguousCharacters.getLocales().filter((e=>!s.AmbiguousCharacters.getInstance(new Set([...t.allowedLocales,e])).isAmbiguous(r)));return{kind:0,confusableWith:String.fromCodePoint(i),notAmbiguousInLocales:o}}case 1:return{kind:2}}}}class c{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=s.AmbiguousCharacters.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const e=new Set;if(this.options.invisibleCharacters)for(const t of s.InvisibleCharacters.codePoints)h(String.fromCodePoint(t))||e.add(t);if(this.options.ambiguousCharacters)for(const t of this.ambiguousCharacters.getConfusableCodePoints())e.add(t);for(const t of this.allowedCodePoints)e.delete(t);return e}shouldHighlightNonBasicASCII(e,t){const n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let r=!1,i=!1;if(t)for(const e of t){const t=e.codePointAt(0),n=s.isBasicASCII(e);r=r||n,n||this.ambiguousCharacters.isAmbiguous(t)||s.InvisibleCharacters.isInvisibleCharacter(t)||(i=!0)}return!r&&i?0:this.options.invisibleCharacters&&!h(e)&&s.InvisibleCharacters.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}}function h(e){return" "===e||"\n"===e||"\t"===e}},6919:function(e,t,n){var r={"./editorBaseApi":[51338],"./editorBaseApi.js":[51338],"./editorSimpleWorker":[13725],"./editorSimpleWorker.js":[13725],"./editorWorker":[66551,461],"./editorWorker.js":[66551,461],"./editorWorkerHost":[98221],"./editorWorkerHost.js":[98221],"./findSectionHeaders":[47020],"./findSectionHeaders.js":[47020],"./getIconClasses":[55915,461],"./getIconClasses.js":[55915,461],"./languageFeatureDebounce":[42661,461],"./languageFeatureDebounce.js":[42661,461],"./languageFeatures":[37549,461],"./languageFeatures.js":[37549,461],"./languageFeaturesService":[96218,461],"./languageFeaturesService.js":[96218,461],"./languageService":[15651,461],"./languageService.js":[15651,461],"./languagesAssociations":[15781,461],"./languagesAssociations.js":[15781,461],"./languagesRegistry":[68458,461],"./languagesRegistry.js":[68458,461],"./markerDecorations":[18139,461],"./markerDecorations.js":[18139,461],"./markerDecorationsService":[20052,461],"./markerDecorationsService.js":[20052,461],"./model":[71879,461],"./model.js":[71879,461],"./modelService":[88752,461],"./modelService.js":[88752,461],"./resolverService":[32371,461],"./resolverService.js":[32371,461],"./semanticTokensDto":[65837,461],"./semanticTokensDto.js":[65837,461],"./semanticTokensProviderStyling":[59321,461],"./semanticTokensProviderStyling.js":[59321,461],"./semanticTokensStyling":[16270,461],"./semanticTokensStyling.js":[16270,461],"./semanticTokensStylingService":[12403,461],"./semanticTokensStylingService.js":[12403,461],"./textModelSync/textModelSync.impl":[2225],"./textModelSync/textModelSync.impl.js":[2225],"./textModelSync/textModelSync.protocol":[96843,461],"./textModelSync/textModelSync.protocol.js":[96843,461],"./textResourceConfiguration":[32165,461],"./textResourceConfiguration.js":[32165,461],"./treeSitterParserService":[66569,461],"./treeSitterParserService.js":[66569,461],"./treeViewsDnd":[95044,461],"./treeViewsDnd.js":[95044,461],"./treeViewsDndService":[49661,461],"./treeViewsDndService.js":[49661,461],"./unicodeTextModelHighlighter":[14234],"./unicodeTextModelHighlighter.js":[14234]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=6919,e.exports=i},42862:function(e,t,n){"use strict";var r,i,s,o,a,l,c,h,d,p,u,m,f,g,b,v,y,w,S,x,C,_,k,E,F,R,N,I,D,M,T,L,A,z,O,P,W,U,V,$,B,q,K,j,H,G;n.d(t,{KeyCode:function(){return _},MarkerSeverity:function(){return k},MarkerTag:function(){return E},SelectionDirection:function(){return U}}),function(e){e[e.Unknown=0]="Unknown",e[e.Disabled=1]="Disabled",e[e.Enabled=2]="Enabled"}(r||(r={})),function(e){e[e.Invoke=1]="Invoke",e[e.Auto=2]="Auto"}(i||(i={})),function(e){e[e.None=0]="None",e[e.KeepWhitespace=1]="KeepWhitespace",e[e.InsertAsSnippet=4]="InsertAsSnippet"}(s||(s={})),function(e){e[e.Method=0]="Method",e[e.Function=1]="Function",e[e.Constructor=2]="Constructor",e[e.Field=3]="Field",e[e.Variable=4]="Variable",e[e.Class=5]="Class",e[e.Struct=6]="Struct",e[e.Interface=7]="Interface",e[e.Module=8]="Module",e[e.Property=9]="Property",e[e.Event=10]="Event",e[e.Operator=11]="Operator",e[e.Unit=12]="Unit",e[e.Value=13]="Value",e[e.Constant=14]="Constant",e[e.Enum=15]="Enum",e[e.EnumMember=16]="EnumMember",e[e.Keyword=17]="Keyword",e[e.Text=18]="Text",e[e.Color=19]="Color",e[e.File=20]="File",e[e.Reference=21]="Reference",e[e.Customcolor=22]="Customcolor",e[e.Folder=23]="Folder",e[e.TypeParameter=24]="TypeParameter",e[e.User=25]="User",e[e.Issue=26]="Issue",e[e.Snippet=27]="Snippet"}(o||(o={})),function(e){e[e.Deprecated=1]="Deprecated"}(a||(a={})),function(e){e[e.Invoke=0]="Invoke",e[e.TriggerCharacter=1]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"}(l||(l={})),function(e){e[e.EXACT=0]="EXACT",e[e.ABOVE=1]="ABOVE",e[e.BELOW=2]="BELOW"}(c||(c={})),function(e){e[e.NotSet=0]="NotSet",e[e.ContentFlush=1]="ContentFlush",e[e.RecoverFromMarkers=2]="RecoverFromMarkers",e[e.Explicit=3]="Explicit",e[e.Paste=4]="Paste",e[e.Undo=5]="Undo",e[e.Redo=6]="Redo"}(h||(h={})),function(e){e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(d||(d={})),function(e){e[e.Text=0]="Text",e[e.Read=1]="Read",e[e.Write=2]="Write"}(p||(p={})),function(e){e[e.None=0]="None",e[e.Keep=1]="Keep",e[e.Brackets=2]="Brackets",e[e.Advanced=3]="Advanced",e[e.Full=4]="Full"}(u||(u={})),function(e){e[e.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",e[e.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",e[e.accessibilitySupport=2]="accessibilitySupport",e[e.accessibilityPageSize=3]="accessibilityPageSize",e[e.ariaLabel=4]="ariaLabel",e[e.ariaRequired=5]="ariaRequired",e[e.autoClosingBrackets=6]="autoClosingBrackets",e[e.autoClosingComments=7]="autoClosingComments",e[e.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",e[e.autoClosingDelete=9]="autoClosingDelete",e[e.autoClosingOvertype=10]="autoClosingOvertype",e[e.autoClosingQuotes=11]="autoClosingQuotes",e[e.autoIndent=12]="autoIndent",e[e.automaticLayout=13]="automaticLayout",e[e.autoSurround=14]="autoSurround",e[e.bracketPairColorization=15]="bracketPairColorization",e[e.guides=16]="guides",e[e.codeLens=17]="codeLens",e[e.codeLensFontFamily=18]="codeLensFontFamily",e[e.codeLensFontSize=19]="codeLensFontSize",e[e.colorDecorators=20]="colorDecorators",e[e.colorDecoratorsLimit=21]="colorDecoratorsLimit",e[e.columnSelection=22]="columnSelection",e[e.comments=23]="comments",e[e.contextmenu=24]="contextmenu",e[e.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",e[e.cursorBlinking=26]="cursorBlinking",e[e.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",e[e.cursorStyle=28]="cursorStyle",e[e.cursorSurroundingLines=29]="cursorSurroundingLines",e[e.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",e[e.cursorWidth=31]="cursorWidth",e[e.disableLayerHinting=32]="disableLayerHinting",e[e.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",e[e.domReadOnly=34]="domReadOnly",e[e.dragAndDrop=35]="dragAndDrop",e[e.dropIntoEditor=36]="dropIntoEditor",e[e.emptySelectionClipboard=37]="emptySelectionClipboard",e[e.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",e[e.extraEditorClassName=39]="extraEditorClassName",e[e.fastScrollSensitivity=40]="fastScrollSensitivity",e[e.find=41]="find",e[e.fixedOverflowWidgets=42]="fixedOverflowWidgets",e[e.folding=43]="folding",e[e.foldingStrategy=44]="foldingStrategy",e[e.foldingHighlight=45]="foldingHighlight",e[e.foldingImportsByDefault=46]="foldingImportsByDefault",e[e.foldingMaximumRegions=47]="foldingMaximumRegions",e[e.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",e[e.fontFamily=49]="fontFamily",e[e.fontInfo=50]="fontInfo",e[e.fontLigatures=51]="fontLigatures",e[e.fontSize=52]="fontSize",e[e.fontWeight=53]="fontWeight",e[e.fontVariations=54]="fontVariations",e[e.formatOnPaste=55]="formatOnPaste",e[e.formatOnType=56]="formatOnType",e[e.glyphMargin=57]="glyphMargin",e[e.gotoLocation=58]="gotoLocation",e[e.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",e[e.hover=60]="hover",e[e.inDiffEditor=61]="inDiffEditor",e[e.inlineSuggest=62]="inlineSuggest",e[e.inlineEdit=63]="inlineEdit",e[e.letterSpacing=64]="letterSpacing",e[e.lightbulb=65]="lightbulb",e[e.lineDecorationsWidth=66]="lineDecorationsWidth",e[e.lineHeight=67]="lineHeight",e[e.lineNumbers=68]="lineNumbers",e[e.lineNumbersMinChars=69]="lineNumbersMinChars",e[e.linkedEditing=70]="linkedEditing",e[e.links=71]="links",e[e.matchBrackets=72]="matchBrackets",e[e.minimap=73]="minimap",e[e.mouseStyle=74]="mouseStyle",e[e.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",e[e.mouseWheelZoom=76]="mouseWheelZoom",e[e.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",e[e.multiCursorModifier=78]="multiCursorModifier",e[e.multiCursorPaste=79]="multiCursorPaste",e[e.multiCursorLimit=80]="multiCursorLimit",e[e.occurrencesHighlight=81]="occurrencesHighlight",e[e.overviewRulerBorder=82]="overviewRulerBorder",e[e.overviewRulerLanes=83]="overviewRulerLanes",e[e.padding=84]="padding",e[e.pasteAs=85]="pasteAs",e[e.parameterHints=86]="parameterHints",e[e.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",e[e.placeholder=88]="placeholder",e[e.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",e[e.quickSuggestions=90]="quickSuggestions",e[e.quickSuggestionsDelay=91]="quickSuggestionsDelay",e[e.readOnly=92]="readOnly",e[e.readOnlyMessage=93]="readOnlyMessage",e[e.renameOnType=94]="renameOnType",e[e.renderControlCharacters=95]="renderControlCharacters",e[e.renderFinalNewline=96]="renderFinalNewline",e[e.renderLineHighlight=97]="renderLineHighlight",e[e.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",e[e.renderValidationDecorations=99]="renderValidationDecorations",e[e.renderWhitespace=100]="renderWhitespace",e[e.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",e[e.roundedSelection=102]="roundedSelection",e[e.rulers=103]="rulers",e[e.scrollbar=104]="scrollbar",e[e.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",e[e.scrollBeyondLastLine=106]="scrollBeyondLastLine",e[e.scrollPredominantAxis=107]="scrollPredominantAxis",e[e.selectionClipboard=108]="selectionClipboard",e[e.selectionHighlight=109]="selectionHighlight",e[e.selectOnLineNumbers=110]="selectOnLineNumbers",e[e.showFoldingControls=111]="showFoldingControls",e[e.showUnused=112]="showUnused",e[e.snippetSuggestions=113]="snippetSuggestions",e[e.smartSelect=114]="smartSelect",e[e.smoothScrolling=115]="smoothScrolling",e[e.stickyScroll=116]="stickyScroll",e[e.stickyTabStops=117]="stickyTabStops",e[e.stopRenderingLineAfter=118]="stopRenderingLineAfter",e[e.suggest=119]="suggest",e[e.suggestFontSize=120]="suggestFontSize",e[e.suggestLineHeight=121]="suggestLineHeight",e[e.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",e[e.suggestSelection=123]="suggestSelection",e[e.tabCompletion=124]="tabCompletion",e[e.tabIndex=125]="tabIndex",e[e.unicodeHighlighting=126]="unicodeHighlighting",e[e.unusualLineTerminators=127]="unusualLineTerminators",e[e.useShadowDOM=128]="useShadowDOM",e[e.useTabStops=129]="useTabStops",e[e.wordBreak=130]="wordBreak",e[e.wordSegmenterLocales=131]="wordSegmenterLocales",e[e.wordSeparators=132]="wordSeparators",e[e.wordWrap=133]="wordWrap",e[e.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",e[e.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",e[e.wordWrapColumn=136]="wordWrapColumn",e[e.wordWrapOverride1=137]="wordWrapOverride1",e[e.wordWrapOverride2=138]="wordWrapOverride2",e[e.wrappingIndent=139]="wrappingIndent",e[e.wrappingStrategy=140]="wrappingStrategy",e[e.showDeprecated=141]="showDeprecated",e[e.inlayHints=142]="inlayHints",e[e.editorClassName=143]="editorClassName",e[e.pixelRatio=144]="pixelRatio",e[e.tabFocusMode=145]="tabFocusMode",e[e.layoutInfo=146]="layoutInfo",e[e.wrappingInfo=147]="wrappingInfo",e[e.defaultColorDecorators=148]="defaultColorDecorators",e[e.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",e[e.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"}(m||(m={})),function(e){e[e.TextDefined=0]="TextDefined",e[e.LF=1]="LF",e[e.CRLF=2]="CRLF"}(f||(f={})),function(e){e[e.LF=0]="LF",e[e.CRLF=1]="CRLF"}(g||(g={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=3]="Right"}(b||(b={})),function(e){e[e.Increase=0]="Increase",e[e.Decrease=1]="Decrease"}(v||(v={})),function(e){e[e.None=0]="None",e[e.Indent=1]="Indent",e[e.IndentOutdent=2]="IndentOutdent",e[e.Outdent=3]="Outdent"}(y||(y={})),function(e){e[e.Both=0]="Both",e[e.Right=1]="Right",e[e.Left=2]="Left",e[e.None=3]="None"}(w||(w={})),function(e){e[e.Type=1]="Type",e[e.Parameter=2]="Parameter"}(S||(S={})),function(e){e[e.Automatic=0]="Automatic",e[e.Explicit=1]="Explicit"}(x||(x={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(C||(C={})),function(e){e[e.DependsOnKbLayout=-1]="DependsOnKbLayout",e[e.Unknown=0]="Unknown",e[e.Backspace=1]="Backspace",e[e.Tab=2]="Tab",e[e.Enter=3]="Enter",e[e.Shift=4]="Shift",e[e.Ctrl=5]="Ctrl",e[e.Alt=6]="Alt",e[e.PauseBreak=7]="PauseBreak",e[e.CapsLock=8]="CapsLock",e[e.Escape=9]="Escape",e[e.Space=10]="Space",e[e.PageUp=11]="PageUp",e[e.PageDown=12]="PageDown",e[e.End=13]="End",e[e.Home=14]="Home",e[e.LeftArrow=15]="LeftArrow",e[e.UpArrow=16]="UpArrow",e[e.RightArrow=17]="RightArrow",e[e.DownArrow=18]="DownArrow",e[e.Insert=19]="Insert",e[e.Delete=20]="Delete",e[e.Digit0=21]="Digit0",e[e.Digit1=22]="Digit1",e[e.Digit2=23]="Digit2",e[e.Digit3=24]="Digit3",e[e.Digit4=25]="Digit4",e[e.Digit5=26]="Digit5",e[e.Digit6=27]="Digit6",e[e.Digit7=28]="Digit7",e[e.Digit8=29]="Digit8",e[e.Digit9=30]="Digit9",e[e.KeyA=31]="KeyA",e[e.KeyB=32]="KeyB",e[e.KeyC=33]="KeyC",e[e.KeyD=34]="KeyD",e[e.KeyE=35]="KeyE",e[e.KeyF=36]="KeyF",e[e.KeyG=37]="KeyG",e[e.KeyH=38]="KeyH",e[e.KeyI=39]="KeyI",e[e.KeyJ=40]="KeyJ",e[e.KeyK=41]="KeyK",e[e.KeyL=42]="KeyL",e[e.KeyM=43]="KeyM",e[e.KeyN=44]="KeyN",e[e.KeyO=45]="KeyO",e[e.KeyP=46]="KeyP",e[e.KeyQ=47]="KeyQ",e[e.KeyR=48]="KeyR",e[e.KeyS=49]="KeyS",e[e.KeyT=50]="KeyT",e[e.KeyU=51]="KeyU",e[e.KeyV=52]="KeyV",e[e.KeyW=53]="KeyW",e[e.KeyX=54]="KeyX",e[e.KeyY=55]="KeyY",e[e.KeyZ=56]="KeyZ",e[e.Meta=57]="Meta",e[e.ContextMenu=58]="ContextMenu",e[e.F1=59]="F1",e[e.F2=60]="F2",e[e.F3=61]="F3",e[e.F4=62]="F4",e[e.F5=63]="F5",e[e.F6=64]="F6",e[e.F7=65]="F7",e[e.F8=66]="F8",e[e.F9=67]="F9",e[e.F10=68]="F10",e[e.F11=69]="F11",e[e.F12=70]="F12",e[e.F13=71]="F13",e[e.F14=72]="F14",e[e.F15=73]="F15",e[e.F16=74]="F16",e[e.F17=75]="F17",e[e.F18=76]="F18",e[e.F19=77]="F19",e[e.F20=78]="F20",e[e.F21=79]="F21",e[e.F22=80]="F22",e[e.F23=81]="F23",e[e.F24=82]="F24",e[e.NumLock=83]="NumLock",e[e.ScrollLock=84]="ScrollLock",e[e.Semicolon=85]="Semicolon",e[e.Equal=86]="Equal",e[e.Comma=87]="Comma",e[e.Minus=88]="Minus",e[e.Period=89]="Period",e[e.Slash=90]="Slash",e[e.Backquote=91]="Backquote",e[e.BracketLeft=92]="BracketLeft",e[e.Backslash=93]="Backslash",e[e.BracketRight=94]="BracketRight",e[e.Quote=95]="Quote",e[e.OEM_8=96]="OEM_8",e[e.IntlBackslash=97]="IntlBackslash",e[e.Numpad0=98]="Numpad0",e[e.Numpad1=99]="Numpad1",e[e.Numpad2=100]="Numpad2",e[e.Numpad3=101]="Numpad3",e[e.Numpad4=102]="Numpad4",e[e.Numpad5=103]="Numpad5",e[e.Numpad6=104]="Numpad6",e[e.Numpad7=105]="Numpad7",e[e.Numpad8=106]="Numpad8",e[e.Numpad9=107]="Numpad9",e[e.NumpadMultiply=108]="NumpadMultiply",e[e.NumpadAdd=109]="NumpadAdd",e[e.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",e[e.NumpadSubtract=111]="NumpadSubtract",e[e.NumpadDecimal=112]="NumpadDecimal",e[e.NumpadDivide=113]="NumpadDivide",e[e.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",e[e.ABNT_C1=115]="ABNT_C1",e[e.ABNT_C2=116]="ABNT_C2",e[e.AudioVolumeMute=117]="AudioVolumeMute",e[e.AudioVolumeUp=118]="AudioVolumeUp",e[e.AudioVolumeDown=119]="AudioVolumeDown",e[e.BrowserSearch=120]="BrowserSearch",e[e.BrowserHome=121]="BrowserHome",e[e.BrowserBack=122]="BrowserBack",e[e.BrowserForward=123]="BrowserForward",e[e.MediaTrackNext=124]="MediaTrackNext",e[e.MediaTrackPrevious=125]="MediaTrackPrevious",e[e.MediaStop=126]="MediaStop",e[e.MediaPlayPause=127]="MediaPlayPause",e[e.LaunchMediaPlayer=128]="LaunchMediaPlayer",e[e.LaunchMail=129]="LaunchMail",e[e.LaunchApp2=130]="LaunchApp2",e[e.Clear=131]="Clear",e[e.MAX_VALUE=132]="MAX_VALUE"}(_||(_={})),function(e){e[e.Hint=1]="Hint",e[e.Info=2]="Info",e[e.Warning=4]="Warning",e[e.Error=8]="Error"}(k||(k={})),function(e){e[e.Unnecessary=1]="Unnecessary",e[e.Deprecated=2]="Deprecated"}(E||(E={})),function(e){e[e.Inline=1]="Inline",e[e.Gutter=2]="Gutter"}(F||(F={})),function(e){e[e.Normal=1]="Normal",e[e.Underlined=2]="Underlined"}(R||(R={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.TEXTAREA=1]="TEXTAREA",e[e.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",e[e.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",e[e.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",e[e.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",e[e.CONTENT_TEXT=6]="CONTENT_TEXT",e[e.CONTENT_EMPTY=7]="CONTENT_EMPTY",e[e.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",e[e.CONTENT_WIDGET=9]="CONTENT_WIDGET",e[e.OVERVIEW_RULER=10]="OVERVIEW_RULER",e[e.SCROLLBAR=11]="SCROLLBAR",e[e.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",e[e.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"}(N||(N={})),function(e){e[e.AIGenerated=1]="AIGenerated"}(I||(I={})),function(e){e[e.Invoke=0]="Invoke",e[e.Automatic=1]="Automatic"}(D||(D={})),function(e){e[e.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",e[e.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",e[e.TOP_CENTER=2]="TOP_CENTER"}(M||(M={})),function(e){e[e.Left=1]="Left",e[e.Center=2]="Center",e[e.Right=4]="Right",e[e.Full=7]="Full"}(T||(T={})),function(e){e[e.Word=0]="Word",e[e.Line=1]="Line",e[e.Suggest=2]="Suggest"}(L||(L={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.None=2]="None",e[e.LeftOfInjectedText=3]="LeftOfInjectedText",e[e.RightOfInjectedText=4]="RightOfInjectedText"}(A||(A={})),function(e){e[e.Off=0]="Off",e[e.On=1]="On",e[e.Relative=2]="Relative",e[e.Interval=3]="Interval",e[e.Custom=4]="Custom"}(z||(z={})),function(e){e[e.None=0]="None",e[e.Text=1]="Text",e[e.Blocks=2]="Blocks"}(O||(O={})),function(e){e[e.Smooth=0]="Smooth",e[e.Immediate=1]="Immediate"}(P||(P={})),function(e){e[e.Auto=1]="Auto",e[e.Hidden=2]="Hidden",e[e.Visible=3]="Visible"}(W||(W={})),function(e){e[e.LTR=0]="LTR",e[e.RTL=1]="RTL"}(U||(U={})),function(e){e.Off="off",e.OnCode="onCode",e.On="on"}(V||(V={})),function(e){e[e.Invoke=1]="Invoke",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.ContentChange=3]="ContentChange"}($||($={})),function(e){e[e.File=0]="File",e[e.Module=1]="Module",e[e.Namespace=2]="Namespace",e[e.Package=3]="Package",e[e.Class=4]="Class",e[e.Method=5]="Method",e[e.Property=6]="Property",e[e.Field=7]="Field",e[e.Constructor=8]="Constructor",e[e.Enum=9]="Enum",e[e.Interface=10]="Interface",e[e.Function=11]="Function",e[e.Variable=12]="Variable",e[e.Constant=13]="Constant",e[e.String=14]="String",e[e.Number=15]="Number",e[e.Boolean=16]="Boolean",e[e.Array=17]="Array",e[e.Object=18]="Object",e[e.Key=19]="Key",e[e.Null=20]="Null",e[e.EnumMember=21]="EnumMember",e[e.Struct=22]="Struct",e[e.Event=23]="Event",e[e.Operator=24]="Operator",e[e.TypeParameter=25]="TypeParameter"}(B||(B={})),function(e){e[e.Deprecated=1]="Deprecated"}(q||(q={})),function(e){e[e.Hidden=0]="Hidden",e[e.Blink=1]="Blink",e[e.Smooth=2]="Smooth",e[e.Phase=3]="Phase",e[e.Expand=4]="Expand",e[e.Solid=5]="Solid"}(K||(K={})),function(e){e[e.Line=1]="Line",e[e.Block=2]="Block",e[e.Underline=3]="Underline",e[e.LineThin=4]="LineThin",e[e.BlockOutline=5]="BlockOutline",e[e.UnderlineThin=6]="UnderlineThin"}(j||(j={})),function(e){e[e.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",e[e.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",e[e.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",e[e.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"}(H||(H={})),function(e){e[e.None=0]="None",e[e.Same=1]="Same",e[e.Indent=2]="Indent",e[e.DeepIndent=3]="DeepIndent"}(G||(G={}))},13425:function(e,t,n){"use strict";n.d(t,{TokenizationRegistry:function(){return s}});var r=n(1077),i=n(22845);class s{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new r.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,t){return this._tokenizationSupports.set(e,t),this.handleChange([e]),(0,i.toDisposable)((()=>{this._tokenizationSupports.get(e)===t&&(this._tokenizationSupports.delete(e),this.handleChange([e]))}))}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,t){this._factories.get(e)?.dispose();const n=new o(this,e,t);return this._factories.set(e,n),(0,i.toDisposable)((()=>{const t=this._factories.get(e);t&&t===n&&(this._factories.delete(e),t.dispose())}))}async getOrCreate(e){const t=this.get(e);if(t)return t;const n=this._factories.get(e);return!n||n.isResolved?null:(await n.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;const t=this._factories.get(e);return!(t&&!t.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}class o extends i.Disposable{get isResolved(){return this._isResolved}constructor(e,t,n){super(),this._registry=e,this._languageId=t,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){const e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}}},37620:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(40198),i=n(13725),s=n(98221);let o=!1;function a(e){if(o)return;o=!0;const t=new r.SimpleWorkerServer((e=>{globalThis.postMessage(e)}),(t=>new i.EditorSimpleWorker(s.EditorWorkerHost.getChannel(t),e)));globalThis.onmessage=e=>{t.onmessage(e.data)}}globalThis.onmessage=e=>{o||a(null)}},48778:function(e,t,n){"use strict";function r(){return globalThis._VSCODE_NLS_LANGUAGE}n.d(t,{getNLSLanguage:function(){return r}})},34106:function(e,t,n){"use strict";n.d(t,{getNLSLanguage:function(){return r.getNLSLanguage},localize:function(){return a}});var r=n(48778);const i="object"==typeof globalThis?globalThis:"object"==typeof window?window:"object"==typeof self?self:global,s="pseudo"===(0,r.getNLSLanguage)()||"undefined"!=typeof document&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function o(e,t){let n;return n=0===t.length?e:e.replace(/\{(\d+)\}/g,((e,n)=>{const r=n[0],i=t[r];let s=e;return"string"==typeof i?s=i:"number"!=typeof i&&"boolean"!=typeof i&&null!=i||(s=String(i)),s})),s&&(n="["+n.replace(/[aouei]/g,"$&$&")+"]"),n}function a(e,t,n,...r){const s="object"==typeof t?t.key:t;let a=((t=((i.MonacoEnvironment||{}).Locale||{}).data||{})[e]||{})[s];a||(a=n),r=[];for(let e=3;e-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){var e={492:0,548:0};i.f.j=function(t,n){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var s=new Promise((function(n,i){r=e[t]=[n,i]}));n.push(r[2]=s);var o=i.p+i.u(t),a=new Error;i.l(o,(function(n){if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var s=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+s+": "+o+")",a.name="ChunkLoadError",a.type=s,a.request=o,r[1](a)}}),"chunk-"+t,t)}};var t=function(t,n){var r,s,o=n[0],a=n[1],l=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(r in a)i.o(a,r)&&(i.m[r]=a[r]);if(l)l(i)}for(t&&t(n);cthis.source.length)return!1;let t=0;for(;t".charCodeAt(0),k="@".charCodeAt(0),E="#".charCodeAt(0),F="$".charCodeAt(0),R="\\".charCodeAt(0),N="/".charCodeAt(0),I="\n".charCodeAt(0),D="\r".charCodeAt(0),M="\f".charCodeAt(0),T='"'.charCodeAt(0),L="'".charCodeAt(0),A=" ".charCodeAt(0),z="\t".charCodeAt(0),O=";".charCodeAt(0),P=":".charCodeAt(0),W="{".charCodeAt(0),U="}".charCodeAt(0),V="[".charCodeAt(0),$="]".charCodeAt(0),B=",".charCodeAt(0),q=".".charCodeAt(0),K="!".charCodeAt(0),j="?".charCodeAt(0),H="+".charCodeAt(0),G={};G[O]=e.SemiColon,G[P]=e.Colon,G[W]=e.CurlyL,G[U]=e.CurlyR,G[$]=e.BracketR,G[V]=e.BracketL,G[S]=e.ParenthesisL,G[x]=e.ParenthesisR,G[B]=e.Comma;var J={};J.em=e.EMS,J.ex=e.EXS,J.px=e.Length,J.cm=e.Length,J.mm=e.Length,J.in=e.Length,J.pt=e.Length,J.pc=e.Length,J.deg=e.Angle,J.rad=e.Angle,J.grad=e.Angle,J.ms=e.Time,J.s=e.Time,J.hz=e.Freq,J.khz=e.Freq,J["%"]=e.Percentage,J.fr=e.Percentage,J.dpi=e.Resolution,J.dpcm=e.Resolution,J.cqw=e.ContainerQueryLength,J.cqh=e.ContainerQueryLength,J.cqi=e.ContainerQueryLength,J.cqb=e.ContainerQueryLength,J.cqmin=e.ContainerQueryLength,J.cqmax=e.ContainerQueryLength;var X,Y,Q,Z,ee=class{constructor(){this.stream=new r(""),this.ignoreComment=!0,this.ignoreWhitespace=!0,this.inURL=!1}setSource(e){this.stream=new r(e)}finishToken(e,t,n){return{offset:e,len:this.stream.pos()-e,type:t,text:n||this.stream.substring(e)}}substring(e,t){return this.stream.substring(e,e+t)}pos(){return this.stream.pos()}goBackTo(e){this.stream.goBackTo(e)}scanUnquotedString(){const t=this.stream.pos(),n=[];return this._unquotedString(n)?this.finishToken(t,e.UnquotedString,n.join("")):null}scan(){const t=this.trivia();if(null!==t)return t;const n=this.stream.pos();return this.stream.eos()?this.finishToken(n,e.EOF):this.scanNext(n)}tryScanUnicode(){const t=this.stream.pos();if(!this.stream.eos()&&this._unicodeRange())return this.finishToken(t,e.UnicodeRange);this.stream.goBackTo(t)}scanNext(t){if(this.stream.advanceIfChars([C,K,b,b]))return this.finishToken(t,e.CDO);if(this.stream.advanceIfChars([b,b,_]))return this.finishToken(t,e.CDC);let n=[];if(this.ident(n))return this.finishToken(t,e.Ident,n.join(""));if(this.stream.advanceIfChar(k)){if(n=["@"],this._name(n)){const r=n.join("");return"@charset"===r?this.finishToken(t,e.Charset,r):this.finishToken(t,e.AtKeyword,r)}return this.finishToken(t,e.Delim)}if(this.stream.advanceIfChar(E))return n=["#"],this._name(n)?this.finishToken(t,e.Hash,n.join("")):this.finishToken(t,e.Delim);if(this.stream.advanceIfChar(K))return this.finishToken(t,e.Exclamation);if(this._number()){const r=this.stream.pos();if(n=[this.stream.substring(t,r)],this.stream.advanceIfChar(y))return this.finishToken(t,e.Percentage);if(this.ident(n)){const i=this.stream.substring(r).toLowerCase(),s=J[i];return void 0!==s?this.finishToken(t,s,n.join("")):this.finishToken(t,e.Dimension,n.join(""))}return this.finishToken(t,e.Num)}n=[];let r=this._string(n);return null!==r?this.finishToken(t,r,n.join("")):(r=G[this.stream.peekChar()],void 0!==r?(this.stream.advance(1),this.finishToken(t,r)):this.stream.peekChar(0)===u&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(t,e.Includes)):this.stream.peekChar(0)===g&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(t,e.Dashmatch)):this.stream.peekChar(0)===w&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(t,e.SubstringOperator)):this.stream.peekChar(0)===m&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(t,e.PrefixOperator)):this.stream.peekChar(0)===F&&this.stream.peekChar(1)===f?(this.stream.advance(2),this.finishToken(t,e.SuffixOperator)):(this.stream.nextChar(),this.finishToken(t,e.Delim)))}trivia(){for(;;){const t=this.stream.pos();if(this._whitespace()){if(!this.ignoreWhitespace)return this.finishToken(t,e.Whitespace)}else{if(!this.comment())return null;if(!this.ignoreComment)return this.finishToken(t,e.Comment)}}}comment(){if(this.stream.advanceIfChars([N,w])){let e=!1,t=!1;return this.stream.advanceWhileChar((n=>t&&n===N?(e=!0,!1):(t=n===w,!0))),e&&this.stream.advance(1),!0}return!1}_number(){let e,t=0;return this.stream.peekChar()===q&&(t=1),e=this.stream.peekChar(t),e>=d&&e<=p&&(this.stream.advance(t+1),this.stream.advanceWhileChar((e=>e>=d&&e<=p||0===t&&e===q)),!0)}_newline(e){const t=this.stream.peekChar();switch(t){case D:case M:case I:return this.stream.advance(1),e.push(String.fromCharCode(t)),t===D&&this.stream.advanceIfChar(I)&&e.push("\n"),!0}return!1}_escape(e,t){let n=this.stream.peekChar();if(n===R){this.stream.advance(1),n=this.stream.peekChar();let r=0;for(;r<6&&(n>=d&&n<=p||n>=s&&n<=o||n>=l&&n<=c);)this.stream.advance(1),n=this.stream.peekChar(),r++;if(r>0){try{const t=parseInt(this.stream.substring(this.stream.pos()-r),16);t&&e.push(String.fromCharCode(t))}catch(e){}return n===A||n===z?this.stream.advance(1):this._newline([]),!0}if(n!==D&&n!==M&&n!==I)return this.stream.advance(1),e.push(String.fromCharCode(n)),!0;if(t)return this._newline(e)}return!1}_stringChar(e,t){const n=this.stream.peekChar();return 0!==n&&n!==e&&n!==R&&n!==D&&n!==M&&n!==I&&(this.stream.advance(1),t.push(String.fromCharCode(n)),!0)}_string(t){if(this.stream.peekChar()===L||this.stream.peekChar()===T){const n=this.stream.nextChar();for(t.push(String.fromCharCode(n));this._stringChar(n,t)||this._escape(t,!0););return this.stream.peekChar()===n?(this.stream.nextChar(),t.push(String.fromCharCode(n)),e.String):e.BadString}return null}_unquotedChar(e){const t=this.stream.peekChar();return 0!==t&&t!==R&&t!==L&&t!==T&&t!==S&&t!==x&&t!==A&&t!==z&&t!==I&&t!==M&&t!==D&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)}_unquotedString(e){let t=!1;for(;this._unquotedChar(e)||this._escape(e);)t=!0;return t}_whitespace(){return this.stream.advanceWhileChar((e=>e===A||e===z||e===I||e===M||e===D))>0}_name(e){let t=!1;for(;this._identChar(e)||this._escape(e);)t=!0;return t}ident(e){const t=this.stream.pos();if(this._minus(e)){if(this._minus(e)||this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}}else if(this._identFirstChar(e)||this._escape(e)){for(;this._identChar(e)||this._escape(e););return!0}return this.stream.goBackTo(t),!1}_identFirstChar(e){const t=this.stream.peekChar();return(t===v||t>=s&&t<=a||t>=l&&t<=h||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)}_minus(e){const t=this.stream.peekChar();return t===b&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)}_identChar(e){const t=this.stream.peekChar();return(t===v||t===b||t>=s&&t<=a||t>=l&&t<=h||t>=d&&t<=p||t>=128&&t<=65535)&&(this.stream.advance(1),e.push(String.fromCharCode(t)),!0)}_unicodeRange(){if(this.stream.advanceIfChar(H)){const e=e=>e>=d&&e<=p||e>=s&&e<=o||e>=l&&e<=c,t=this.stream.advanceWhileChar(e)+this.stream.advanceWhileChar((e=>e===j));if(t>=1&&t<=6){if(!this.stream.advanceIfChar(b))return!0;{const t=this.stream.advanceWhileChar(e);if(t>=1&&t<=6)return!0}}}return!1}};function te(e,t){if(e.length0?e.lastIndexOf(t)===n:0===n&&e===t}function re(e,t=!0){return e?e.length<140?e:e.slice(0,140)+(t?"…":""):""}function ie(e,t){let n="";for(;t>0;)1&~t||(n+=e),e+=e,t>>>=1;return n}function se(e,t){let n=null;return!e||te.end?null:(e.accept((e=>-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&(n?e.length<=n.length&&(n=e):n=e,!0))),n)}function oe(e,t){let n=se(e,t);const r=[];for(;n;)r.unshift(n),n=n.parent;return r}(Y=X||(X={}))[Y.Undefined=0]="Undefined",Y[Y.Identifier=1]="Identifier",Y[Y.Stylesheet=2]="Stylesheet",Y[Y.Ruleset=3]="Ruleset",Y[Y.Selector=4]="Selector",Y[Y.SimpleSelector=5]="SimpleSelector",Y[Y.SelectorInterpolation=6]="SelectorInterpolation",Y[Y.SelectorCombinator=7]="SelectorCombinator",Y[Y.SelectorCombinatorParent=8]="SelectorCombinatorParent",Y[Y.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",Y[Y.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",Y[Y.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",Y[Y.Page=12]="Page",Y[Y.PageBoxMarginBox=13]="PageBoxMarginBox",Y[Y.ClassSelector=14]="ClassSelector",Y[Y.IdentifierSelector=15]="IdentifierSelector",Y[Y.ElementNameSelector=16]="ElementNameSelector",Y[Y.PseudoSelector=17]="PseudoSelector",Y[Y.AttributeSelector=18]="AttributeSelector",Y[Y.Declaration=19]="Declaration",Y[Y.Declarations=20]="Declarations",Y[Y.Property=21]="Property",Y[Y.Expression=22]="Expression",Y[Y.BinaryExpression=23]="BinaryExpression",Y[Y.Term=24]="Term",Y[Y.Operator=25]="Operator",Y[Y.Value=26]="Value",Y[Y.StringLiteral=27]="StringLiteral",Y[Y.URILiteral=28]="URILiteral",Y[Y.EscapedValue=29]="EscapedValue",Y[Y.Function=30]="Function",Y[Y.NumericValue=31]="NumericValue",Y[Y.HexColorValue=32]="HexColorValue",Y[Y.RatioValue=33]="RatioValue",Y[Y.MixinDeclaration=34]="MixinDeclaration",Y[Y.MixinReference=35]="MixinReference",Y[Y.VariableName=36]="VariableName",Y[Y.VariableDeclaration=37]="VariableDeclaration",Y[Y.Prio=38]="Prio",Y[Y.Interpolation=39]="Interpolation",Y[Y.NestedProperties=40]="NestedProperties",Y[Y.ExtendsReference=41]="ExtendsReference",Y[Y.SelectorPlaceholder=42]="SelectorPlaceholder",Y[Y.Debug=43]="Debug",Y[Y.If=44]="If",Y[Y.Else=45]="Else",Y[Y.For=46]="For",Y[Y.Each=47]="Each",Y[Y.While=48]="While",Y[Y.MixinContentReference=49]="MixinContentReference",Y[Y.MixinContentDeclaration=50]="MixinContentDeclaration",Y[Y.Media=51]="Media",Y[Y.Keyframe=52]="Keyframe",Y[Y.FontFace=53]="FontFace",Y[Y.Import=54]="Import",Y[Y.Namespace=55]="Namespace",Y[Y.Invocation=56]="Invocation",Y[Y.FunctionDeclaration=57]="FunctionDeclaration",Y[Y.ReturnStatement=58]="ReturnStatement",Y[Y.MediaQuery=59]="MediaQuery",Y[Y.MediaCondition=60]="MediaCondition",Y[Y.MediaFeature=61]="MediaFeature",Y[Y.FunctionParameter=62]="FunctionParameter",Y[Y.FunctionArgument=63]="FunctionArgument",Y[Y.KeyframeSelector=64]="KeyframeSelector",Y[Y.ViewPort=65]="ViewPort",Y[Y.Document=66]="Document",Y[Y.AtApplyRule=67]="AtApplyRule",Y[Y.CustomPropertyDeclaration=68]="CustomPropertyDeclaration",Y[Y.CustomPropertySet=69]="CustomPropertySet",Y[Y.ListEntry=70]="ListEntry",Y[Y.Supports=71]="Supports",Y[Y.SupportsCondition=72]="SupportsCondition",Y[Y.NamespacePrefix=73]="NamespacePrefix",Y[Y.GridLine=74]="GridLine",Y[Y.Plugin=75]="Plugin",Y[Y.UnknownAtRule=76]="UnknownAtRule",Y[Y.Use=77]="Use",Y[Y.ModuleConfiguration=78]="ModuleConfiguration",Y[Y.Forward=79]="Forward",Y[Y.ForwardVisibility=80]="ForwardVisibility",Y[Y.Module=81]="Module",Y[Y.UnicodeRange=82]="UnicodeRange",Y[Y.Layer=83]="Layer",Y[Y.LayerNameList=84]="LayerNameList",Y[Y.LayerName=85]="LayerName",Y[Y.PropertyAtRule=86]="PropertyAtRule",Y[Y.Container=87]="Container",(Z=Q||(Q={}))[Z.Mixin=0]="Mixin",Z[Z.Rule=1]="Rule",Z[Z.Variable=2]="Variable",Z[Z.Function=3]="Function",Z[Z.Keyframe=4]="Keyframe",Z[Z.Unknown=5]="Unknown",Z[Z.Module=6]="Module",Z[Z.Forward=7]="Forward",Z[Z.ForwardVisibility=8]="ForwardVisibility",Z[Z.Property=9]="Property";var ae,le,ce=class{get end(){return this.offset+this.length}constructor(e=-1,t=-1,n){this.parent=null,this.offset=e,this.length=t,n&&(this.nodeType=n)}set type(e){this.nodeType=e}get type(){return this.nodeType||X.Undefined}getTextProvider(){let e=this;for(;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:()=>"unknown"}getText(){return this.getTextProvider()(this.offset,this.length)}matches(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e}startsWith(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e}endsWith(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e}accept(e){if(e(this)&&this.children)for(const t of this.children)t.accept(e)}acceptVisitor(e){this.accept(e.visitNode.bind(e))}adoptChild(e,t=-1){if(e.parent&&e.parent.children){const t=e.parent.children.indexOf(e);t>=0&&e.parent.children.splice(t,1)}e.parent=this;let n=this.children;return n||(n=this.children=[]),-1!==t?n.splice(t,0,e):n.push(e),e}attachTo(e,t=-1){return e&&e.adoptChild(this,t),this}collectIssues(e){this.issues&&e.push.apply(e,this.issues)}addIssue(e){this.issues||(this.issues=[]),this.issues.push(e)}hasIssue(e){return Array.isArray(this.issues)&&this.issues.some((t=>t.getRule()===e))}isErroneous(e=!1){return!!(this.issues&&this.issues.length>0)||e&&Array.isArray(this.children)&&this.children.some((e=>e.isErroneous(!0)))}setNode(e,t,n=-1){return!!t&&(t.attachTo(this,n),this[e]=t,!0)}addChild(e){return!!e&&(this.children||(this.children=[]),e.attachTo(this),this.updateOffsetAndLength(e),!0)}updateOffsetAndLength(e){(e.offsetthis.end||-1===this.length)&&(this.length=t-this.offset)}hasChildren(){return!!this.children&&this.children.length>0}getChildren(){return this.children?this.children.slice(0):[]}getChild(e){return this.children&&e=0;n--)if(t=this.children[n],t.offset<=e)return t}return null}findChildAtOffset(e,t){const n=this.findFirstChildBeforeOffset(e);return n&&n.end>=e?t&&n.findChildAtOffset(e,!0)||n:null}encloses(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length}getParent(){let e=this.parent;for(;e instanceof he;)e=e.parent;return e}findParent(e){let t=this;for(;t&&t.type!==e;)t=t.parent;return t}findAParent(...e){let t=this;for(;t&&!e.some((e=>t.type===e));)t=t.parent;return t}setData(e,t){this.options||(this.options={}),this.options[e]=t}getData(e){return this.options&&this.options.hasOwnProperty(e)?this.options[e]:null}},he=class extends ce{constructor(e,t=-1){super(-1,-1),this.attachTo(e,t),this.offset=-1,this.length=-1}},de=class extends ce{constructor(e,t){super(e,t)}get type(){return X.UnicodeRange}setRangeStart(e){return this.setNode("rangeStart",e)}getRangeStart(){return this.rangeStart}setRangeEnd(e){return this.setNode("rangeEnd",e)}getRangeEnd(){return this.rangeEnd}},pe=class extends ce{constructor(e,t){super(e,t),this.isCustomProperty=!1}get type(){return X.Identifier}containsInterpolation(){return this.hasChildren()}},ue=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Stylesheet}},me=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Declarations}},fe=class extends ce{constructor(e,t){super(e,t)}getDeclarations(){return this.declarations}setDeclarations(e){return this.setNode("declarations",e)}},ge=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Ruleset}getSelectors(){return this.selectors||(this.selectors=new he(this)),this.selectors}isNested(){return!!this.parent&&null!==this.parent.findParent(X.Declarations)}},be=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Selector}},ve=class extends ce{constructor(e,t){super(e,t)}get type(){return X.SimpleSelector}},ye=class extends ce{constructor(e,t){super(e,t)}},we=class extends fe{constructor(e,t){super(e,t)}get type(){return X.CustomPropertySet}},Se=class e extends ye{constructor(e,t){super(e,t),this.property=null}get type(){return X.Declaration}setProperty(e){return this.setNode("property",e)}getProperty(){return this.property}getFullPropertyName(){const t=this.property?this.property.getName():"unknown";if(this.parent instanceof me&&this.parent.getParent()instanceof ze){const n=this.parent.getParent().getParent();if(n instanceof e)return n.getFullPropertyName()+t}return t}getNonPrefixedPropertyName(){const e=this.getFullPropertyName();if(e&&"-"===e.charAt(0)){const t=e.indexOf("-",1);if(-1!==t)return e.substring(t+1)}return e}setValue(e){return this.setNode("value",e)}getValue(){return this.value}setNestedProperties(e){return this.setNode("nestedProperties",e)}getNestedProperties(){return this.nestedProperties}},xe=class extends Se{constructor(e,t){super(e,t)}get type(){return X.CustomPropertyDeclaration}setPropertySet(e){return this.setNode("propertySet",e)}getPropertySet(){return this.propertySet}},Ce=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Property}setIdentifier(e){return this.setNode("identifier",e)}getIdentifier(){return this.identifier}getName(){return function(e,t){const n=t.exec(e);return n&&n[0].length?e.substr(0,e.length-n[0].length):e}(this.getText(),/[_\+]+$/)}isCustomProperty(){return!!this.identifier&&this.identifier.isCustomProperty}},_e=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Invocation}getArguments(){return this.arguments||(this.arguments=new he(this)),this.arguments}},ke=class extends _e{constructor(e,t){super(e,t)}get type(){return X.Function}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}},Ee=class extends ce{constructor(e,t){super(e,t)}get type(){return X.FunctionParameter}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}setDefaultValue(e){return this.setNode("defaultValue",e,0)}getDefaultValue(){return this.defaultValue}},Fe=class extends ce{constructor(e,t){super(e,t)}get type(){return X.FunctionArgument}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}setValue(e){return this.setNode("value",e,0)}getValue(){return this.value}},Re=class extends fe{constructor(e,t){super(e,t)}get type(){return X.If}setExpression(e){return this.setNode("expression",e,0)}setElseClause(e){return this.setNode("elseClause",e)}},Ne=class extends fe{constructor(e,t){super(e,t)}get type(){return X.For}setVariable(e){return this.setNode("variable",e,0)}},Ie=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Each}getVariables(){return this.variables||(this.variables=new he(this)),this.variables}},De=class extends fe{constructor(e,t){super(e,t)}get type(){return X.While}},Me=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Else}},Te=class extends fe{constructor(e,t){super(e,t)}get type(){return X.FunctionDeclaration}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}getParameters(){return this.parameters||(this.parameters=new he(this)),this.parameters}},Le=class extends fe{constructor(e,t){super(e,t)}get type(){return X.ViewPort}},Ae=class extends fe{constructor(e,t){super(e,t)}get type(){return X.FontFace}},ze=class extends fe{constructor(e,t){super(e,t)}get type(){return X.NestedProperties}},Oe=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Keyframe}setKeyword(e){return this.setNode("keyword",e,0)}getKeyword(){return this.keyword}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}},Pe=class extends fe{constructor(e,t){super(e,t)}get type(){return X.KeyframeSelector}},We=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Import}setMedialist(e){return!!e&&(e.attachTo(this),!0)}},Ue=class extends ce{get type(){return X.Use}getParameters(){return this.parameters||(this.parameters=new he(this)),this.parameters}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}},Ve=class extends ce{get type(){return X.ModuleConfiguration}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getName(){return this.identifier?this.identifier.getText():""}setValue(e){return this.setNode("value",e,0)}getValue(){return this.value}},$e=class extends ce{get type(){return X.Forward}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}getMembers(){return this.members||(this.members=new he(this)),this.members}getParameters(){return this.parameters||(this.parameters=new he(this)),this.parameters}},Be=class extends ce{get type(){return X.ForwardVisibility}setIdentifier(e){return this.setNode("identifier",e,0)}getIdentifier(){return this.identifier}},qe=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Namespace}},Ke=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Media}},je=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Supports}},He=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Layer}setNames(e){return this.setNode("names",e)}getNames(){return this.names}},Ge=class extends fe{constructor(e,t){super(e,t)}get type(){return X.PropertyAtRule}setName(e){return!!e&&(e.attachTo(this),this.name=e,!0)}getName(){return this.name}},Je=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Document}},Xe=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Container}},Ye=class extends ce{constructor(e,t){super(e,t)}},Qe=class extends ce{constructor(e,t){super(e,t)}get type(){return X.MediaQuery}},Ze=class extends ce{constructor(e,t){super(e,t)}get type(){return X.MediaCondition}},et=class extends ce{constructor(e,t){super(e,t)}get type(){return X.MediaFeature}},tt=class extends ce{constructor(e,t){super(e,t)}get type(){return X.SupportsCondition}},nt=class extends fe{constructor(e,t){super(e,t)}get type(){return X.Page}},rt=class extends fe{constructor(e,t){super(e,t)}get type(){return X.PageBoxMarginBox}},it=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Expression}},st=class extends ce{constructor(e,t){super(e,t)}get type(){return X.BinaryExpression}setLeft(e){return this.setNode("left",e)}getLeft(){return this.left}setRight(e){return this.setNode("right",e)}getRight(){return this.right}setOperator(e){return this.setNode("operator",e)}getOperator(){return this.operator}},ot=class extends ce{constructor(e,t){super(e,t)}get type(){return X.Term}setOperator(e){return this.setNode("operator",e)}getOperator(){return this.operator}setExpression(e){return this.setNode("expression",e)}getExpression(){return this.expression}},at=class extends ce{constructor(e,t){super(e,t)}get type(){return X.AttributeSelector}setNamespacePrefix(e){return this.setNode("namespacePrefix",e)}getNamespacePrefix(){return this.namespacePrefix}setIdentifier(e){return this.setNode("identifier",e)}getIdentifier(){return this.identifier}setOperator(e){return this.setNode("operator",e)}getOperator(){return this.operator}setValue(e){return this.setNode("value",e)}getValue(){return this.value}},lt=class extends ce{constructor(e,t){super(e,t)}get type(){return X.HexColorValue}},ct=class extends ce{constructor(e,t){super(e,t)}get type(){return X.RatioValue}},ht=".".charCodeAt(0),dt="0".charCodeAt(0),pt="9".charCodeAt(0),ut=class extends ce{constructor(e,t){super(e,t)}get type(){return X.NumericValue}getValue(){const e=this.getText();let t,n=0;for(let r=0,i=e.length;r0&&(n+=`/${Array.isArray(t.comment)?t.comment.join(""):t.comment}`),i=t.args??{}}return Dt(r,i)}var It=/{([^}]+)}/g;function Dt(e,t){return 0===Object.keys(t).length?e:e.replace(It,((e,n)=>t[n]??e))}var Mt,Tt,Lt,At,zt,Ot,Pt,Wt,Ut,Vt,$t,Bt,qt,Kt,jt,Ht,Gt,Jt,Xt,Yt,Qt,Zt,en,tn,nn,rn,sn,on,an,ln,cn,hn,dn,pn,un,mn,fn,gn,bn,vn,yn,wn,Sn,xn,Cn,_n,kn,En,Fn,Rn,Nn,In,Dn,Mn,Tn,Ln,An,zn,On,Pn,Wn,Un,Vn,$n,Bn,qn,Kn,jn,Hn,Gn,Jn,Xn,Yn,Qn,Zn,er,tr,nr,rr,ir,sr,or,ar,lr,cr,hr,dr,pr,ur,mr,fr,gr,br,vr,yr,wr,Sr,xr,Cr,_r,kr,Er,Fr,Rr,Nr,Ir,Dr,Mr,Tr,Lr,Ar,zr,Or,Pr,Wr,Ur,Vr,$r,Br,qr,Kr,jr,Hr,Gr,Jr,Xr,Yr,Qr,Zr,ei,ti,ni,ri,ii=class{constructor(e,t){this.id=e,this.message=t}},si={NumberExpected:new ii("css-numberexpected",Nt("number expected")),ConditionExpected:new ii("css-conditionexpected",Nt("condition expected")),RuleOrSelectorExpected:new ii("css-ruleorselectorexpected",Nt("at-rule or selector expected")),DotExpected:new ii("css-dotexpected",Nt("dot expected")),ColonExpected:new ii("css-colonexpected",Nt("colon expected")),SemiColonExpected:new ii("css-semicolonexpected",Nt("semi-colon expected")),TermExpected:new ii("css-termexpected",Nt("term expected")),ExpressionExpected:new ii("css-expressionexpected",Nt("expression expected")),OperatorExpected:new ii("css-operatorexpected",Nt("operator expected")),IdentifierExpected:new ii("css-identifierexpected",Nt("identifier expected")),PercentageExpected:new ii("css-percentageexpected",Nt("percentage expected")),URIOrStringExpected:new ii("css-uriorstringexpected",Nt("uri or string expected")),URIExpected:new ii("css-uriexpected",Nt("URI expected")),VariableNameExpected:new ii("css-varnameexpected",Nt("variable name expected")),VariableValueExpected:new ii("css-varvalueexpected",Nt("variable value expected")),PropertyValueExpected:new ii("css-propertyvalueexpected",Nt("property value expected")),LeftCurlyExpected:new ii("css-lcurlyexpected",Nt("{ expected")),RightCurlyExpected:new ii("css-rcurlyexpected",Nt("} expected")),LeftSquareBracketExpected:new ii("css-rbracketexpected",Nt("[ expected")),RightSquareBracketExpected:new ii("css-lbracketexpected",Nt("] expected")),LeftParenthesisExpected:new ii("css-lparentexpected",Nt("( expected")),RightParenthesisExpected:new ii("css-rparentexpected",Nt(") expected")),CommaExpected:new ii("css-commaexpected",Nt("comma expected")),PageDirectiveOrDeclarationExpected:new ii("css-pagedirordeclexpected",Nt("page directive or declaraton expected")),UnknownAtRule:new ii("css-unknownatrule",Nt("at-rule unknown")),UnknownKeyword:new ii("css-unknownkeyword",Nt("unknown keyword")),SelectorExpected:new ii("css-selectorexpected",Nt("selector expected")),StringLiteralExpected:new ii("css-stringliteralexpected",Nt("string literal expected")),WhitespaceExpected:new ii("css-whitespaceexpected",Nt("whitespace expected")),MediaQueryExpected:new ii("css-mediaqueryexpected",Nt("media query expected")),IdentifierOrWildcardExpected:new ii("css-idorwildcardexpected",Nt("identifier or wildcard expected")),WildcardExpected:new ii("css-wildcardexpected",Nt("wildcard expected")),IdentifierOrVariableExpected:new ii("css-idorvarexpected",Nt("identifier or variable expected"))};(Mt||(Mt={})).is=function(e){return"string"==typeof e},(Tt||(Tt={})).is=function(e){return"string"==typeof e},(At=Lt||(Lt={})).MIN_VALUE=-2147483648,At.MAX_VALUE=2147483647,At.is=function(e){return"number"==typeof e&&At.MIN_VALUE<=e&&e<=At.MAX_VALUE},(Ot=zt||(zt={})).MIN_VALUE=0,Ot.MAX_VALUE=2147483647,Ot.is=function(e){return"number"==typeof e&&Ot.MIN_VALUE<=e&&e<=Ot.MAX_VALUE},(Wt=Pt||(Pt={})).create=function(e,t){return e===Number.MAX_VALUE&&(e=zt.MAX_VALUE),t===Number.MAX_VALUE&&(t=zt.MAX_VALUE),{line:e,character:t}},Wt.is=function(e){let t=e;return oi.objectLiteral(t)&&oi.uinteger(t.line)&&oi.uinteger(t.character)},(Vt=Ut||(Ut={})).create=function(e,t,n,r){if(oi.uinteger(e)&&oi.uinteger(t)&&oi.uinteger(n)&&oi.uinteger(r))return{start:Pt.create(e,t),end:Pt.create(n,r)};if(Pt.is(e)&&Pt.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},Vt.is=function(e){let t=e;return oi.objectLiteral(t)&&Pt.is(t.start)&&Pt.is(t.end)},(Bt=$t||($t={})).create=function(e,t){return{uri:e,range:t}},Bt.is=function(e){let t=e;return oi.objectLiteral(t)&&Ut.is(t.range)&&(oi.string(t.uri)||oi.undefined(t.uri))},(Kt=qt||(qt={})).create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},Kt.is=function(e){let t=e;return oi.objectLiteral(t)&&Ut.is(t.targetRange)&&oi.string(t.targetUri)&&Ut.is(t.targetSelectionRange)&&(Ut.is(t.originSelectionRange)||oi.undefined(t.originSelectionRange))},(Ht=jt||(jt={})).create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},Ht.is=function(e){const t=e;return oi.objectLiteral(t)&&oi.numberRange(t.red,0,1)&&oi.numberRange(t.green,0,1)&&oi.numberRange(t.blue,0,1)&&oi.numberRange(t.alpha,0,1)},(Jt=Gt||(Gt={})).create=function(e,t){return{range:e,color:t}},Jt.is=function(e){const t=e;return oi.objectLiteral(t)&&Ut.is(t.range)&&jt.is(t.color)},(Yt=Xt||(Xt={})).create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},Yt.is=function(e){const t=e;return oi.objectLiteral(t)&&oi.string(t.label)&&(oi.undefined(t.textEdit)||mn.is(t))&&(oi.undefined(t.additionalTextEdits)||oi.typedArray(t.additionalTextEdits,mn.is))},(Zt=Qt||(Qt={})).Comment="comment",Zt.Imports="imports",Zt.Region="region",(tn=en||(en={})).create=function(e,t,n,r,i,s){const o={startLine:e,endLine:t};return oi.defined(n)&&(o.startCharacter=n),oi.defined(r)&&(o.endCharacter=r),oi.defined(i)&&(o.kind=i),oi.defined(s)&&(o.collapsedText=s),o},tn.is=function(e){const t=e;return oi.objectLiteral(t)&&oi.uinteger(t.startLine)&&oi.uinteger(t.startLine)&&(oi.undefined(t.startCharacter)||oi.uinteger(t.startCharacter))&&(oi.undefined(t.endCharacter)||oi.uinteger(t.endCharacter))&&(oi.undefined(t.kind)||oi.string(t.kind))},(rn=nn||(nn={})).create=function(e,t){return{location:e,message:t}},rn.is=function(e){let t=e;return oi.defined(t)&&$t.is(t.location)&&oi.string(t.message)},(on=sn||(sn={})).Error=1,on.Warning=2,on.Information=3,on.Hint=4,(ln=an||(an={})).Unnecessary=1,ln.Deprecated=2,(cn||(cn={})).is=function(e){const t=e;return oi.objectLiteral(t)&&oi.string(t.href)},(dn=hn||(hn={})).create=function(e,t,n,r,i,s){let o={range:e,message:t};return oi.defined(n)&&(o.severity=n),oi.defined(r)&&(o.code=r),oi.defined(i)&&(o.source=i),oi.defined(s)&&(o.relatedInformation=s),o},dn.is=function(e){var t;let n=e;return oi.defined(n)&&Ut.is(n.range)&&oi.string(n.message)&&(oi.number(n.severity)||oi.undefined(n.severity))&&(oi.integer(n.code)||oi.string(n.code)||oi.undefined(n.code))&&(oi.undefined(n.codeDescription)||oi.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(oi.string(n.source)||oi.undefined(n.source))&&(oi.undefined(n.relatedInformation)||oi.typedArray(n.relatedInformation,nn.is))},(un=pn||(pn={})).create=function(e,t,...n){let r={title:e,command:t};return oi.defined(n)&&n.length>0&&(r.arguments=n),r},un.is=function(e){let t=e;return oi.defined(t)&&oi.string(t.title)&&oi.string(t.command)},(fn=mn||(mn={})).replace=function(e,t){return{range:e,newText:t}},fn.insert=function(e,t){return{range:{start:e,end:e},newText:t}},fn.del=function(e){return{range:e,newText:""}},fn.is=function(e){const t=e;return oi.objectLiteral(t)&&oi.string(t.newText)&&Ut.is(t.range)},(bn=gn||(gn={})).create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},bn.is=function(e){const t=e;return oi.objectLiteral(t)&&oi.string(t.label)&&(oi.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(oi.string(t.description)||void 0===t.description)},(vn||(vn={})).is=function(e){const t=e;return oi.string(t)},(wn=yn||(yn={})).replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},wn.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},wn.del=function(e,t){return{range:e,newText:"",annotationId:t}},wn.is=function(e){const t=e;return mn.is(t)&&(gn.is(t.annotationId)||vn.is(t.annotationId))},(xn=Sn||(Sn={})).create=function(e,t){return{textDocument:e,edits:t}},xn.is=function(e){let t=e;return oi.defined(t)&&Ln.is(t.textDocument)&&Array.isArray(t.edits)},(_n=Cn||(Cn={})).create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},_n.is=function(e){let t=e;return t&&"create"===t.kind&&oi.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||oi.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||oi.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||vn.is(t.annotationId))},(En=kn||(kn={})).create=function(e,t,n,r){let i={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(i.options=n),void 0!==r&&(i.annotationId=r),i},En.is=function(e){let t=e;return t&&"rename"===t.kind&&oi.string(t.oldUri)&&oi.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||oi.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||oi.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||vn.is(t.annotationId))},(Rn=Fn||(Fn={})).create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},Rn.is=function(e){let t=e;return t&&"delete"===t.kind&&oi.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||oi.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||oi.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||vn.is(t.annotationId))},(Nn||(Nn={})).is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((e=>oi.string(e.kind)?Cn.is(e)||kn.is(e)||Fn.is(e):Sn.is(e))))},(Dn=In||(In={})).create=function(e){return{uri:e}},Dn.is=function(e){let t=e;return oi.defined(t)&&oi.string(t.uri)},(Tn=Mn||(Mn={})).create=function(e,t){return{uri:e,version:t}},Tn.is=function(e){let t=e;return oi.defined(t)&&oi.string(t.uri)&&oi.integer(t.version)},(An=Ln||(Ln={})).create=function(e,t){return{uri:e,version:t}},An.is=function(e){let t=e;return oi.defined(t)&&oi.string(t.uri)&&(null===t.version||oi.integer(t.version))},(On=zn||(zn={})).create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},On.is=function(e){let t=e;return oi.defined(t)&&oi.string(t.uri)&&oi.string(t.languageId)&&oi.integer(t.version)&&oi.string(t.text)},(Wn=Pn||(Pn={})).PlainText="plaintext",Wn.Markdown="markdown",Wn.is=function(e){const t=e;return t===Wn.PlainText||t===Wn.Markdown},(Un||(Un={})).is=function(e){const t=e;return oi.objectLiteral(e)&&Pn.is(t.kind)&&oi.string(t.value)},($n=Vn||(Vn={})).Text=1,$n.Method=2,$n.Function=3,$n.Constructor=4,$n.Field=5,$n.Variable=6,$n.Class=7,$n.Interface=8,$n.Module=9,$n.Property=10,$n.Unit=11,$n.Value=12,$n.Enum=13,$n.Keyword=14,$n.Snippet=15,$n.Color=16,$n.File=17,$n.Reference=18,$n.Folder=19,$n.EnumMember=20,$n.Constant=21,$n.Struct=22,$n.Event=23,$n.Operator=24,$n.TypeParameter=25,(qn=Bn||(Bn={})).PlainText=1,qn.Snippet=2,(Kn||(Kn={})).Deprecated=1,(Hn=jn||(jn={})).create=function(e,t,n){return{newText:e,insert:t,replace:n}},Hn.is=function(e){const t=e;return t&&oi.string(t.newText)&&Ut.is(t.insert)&&Ut.is(t.replace)},(Jn=Gn||(Gn={})).asIs=1,Jn.adjustIndentation=2,(Xn||(Xn={})).is=function(e){const t=e;return t&&(oi.string(t.detail)||void 0===t.detail)&&(oi.string(t.description)||void 0===t.description)},(Yn||(Yn={})).create=function(e){return{label:e}},(Qn||(Qn={})).create=function(e,t){return{items:e||[],isIncomplete:!!t}},(er=Zn||(Zn={})).fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},er.is=function(e){const t=e;return oi.string(t)||oi.objectLiteral(t)&&oi.string(t.language)&&oi.string(t.value)},(tr||(tr={})).is=function(e){let t=e;return!!t&&oi.objectLiteral(t)&&(Un.is(t.contents)||Zn.is(t.contents)||oi.typedArray(t.contents,Zn.is))&&(void 0===e.range||Ut.is(e.range))},(nr||(nr={})).create=function(e,t){return t?{label:e,documentation:t}:{label:e}},(rr||(rr={})).create=function(e,t,...n){let r={label:e};return oi.defined(t)&&(r.documentation=t),oi.defined(n)?r.parameters=n:r.parameters=[],r},(sr=ir||(ir={})).Text=1,sr.Read=2,sr.Write=3,(or||(or={})).create=function(e,t){let n={range:e};return oi.number(t)&&(n.kind=t),n},(lr=ar||(ar={})).File=1,lr.Module=2,lr.Namespace=3,lr.Package=4,lr.Class=5,lr.Method=6,lr.Property=7,lr.Field=8,lr.Constructor=9,lr.Enum=10,lr.Interface=11,lr.Function=12,lr.Variable=13,lr.Constant=14,lr.String=15,lr.Number=16,lr.Boolean=17,lr.Array=18,lr.Object=19,lr.Key=20,lr.Null=21,lr.EnumMember=22,lr.Struct=23,lr.Event=24,lr.Operator=25,lr.TypeParameter=26,(cr||(cr={})).Deprecated=1,(hr||(hr={})).create=function(e,t,n,r,i){let s={name:e,kind:t,location:{uri:r,range:n}};return i&&(s.containerName=i),s},(dr||(dr={})).create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}},(ur=pr||(pr={})).create=function(e,t,n,r,i,s){let o={name:e,detail:t,kind:n,range:r,selectionRange:i};return void 0!==s&&(o.children=s),o},ur.is=function(e){let t=e;return t&&oi.string(t.name)&&oi.number(t.kind)&&Ut.is(t.range)&&Ut.is(t.selectionRange)&&(void 0===t.detail||oi.string(t.detail))&&(void 0===t.deprecated||oi.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))},(fr=mr||(mr={})).Empty="",fr.QuickFix="quickfix",fr.Refactor="refactor",fr.RefactorExtract="refactor.extract",fr.RefactorInline="refactor.inline",fr.RefactorRewrite="refactor.rewrite",fr.Source="source",fr.SourceOrganizeImports="source.organizeImports",fr.SourceFixAll="source.fixAll",(br=gr||(gr={})).Invoked=1,br.Automatic=2,(yr=vr||(vr={})).create=function(e,t,n){let r={diagnostics:e};return null!=t&&(r.only=t),null!=n&&(r.triggerKind=n),r},yr.is=function(e){let t=e;return oi.defined(t)&&oi.typedArray(t.diagnostics,hn.is)&&(void 0===t.only||oi.typedArray(t.only,oi.string))&&(void 0===t.triggerKind||t.triggerKind===gr.Invoked||t.triggerKind===gr.Automatic)},(Sr=wr||(wr={})).create=function(e,t,n){let r={title:e},i=!0;return"string"==typeof t?(i=!1,r.kind=t):pn.is(t)?r.command=t:r.edit=t,i&&void 0!==n&&(r.kind=n),r},Sr.is=function(e){let t=e;return t&&oi.string(t.title)&&(void 0===t.diagnostics||oi.typedArray(t.diagnostics,hn.is))&&(void 0===t.kind||oi.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||pn.is(t.command))&&(void 0===t.isPreferred||oi.boolean(t.isPreferred))&&(void 0===t.edit||Nn.is(t.edit))},(Cr=xr||(xr={})).create=function(e,t){let n={range:e};return oi.defined(t)&&(n.data=t),n},Cr.is=function(e){let t=e;return oi.defined(t)&&Ut.is(t.range)&&(oi.undefined(t.command)||pn.is(t.command))},(kr=_r||(_r={})).create=function(e,t){return{tabSize:e,insertSpaces:t}},kr.is=function(e){let t=e;return oi.defined(t)&&oi.uinteger(t.tabSize)&&oi.boolean(t.insertSpaces)},(Fr=Er||(Er={})).create=function(e,t,n){return{range:e,target:t,data:n}},Fr.is=function(e){let t=e;return oi.defined(t)&&Ut.is(t.range)&&(oi.undefined(t.target)||oi.string(t.target))},(Nr=Rr||(Rr={})).create=function(e,t){return{range:e,parent:t}},Nr.is=function(e){let t=e;return oi.objectLiteral(t)&&Ut.is(t.range)&&(void 0===t.parent||Nr.is(t.parent))},(Dr=Ir||(Ir={})).namespace="namespace",Dr.type="type",Dr.class="class",Dr.enum="enum",Dr.interface="interface",Dr.struct="struct",Dr.typeParameter="typeParameter",Dr.parameter="parameter",Dr.variable="variable",Dr.property="property",Dr.enumMember="enumMember",Dr.event="event",Dr.function="function",Dr.method="method",Dr.macro="macro",Dr.keyword="keyword",Dr.modifier="modifier",Dr.comment="comment",Dr.string="string",Dr.number="number",Dr.regexp="regexp",Dr.operator="operator",Dr.decorator="decorator",(Tr=Mr||(Mr={})).declaration="declaration",Tr.definition="definition",Tr.readonly="readonly",Tr.static="static",Tr.deprecated="deprecated",Tr.abstract="abstract",Tr.async="async",Tr.modification="modification",Tr.documentation="documentation",Tr.defaultLibrary="defaultLibrary",(Lr||(Lr={})).is=function(e){const t=e;return oi.objectLiteral(t)&&(void 0===t.resultId||"string"==typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"==typeof t.data[0])},(zr=Ar||(Ar={})).create=function(e,t){return{range:e,text:t}},zr.is=function(e){const t=e;return null!=t&&Ut.is(t.range)&&oi.string(t.text)},(Pr=Or||(Or={})).create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},Pr.is=function(e){const t=e;return null!=t&&Ut.is(t.range)&&oi.boolean(t.caseSensitiveLookup)&&(oi.string(t.variableName)||void 0===t.variableName)},(Ur=Wr||(Wr={})).create=function(e,t){return{range:e,expression:t}},Ur.is=function(e){const t=e;return null!=t&&Ut.is(t.range)&&(oi.string(t.expression)||void 0===t.expression)},($r=Vr||(Vr={})).create=function(e,t){return{frameId:e,stoppedLocation:t}},$r.is=function(e){const t=e;return oi.defined(t)&&Ut.is(e.stoppedLocation)},(qr=Br||(Br={})).Type=1,qr.Parameter=2,qr.is=function(e){return 1===e||2===e},(jr=Kr||(Kr={})).create=function(e){return{value:e}},jr.is=function(e){const t=e;return oi.objectLiteral(t)&&(void 0===t.tooltip||oi.string(t.tooltip)||Un.is(t.tooltip))&&(void 0===t.location||$t.is(t.location))&&(void 0===t.command||pn.is(t.command))},(Gr=Hr||(Hr={})).create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},Gr.is=function(e){const t=e;return oi.objectLiteral(t)&&Pt.is(t.position)&&(oi.string(t.label)||oi.typedArray(t.label,Kr.is))&&(void 0===t.kind||Br.is(t.kind))&&void 0===t.textEdits||oi.typedArray(t.textEdits,mn.is)&&(void 0===t.tooltip||oi.string(t.tooltip)||Un.is(t.tooltip))&&(void 0===t.paddingLeft||oi.boolean(t.paddingLeft))&&(void 0===t.paddingRight||oi.boolean(t.paddingRight))},(Jr||(Jr={})).createSnippet=function(e){return{kind:"snippet",value:e}},(Xr||(Xr={})).create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}},(Yr||(Yr={})).create=function(e){return{items:e}},(Zr=Qr||(Qr={})).Invoked=0,Zr.Automatic=1,(ei||(ei={})).create=function(e,t){return{range:e,text:t}},(ti||(ti={})).create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}},(ni||(ni={})).is=function(e){const t=e;return oi.objectLiteral(t)&&Tt.is(t.uri)&&oi.string(t.name)},function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,i=e.slice(0,r),s=e.slice(r);t(i,n),t(s,n);let o=0,a=0,l=0;for(;o{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),s=r.length;for(let t=i.length-1;t>=0;t--){let n=i[t],o=e.offsetAt(n.range.start),a=e.offsetAt(n.range.end);if(!(a<=s))throw new Error("Overlapping edit");r=r.substring(0,o)+n.newText+r.substring(a,r.length),s=o}return r}}(ri||(ri={}));var oi,ai=class{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return Pt.create(0,e);for(;ne?r=i:n=i+1}let i=n-1;return Pt.create(i,e-t[i])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1e?r=i:n=i+1}let i=n-1;return{line:i,character:e-t[i]}}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function bi(e){const t=gi(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(ci=li||(li={})).create=function(e,t,n,r){return new ui(e,t,n,r)},ci.update=function(e,t,n){if(e instanceof ui)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},ci.applyEdits=function(e,t){let n=e.getText(),r=mi(t.map(bi),((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=0;const s=[];for(const t of r){let r=e.offsetAt(t.range.start);if(ri&&s.push(n.substring(i,r)),t.newText.length&&s.push(t.newText),i=e.offsetAt(t.range.end)}return s.push(n.substr(i)),s.join("")},(hi||(hi={})).LATEST={textDocument:{completion:{completionItem:{documentationFormat:[Pn.Markdown,Pn.PlainText]}},hover:{contentFormat:[Pn.Markdown,Pn.PlainText]}}},(pi=di||(di={}))[pi.Unknown=0]="Unknown",pi[pi.File=1]="File",pi[pi.Directory=2]="Directory",pi[pi.SymbolicLink=64]="SymbolicLink";var vi={E:"Edge",FF:"Firefox",S:"Safari",C:"Chrome",IE:"IE",O:"Opera"};function yi(e){switch(e){case"experimental":return"⚠️ Property is experimental. Be cautious when using it.️\n\n";case"nonstandard":return"🚨️ Property is nonstandard. Avoid using it.\n\n";case"obsolete":return"🚨️️️ Property is obsolete. Avoid using it.\n\n";default:return""}}function wi(e,t,n){let r;if(r=t?{kind:"markdown",value:Ci(e,n)}:{kind:"plaintext",value:xi(e,n)},""!==r.value)return r}function Si(e){return(e=e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")).replace(//g,">")}function xi(e,t){if(!e.description||""===e.description)return"";if("string"!=typeof e.description)return e.description.value;let n="";if(!1!==t?.documentation){e.status&&(n+=yi(e.status)),n+=e.description;const t=_i(e.browsers);t&&(n+="\n("+t+")"),"syntax"in e&&(n+=`\n\nSyntax: ${e.syntax}`)}return e.references&&e.references.length>0&&!1!==t?.references&&(n.length>0&&(n+="\n\n"),n+=e.references.map((e=>`${e.name}: ${e.url}`)).join(" | ")),n}function Ci(e,t){if(!e.description||""===e.description)return"";let n="";if(!1!==t?.documentation){e.status&&(n+=yi(e.status)),"string"==typeof e.description?n+=Si(e.description):n+=e.description.kind===Pn.Markdown?e.description.value:Si(e.description.value);const t=_i(e.browsers);t&&(n+="\n\n("+Si(t)+")"),"syntax"in e&&e.syntax&&(n+=`\n\nSyntax: ${Si(e.syntax)}`)}return e.references&&e.references.length>0&&!1!==t?.references&&(n.length>0&&(n+="\n\n"),n+=e.references.map((e=>`[${e.name}](${e.url})`)).join(" | ")),n}function _i(e=[]){return 0===e.length?null:e.map((e=>{let t="";const n=e.match(/([A-Z]+)(\d+)?/),r=n[1],i=n[2];return r in vi&&(t+=vi[r]),i&&(t+=" "+i),t})).join(", ")}var ki=/(^#([0-9A-F]{3}){1,2}$)|(^#([0-9A-F]{4}){1,2}$)/i,Ei=[{label:"rgb",func:"rgb($red, $green, $blue)",insertText:"rgb(${1:red}, ${2:green}, ${3:blue})",desc:Nt("Creates a Color from red, green, and blue values.")},{label:"rgba",func:"rgba($red, $green, $blue, $alpha)",insertText:"rgba(${1:red}, ${2:green}, ${3:blue}, ${4:alpha})",desc:Nt("Creates a Color from red, green, blue, and alpha values.")},{label:"rgb relative",func:"rgb(from $color $red $green $blue)",insertText:"rgb(from ${1:color} ${2:r} ${3:g} ${4:b})",desc:Nt("Creates a Color from the red, green, and blue values of another Color.")},{label:"hsl",func:"hsl($hue, $saturation, $lightness)",insertText:"hsl(${1:hue}, ${2:saturation}, ${3:lightness})",desc:Nt("Creates a Color from hue, saturation, and lightness values.")},{label:"hsla",func:"hsla($hue, $saturation, $lightness, $alpha)",insertText:"hsla(${1:hue}, ${2:saturation}, ${3:lightness}, ${4:alpha})",desc:Nt("Creates a Color from hue, saturation, lightness, and alpha values.")},{label:"hsl relative",func:"hsl(from $color $hue $saturation $lightness)",insertText:"hsl(from ${1:color} ${2:h} ${3:s} ${4:l})",desc:Nt("Creates a Color from the hue, saturation, and lightness values of another Color.")},{label:"hwb",func:"hwb($hue $white $black)",insertText:"hwb(${1:hue} ${2:white} ${3:black})",desc:Nt("Creates a Color from hue, white, and black values.")},{label:"hwb relative",func:"hwb(from $color $hue $white $black)",insertText:"hwb(from ${1:color} ${2:h} ${3:w} ${4:b})",desc:Nt("Creates a Color from the hue, white, and black values of another Color.")},{label:"lab",func:"lab($lightness $a $b)",insertText:"lab(${1:lightness} ${2:a} ${3:b})",desc:Nt("Creates a Color from lightness, a, and b values.")},{label:"lab relative",func:"lab(from $color $lightness $a $b)",insertText:"lab(from ${1:color} ${2:l} ${3:a} ${4:b})",desc:Nt("Creates a Color from the lightness, a, and b values of another Color.")},{label:"oklab",func:"oklab($lightness $a $b)",insertText:"oklab(${1:lightness} ${2:a} ${3:b})",desc:Nt("Creates a Color from lightness, a, and b values.")},{label:"oklab relative",func:"oklab(from $color $lightness $a $b)",insertText:"oklab(from ${1:color} ${2:l} ${3:a} ${4:b})",desc:Nt("Creates a Color from the lightness, a, and b values of another Color.")},{label:"lch",func:"lch($lightness $chroma $hue)",insertText:"lch(${1:lightness} ${2:chroma} ${3:hue})",desc:Nt("Creates a Color from lightness, chroma, and hue values.")},{label:"lch relative",func:"lch(from $color $lightness $chroma $hue)",insertText:"lch(from ${1:color} ${2:l} ${3:c} ${4:h})",desc:Nt("Creates a Color from the lightness, chroma, and hue values of another Color.")},{label:"oklch",func:"oklch($lightness $chroma $hue)",insertText:"oklch(${1:lightness} ${2:chroma} ${3:hue})",desc:Nt("Creates a Color from lightness, chroma, and hue values.")},{label:"oklch relative",func:"oklch(from $color $lightness $chroma $hue)",insertText:"oklch(from ${1:color} ${2:l} ${3:c} ${4:h})",desc:Nt("Creates a Color from the lightness, chroma, and hue values of another Color.")},{label:"color",func:"color($color-space $red $green $blue)",insertText:"color(${1|srgb,srgb-linear,display-p3,a98-rgb,prophoto-rgb,rec2020,xyx,xyz-d50,xyz-d65|} ${2:red} ${3:green} ${4:blue})",desc:Nt("Creates a Color in a specific color space from red, green, and blue values.")},{label:"color relative",func:"color(from $color $color-space $red $green $blue)",insertText:"color(from ${1:color} ${2|srgb,srgb-linear,display-p3,a98-rgb,prophoto-rgb,rec2020,xyx,xyz-d50,xyz-d65|} ${3:r} ${4:g} ${5:b})",desc:Nt("Creates a Color in a specific color space from the red, green, and blue values of another Color.")},{label:"color-mix",func:"color-mix(in $color-space, $color $percentage, $color $percentage)",insertText:"color-mix(in ${1|srgb,srgb-linear,lab,oklab,xyz,xyz-d50,xyz-d65|}, ${3:color} ${4:percentage}, ${5:color} ${6:percentage})",desc:Nt("Mix two colors together in a rectangular color space.")},{label:"color-mix hue",func:"color-mix(in $color-space $interpolation-method hue, $color $percentage, $color $percentage)",insertText:"color-mix(in ${1|hsl,hwb,lch,oklch|} ${2|shorter hue,longer hue,increasing hue,decreasing hue|}, ${3:color} ${4:percentage}, ${5:color} ${6:percentage})",desc:Nt("Mix two colors together in a polar color space.")}],Fi=/^(rgb|rgba|hsl|hsla|hwb)$/i,Ri={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rebeccapurple:"#663399",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},Ni=new RegExp(`^(${Object.keys(Ri).join("|")})$`,"i"),Ii={currentColor:"The value of the 'color' property. The computed value of the 'currentColor' keyword is the computed value of the 'color' property. If the 'currentColor' keyword is set on the 'color' property itself, it is treated as 'color:inherit' at parse time.",transparent:"Fully transparent. This keyword can be considered a shorthand for rgba(0,0,0,0) which is its computed value."},Di=new RegExp(`^(${Object.keys(Ii).join("|")})$`,"i");function Mi(e,t){const n=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/);if(n){n[2]&&(t=100);const e=parseFloat(n[1])/t;if(e>=0&&e<=1)return e}throw new Error}function Ti(e){const t=e.getText(),n=t.match(/^([-+]?[0-9]*\.?[0-9]+)(deg|rad|grad|turn)?$/);if(n)switch(n[2]){case"deg":return parseFloat(t)%360;case"rad":return 180*parseFloat(t)/Math.PI%360;case"grad":return.9*parseFloat(t)%360;case"turn":return 360*parseFloat(t)%360;default:if(void 0===n[2])return parseFloat(t)%360}throw new Error}function Li(e){return ki.test(e)||Ni.test(e)||Di.test(e)}function Ai(e){return e<48?0:e<=57?e-48:(e<97&&(e+=32),e>=97&&e<=102?e-97+10:0)}function zi(e){if("#"!==e[0])return null;switch(e.length){case 4:return{red:17*Ai(e.charCodeAt(1))/255,green:17*Ai(e.charCodeAt(2))/255,blue:17*Ai(e.charCodeAt(3))/255,alpha:1};case 5:return{red:17*Ai(e.charCodeAt(1))/255,green:17*Ai(e.charCodeAt(2))/255,blue:17*Ai(e.charCodeAt(3))/255,alpha:17*Ai(e.charCodeAt(4))/255};case 7:return{red:(16*Ai(e.charCodeAt(1))+Ai(e.charCodeAt(2)))/255,green:(16*Ai(e.charCodeAt(3))+Ai(e.charCodeAt(4)))/255,blue:(16*Ai(e.charCodeAt(5))+Ai(e.charCodeAt(6)))/255,alpha:1};case 9:return{red:(16*Ai(e.charCodeAt(1))+Ai(e.charCodeAt(2)))/255,green:(16*Ai(e.charCodeAt(3))+Ai(e.charCodeAt(4)))/255,blue:(16*Ai(e.charCodeAt(5))+Ai(e.charCodeAt(6)))/255,alpha:(16*Ai(e.charCodeAt(7))+Ai(e.charCodeAt(8)))/255}}return null}function Oi(e,t,n,r=1){if(0===t)return{red:n,green:n,blue:n,alpha:r};{const i=(e,t,n)=>{for(;n<0;)n+=6;for(;n>=6;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e},s=n<=.5?n*(t+1):n+t-n*t,o=2*n-s;return{red:i(o,s,(e/=60)+2),green:i(o,s,e),blue:i(o,s,e-2),alpha:r}}}function Pi(e){const t=e.red,n=e.green,r=e.blue,i=e.alpha,s=Math.max(t,n,r),o=Math.min(t,n,r);let a=0,l=0;const c=(o+s)/2,h=s-o;if(h>0){switch(l=Math.min(c<=.5?h/(2*c):h/(2-2*c),1),s){case t:a=(n-r)/h+(n4)return null;try{const e=4===r.length?Mi(r[3],1):1;if("rgb"===n||"rgba"===n)return{red:Mi(r[0],255),green:Mi(r[1],255),blue:Mi(r[2],255),alpha:e};if("hsl"===n||"hsla"===n){const t=Ti(r[0]),n=Mi(r[1],100);return Oi(t,n,Mi(r[2],100),e)}if("hwb"===n){const t=Ti(r[0]),n=Mi(r[1],100);return function(e,t,n,r=1){if(t+n>=1){const e=t/(t+n);return{red:e,green:e,blue:e,alpha:r}}const i=Oi(e,1,.5,r);let s=i.red;s*=1-t-n,s+=t;let o=i.green;o*=1-t-n,o+=t;let a=i.blue;return a*=1-t-n,a+=t,{red:s,green:o,blue:a,alpha:r}}(t,n,Mi(r[2],100),e)}}catch(e){return null}}else if(e.type===X.Identifier){if(e.parent&&e.parent.type!==X.Term)return null;const t=e.parent;if(t&&t.parent&&t.parent.type===X.BinaryExpression){const e=t.parent;if(e.parent&&e.parent.type===X.ListEntry&&e.parent.key===e)return null}const n=e.getText().toLowerCase();if("none"===n)return null;const r=Ri[n];if(r)return zi(r)}return null}var Ui={bottom:"Computes to ‘100%’ for the vertical position if one or two values are given, otherwise specifies the bottom edge as the origin for the next offset.",center:"Computes to ‘50%’ (‘left 50%’) for the horizontal position if the horizontal position is not otherwise specified, or ‘50%’ (‘top 50%’) for the vertical position if it is.",left:"Computes to ‘0%’ for the horizontal position if one or two values are given, otherwise specifies the left edge as the origin for the next offset.",right:"Computes to ‘100%’ for the horizontal position if one or two values are given, otherwise specifies the right edge as the origin for the next offset.",top:"Computes to ‘0%’ for the vertical position if one or two values are given, otherwise specifies the top edge as the origin for the next offset."},Vi={"no-repeat":"Placed once and not repeated in this direction.",repeat:"Repeated in this direction as often as needed to cover the background painting area.","repeat-x":"Computes to ‘repeat no-repeat’.","repeat-y":"Computes to ‘no-repeat repeat’.",round:"Repeated as often as will fit within the background positioning area. If it doesn’t fit a whole number of times, it is rescaled so that it does.",space:"Repeated as often as will fit within the background positioning area without being clipped and then the images are spaced out to fill the area."},$i={dashed:"A series of square-ended dashes.",dotted:"A series of round dots.",double:"Two parallel solid lines with some space between them.",groove:"Looks as if it were carved in the canvas.",hidden:"Same as ‘none’, but has different behavior in the border conflict resolution rules for border-collapsed tables.",inset:"Looks as if the content on the inside of the border is sunken into the canvas.",none:"No border. Color and width are ignored.",outset:"Looks as if the content on the inside of the border is coming out of the canvas.",ridge:"Looks as if it were coming out of the canvas.",solid:"A single line segment."},Bi=["medium","thick","thin"],qi={"border-box":"The background is painted within (clipped to) the border box.","content-box":"The background is painted within (clipped to) the content box.","padding-box":"The background is painted within (clipped to) the padding box."},Ki={"margin-box":"Uses the margin box as reference box.","fill-box":"Uses the object bounding box as reference box.","stroke-box":"Uses the stroke bounding box as reference box.","view-box":"Uses the nearest SVG viewport as reference box."},ji={initial:"Represents the value specified as the property’s initial value.",inherit:"Represents the computed value of the property on the element’s parent.",unset:"Acts as either `inherit` or `initial`, depending on whether the property is inherited or not."},Hi={"var()":"Evaluates the value of a custom variable.","calc()":"Evaluates an mathematical expression. The following operators can be used: + - * /."},Gi={"url()":"Reference an image file by URL","image()":"Provide image fallbacks and annotations.","-webkit-image-set()":"Provide multiple resolutions. Remember to use unprefixed image-set() in addition.","image-set()":"Provide multiple resolutions of an image and const the UA decide which is most appropriate in a given situation.","-moz-element()":"Use an element in the document as an image. Remember to use unprefixed element() in addition.","element()":"Use an element in the document as an image.","cross-fade()":"Indicates the two images to be combined and how far along in the transition the combination is.","-webkit-gradient()":"Deprecated. Use modern linear-gradient() or radial-gradient() instead.","-webkit-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-moz-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","-o-linear-gradient()":"Linear gradient. Remember to use unprefixed version in addition.","linear-gradient()":"A linear gradient is created by specifying a straight gradient line, and then several colors placed along that line.","-webkit-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-moz-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","-o-repeating-linear-gradient()":"Repeating Linear gradient. Remember to use unprefixed version in addition.","repeating-linear-gradient()":"Same as linear-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position.","-webkit-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","-moz-radial-gradient()":"Radial gradient. Remember to use unprefixed version in addition.","radial-gradient()":"Colors emerge from a single point and smoothly spread outward in a circular or elliptical shape.","-webkit-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","-moz-repeating-radial-gradient()":"Repeating radial gradient. Remember to use unprefixed version in addition.","repeating-radial-gradient()":"Same as radial-gradient, except the color-stops are repeated infinitely in both directions, with their positions shifted by multiples of the difference between the last specified color-stop’s position and the first specified color-stop’s position."},Ji={ease:"Equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0).","ease-in":"Equivalent to cubic-bezier(0.42, 0, 1.0, 1.0).","ease-in-out":"Equivalent to cubic-bezier(0.42, 0, 0.58, 1.0).","ease-out":"Equivalent to cubic-bezier(0, 0, 0.58, 1.0).",linear:"Equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0).","step-end":"Equivalent to steps(1, end).","step-start":"Equivalent to steps(1, start).","steps()":"The first parameter specifies the number of intervals in the function. The second parameter, which is optional, is either the value “start” or “end”.","cubic-bezier()":"Specifies a cubic-bezier curve. The four values specify points P1 and P2  of the curve as (x1, y1, x2, y2).","cubic-bezier(0.6, -0.28, 0.735, 0.045)":"Ease-in Back. Overshoots.","cubic-bezier(0.68, -0.55, 0.265, 1.55)":"Ease-in-out Back. Overshoots.","cubic-bezier(0.175, 0.885, 0.32, 1.275)":"Ease-out Back. Overshoots.","cubic-bezier(0.6, 0.04, 0.98, 0.335)":"Ease-in Circular. Based on half circle.","cubic-bezier(0.785, 0.135, 0.15, 0.86)":"Ease-in-out Circular. Based on half circle.","cubic-bezier(0.075, 0.82, 0.165, 1)":"Ease-out Circular. Based on half circle.","cubic-bezier(0.55, 0.055, 0.675, 0.19)":"Ease-in Cubic. Based on power of three.","cubic-bezier(0.645, 0.045, 0.355, 1)":"Ease-in-out Cubic. Based on power of three.","cubic-bezier(0.215, 0.610, 0.355, 1)":"Ease-out Cubic. Based on power of three.","cubic-bezier(0.95, 0.05, 0.795, 0.035)":"Ease-in Exponential. Based on two to the power ten.","cubic-bezier(1, 0, 0, 1)":"Ease-in-out Exponential. Based on two to the power ten.","cubic-bezier(0.19, 1, 0.22, 1)":"Ease-out Exponential. Based on two to the power ten.","cubic-bezier(0.47, 0, 0.745, 0.715)":"Ease-in Sine.","cubic-bezier(0.445, 0.05, 0.55, 0.95)":"Ease-in-out Sine.","cubic-bezier(0.39, 0.575, 0.565, 1)":"Ease-out Sine.","cubic-bezier(0.55, 0.085, 0.68, 0.53)":"Ease-in Quadratic. Based on power of two.","cubic-bezier(0.455, 0.03, 0.515, 0.955)":"Ease-in-out Quadratic. Based on power of two.","cubic-bezier(0.25, 0.46, 0.45, 0.94)":"Ease-out Quadratic. Based on power of two.","cubic-bezier(0.895, 0.03, 0.685, 0.22)":"Ease-in Quartic. Based on power of four.","cubic-bezier(0.77, 0, 0.175, 1)":"Ease-in-out Quartic. Based on power of four.","cubic-bezier(0.165, 0.84, 0.44, 1)":"Ease-out Quartic. Based on power of four.","cubic-bezier(0.755, 0.05, 0.855, 0.06)":"Ease-in Quintic. Based on power of five.","cubic-bezier(0.86, 0, 0.07, 1)":"Ease-in-out Quintic. Based on power of five.","cubic-bezier(0.23, 1, 0.320, 1)":"Ease-out Quintic. Based on power of five."},Xi={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},Yi={length:["cap","ch","cm","cqb","cqh","cqi","cqmax","cqmin","cqw","dvb","dvh","dvi","dvw","em","ex","ic","in","lh","lvb","lvh","lvi","lvw","mm","pc","pt","px","q","rcap","rch","rem","rex","ric","rlh","svb","svh","svi","svw","vb","vh","vi","vmax","vmin","vw"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Qi=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","const","video","wbr"],Zi=["circle","clipPath","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","hatch","hatchpath","image","line","linearGradient","marker","mask","mesh","meshpatch","meshrow","metadata","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tspan","use","view"],es=["@bottom-center","@bottom-left","@bottom-left-corner","@bottom-right","@bottom-right-corner","@left-bottom","@left-middle","@left-top","@right-bottom","@right-middle","@right-top","@top-center","@top-left","@top-left-corner","@top-right","@top-right-corner"];function ts(e){return Object.keys(e).map((t=>e[t]))}function ns(e){return void 0!==e}var rs=class{constructor(t=new ee){this.keyframeRegex=/^@(\-(webkit|ms|moz|o)\-)?keyframes$/i,this.scanner=t,this.token={type:e.EOF,offset:-1,len:0,text:""},this.prevToken=void 0}peekIdent(t){return e.Ident===this.token.type&&t.length===this.token.text.length&&t===this.token.text.toLowerCase()}peekKeyword(t){return e.AtKeyword===this.token.type&&t.length===this.token.text.length&&t===this.token.text.toLowerCase()}peekDelim(t){return e.Delim===this.token.type&&t===this.token.text}peek(e){return e===this.token.type}peekOne(...e){return-1!==e.indexOf(this.token.type)}peekRegExp(e,t){return e===this.token.type&&t.test(this.token.text)}hasWhitespace(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset}consumeToken(){this.prevToken=this.token,this.token=this.scanner.scan()}acceptUnicodeRange(){const e=this.scanner.tryScanUnicode();return!!e&&(this.prevToken=e,this.token=this.scanner.scan(),!0)}mark(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}}restoreAtMark(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)}try(e){const t=this.mark(),n=e();return n||(this.restoreAtMark(t),null)}acceptOneKeyword(t){if(e.AtKeyword===this.token.type)for(const e of t)if(e.length===this.token.text.length&&e===this.token.text.toLowerCase())return this.consumeToken(),!0;return!1}accept(e){return e===this.token.type&&(this.consumeToken(),!0)}acceptIdent(e){return!!this.peekIdent(e)&&(this.consumeToken(),!0)}acceptKeyword(e){return!!this.peekKeyword(e)&&(this.consumeToken(),!0)}acceptDelim(e){return!!this.peekDelim(e)&&(this.consumeToken(),!0)}acceptRegexp(e){return!!e.test(this.token.text)&&(this.consumeToken(),!0)}_parseRegexp(e){let t=this.createNode(X.Identifier);do{}while(this.acceptRegexp(e));return this.finish(t)}acceptUnquotedString(){const e=this.scanner.pos();this.scanner.goBackTo(this.token.offset);const t=this.scanner.scanUnquotedString();return t?(this.token=t,this.consumeToken(),!0):(this.scanner.goBackTo(e),!1)}resync(t,n){for(;;){if(t&&-1!==t.indexOf(this.token.type))return this.consumeToken(),!0;if(n&&-1!==n.indexOf(this.token.type))return!0;if(this.token.type===e.EOF)return!1;this.token=this.scanner.scan()}}createNode(e){return new ce(this.token.offset,this.token.len,e)}create(e){return new e(this.token.offset,this.token.len)}finish(e,t,n,r){if(!(e instanceof he)&&(t&&this.markError(e,t,n,r),this.prevToken)){const t=this.prevToken.offset+this.prevToken.len;e.length=t>e.offset?t-e.offset:0}return e}markError(e,t,n,r){this.token!==this.lastErrorToken&&(e.addIssue(new Ft(e,t,ae.Error,void 0,this.token.offset,this.token.len)),this.lastErrorToken=this.token),(n||r)&&this.resync(n,r)}parseStylesheet(e){const t=e.version,n=e.getText();return this.internalParse(n,this._parseStylesheet,((r,i)=>{if(e.version!==t)throw new Error("Underlying model has changed, AST is no longer valid");return n.substr(r,i)}))}internalParse(e,t,n){this.scanner.setSource(e),this.token=this.scanner.scan();const r=t.bind(this)();return r&&(r.textProvider=n||((t,n)=>e.substr(t,n))),r}_parseStylesheet(){const t=this.create(ue);for(;t.addChild(this._parseStylesheetStart()););let n=!1;do{let r=!1;do{r=!1;const i=this._parseStylesheetStatement();for(i&&(t.addChild(i),r=!0,n=!1,this.peek(e.EOF)||!this._needsSemicolonAfter(i)||this.accept(e.SemiColon)||this.markError(t,si.SemiColonExpected));this.accept(e.SemiColon)||this.accept(e.CDO)||this.accept(e.CDC);)r=!0,n=!1}while(r);if(this.peek(e.EOF))break;n||(this.peek(e.AtKeyword)?this.markError(t,si.UnknownAtRule):this.markError(t,si.RuleOrSelectorExpected),n=!0),this.consumeToken()}while(!this.peek(e.EOF));return this.finish(t)}_parseStylesheetStart(){return this._parseCharset()}_parseStylesheetStatement(t=!1){return this.peek(e.AtKeyword)?this._parseStylesheetAtStatement(t):this._parseRuleset(t)}_parseStylesheetAtStatement(e=!1){return this._parseImport()||this._parseMedia(e)||this._parsePage()||this._parseFontFace()||this._parseKeyframe()||this._parseSupports(e)||this._parseLayer(e)||this._parsePropertyAtRule()||this._parseViewPort()||this._parseNamespace()||this._parseDocument()||this._parseContainer(e)||this._parseUnknownAtRule()}_tryParseRuleset(t){const n=this.mark();if(this._parseSelector(t)){for(;this.accept(e.Comma)&&this._parseSelector(t););if(this.accept(e.CurlyL))return this.restoreAtMark(n),this._parseRuleset(t)}return this.restoreAtMark(n),null}_parseRuleset(t=!1){const n=this.create(ge),r=n.getSelectors();if(!r.addChild(this._parseSelector(t)))return null;for(;this.accept(e.Comma);)if(!r.addChild(this._parseSelector(t)))return this.finish(n,si.SelectorExpected);return this._parseBody(n,this._parseRuleSetDeclaration.bind(this))}_parseRuleSetDeclarationAtStatement(){return this._parseMedia(!0)||this._parseSupports(!0)||this._parseLayer(!0)||this._parseContainer(!0)||this._parseUnknownAtRule()}_parseRuleSetDeclaration(){return this.peek(e.AtKeyword)?this._parseRuleSetDeclarationAtStatement():this.peek(e.Ident)?this._tryParseRuleset(!0)||this._parseDeclaration():this._parseRuleset(!0)}_needsSemicolonAfter(e){switch(e.type){case X.Keyframe:case X.ViewPort:case X.Media:case X.Ruleset:case X.Namespace:case X.If:case X.For:case X.Each:case X.While:case X.MixinDeclaration:case X.FunctionDeclaration:case X.MixinContentDeclaration:return!1;case X.ExtendsReference:case X.MixinContentReference:case X.ReturnStatement:case X.MediaQuery:case X.Debug:case X.Import:case X.AtApplyRule:case X.CustomPropertyDeclaration:return!0;case X.VariableDeclaration:return e.needsSemicolon;case X.MixinReference:return!e.getContent();case X.Declaration:return!e.getNestedProperties()}return!1}_parseDeclarations(t){const n=this.create(me);if(!this.accept(e.CurlyL))return null;let r=t();for(;n.addChild(r)&&!this.peek(e.CurlyR);){if(this._needsSemicolonAfter(r)&&!this.accept(e.SemiColon))return this.finish(n,si.SemiColonExpected,[e.SemiColon,e.CurlyR]);for(r&&this.prevToken&&this.prevToken.type===e.SemiColon&&(r.semicolonPosition=this.prevToken.offset);this.accept(e.SemiColon););r=t()}return this.accept(e.CurlyR)?this.finish(n):this.finish(n,si.RightCurlyExpected,[e.CurlyR,e.SemiColon])}_parseBody(t,n){return t.setDeclarations(this._parseDeclarations(n))?this.finish(t):this.finish(t,si.LeftCurlyExpected,[e.CurlyR,e.SemiColon])}_parseSelector(e){const t=this.create(be);let n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());)n=!0,t.addChild(this._parseCombinator());return n?this.finish(t):null}_parseDeclaration(t){const n=this._tryParseCustomPropertyDeclaration(t);if(n)return n;const r=this.create(Se);return r.setProperty(this._parseProperty())?this.accept(e.Colon)?(this.prevToken&&(r.colonPosition=this.prevToken.offset),r.setValue(this._parseExpr())?(r.addChild(this._parsePrio()),this.peek(e.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)):this.finish(r,si.PropertyValueExpected)):this.finish(r,si.ColonExpected,[e.Colon],t||[e.SemiColon]):null}_tryParseCustomPropertyDeclaration(t){if(!this.peekRegExp(e.Ident,/^--/))return null;const n=this.create(xe);if(!n.setProperty(this._parseProperty()))return null;if(!this.accept(e.Colon))return this.finish(n,si.ColonExpected,[e.Colon]);this.prevToken&&(n.colonPosition=this.prevToken.offset);const r=this.mark();if(this.peek(e.CurlyL)){const t=this.create(we),i=this._parseDeclarations(this._parseRuleSetDeclaration.bind(this));if(t.setDeclarations(i)&&!i.isErroneous(!0)&&(t.addChild(this._parsePrio()),this.peek(e.SemiColon)))return this.finish(t),n.setPropertySet(t),n.semicolonPosition=this.token.offset,this.finish(n);this.restoreAtMark(r)}const i=this._parseExpr();return i&&!i.isErroneous(!0)&&(this._parsePrio(),this.peekOne(...t||[],e.SemiColon,e.EOF))?(n.setValue(i),this.peek(e.SemiColon)&&(n.semicolonPosition=this.token.offset),this.finish(n)):(this.restoreAtMark(r),n.addChild(this._parseCustomPropertyValue(t)),n.addChild(this._parsePrio()),ns(n.colonPosition)&&this.token.offset===n.colonPosition+1?this.finish(n,si.PropertyValueExpected):this.finish(n))}_parseCustomPropertyValue(t=[e.CurlyR]){const n=this.create(ce),r=()=>0===s&&0===o&&0===a,i=()=>-1!==t.indexOf(this.token.type);let s=0,o=0,a=0;e:for(;;){switch(this.token.type){case e.SemiColon:case e.Exclamation:if(r())break e;break;case e.CurlyL:s++;break;case e.CurlyR:if(s--,s<0){if(i()&&0===o&&0===a)break e;return this.finish(n,si.LeftCurlyExpected)}break;case e.ParenthesisL:o++;break;case e.ParenthesisR:if(o--,o<0){if(i()&&0===a&&0===s)break e;return this.finish(n,si.LeftParenthesisExpected)}break;case e.BracketL:a++;break;case e.BracketR:if(a--,a<0)return this.finish(n,si.LeftSquareBracketExpected);break;case e.BadString:break e;case e.EOF:let t=si.RightCurlyExpected;return a>0?t=si.RightSquareBracketExpected:o>0&&(t=si.RightParenthesisExpected),this.finish(n,t)}this.consumeToken()}return this.finish(n)}_tryToParseDeclaration(t){const n=this.mark();return this._parseProperty()&&this.accept(e.Colon)?(this.restoreAtMark(n),this._parseDeclaration(t)):(this.restoreAtMark(n),null)}_parseProperty(){const e=this.create(Ce),t=this.mark();return(this.acceptDelim("*")||this.acceptDelim("_"))&&this.hasWhitespace()?(this.restoreAtMark(t),null):e.setIdentifier(this._parsePropertyIdentifier())?this.finish(e):null}_parsePropertyIdentifier(){return this._parseIdent()}_parseCharset(){if(!this.peek(e.Charset))return null;const t=this.create(ce);return this.consumeToken(),this.accept(e.String)?this.accept(e.SemiColon)?this.finish(t):this.finish(t,si.SemiColonExpected):this.finish(t,si.IdentifierExpected)}_parseImport(){if(!this.peekKeyword("@import"))return null;const e=this.create(We);return this.consumeToken(),e.addChild(this._parseURILiteral())||e.addChild(this._parseStringLiteral())?this._completeParseImport(e):this.finish(e,si.URIOrStringExpected)}_completeParseImport(t){if(this.acceptIdent("layer")&&this.accept(e.ParenthesisL)){if(!t.addChild(this._parseLayerName()))return this.finish(t,si.IdentifierExpected,[e.SemiColon]);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[e.ParenthesisR],[])}return this.acceptIdent("supports")&&this.accept(e.ParenthesisL)&&(t.addChild(this._tryToParseDeclaration()||this._parseSupportsCondition()),!this.accept(e.ParenthesisR))?this.finish(t,si.RightParenthesisExpected,[e.ParenthesisR],[]):(this.peek(e.SemiColon)||this.peek(e.EOF)||t.setMedialist(this._parseMediaQueryList()),this.finish(t))}_parseNamespace(){if(!this.peekKeyword("@namespace"))return null;const t=this.create(qe);return this.consumeToken(),t.addChild(this._parseURILiteral())||(t.addChild(this._parseIdent()),t.addChild(this._parseURILiteral())||t.addChild(this._parseStringLiteral()))?this.accept(e.SemiColon)?this.finish(t):this.finish(t,si.SemiColonExpected):this.finish(t,si.URIExpected,[e.SemiColon])}_parseFontFace(){if(!this.peekKeyword("@font-face"))return null;const e=this.create(Ae);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))}_parseViewPort(){if(!this.peekKeyword("@-ms-viewport")&&!this.peekKeyword("@-o-viewport")&&!this.peekKeyword("@viewport"))return null;const e=this.create(Le);return this.consumeToken(),this._parseBody(e,this._parseRuleSetDeclaration.bind(this))}_parseKeyframe(){if(!this.peekRegExp(e.AtKeyword,this.keyframeRegex))return null;const t=this.create(Oe),n=this.create(ce);return this.consumeToken(),t.setKeyword(this.finish(n)),n.matches("@-ms-keyframes")&&this.markError(n,si.UnknownKeyword),t.setIdentifier(this._parseKeyframeIdent())?this._parseBody(t,this._parseKeyframeSelector.bind(this)):this.finish(t,si.IdentifierExpected,[e.CurlyR])}_parseKeyframeIdent(){return this._parseIdent([Q.Keyframe])}_parseKeyframeSelector(){const t=this.create(Pe);let n=!1;if(t.addChild(this._parseIdent())&&(n=!0),this.accept(e.Percentage)&&(n=!0),!n)return null;for(;this.accept(e.Comma);)if(n=!1,t.addChild(this._parseIdent())&&(n=!0),this.accept(e.Percentage)&&(n=!0),!n)return this.finish(t,si.PercentageExpected);return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))}_tryParseKeyframeSelector(){const t=this.create(Pe),n=this.mark();let r=!1;if(t.addChild(this._parseIdent())&&(r=!0),this.accept(e.Percentage)&&(r=!0),!r)return null;for(;this.accept(e.Comma);)if(r=!1,t.addChild(this._parseIdent())&&(r=!0),this.accept(e.Percentage)&&(r=!0),!r)return this.restoreAtMark(n),null;return this.peek(e.CurlyL)?this._parseBody(t,this._parseRuleSetDeclaration.bind(this)):(this.restoreAtMark(n),null)}_parsePropertyAtRule(){if(!this.peekKeyword("@property"))return null;const t=this.create(Ge);return this.consumeToken(),this.peekRegExp(e.Ident,/^--/)&&t.setName(this._parseIdent([Q.Property]))?this._parseBody(t,this._parseDeclaration.bind(this)):this.finish(t,si.IdentifierExpected)}_parseLayer(t=!1){if(!this.peekKeyword("@layer"))return null;const n=this.create(He);this.consumeToken();const r=this._parseLayerNameList();return r&&n.setNames(r),r&&1!==r.getChildren().length||!this.peek(e.CurlyL)?this.accept(e.SemiColon)?this.finish(n):this.finish(n,si.SemiColonExpected):this._parseBody(n,this._parseLayerDeclaration.bind(this,t))}_parseLayerDeclaration(e=!1){return e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)}_parseLayerNameList(){const t=this.createNode(X.LayerNameList);if(!t.addChild(this._parseLayerName()))return null;for(;this.accept(e.Comma);)if(!t.addChild(this._parseLayerName()))return this.finish(t,si.IdentifierExpected);return this.finish(t)}_parseLayerName(){const e=this.createNode(X.LayerName);if(!e.addChild(this._parseIdent()))return null;for(;!this.hasWhitespace()&&this.acceptDelim(".");)if(this.hasWhitespace()||!e.addChild(this._parseIdent()))return this.finish(e,si.IdentifierExpected);return this.finish(e)}_parseSupports(e=!1){if(!this.peekKeyword("@supports"))return null;const t=this.create(je);return this.consumeToken(),t.addChild(this._parseSupportsCondition()),this._parseBody(t,this._parseSupportsDeclaration.bind(this,e))}_parseSupportsDeclaration(e=!1){return e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)}_parseSupportsCondition(){const t=this.create(tt);if(this.acceptIdent("not"))t.addChild(this._parseSupportsConditionInParens());else if(t.addChild(this._parseSupportsConditionInParens()),this.peekRegExp(e.Ident,/^(and|or)$/i)){const e=this.token.text.toLowerCase();for(;this.acceptIdent(e);)t.addChild(this._parseSupportsConditionInParens())}return this.finish(t)}_parseSupportsConditionInParens(){const t=this.create(tt);if(this.accept(e.ParenthesisL))return this.prevToken&&(t.lParent=this.prevToken.offset),t.addChild(this._tryToParseDeclaration([e.ParenthesisR]))||this._parseSupportsCondition()?this.accept(e.ParenthesisR)?(this.prevToken&&(t.rParent=this.prevToken.offset),this.finish(t)):this.finish(t,si.RightParenthesisExpected,[e.ParenthesisR],[]):this.finish(t,si.ConditionExpected);if(this.peek(e.Ident)){const n=this.mark();if(this.consumeToken(),!this.hasWhitespace()&&this.accept(e.ParenthesisL)){let n=1;for(;this.token.type!==e.EOF&&0!==n;)this.token.type===e.ParenthesisL?n++:this.token.type===e.ParenthesisR&&n--,this.consumeToken();return this.finish(t)}this.restoreAtMark(n)}return this.finish(t,si.LeftParenthesisExpected,[],[e.ParenthesisL])}_parseMediaDeclaration(e=!1){return e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)}_parseMedia(e=!1){if(!this.peekKeyword("@media"))return null;const t=this.create(Ke);return this.consumeToken(),t.addChild(this._parseMediaQueryList())?this._parseBody(t,this._parseMediaDeclaration.bind(this,e)):this.finish(t,si.MediaQueryExpected)}_parseMediaQueryList(){const t=this.create(Ye);if(!t.addChild(this._parseMediaQuery()))return this.finish(t,si.MediaQueryExpected);for(;this.accept(e.Comma);)if(!t.addChild(this._parseMediaQuery()))return this.finish(t,si.MediaQueryExpected);return this.finish(t)}_parseMediaQuery(){const t=this.create(Qe),n=this.mark();if(this.acceptIdent("not"),this.peek(e.ParenthesisL))this.restoreAtMark(n),t.addChild(this._parseMediaCondition());else{if(this.acceptIdent("only"),!t.addChild(this._parseIdent()))return null;this.acceptIdent("and")&&t.addChild(this._parseMediaCondition())}return this.finish(t)}_parseRatio(){const e=this.mark(),t=this.create(ct);return this._parseNumeric()?this.acceptDelim("/")?this._parseNumeric()?this.finish(t):this.finish(t,si.NumberExpected):(this.restoreAtMark(e),null):null}_parseMediaCondition(){const t=this.create(Ze);this.acceptIdent("not");let n=!0;for(;n;){if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[],[e.CurlyL]);if(this.peek(e.ParenthesisL)||this.peekIdent("not")?t.addChild(this._parseMediaCondition()):t.addChild(this._parseMediaFeature()),!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[],[e.CurlyL]);n=this.acceptIdent("and")||this.acceptIdent("or")}return this.finish(t)}_parseMediaFeature(){const t=[e.ParenthesisR],n=this.create(et);if(n.addChild(this._parseMediaFeatureName())){if(this.accept(e.Colon)){if(!n.addChild(this._parseMediaFeatureValue()))return this.finish(n,si.TermExpected,[],t)}else if(this._parseMediaFeatureRangeOperator()){if(!n.addChild(this._parseMediaFeatureValue()))return this.finish(n,si.TermExpected,[],t);if(this._parseMediaFeatureRangeOperator()&&!n.addChild(this._parseMediaFeatureValue()))return this.finish(n,si.TermExpected,[],t)}}else{if(!n.addChild(this._parseMediaFeatureValue()))return this.finish(n,si.IdentifierExpected,[],t);if(!this._parseMediaFeatureRangeOperator())return this.finish(n,si.OperatorExpected,[],t);if(!n.addChild(this._parseMediaFeatureName()))return this.finish(n,si.IdentifierExpected,[],t);if(this._parseMediaFeatureRangeOperator()&&!n.addChild(this._parseMediaFeatureValue()))return this.finish(n,si.TermExpected,[],t)}return this.finish(n)}_parseMediaFeatureRangeOperator(){return this.acceptDelim("<")||this.acceptDelim(">")?(this.hasWhitespace()||this.acceptDelim("="),!0):!!this.acceptDelim("=")}_parseMediaFeatureName(){return this._parseIdent()}_parseMediaFeatureValue(){return this._parseRatio()||this._parseTermExpression()}_parseMedium(){const e=this.create(ce);return e.addChild(this._parseIdent())?this.finish(e):null}_parsePageDeclaration(){return this._parsePageMarginBox()||this._parseRuleSetDeclaration()}_parsePage(){if(!this.peekKeyword("@page"))return null;const t=this.create(nt);if(this.consumeToken(),t.addChild(this._parsePageSelector()))for(;this.accept(e.Comma);)if(!t.addChild(this._parsePageSelector()))return this.finish(t,si.IdentifierExpected);return this._parseBody(t,this._parsePageDeclaration.bind(this))}_parsePageMarginBox(){if(!this.peek(e.AtKeyword))return null;const t=this.create(rt);return this.acceptOneKeyword(es)||this.markError(t,si.UnknownAtRule,[],[e.CurlyL]),this._parseBody(t,this._parseRuleSetDeclaration.bind(this))}_parsePageSelector(){if(!this.peek(e.Ident)&&!this.peek(e.Colon))return null;const t=this.create(ce);return t.addChild(this._parseIdent()),this.accept(e.Colon)&&!t.addChild(this._parseIdent())?this.finish(t,si.IdentifierExpected):this.finish(t)}_parseDocument(){if(!this.peekKeyword("@-moz-document"))return null;const t=this.create(Je);return this.consumeToken(),this.resync([],[e.CurlyL]),this._parseBody(t,this._parseStylesheetStatement.bind(this))}_parseContainerDeclaration(e=!1){return e?this._tryParseRuleset(!0)||this._tryToParseDeclaration()||this._parseStylesheetStatement(!0):this._parseStylesheetStatement(!1)}_parseContainer(e=!1){if(!this.peekKeyword("@container"))return null;const t=this.create(Xe);return this.consumeToken(),t.addChild(this._parseIdent()),t.addChild(this._parseContainerQuery()),this._parseBody(t,this._parseContainerDeclaration.bind(this,e))}_parseContainerQuery(){const e=this.create(ce);if(this.acceptIdent("not"))e.addChild(this._parseContainerQueryInParens());else if(e.addChild(this._parseContainerQueryInParens()),this.peekIdent("and"))for(;this.acceptIdent("and");)e.addChild(this._parseContainerQueryInParens());else if(this.peekIdent("or"))for(;this.acceptIdent("or");)e.addChild(this._parseContainerQueryInParens());return this.finish(e)}_parseContainerQueryInParens(){const t=this.create(ce);if(this.accept(e.ParenthesisL)){if(this.peekIdent("not")||this.peek(e.ParenthesisL)?t.addChild(this._parseContainerQuery()):t.addChild(this._parseMediaFeature()),!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[],[e.CurlyL])}else{if(!this.acceptIdent("style"))return this.finish(t,si.LeftParenthesisExpected,[],[e.CurlyL]);if(this.hasWhitespace()||!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[],[e.CurlyL]);if(t.addChild(this._parseStyleQuery()),!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[],[e.CurlyL])}return this.finish(t)}_parseStyleQuery(){const t=this.create(ce);if(this.acceptIdent("not"))t.addChild(this._parseStyleInParens());else if(this.peek(e.ParenthesisL)){if(t.addChild(this._parseStyleInParens()),this.peekIdent("and"))for(;this.acceptIdent("and");)t.addChild(this._parseStyleInParens());else if(this.peekIdent("or"))for(;this.acceptIdent("or");)t.addChild(this._parseStyleInParens())}else t.addChild(this._parseDeclaration([e.ParenthesisR]));return this.finish(t)}_parseStyleInParens(){const t=this.create(ce);return this.accept(e.ParenthesisL)?(t.addChild(this._parseStyleQuery()),this.accept(e.ParenthesisR)?this.finish(t):this.finish(t,si.RightParenthesisExpected,[],[e.CurlyL])):this.finish(t,si.LeftParenthesisExpected,[],[e.CurlyL])}_parseUnknownAtRule(){if(!this.peek(e.AtKeyword))return null;const t=this.create(xt);t.addChild(this._parseUnknownAtRuleName());let n=0,r=0,i=0,s=0;e:for(;;){switch(this.token.type){case e.SemiColon:if(0===r&&0===i&&0===s)break e;break;case e.EOF:return r>0?this.finish(t,si.RightCurlyExpected):s>0?this.finish(t,si.RightSquareBracketExpected):i>0?this.finish(t,si.RightParenthesisExpected):this.finish(t);case e.CurlyL:n++,r++;break;case e.CurlyR:if(r--,n>0&&0===r){if(this.consumeToken(),s>0)return this.finish(t,si.RightSquareBracketExpected);if(i>0)return this.finish(t,si.RightParenthesisExpected);break e}if(r<0){if(0===i&&0===s)break e;return this.finish(t,si.LeftCurlyExpected)}break;case e.ParenthesisL:i++;break;case e.ParenthesisR:if(i--,i<0)return this.finish(t,si.LeftParenthesisExpected);break;case e.BracketL:s++;break;case e.BracketR:if(s--,s<0)return this.finish(t,si.LeftSquareBracketExpected)}this.consumeToken()}return t}_parseUnknownAtRuleName(){const t=this.create(ce);return this.accept(e.AtKeyword)?this.finish(t):t}_parseOperator(){if(this.peekDelim("/")||this.peekDelim("*")||this.peekDelim("+")||this.peekDelim("-")||this.peek(e.Dashmatch)||this.peek(e.Includes)||this.peek(e.SubstringOperator)||this.peek(e.PrefixOperator)||this.peek(e.SuffixOperator)||this.peekDelim("=")){const e=this.createNode(X.Operator);return this.consumeToken(),this.finish(e)}return null}_parseUnaryOperator(){if(!this.peekDelim("+")&&!this.peekDelim("-"))return null;const e=this.create(ce);return this.consumeToken(),this.finish(e)}_parseCombinator(){if(this.peekDelim(">")){const e=this.create(ce);this.consumeToken();const t=this.mark();if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=X.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=X.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+")){const e=this.create(ce);return this.consumeToken(),e.type=X.SelectorCombinatorSibling,this.finish(e)}if(this.peekDelim("~")){const e=this.create(ce);return this.consumeToken(),e.type=X.SelectorCombinatorAllSiblings,this.finish(e)}if(this.peekDelim("/")){const e=this.create(ce);this.consumeToken();const t=this.mark();if(!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=X.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null}_parseSimpleSelector(){const e=this.create(ve);let t=0;for(e.addChild(this._parseElementName()||this._parseNestingSelector())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return t>0?this.finish(e):null}_parseNestingSelector(){if(this.peekDelim("&")){const e=this.createNode(X.SelectorCombinator);return this.consumeToken(),this.finish(e)}return null}_parseSimpleSelectorBody(){return this._parsePseudo()||this._parseHash()||this._parseClass()||this._parseAttrib()}_parseSelectorIdent(){return this._parseIdent()}_parseHash(){if(!this.peek(e.Hash)&&!this.peekDelim("#"))return null;const t=this.createNode(X.IdentifierSelector);if(this.acceptDelim("#")){if(this.hasWhitespace()||!t.addChild(this._parseSelectorIdent()))return this.finish(t,si.IdentifierExpected)}else this.consumeToken();return this.finish(t)}_parseClass(){if(!this.peekDelim("."))return null;const e=this.createNode(X.ClassSelector);return this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseSelectorIdent())?this.finish(e,si.IdentifierExpected):this.finish(e)}_parseElementName(){const e=this.mark(),t=this.createNode(X.ElementNameSelector);return t.addChild(this._parseNamespacePrefix()),t.addChild(this._parseSelectorIdent())||this.acceptDelim("*")?this.finish(t):(this.restoreAtMark(e),null)}_parseNamespacePrefix(){const e=this.mark(),t=this.createNode(X.NamespacePrefix);return!t.addChild(this._parseIdent())&&this.acceptDelim("*"),this.acceptDelim("|")?this.finish(t):(this.restoreAtMark(e),null)}_parseAttrib(){if(!this.peek(e.BracketL))return null;const t=this.create(at);return this.consumeToken(),t.setNamespacePrefix(this._parseNamespacePrefix()),t.setIdentifier(this._parseIdent())?(t.setOperator(this._parseOperator())&&(t.setValue(this._parseBinaryExpr()),this.acceptIdent("i"),this.acceptIdent("s")),this.accept(e.BracketR)?this.finish(t):this.finish(t,si.RightSquareBracketExpected)):this.finish(t,si.IdentifierExpected)}_parsePseudo(){const t=this._tryParsePseudoIdentifier();if(t){if(!this.hasWhitespace()&&this.accept(e.ParenthesisL)){const n=()=>{const t=this.create(ce);if(!t.addChild(this._parseSelector(!0)))return null;for(;this.accept(e.Comma)&&t.addChild(this._parseSelector(!0)););return this.peek(e.ParenthesisR)?this.finish(t):null};if(!t.addChild(this.try(n))&&t.addChild(this._parseBinaryExpr())&&this.acceptIdent("of")&&!t.addChild(this.try(n)))return this.finish(t,si.SelectorExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected)}return this.finish(t)}return null}_tryParsePseudoIdentifier(){if(!this.peek(e.Colon))return null;const t=this.mark(),n=this.createNode(X.PseudoSelector);return this.consumeToken(),this.hasWhitespace()?(this.restoreAtMark(t),null):(this.accept(e.Colon),this.hasWhitespace()||!n.addChild(this._parseIdent())?this.finish(n,si.IdentifierExpected):this.finish(n))}_tryParsePrio(){const e=this.mark(),t=this._parsePrio();return t||(this.restoreAtMark(e),null)}_parsePrio(){if(!this.peek(e.Exclamation))return null;const t=this.createNode(X.Prio);return this.accept(e.Exclamation)&&this.acceptIdent("important")?this.finish(t):null}_parseExpr(t=!1){const n=this.create(it);if(!n.addChild(this._parseBinaryExpr()))return null;for(;;){if(this.peek(e.Comma)){if(t)return this.finish(n);this.consumeToken()}if(!n.addChild(this._parseBinaryExpr()))break}return this.finish(n)}_parseUnicodeRange(){if(!this.peekIdent("u"))return null;const e=this.create(de);return this.acceptUnicodeRange()?this.finish(e):null}_parseNamedLine(){if(!this.peek(e.BracketL))return null;const t=this.createNode(X.GridLine);for(this.consumeToken();t.addChild(this._parseIdent()););return this.accept(e.BracketR)?this.finish(t):this.finish(t,si.RightSquareBracketExpected)}_parseBinaryExpr(e,t){let n=this.create(st);if(!n.setLeft(e||this._parseTerm()))return null;if(!n.setOperator(t||this._parseOperator()))return this.finish(n);if(!n.setRight(this._parseTerm()))return this.finish(n,si.TermExpected);n=this.finish(n);const r=this._parseOperator();return r&&(n=this._parseBinaryExpr(n,r)),this.finish(n)}_parseTerm(){let e=this.create(ot);return e.setOperator(this._parseUnaryOperator()),e.setExpression(this._parseTermExpression())?this.finish(e):null}_parseTermExpression(){return this._parseURILiteral()||this._parseUnicodeRange()||this._parseFunction()||this._parseIdent()||this._parseStringLiteral()||this._parseNumeric()||this._parseHexColor()||this._parseOperation()||this._parseNamedLine()}_parseOperation(){if(!this.peek(e.ParenthesisL))return null;const t=this.create(ce);return this.consumeToken(),t.addChild(this._parseExpr()),this.accept(e.ParenthesisR)?this.finish(t):this.finish(t,si.RightParenthesisExpected)}_parseNumeric(){if(this.peek(e.Num)||this.peek(e.Percentage)||this.peek(e.Resolution)||this.peek(e.Length)||this.peek(e.EMS)||this.peek(e.EXS)||this.peek(e.Angle)||this.peek(e.Time)||this.peek(e.Dimension)||this.peek(e.ContainerQueryLength)||this.peek(e.Freq)){const e=this.create(ut);return this.consumeToken(),this.finish(e)}return null}_parseStringLiteral(){if(!this.peek(e.String)&&!this.peek(e.BadString))return null;const t=this.createNode(X.StringLiteral);return this.consumeToken(),this.finish(t)}_parseURILiteral(){if(!this.peekRegExp(e.Ident,/^url(-prefix)?$/i))return null;const t=this.mark(),n=this.createNode(X.URILiteral);return this.accept(e.Ident),this.hasWhitespace()||!this.peek(e.ParenthesisL)?(this.restoreAtMark(t),null):(this.scanner.inURL=!0,this.consumeToken(),n.addChild(this._parseURLArgument()),this.scanner.inURL=!1,this.accept(e.ParenthesisR)?this.finish(n):this.finish(n,si.RightParenthesisExpected))}_parseURLArgument(){const t=this.create(ce);return this.accept(e.String)||this.accept(e.BadString)||this.acceptUnquotedString()?this.finish(t):null}_parseIdent(t){if(!this.peek(e.Ident))return null;const n=this.create(pe);return t&&(n.referenceTypes=t),n.isCustomProperty=this.peekRegExp(e.Ident,/^--/),this.consumeToken(),this.finish(n)}_parseFunction(){const t=this.mark(),n=this.create(ke);if(!n.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(e.ParenthesisL))return this.restoreAtMark(t),null;if(n.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)n.getArguments().addChild(this._parseFunctionArgument())||this.markError(n,si.ExpressionExpected);return this.accept(e.ParenthesisR)?this.finish(n):this.finish(n,si.RightParenthesisExpected)}_parseFunctionIdentifier(){if(!this.peek(e.Ident))return null;const t=this.create(pe);if(t.referenceTypes=[Q.Function],this.acceptIdent("progid")){if(this.accept(e.Colon))for(;this.accept(e.Ident)&&this.acceptDelim("."););return this.finish(t)}return this.consumeToken(),this.finish(t)}_parseFunctionArgument(){const e=this.create(Fe);return e.setValue(this._parseExpr(!0))?this.finish(e):null}_parseHexColor(){if(this.peekRegExp(e.Hash,/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/g)){const e=this.create(lt);return this.consumeToken(),this.finish(e)}return null}};function is(e,t){return-1!==e.indexOf(t)}function ss(...e){const t=[];for(const n of e)for(const e of n)is(t,e)||t.push(e);return t}var os,as=class{constructor(e,t){this.offset=e,this.length=t,this.symbols=[],this.parent=null,this.children=[]}addChild(e){this.children.push(e),e.setParent(this)}setParent(e){this.parent=e}findScope(e,t=0){return this.offset<=e&&this.offset+this.length>e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null}findInScope(e,t=0){const n=e+t,r=function(e,t){let n=0,r=e.length;if(0===r)return 0;for(;ne.offset>n));if(0===r)return this;const i=this.children[r-1];return i.offset<=e&&i.offset+i.length>=e+t?i.findInScope(e,t):this}addSymbol(e){this.symbols.push(e)}getSymbol(e,t){for(let n=0;n{var e={470:e=>{function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,s=-1,o=0,a=0;a<=e.length;++a){if(a2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",i=0,s=a,o=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(s+1,a):r=e.slice(s+1,a),i=a-s-1;s=a,o=0}else 46===n&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var e,r="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var o;s>=0?o=arguments[s]:(void 0===e&&(e=process.cwd()),o=e),t(o),0!==o.length&&(r=o+"/"+r,i=47===o.charCodeAt(0))}return r=n(r,!i),i?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n)return"";if((e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;ic){if(47===n.charCodeAt(a+d))return n.slice(a+d+1);if(0===d)return n.slice(a+d)}else o>c&&(47===e.charCodeAt(i+d)?h=d:0===d&&(h=0));break}var p=e.charCodeAt(i+d);if(p!==n.charCodeAt(a+d))break;47===p&&(h=d)}var u="";for(d=i+h+1;d<=s;++d)d!==s&&47!==e.charCodeAt(d)||(0===u.length?u+="..":u+="/..");return u.length>0?u+n.slice(a+h):(a+=h,47===n.charCodeAt(a)&&++a,n.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,s=!0,o=e.length-1;o>=1;--o)if(47===(n=e.charCodeAt(o))){if(!s){i=o;break}}else s=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,s=-1,o=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var a=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!o){i=r+1;break}}else-1===l&&(o=!1,l=r+1),a>=0&&(c===n.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return i===s?s=l:-1===s&&(s=e.length),e.slice(i,s)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!o){i=r+1;break}}else-1===s&&(o=!1,s=r+1);return-1===s?"":e.slice(i,s)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,s=!0,o=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(s=!1,i=a+1),46===l?-1===n?n=a:1!==o&&(o=1):-1!==n&&(o=-1);else if(!s){r=a+1;break}}return-1===n||-1===i||0===o||1===o&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return n=(t=e).dir||t.root,r=t.base||(t.name||"")+(t.ext||""),n?n===t.root?n+r:n+"/"+r:r;var t,n,r},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),s=47===i;s?(n.root="/",r=1):r=0;for(var o=-1,a=0,l=-1,c=!0,h=e.length-1,d=0;h>=r;--h)if(47!==(i=e.charCodeAt(h)))-1===l&&(c=!1,l=h+1),46===i?-1===o?o=h:1!==d&&(d=1):-1!==o&&(d=-1);else if(!c){a=h+1;break}return-1===o||-1===l||0===d||1===d&&o===l-1&&o===a+1?-1!==l&&(n.base=n.name=0===a&&s?e.slice(1,l):e.slice(a,l)):(0===a&&s?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(a,o),n.base=e.slice(a,l)),n.ext=e.slice(o,l)),a>0?n.dir=e.slice(0,a-1):s&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var s=t[r]={exports:{}};return e[r](s,s.exports,n),s.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};(()=>{let e;if(n.r(r),n.d(r,{URI:()=>h,Utils:()=>_}),"object"==typeof process)e="win32"===process.platform;else if("object"==typeof navigator){let t=navigator.userAgent;e=t.indexOf("Windows")>=0}const t=/^\w[\w\d+.-]*$/,i=/^\//,s=/^\/\//;function o(e,n){if(!e.scheme&&n)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${e.authority}", path: "${e.path}", query: "${e.query}", fragment: "${e.fragment}"}`);if(e.scheme&&!t.test(e.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(e.path)if(e.authority){if(!i.test(e.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(s.test(e.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}const a="",l="/",c=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{static isUri(e){return e instanceof h||!!e&&"string"==typeof e.authority&&"string"==typeof e.fragment&&"string"==typeof e.path&&"string"==typeof e.query&&"string"==typeof e.scheme&&"string"==typeof e.fsPath&&"function"==typeof e.with&&"function"==typeof e.toString}scheme;authority;path;query;fragment;constructor(e,t,n,r,i,s=!1){"object"==typeof e?(this.scheme=e.scheme||a,this.authority=e.authority||a,this.path=e.path||a,this.query=e.query||a,this.fragment=e.fragment||a):(this.scheme=function(e,t){return e||t?e:"file"}(e,s),this.authority=t||a,this.path=function(e,t){switch(e){case"https":case"http":case"file":t?t[0]!==l&&(t=l+t):t=l}return t}(this.scheme,n||a),this.query=r||a,this.fragment=i||a,o(this,s))}get fsPath(){return g(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:s}=e;return void 0===t?t=this.scheme:null===t&&(t=a),void 0===n?n=this.authority:null===n&&(n=a),void 0===r?r=this.path:null===r&&(r=a),void 0===i?i=this.query:null===i&&(i=a),void 0===s?s=this.fragment:null===s&&(s=a),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&s===this.fragment?this:new p(t,n,r,i,s)}static parse(e,t=!1){const n=c.exec(e);return n?new p(n[2]||a,w(n[4]||a),w(n[5]||a),w(n[7]||a),w(n[9]||a),t):new p(a,a,a,a,a)}static file(t){let n=a;if(e&&(t=t.replace(/\\/g,l)),t[0]===l&&t[1]===l){const e=t.indexOf(l,2);-1===e?(n=t.substring(2),t=l):(n=t.substring(2,e),t=t.substring(e)||l)}return new p("file",n,t,a,a)}static from(e){const t=new p(e.scheme,e.authority,e.path,e.query,e.fragment);return o(t,!0),t}toString(e=!1){return b(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof h)return e;{const t=new p(e);return t._formatted=e.external,t._fsPath=e._sep===d?e.fsPath:null,t}}return e}}const d=e?1:void 0;class p extends h{_formatted=null;_fsPath=null;get fsPath(){return this._fsPath||(this._fsPath=g(this,!1)),this._fsPath}toString(e=!1){return e?b(this,!0):(this._formatted||(this._formatted=b(this,!1)),this._formatted)}toJSON(){const e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=d),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}}const u={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function m(e,t,n){let r,i=-1;for(let s=0;s=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||45===o||46===o||95===o||126===o||t&&47===o||n&&91===o||n&&93===o||n&&58===o)-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),void 0!==r&&(r+=e.charAt(s));else{void 0===r&&(r=e.substr(0,s));const t=u[o];void 0!==t?(-1!==i&&(r+=encodeURIComponent(e.substring(i,s)),i=-1),r+=t):-1===i&&(i=s)}}return-1!==i&&(r+=encodeURIComponent(e.substring(i))),void 0!==r?r:e}function f(e){let t;for(let n=0;n1&&"file"===t.scheme?`//${t.authority}${t.path}`:47===t.path.charCodeAt(0)&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&58===t.path.charCodeAt(2)?n?t.path.substr(1):t.path[1].toLowerCase()+t.path.substr(2):t.path,e&&(r=r.replace(/\//g,"\\")),r}function b(e,t){const n=t?f:m;let r="",{scheme:i,authority:s,path:o,query:a,fragment:c}=e;if(i&&(r+=i,r+=":"),(s||"file"===i)&&(r+=l,r+=l),s){let e=s.indexOf("@");if(-1!==e){const t=s.substr(0,e);s=s.substr(e+1),e=t.lastIndexOf(":"),-1===e?r+=n(t,!1,!1):(r+=n(t.substr(0,e),!1,!1),r+=":",r+=n(t.substr(e+1),!1,!0)),r+="@"}s=s.toLowerCase(),e=s.lastIndexOf(":"),-1===e?r+=n(s,!1,!0):(r+=n(s.substr(0,e),!1,!0),r+=s.substr(e))}if(o){if(o.length>=3&&47===o.charCodeAt(0)&&58===o.charCodeAt(2)){const e=o.charCodeAt(1);e>=65&&e<=90&&(o=`/${String.fromCharCode(e+32)}:${o.substr(3)}`)}else if(o.length>=2&&58===o.charCodeAt(1)){const e=o.charCodeAt(0);e>=65&&e<=90&&(o=`${String.fromCharCode(e+32)}:${o.substr(2)}`)}r+=n(o,!0,!1)}return a&&(r+="?",r+=n(a,!1,!1)),c&&(r+="#",r+=t?c:m(c,!1,!1)),r}function v(e){try{return decodeURIComponent(e)}catch{return e.length>3?e.substr(0,3)+v(e.substr(3)):e}}const y=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function w(e){return e.match(y)?e.replace(y,(e=>v(e))):e}var S=n(470);const x=S.posix||S,C="/";var _,k;(k=_||(_={})).joinPath=function(e,...t){return e.with({path:x.join(e.path,...t)})},k.resolvePath=function(e,...t){let n=e.path,r=!1;n[0]!==C&&(n=C+n,r=!0);let i=x.resolve(n,...t);return r&&i[0]===C&&!e.authority&&(i=i.substring(1)),e.with({path:i})},k.dirname=function(e){if(0===e.path.length||e.path===C)return e;let t=x.dirname(e.path);return 1===t.length&&46===t.charCodeAt(0)&&(t=""),e.with({path:t})},k.basename=function(e){return x.basename(e.path)},k.extname=function(e){return x.extname(e.path)}})(),os=r})();var{URI:ps,Utils:us}=os;function ms(e){return us.dirname(ps.parse(e)).toString(!0)}function fs(e,...t){return us.joinPath(ps.parse(e),...t).toString(!0)}var gs=class{constructor(e){this.readDirectory=e,this.literalCompletions=[],this.importCompletions=[]}onCssURILiteralValue(e){this.literalCompletions.push(e)}onCssImportPath(e){this.importCompletions.push(e)}async computeCompletions(e,t){const n={items:[],isIncomplete:!1};for(const r of this.literalCompletions){const i=r.uriValue,s=vs(i);if("."===s||".."===s)n.isIncomplete=!0;else{const s=await this.providePathSuggestions(i,r.position,r.range,e,t);for(let e of s)n.items.push(e)}}for(const r of this.importCompletions){const i=r.pathValue,s=vs(i);if("."===s||".."===s)n.isIncomplete=!0;else{let s=await this.providePathSuggestions(i,r.position,r.range,e,t);"scss"===e.languageId&&s.forEach((e=>{te(e.label,"_")&&ne(e.label,".scss")&&(e.textEdit?e.textEdit.newText=e.label.slice(1,-5):e.label=e.label.slice(1,-5))}));for(let e of s)n.items.push(e)}}return n}async providePathSuggestions(e,t,n,r,i){const s=vs(e),o=te(e,"'")||te(e,'"'),a=o?s.slice(0,t.character-(n.start.character+1)):s.slice(0,t.character-n.start.character),l=r.uri,c=function(e,t,n){let r;const i=e.lastIndexOf("/");if(-1===i)r=n;else{const e=t.slice(i+1),s=Ss(n.end,-e.length),o=e.indexOf(" ");let a;a=-1!==o?Ss(s,o):n.end,r=Ut.create(s,a)}return r}(a,s,o?function(e,t,n){const r=Ss(e.start,t),i=Ss(e.end,n);return Ut.create(r,i)}(n,1,-1):n),h=a.substring(0,a.lastIndexOf("/")+1);let d=i.resolveReference(h||".",l);if(d)try{const e=[],t=await this.readDirectory(d);for(const[n,r]of t)n.charCodeAt(0)===bs||r!==di.Directory&&fs(d,n)===l||e.push(ys(n,r===di.Directory,c));return e}catch(e){}return[]}},bs=".".charCodeAt(0);function vs(e){return te(e,"'")||te(e,'"')?e.slice(1,-1):e}function ys(e,t,n){return t?{label:ws(e+="/"),kind:Vn.Folder,textEdit:mn.replace(n,ws(e)),command:{title:"Suggest",command:"editor.action.triggerSuggest"}}:{label:ws(e),kind:Vn.File,textEdit:mn.replace(n,ws(e))}}function ws(e){return e.replace(/(\s|\(|\)|,|"|')/g,"\\$1")}function Ss(e,t){return Pt.create(e.line,e.character+t)}var xs,Cs,_s=Bn.Snippet,ks={title:"Suggest",command:"editor.action.triggerSuggest"};(Cs=xs||(xs={})).Enums=" ",Cs.Normal="d",Cs.VendorPrefixed="x",Cs.Term="y",Cs.Variable="z";var Es=class{constructor(e=null,t,n){this.variablePrefix=e,this.lsOptions=t,this.cssDataManager=n,this.completionParticipants=[]}configure(e){this.defaultSettings=e}getSymbolContext(){return this.symbolContext||(this.symbolContext=new ds(this.styleSheet)),this.symbolContext}setCompletionParticipants(e){this.completionParticipants=e||[]}async doComplete2(e,t,n,r,i=this.defaultSettings){if(!this.lsOptions.fileSystemProvider||!this.lsOptions.fileSystemProvider.readDirectory)return this.doComplete(e,t,n,i);const s=new gs(this.lsOptions.fileSystemProvider.readDirectory),o=this.completionParticipants;this.completionParticipants=[s].concat(o);const a=this.doComplete(e,t,n,i);try{const t=await s.computeCompletions(e,r);return{isIncomplete:a.isIncomplete||t.isIncomplete,itemDefaults:a.itemDefaults,items:t.items.concat(a.items)}}finally{this.completionParticipants=o}}doComplete(e,t,n,r){this.offset=e.offsetAt(t),this.position=t,this.currentWord=function(e,t){let n=t-1;const r=e.getText();for(;n>=0&&-1===' \t\n\r":{[()]},*>+'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)}(e,this.offset),this.defaultReplaceRange=Ut.create(Pt.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n,this.documentSettings=r;try{const e={isIncomplete:!1,itemDefaults:{editRange:{start:{line:t.line,character:t.character-this.currentWord.length},end:t}},items:[]};this.nodePath=oe(this.styleSheet,this.offset);for(let t=this.nodePath.length-1;t>=0;t--){const n=this.nodePath[t];if(n instanceof Ce)this.getCompletionsForDeclarationProperty(n.getParent(),e);else if(n instanceof it)n.parent instanceof ft?this.getVariableProposals(null,e):this.getCompletionsForExpression(n,e);else if(n instanceof ve){const t=n.findAParent(X.ExtendsReference,X.Ruleset);if(t)if(t.type===X.ExtendsReference)this.getCompletionsForExtendsReference(t,n,e);else{const n=t;this.getCompletionsForSelector(n,n&&n.isNested(),e)}}else if(n instanceof Fe)this.getCompletionsForFunctionArgument(n,n.getParent(),e);else if(n instanceof me)this.getCompletionsForDeclarations(n,e);else if(n instanceof mt)this.getCompletionsForVariableDeclaration(n,e);else if(n instanceof ge)this.getCompletionsForRuleSet(n,e);else if(n instanceof ft)this.getCompletionsForInterpolation(n,e);else if(n instanceof Te)this.getCompletionsForFunctionDeclaration(n,e);else if(n instanceof wt)this.getCompletionsForMixinReference(n,e);else if(n instanceof ke)this.getCompletionsForFunctionArgument(null,n,e);else if(n instanceof je)this.getCompletionsForSupports(n,e);else if(n instanceof tt)this.getCompletionsForSupportsCondition(n,e);else if(n instanceof bt)this.getCompletionsForExtendsReference(n,null,e);else if(n.type===X.URILiteral)this.getCompletionForUriLiteralValue(n,e);else if(null===n.parent)this.getCompletionForTopLevel(e);else{if(n.type!==X.StringLiteral||!this.isImportPathParent(n.parent.type))continue;this.getCompletionForImportPath(n,e)}if(e.items.length>0||this.offset>n.offset)return this.finalize(e)}return this.getCompletionsForStylesheet(e),0===e.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,e),this.finalize(e)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}}isImportPathParent(e){return e===X.Import}finalize(e){return e}findInNodePath(...e){for(let t=this.nodePath.length-1;t>=0;t--){const n=this.nodePath[t];if(-1!==e.indexOf(n.type))return n}return null}getCompletionsForDeclarationProperty(e,t){return this.getPropertyProposals(e,t)}getPropertyProposals(e,t){const n=this.isTriggerPropertyValueCompletionEnabled,r=this.isCompletePropertyWithSemicolonEnabled;return this.cssDataManager.getProperties().forEach((i=>{let s,o,a=!1;e?(s=this.getCompletionRange(e.getProperty()),o=i.name,ns(e.colonPosition)||(o+=": ",a=!0)):(s=this.getCompletionRange(null),o=i.name+": ",a=!0),!e&&r&&(o+="$0;"),e&&!e.semicolonPosition&&r&&this.offset>=this.textDocument.offsetAt(s.end)&&(o+="$0;");const l={label:i.name,documentation:wi(i,this.doesSupportMarkdown()),tags:Fs(i)?[Kn.Deprecated]:[],textEdit:mn.replace(s,o),insertTextFormat:Bn.Snippet,kind:Vn.Property};i.restrictions||(a=!1),n&&a&&(l.command=ks);const c=(255-("number"==typeof i.relevance?Math.min(Math.max(i.relevance,0),99):50)).toString(16),h=te(i.name,"-")?xs.VendorPrefixed:xs.Normal;l.sortText=h+"_"+c,t.items.push(l)})),this.completionParticipants.forEach((e=>{e.onCssProperty&&e.onCssProperty({propertyName:this.currentWord,range:this.defaultReplaceRange})})),t}get isTriggerPropertyValueCompletionEnabled(){return this.documentSettings?.triggerPropertyValueCompletion??!0}get isCompletePropertyWithSemicolonEnabled(){return this.documentSettings?.completePropertyWithSemicolon??!0}getCompletionsForDeclarationValue(e,t){const n=e.getFullPropertyName(),r=this.cssDataManager.getProperty(n);let i=e.getValue()||null;for(;i&&i.hasChildren();)i=i.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((e=>{e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:n,propertyValue:this.currentWord,range:this.getCompletionRange(i)})})),r){if(r.restrictions)for(const e of r.restrictions)switch(e){case"color":this.getColorProposals(r,i,t);break;case"position":this.getPositionProposals(r,i,t);break;case"repeat":this.getRepeatStyleProposals(r,i,t);break;case"line-style":this.getLineStyleProposals(r,i,t);break;case"line-width":this.getLineWidthProposals(r,i,t);break;case"geometry-box":this.getGeometryBoxProposals(r,i,t);break;case"box":this.getBoxProposals(r,i,t);break;case"image":this.getImageProposals(r,i,t);break;case"timing-function":this.getTimingFunctionProposals(r,i,t);break;case"shape":this.getBasicShapeProposals(r,i,t)}this.getValueEnumProposals(r,i,t),this.getCSSWideKeywordProposals(r,i,t),this.getUnitProposals(r,i,t)}else{const n=function(e,t){const n=t.getFullPropertyName(),r=new Rs;function i(e){return(e instanceof pe||e instanceof ut||e instanceof lt)&&r.add(e.getText()),!0}function s(e){const t=e.getFullPropertyName();return n===t}function o(e){if(e instanceof Se&&e!==t&&s(e)){const t=e.getValue();t&&t.accept(i)}return!0}return e.accept(o),r}(this.styleSheet,e);for(const e of n.getEntries())t.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(i),e),kind:Vn.Value})}return this.getVariableProposals(i,t),this.getTermProposals(r,i,t),t}getValueEnumProposals(e,t,n){if(e.values)for(const r of e.values){let i,s=r.name;if(ne(s,")")){const e=s.lastIndexOf("(");-1!==e&&(s=s.substring(0,e+1)+"$1"+s.substring(e+1),i=_s)}let o=xs.Enums;te(r.name,"-")&&(o+=xs.VendorPrefixed);const a={label:r.name,documentation:wi(r,this.doesSupportMarkdown()),tags:Fs(e)?[Kn.Deprecated]:[],textEdit:mn.replace(this.getCompletionRange(t),s),sortText:o,kind:Vn.Value,insertTextFormat:i};n.items.push(a)}return n}getCSSWideKeywordProposals(e,t,n){for(const e in ji)n.items.push({label:e,documentation:ji[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});for(const e in Hi){const r=Ns(e);n.items.push({label:e,documentation:Hi[e],textEdit:mn.replace(this.getCompletionRange(t),r),kind:Vn.Function,insertTextFormat:_s,command:te(e,"var")?ks:void 0})}return n}getCompletionsForInterpolation(e,t){return this.offset>=e.offset+2&&this.getVariableProposals(null,t),t}getVariableProposals(e,t){const n=this.getSymbolContext().findSymbolsAtOffset(this.offset,Q.Variable);for(const r of n){const n=te(r.name,"--")?`var(${r.name})`:r.name,i={label:r.name,documentation:r.value?re(r.value):r.value,textEdit:mn.replace(this.getCompletionRange(e),n),kind:Vn.Variable,sortText:xs.Variable};if("string"==typeof i.documentation&&Li(i.documentation)&&(i.kind=Vn.Color),r.node.type===X.FunctionParameter){const e=r.node.getParent();e.type===X.MixinDeclaration&&(i.detail=Nt("argument from '{0}'",e.getName()))}t.items.push(i)}return t}getVariableProposalsForCSSVarFunction(e){const t=new Rs;this.styleSheet.acceptVisitor(new Ds(t,this.offset));let n=this.getSymbolContext().findSymbolsAtOffset(this.offset,Q.Variable);for(const r of n){if(te(r.name,"--")){const t={label:r.name,documentation:r.value?re(r.value):r.value,textEdit:mn.replace(this.getCompletionRange(null),r.name),kind:Vn.Variable};"string"==typeof t.documentation&&Li(t.documentation)&&(t.kind=Vn.Color),e.items.push(t)}t.remove(r.name)}for(const n of t.getEntries())if(te(n,"--")){const t={label:n,textEdit:mn.replace(this.getCompletionRange(null),n),kind:Vn.Variable};e.items.push(t)}return e}getUnitProposals(e,t,n){let r="0";if(this.currentWord.length>0){const e=this.currentWord.match(/^-?\d[\.\d+]*/);e&&(r=e[0],n.isIncomplete=r.length===this.currentWord.length)}else 0===this.currentWord.length&&(n.isIncomplete=!0);if(t&&t.parent&&t.parent.type===X.Term&&(t=t.getParent()),e.restrictions)for(const i of e.restrictions){const e=Yi[i];if(e)for(const i of e){const e=r+i;n.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Unit})}}return n}getCompletionRange(e){if(e&&e.offset<=this.offset&&this.offset<=e.end){const t=-1!==e.end?this.textDocument.positionAt(e.end):this.position,n=this.textDocument.positionAt(e.offset);if(n.line===t.line)return Ut.create(n,t)}return this.defaultReplaceRange}getColorProposals(e,t,n){for(const e in Ri)n.items.push({label:e,documentation:Ri[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Color});for(const e in Ii)n.items.push({label:e,documentation:Ii[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});const r=new Rs;this.styleSheet.acceptVisitor(new Is(r,this.offset));for(const e of r.getEntries())n.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Color});for(const e of Ei)n.items.push({label:e.label,detail:e.func,documentation:e.desc,textEdit:mn.replace(this.getCompletionRange(t),e.insertText),insertTextFormat:_s,kind:Vn.Function});return n}getPositionProposals(e,t,n){for(const e in Ui)n.items.push({label:e,documentation:Ui[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getRepeatStyleProposals(e,t,n){for(const e in Vi)n.items.push({label:e,documentation:Vi[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getLineStyleProposals(e,t,n){for(const e in $i)n.items.push({label:e,documentation:$i[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getLineWidthProposals(e,t,n){for(const e of Bi)n.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getGeometryBoxProposals(e,t,n){for(const e in Ki)n.items.push({label:e,documentation:Ki[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getBoxProposals(e,t,n){for(const e in qi)n.items.push({label:e,documentation:qi[e],textEdit:mn.replace(this.getCompletionRange(t),e),kind:Vn.Value});return n}getImageProposals(e,t,n){for(const e in Gi){const r=Ns(e);n.items.push({label:e,documentation:Gi[e],textEdit:mn.replace(this.getCompletionRange(t),r),kind:Vn.Function,insertTextFormat:e!==r?_s:void 0})}return n}getTimingFunctionProposals(e,t,n){for(const e in Ji){const r=Ns(e);n.items.push({label:e,documentation:Ji[e],textEdit:mn.replace(this.getCompletionRange(t),r),kind:Vn.Function,insertTextFormat:e!==r?_s:void 0})}return n}getBasicShapeProposals(e,t,n){for(const e in Xi){const r=Ns(e);n.items.push({label:e,documentation:Xi[e],textEdit:mn.replace(this.getCompletionRange(t),r),kind:Vn.Function,insertTextFormat:e!==r?_s:void 0})}return n}getCompletionsForStylesheet(e){const t=this.styleSheet.findFirstChildBeforeOffset(this.offset);return t?t instanceof ge?this.getCompletionsForRuleSet(t,e):t instanceof je?this.getCompletionsForSupports(t,e):e:this.getCompletionForTopLevel(e)}getCompletionForTopLevel(e){return this.cssDataManager.getAtDirectives().forEach((t=>{e.items.push({label:t.name,textEdit:mn.replace(this.getCompletionRange(null),t.name),documentation:wi(t,this.doesSupportMarkdown()),tags:Fs(t)?[Kn.Deprecated]:[],kind:Vn.Keyword})})),this.getCompletionsForSelector(null,!1,e),e}getCompletionsForRuleSet(e,t){const n=e.getDeclarations();if(n&&n.endsWith("}")&&this.offset>=n.end)return this.getCompletionForTopLevel(t);return!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)}getCompletionsForSelector(e,t,n){const r=this.findInNodePath(X.PseudoSelector,X.IdentifierSelector,X.ClassSelector,X.ElementNameSelector);!r&&this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,":")&&(this.currentWord=":"+this.currentWord,this.hasCharacterAtPosition(this.offset-this.currentWord.length-1,":")&&(this.currentWord=":"+this.currentWord),this.defaultReplaceRange=Ut.create(Pt.create(this.position.line,this.position.character-this.currentWord.length),this.position));this.cssDataManager.getPseudoClasses().forEach((e=>{const t=Ns(e.name),i={label:e.name,textEdit:mn.replace(this.getCompletionRange(r),t),documentation:wi(e,this.doesSupportMarkdown()),tags:Fs(e)?[Kn.Deprecated]:[],kind:Vn.Function,insertTextFormat:e.name!==t?_s:void 0};te(e.name,":-")&&(i.sortText=xs.VendorPrefixed),n.items.push(i)}));if(this.cssDataManager.getPseudoElements().forEach((e=>{const t=Ns(e.name),i={label:e.name,textEdit:mn.replace(this.getCompletionRange(r),t),documentation:wi(e,this.doesSupportMarkdown()),tags:Fs(e)?[Kn.Deprecated]:[],kind:Vn.Function,insertTextFormat:e.name!==t?_s:void 0};te(e.name,"::-")&&(i.sortText=xs.VendorPrefixed),n.items.push(i)})),!t){for(const e of Qi)n.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(r),e),kind:Vn.Keyword});for(const e of Zi)n.items.push({label:e,textEdit:mn.replace(this.getCompletionRange(r),e),kind:Vn.Keyword})}const i={};i[this.currentWord]=!0;const s=this.textDocument.getText();if(this.styleSheet.accept((e=>{if(e.type===X.SimpleSelector&&e.length>0){const t=s.substr(e.offset,e.length);return"."!==t.charAt(0)||i[t]||(i[t]=!0,n.items.push({label:t,textEdit:mn.replace(this.getCompletionRange(r),t),kind:Vn.Keyword})),!1}return!0})),e&&e.isNested()){const t=e.getSelectors().findFirstChildBeforeOffset(this.offset);t&&0===e.getSelectors().getChildren().indexOf(t)&&this.getPropertyProposals(null,n)}return n}getCompletionsForDeclarations(e,t){if(!e||this.offset===e.offset)return t;const n=e.findFirstChildBeforeOffset(this.offset);if(!n)return this.getCompletionsForDeclarationProperty(null,t);if(n instanceof ye){const e=n;if(!ns(e.colonPosition)||this.offset<=e.colonPosition)return this.getCompletionsForDeclarationProperty(e,t);if(ns(e.semicolonPosition)&&e.semicolonPositione.colonPosition&&this.getVariableProposals(e.getValue()||null,t),t}getCompletionsForExpression(e,t){const n=e.getParent();if(n instanceof Fe)return this.getCompletionsForFunctionArgument(n,n.getParent(),t),t;const r=e.findParent(X.Declaration);if(!r)return this.getTermProposals(void 0,null,t),t;const i=e.findChildAtOffset(this.offset,!0);return i?i instanceof ut||i instanceof pe?this.getCompletionsForDeclarationValue(r,t):t:this.getCompletionsForDeclarationValue(r,t)}getCompletionsForFunctionArgument(e,t,n){const r=t.getIdentifier();return r&&r.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n}getCompletionsForFunctionDeclaration(e,t){const n=e.getDeclarations();return n&&this.offset>n.offset&&this.offset{e.onCssMixinReference&&e.onCssMixinReference({mixinName:this.currentWord,range:this.getCompletionRange(r)})})),t}getTermProposals(e,t,n){const r=this.getSymbolContext().findSymbolsAtOffset(this.offset,Q.Function);for(const e of r)e.node instanceof Te&&n.items.push(this.makeTermProposal(e,e.node.getParameters(),t));return n}makeTermProposal(e,t,n){e.node;const r=t.getChildren().map((e=>e instanceof Ee?e.getName():e.getText())),i=e.name+"("+r.map(((e,t)=>"${"+(t+1)+":"+e+"}")).join(", ")+")";return{label:e.name,detail:e.name+"("+r.join(", ")+")",textEdit:mn.replace(this.getCompletionRange(n),i),insertTextFormat:_s,kind:Vn.Function,sortText:xs.Term}}getCompletionsForSupportsCondition(e,t){const n=e.findFirstChildBeforeOffset(this.offset);if(n){if(n instanceof Se)return!ns(n.colonPosition)||this.offset<=n.colonPosition?this.getCompletionsForDeclarationProperty(n,t):this.getCompletionsForDeclarationValue(n,t);if(n instanceof tt)return this.getCompletionsForSupportsCondition(n,t)}return ns(e.lParent)&&this.offset>e.lParent&&(!ns(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t}getCompletionsForSupports(e,t){const n=e.getDeclarations();if(!n||this.offset<=n.offset){const n=e.findFirstChildBeforeOffset(this.offset);return n instanceof tt?this.getCompletionsForSupportsCondition(n,t):t}return this.getCompletionForTopLevel(t)}getCompletionsForExtendsReference(e,t,n){return n}getCompletionForUriLiteralValue(e,t){let n,r,i;if(e.hasChildren()){const t=e.getChild(0);n=t.getText(),r=this.position,i=this.getCompletionRange(t)}else{n="",r=this.position;const t=this.textDocument.positionAt(e.offset+4);i=Ut.create(t,t)}return this.completionParticipants.forEach((e=>{e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:r,range:i})})),t}getCompletionForImportPath(e,t){return this.completionParticipants.forEach((t=>{t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:this.position,range:this.getCompletionRange(e)})})),t}hasCharacterAtPosition(e,t){const n=this.textDocument.getText();return e>=0&&e"),this.writeLine(t,r.join(""))}};!function(e){function t(e){const t=e.match(/^['"](.*)["']$/);return t?t[1]:e}e.ensure=function(e,n){return n+t(e)+n},e.remove=t}(Ms||(Ms={}));var Os=class{constructor(){this.id=0,this.attr=0,this.tag=0}};function Ps(e,t){let n=new Ts;for(const r of e.getChildren())switch(r.type){case X.SelectorCombinator:if(t){const e=r.getText().split("&");if(1===e.length){n.addAttr("name",e[0]);break}if(n=t.cloneWithParent(),e[0]){n.findRoot().prepend(e[0])}for(let r=1;r1){const e=t.cloneWithParent();n.addChild(e.findRoot()),n=e}n.append(e[r])}}break;case X.SelectorPlaceholder:if(r.matches("@at-root"))return n;case X.ElementNameSelector:const e=r.getText();n.addAttr("name","*"===e?"element":Ws(e));break;case X.ClassSelector:n.addAttr("class",Ws(r.getText().substring(1)));break;case X.IdentifierSelector:n.addAttr("id",Ws(r.getText().substring(1)));break;case X.MixinDeclaration:n.addAttr("class",r.getName());break;case X.PseudoSelector:n.addAttr(Ws(r.getText()),"");break;case X.AttributeSelector:const i=r,s=i.getIdentifier();if(s){const e=i.getValue(),t=i.getOperator();let r;if(e&&t)switch(Ws(t.getText())){case"|=":r=`${Ms.remove(Ws(e.getText()))}-…`;break;case"^=":r=`${Ms.remove(Ws(e.getText()))}…`;break;case"$=":r=`…${Ms.remove(Ws(e.getText()))}`;break;case"~=":r=` … ${Ms.remove(Ws(e.getText()))} … `;break;case"*=":r=`…${Ms.remove(Ws(e.getText()))}…`;break;default:r=Ms.remove(Ws(e.getText()))}n.addAttr(Ws(s.getText()),r)}}return n}function Ws(e){const t=new ee;t.setSource(e);const n=t.scanUnquotedString();return n?n.text:e}var Us=class{constructor(e){this.cssDataManager=e}selectorToMarkedString(e,t){const n=function(e){if(e.matches("@at-root"))return null;const t=new Ls,n=[],r=e.getParent();if(r instanceof ge){let e=r.getParent();for(;e&&!$s(e);){if(e instanceof ge){if(e.getSelectors().matches("@at-root"))break;n.push(e)}e=e.getParent()}}const i=new Vs(t);for(let e=n.length-1;e>=0;e--){const t=n[e].getSelectors().getChild(0);t&&i.processSelector(t)}return i.processSelector(e),t}(e);if(n){const r=new zs('"').print(n,t);return r.push(this.selectorToSpecificityMarkedString(e)),r}return[]}simpleSelectorToMarkedString(e){const t=Ps(e),n=new zs('"').print(t);return n.push(this.selectorToSpecificityMarkedString(e)),n}isPseudoElementIdentifier(e){const t=e.match(/^::?([\w-]+)/);return!!t&&!!this.cssDataManager.getPseudoElement("::"+t[1])}selectorToSpecificityMarkedString(e){const t=e=>{const t=new Os;let r=new Os;for(const t of e)for(const e of t.getChildren()){const t=n(e);t.id>r.id?r=t:t.idr.attr?r=t:t.attrr.tag&&(r=t))}return t.id+=r.id,t.attr+=r.attr,t.tag+=r.tag,t},n=e=>{const r=new Os;e:for(const i of e.getChildren()){switch(i.type){case X.IdentifierSelector:r.id++;break;case X.ClassSelector:case X.AttributeSelector:r.attr++;break;case X.ElementNameSelector:if(i.matches("*"))break;r.tag++;break;case X.PseudoSelector:const e=i.getText(),n=i.getChildren();if(this.isPseudoElementIdentifier(e)){if(e.match(/^::slotted/i)&&n.length>0){r.tag++;let e=t(n);r.id+=e.id,r.attr+=e.attr,r.tag+=e.tag;continue e}r.tag++;continue e}if(e.match(/^:where/i))continue e;if(e.match(/^:(?:not|has|is)/i)&&n.length>0){let e=t(n);r.id+=e.id,r.attr+=e.attr,r.tag+=e.tag;continue e}if(e.match(/^:(?:host|host-context)/i)&&n.length>0){r.attr++;let e=t(n);r.id+=e.id,r.attr+=e.attr,r.tag+=e.tag;continue e}if(e.match(/^:(?:nth-child|nth-last-child)/i)&&n.length>0){if(r.attr++,3===n.length&&23===n[1].type){let e=t(n[2].getChildren());r.id+=e.id,r.attr+=e.attr,r.tag+=e.tag;continue e}const e=new rs,i=n[1].getText();e.scanner.setSource(i);const s=e.scanner.scan(),o=e.scanner.scan();if("n"===s.text||"-n"===s.text&&"of"===o.text){const n=[],s=i.slice(o.offset+2).split(",");for(const t of s){const r=e.internalParse(t,e._parseSelector);r&&n.push(r)}let a=t(n);r.id+=a.id,r.attr+=a.attr,r.tag+=a.tag;continue e}continue e}r.attr++;continue e}if(i.getChildren().length>0){const e=n(i);r.id+=e.id,r.attr+=e.attr,r.tag+=e.tag}}return r},r=n(e);return`[${Nt("Selector Specificity")}](https://developer.mozilla.org/docs/Web/CSS/Specificity): (${r.id}, ${r.attr}, ${r.tag})`}},Vs=class{constructor(e){this.prev=null,this.element=e}processSelector(e){let t=null;if(!(this.element instanceof Ls)&&e.getChildren().some((e=>e.hasChildren()&&e.getChild(0).type===X.SelectorCombinator))){const e=this.element.findRoot();e.parent instanceof Ls&&(t=this.element,this.element=e.parent,this.element.removeChild(e),this.prev=null)}for(const n of e.getChildren()){if(n instanceof ve){if(this.prev instanceof ve){const e=new As("…");this.element.addChild(e),this.element=e}else this.prev&&(this.prev.matches("+")||this.prev.matches("~"))&&this.element.parent&&(this.element=this.element.parent);this.prev&&this.prev.matches("~")&&this.element.addChild(new As("⋮"));const e=Ps(n,t),r=e.findRoot();this.element.addChild(r),this.element=e}(n instanceof ve||n.type===X.SelectorCombinatorParent||n.type===X.SelectorCombinatorShadowPiercingDescendant||n.type===X.SelectorCombinatorSibling||n.type===X.SelectorCombinatorAllSiblings)&&(this.prev=n)}}};function $s(e){switch(e.type){case X.MixinDeclaration:case X.Stylesheet:return!0}return!1}var Bs=class{constructor(e,t){this.clientCapabilities=e,this.cssDataManager=t,this.selectorPrinting=new Us(t)}configure(e){this.defaultSettings=e}doHover(e,t,n,r=this.defaultSettings){function i(t){return Ut.create(e.positionAt(t.offset),e.positionAt(t.end))}const s=oe(n,e.offsetAt(t));let o,a=null;for(let e=0;e"string"==typeof e?e:e.value)):e.value}doesSupportMarkdown(){if(!ns(this.supportsMarkdown)){if(!ns(this.clientCapabilities))return this.supportsMarkdown=!0,this.supportsMarkdown;const e=this.clientCapabilities.textDocument&&this.clientCapabilities.textDocument.hover;this.supportsMarkdown=e&&e.contentFormat&&Array.isArray(e.contentFormat)&&-1!==e.contentFormat.indexOf(Pn.Markdown)}return this.supportsMarkdown}},qs=/^\w+:\/\//,Ks=/^data:/,js=class{constructor(e,t){this.fileSystemProvider=e,this.resolveModuleReferences=t}configure(e){this.defaultSettings=e}findDefinition(e,t,n){const r=new ds(n),i=se(n,e.offsetAt(t));if(!i)return null;const s=r.findSymbolFromNode(i);return s?{uri:e.uri,range:Hs(s.node,e)}:null}findReferences(e,t,n){return this.findDocumentHighlights(e,t,n).map((t=>({uri:e.uri,range:t.range})))}getHighlightNode(e,t,n){let r=se(n,e.offsetAt(t));if(r&&r.type!==X.Stylesheet&&r.type!==X.Declarations)return r.type===X.Identifier&&r.parent&&r.parent.type===X.ClassSelector&&(r=r.parent),r}findDocumentHighlights(e,t,n){const r=[],i=this.getHighlightNode(e,t,n);if(!i)return r;const s=new ds(n),o=s.findSymbolFromNode(i),a=i.getText();return n.accept((t=>{if(o){if(s.matchesSymbol(t,o))return r.push({kind:Js(t),range:Hs(t,e)}),!1}else i&&i.type===t.type&&t.matches(a)&&r.push({kind:Js(t),range:Hs(t,e)});return!0})),r}isRawStringDocumentLinkNode(e){return e.type===X.Import}findDocumentLinks(e,t,n){const r=this.findUnresolvedLinks(e,t),i=[];for(let t of r){const r=t.link,s=r.target;if(!s||Ks.test(s));else if(qs.test(s))i.push(r);else{const t=n.resolveReference(s,e.uri);t&&(r.target=t),i.push(r)}}return i}async findDocumentLinks2(e,t,n){const r=this.findUnresolvedLinks(e,t),i=[];for(let t of r){const r=t.link,s=r.target;if(!s||Ks.test(s));else if(qs.test(s))i.push(r);else{const o=await this.resolveReference(s,e.uri,n,t.isRawLink);void 0!==o&&(r.target=o,i.push(r))}}return i}findUnresolvedLinks(e,t){const n=[],r=t=>{let r=t.getText();const i=Hs(t,e);if(i.start.line===i.end.line&&i.start.character===i.end.character)return;(te(r,"'")||te(r,'"'))&&(r=r.slice(1,-1));const s=!!t.parent&&this.isRawStringDocumentLinkNode(t.parent);n.push({link:{target:r,range:i},isRawLink:s})};return t.accept((e=>{if(e.type===X.URILiteral){const t=e.getChild(0);return t&&r(t),!1}if(e.parent&&this.isRawStringDocumentLinkNode(e.parent)){const t=e.getText();return(te(t,"'")||te(t,'"'))&&r(e),!1}return!0})),n}findSymbolInformations(e,t){const n=[];return this.collectDocumentSymbols(e,t,((t,r,i)=>{const s=i instanceof ce?Hs(i,e):i,o={name:t||Nt(""),kind:r,location:$t.create(e.uri,s)};n.push(o)})),n}findDocumentSymbols(e,t){const n=[],r=[];return this.collectDocumentSymbols(e,t,((t,i,s,o,a)=>{const l=s instanceof ce?Hs(s,e):s;let c=o instanceof ce?Hs(o,e):o;c&&Gs(l,c)||(c=Ut.create(l.start,l.start));const h={name:t||Nt(""),kind:i,range:l,selectionRange:c};let d=r.pop();for(;d&&!Gs(d[1],l);)d=r.pop();if(d){const e=d[0];e.children||(e.children=[]),e.children.push(h),r.push(d)}else n.push(h);a&&r.push([h,Hs(a,e)])})),n}collectDocumentSymbols(e,t,n){t.accept((t=>{if(t instanceof ge){for(const r of t.getSelectors().getChildren())if(r instanceof be){const i=Ut.create(e.positionAt(r.offset),e.positionAt(t.end));n(r.getText(),ar.Class,i,r,t.getDeclarations())}}else if(t instanceof mt)n(t.getName(),ar.Variable,t,t.getVariable(),void 0);else if(t instanceof St)n(t.getName(),ar.Method,t,t.getIdentifier(),t.getDeclarations());else if(t instanceof Te)n(t.getName(),ar.Function,t,t.getIdentifier(),t.getDeclarations());else if(t instanceof Oe){const e=Nt("@keyframes {0}",t.getName());n(e,ar.Class,t,t.getIdentifier(),t.getDeclarations())}else if(t instanceof Ae){const e=Nt("@font-face");n(e,ar.Class,t,void 0,t.getDeclarations())}else if(t instanceof Ke){const e=t.getChild(0);if(e instanceof Ye){const r="@media "+e.getText();n(r,ar.Module,t,e,t.getDeclarations())}}return!0}))}findDocumentColors(e,t){const n=[];return t.accept((t=>{const r=function(e,t){const n=Wi(e);if(n){return{color:n,range:Hs(e,t)}}return null}(t,e);return r&&n.push(r),!0})),n}getColorPresentations(e,t,n,r){const i=[],s=Math.round(255*n.red),o=Math.round(255*n.green),a=Math.round(255*n.blue);let l;l=1===n.alpha?`rgb(${s}, ${o}, ${a})`:`rgba(${s}, ${o}, ${a}, ${n.alpha})`,i.push({label:l,textEdit:mn.replace(r,l)}),l=1===n.alpha?`#${Xs(s)}${Xs(o)}${Xs(a)}`:`#${Xs(s)}${Xs(o)}${Xs(a)}${Xs(Math.round(255*n.alpha))}`,i.push({label:l,textEdit:mn.replace(r,l)});const c=Pi(n);l=1===c.a?`hsl(${c.h}, ${Math.round(100*c.s)}%, ${Math.round(100*c.l)}%)`:`hsla(${c.h}, ${Math.round(100*c.s)}%, ${Math.round(100*c.l)}%, ${c.a})`,i.push({label:l,textEdit:mn.replace(r,l)});const h=function(e){const t=Pi(e),n=Math.min(e.red,e.green,e.blue),r=1-Math.max(e.red,e.green,e.blue);return{h:t.h,w:n,b:r,a:t.a}}(n);return l=1===h.a?`hwb(${h.h} ${Math.round(100*h.w)}% ${Math.round(100*h.b)}%)`:`hwb(${h.h} ${Math.round(100*h.w)}% ${Math.round(100*h.b)}% / ${h.a})`,i.push({label:l,textEdit:mn.replace(r,l)}),i}prepareRename(e,t,n){const r=this.getHighlightNode(e,t,n);if(r)return Ut.create(e.positionAt(r.offset),e.positionAt(r.end))}doRename(e,t,n,r){const i=this.findDocumentHighlights(e,t,r).map((e=>mn.replace(e.range,n)));return{changes:{[e.uri]:i}}}async resolveModuleReference(e,t,n){if(te(t,"file://")){const r=function(e){const t=e.indexOf("/");if(-1===t)return"";if("@"===e[0]){const n=e.indexOf("/",t+1);return-1===n?e:e.substring(0,n)}return e.substring(0,t)}(e);if(r&&"."!==r&&".."!==r){const i=n.resolveReference("/",t),s=ms(t),o=await this.resolvePathToModule(r,s,i);if(o){return fs(o,e.substring(r.length+1))}}}}async mapReference(e,t){return e}async resolveReference(e,t,n,r=!1,i=this.defaultSettings){if("~"===e[0]&&"/"!==e[1]&&this.fileSystemProvider)return e=e.substring(1),this.mapReference(await this.resolveModuleReference(e,t,n),r);const s=await this.mapReference(n.resolveReference(e,t),r);if(this.resolveModuleReferences){if(s&&await this.fileExists(s))return s;const i=await this.mapReference(await this.resolveModuleReference(e,t,n),r);if(i)return i}if(s&&!await this.fileExists(s)){const s=n.resolveReference("/",t);if(i&&s){if(e in i)return this.mapReference(fs(s,i[e]),r);const t=e.indexOf("/"),n=`${e.substring(0,t)}/`;if(n in i){let t=fs(s,i[n].slice(0,-1));return this.mapReference(t=fs(t,e.substring(n.length-1)),r)}}}return s}async resolvePathToModule(e,t,n){const r=fs(t,"node_modules",e,"package.json");return await this.fileExists(r)?ms(r):n&&t.startsWith(n)&&t.length!==n.length?this.resolvePathToModule(e,ms(t),n):void 0}async fileExists(e){if(!this.fileSystemProvider)return!1;try{const t=await this.fileSystemProvider.stat(e);return t.type!==di.Unknown||-1!==t.size}catch(e){return!1}}};function Hs(e,t){return Ut.create(t.positionAt(e.offset),t.positionAt(e.end))}function Gs(e,t){const n=t.start.line,r=t.end.line,i=e.start.line,s=e.end.line;return!(ns||r>s)&&(!(n===i&&t.start.charactere.end.character)))}function Js(e){if(e.type===X.Selector)return ir.Write;if(e instanceof pe&&e.parent&&e.parent instanceof Ce&&e.isCustomProperty)return ir.Write;if(e.parent)switch(e.parent.type){case X.FunctionDeclaration:case X.MixinDeclaration:case X.Keyframe:case X.VariableDeclaration:case X.FunctionParameter:return ir.Write}return ir.Read}function Xs(e){const t=e.toString(16);return 2!==t.length?"0"+t:t}var Ys=ae.Warning,Qs=ae.Error,Zs=ae.Ignore,eo=class{constructor(e,t,n){this.id=e,this.message=t,this.defaultValue=n}},to={AllVendorPrefixes:new eo("compatibleVendorPrefixes",Nt("When using a vendor-specific prefix make sure to also include all other vendor-specific properties"),Zs),IncludeStandardPropertyWhenUsingVendorPrefix:new eo("vendorPrefix",Nt("When using a vendor-specific prefix also include the standard property"),Ys),DuplicateDeclarations:new eo("duplicateProperties",Nt("Do not use duplicate style definitions"),Zs),EmptyRuleSet:new eo("emptyRules",Nt("Do not use empty rulesets"),Ys),ImportStatemement:new eo("importStatement",Nt("Import statements do not load in parallel"),Zs),BewareOfBoxModelSize:new eo("boxModel",Nt("Do not use width or height when using padding or border"),Zs),UniversalSelector:new eo("universalSelector",Nt("The universal selector (*) is known to be slow"),Zs),ZeroWithUnit:new eo("zeroUnits",Nt("No unit for zero needed"),Zs),RequiredPropertiesForFontFace:new eo("fontFaceProperties",Nt("@font-face rule must define 'src' and 'font-family' properties"),Ys),HexColorLength:new eo("hexColorLength",Nt("Hex colors must consist of three, four, six or eight hex numbers"),Qs),ArgsInColorFunction:new eo("argumentsInColorFunction",Nt("Invalid number of parameters"),Qs),UnknownProperty:new eo("unknownProperties",Nt("Unknown property."),Ys),UnknownAtRules:new eo("unknownAtRules",Nt("Unknown at-rule."),Ys),IEStarHack:new eo("ieHack",Nt("IE hacks are only necessary when supporting IE7 and older"),Zs),UnknownVendorSpecificProperty:new eo("unknownVendorSpecificProperties",Nt("Unknown vendor specific property."),Zs),PropertyIgnoredDueToDisplay:new eo("propertyIgnoredDueToDisplay",Nt("Property is ignored due to the display."),Ys),AvoidImportant:new eo("important",Nt("Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."),Zs),AvoidFloat:new eo("float",Nt("Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."),Zs),AvoidIdSelector:new eo("idSelector",Nt("Selectors should not contain IDs because these rules are too tightly coupled with the HTML."),Zs)},no={ValidProperties:new class{constructor(e,t,n){this.id=e,this.message=t,this.defaultValue=n}}("validProperties",Nt("A list of properties that are not validated against the `unknownProperties` rule."),[])},ro=class{constructor(e={}){this.conf=e}getRule(e){if(this.conf.hasOwnProperty(e.id)){const t=function(e){switch(e){case"ignore":return ae.Ignore;case"warning":return ae.Warning;case"error":return ae.Error}return null}(this.conf[e.id]);if(t)return t}return e.defaultValue}getSetting(e){return this.conf[e.id]}};var io=class{constructor(e){this.cssDataManager=e}doCodeActions(e,t,n,r){return this.doCodeActions2(e,t,n,r).map((t=>{const n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return pn.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))}doCodeActions2(e,t,n,r){const i=[];if(n.diagnostics)for(const t of n.diagnostics)this.appendFixesForMarker(e,r,t,i);return i}getFixesForUnknownProperty(e,t,n,r){const i=t.getName(),s=[];this.cssDataManager.getProperties().forEach((e=>{const t=function(e,t,n=4){let r=Math.abs(e.length-t.length);if(r>n)return 0;let i,s,o=[],a=[];for(i=0;i=i.length/2&&s.push({property:e.name,score:t})})),s.sort(((e,t)=>t.score-e.score||e.property.localeCompare(t.property)));let o=3;for(const t of s){const i=t.property,s=Nt("Rename to '{0}'",i),a=mn.replace(n.range,i),l=Mn.create(e.uri,e.version),c={documentChanges:[Sn.create(l,[a])]},h=wr.create(s,c,mr.QuickFix);if(h.diagnostics=[n],r.push(h),--o<=0)return}}appendFixesForMarker(e,t,n,r){if(n.code!==to.UnknownProperty.id)return;const i=e.offsetAt(n.range.start),s=e.offsetAt(n.range.end),o=oe(t,i);for(let t=o.length-1;t>=0;t--){const a=o[t];if(a instanceof Se){const t=a.getProperty();if(t&&t.offset===i&&t.end===s)return void this.getFixesForUnknownProperty(e,t,n,r)}}}},so=class{constructor(e){this.fullPropertyName=e.getFullPropertyName().toLowerCase(),this.node=e}};function oo(e,t,n,r){const i=e[t];i.value=n,n&&(is(i.properties,r)||i.properties.push(r))}function ao(e,t,n,r){"top"===t||"right"===t||"bottom"===t||"left"===t?oo(e,t,n,r):function(e,t,n){oo(e,"top",t,n),oo(e,"right",t,n),oo(e,"bottom",t,n),oo(e,"left",t,n)}(e,n,r)}function lo(e,t,n){switch(t.length){case 1:ao(e,void 0,t[0],n);break;case 2:ao(e,"top",t[0],n),ao(e,"bottom",t[0],n),ao(e,"right",t[1],n),ao(e,"left",t[1],n);break;case 3:ao(e,"top",t[0],n),ao(e,"right",t[1],n),ao(e,"left",t[1],n),ao(e,"bottom",t[2],n);break;case 4:ao(e,"top",t[0],n),ao(e,"right",t[1],n),ao(e,"bottom",t[2],n),ao(e,"left",t[3],n)}}function co(e,t){for(let n of t)if(e.matches(n))return!0;return!1}function ho(e,t=!0){return(!t||!co(e,["initial","unset"]))&&0!==parseFloat(e.getText())}function po(e,t=!0){return e.map((e=>ho(e,t)))}function uo(e,t=!0){return!co(e,["none","hidden"])&&(!t||!co(e,["initial","unset"]))}function mo(e,t=!0){return e.map((e=>uo(e,t)))}function fo(e){const t=e.getChildren();if(1===t.length){const e=t[0];return ho(e)&&uo(e)}for(const e of t){const t=e;if(!ho(t,!1)||!uo(t,!1))return!1}return!0}var go=class{constructor(){this.data={}}add(e,t,n){let r=this.data[e];r||(r={nodes:[],names:[]},this.data[e]=r),r.names.push(t),n&&r.nodes.push(n)}},bo=class e{static entries(t,n,r,i,s){const o=new e(n,r,i);return t.acceptVisitor(o),o.completeValidations(),o.getEntries(s)}constructor(e,t,n){this.cssDataManager=n,this.warnings=[],this.settings=t,this.documentText=e.getText(),this.keyframes=new go,this.validProperties={};const r=t.getSetting(no.ValidProperties);Array.isArray(r)&&r.forEach((e=>{if("string"==typeof e){const t=e.trim().toLowerCase();t.length&&(this.validProperties[t]=!0)}}))}isValidPropertyDeclaration(e){const t=e.fullPropertyName;return this.validProperties[t]}fetch(e,t){const n=[];for(const r of e)r.fullPropertyName===t&&n.push(r);return n}fetchWithValue(e,t,n){const r=[];for(const i of e)if(i.fullPropertyName===t){const e=i.node.getValue();e&&this.findValueInExpression(e,n)&&r.push(i)}return r}findValueInExpression(e,t){let n=!1;return e.accept((e=>(e.type===X.Identifier&&e.matches(t)&&(n=!0),!n))),n}getEntries(e=ae.Warning|ae.Error){return this.warnings.filter((t=>!!(t.getLevel()&e)))}addEntry(e,t,n){const r=new Ft(e,t,this.settings.getRule(t),n);this.warnings.push(r)}getMissingNames(e,t){const n=e.slice(0);for(let e=0;e0){const e=this.fetch(r,"float");for(let t=0;t0){const e=this.fetch(r,"vertical-align");for(let t=0;t1)for(let n=0;ne.startsWith(i)))&&a.delete(t)}}const l=[];for(let t=0,n=e.prefixes.length;t!(e instanceof st)||(r+=1,!1))),r!==n&&this.addEntry(e,to.ArgsInColorFunction)),!0}};bo.prefixes=["-ms-","-moz-","-o-","-webkit-"];var vo=class{constructor(e){this.cssDataManager=e}configure(e){this.settings=e}doValidation(e,t,n=this.settings){if(n&&!1===n.validate)return[];const r=[];r.push.apply(r,Rt.entries(t)),r.push.apply(r,bo.entries(t,e,new ro(n&&n.lint),this.cssDataManager));const i=[];for(const e in to)i.push(to[e].id);return r.filter((e=>e.getLevel()!==ae.Ignore)).map((function(t){const n=Ut.create(e.positionAt(t.getOffset()),e.positionAt(t.getOffset()+t.getLength())),r=e.languageId;return{code:t.getRule().id,source:r,message:t.getMessage(),severity:t.getLevel()===ae.Warning?sn.Warning:sn.Error,range:n}}))}},yo="/".charCodeAt(0),wo="\n".charCodeAt(0),So="\r".charCodeAt(0),xo="\f".charCodeAt(0),Co="$".charCodeAt(0),_o="#".charCodeAt(0),ko="{".charCodeAt(0),Eo="=".charCodeAt(0),Fo="!".charCodeAt(0),Ro="<".charCodeAt(0),No=">".charCodeAt(0),Io=".".charCodeAt(0),Do=("@".charCodeAt(0),e.CustomToken),Mo=Do++,To=Do++,Lo=(Do++,Do++),Ao=Do++,zo=Do++,Oo=Do++,Po=Do++,Wo=(Do++,class extends ee{scanNext(t){if(this.stream.advanceIfChar(Co)){const e=["$"];if(this.ident(e))return this.finishToken(t,Mo,e.join(""));this.stream.goBackTo(t)}return this.stream.advanceIfChars([_o,ko])?this.finishToken(t,To):this.stream.advanceIfChars([Eo,Eo])?this.finishToken(t,Lo):this.stream.advanceIfChars([Fo,Eo])?this.finishToken(t,Ao):this.stream.advanceIfChar(Ro)?this.stream.advanceIfChar(Eo)?this.finishToken(t,Oo):this.finishToken(t,e.Delim):this.stream.advanceIfChar(No)?this.stream.advanceIfChar(Eo)?this.finishToken(t,zo):this.finishToken(t,e.Delim):this.stream.advanceIfChars([Io,Io,Io])?this.finishToken(t,Po):super.scanNext(t)}comment(){return!!super.comment()||!(this.inURL||!this.stream.advanceIfChars([yo,yo]))&&(this.stream.advanceWhileChar((e=>{switch(e){case wo:case So:case xo:return!1;default:return!0}})),!0)}}),Uo=class{constructor(e,t){this.id=e,this.message=t}},Vo={FromExpected:new Uo("scss-fromexpected",Nt("'from' expected")),ThroughOrToExpected:new Uo("scss-throughexpected",Nt("'through' or 'to' expected")),InExpected:new Uo("scss-fromexpected",Nt("'in' expected"))},$o=class extends rs{constructor(){super(new Wo)}_parseStylesheetStatement(t=!1){return this.peek(e.AtKeyword)?this._parseWarnAndDebug()||this._parseControlStatement()||this._parseMixinDeclaration()||this._parseMixinContent()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseForward()||this._parseUse()||this._parseRuleset(t)||super._parseStylesheetAtStatement(t):this._parseRuleset(!0)||this._parseVariableDeclaration()}_parseImport(){if(!this.peekKeyword("@import"))return null;const t=this.create(We);if(this.consumeToken(),!t.addChild(this._parseURILiteral())&&!t.addChild(this._parseStringLiteral()))return this.finish(t,si.URIOrStringExpected);for(;this.accept(e.Comma);)if(!t.addChild(this._parseURILiteral())&&!t.addChild(this._parseStringLiteral()))return this.finish(t,si.URIOrStringExpected);return this._completeParseImport(t)}_parseVariableDeclaration(t=[]){if(!this.peek(Mo))return null;const n=this.create(mt);if(!n.setVariable(this._parseVariable()))return null;if(!this.accept(e.Colon))return this.finish(n,si.ColonExpected);if(this.prevToken&&(n.colonPosition=this.prevToken.offset),!n.setValue(this._parseExpr()))return this.finish(n,si.VariableValueExpected,[],t);for(;this.peek(e.Exclamation);)if(n.addChild(this._tryParsePrio()));else{if(this.consumeToken(),!this.peekRegExp(e.Ident,/^(default|global)$/))return this.finish(n,si.UnknownKeyword);this.consumeToken()}return this.peek(e.SemiColon)&&(n.semicolonPosition=this.token.offset),this.finish(n)}_parseMediaCondition(){return this._parseInterpolation()||super._parseMediaCondition()}_parseMediaFeatureRangeOperator(){return this.accept(Oo)||this.accept(zo)||super._parseMediaFeatureRangeOperator()}_parseMediaFeatureName(){return this._parseModuleMember()||this._parseFunction()||this._parseIdent()||this._parseVariable()}_parseKeyframeSelector(){return this._tryParseKeyframeSelector()||this._parseControlStatement(this._parseKeyframeSelector.bind(this))||this._parseWarnAndDebug()||this._parseMixinReference()||this._parseFunctionDeclaration()||this._parseVariableDeclaration()||this._parseMixinContent()}_parseVariable(){if(!this.peek(Mo))return null;const e=this.create(gt);return this.consumeToken(),e}_parseModuleMember(){const e=this.mark(),t=this.create(Et);return t.setIdentifier(this._parseIdent([Q.Module]))?this.hasWhitespace()||!this.acceptDelim(".")||this.hasWhitespace()?(this.restoreAtMark(e),null):t.addChild(this._parseVariable()||this._parseFunction())?t:this.finish(t,si.IdentifierOrVariableExpected):null}_parseIdent(t){if(!this.peek(e.Ident)&&!this.peek(To)&&!this.peekDelim("-"))return null;const n=this.create(pe);n.referenceTypes=t,n.isCustomProperty=this.peekRegExp(e.Ident,/^--/);let r=!1;const i=()=>{const e=this.mark();return this.acceptDelim("-")&&(this.hasWhitespace()||this.acceptDelim("-"),this.hasWhitespace())?(this.restoreAtMark(e),null):this._parseInterpolation()};for(;(this.accept(e.Ident)||n.addChild(i())||r&&this.acceptRegexp(/^[\w-]/))&&(r=!0,!this.hasWhitespace()););return r?this.finish(n):null}_parseTermExpression(){return this._parseModuleMember()||this._parseVariable()||this._parseNestingSelector()||super._parseTermExpression()}_parseInterpolation(){if(this.peek(To)){const t=this.create(ft);return this.consumeToken(),t.addChild(this._parseExpr())||this._parseNestingSelector()?this.accept(e.CurlyR)?this.finish(t):this.finish(t,si.RightCurlyExpected):this.accept(e.CurlyR)?this.finish(t):this.finish(t,si.ExpressionExpected)}return null}_parseOperator(){if(this.peek(Lo)||this.peek(Ao)||this.peek(zo)||this.peek(Oo)||this.peekDelim(">")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")){const e=this.createNode(X.Operator);return this.consumeToken(),this.finish(e)}return super._parseOperator()}_parseUnaryOperator(){if(this.peekIdent("not")){const e=this.create(ce);return this.consumeToken(),this.finish(e)}return super._parseUnaryOperator()}_parseRuleSetDeclaration(){return this.peek(e.AtKeyword)?this._parseKeyframe()||this._parseImport()||this._parseMedia(!0)||this._parseFontFace()||this._parseWarnAndDebug()||this._parseControlStatement()||this._parseFunctionDeclaration()||this._parseExtends()||this._parseMixinReference()||this._parseMixinContent()||this._parseMixinDeclaration()||this._parseRuleset(!0)||this._parseSupports(!0)||this._parseLayer()||this._parsePropertyAtRule()||this._parseContainer(!0)||this._parseRuleSetDeclarationAtStatement():this._parseVariableDeclaration()||this._tryParseRuleset(!0)||this._parseDeclaration()}_parseDeclaration(t){const n=this._tryParseCustomPropertyDeclaration(t);if(n)return n;const r=this.create(Se);if(!r.setProperty(this._parseProperty()))return null;if(!this.accept(e.Colon))return this.finish(r,si.ColonExpected,[e.Colon],t||[e.SemiColon]);this.prevToken&&(r.colonPosition=this.prevToken.offset);let i=!1;if(r.setValue(this._parseExpr())&&(i=!0,r.addChild(this._parsePrio())),this.peek(e.CurlyL))r.setNestedProperties(this._parseNestedProperties());else if(!i)return this.finish(r,si.PropertyValueExpected);return this.peek(e.SemiColon)&&(r.semicolonPosition=this.token.offset),this.finish(r)}_parseNestedProperties(){const e=this.create(ze);return this._parseBody(e,this._parseDeclaration.bind(this))}_parseExtends(){if(this.peekKeyword("@extend")){const t=this.create(bt);if(this.consumeToken(),!t.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(t,si.SelectorExpected);for(;this.accept(e.Comma);)t.getSelectors().addChild(this._parseSimpleSelector());return this.accept(e.Exclamation)&&!this.acceptIdent("optional")?this.finish(t,si.UnknownKeyword):this.finish(t)}return null}_parseSimpleSelectorBody(){return this._parseSelectorPlaceholder()||super._parseSimpleSelectorBody()}_parseNestingSelector(){if(this.peekDelim("&")){const t=this.createNode(X.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(e.Num)||this.accept(e.Dimension)||t.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(t)}return null}_parseSelectorPlaceholder(){if(this.peekDelim("%")){const e=this.createNode(X.SelectorPlaceholder);return this.consumeToken(),this._parseIdent(),this.finish(e)}if(this.peekKeyword("@at-root")){const t=this.createNode(X.SelectorPlaceholder);if(this.consumeToken(),this.accept(e.ParenthesisL)){if(!this.acceptIdent("with")&&!this.acceptIdent("without"))return this.finish(t,si.IdentifierExpected);if(!this.accept(e.Colon))return this.finish(t,si.ColonExpected);if(!t.addChild(this._parseIdent()))return this.finish(t,si.IdentifierExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[e.CurlyR])}return this.finish(t)}return null}_parseElementName(){const t=this.mark(),n=super._parseElementName();return n&&!this.hasWhitespace()&&this.peek(e.ParenthesisL)?(this.restoreAtMark(t),null):n}_tryParsePseudoIdentifier(){return this._parseInterpolation()||super._tryParsePseudoIdentifier()}_parseWarnAndDebug(){if(!this.peekKeyword("@debug")&&!this.peekKeyword("@warn")&&!this.peekKeyword("@error"))return null;const e=this.createNode(X.Debug);return this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)}_parseControlStatement(t=this._parseRuleSetDeclaration.bind(this)){return this.peek(e.AtKeyword)?this._parseIfStatement(t)||this._parseForStatement(t)||this._parseEachStatement(t)||this._parseWhileStatement(t):null}_parseIfStatement(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null}_internalParseIfStatement(t){const n=this.create(Re);if(this.consumeToken(),!n.setExpression(this._parseExpr(!0)))return this.finish(n,si.ExpressionExpected);if(this._parseBody(n,t),this.acceptKeyword("@else"))if(this.peekIdent("if"))n.setElseClause(this._internalParseIfStatement(t));else if(this.peek(e.CurlyL)){const e=this.create(Me);this._parseBody(e,t),n.setElseClause(e)}return this.finish(n)}_parseForStatement(t){if(!this.peekKeyword("@for"))return null;const n=this.create(Ne);return this.consumeToken(),n.setVariable(this._parseVariable())?this.acceptIdent("from")?n.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?n.addChild(this._parseBinaryExpr())?this._parseBody(n,t):this.finish(n,si.ExpressionExpected,[e.CurlyR]):this.finish(n,Vo.ThroughOrToExpected,[e.CurlyR]):this.finish(n,si.ExpressionExpected,[e.CurlyR]):this.finish(n,Vo.FromExpected,[e.CurlyR]):this.finish(n,si.VariableNameExpected,[e.CurlyR])}_parseEachStatement(t){if(!this.peekKeyword("@each"))return null;const n=this.create(Ie);this.consumeToken();const r=n.getVariables();if(!r.addChild(this._parseVariable()))return this.finish(n,si.VariableNameExpected,[e.CurlyR]);for(;this.accept(e.Comma);)if(!r.addChild(this._parseVariable()))return this.finish(n,si.VariableNameExpected,[e.CurlyR]);return this.finish(r),this.acceptIdent("in")?n.addChild(this._parseExpr())?this._parseBody(n,t):this.finish(n,si.ExpressionExpected,[e.CurlyR]):this.finish(n,Vo.InExpected,[e.CurlyR])}_parseWhileStatement(t){if(!this.peekKeyword("@while"))return null;const n=this.create(De);return this.consumeToken(),n.addChild(this._parseBinaryExpr())?this._parseBody(n,t):this.finish(n,si.ExpressionExpected,[e.CurlyR])}_parseFunctionBodyDeclaration(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))}_parseFunctionDeclaration(){if(!this.peekKeyword("@function"))return null;const t=this.create(Te);if(this.consumeToken(),!t.setIdentifier(this._parseIdent([Q.Function])))return this.finish(t,si.IdentifierExpected,[e.CurlyR]);if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[e.CurlyR]);if(t.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,si.VariableNameExpected);return this.accept(e.ParenthesisR)?this._parseBody(t,this._parseFunctionBodyDeclaration.bind(this)):this.finish(t,si.RightParenthesisExpected,[e.CurlyR])}_parseReturnStatement(){if(!this.peekKeyword("@return"))return null;const e=this.createNode(X.ReturnStatement);return this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,si.ExpressionExpected)}_parseMixinDeclaration(){if(!this.peekKeyword("@mixin"))return null;const t=this.create(St);if(this.consumeToken(),!t.setIdentifier(this._parseIdent([Q.Mixin])))return this.finish(t,si.IdentifierExpected,[e.CurlyR]);if(this.accept(e.ParenthesisL)){if(t.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,si.VariableNameExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[e.CurlyR])}return this._parseBody(t,this._parseRuleSetDeclaration.bind(this))}_parseParameterDeclaration(){const t=this.create(Ee);return t.setIdentifier(this._parseVariable())?(this.accept(Po),this.accept(e.Colon)&&!t.setDefaultValue(this._parseExpr(!0))?this.finish(t,si.VariableValueExpected,[],[e.Comma,e.ParenthesisR]):this.finish(t)):null}_parseMixinContent(){if(!this.peekKeyword("@content"))return null;const t=this.create(vt);if(this.consumeToken(),this.accept(e.ParenthesisL)){if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getArguments().addChild(this._parseFunctionArgument()))return this.finish(t,si.ExpressionExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected)}return this.finish(t)}_parseMixinReference(){if(!this.peekKeyword("@include"))return null;const t=this.create(wt);this.consumeToken();const n=this._parseIdent([Q.Mixin]);if(!t.setIdentifier(n))return this.finish(t,si.IdentifierExpected,[e.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){const r=this._parseIdent([Q.Mixin]);if(!r)return this.finish(t,si.IdentifierExpected,[e.CurlyR]);const i=this.create(Et);n.referenceTypes=[Q.Module],i.setIdentifier(n),t.setIdentifier(r),t.addChild(i)}if(this.accept(e.ParenthesisL)){if(t.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getArguments().addChild(this._parseFunctionArgument()))return this.finish(t,si.ExpressionExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(e.CurlyL))&&t.setContent(this._parseMixinContentDeclaration()),this.finish(t)}_parseMixinContentDeclaration(){const t=this.create(yt);if(this.acceptIdent("using")){if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[e.CurlyL]);if(t.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(t,si.VariableNameExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[e.CurlyL])}return this.peek(e.CurlyL)&&this._parseBody(t,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(t)}_parseMixinReferenceBodyStatement(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()}_parseFunctionArgument(){const t=this.create(Fe),n=this.mark(),r=this._parseVariable();if(r)if(this.accept(e.Colon))t.setIdentifier(r);else{if(this.accept(Po))return t.setValue(r),this.finish(t);this.restoreAtMark(n)}return t.setValue(this._parseExpr(!0))?(this.accept(Po),t.addChild(this._parsePrio()),this.finish(t)):t.setValue(this._tryParsePrio())?this.finish(t):null}_parseURLArgument(){const t=this.mark(),n=super._parseURLArgument();if(!n||!this.peek(e.ParenthesisR)){this.restoreAtMark(t);const e=this.create(ce);return e.addChild(this._parseBinaryExpr()),this.finish(e)}return n}_parseOperation(){if(!this.peek(e.ParenthesisL))return null;const t=this.create(ce);for(this.consumeToken();t.addChild(this._parseListElement());)this.accept(e.Comma);return this.accept(e.ParenthesisR)?this.finish(t):this.finish(t,si.RightParenthesisExpected)}_parseListElement(){const t=this.create(Ct),n=this._parseBinaryExpr();if(!n)return null;if(this.accept(e.Colon)){if(t.setKey(n),!t.setValue(this._parseBinaryExpr()))return this.finish(t,si.ExpressionExpected)}else t.setValue(n);return this.finish(t)}_parseUse(){if(!this.peekKeyword("@use"))return null;const t=this.create(Ue);if(this.consumeToken(),!t.addChild(this._parseStringLiteral()))return this.finish(t,si.StringLiteralExpected);if(!this.peek(e.SemiColon)&&!this.peek(e.EOF)){if(!this.peekRegExp(e.Ident,/as|with/))return this.finish(t,si.UnknownKeyword);if(this.acceptIdent("as")&&!t.setIdentifier(this._parseIdent([Q.Module]))&&!this.acceptDelim("*"))return this.finish(t,si.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[e.ParenthesisR]);if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,si.VariableNameExpected);for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,si.VariableNameExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected)}}return this.accept(e.SemiColon)||this.accept(e.EOF)?this.finish(t):this.finish(t,si.SemiColonExpected)}_parseModuleConfigDeclaration(){const t=this.create(Ve);return t.setIdentifier(this._parseVariable())?this.accept(e.Colon)&&t.setValue(this._parseExpr(!0))?!this.accept(e.Exclamation)||!this.hasWhitespace()&&this.acceptIdent("default")?this.finish(t):this.finish(t,si.UnknownKeyword):this.finish(t,si.VariableValueExpected,[],[e.Comma,e.ParenthesisR]):null}_parseForward(){if(!this.peekKeyword("@forward"))return null;const t=this.create($e);if(this.consumeToken(),!t.addChild(this._parseStringLiteral()))return this.finish(t,si.StringLiteralExpected);if(this.acceptIdent("as")){const e=this._parseIdent([Q.Forward]);if(!t.setIdentifier(e))return this.finish(t,si.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(t,si.WildcardExpected)}if(this.acceptIdent("with")){if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected,[e.ParenthesisR]);if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,si.VariableNameExpected);for(;this.accept(e.Comma)&&!this.peek(e.ParenthesisR);)if(!t.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(t,si.VariableNameExpected);if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected)}else if((this.peekIdent("hide")||this.peekIdent("show"))&&!t.addChild(this._parseForwardVisibility()))return this.finish(t,si.IdentifierOrVariableExpected);return this.accept(e.SemiColon)||this.accept(e.EOF)?this.finish(t):this.finish(t,si.SemiColonExpected)}_parseForwardVisibility(){const t=this.create(Be);for(t.setIdentifier(this._parseIdent());t.addChild(this._parseVariable()||this._parseIdent());)this.accept(e.Comma);return t.getChildren().length>1?t:null}_parseSupportsCondition(){return this._parseInterpolation()||super._parseSupportsCondition()}},Bo=Nt("Sass documentation"),qo=class e extends Es{constructor(t,n){super("$",t,n),Ko(e.scssModuleLoaders),Ko(e.scssModuleBuiltIns)}isImportPathParent(e){return e===X.Forward||e===X.Use||super.isImportPathParent(e)}getCompletionForImportPath(t,n){const r=t.getParent().type;if(r===X.Forward||r===X.Use)for(let r of e.scssModuleBuiltIns){const e={label:r.label,documentation:r.documentation,textEdit:mn.replace(this.getCompletionRange(t),`'${r.label}'`),kind:Vn.Module};n.items.push(e)}return super.getCompletionForImportPath(t,n)}createReplaceFunction(){let t=1;return(n,r)=>"\\"+r+": ${"+t+++":"+(e.variableDefaults[r]||"")+"}"}createFunctionProposals(e,t,n,r){for(const i of e){const e=i.func.replace(/\[?(\$\w+)\]?/g,this.createReplaceFunction()),s={label:i.func.substr(0,i.func.indexOf("(")),detail:i.func,documentation:i.desc,textEdit:mn.replace(this.getCompletionRange(t),e),insertTextFormat:Bn.Snippet,kind:Vn.Function};n&&(s.sortText="z"),r.items.push(s)}return r}getCompletionsForSelector(t,n,r){return this.createFunctionProposals(e.selectorFuncs,null,!0,r),super.getCompletionsForSelector(t,n,r)}getTermProposals(t,n,r){let i=e.builtInFuncs;return t&&(i=i.filter((e=>!e.type||!t.restrictions||-1!==t.restrictions.indexOf(e.type)))),this.createFunctionProposals(i,n,!0,r),super.getTermProposals(t,n,r)}getColorProposals(t,n,r){return this.createFunctionProposals(e.colorProposals,n,!1,r),super.getColorProposals(t,n,r)}getCompletionsForDeclarationProperty(e,t){return this.getCompletionForAtDirectives(t),this.getCompletionsForSelector(null,!0,t),super.getCompletionsForDeclarationProperty(e,t)}getCompletionsForExtendsReference(e,t,n){const r=this.getSymbolContext().findSymbolsAtOffset(this.offset,Q.Rule);for(const e of r){const r={label:e.name,textEdit:mn.replace(this.getCompletionRange(t),e.name),kind:Vn.Function};n.items.push(r)}return n}getCompletionForAtDirectives(t){return t.items.push(...e.scssAtDirectives),t}getCompletionForTopLevel(e){return this.getCompletionForAtDirectives(e),this.getCompletionForModuleLoaders(e),super.getCompletionForTopLevel(e),e}getCompletionForModuleLoaders(t){return t.items.push(...e.scssModuleLoaders),t}};function Ko(e){e.forEach((e=>{if(e.documentation&&e.references&&e.references.length>0){const t="string"==typeof e.documentation?{kind:"markdown",value:e.documentation}:{kind:"markdown",value:e.documentation.value};t.value+="\n\n",t.value+=e.references.map((e=>`[${e.name}](${e.url})`)).join(" | "),e.documentation=t}}))}qo.variableDefaults={$red:"1",$green:"2",$blue:"3",$alpha:"1.0",$color:"#000000",$weight:"0.5",$hue:"0",$saturation:"0%",$lightness:"0%",$degrees:"0",$amount:"0",$string:'""',$substring:'"s"',$number:"0",$limit:"1"},qo.colorProposals=[{func:"red($color)",desc:Nt("Gets the red component of a color.")},{func:"green($color)",desc:Nt("Gets the green component of a color.")},{func:"blue($color)",desc:Nt("Gets the blue component of a color.")},{func:"mix($color, $color, [$weight])",desc:Nt("Mixes two colors together.")},{func:"hue($color)",desc:Nt("Gets the hue component of a color.")},{func:"saturation($color)",desc:Nt("Gets the saturation component of a color.")},{func:"lightness($color)",desc:Nt("Gets the lightness component of a color.")},{func:"adjust-hue($color, $degrees)",desc:Nt("Changes the hue of a color.")},{func:"lighten($color, $amount)",desc:Nt("Makes a color lighter.")},{func:"darken($color, $amount)",desc:Nt("Makes a color darker.")},{func:"saturate($color, $amount)",desc:Nt("Makes a color more saturated.")},{func:"desaturate($color, $amount)",desc:Nt("Makes a color less saturated.")},{func:"grayscale($color)",desc:Nt("Converts a color to grayscale.")},{func:"complement($color)",desc:Nt("Returns the complement of a color.")},{func:"invert($color)",desc:Nt("Returns the inverse of a color.")},{func:"alpha($color)",desc:Nt("Gets the opacity component of a color.")},{func:"opacity($color)",desc:"Gets the alpha component (opacity) of a color."},{func:"rgba($color, $alpha)",desc:Nt("Changes the alpha component for a color.")},{func:"opacify($color, $amount)",desc:Nt("Makes a color more opaque.")},{func:"fade-in($color, $amount)",desc:Nt("Makes a color more opaque.")},{func:"transparentize($color, $amount)",desc:Nt("Makes a color more transparent.")},{func:"fade-out($color, $amount)",desc:Nt("Makes a color more transparent.")},{func:"adjust-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Nt("Increases or decreases one or more components of a color.")},{func:"scale-color($color, [$red], [$green], [$blue], [$saturation], [$lightness], [$alpha])",desc:Nt("Fluidly scales one or more properties of a color.")},{func:"change-color($color, [$red], [$green], [$blue], [$hue], [$saturation], [$lightness], [$alpha])",desc:Nt("Changes one or more properties of a color.")},{func:"ie-hex-str($color)",desc:Nt("Converts a color into the format understood by IE filters.")}],qo.selectorFuncs=[{func:"selector-nest($selectors…)",desc:Nt("Nests selector beneath one another like they would be nested in the stylesheet.")},{func:"selector-append($selectors…)",desc:Nt("Appends selectors to one another without spaces in between.")},{func:"selector-extend($selector, $extendee, $extender)",desc:Nt("Extends $extendee with $extender within $selector.")},{func:"selector-replace($selector, $original, $replacement)",desc:Nt("Replaces $original with $replacement within $selector.")},{func:"selector-unify($selector1, $selector2)",desc:Nt("Unifies two selectors to produce a selector that matches elements matched by both.")},{func:"is-superselector($super, $sub)",desc:Nt("Returns whether $super matches all the elements $sub does, and possibly more.")},{func:"simple-selectors($selector)",desc:Nt("Returns the simple selectors that comprise a compound selector.")},{func:"selector-parse($selector)",desc:Nt("Parses a selector into the format returned by &.")}],qo.builtInFuncs=[{func:"unquote($string)",desc:Nt("Removes quotes from a string.")},{func:"quote($string)",desc:Nt("Adds quotes to a string.")},{func:"str-length($string)",desc:Nt("Returns the number of characters in a string.")},{func:"str-insert($string, $insert, $index)",desc:Nt("Inserts $insert into $string at $index.")},{func:"str-index($string, $substring)",desc:Nt("Returns the index of the first occurance of $substring in $string.")},{func:"str-slice($string, $start-at, [$end-at])",desc:Nt("Extracts a substring from $string.")},{func:"to-upper-case($string)",desc:Nt("Converts a string to upper case.")},{func:"to-lower-case($string)",desc:Nt("Converts a string to lower case.")},{func:"percentage($number)",desc:Nt("Converts a unitless number to a percentage."),type:"percentage"},{func:"round($number)",desc:Nt("Rounds a number to the nearest whole number.")},{func:"ceil($number)",desc:Nt("Rounds a number up to the next whole number.")},{func:"floor($number)",desc:Nt("Rounds a number down to the previous whole number.")},{func:"abs($number)",desc:Nt("Returns the absolute value of a number.")},{func:"min($numbers)",desc:Nt("Finds the minimum of several numbers.")},{func:"max($numbers)",desc:Nt("Finds the maximum of several numbers.")},{func:"random([$limit])",desc:Nt("Returns a random number.")},{func:"length($list)",desc:Nt("Returns the length of a list.")},{func:"nth($list, $n)",desc:Nt("Returns a specific item in a list.")},{func:"set-nth($list, $n, $value)",desc:Nt("Replaces the nth item in a list.")},{func:"join($list1, $list2, [$separator])",desc:Nt("Joins together two lists into one.")},{func:"append($list1, $val, [$separator])",desc:Nt("Appends a single value onto the end of a list.")},{func:"zip($lists)",desc:Nt("Combines several lists into a single multidimensional list.")},{func:"index($list, $value)",desc:Nt("Returns the position of a value within a list.")},{func:"list-separator(#list)",desc:Nt("Returns the separator of a list.")},{func:"map-get($map, $key)",desc:Nt("Returns the value in a map associated with a given key.")},{func:"map-merge($map1, $map2)",desc:Nt("Merges two maps together into a new map.")},{func:"map-remove($map, $keys)",desc:Nt("Returns a new map with keys removed.")},{func:"map-keys($map)",desc:Nt("Returns a list of all keys in a map.")},{func:"map-values($map)",desc:Nt("Returns a list of all values in a map.")},{func:"map-has-key($map, $key)",desc:Nt("Returns whether a map has a value associated with a given key.")},{func:"keywords($args)",desc:Nt("Returns the keywords passed to a function that takes variable arguments.")},{func:"feature-exists($feature)",desc:Nt("Returns whether a feature exists in the current Sass runtime.")},{func:"variable-exists($name)",desc:Nt("Returns whether a variable with the given name exists in the current scope.")},{func:"global-variable-exists($name)",desc:Nt("Returns whether a variable with the given name exists in the global scope.")},{func:"function-exists($name)",desc:Nt("Returns whether a function with the given name exists.")},{func:"mixin-exists($name)",desc:Nt("Returns whether a mixin with the given name exists.")},{func:"inspect($value)",desc:Nt("Returns the string representation of a value as it would be represented in Sass.")},{func:"type-of($value)",desc:Nt("Returns the type of a value.")},{func:"unit($number)",desc:Nt("Returns the unit(s) associated with a number.")},{func:"unitless($number)",desc:Nt("Returns whether a number has units.")},{func:"comparable($number1, $number2)",desc:Nt("Returns whether two numbers can be added, subtracted, or compared.")},{func:"call($name, $args…)",desc:Nt("Dynamically calls a Sass function.")}],qo.scssAtDirectives=[{label:"@extend",documentation:Nt("Inherits the styles of another selector."),kind:Vn.Keyword},{label:"@at-root",documentation:Nt("Causes one or more rules to be emitted at the root of the document."),kind:Vn.Keyword},{label:"@debug",documentation:Nt("Prints the value of an expression to the standard error output stream. Useful for debugging complicated Sass files."),kind:Vn.Keyword},{label:"@warn",documentation:Nt("Prints the value of an expression to the standard error output stream. Useful for libraries that need to warn users of deprecations or recovering from minor mixin usage mistakes. Warnings can be turned off with the `--quiet` command-line option or the `:quiet` Sass option."),kind:Vn.Keyword},{label:"@error",documentation:Nt("Throws the value of an expression as a fatal error with stack trace. Useful for validating arguments to mixins and functions."),kind:Vn.Keyword},{label:"@if",documentation:Nt("Includes the body if the expression does not evaluate to `false` or `null`."),insertText:"@if ${1:expr} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@for",documentation:Nt("For loop that repeatedly outputs a set of styles for each `$var` in the `from/through` or `from/to` clause."),insertText:"@for \\$${1:var} from ${2:start} ${3|to,through|} ${4:end} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@each",documentation:Nt("Each loop that sets `$var` to each item in the list or map, then outputs the styles it contains using that value of `$var`."),insertText:"@each \\$${1:var} in ${2:list} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@while",documentation:Nt("While loop that takes an expression and repeatedly outputs the nested styles until the statement evaluates to `false`."),insertText:"@while ${1:condition} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@mixin",documentation:Nt("Defines styles that can be re-used throughout the stylesheet with `@include`."),insertText:"@mixin ${1:name} {\n\t$0\n}",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@include",documentation:Nt("Includes the styles defined by another mixin into the current rule."),kind:Vn.Keyword},{label:"@function",documentation:Nt("Defines complex operations that can be re-used throughout stylesheets."),kind:Vn.Keyword}],qo.scssModuleLoaders=[{label:"@use",documentation:Nt("Loads mixins, functions, and variables from other Sass stylesheets as 'modules', and combines CSS from multiple stylesheets together."),references:[{name:Bo,url:"https://sass-lang.com/documentation/at-rules/use"}],insertText:"@use $0;",insertTextFormat:Bn.Snippet,kind:Vn.Keyword},{label:"@forward",documentation:Nt("Loads a Sass stylesheet and makes its mixins, functions, and variables available when this stylesheet is loaded with the @use rule."),references:[{name:Bo,url:"https://sass-lang.com/documentation/at-rules/forward"}],insertText:"@forward $0;",insertTextFormat:Bn.Snippet,kind:Vn.Keyword}],qo.scssModuleBuiltIns=[{label:"sass:math",documentation:Nt("Provides functions that operate on numbers."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/math"}]},{label:"sass:string",documentation:Nt("Makes it easy to combine, search, or split apart strings."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/string"}]},{label:"sass:color",documentation:Nt("Generates new colors based on existing ones, making it easy to build color themes."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/color"}]},{label:"sass:list",documentation:Nt("Lets you access and modify values in lists."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/list"}]},{label:"sass:map",documentation:Nt("Makes it possible to look up the value associated with a key in a map, and much more."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/map"}]},{label:"sass:selector",documentation:Nt("Provides access to Sass’s powerful selector engine."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/selector"}]},{label:"sass:meta",documentation:Nt("Exposes the details of Sass’s inner workings."),references:[{name:Bo,url:"https://sass-lang.com/documentation/modules/meta"}]}];var jo,Ho="/".charCodeAt(0),Go="\n".charCodeAt(0),Jo="\r".charCodeAt(0),Xo="\f".charCodeAt(0),Yo="`".charCodeAt(0),Qo=".".charCodeAt(0),Zo=e.CustomToken,ea=Zo++,ta=class extends ee{scanNext(e){const t=this.escapedJavaScript();return null!==t?this.finishToken(e,t):this.stream.advanceIfChars([Qo,Qo,Qo])?this.finishToken(e,ea):super.scanNext(e)}comment(){return!!super.comment()||!(this.inURL||!this.stream.advanceIfChars([Ho,Ho]))&&(this.stream.advanceWhileChar((e=>{switch(e){case Go:case Jo:case Xo:return!1;default:return!0}})),!0)}escapedJavaScript(){return this.stream.peekChar()===Yo?(this.stream.advance(1),this.stream.advanceWhileChar((e=>e!==Yo)),this.stream.advanceIfChar(Yo)?e.EscapedJavaScript:e.BadEscapedJavaScript):null}},na=class extends rs{constructor(){super(new ta)}_parseStylesheetStatement(t=!1){return this.peek(e.AtKeyword)?this._parseVariableDeclaration()||this._parsePlugin()||super._parseStylesheetAtStatement(t):this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseFunction()||this._parseRuleset(!0)}_parseImport(){if(!this.peekKeyword("@import")&&!this.peekKeyword("@import-once"))return null;const t=this.create(We);if(this.consumeToken(),this.accept(e.ParenthesisL)){if(!this.accept(e.Ident))return this.finish(t,si.IdentifierExpected,[e.SemiColon]);do{if(!this.accept(e.Comma))break}while(this.accept(e.Ident));if(!this.accept(e.ParenthesisR))return this.finish(t,si.RightParenthesisExpected,[e.SemiColon])}return t.addChild(this._parseURILiteral())||t.addChild(this._parseStringLiteral())?(this.peek(e.SemiColon)||this.peek(e.EOF)||t.setMedialist(this._parseMediaQueryList()),this._completeParseImport(t)):this.finish(t,si.URIOrStringExpected,[e.SemiColon])}_parsePlugin(){if(!this.peekKeyword("@plugin"))return null;const t=this.createNode(X.Plugin);return this.consumeToken(),t.addChild(this._parseStringLiteral())?this.accept(e.SemiColon)?this.finish(t):this.finish(t,si.SemiColonExpected):this.finish(t,si.StringLiteralExpected)}_parseMediaQuery(){const e=super._parseMediaQuery();if(!e){const e=this.create(Qe);return e.addChild(this._parseVariable())?this.finish(e):null}return e}_parseMediaDeclaration(e=!1){return this._tryParseRuleset(e)||this._tryToParseDeclaration()||this._tryParseMixinDeclaration()||this._tryParseMixinReference()||this._parseDetachedRuleSetMixin()||this._parseStylesheetStatement(e)}_parseMediaFeatureName(){return this._parseIdent()||this._parseVariable()}_parseVariableDeclaration(t=[]){const n=this.create(mt),r=this.mark();if(!n.setVariable(this._parseVariable(!0)))return null;if(!this.accept(e.Colon))return this.restoreAtMark(r),null;if(this.prevToken&&(n.colonPosition=this.prevToken.offset),n.setValue(this._parseDetachedRuleSet()))n.needsSemicolon=!1;else if(!n.setValue(this._parseExpr()))return this.finish(n,si.VariableValueExpected,[],t);return n.addChild(this._parsePrio()),this.peek(e.SemiColon)&&(n.semicolonPosition=this.token.offset),this.finish(n)}_parseDetachedRuleSet(){let t=this.mark();if(this.peekDelim("#")||this.peekDelim(".")){if(this.consumeToken(),this.hasWhitespace()||!this.accept(e.ParenthesisL))return this.restoreAtMark(t),null;{let n=this.create(St);if(n.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(e.Comma)||this.accept(e.SemiColon))&&!this.peek(e.ParenthesisR);)n.getParameters().addChild(this._parseMixinParameter())||this.markError(n,si.IdentifierExpected,[],[e.ParenthesisR]);if(!this.accept(e.ParenthesisR))return this.restoreAtMark(t),null}}if(!this.peek(e.CurlyL))return null;const n=this.create(fe);return this._parseBody(n,this._parseDetachedRuleSetBody.bind(this)),this.finish(n)}_parseDetachedRuleSetBody(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()}_addLookupChildren(t){if(!t.addChild(this._parseLookupValue()))return!1;let n=!1;for(;this.peek(e.BracketL)&&(n=!0),t.addChild(this._parseLookupValue());)n=!1;return!n}_parseLookupValue(){const t=this.create(ce),n=this.mark();return this.accept(e.BracketL)&&((t.addChild(this._parseVariable(!1,!0))||t.addChild(this._parsePropertyIdentifier()))&&this.accept(e.BracketR)||this.accept(e.BracketR))?t:(this.restoreAtMark(n),null)}_parseVariable(t=!1,n=!1){const r=!t&&this.peekDelim("$");if(!this.peekDelim("@")&&!r&&!this.peek(e.AtKeyword))return null;const i=this.create(gt),s=this.mark();for(;this.acceptDelim("@")||!t&&this.acceptDelim("$");)if(this.hasWhitespace())return this.restoreAtMark(s),null;return(this.accept(e.AtKeyword)||this.accept(e.Ident))&&(n||!this.peek(e.BracketL)||this._addLookupChildren(i))?i:(this.restoreAtMark(s),null)}_parseTermExpression(){return this._parseVariable()||this._parseEscaped()||super._parseTermExpression()||this._tryParseMixinReference(!1)}_parseEscaped(){if(this.peek(e.EscapedJavaScript)||this.peek(e.BadEscapedJavaScript)){const e=this.createNode(X.EscapedValue);return this.consumeToken(),this.finish(e)}if(this.peekDelim("~")){const t=this.createNode(X.EscapedValue);return this.consumeToken(),this.accept(e.String)||this.accept(e.EscapedJavaScript)?this.finish(t):this.finish(t,si.TermExpected)}return null}_parseOperator(){const e=this._parseGuardOperator();return e||super._parseOperator()}_parseGuardOperator(){if(this.peekDelim(">")){const e=this.createNode(X.Operator);return this.consumeToken(),this.acceptDelim("="),e}if(this.peekDelim("=")){const e=this.createNode(X.Operator);return this.consumeToken(),this.acceptDelim("<"),e}if(this.peekDelim("<")){const e=this.createNode(X.Operator);return this.consumeToken(),this.acceptDelim("="),e}return null}_parseRuleSetDeclaration(){return this.peek(e.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseLayer()||this._parsePropertyAtRule()||this._parseContainer(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||this._parseRuleSetDeclarationAtStatement():this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||this._parseDeclaration()}_parseKeyframeIdent(){return this._parseIdent([Q.Keyframe])||this._parseVariable()}_parseKeyframeSelector(){return this._parseDetachedRuleSetMixin()||super._parseKeyframeSelector()}_parseSelector(t){const n=this.create(be);let r=!1;for(t&&(r=n.addChild(this._parseCombinator()));n.addChild(this._parseSimpleSelector());){r=!0;const t=this.mark();if(n.addChild(this._parseGuard())&&this.peek(e.CurlyL))break;this.restoreAtMark(t),n.addChild(this._parseCombinator())}return r?this.finish(n):null}_parseNestingSelector(){if(this.peekDelim("&")){const t=this.createNode(X.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(e.Num)||this.accept(e.Dimension)||t.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(t)}return null}_parseSelectorIdent(){if(!this.peekInterpolatedIdent())return null;const e=this.createNode(X.SelectorInterpolation);return this._acceptInterpolatedIdent(e)?this.finish(e):null}_parsePropertyIdentifier(e=!1){const t=/^[\w-]+/;if(!this.peekInterpolatedIdent()&&!this.peekRegExp(this.token.type,t))return null;const n=this.mark(),r=this.create(pe);r.isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-");let i=!1;return i=e?r.isCustomProperty?r.addChild(this._parseIdent()):r.addChild(this._parseRegexp(t)):r.isCustomProperty?this._acceptInterpolatedIdent(r):this._acceptInterpolatedIdent(r,t),i?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace()||this.acceptIdent("_")),this.finish(r)):(this.restoreAtMark(n),null)}peekInterpolatedIdent(){return this.peek(e.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")}_acceptInterpolatedIdent(t,n){let r=!1;const i=()=>{const e=this.mark();return this.acceptDelim("-")&&(this.hasWhitespace()||this.acceptDelim("-"),this.hasWhitespace())?(this.restoreAtMark(e),null):this._parseInterpolation()},s=n?()=>this.acceptRegexp(n):()=>this.accept(e.Ident);for(;(s()||t.addChild(this._parseInterpolation()||this.try(i)))&&(r=!0,!this.hasWhitespace()););return r}_parseInterpolation(){const t=this.mark();if(this.peekDelim("@")||this.peekDelim("$")){const n=this.createNode(X.Interpolation);return this.consumeToken(),this.hasWhitespace()||!this.accept(e.CurlyL)?(this.restoreAtMark(t),null):n.addChild(this._parseIdent())?this.accept(e.CurlyR)?this.finish(n):this.finish(n,si.RightCurlyExpected):this.finish(n,si.IdentifierExpected)}return null}_tryParseMixinDeclaration(){const t=this.mark(),n=this.create(St);if(!n.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(e.ParenthesisL))return this.restoreAtMark(t),null;if(n.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(e.Comma)||this.accept(e.SemiColon))&&!this.peek(e.ParenthesisR);)n.getParameters().addChild(this._parseMixinParameter())||this.markError(n,si.IdentifierExpected,[],[e.ParenthesisR]);return this.accept(e.ParenthesisR)?(n.setGuard(this._parseGuard()),this.peek(e.CurlyL)?this._parseBody(n,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(t),null)):(this.restoreAtMark(t),null)}_parseMixInBodyDeclaration(){return this._parseFontFace()||this._parseRuleSetDeclaration()}_parseMixinDeclarationIdentifier(){let t;if(this.peekDelim("#")||this.peekDelim(".")){if(t=this.create(pe),this.consumeToken(),this.hasWhitespace()||!t.addChild(this._parseIdent()))return null}else{if(!this.peek(e.Hash))return null;t=this.create(pe),this.consumeToken()}return t.referenceTypes=[Q.Mixin],this.finish(t)}_parsePseudo(){if(!this.peek(e.Colon))return null;const t=this.mark(),n=this.create(bt);return this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),super._parsePseudo())}_parseExtend(){if(!this.peekDelim("&"))return null;const t=this.mark(),n=this.create(bt);return this.consumeToken(),!this.hasWhitespace()&&this.accept(e.Colon)&&this.acceptIdent("extend")?this._completeExtends(n):(this.restoreAtMark(t),null)}_completeExtends(t){if(!this.accept(e.ParenthesisL))return this.finish(t,si.LeftParenthesisExpected);const n=t.getSelectors();if(!n.addChild(this._parseSelector(!0)))return this.finish(t,si.SelectorExpected);for(;this.accept(e.Comma);)if(!n.addChild(this._parseSelector(!0)))return this.finish(t,si.SelectorExpected);return this.accept(e.ParenthesisR)?this.finish(t):this.finish(t,si.RightParenthesisExpected)}_parseDetachedRuleSetMixin(){if(!this.peek(e.AtKeyword))return null;const t=this.mark(),n=this.create(wt);return!n.addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(e.ParenthesisL)?this.accept(e.ParenthesisR)?this.finish(n):this.finish(n,si.RightParenthesisExpected):(this.restoreAtMark(t),null)}_tryParseMixinReference(t=!0){const n=this.mark(),r=this.create(wt);let i=this._parseMixinDeclarationIdentifier();for(;i;){this.acceptDelim(">");const e=this._parseMixinDeclarationIdentifier();if(!e)break;r.getNamespaces().addChild(i),i=e}if(!r.setIdentifier(i))return this.restoreAtMark(n),null;let s=!1;if(this.accept(e.ParenthesisL)){if(s=!0,r.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(e.Comma)||this.accept(e.SemiColon))&&!this.peek(e.ParenthesisR);)if(!r.getArguments().addChild(this._parseMixinArgument()))return this.finish(r,si.ExpressionExpected);if(!this.accept(e.ParenthesisR))return this.finish(r,si.RightParenthesisExpected);i.referenceTypes=[Q.Mixin]}else i.referenceTypes=[Q.Mixin,Q.Rule];return this.peek(e.BracketL)?t||this._addLookupChildren(r):r.addChild(this._parsePrio()),s||this.peek(e.SemiColon)||this.peek(e.CurlyR)||this.peek(e.EOF)?this.finish(r):(this.restoreAtMark(n),null)}_parseMixinArgument(){const t=this.create(Fe),n=this.mark(),r=this._parseVariable();return r&&(this.accept(e.Colon)?t.setIdentifier(r):this.restoreAtMark(n)),t.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(t):(this.restoreAtMark(n),null)}_parseMixinParameter(){const t=this.create(Ee);if(this.peekKeyword("@rest")){const n=this.create(ce);return this.consumeToken(),this.accept(ea)?(t.setIdentifier(this.finish(n)),this.finish(t)):this.finish(t,si.DotExpected,[],[e.Comma,e.ParenthesisR])}if(this.peek(ea)){const e=this.create(ce);return this.consumeToken(),t.setIdentifier(this.finish(e)),this.finish(t)}let n=!1;return t.setIdentifier(this._parseVariable())&&(this.accept(e.Colon),n=!0),t.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||n?this.finish(t):null}_parseGuard(){if(!this.peekIdent("when"))return null;const t=this.create(_t);if(this.consumeToken(),!t.getConditions().addChild(this._parseGuardCondition()))return this.finish(t,si.ConditionExpected);for(;this.acceptIdent("and")||this.accept(e.Comma);)if(!t.getConditions().addChild(this._parseGuardCondition()))return this.finish(t,si.ConditionExpected);return this.finish(t)}_parseGuardCondition(){const t=this.create(kt);return t.isNegated=this.acceptIdent("not"),this.accept(e.ParenthesisL)?(t.addChild(this._parseExpr()),this.accept(e.ParenthesisR)?this.finish(t):this.finish(t,si.RightParenthesisExpected)):t.isNegated?this.finish(t,si.LeftParenthesisExpected):null}_parseFunction(){const t=this.mark(),n=this.create(ke);if(!n.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(e.ParenthesisL))return this.restoreAtMark(t),null;if(n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(e.Comma)||this.accept(e.SemiColon))&&!this.peek(e.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,si.ExpressionExpected);return this.accept(e.ParenthesisR)?this.finish(n):this.finish(n,si.RightParenthesisExpected)}_parseFunctionIdentifier(){if(this.peekDelim("%")){const e=this.create(pe);return e.referenceTypes=[Q.Function],this.consumeToken(),this.finish(e)}return super._parseFunctionIdentifier()}_parseURLArgument(){const t=this.mark(),n=super._parseURLArgument();if(!n||!this.peek(e.ParenthesisR)){this.restoreAtMark(t);const e=this.create(ce);return e.addChild(this._parseBinaryExpr()),this.finish(e)}return n}},ra=class e extends Es{constructor(e,t){super("@",e,t)}createFunctionProposals(e,t,n,r){for(const i of e){const e={label:i.name,detail:i.example,documentation:i.description,textEdit:mn.replace(this.getCompletionRange(t),i.name+"($0)"),insertTextFormat:Bn.Snippet,kind:Vn.Function};n&&(e.sortText="z"),r.items.push(e)}return r}getTermProposals(t,n,r){let i=e.builtInProposals;return t&&(i=i.filter((e=>!e.type||!t.restrictions||-1!==t.restrictions.indexOf(e.type)))),this.createFunctionProposals(i,n,!0,r),super.getTermProposals(t,n,r)}getColorProposals(t,n,r){return this.createFunctionProposals(e.colorProposals,n,!1,r),super.getColorProposals(t,n,r)}getCompletionsForDeclarationProperty(e,t){return this.getCompletionsForSelector(null,!0,t),super.getCompletionsForDeclarationProperty(e,t)}};function ia(t,n){const r=function(t){function n(e){return t.positionAt(e.offset).line}function r(e){return t.positionAt(e.offset+e.len).line}function i(){switch(t.languageId){case"scss":return new Wo;case"less":return new ta;default:return new ee}}function s(e,t){const i=n(e),s=r(e);return i!==s?{startLine:i,endLine:s,kind:t}:null}const o=[],a=[],l=i();l.ignoreComment=!1,l.setSource(t.getText());let c=l.scan(),h=null;for(;c.type!==e.EOF;){switch(c.type){case e.CurlyL:case To:a.push({line:n(c),type:"brace",isStart:!0});break;case e.CurlyR:if(0!==a.length){const e=sa(a,"brace");if(!e)break;let t=r(c);"brace"===e.type&&(h&&r(h)!==t&&t--,e.line!==t&&o.push({startLine:e.line,endLine:t,kind:void 0}))}break;case e.Comment:{const e=e=>"#region"===e?{line:n(c),type:"comment",isStart:!0}:{line:r(c),type:"comment",isStart:!1},i=(n=>{const r=n.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);if(r)return e(r[1]);if("scss"===t.languageId||"less"===t.languageId){const t=n.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/);if(t)return e(t[1])}return null})(c);if(i)if(i.isStart)a.push(i);else{const e=sa(a,"comment");if(!e)break;"comment"===e.type&&e.line!==i.line&&o.push({startLine:e.line,endLine:i.line,kind:"region"})}else{const e=s(c,"comment");e&&o.push(e)}break}}h=c,c=l.scan()}return o}(t);return function(e,t){const n=t&&t.rangeLimit||Number.MAX_VALUE,r=e.sort(((e,t)=>{let n=e.startLine-t.startLine;return 0===n&&(n=e.endLine-t.endLine),n})),i=[];let s=-1;return r.forEach((e=>{e.startLine=0;n--)if(e[n].type===t&&e[n].isStart)return e.splice(n,1)[0];return null}ra.builtInProposals=[{name:"if",example:"if(condition, trueValue [, falseValue]);",description:Nt("returns one of two values depending on a condition.")},{name:"boolean",example:"boolean(condition);",description:Nt('"store" a boolean test for later evaluation in a guard or if().')},{name:"length",example:"length(@list);",description:Nt("returns the number of elements in a value list")},{name:"extract",example:"extract(@list, index);",description:Nt("returns a value at the specified position in the list")},{name:"range",example:"range([start, ] end [, step]);",description:Nt("generate a list spanning a range of values")},{name:"each",example:"each(@list, ruleset);",description:Nt("bind the evaluation of a ruleset to each member of a list.")},{name:"escape",example:"escape(@string);",description:Nt("URL encodes a string")},{name:"e",example:"e(@string);",description:Nt("escape string content")},{name:"replace",example:"replace(@string, @pattern, @replacement[, @flags]);",description:Nt("string replace")},{name:"unit",example:"unit(@dimension, [@unit: '']);",description:Nt("remove or change the unit of a dimension")},{name:"color",example:"color(@string);",description:Nt("parses a string to a color"),type:"color"},{name:"convert",example:"convert(@value, unit);",description:Nt("converts numbers from one type into another")},{name:"data-uri",example:"data-uri([mimetype,] url);",description:Nt("inlines a resource and falls back to `url()`"),type:"url"},{name:"abs",description:Nt("absolute value of a number"),example:"abs(number);"},{name:"acos",description:Nt("arccosine - inverse of cosine function"),example:"acos(number);"},{name:"asin",description:Nt("arcsine - inverse of sine function"),example:"asin(number);"},{name:"ceil",example:"ceil(@number);",description:Nt("rounds up to an integer")},{name:"cos",description:Nt("cosine function"),example:"cos(number);"},{name:"floor",description:Nt("rounds down to an integer"),example:"floor(@number);"},{name:"percentage",description:Nt("converts to a %, e.g. 0.5 > 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:Nt("rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:Nt("calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:Nt("sine function"),example:"sin(number);"},{name:"tan",description:Nt("tangent function"),example:"tan(number);"},{name:"atan",description:Nt("arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:Nt("returns pi"),example:"pi();"},{name:"pow",description:Nt("first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:Nt("first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:Nt("returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:Nt("returns the lowest of one or more values"),example:"max(@x, @y);"}],ra.colorProposals=[{name:"argb",example:"argb(@color);",description:Nt("creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:Nt("creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:Nt("creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:Nt("creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:Nt("creates a color")},{name:"hue",example:"hue(@color);",description:Nt("returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:Nt("returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:Nt("returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:Nt("returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:Nt("returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:Nt("returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:Nt("returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:Nt("returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:Nt("returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:Nt("returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:Nt("returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:Nt("return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:Nt("return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:Nt("return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:Nt("return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:Nt("return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:Nt("return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:Nt("return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:Nt("return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:Nt("return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:Nt("returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:Nt("return `@darkcolor` if `@color1 is> 43% luma` otherwise return `@lightcolor`, see notes")},{name:"multiply",example:"multiply(@color1, @color2);"},{name:"screen",example:"screen(@color1, @color2);"},{name:"overlay",example:"overlay(@color1, @color2);"},{name:"softlight",example:"softlight(@color1, @color2);"},{name:"hardlight",example:"hardlight(@color1, @color2);"},{name:"difference",example:"difference(@color1, @color2);"},{name:"exclusion",example:"exclusion(@color1, @color2);"},{name:"average",example:"average(@color1, @color2);"},{name:"negation",example:"negation(@color1, @color2);"}],function(){var e=[,,function(e){function t(e){this.__parent=e,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}function n(e,t){this.__cache=[""],this.__indent_size=e.indent_size,this.__indent_string=e.indent_char,e.indent_with_tabs||(this.__indent_string=new Array(e.indent_size+1).join(e.indent_char)),t=t||"",e.indent_level>0&&(t=new Array(e.indent_level+1).join(this.__indent_string)),this.__base_string=t,this.__base_string_length=t.length}function r(e,r){this.__indent_cache=new n(e,r),this.raw=!1,this._end_with_newline=e.end_with_newline,this.indent_size=e.indent_size,this.wrap_line_length=e.wrap_line_length,this.indent_empty_lines=e.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new t(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}t.prototype.clone_empty=function(){var e=new t(this.__parent);return e.set_indent(this.__indent_count,this.__alignment_count),e},t.prototype.item=function(e){return e<0?this.__items[this.__items.length+e]:this.__items[e]},t.prototype.has_match=function(e){for(var t=this.__items.length-1;t>=0;t--)if(this.__items[t].match(e))return!0;return!1},t.prototype.set_indent=function(e,t){this.is_empty()&&(this.__indent_count=e||0,this.__alignment_count=t||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},t.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},t.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},t.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var e=this.__parent.current_line;return e.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),e.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),e.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count," "===e.__items[0]&&(e.__items.splice(0,1),e.__character_count-=1),!0}return!1},t.prototype.is_empty=function(){return 0===this.__items.length},t.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},t.prototype.push=function(e){this.__items.push(e);var t=e.lastIndexOf("\n");-1!==t?this.__character_count=e.length-t:this.__character_count+=e.length},t.prototype.pop=function(){var e=null;return this.is_empty()||(e=this.__items.pop(),this.__character_count-=e.length),e},t.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},t.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},t.prototype.trim=function(){for(;" "===this.last();)this.__items.pop(),this.__character_count-=1},t.prototype.toString=function(){var e="";return this.is_empty()?this.__parent.indent_empty_lines&&(e=this.__parent.get_indent_string(this.__indent_count)):(e=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),e+=this.__items.join("")),e},n.prototype.get_indent_size=function(e,t){var n=this.__base_string_length;return t=t||0,e<0&&(n=0),n+=e*this.__indent_size,n+=t},n.prototype.get_indent_string=function(e,t){var n=this.__base_string;return t=t||0,e<0&&(e=0,n=""),t+=e*this.__indent_size,this.__ensure_cache(t),n+=this.__cache[t]},n.prototype.__ensure_cache=function(e){for(;e>=this.__cache.length;)this.__add_column()},n.prototype.__add_column=function(){var e=this.__cache.length,t=0,n="";this.__indent_size&&e>=this.__indent_size&&(e-=(t=Math.floor(e/this.__indent_size))*this.__indent_size,n=new Array(t+1).join(this.__indent_string)),e&&(n+=new Array(e+1).join(" ")),this.__cache.push(n)},r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(e,t){return this.__indent_cache.get_indent_string(e,t)},r.prototype.get_indent_size=function(e,t){return this.__indent_cache.get_indent_size(e,t)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(e){return!(this.is_empty()||!e&&this.just_added_newline())&&(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(e){this.trim(!0);var t=this.current_line.pop();t&&("\n"===t[t.length-1]&&(t=t.replace(/\n+$/g,"")),this.current_line.push(t)),this._end_with_newline&&this.__add_outputline();var n=this.__lines.join("\n");return"\n"!==e&&(n=n.replace(/[\n]/g,e)),n},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(e,t){return e=e||0,t=t||0,this.next_line.set_indent(e,t),this.__lines.length>1?(this.current_line.set_indent(e,t),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(e){for(var t=0;t1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(e,n){for(var r=this.__lines.length-2;r>=0;){var i=this.__lines[r];if(i.is_empty())break;if(0!==i.item(0).indexOf(e)&&i.item(-1)!==n){this.__lines.splice(r+1,0,new t(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}},e.exports.Output=r},,,,function(e){function t(e,t){this.raw_options=n(e,t),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs","\t"===this.indent_char),this.indent_with_tabs&&(this.indent_char="\t",1===this.indent_size&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}function n(e,t){var n,i={};for(n in e=r(e))n!==t&&(i[n]=e[n]);if(t&&e[t])for(n in e[t])i[n]=e[t][n];return i}function r(e){var t,n={};for(t in e){n[t.replace(/-/g,"_")]=e[t]}return n}t.prototype._get_array=function(e,t){var n=this.raw_options[e],r=t||[];return"object"==typeof n?null!==n&&"function"==typeof n.concat&&(r=n.concat()):"string"==typeof n&&(r=n.split(/[^a-zA-Z0-9_\/\-]+/)),r},t.prototype._get_boolean=function(e,t){var n=this.raw_options[e];return void 0===n?!!t:!!n},t.prototype._get_characters=function(e,t){var n=this.raw_options[e],r=t||"";return"string"==typeof n&&(r=n.replace(/\\r/,"\r").replace(/\\n/,"\n").replace(/\\t/,"\t")),r},t.prototype._get_number=function(e,t){var n=this.raw_options[e];t=parseInt(t,10),isNaN(t)&&(t=0);var r=parseInt(n,10);return isNaN(r)&&(r=t),r},t.prototype._get_selection=function(e,t,n){var r=this._get_selection_list(e,t,n);if(1!==r.length)throw new Error("Invalid Option Value: The option '"+e+"' can only be one of the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r[0]},t.prototype._get_selection_list=function(e,t,n){if(!t||0===t.length)throw new Error("Selection list cannot be empty.");if(n=n||[t[0]],!this._is_valid_selection(n,t))throw new Error("Invalid Default Value!");var r=this._get_array(e,n);if(!this._is_valid_selection(r,t))throw new Error("Invalid Option Value: The option '"+e+"' can contain only the following values:\n"+t+"\nYou passed in: '"+this.raw_options[e]+"'");return r},t.prototype._is_valid_selection=function(e,t){return e.length&&t.length&&!e.some((function(e){return-1===t.indexOf(e)}))},e.exports.Options=t,e.exports.normalizeOpts=r,e.exports.mergeOpts=n},,function(e){var t=RegExp.prototype.hasOwnProperty("sticky");function n(e){this.__input=e||"",this.__input_length=this.__input.length,this.__position=0}n.prototype.restart=function(){this.__position=0},n.prototype.back=function(){this.__position>0&&(this.__position-=1)},n.prototype.hasNext=function(){return this.__position=0&&e=0&&t=e.length&&this.__input.substring(t-e.length,t).toLowerCase()===e},e.exports.InputScanner=n},,,,,function(e){function t(e,t){e="string"==typeof e?e:e.source,t="string"==typeof t?t:t.source,this.__directives_block_pattern=new RegExp(e+/ beautify( \w+[:]\w+)+ /.source+t,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(e+/\sbeautify\signore:end\s/.source+t,"g")}t.prototype.get_directives=function(e){if(!e.match(this.__directives_block_pattern))return null;var t={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(e);n;)t[n[1]]=n[2],n=this.__directive_pattern.exec(e);return t},t.prototype.readIgnored=function(e){return e.readUntilAfter(this.__directives_end_ignore_pattern)},e.exports.Directives=t},,function(e,t,n){var r=n(16).Beautifier,i=n(17).Options;e.exports=function(e,t){return new r(e,t).beautify()},e.exports.defaultOptions=function(){return new i}},function(e,t,n){var r=n(17).Options,i=n(2).Output,s=n(8).InputScanner,o=new(0,n(13).Directives)(/\/\*/,/\*\//),a=/\r\n|[\r\n]/,l=/\r\n|[\r\n]/g,c=/\s/,h=/(?:\s|\n)+/g,d=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,p=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function u(e,t){this._source_text=e||"",this._options=new r(t),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}u.prototype.eatString=function(e){var t="";for(this._ch=this._input.next();this._ch;){if(t+=this._ch,"\\"===this._ch)t+=this._input.next();else if(-1!==e.indexOf(this._ch)||"\n"===this._ch)break;this._ch=this._input.next()}return t},u.prototype.eatWhitespace=function(e){for(var t=c.test(this._input.peek()),n=0;c.test(this._input.peek());)this._ch=this._input.next(),e&&"\n"===this._ch&&(0===n||n0&&this._indentLevel--},u.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var e=this._source_text,t=this._options.eol;"auto"===t&&(t="\n",e&&a.test(e||"")&&(t=e.match(a)[0]));var n=(e=e.replace(l,"\n")).match(/^[\t ]*/)[0];this._output=new i(this._options,n),this._input=new s(e),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var r,u,m=0,f=!1,g=!1,b=!1,v=!1,y=!1,w=this._ch,S=!1;r=""!==this._input.read(h),u=w,this._ch=this._input.next(),"\\"===this._ch&&this._input.hasNext()&&(this._ch+=this._input.next()),w=this._ch,this._ch;)if("/"===this._ch&&"*"===this._input.peek()){this._output.add_new_line(),this._input.back();var x=this._input.read(d),C=o.get_directives(x);C&&"start"===C.ignore&&(x+=o.readIgnored(this._input)),this.print_string(x),this.eatWhitespace(!0),this._output.add_new_line()}else if("/"===this._ch&&"/"===this._input.peek())this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(p)),this.eatWhitespace(!0);else if("$"===this._ch){this.preserveSingleSpace(r),this.print_string(this._ch);var _=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);_.match(/[ :]$/)&&(_=this.eatString(": ").replace(/\s+$/,""),this.print_string(_),this._output.space_before_token=!0),0===m&&-1!==_.indexOf(":")&&(g=!0,this.indent())}else if("@"===this._ch)if(this.preserveSingleSpace(r),"{"===this._input.peek())this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var k=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);k.match(/[ :]$/)&&(k=this.eatString(": ").replace(/\s+$/,""),this.print_string(k),this._output.space_before_token=!0),0===m&&-1!==k.indexOf(":")?(g=!0,this.indent()):k in this.NESTED_AT_RULE?(this._nestedLevel+=1,k in this.CONDITIONAL_GROUP_RULE&&(b=!0)):0!==m||g||(v=!0)}else if("#"===this._ch&&"{"===this._input.peek())this.preserveSingleSpace(r),this.print_string(this._ch+this.eatString("}"));else if("{"===this._ch)g&&(g=!1,this.outdent()),v=!1,b?(b=!1,f=this._indentLevel>=this._nestedLevel):f=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&f&&this._output.previous_line&&"{"!==this._output.previous_line.item(-1)&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,"expand"===this._options.brace_style?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):("("===u?this._output.space_before_token=!1:","!==u&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if("}"===this._ch)this.outdent(),this._output.add_new_line(),"{"===u&&this._output.trim(!0),g&&(this.outdent(),g=!1),this.print_string(this._ch),f=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&"}"!==this._input.peek()&&this._output.add_new_line(!0),")"===this._input.peek()&&(this._output.trim(!0),"expand"===this._options.brace_style&&this._output.add_new_line(!0));else if(":"===this._ch){for(var E=0;E"!==this._ch&&"+"!==this._ch&&"~"!==this._ch||g||0!==m)if("]"===this._ch)this.print_string(this._ch);else if("["===this._ch)this.preserveSingleSpace(r),this.print_string(this._ch);else if("="===this._ch)this.eatWhitespace(),this.print_string("="),c.test(this._ch)&&(this._ch="");else if("!"!==this._ch||this._input.lookBack("\\")){var N='"'===u||"'"===u;this.preserveSingleSpace(N||r),this.print_string(this._ch),!this._output.just_added_newline()&&"\n"===this._input.peek()&&S&&this._output.add_new_line()}else this._output.space_before_token=!0,this.print_string(this._ch);else this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&c.test(this._ch)&&(this._ch=""));return this._output.get_code(t)},e.exports.Beautifier=u},function(e,t,n){var r=n(6).Options;function i(e){r.call(this,e,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var t=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||t;var n=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var i=0;i0&&ua(r,l-1);)l--;0===l||pa(r,l-1)?a=l:l=0;){const n=e.charCodeAt(t);if(n===ca)return!0;if(n===ha)return!1;t--}return!1}(r,a),i=c===r.length,r=r.substring(a,c),0!==a){const r=e.offsetAt(Pt.create(t.start.line,0));s=function(e,t,n){let r=t,i=0;const s=n.tabSize||4;for(;r0){const e=n.insertSpaces?ie(" ",a*s):ie("\t",s);c=c.split("\n").join("\n"+e),0===t.start.character&&(c=e+c)}return[{range:t,newText:c}]}function la(e){return e.replace(/^\s+/,"")}var ca="{".charCodeAt(0),ha="}".charCodeAt(0);function da(e,t,n){if(e&&e.hasOwnProperty(t)){const n=e[t];if(null!==n)return n}return n}function pa(e,t){return-1!=="\r\n".indexOf(e.charAt(t))}function ua(e,t){return-1!==" \t".indexOf(e.charAt(t))}var ma={version:1.1,properties:[{name:"additive-symbols",browsers:["FF33"],atRule:"@counter-style",syntax:"[  &&  ]#",relevance:50,description:"@counter-style descriptor. Specifies the symbols used by the marker-construction algorithm specified by the system descriptor. Needs to be specified if the counter system is 'additive'.",restrictions:["integer","string","image","identifier"]},{name:"align-content",browsers:["E12","FF28","S9","C29","IE11","O16"],values:[{name:"center",description:"Lines are packed toward the center of the flex container."},{name:"flex-end",description:"Lines are packed toward the end of the flex container."},{name:"flex-start",description:"Lines are packed toward the start of the flex container."},{name:"space-around",description:"Lines are evenly distributed in the flex container, with half-size spaces on either end."},{name:"space-between",description:"Lines are evenly distributed in the flex container."},{name:"stretch",description:"Lines stretch to take up the remaining space."},{name:"start"},{name:"end"},{name:"normal"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"space-around"},{name:"space-between"},{name:"space-evenly"},{name:"stretch"},{name:"safe"},{name:"unsafe"}],syntax:"normal |  |  | ? ",relevance:66,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/align-content"}],description:"Aligns a flex container's lines within the flex container when there is extra space in the cross-axis, similar to how 'justify-content' aligns individual items within the main-axis.",restrictions:["enum"]},{name:"align-items",browsers:["E12","FF20","S9","C29","IE11","O16"],values:[{name:"baseline",description:"If the flex item's inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item's margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"normal"},{name:"start"},{name:"end"},{name:"self-start"},{name:"self-end"},{name:"first baseline"},{name:"last baseline"},{name:"stretch"},{name:"safe"},{name:"unsafe"}],syntax:"normal | stretch |  | [ ?  ]",relevance:87,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/align-items"}],description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",browsers:["E12","FF20","S9","C52","IE11","O12.1"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"safe"},{name:"unsafe"},{name:"legacy"}],syntax:"normal | stretch |  | ? [  | left | right ] | legacy | legacy && [ left | right | center ]",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/justify-items"}],description:"Defines the default justify-self for all items of the box, giving them the default way of justifying each box along the appropriate axis",restrictions:["enum"]},{name:"justify-self",browsers:["E16","FF45","S10.1","C57","IE10","O44"],values:[{name:"auto"},{name:"normal"},{name:"end"},{name:"start"},{name:"flex-end",description:'"Flex items are packed toward the end of the line."'},{name:"flex-start",description:'"Flex items are packed toward the start of the line."'},{name:"self-end",description:"The item is packed flush to the edge of the alignment container of the end side of the item, in the appropriate axis."},{name:"self-start",description:"The item is packed flush to the edge of the alignment container of the start side of the item, in the appropriate axis.."},{name:"center",description:"The items are packed flush to each other toward the center of the of the alignment container."},{name:"left"},{name:"right"},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"save"},{name:"unsave"}],syntax:"auto | normal | stretch |  | ? [  | left | right ]",relevance:55,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/justify-self"}],description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",browsers:["E12","FF20","S9","C29","IE10","O12.1"],values:[{name:"auto",description:"Computes to the value of 'align-items' on the element's parent, or 'stretch' if the element has no parent. On absolutely positioned elements, it computes to itself."},{name:"normal"},{name:"self-end"},{name:"self-start"},{name:"baseline",description:"If the flex item's inline axis is the same as the cross axis, this value is identical to 'flex-start'. Otherwise, it participates in baseline alignment."},{name:"center",description:"The flex item's margin box is centered in the cross axis within the line."},{name:"flex-end",description:"The cross-end margin edge of the flex item is placed flush with the cross-end edge of the line."},{name:"flex-start",description:"The cross-start margin edge of the flex item is placed flush with the cross-start edge of the line."},{name:"stretch",description:"If the cross size property of the flex item computes to auto, and neither of the cross-axis margins are auto, the flex item is stretched."},{name:"baseline"},{name:"first baseline"},{name:"last baseline"},{name:"safe"},{name:"unsafe"}],syntax:"auto | normal | stretch |  | ? ",relevance:73,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/align-self"}],description:"Allows the default alignment along the cross axis to be overridden for individual flex items.",restrictions:["enum"]},{name:"all",browsers:["E79","FF27","S9.1","C37","O24"],values:[],syntax:"initial | inherit | unset | revert | revert-layer",relevance:53,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/all"}],description:"Shorthand that resets all properties except 'direction' and 'unicode-bidi'.",restrictions:["enum"]},{name:"alt",browsers:["S9"],values:[],relevance:50,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/alt"}],description:"Provides alternative text for assistive technology to replace the generated content of a ::before or ::after element.",restrictions:["string","enum"]},{name:"animation",browsers:["E12","FF16","S9","C43","IE10","O30"],values:[{name:"alternate",description:"The animation cycle iterations that are odd counts are played in the normal direction, and the animation cycle iterations that are even counts are played in a reverse direction."},{name:"alternate-reverse",description:"The animation cycle iterations that are odd counts are played in the reverse direction, and the animation cycle iterations that are even counts are played in a normal direction."},{name:"backwards",description:"The beginning property value (as defined in the first @keyframes at-rule) is applied before the animation is displayed, during the period defined by 'animation-delay'."},{name:"both",description:"Both forwards and backwards fill modes are applied."},{name:"forwards",description:"The final property value (as defined in the last @keyframes at-rule) is maintained after the animation completes."},{name:"infinite",description:"Causes the animation to repeat forever."},{name:"none",description:"No animation is performed"},{name:"normal",description:"Normal playback."},{name:"reverse",description:"All iterations of the animation are played in the reverse direction from the way they were specified."}],syntax:"#",relevance:82,references:[{name:"MDN Reference",url:"https://developer.mozilla.org/docs/Web/CSS/animation"}],description:"Shorthand property combines six of the animation properties into a single property.",restrictions:["time","timing-function","enum","identifier","number"]},{name:"animation-delay",browsers:["E12","FF16","S9","C43","IE10","O30"],syntax:"