(e=>{var t={};function n(r){var i;return(t[r]||(i=t[r]={i:r,l:!1,exports:{}},e[r].call(i.exports,i,i.exports,n),i.l=!0,i)).exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/admin/",n(n.s="2add")})({"2add":function(e,t,n){n.r(t);let r=new class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{if(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){var t,n;return e instanceof Error?(({name:t,message:n}=e),{$isError:!0,name:t,message:n,stack:e.stacktrace||e.stack}):e}let o="Canceled";function s(e){return e instanceof Error&&e.name===o&&e.message===o}var a;Error;{var l=a=a||{};l.is=function(e){return e&&"object"==typeof e&&"function"==typeof e[Symbol.iterator]};let e=Object.freeze([]);l.empty=function(){return e},l.single=function*(e){yield e},l.from=function(t){return t||e},l.isEmpty=function(e){return!e||!0===e[Symbol.iterator]().next().done},l.first=function(e){return e[Symbol.iterator]().next().value},l.some=function(e,t){for(var n of e)if(t(n))return!0;return!1},l.find=function(e,t){for(var n of e)if(t(n))return n},l.filter=function*(e,t){for(var n of e)t(n)&&(yield n)},l.map=function*(e,t){let n=0;for(var r of e)yield t(r,n++)},l.concat=function*(...e){for(var t of e)for(var n of t)yield n},l.concatNested=function*(e){for(var t of e)for(var n of t)yield n},l.reduce=function(e,t,n){let r=n;for(var i of e)r=t(r,i);return r},l.slice=function*(e,t,n=e.length){for(t<0&&(t+=e.length),n<0?n+=e.length:n>e.length&&(n=e.length);te===t)){for(var r=e[Symbol.iterator](),i=t[Symbol.iterator]();;){var o=r.next(),s=i.next();if(o.done!==s.done)return!1;if(o.done)return!0;if(!n(o.value,s.value))return!1}}}let c=null;function d(e){return null!=c&&c.trackDisposable(e),e}function h(e){null!=c&&c.markAsDisposed(e)}function p(e,t){null!=c&&c.setParent(e,t)}class m extends Error{constructor(e){super(`Encountered errors while disposing of store. Errors: [${e.join(", ")}]`),this.errors=e}}function u(e){if(a.is(e)){var t,n=[];for(t of e)if(t)try{t.dispose()}catch(e){n.push(e)}if(1===n.length)throw n[0];if(1u(e)),n=e,r=t;if(c)for(var i of n)c.setParent(i,r);return t}function g(e){let t=d({dispose:function(e){let t,n=this,r=!1;return function(){return r||(r=!0,t=e.apply(n,arguments)),t}}(()=>{h(t),e()})});return t}class b{constructor(){this._toDispose=new Set,this._isDisposed=!1,d(this)}dispose(){this._isDisposed||(h(this),this._isDisposed=!0,this.clear())}clear(){try{u(this._toDispose.values())}finally{this._toDispose.clear()}}add(e){if(e){if(e===this)throw new Error("Cannot register a disposable on itself!");p(e,this),this._isDisposed||this._toDispose.add(e)}return e}}b.DISABLE_DISPOSED_WARNING=!1;class v{constructor(){this._store=new b,d(this),p(this._store,this)}dispose(){h(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}}v.None=Object.freeze({dispose(){}});var y=n("30db");function w(e){var t,n=[];for(t of(e=>{let t=[],n=Object.getPrototypeOf(e);for(;Object.prototype!==n;)t=t.concat(Object.getOwnPropertyNames(n)),n=Object.getPrototypeOf(n);return t})(e))"function"==typeof e[t]&&n.push(t);return n}function x(e,t){var n,r={};for(n of e)r[n]=(e=>function(){var n=Array.prototype.slice.call(arguments,0);return t(e,n)})(n);return r}let S="$initialize";class C{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null)}setWorkerId(e){this._workerId=e}sendMessage(e,t){let n=String(++this._lastSentReq);return new Promise((r,i)=>{this._pendingReplies[n]={resolve:r,reject:i},this._send({vsWorker:this._workerId,req:n,method:e,args:t})})}handleMessage(e){e&&e.vsWorker&&(-1!==this._workerId&&e.vsWorker!==this._workerId||this._handleMessage(e))}_handleMessage(e){if(e.seq){var t=e;if(this._pendingReplies[t.seq]){var n=this._pendingReplies[t.seq];if(delete this._pendingReplies[t.seq],t.err){let e=t.err;t.err.$isError&&((e=new Error).name=t.err.name,e.message=t.err.message,e.stack=t.err.stack),n.reject(e)}else n.resolve(t.res)}}else{let t=e.req;this._handler.handleMessage(e.method,e.args).then(e=>{this._send({vsWorker:this._workerId,seq:t,res:e,err:void 0})},e=>{e.detail instanceof Error&&(e.detail=i(e.detail)),this._send({vsWorker:this._workerId,seq:t,res:void 0,err:i(e)})})}}_send(e){var t=[];if(e.req){var n=e;for(let e=0;e{e(t,n)},handleMessage:(e,t)=>this._handleMessage(e,t)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,t){if(e===S)return this.initialize(t[0],t[1],t[2],t[3]);if(!this._requestHandler||"function"!=typeof this._requestHandler[e])return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._requestHandler[e].apply(this._requestHandler,t))}catch(e){return Promise.reject(e)}}initialize(e,t,n,r){this._protocol.setWorkerId(e);let i=x(r,(e,t)=>this._protocol.sendMessage(e,t));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(i),Promise.resolve(w(this._requestHandler))):(t&&(void 0!==t.baseUrl&&delete t.baseUrl,void 0!==t.paths&&void 0!==t.paths.vs&&delete t.paths.vs,delete t.trustedTypesPolicy,t.catchError=!0,self.require.config(t)),new Promise((e,t)=>{self.require([n],n=>{this._requestHandler=n.create(i),this._requestHandler?e(w(this._requestHandler)):t(new Error("No RequestHandler!"))},t)}))}}class E{constructor(e,t,n,r){this.originalStart=e,this.originalLength=t,this.modifiedStart=n,this.modifiedLength=r}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}function _(e,t=e.length-1){for(let r=t;0<=r;r--){var n=e.charCodeAt(r);if(32!==n&&9!==n)return r}return-1}String.fromCharCode(65279);class F{constructor(){this._data=JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,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,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,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,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,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,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,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,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,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,2259,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,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,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,6848,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,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,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,9776,9783,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,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,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,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,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}static getInstance(){return F._INSTANCE||(F._INSTANCE=new F),F._INSTANCE}getGraphemeBreakType(e){if(e<32)return 10===e?3:13===e?2:4;if(!(e<127)){var 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}}function D(e,t){return(t<<5)-t+e|0}function z(e,t){t=D(149417,t);for(let n=0,r=e.length;n=c[F+1]?(m=(d=c[F+1]-1)-S-a,d>C&&y.MarkNextChange(),C=d+1,y.AddOriginalElement(d+1,m+1),F+1-i):(m=(d=c[F-1])-S-a,d>C&&y.MarkNextChange(),C=d,y.AddModifiedElement(d+1,m+1),F-1-i),0<=k&&(i=(c=this.m_reverseHistory[k])[0],w=1,x=c.length-1)}while(-1<=--k);v=y.getChanges()}return this.ConcatenateChanges(t,v)}ComputeRecursionPoint(e,t,n,r,i,o,s){let a=0,l=0,c=0,d=0,h=0,p=0;e--,n--,o[i[0]=0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];var m=t-e+(r-n),u=1+m,f=new Int32Array(u),g=new Int32Array(u),b=r-n,v=t-e,y=e-n,w=t-r,x=(v-b)%2==0;f[b]=e,g[v]=t,s[0]=!1;for(let _=1;_<=m/2+1;_++){let m=0,F=0;c=this.ClipDiagonalBound(b-_,_,b,u),d=this.ClipDiagonalBound(b+_,_,b,u);for(let e=c;e<=d;e+=2){a=e===c||em+F&&(m=a,F=l),!x&&Math.abs(e-v)<=_-1&&a>=g[e])return i[0]=a,o[0]=l,S<=g[e]&&_<=1448?this.WALKTRACE(b,c,d,y,v,h,p,w,f,g,a,t,i,l,r,o,x,s):null}var C=(m-e+(F-n)-_)/2;if(null!==this.ContinueProcessingPredicate&&!this.ContinueProcessingPredicate(m,C))return s[0]=!0,i[0]=m,o[0]=F,0=g[u+1]?g[u+1]-1:g[u-1],l=a-(u-v)-w;for(var k=a;a>e&&l>n&&this.ElementsAreEqual(a,l);)a--,l--;if(g[u]=a,x&&Math.abs(u-b)<=_&&a<=f[u])return i[0]=a,o[0]=l,k>=f[u]&&_<=1448?this.WALKTRACE(b,c,d,y,v,h,p,w,f,g,a,t,i,l,r,o,x,s):null}if(_<=1447){let e=new Int32Array(d-c+2);e[0]=b-c+1,N.Copy2(f,c,e,1,d-c+1),this.m_forwardHistory.push(e),(e=new Int32Array(p-h+2))[0]=v-h+1,N.Copy2(g,h,e,1,p-h+1),this.m_reverseHistory.push(e)}}return this.WALKTRACE(b,c,d,y,v,h,p,w,f,g,a,t,i,l,r,o,x,s)}PrettifyChanges(e){for(let C=0;Ci&&(i=h,r=e)}l.originalStart-=r,l.modifiedStart-=r;var m=[null];0a&&(a=d,l=h,c=e)}return 0=this._originalElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,t){return!(!this._OriginalIsBoundary(e)&&!this._OriginalIsBoundary(e-1))||!!(0=this._modifiedElementsOrHash.length-1||this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,t){return!(!this._ModifiedIsBoundary(e)&&!this._ModifiedIsBoundary(e-1))||!!(0=t.originalStart||e.modifiedStart+e.modifiedLength>=t.modifiedStart){var r=e.originalStart;let o=e.originalLength;var i=e.modifiedStart;let s=e.modifiedLength;return e.originalStart+e.originalLength>=t.originalStart&&(o=t.originalStart+t.originalLength-e.originalStart),t.modifiedStart<=e.modifiedStart+e.modifiedLength&&(s=t.modifiedStart+t.modifiedLength-e.modifiedStart),n[0]=new E(r,o,i,s),!0}return n[0]=null,!1}ClipDiagonalBound(e,t,n,r){return 0<=e&&ei&&92===e.charCodeAt(o-1);)o--;n=o-i;let s=0;for(;ss&&92===t.charCodeAt(a-1);)a--;var l=a-s,c=n=r;--l)if(L(e.charCodeAt(l))){if(!a){s=l;break}}else a=!1;if(-1===s){if(-1===n)return".";s=n}return e.slice(0,s)},basename(e,t){void 0!==t&&O(t,"ext"),O(e,"path");let n,r=0,i=-1,o=!0;if(2<=e.length&&U(e.charCodeAt(0))&&58===e.charCodeAt(1)&&(r=2),void 0!==t&&0=r;--n){var s=e.charCodeAt(n);if(L(s)){if(!o){r=n+1;break}}else-1===l&&(o=!1,l=n+1),0<=a&&(s===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>=r;--n)if(L(e.charCodeAt(n))){if(!o){r=n+1;break}}else-1===i&&(o=!1,i=n+1);return-1===i?"":e.slice(r,i)},extname(e){O(e,"path");let t=0,n=-1,r=0,i=-1,o=!0,s=0;2<=e.length&&58===e.charCodeAt(1)&&U(e.charCodeAt(0))&&(t=r=2);for(let l=e.length-1;l>=t;--l){var a=e.charCodeAt(l);if(L(a)){if(o)continue;r=l+1;break}-1===i&&(o=!1,i=l+1),46===a?-1===n?n=l:1!==s&&(s=1):-1!==n&&(s=-1)}return-1===n||-1===i||0===s||1===s&&n===i-1&&n===r+1?"":e.slice(n,i)},format:V.bind(null,"\\"),parse(e){O(e,"path");var t={root:"",dir:"",base:"",ext:"",name:""};if(0!==e.length){var n=e.length;let i=0,o=e.charCodeAt(0);if(1===n)L(o)?t.root=t.dir=e:t.base=t.name=e;else{if(L(o)){if(i=1,L(e.charCodeAt(1))){let t=2;for(var r=t;t=i;--d){if(L(o=e.charCodeAt(d))){if(c)continue;a=d+1;break}-1===l&&(c=!1,l=d+1),46===o?-1===s?s=d:1!==h&&(h=1):-1!==s&&(h=-1)}-1!==l&&(-1===s||0===h||1===h&&s===l-1&&s===a+1?t.base=t.name=e.slice(a,l):(t.name=e.slice(a,s),t.base=e.slice(a,l),t.ext=e.slice(s,l))),t.dir=0=i;--c){var r=e.charCodeAt(c);if(47===r){if(l)continue;s=c+1;break}-1===a&&(l=!1,a=c+1),46===r?-1===o?o=c:1!==d&&(d=1):-1!==o&&(d=-1)}if(-1!==a){let r=0===s&&n?1:s;-1===o||0===d||1===d&&o===a-1&&o===s+1?t.base=t.name=e.slice(r,a):(t.name=e.slice(r,o),t.base=e.slice(r,a),t.ext=e.slice(o,a))}0{switch(e){case"https":case"http":case"file":t?t[0]!==X&&(t=X+t):t=X}return t})(this.scheme,n||""),this.query=r||"",this.fragment=i||"",J(this,o))}static isUri(e){return e instanceof Z||!!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}get fsPath(){return oe(this,!1)}with(e){if(!e)return this;let{scheme:t,authority:n,path:r,query:i,fragment:o}=e;return void 0===t?t=this.scheme:null===t&&(t=""),void 0===n?n=this.authority:null===n&&(n=""),void 0===r?r=this.path:null===r&&(r=""),void 0===i?i=this.query:null===i&&(i=""),void 0===o?o=this.fragment:null===o&&(o=""),t===this.scheme&&n===this.authority&&r===this.path&&i===this.query&&o===this.fragment?this:new te(t,n,r,i,o)}static parse(e,t=!1){return e=Q.exec(e),e?new te(e[2]||"",le(e[4]||""),le(e[5]||""),le(e[7]||""),le(e[9]||""),t):new te("","","","","")}static file(e){let t="";var n;return(e=y.d?e.replace(/\\/g,X):e)[0]===X&&e[1]===X&&(e=-1===(n=e.indexOf(X,2))?(t=e.substring(2),X):(t=e.substring(2,n),e.substring(n)||X)),new te("file",t,e,"","")}static from(e){return e=new te(e.scheme,e.authority,e.path,e.query,e.fragment),J(e,!0),e}static joinPath(e,...t){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return n=y.d&&"file"===e.scheme?Z.file(B.join(oe(e,!0),...t)).path:q.join(e.path,...t),e.with({path:n})}toString(e=!1){return se(this,e)}toJSON(){return this}static revive(e){var t;return e&&(e instanceof Z?e:((t=new te(e))._formatted=e.external,t._fsPath=e._sep===ee?e.fsPath:null,t))}}let ee=y.d?1:void 0;class te extends Z{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=oe(this,!1)),this._fsPath}toString(e=!1){return e?se(this,!0):(this._formatted||(this._formatted=se(this,!1)),this._formatted)}toJSON(){var e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=ee),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}}let ne={[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 re(e,t){let n=void 0,r=-1;for(let o=0;ofunction t(n){try{return decodeURIComponent(n)}catch(e){return 3e.endLineNumber||t.lineNumber===e.startLineNumber&&t.columne.endColumn)}containsRange(e){return de.containsRange(this,e)}static containsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumne.endColumn)}strictContainsRange(e){return de.strictContainsRange(this,e)}static strictContainsRange(e,t){return!(t.startLineNumbere.endLineNumber||t.startLineNumber===e.startLineNumber&&t.startColumn<=e.startColumn||t.endLineNumber===e.endLineNumber&&t.endColumn>=e.endColumn)}plusRange(e){return de.plusRange(this,e)}static plusRange(e,t){let n,r,i,o;return r=t.startLineNumbera?(i=a,o=t):i===a&&(o=Math.min(o,t)),n>i||n===i&&r>o?null:new de(n,r,i,o)}equalsRange(e){return de.equalsRange(this,e)}static equalsRange(e,t){return!!e&&!!t&&e.startLineNumber===t.startLineNumber&&e.startColumn===t.startColumn&&e.endLineNumber===t.endLineNumber&&e.endColumn===t.endColumn}getEndPosition(){return de.getEndPosition(this)}static getEndPosition(e){return new ce(e.endLineNumber,e.endColumn)}getStartPosition(){return de.getStartPosition(this)}static getStartPosition(e){return new ce(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,t){return new de(this.startLineNumber,this.startColumn,e,t)}setStartPosition(e,t){return new de(e,t,this.endLineNumber,this.endColumn)}collapseToStart(){return de.collapseToStart(this)}static collapseToStart(e){return new de(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}static fromPositions(e,t=e){return new de(e.lineNumber,e.column,t.lineNumber,t.column)}static lift(e){return e?new de(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}}function he(e,t,n,r){return new I(e,t,n).ComputeDiff(r)}class pe{constructor(e){var t=[],n=[];for(let r=0,i=e.length;r{if(e.length<=1)return e;var t=[e[0]];let n=t[0];for(let s=1,a=e.length;s{for(let n=0,r=e.length;n!0;let t=Date.now();return()=>Date.now()-t=r.length||0===(t=(n=r.length-e)<=t?n:t)||(this.values=new Uint32Array(r.length-t),this.values.set(r.subarray(0,e),0),this.values.set(r.subarray(e+t),e),this.prefixSum=new Uint32Array(this.values.length),e-1=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];this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e)}return this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let t=0,n=this.values.length-1,r=0;var i;let o=0;for(;t<=n;)if(r=t+(n-t)/2|0,i=this.prefixSum[r],e<(o=i-this.values[r]))n=r-1;else{if(!(i<=e))break;t=r+1}return new Se(r,e-o)}}let ke=((e="")=>{let t="(-?\\d*\\.\\d\\w*)|([^";for(var n of"`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?")0<=e.indexOf(n)||(t+="\\"+n);return t+="\\s]+)",new RegExp(t,"g")})(),Ee={maxLen:1e3,windowSize:15,timeBudget:150};function _e(e,t,n,r,i=Ee){if(n.length>i.maxLen){let o=e-i.maxLen/2;return o<0?o=0:r+=o,_e(e,t,n=n.substring(o,e+i.maxLen/2),r,i)}var o=Date.now(),s=e-1-r;let a=-1,l=null;for(let h=1;!(Date.now()-o>=i.timeBudget);h++){var c=s-i.windowSize*h,d=(t.lastIndex=Math.max(0,c),((e,t,n,r)=>{for(var i;i=e.exec(t);){var o=i.index||0;if(o<=n&&e.lastIndex>=n)return i;if(0t&&(t=i),o>(n=r>n?r:n)&&(n=o)}t++,n++;var s=new De(n,t,0);for(let d=0,h=e.length;d=this._maxCharCode?0:this._states.get(e,t)}}let Te=null,Re=null;class Ne{static _createLink(e,t,n,r,i){let o=i-1;do{var s=t.charCodeAt(o);if(2!==e.get(s))break}while(--o>r);var a;return 0{if(null===Re){Re=new Fe(0);var e=" \t<>'\"、。。、,.:;‘〈「『〔([{「」}])〕』」〉’`~…";for(let t=0;t{r||(r=!0,this._remove(n))}}shift(){var e;if(this._first!==Ie.Undefined)return e=this._first.element,this._remove(this._first),e}pop(){var e;if(this._last!==Ie.Undefined)return e=this._last.element,this._remove(this._last),e}_remove(e){var t;e.prev!==Ie.Undefined&&e.next!==Ie.Undefined?((t=e.prev).next=e.next,e.next.prev=t):e.prev===Ie.Undefined&&e.next===Ie.Undefined?(this._first=Ie.Undefined,this._last=Ie.Undefined):e.next===Ie.Undefined?(this._last=this._last.prev,this._last.next=Ie.Undefined):e.prev===Ie.Undefined&&(this._first=this._first.next,this._first.prev=Ie.Undefined),--this._size}*[Symbol.iterator](){let e=this._first;for(;e!==Ie.Undefined;)yield e.element,e=e.next}}let Pe=y.a.performance&&"function"==typeof y.a.performance.now;class Oe{constructor(e){this._highResolution=Pe&&e,this._startTime=this._now(),this._stopTime=-1}static create(e=!0){return new Oe(e)}stop(){this._stopTime=this._now()}elapsed(){return-1!==this._stopTime?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return(this._highResolution?y.a.performance:Date).now()}}{var Le=$t=$t||{};function We(e){return(t,n=null,r)=>{let i,o=!1;return i=e(e=>{if(!o)return i?i.dispose():o=!0,t.call(n,e)},null,r),o&&i.dispose(),i}}function Ue(e,t){return qe((n,r=null,i)=>e(e=>n.call(r,t(e)),null,i))}function je(e,t){return qe((n,r=null,i)=>e(e=>{t(e),n.call(r,e)},null,i))}function Ve(e,t){return qe((n,r=null,i)=>e(e=>t(e)&&n.call(r,e),null,i))}function Be(e,t,n){let r=n;return Ue(e,e=>r=t(r,e))}function qe(e){let t,n=new Ye({onFirstListenerAdd(){t=e(n.fire,n)},onLastListenerRemove(){t.dispose()}});return n.event}function Ke(e,t,n=100,r=!1,i){let o,s=void 0,a=void 0,l=0,c=new Ye({leakWarningThreshold:i,onFirstListenerAdd(){o=e(e=>{l++,s=t(s,e),r&&!a&&(c.fire(s),s=void 0),clearTimeout(a),a=setTimeout(()=>{var e=s;s=void 0,a=void 0,(!r||1e===t)){let n,r=!0;return Ve(e,e=>{var i=r||!t(e,n);return r=!1,n=e,i})}Le.None=()=>v.None,Le.once=We,Le.map=Ue,Le.forEach=je,Le.filter=Ve,Le.signal=function(e){return e},Le.any=function(...e){return(t,n=null,r)=>f(...e.map(e=>e(e=>t.call(n,e),null,r)))},Le.reduce=Be,Le.debounce=Ke,Le.latch=$e,Le.split=function(e,t){return[Le.filter(e,t),Le.filter(e,e=>!t(e))]},Le.buffer=function(e,t=!1,n=[]){let r=n.slice(),i=e(e=>{r?r.push(e):s.fire(e)}),o=()=>{r&&r.forEach(e=>s.fire(e)),r=null},s=new Ye({onFirstListenerAdd(){i=i||e(e=>s.fire(e))},onFirstListenerDidAdd(){r&&(t?setTimeout(o):o())},onLastListenerRemove(){i&&i.dispose(),i=null}});return s.event};class e{constructor(e){this.event=e}map(t){return new e(Ue(this.event,t))}forEach(t){return new e(je(this.event,t))}filter(t){return new e(Ve(this.event,t))}reduce(t,n){return new e(Be(this.event,t,n))}latch(){return new e($e(this.event))}debounce(t,n=100,r=!1,i){return new e(Ke(this.event,t,n,r,i))}on(e,t,n){return this.event(e,t,n)}once(e,t,n){return We(this.event)(e,t,n)}}Le.chain=function(t){return new e(t)},Le.fromNodeEventEmitter=function(e,t,n=(e=>e)){let r=(...e)=>i.fire(n(...e)),i=new Ye({onFirstListenerAdd:()=>e.on(t,r),onLastListenerRemove:()=>e.removeListener(t,r)});return i.event},Le.fromDOMEventEmitter=function(e,t,n=(e=>e)){let r=(...e)=>i.fire(n(...e)),i=new Ye({onFirstListenerAdd:()=>e.addEventListener(t,r),onLastListenerRemove:()=>e.removeEventListener(t,r)});return i.event},Le.toPromise=function(e){return new Promise(t=>We(e)(t))}}class Ge{constructor(e){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=e+"_"+Ge._idPool++}start(e){this._stopWatch=new Oe(!0),this._listenerCount=e}stop(){var e;this._stopWatch&&(e=this._stopWatch.elapsed(),this._elapsedOverall+=e,this._invocationCount+=1,this._stopWatch=void 0)}}Ge._idPool=0;class Ye{constructor(e){this._disposed=!1,this._options=e,this._leakageMon=void 0,this._perfMon=null!=(e=this._options)&&e._profName?new Ge(this._options._profName):void 0}get event(){return this._event||(this._event=(e,t,n)=>{this._listeners||(this._listeners=new Me);var r=this._listeners.isEmpty();r&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);let i=this._listeners.push(t?[e,t]:e),o=(r&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,e,t),null==(r=this._leakageMon)?void 0:r.check(this._listeners.size));return e=g(()=>{o&&o(),this._disposed||(i(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))}),n instanceof b?n.add(e):Array.isArray(n)&&n.push(e),e}),this._event}fire(e){var t,n;if(this._listeners){for(var i of(this._deliveryQueue||(this._deliveryQueue=new Me),this._listeners))this._deliveryQueue.push([i,e]);for(null!=(t=this._perfMon)&&t.start(this._deliveryQueue.size);0 "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return rt.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 rt(this.startLineNumber,this.startColumn,e,t):new rt(e,t,this.startLineNumber,this.startColumn)}getPosition(){return new ce(this.positionLineNumber,this.positionColumn)}setStartPosition(e,t){return 0===this.getDirection()?new rt(e,t,this.endLineNumber,this.endColumn):new rt(this.endLineNumber,this.endColumn,e,t)}static fromPositions(e,t=e){return new rt(e.lineNumber,e.column,t.lineNumber,t.column)}static liftSelection(e){return new rt(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,t){if(e&&!t||!e&&t)return!1;if(e||t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n>>0)>>>0}}ot.CtrlCmd=2048,ot.Shift=1024,ot.Alt=512,ot.WinCtrl=256;var st,at=function(e,t,n,r){return new(n=n||Promise)((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n((function(e){e(t)}))).then(s,a)}l((r=r.apply(e,t||[])).next())}))};class lt extends class{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){var t;for(t of(e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null),e.changes))this._acceptDeleteRange(t.range),this._acceptInsertText(new ce(t.range.startLineNumber,t.range.startColumn),t.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){var e=this._eol.length,t=this._lines.length,n=new Uint32Array(t);for(let r=0;r{let t=ke;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})(t),this._lines[e.lineNumber-1],0),t?new de(e.lineNumber,t.startColumn,e.lineNumber,t.endColumn):null}words(e){let t=this._lines,n=this._wordenize.bind(this),r=0,i="",o=0,s=[];return{*[Symbol.iterator](){for(;;)if(othis._lines.length?(t=this._lines.length,n=this._lines[t-1].length+1,r=!0):(i=this._lines[t-1].length+1,n<1?(n=1,r=!0):n>i&&(n=i,r=!0)),r?{lineNumber:t,column:n}:e}}class ct{constructor(e,t){this._host=e,this._models=Object.create(null),this._foreignModuleFactory=t,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(e){return this._models[e]}_getModels(){let e=[];return Object.keys(this._models).forEach(t=>e.push(this._models[t])),e}acceptNewModel(e){this._models[e.url]=new lt(Z.parse(e.url),e.lines,e.EOL,e.versionId)}acceptModelChanged(e,t){this._models[e]&&this._models[e].onEvents(t)}acceptRemovedModel(e){this._models[e]&&delete this._models[e]}computeDiff(e,t,n,r){return at(this,void 0,void 0,(function*(){var i,o,s=this._getModel(e),a=this._getModel(t);return s&&a?(i=s.getLinesContent(),o=a.getLinesContent(),o=!(0<(i=new ge(i,o,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:n,shouldMakePrettyDiff:!0,maxComputationTime:r}).computeDiff()).changes.length)&&this._modelsAreIdentical(s,a),{quitEarly:i.quitEarly,identical:o,changes:i.changes}):null}))}_modelsAreIdentical(e,t){var 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}computeMoreMinimalEdits(e,t){return at(this,void 0,void 0,(function*(){var n=this._getModel(e);if(!n)return t;var r,i,o,s,a,l=[];let c=void 0;for({range:r,text:i,eol:o}of t=t.slice(0).sort((e,t)=>e.range&&t.range?de.compareRangesUsingStarts(e.range,t.range):(e.range?0:1)-(t.range?0:1)))if("number"==typeof o&&(c=o),!de.isEmpty(r)||i){var d=n.getValueInRange(r);if(d!==(i=i.replace(/\r\n|\n|\r/g,n.eol)))if(Math.max(i.length,d.length)>ct._diffLimit)l.push({range:r,text:i});else{d=d,s=i,a=!1;d=new I(new T(d),new T(s)).ComputeDiff(a).changes;var h,p=n.offsetAt(de.lift(r).getStartPosition());for(h of d){var m=n.positionAt(p+h.originalStart),u=n.positionAt(p+h.originalStart+h.originalLength);m={text:i.substr(h.modifiedStart,h.modifiedLength),range:{startLineNumber:m.lineNumber,startColumn:m.column,endLineNumber:u.lineNumber,endColumn:u.column}};n.getValueInRange(m.range)!==m.text&&l.push(m)}}}return"number"==typeof c&&l.push({eol:c,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),l}))}computeLinks(e){return at(this,void 0,void 0,(function*(){var t=this._getModel(e);return t?(t=t)&&"function"==typeof t.getLineCount&&"function"==typeof t.getLineContent?Ne.computeLinks(t):[]:null}))}textualSuggest(e,t,n,r){return at(this,void 0,void 0,(function*(){var i=new Oe(!0),o=new RegExp(n,r),s=new Set;e:for(var a of e)if(a=this._getModel(a),a)for(var l of a.words(o))if(l!==t&&isNaN(Number(l))&&(s.add(l),s.size>ct._suggestionsLimit))break e;return{words:Array.from(s),duration:i.elapsed()}}))}computeWordRanges(e,t,n,r){return at(this,void 0,void 0,(function*(){var i=this._getModel(e);if(!i)return Object.create(null);var o,s=new RegExp(n,r),a=Object.create(null);for(let e=t.startLineNumber;ethis._host.fhr(e,t)),this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory({host:n,getMirrorModels:()=>this._getModels()},t),Promise.resolve(w(this._foreignModule))):Promise.reject(new Error("Unexpected usage"))}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)}}}ct._diffLimit=1e5,ct._suggestionsLimit=1e4,"function"==typeof importScripts&&(y.a.monaco={editor:void 0,languages:void 0,CancellationTokenSource:Xe,Emitter:Ye,KeyCode:Gt,KeyMod:ot,Position:ce,Range:de,Selection:rt,SelectionDirection:Yt,MarkerSeverity:Ht,MarkerTag:Jt,Uri:Z,Token:it});let dt=!1;function ht(e){if(!dt){dt=!0;let t=new k(e=>{self.postMessage(e)},t=>new ct(t,e));self.onmessage=e=>{t.onmessage(e.data)}}}self.onmessage=e=>{dt||ht(null)},(t=st=st||{})[t.Ident=0]="Ident",t[t.AtKeyword=1]="AtKeyword",t[t.String=2]="String",t[t.BadString=3]="BadString",t[t.UnquotedString=4]="UnquotedString",t[t.Hash=5]="Hash",t[t.Num=6]="Num",t[t.Percentage=7]="Percentage",t[t.Dimension=8]="Dimension",t[t.UnicodeRange=9]="UnicodeRange",t[t.CDO=10]="CDO",t[t.CDC=11]="CDC",t[t.Colon=12]="Colon",t[t.SemiColon=13]="SemiColon",t[t.CurlyL=14]="CurlyL",t[t.CurlyR=15]="CurlyR",t[t.ParenthesisL=16]="ParenthesisL",t[t.ParenthesisR=17]="ParenthesisR",t[t.BracketL=18]="BracketL",t[t.BracketR=19]="BracketR",t[t.Whitespace=20]="Whitespace",t[t.Includes=21]="Includes",t[t.Dashmatch=22]="Dashmatch",t[t.SubstringOperator=23]="SubstringOperator",t[t.PrefixOperator=24]="PrefixOperator",t[t.SuffixOperator=25]="SuffixOperator",t[t.Delim=26]="Delim",t[t.EMS=27]="EMS",t[t.EXS=28]="EXS",t[t.Length=29]="Length",t[t.Angle=30]="Angle",t[t.Time=31]="Time",t[t.Freq=32]="Freq",t[t.Exclamation=33]="Exclamation",t[t.Resolution=34]="Resolution",t[t.Comma=35]="Comma",t[t.Charset=36]="Charset",t[t.EscapedJavaScript=37]="EscapedJavaScript",t[t.BadEscapedJavaScript=38]="BadEscapedJavaScript",t[t.Comment=39]="Comment",t[t.SingleLineComment=40]="SingleLineComment",t[t.EOF=41]="EOF",t[t.CustomToken=42]="CustomToken",mt.prototype.substring=function(e,t){return void 0===t&&(t=this.position),this.source.substring(e,t)},mt.prototype.eos=function(){return this.len<=this.position},mt.prototype.pos=function(){return this.position},mt.prototype.goBackTo=function(e){this.position=e},mt.prototype.goBack=function(e){this.position-=e},mt.prototype.advance=function(e){this.position+=e},mt.prototype.nextChar=function(){return this.source.charCodeAt(this.position++)||0},mt.prototype.peekChar=function(e){return this.source.charCodeAt(this.position+(e=void 0===e?0:e))||0},mt.prototype.lookbackChar=function(e){return this.source.charCodeAt(this.position-(e=void 0===e?0:e))||0},mt.prototype.advanceIfChar=function(e){return e===this.source.charCodeAt(this.position)&&(this.position++,!0)},mt.prototype.advanceIfChars=function(e){if(this.position+e.length>this.source.length)return!1;for(var t=0;te.end?null:(e.accept((function(e){return-1===e.offset&&-1===e.length||e.offset<=t&&e.end>=t&&((!n||e.length<=n.length)&&(n=e),!0)})),n)}function pn(e,t){for(var n=hn(e,t),r=[];n;)r.unshift(n),n=n.parent;return r}(Gt=cn=cn||{})[Gt.Undefined=0]="Undefined",Gt[Gt.Identifier=1]="Identifier",Gt[Gt.Stylesheet=2]="Stylesheet",Gt[Gt.Ruleset=3]="Ruleset",Gt[Gt.Selector=4]="Selector",Gt[Gt.SimpleSelector=5]="SimpleSelector",Gt[Gt.SelectorInterpolation=6]="SelectorInterpolation",Gt[Gt.SelectorCombinator=7]="SelectorCombinator",Gt[Gt.SelectorCombinatorParent=8]="SelectorCombinatorParent",Gt[Gt.SelectorCombinatorSibling=9]="SelectorCombinatorSibling",Gt[Gt.SelectorCombinatorAllSiblings=10]="SelectorCombinatorAllSiblings",Gt[Gt.SelectorCombinatorShadowPiercingDescendant=11]="SelectorCombinatorShadowPiercingDescendant",Gt[Gt.Page=12]="Page",Gt[Gt.PageBoxMarginBox=13]="PageBoxMarginBox",Gt[Gt.ClassSelector=14]="ClassSelector",Gt[Gt.IdentifierSelector=15]="IdentifierSelector",Gt[Gt.ElementNameSelector=16]="ElementNameSelector",Gt[Gt.PseudoSelector=17]="PseudoSelector",Gt[Gt.AttributeSelector=18]="AttributeSelector",Gt[Gt.Declaration=19]="Declaration",Gt[Gt.Declarations=20]="Declarations",Gt[Gt.Property=21]="Property",Gt[Gt.Expression=22]="Expression",Gt[Gt.BinaryExpression=23]="BinaryExpression",Gt[Gt.Term=24]="Term",Gt[Gt.Operator=25]="Operator",Gt[Gt.Value=26]="Value",Gt[Gt.StringLiteral=27]="StringLiteral",Gt[Gt.URILiteral=28]="URILiteral",Gt[Gt.EscapedValue=29]="EscapedValue",Gt[Gt.Function=30]="Function",Gt[Gt.NumericValue=31]="NumericValue",Gt[Gt.HexColorValue=32]="HexColorValue",Gt[Gt.MixinDeclaration=33]="MixinDeclaration",Gt[Gt.MixinReference=34]="MixinReference",Gt[Gt.VariableName=35]="VariableName",Gt[Gt.VariableDeclaration=36]="VariableDeclaration",Gt[Gt.Prio=37]="Prio",Gt[Gt.Interpolation=38]="Interpolation",Gt[Gt.NestedProperties=39]="NestedProperties",Gt[Gt.ExtendsReference=40]="ExtendsReference",Gt[Gt.SelectorPlaceholder=41]="SelectorPlaceholder",Gt[Gt.Debug=42]="Debug",Gt[Gt.If=43]="If",Gt[Gt.Else=44]="Else",Gt[Gt.For=45]="For",Gt[Gt.Each=46]="Each",Gt[Gt.While=47]="While",Gt[Gt.MixinContentReference=48]="MixinContentReference",Gt[Gt.MixinContentDeclaration=49]="MixinContentDeclaration",Gt[Gt.Media=50]="Media",Gt[Gt.Keyframe=51]="Keyframe",Gt[Gt.FontFace=52]="FontFace",Gt[Gt.Import=53]="Import",Gt[Gt.Namespace=54]="Namespace",Gt[Gt.Invocation=55]="Invocation",Gt[Gt.FunctionDeclaration=56]="FunctionDeclaration",Gt[Gt.ReturnStatement=57]="ReturnStatement",Gt[Gt.MediaQuery=58]="MediaQuery",Gt[Gt.FunctionParameter=59]="FunctionParameter",Gt[Gt.FunctionArgument=60]="FunctionArgument",Gt[Gt.KeyframeSelector=61]="KeyframeSelector",Gt[Gt.ViewPort=62]="ViewPort",Gt[Gt.Document=63]="Document",Gt[Gt.AtApplyRule=64]="AtApplyRule",Gt[Gt.CustomPropertyDeclaration=65]="CustomPropertyDeclaration",Gt[Gt.CustomPropertySet=66]="CustomPropertySet",Gt[Gt.ListEntry=67]="ListEntry",Gt[Gt.Supports=68]="Supports",Gt[Gt.SupportsCondition=69]="SupportsCondition",Gt[Gt.NamespacePrefix=70]="NamespacePrefix",Gt[Gt.GridLine=71]="GridLine",Gt[Gt.Plugin=72]="Plugin",Gt[Gt.UnknownAtRule=73]="UnknownAtRule",Gt[Gt.Use=74]="Use",Gt[Gt.ModuleConfiguration=75]="ModuleConfiguration",Gt[Gt.Forward=76]="Forward",Gt[Gt.ForwardVisibility=77]="ForwardVisibility",Gt[Gt.Module=78]="Module",(Yt=dn=dn||{})[Yt.Mixin=0]="Mixin",Yt[Yt.Rule=1]="Rule",Yt[Yt.Variable=2]="Variable",Yt[Yt.Function=3]="Function",Yt[Yt.Keyframe=4]="Keyframe",Yt[Yt.Unknown=5]="Unknown",Yt[Yt.Module=6]="Module",Yt[Yt.Forward=7]="Forward",Yt[Yt.ForwardVisibility=8]="ForwardVisibility",Object.defineProperty(un.prototype,"end",{get:function(){return this.offset+this.length},enumerable:!1,configurable:!0}),Object.defineProperty(un.prototype,"type",{get:function(){return this.nodeType||cn.Undefined},set:function(e){this.nodeType=e},enumerable:!1,configurable:!0}),un.prototype.getTextProvider=function(){for(var e=this;e&&!e.textProvider;)e=e.parent;return e?e.textProvider:function(){return"unknown"}},un.prototype.getText=function(){return this.getTextProvider()(this.offset,this.length)},un.prototype.matches=function(e){return this.length===e.length&&this.getTextProvider()(this.offset,this.length)===e},un.prototype.startsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.offset,e.length)===e},un.prototype.endsWith=function(e){return this.length>=e.length&&this.getTextProvider()(this.end-e.length,e.length)===e},un.prototype.accept=function(e){if(e(this)&&this.children)for(var t=0,n=this.children;tthis.end||-1===this.length)&&(this.length=e-this.offset)},un.prototype.hasChildren=function(){return!!this.children&&0=e?t&&n.findChildAtOffset(e,!0)||n:null},un.prototype.encloses=function(e){return this.offset<=e.offset&&this.offset+this.length>=e.offset+e.length},un.prototype.getParent=function(){for(var e=this.parent;e instanceof gn;)e=e.parent;return e},un.prototype.findParent=function(e){for(var t=this;t&&t.type!==e;)t=t.parent;return t},un.prototype.findAParent=function(){for(var e=[],t=0;t{var n,r;return e.description&&""!==e.description?(n="",!1!==(null==t?void 0:t.documentation)&&(e.status&&(n+=Xo(e.status)),r="string"==typeof e.description?e.description:e.description.value,n+=Zo(r),(r=es(e.browsers))&&(n+="\n\n("+Zo(r)+")"),"syntax"in e)&&e.syntax&&(n+="\n\nSyntax: "+Zo(e.syntax)),e.references&&0{var n,r;return e.description&&""!==e.description?"string"!=typeof e.description?e.description.value:(n="",!1!==(null==t?void 0:t.documentation)&&(e.status&&(n+=Xo(e.status)),n+=e.description,(r=es(e.browsers))&&(n+="\n("+r+")"),"syntax"in e)&&(n+="\n\nSyntax: "+e.syntax),e.references&&0/g,">")}function es(e){return 0===(e=void 0===e?[]:e).length?null:e.map((function(e){var t="",n=(e=e.match(/([A-Z]+)(\d+)?/),e[1]);e=e[2];return n in Jo&&(t+=Jo[n]),e&&(t+=" "+e),t})).join(", ")}Gt=Yo;var ts=[{func:"rgb($red, $green, $blue)",desc:Gt("css.builtin.rgb","Creates a Color from red, green, and blue values.")},{func:"rgba($red, $green, $blue, $alpha)",desc:Gt("css.builtin.rgba","Creates a Color from red, green, blue, and alpha values.")},{func:"hsl($hue, $saturation, $lightness)",desc:Gt("css.builtin.hsl","Creates a Color from hue, saturation, and lightness values.")},{func:"hsla($hue, $saturation, $lightness, $alpha)",desc:Gt("css.builtin.hsla","Creates a Color from hue, saturation, lightness, and alpha values.")}],ns={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"},rs={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."};function is(e,t){if(e=e.getText().match(/^([-+]?[0-9]*\.?[0-9]+)(%?)$/),e&&(e[2]&&(t=100),e=parseFloat(e[1])/t,0<=e&&e<=1))return e;throw new Error}function os(e){return e=e.getName(),!!e&&/^(rgb|rgba|hsl|hsla)$/gi.test(e)}var ss=48,as=57,ls=65,cs=97,ds=102;function hs(e){return e{if((e=e.getText()).match(/^([-+]?[0-9]*\.?[0-9]+)(deg)?$/))return parseFloat(e)%360;throw new Error})(s[0]),l=is(s[1],100),h=is(s[2],100),t=d,r=h,void 0===(i=c)&&(i=1),t/=60,0===(n=l)?{red:r,green:r,blue:r,alpha:i}:{red:(o=function(e,t,n){for(;n<0;)n+=6;for(;6<=n;)n-=6;return n<1?(t-e)*n+e:n<3?t:n<4?(t-e)*(4-n)+e:e})(n=2*r-(r=r<=.5?r*(n+1):r+n-r*n),r,t+2),green:o(n,r,t),blue:o(n,r,t-2),alpha:i}}catch(e){}}else if(e.type===cn.Identifier){if(e.parent&&e.parent.type!==cn.Term)return null;if(a=e.parent,a&&a.parent&&a.parent.type===cn.BinaryExpression&&(s=a.parent,s.parent&&s.parent.type===cn.ListEntry&&s.parent.key===s))return null;var d=e.getText().toLowerCase();if("none"===d)return null;var h=ns[d];if(h)return ps(h)}return null}var us={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."},fs={"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."},gs={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."},bs=["medium","thick","thin"],vs={"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."},ys={"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."},ws={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."},xs={"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."},Ss={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."},Cs={"circle()":"Defines a circle.","ellipse()":"Defines an ellipse.","inset()":"Defines an inset rectangle.","polygon()":"Defines a polygon."},ks={length:["em","rem","ex","px","cm","mm","in","pt","pc","ch","vw","vh","vmin","vmax"],angle:["deg","rad","grad","turn"],time:["ms","s"],frequency:["Hz","kHz"],resolution:["dpi","dpcm","dppx"],percentage:["%","fr"]},Es=["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"],_s=["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"],Fs=["@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 Ds(e){return Object.keys(e).map((function(t){return e[t]}))}function zs(e){return void 0!==e}Rs.prototype.peekIdent=function(e){return st.Ident===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},Rs.prototype.peekKeyword=function(e){return st.AtKeyword===this.token.type&&e.length===this.token.text.length&&e===this.token.text.toLowerCase()},Rs.prototype.peekDelim=function(e){return st.Delim===this.token.type&&e===this.token.text},Rs.prototype.peek=function(e){return e===this.token.type},Rs.prototype.peekOne=function(e){return-1!==e.indexOf(this.token.type)},Rs.prototype.peekRegExp=function(e,t){return e===this.token.type&&t.test(this.token.text)},Rs.prototype.hasWhitespace=function(){return!!this.prevToken&&this.prevToken.offset+this.prevToken.len!==this.token.offset},Rs.prototype.consumeToken=function(){this.prevToken=this.token,this.token=this.scanner.scan()},Rs.prototype.mark=function(){return{prev:this.prevToken,curr:this.token,pos:this.scanner.pos()}},Rs.prototype.restoreAtMark=function(e){this.prevToken=e.prev,this.token=e.curr,this.scanner.goBackTo(e.pos)},Rs.prototype.try=function(e){var t=this.mark();e=e();return e||(this.restoreAtMark(t),null)},Rs.prototype.acceptOneKeyword=function(e){if(st.AtKeyword===this.token.type)for(var t=0,n=e;t")){var e=this.create(mn),t=(this.consumeToken(),this.mark());if(!this.hasWhitespace()&&this.acceptDelim(">")){if(!this.hasWhitespace()&&this.acceptDelim(">"))return e.type=cn.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return e.type=cn.SelectorCombinatorParent,this.finish(e)}if(this.peekDelim("+"))return e=this.create(mn),this.consumeToken(),e.type=cn.SelectorCombinatorSibling,this.finish(e);if(this.peekDelim("~"))return e=this.create(mn),this.consumeToken(),e.type=cn.SelectorCombinatorAllSiblings,this.finish(e);if(this.peekDelim("/")){if(e=this.create(mn),this.consumeToken(),t=this.mark(),!this.hasWhitespace()&&this.acceptIdent("deep")&&!this.hasWhitespace()&&this.acceptDelim("/"))return e.type=cn.SelectorCombinatorShadowPiercingDescendant,this.finish(e);this.restoreAtMark(t)}return null},Rs.prototype._parseSimpleSelector=function(){var e=this.create(Ln),t=0;for(e.addChild(this._parseElementName())&&t++;(0===t||!this.hasWhitespace())&&e.addChild(this._parseSimpleSelectorBody());)t++;return 0e+t||this.offset===e&&this.length===t?this.findInScope(e,t):null},Ps.prototype.findInScope=function(e,t){var n=e+(t=void 0===t?0:t),r=((e,t)=>{var n=0,r=e.length;if(0===r)return 0;for(;nn}));return 0!==r&&(r=this.children[r-1]).offset<=e&&r.offset+r.length>=e+t?r.findInScope(e,t):this},Ps.prototype.addSymbol=function(e){this.symbols.push(e)},Ps.prototype.getSymbol=function(e,t){for(var n=0;ne?r=i:n=i+1}var o=n-1;return qs.create(o,e-t[o])},Ta.prototype.offsetAt=function(e){var t,n=this.getLineOffsets();return e.line>=n.length?this._content.length:e.line<0?0:(t=n[e.line],n=e.line+1e?r=i:n=i+1}var o=n-1;return{line:o,character:e-t[o]}},Ia.prototype.offsetAt=function(e){var t,n=this.getLineOffsets();return e.line>=n.length?this._content.length:e.line<0?0:(t=n[e.line],n=e.line+1n.line||t.line===n.line&&t.character>n.character?{start:n,end:t}:e}function Oa(e){var t=Pa(e.range);return t!==e.range?{newText:e.newText,range:t}:e}(t=Ra=Ra||{}).create=function(e,t,n,r){return new Aa(e,t,n,r)},t.update=function(e,t,n){if(e instanceof Aa)return e.update(t,n),e;throw new Error("TextDocument.update: document must be created by TextDocument.create")},t.applyEdits=function(e,t){for(var n=e.getText(),r=0,i=[],o=0,s=function e(t,n){if(t.length<=1)return t;var r=t.length/2|0,i=t.slice(0,r),o=t.slice(r);e(i,n),e(o,n);for(var s=0,a=0,l=0;si[0]&&l[1](t=Ha(e.start,t),e=Ha(e.end,n),Ks.create(t,e)))(n,1,-1):n,a=((e,t,n)=>{var r;return e=e.lastIndexOf("/"),-1===e?n:(t=t.slice(e+1),e=Ha(n.end,-t.length),t=t.indexOf(" "),r=void 0,r=-1!==t?Ha(e,t):n.end,Ks.create(e,r))})(o,l,h),l=o.substring(0,o.lastIndexOf("/")+1),!(c=i.resolveReference(l||".",s)))return[3,4];g.label=1;case 1:return g.trys.push([1,3,,4]),d=[],[4,this.readDirectory(c)];case 2:for(h=g.sent(),p=0,m=h;pi[0]&&l[1]{for(var n=t-1,r=e.getText();0<=n&&-1===' \t\n\r":{[()]},*>+'.indexOf(r.charAt(n));)n--;return r.substring(n+1,t)})(e,this.offset),this.defaultReplaceRange=Ks.create(qs.create(this.position.line,this.position.character-this.currentWord.length),this.position),this.textDocument=e,this.styleSheet=n,this.documentSettings=r;try{var i={isIncomplete:!1,items:[]};this.nodePath=pn(this.styleSheet,this.offset);for(var o=this.nodePath.length-1;0<=o;o--){var s=this.nodePath[o];if(s instanceof er)this.getCompletionsForDeclarationProperty(s.getParent(),i);else if(s instanceof Mi)s.parent instanceof ao?this.getVariableProposals(null,i):this.getCompletionsForExpression(s,i);else if(s instanceof Ln){var a=s.findAParent(cn.ExtendsReference,cn.Ruleset);a&&(a.type===cn.ExtendsReference?this.getCompletionsForExtendsReference(a,s,i):this.getCompletionsForSelector(a,a&&a.isNested(),i))}else if(s instanceof hr)this.getCompletionsForFunctionArgument(s,s.getParent(),i);else if(s instanceof En)this.getCompletionsForDeclarations(s,i);else if(s instanceof io)this.getCompletionsForVariableDeclaration(s,i);else if(s instanceof Rn)this.getCompletionsForRuleSet(s,i);else if(s instanceof ao)this.getCompletionsForInterpolation(s,i);else if(s instanceof zr)this.getCompletionsForFunctionDeclaration(s,i);else if(s instanceof Co)this.getCompletionsForMixinReference(s,i);else if(s instanceof or)this.getCompletionsForFunctionArgument(null,s,i);else if(s instanceof ui)this.getCompletionsForSupports(s,i);else if(s instanceof _i)this.getCompletionsForSupportsCondition(s,i);else if(s instanceof uo)this.getCompletionsForExtendsReference(s,null,i);else if(s.type===cn.URILiteral)this.getCompletionForUriLiteralValue(s,i);else if(null===s.parent)this.getCompletionForTopLevel(i);else{if(s.type!==cn.StringLiteral||!this.isImportPathParent(s.parent.type))continue;this.getCompletionForImportPath(s,i)}if(0s.offset)return this.finalize(i)}return this.getCompletionsForStylesheet(i),0===i.items.length&&this.variablePrefix&&0===this.currentWord.indexOf(this.variablePrefix)&&this.getVariableProposals(null,i),this.finalize(i)}finally{this.position=null,this.currentWord=null,this.textDocument=null,this.styleSheet=null,this.symbolContext=null,this.defaultReplaceRange=null,this.nodePath=null}},rl.prototype.isImportPathParent=function(e){return e===cn.Import},rl.prototype.finalize=function(e){return e},rl.prototype.findInNodePath=function(){for(var e=[],t=0;t=n.textDocument.offsetAt(a.end)&&(l+="$0;"),{label:o.name,documentation:Qo(o,n.doesSupportMarkdown()),tags:il(o)?[ba.Deprecated]:[],textEdit:Xs.replace(a,l),insertTextFormat:ga.Snippet,kind:fa.Property});o.restrictions||(s=!1),r&&s&&(a.command={title:"Suggest",command:"editor.action.triggerSuggest"});var l=(255-("number"==typeof o.relevance?Math.min(Math.max(o.relevance,0),99):50)).toString(16);s=on(o.name,"-")?Ja.VendorPrefixed:Ja.Normal;a.sortText=s+"_"+l,t.items.push(a)})),this.completionParticipants.forEach((function(e){e.onCssProperty&&e.onCssProperty({propertyName:n.currentWord,range:n.defaultReplaceRange})})),t},Object.defineProperty(rl.prototype,"isTriggerPropertyValueCompletionEnabled",{get:function(){var e;return null==(e=null==(e=this.documentSettings)?void 0:e.triggerPropertyValueCompletion)||e},enumerable:!1,configurable:!0}),Object.defineProperty(rl.prototype,"isCompletePropertyWithSemicolonEnabled",{get:function(){var e;return null==(e=null==(e=this.documentSettings)?void 0:e.completePropertyWithSemicolon)||e},enumerable:!1,configurable:!0}),rl.prototype.getCompletionsForDeclarationValue=function(e,t){for(var n,r,i,o,s=this,a=e.getFullPropertyName(),l=this.cssDataManager.getProperty(a),c=e.getValue()||null;c&&c.hasChildren();)c=c.findChildAtOffset(this.offset,!1);if(this.completionParticipants.forEach((function(e){e.onCssPropertyValue&&e.onCssPropertyValue({propertyName:a,propertyValue:s.currentWord,range:s.getCompletionRange(c)})})),l){if(l.restrictions)for(var d=0,h=l.restrictions;d=e.offset+2&&this.getVariableProposals(null,t),t},rl.prototype.getVariableProposals=function(e,t){for(var n=0,r=this.getSymbolContext().findSymbolsAtOffset(this.offset,dn.Variable);n{var r=1,i=e.func.replace(/\[?\$(\w+)\]?/g,(function(e,t){return"${"+r+++":"+t+"}"}));n.items.push({label:e.func.substr(0,e.func.indexOf("(")),detail:e.func,documentation:e.desc,textEdit:Xs.replace(a.getCompletionRange(t),i),insertTextFormat:tl,kind:fa.Function})})(c[l]);return n},rl.prototype.getPositionProposals=function(e,t,n){for(var r in us)n.items.push({label:r,documentation:us[r],textEdit:Xs.replace(this.getCompletionRange(t),r),kind:fa.Value});return n},rl.prototype.getRepeatStyleProposals=function(e,t,n){for(var r in fs)n.items.push({label:r,documentation:fs[r],textEdit:Xs.replace(this.getCompletionRange(t),r),kind:fa.Value});return n},rl.prototype.getLineStyleProposals=function(e,t,n){for(var r in gs)n.items.push({label:r,documentation:gs[r],textEdit:Xs.replace(this.getCompletionRange(t),r),kind:fa.Value});return n},rl.prototype.getLineWidthProposals=function(e,t,n){for(var r=0,i=bs;r=n.end?this.getCompletionForTopLevel(t):!n||this.offset<=n.offset?this.getCompletionsForSelector(e,e.isNested(),t):this.getCompletionsForDeclarations(e.getDeclarations(),t)},rl.prototype.getCompletionsForSelector=function(e,t,n){var r=this,i=this.findInNodePath(cn.PseudoSelector,cn.IdentifierSelector,cn.ClassSelector,cn.ElementNameSelector);if(!i&&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=Ks.create(qs.create(this.position.line,this.position.character-this.currentWord.length),this.position)),this.cssDataManager.getPseudoClasses().forEach((function(e){var t=al(e.name);t={label:e.name,textEdit:Xs.replace(r.getCompletionRange(i),t),documentation:Qo(e,r.doesSupportMarkdown()),tags:il(e)?[ba.Deprecated]:[],kind:fa.Function,insertTextFormat:e.name!==t?tl:void 0};on(e.name,":-")&&(t.sortText=Ja.VendorPrefixed),n.items.push(t)})),this.cssDataManager.getPseudoElements().forEach((function(e){var t=al(e.name);t={label:e.name,textEdit:Xs.replace(r.getCompletionRange(i),t),documentation:Qo(e,r.doesSupportMarkdown()),tags:il(e)?[ba.Deprecated]:[],kind:fa.Function,insertTextFormat:e.name!==t?tl:void 0};on(e.name,"::-")&&(t.sortText=Ja.VendorPrefixed),n.items.push(t)})),!t){for(var o=0,s=Es;oe.colonPosition&&this.getVariableProposals(e.getValue(),t),t},rl.prototype.getCompletionsForExpression=function(e,t){var n=e.getParent();return n instanceof hr?(this.getCompletionsForFunctionArgument(n,n.getParent(),t),t):(n=e.findParent(cn.Declaration))?!(e=e.findChildAtOffset(this.offset,!0))||e instanceof to||e instanceof yn?this.getCompletionsForDeclarationValue(n,t):t:(this.getTermProposals(void 0,null,t),t)},rl.prototype.getCompletionsForFunctionArgument=function(e,t,n){var r=t.getIdentifier();return r&&r.matches("var")&&(t.getArguments().hasChildren()&&t.getArguments().getChild(0)!==e||this.getVariableProposalsForCSSVarFunction(n)),n},rl.prototype.getCompletionsForFunctionDeclaration=function(e,t){return e=e.getDeclarations(),e&&this.offset>e.offset&&this.offsete.lParent&&(!zs(e.rParent)||this.offset<=e.rParent)?this.getCompletionsForDeclarationProperty(null,t):t},rl.prototype.getCompletionsForSupports=function(e,t){var n=e.getDeclarations();return!n||this.offset<=n.offset?(n=e.findFirstChildBeforeOffset(this.offset))instanceof _i?this.getCompletionsForSupportsCondition(n,t):t:this.getCompletionForTopLevel(t)},rl.prototype.getCompletionsForExtendsReference=function(e,t,n){return n},rl.prototype.getCompletionForUriLiteralValue=function(e,t){var n,r,i,o;return o=e.hasChildren()?(i=e.getChild(0),n=i.getText(),r=this.position,this.getCompletionRange(i)):(n="",r=this.position,i=this.textDocument.positionAt(e.offset+"url(".length),Ks.create(i,i)),this.completionParticipants.forEach((function(e){e.onCssURILiteralValue&&e.onCssURILiteralValue({uriValue:n,position:r,range:o})})),t},rl.prototype.getCompletionForImportPath=function(e,t){var n=this;return this.completionParticipants.forEach((function(t){t.onCssImportPath&&t.onCssImportPath({pathValue:e.getText(),position:n.position,range:n.getCompletionRange(e)})})),t},rl.prototype.hasCharacterAtPosition=function(e,t){var n=this.textDocument.getText();return 0<=e&&e"),this.writeLine(t,r.join(""))}};var Sl,Cl,kl=El;function El(e){this.quote=e,this.result=[]}function _l(e){var t=e.match(/^['"](.*)["']$/);return t?t[1]:e}(Cl=Sl=Sl||{}).ensure=function(e,t){return t+_l(e)+t},Cl.remove=_l;var Fl=function(){this.id=0,this.attr=0,this.tag=0};function Dl(e,t){for(var n=new ul,r=0,i=e.getChildren();r{if(e.matches("@at-root"))return null;var t=new bl,n=[],r=e.getParent();if(r instanceof Rn)for(var i=r.getParent();i&&!(e=>{switch(e.type){case cn.MixinDeclaration:case cn.Stylesheet:return 1}})(i);){if(i instanceof Rn){if(i.getSelectors().matches("@at-root"))break;n.push(i)}i=i.getParent()}for(var o=new Nl(t),s=n.length-1;0<=s;s--){var a=n[s].getSelectors().getChild(0);a&&o.processSelector(a)}return o.processSelector(e),t})(e);return t?((t=new kl('"').print(t)).push(this.selectorToSpecificityMarkedString(e)),t):[]},Rl.prototype.simpleSelectorToMarkedString=function(e){var t=Dl(e);t=new kl('"').print(t);return t.push(this.selectorToSpecificityMarkedString(e)),t},Rl.prototype.isPseudoElementIdentifier=function(e){return e=e.match(/^::?([\w-]+)/),!!e&&!!this.cssDataManager.getPseudoElement("::"+e[1])},Rl.prototype.selectorToSpecificityMarkedString=function(e){var t=this,n=function(e){for(var i=0,o=e.getChildren();ii[0]&&l[1]{var n=ms(e);return n?(e=Bl(e,t),{color:n,range:e}):null})(t,e),t&&n.push(t),!0})),n},Vl.prototype.getColorPresentations=function(e,t,n,r){var i=[],o=Math.round(255*n.red),s=Math.round(255*n.green),a=Math.round(255*n.blue),l=1===n.alpha?"rgb("+o+", "+s+", "+a+")":"rgba("+o+", "+s+", "+a+", "+n.alpha+")";i.push({label:l,textEdit:Xs.replace(r,l)}),l=1===n.alpha?"#"+Kl(o)+Kl(s)+Kl(a):"#"+Kl(o)+Kl(s)+Kl(a)+Kl(Math.round(255*n.alpha)),i.push({label:l,textEdit:Xs.replace(r,l)}),o=(e=>{var t=e.red,n=e.green,r=e.blue,i=(e=e.alpha,Math.max(t,n,r)),o=Math.min(t,n,r),s=0,a=0,l=(o+i)/2,c=i-o;if(0{switch(e){case"ignore":return jo.Ignore;case"warning":return jo.Warning;case"error":return jo.Error}return null})(this.conf[e.id]);if(t)return t}return e.defaultValue},Zl.prototype.getSetting=function(e){return this.conf[e.id]},Zl);function Zl(e){this.conf=e=void 0===e?{}:e}var ec=Yo,tc=(nc.prototype.doCodeActions=function(e,t,n,r){return this.doCodeActions2(e,t,n,r).map((function(t){var n=t.edit&&t.edit.documentChanges&&t.edit.documentChanges[0];return Js.create(t.title,"_css.applyCodeAction",e.uri,e.version,n&&n.edits)}))},nc.prototype.doCodeActions2=function(e,t,n,r){var i=[];if(n.diagnostics)for(var o=0,s=n.diagnostics;o{void 0===n&&(n=4);var r=Math.abs(e.length-t.length);if(n=i.length/2&&o.push({property:e.name,score:t})})),o.sort((function(e,t){return t.score-e.score||e.property.localeCompare(t.property)})),3),a=0,l=o;a{if(1===(e=e.getChildren()).length)return lc(t=e[0])&&dc(t);for(var t,n=0,r=e;n(void 0===t&&(t=!0),e.map((function(e){return dc(e,t)}))))(o.getChildren(),!0),i)}break;case"padding":1===s.length?sc(t,cc(o.getChildren(),!0),i):oc(t,s[1],lc(o,!0),i)}}}return t}var pc=Yo,mc=(uc.prototype.add=function(e,t,n){var r=this.data[e];r||(this.data[e]=r={nodes:[],names:[]}),r.names.push(t),n&&r.nodes.push(n)},uc);function uc(){this.data={}}gc.entries=function(e,t,n,r,i){return t=new gc(t,n,r),e.acceptVisitor(t),t.completeValidations(),t.getEntries(i)},gc.prototype.isValidPropertyDeclaration=function(e){return e=e.fullPropertyName,this.validProperties[e]},gc.prototype.fetch=function(e,t){for(var n=[],r=0,i=e;r")||this.peekDelim("<")||this.peekIdent("and")||this.peekIdent("or")||this.peekDelim("%")?(e=this.createNode(cn.Operator),this.consumeToken(),this.finish(e)):$c.prototype._parseOperator.call(this)},Yc.prototype._parseUnaryOperator=function(){var e;return this.peekIdent("not")?(e=this.create(mn),this.consumeToken(),this.finish(e)):$c.prototype._parseUnaryOperator.call(this)},Yc.prototype._parseRuleSetDeclaration=function(){return this.peek(st.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)||$c.prototype._parseRuleSetDeclarationAtStatement.call(this):this._parseVariableDeclaration()||this._tryParseRuleset(!0)||$c.prototype._parseRuleSetDeclaration.call(this)},Yc.prototype._parseDeclaration=function(e){var t=this._tryParseCustomPropertyDeclaration(e);if(t)return t;if(t=this.create(Yn),!t.setProperty(this._parseProperty()))return null;if(!this.accept(st.Colon))return this.finish(t,Ho.ColonExpected,[st.Colon],e||[st.SemiColon]);if(this.prevToken&&(t.colonPosition=this.prevToken.offset),e=!1,t.setValue(this._parseExpr())&&(e=!0,t.addChild(this._parsePrio())),this.peek(st.CurlyL))t.setNestedProperties(this._parseNestedProperties());else if(!e)return this.finish(t,Ho.PropertyValueExpected);return this.peek(st.SemiColon)&&(t.semicolonPosition=this.token.offset),this.finish(t)},Yc.prototype._parseNestedProperties=function(){var e=this.create(Lr);return this._parseBody(e,this._parseDeclaration.bind(this))},Yc.prototype._parseExtends=function(){if(this.peekKeyword("@extend")){var e=this.create(uo);if(this.consumeToken(),!e.getSelectors().addChild(this._parseSimpleSelector()))return this.finish(e,Ho.SelectorExpected);for(;this.accept(st.Comma);)e.getSelectors().addChild(this._parseSimpleSelector());return this.accept(st.Exclamation)&&!this.acceptIdent("optional")?this.finish(e,Ho.UnknownKeyword):this.finish(e)}return null},Yc.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||this._parseSelectorPlaceholder()||$c.prototype._parseSimpleSelectorBody.call(this)},Yc.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(cn.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(st.Num)||this.accept(st.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},Yc.prototype._parseSelectorPlaceholder=function(){var e;return this.peekDelim("%")?(e=this.createNode(cn.SelectorPlaceholder),this.consumeToken(),this._parseIdent(),this.finish(e)):this.peekKeyword("@at-root")?(e=this.createNode(cn.SelectorPlaceholder),this.consumeToken(),this.finish(e)):null},Yc.prototype._parseElementName=function(){var e=this.mark(),t=$c.prototype._parseElementName.call(this);return t&&!this.hasWhitespace()&&this.peek(st.ParenthesisL)?(this.restoreAtMark(e),null):t},Yc.prototype._tryParsePseudoIdentifier=function(){return this._parseInterpolation()||$c.prototype._tryParsePseudoIdentifier.call(this)},Yc.prototype._parseWarnAndDebug=function(){var e;return this.peekKeyword("@debug")||this.peekKeyword("@warn")||this.peekKeyword("@error")?(e=this.createNode(cn.Debug),this.consumeToken(),e.addChild(this._parseExpr()),this.finish(e)):null},Yc.prototype._parseControlStatement=function(e){return void 0===e&&(e=this._parseRuleSetDeclaration.bind(this)),this.peek(st.AtKeyword)?this._parseIfStatement(e)||this._parseForStatement(e)||this._parseEachStatement(e)||this._parseWhileStatement(e):null},Yc.prototype._parseIfStatement=function(e){return this.peekKeyword("@if")?this._internalParseIfStatement(e):null},Yc.prototype._internalParseIfStatement=function(e){var t,n=this.create(ur);return this.consumeToken(),n.setExpression(this._parseExpr(!0))?(this._parseBody(n,e),this.acceptKeyword("@else")&&(this.peekIdent("if")?n.setElseClause(this._internalParseIfStatement(e)):this.peek(st.CurlyL)&&(t=this.create(_r),this._parseBody(t,e),n.setElseClause(t))),this.finish(n)):this.finish(n,Ho.ExpressionExpected)},Yc.prototype._parseForStatement=function(e){var t;return this.peekKeyword("@for")?(t=this.create(br),this.consumeToken(),t.setVariable(this._parseVariable())?this.acceptIdent("from")?t.addChild(this._parseBinaryExpr())?this.acceptIdent("to")||this.acceptIdent("through")?t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ho.ExpressionExpected,[st.CurlyR]):this.finish(t,qc.ThroughOrToExpected,[st.CurlyR]):this.finish(t,Ho.ExpressionExpected,[st.CurlyR]):this.finish(t,qc.FromExpected,[st.CurlyR]):this.finish(t,Ho.VariableNameExpected,[st.CurlyR])):null},Yc.prototype._parseEachStatement=function(e){if(!this.peekKeyword("@each"))return null;var t=this.create(wr),n=(this.consumeToken(),t.getVariables());if(!n.addChild(this._parseVariable()))return this.finish(t,Ho.VariableNameExpected,[st.CurlyR]);for(;this.accept(st.Comma);)if(!n.addChild(this._parseVariable()))return this.finish(t,Ho.VariableNameExpected,[st.CurlyR]);return this.finish(n),this.acceptIdent("in")?t.addChild(this._parseExpr())?this._parseBody(t,e):this.finish(t,Ho.ExpressionExpected,[st.CurlyR]):this.finish(t,qc.InExpected,[st.CurlyR])},Yc.prototype._parseWhileStatement=function(e){var t;return this.peekKeyword("@while")?(t=this.create(Cr),this.consumeToken(),t.addChild(this._parseBinaryExpr())?this._parseBody(t,e):this.finish(t,Ho.ExpressionExpected,[st.CurlyR])):null},Yc.prototype._parseFunctionBodyDeclaration=function(){return this._parseVariableDeclaration()||this._parseReturnStatement()||this._parseWarnAndDebug()||this._parseControlStatement(this._parseFunctionBodyDeclaration.bind(this))},Yc.prototype._parseFunctionDeclaration=function(){if(!this.peekKeyword("@function"))return null;var e=this.create(zr);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([dn.Function])))return this.finish(e,Ho.IdentifierExpected,[st.CurlyR]);if(!this.accept(st.ParenthesisL))return this.finish(e,Ho.LeftParenthesisExpected,[st.CurlyR]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ho.VariableNameExpected);return this.accept(st.ParenthesisR)?this._parseBody(e,this._parseFunctionBodyDeclaration.bind(this)):this.finish(e,Ho.RightParenthesisExpected,[st.CurlyR])},Yc.prototype._parseReturnStatement=function(){var e;return this.peekKeyword("@return")?(e=this.createNode(cn.ReturnStatement),this.consumeToken(),e.addChild(this._parseExpr())?this.finish(e):this.finish(e,Ho.ExpressionExpected)):null},Yc.prototype._parseMixinDeclaration=function(){if(!this.peekKeyword("@mixin"))return null;var e=this.create(_o);if(this.consumeToken(),!e.setIdentifier(this._parseIdent([dn.Mixin])))return this.finish(e,Ho.IdentifierExpected,[st.CurlyR]);if(this.accept(st.ParenthesisL)){if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ho.VariableNameExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected,[st.CurlyR])}return this._parseBody(e,this._parseRuleSetDeclaration.bind(this))},Yc.prototype._parseParameterDeclaration=function(){var e=this.create(lr);return e.setIdentifier(this._parseVariable())?(this.accept(Uc),this.accept(st.Colon)&&!e.setDefaultValue(this._parseExpr(!0))?this.finish(e,Ho.VariableValueExpected,[],[st.Comma,st.ParenthesisR]):this.finish(e)):null},Yc.prototype._parseMixinContent=function(){if(!this.peekKeyword("@content"))return null;var e=this.create(bo);if(this.consumeToken(),this.accept(st.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ho.ExpressionExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected)}return this.finish(e)},Yc.prototype._parseMixinReference=function(){if(!this.peekKeyword("@include"))return null;var e=this.create(Co),t=(this.consumeToken(),this._parseIdent([dn.Mixin]));if(!e.setIdentifier(t))return this.finish(e,Ho.IdentifierExpected,[st.CurlyR]);if(!this.hasWhitespace()&&this.acceptDelim(".")&&!this.hasWhitespace()){var n=this._parseIdent([dn.Mixin]);if(!n)return this.finish(e,Ho.IdentifierExpected,[st.CurlyR]);var r=this.create(Vo);t.referenceTypes=[dn.Module],r.setIdentifier(t),e.setIdentifier(n),e.addChild(r)}if(this.accept(st.ParenthesisL)){if(e.getArguments().addChild(this._parseFunctionArgument()))for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getArguments().addChild(this._parseFunctionArgument()))return this.finish(e,Ho.ExpressionExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected)}return(this.peekIdent("using")||this.peek(st.CurlyL))&&e.setContent(this._parseMixinContentDeclaration()),this.finish(e)},Yc.prototype._parseMixinContentDeclaration=function(){var e=this.create(wo);if(this.acceptIdent("using")){if(!this.accept(st.ParenthesisL))return this.finish(e,Ho.LeftParenthesisExpected,[st.CurlyL]);if(e.getParameters().addChild(this._parseParameterDeclaration()))for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getParameters().addChild(this._parseParameterDeclaration()))return this.finish(e,Ho.VariableNameExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected,[st.CurlyL])}return this.peek(st.CurlyL)&&this._parseBody(e,this._parseMixinReferenceBodyStatement.bind(this)),this.finish(e)},Yc.prototype._parseMixinReferenceBodyStatement=function(){return this._tryParseKeyframeSelector()||this._parseRuleSetDeclaration()},Yc.prototype._parseFunctionArgument=function(){var e=this.create(hr),t=this.mark(),n=this._parseVariable();if(n)if(this.accept(st.Colon))e.setIdentifier(n);else{if(this.accept(Uc))return e.setValue(n),this.finish(e);this.restoreAtMark(t)}return e.setValue(this._parseExpr(!0))?(this.accept(Uc),e.addChild(this._parsePrio()),this.finish(e)):e.setValue(this._tryParsePrio())?this.finish(e):null},Yc.prototype._parseURLArgument=function(){var e=this.mark(),t=$c.prototype._parseURLArgument.call(this);return t&&this.peek(st.ParenthesisR)?t:(this.restoreAtMark(e),(t=this.create(mn)).addChild(this._parseBinaryExpr()),this.finish(t))},Yc.prototype._parseOperation=function(){if(!this.peek(st.ParenthesisL))return null;var e=this.create(mn);for(this.consumeToken();e.addChild(this._parseListElement());)this.accept(st.Comma);return this.accept(st.ParenthesisR)?this.finish(e):this.finish(e,Ho.RightParenthesisExpected)},Yc.prototype._parseListElement=function(){var e=this.create(No),t=this._parseBinaryExpr();if(!t)return null;if(this.accept(st.Colon)){if(e.setKey(t),!e.setValue(this._parseBinaryExpr()))return this.finish(e,Ho.ExpressionExpected)}else e.setValue(t);return this.finish(e)},Yc.prototype._parseUse=function(){if(!this.peekKeyword("@use"))return null;var e=this.create(Jr);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ho.StringLiteralExpected);if(!this.peek(st.SemiColon)&&!this.peek(st.EOF)){if(!this.peekRegExp(st.Ident,/as|with/))return this.finish(e,Ho.UnknownKeyword);if(this.acceptIdent("as")&&!e.setIdentifier(this._parseIdent([dn.Module]))&&!this.acceptDelim("*"))return this.finish(e,Ho.IdentifierOrWildcardExpected);if(this.acceptIdent("with")){if(!this.accept(st.ParenthesisL))return this.finish(e,Ho.LeftParenthesisExpected,[st.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ho.VariableNameExpected);for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ho.VariableNameExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected)}}return this.accept(st.SemiColon)||this.accept(st.EOF)?this.finish(e):this.finish(e,Ho.SemiColonExpected)},Yc.prototype._parseModuleConfigDeclaration=function(){var e=this.create(Zr);return e.setIdentifier(this._parseVariable())?this.accept(st.Colon)&&e.setValue(this._parseExpr(!0))?!this.accept(st.Exclamation)||!this.hasWhitespace()&&this.acceptIdent("default")?this.finish(e):this.finish(e,Ho.UnknownKeyword):this.finish(e,Ho.VariableValueExpected,[],[st.Comma,st.ParenthesisR]):null},Yc.prototype._parseForward=function(){if(!this.peekKeyword("@forward"))return null;var e=this.create(ni);if(this.consumeToken(),!e.addChild(this._parseStringLiteral()))return this.finish(e,Ho.StringLiteralExpected);if(this.acceptIdent("with")){if(!this.accept(st.ParenthesisL))return this.finish(e,Ho.LeftParenthesisExpected,[st.ParenthesisR]);if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ho.VariableNameExpected);for(;this.accept(st.Comma)&&!this.peek(st.ParenthesisR);)if(!e.getParameters().addChild(this._parseModuleConfigDeclaration()))return this.finish(e,Ho.VariableNameExpected);if(!this.accept(st.ParenthesisR))return this.finish(e,Ho.RightParenthesisExpected)}if(!this.peek(st.SemiColon)&&!this.peek(st.EOF)){if(!this.peekRegExp(st.Ident,/as|hide|show/))return this.finish(e,Ho.UnknownKeyword);if(this.acceptIdent("as")){var t=this._parseIdent([dn.Forward]);if(!e.setIdentifier(t))return this.finish(e,Ho.IdentifierExpected);if(this.hasWhitespace()||!this.acceptDelim("*"))return this.finish(e,Ho.WildcardExpected)}if((this.peekIdent("hide")||this.peekIdent("show"))&&!e.addChild(this._parseForwardVisibility()))return this.finish(e,Ho.IdentifierOrVariableExpected)}return this.accept(st.SemiColon)||this.accept(st.EOF)?this.finish(e):this.finish(e,Ho.SemiColonExpected)},Yc.prototype._parseForwardVisibility=function(){var e=this.create(oi);for(e.setIdentifier(this._parseIdent());e.addChild(this._parseVariable()||this._parseIdent());)this.accept(st.Comma);return 1")?(e=this.createNode(cn.Operator),this.consumeToken(),this.acceptDelim("="),e):this.peekDelim("=")?(e=this.createNode(cn.Operator),this.consumeToken(),this.acceptDelim("<"),e):this.peekDelim("<")?(e=this.createNode(cn.Operator),this.consumeToken(),this.acceptDelim("="),e):null},ud.prototype._parseRuleSetDeclaration=function(){return this.peek(st.AtKeyword)?this._parseKeyframe()||this._parseMedia(!0)||this._parseImport()||this._parseSupports(!0)||this._parseDetachedRuleSetMixin()||this._parseVariableDeclaration()||pd.prototype._parseRuleSetDeclarationAtStatement.call(this):this._tryParseMixinDeclaration()||this._tryParseRuleset(!0)||this._tryParseMixinReference()||this._parseFunction()||this._parseExtend()||pd.prototype._parseRuleSetDeclaration.call(this)},ud.prototype._parseKeyframeIdent=function(){return this._parseIdent([dn.Keyframe])||this._parseVariable()},ud.prototype._parseKeyframeSelector=function(){return this._parseDetachedRuleSetMixin()||pd.prototype._parseKeyframeSelector.call(this)},ud.prototype._parseSimpleSelectorBody=function(){return this._parseSelectorCombinator()||pd.prototype._parseSimpleSelectorBody.call(this)},ud.prototype._parseSelector=function(e){var t=this.create(In),n=!1;for(e&&(n=t.addChild(this._parseCombinator()));t.addChild(this._parseSimpleSelector());){n=!0;var r=this.mark();if(t.addChild(this._parseGuard())&&this.peek(st.CurlyL))break;this.restoreAtMark(r),t.addChild(this._parseCombinator())}return n?this.finish(t):null},ud.prototype._parseSelectorCombinator=function(){if(this.peekDelim("&")){var e=this.createNode(cn.SelectorCombinator);for(this.consumeToken();!this.hasWhitespace()&&(this.acceptDelim("-")||this.accept(st.Num)||this.accept(st.Dimension)||e.addChild(this._parseIdent())||this.acceptDelim("&")););return this.finish(e)}return null},ud.prototype._parseSelectorIdent=function(){var e;return this.peekInterpolatedIdent()&&(e=this.createNode(cn.SelectorInterpolation),this._acceptInterpolatedIdent(e))?this.finish(e):null},ud.prototype._parsePropertyIdentifier=function(e){void 0===e&&(e=!1);var t,n,r=/^[\w-]+/;return this.peekInterpolatedIdent()||this.peekRegExp(this.token.type,r)?(t=this.mark(),(n=this.create(yn)).isCustomProperty=this.acceptDelim("-")&&this.acceptDelim("-"),(e?n.isCustomProperty?n.addChild(this._parseIdent()):n.addChild(this._parseRegexp(r)):n.isCustomProperty?this._acceptInterpolatedIdent(n):this._acceptInterpolatedIdent(n,r))?(e||this.hasWhitespace()||(this.acceptDelim("+"),this.hasWhitespace())||this.acceptIdent("_"),this.finish(n)):(this.restoreAtMark(t),null)):null},ud.prototype.peekInterpolatedIdent=function(){return this.peek(st.Ident)||this.peekDelim("@")||this.peekDelim("$")||this.peekDelim("-")},ud.prototype._acceptInterpolatedIdent=function(e,t){for(var n=this,r=!1,i=function(){var e=n.mark();return n.acceptDelim("-")&&(n.hasWhitespace()||n.acceptDelim("-"),n.hasWhitespace())?(n.restoreAtMark(e),null):n._parseInterpolation()},o=t?function(){return n.acceptRegexp(t)}:function(){return n.accept(st.Ident)};(o()||e.addChild(this._parseInterpolation()||this.try(i)))&&(r=!0,!this.hasWhitespace()););return r},ud.prototype._parseInterpolation=function(){var e,t=this.mark();return this.peekDelim("@")||this.peekDelim("$")?(e=this.createNode(cn.Interpolation),this.consumeToken(),this.hasWhitespace()||!this.accept(st.CurlyL)?(this.restoreAtMark(t),null):e.addChild(this._parseIdent())?this.accept(st.CurlyR)?this.finish(e):this.finish(e,Ho.RightCurlyExpected):this.finish(e,Ho.IdentifierExpected)):null},ud.prototype._tryParseMixinDeclaration=function(){var e=this.mark(),t=this.create(_o);if(!t.setIdentifier(this._parseMixinDeclarationIdentifier())||!this.accept(st.ParenthesisL))return this.restoreAtMark(e),null;if(t.getParameters().addChild(this._parseMixinParameter()))for(;(this.accept(st.Comma)||this.accept(st.SemiColon))&&!this.peek(st.ParenthesisR);)t.getParameters().addChild(this._parseMixinParameter())||this.markError(t,Ho.IdentifierExpected,[],[st.ParenthesisR]);return this.accept(st.ParenthesisR)&&(t.setGuard(this._parseGuard()),this.peek(st.CurlyL))?this._parseBody(t,this._parseMixInBodyDeclaration.bind(this)):(this.restoreAtMark(e),null)},ud.prototype._parseMixInBodyDeclaration=function(){return this._parseFontFace()||this._parseRuleSetDeclaration()},ud.prototype._parseMixinDeclarationIdentifier=function(){var e;if(this.peekDelim("#")||this.peekDelim(".")){if(e=this.create(yn),this.consumeToken(),this.hasWhitespace()||!e.addChild(this._parseIdent()))return null}else{if(!this.peek(st.Hash))return null;e=this.create(yn),this.consumeToken()}return e.referenceTypes=[dn.Mixin],this.finish(e)},ud.prototype._parsePseudo=function(){var e,t;return this.peek(st.Colon)?(e=this.mark(),t=this.create(uo),this.consumeToken(),this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),pd.prototype._parsePseudo.call(this))):null},ud.prototype._parseExtend=function(){var e,t;return this.peekDelim("&")?(e=this.mark(),t=this.create(uo),this.consumeToken(),!this.hasWhitespace()&&this.accept(st.Colon)&&this.acceptIdent("extend")?this._completeExtends(t):(this.restoreAtMark(e),null)):null},ud.prototype._completeExtends=function(e){if(!this.accept(st.ParenthesisL))return this.finish(e,Ho.LeftParenthesisExpected);var t=e.getSelectors();if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ho.SelectorExpected);for(;this.accept(st.Comma);)if(!t.addChild(this._parseSelector(!0)))return this.finish(e,Ho.SelectorExpected);return this.accept(st.ParenthesisR)?this.finish(e):this.finish(e,Ho.RightParenthesisExpected)},ud.prototype._parseDetachedRuleSetMixin=function(){var e,t;return this.peek(st.AtKeyword)?(e=this.mark(),!(t=this.create(Co)).addChild(this._parseVariable(!0))||!this.hasWhitespace()&&this.accept(st.ParenthesisL)?this.accept(st.ParenthesisR)?this.finish(t):this.finish(t,Ho.RightParenthesisExpected):(this.restoreAtMark(e),null)):null},ud.prototype._tryParseMixinReference=function(e){void 0===e&&(e=!0);for(var t=this.mark(),n=this.create(Co),r=this._parseMixinDeclarationIdentifier();r;){this.acceptDelim(">");var i=this._parseMixinDeclarationIdentifier();if(!i)break;n.getNamespaces().addChild(r),r=i}if(!n.setIdentifier(r))return this.restoreAtMark(t),null;var o=!1;if(this.accept(st.ParenthesisL)){if(o=!0,n.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(st.Comma)||this.accept(st.SemiColon))&&!this.peek(st.ParenthesisR);)if(!n.getArguments().addChild(this._parseMixinArgument()))return this.finish(n,Ho.ExpressionExpected);if(!this.accept(st.ParenthesisR))return this.finish(n,Ho.RightParenthesisExpected);r.referenceTypes=[dn.Mixin]}else r.referenceTypes=[dn.Mixin,dn.Rule];return this.peek(st.BracketL)?e||this._addLookupChildren(n):n.addChild(this._parsePrio()),o||this.peek(st.SemiColon)||this.peek(st.CurlyR)||this.peek(st.EOF)?this.finish(n):(this.restoreAtMark(t),null)},ud.prototype._parseMixinArgument=function(){var e=this.create(hr),t=this.mark(),n=this._parseVariable();return n&&(this.accept(st.Colon)?e.setIdentifier(n):this.restoreAtMark(t)),e.setValue(this._parseDetachedRuleSet()||this._parseExpr(!0))?this.finish(e):(this.restoreAtMark(t),null)},ud.prototype._parseMixinParameter=function(){var e,t=this.create(lr);return this.peekKeyword("@rest")?(e=this.create(mn),this.consumeToken(),this.accept(ld)?(t.setIdentifier(this.finish(e)),this.finish(t)):this.finish(t,Ho.DotExpected,[],[st.Comma,st.ParenthesisR])):this.peek(ld)?(e=this.create(mn),this.consumeToken(),t.setIdentifier(this.finish(e)),this.finish(t)):(e=!1,t.setIdentifier(this._parseVariable())&&(this.accept(st.Colon),e=!0),t.setDefaultValue(this._parseDetachedRuleSet()||this._parseExpr(!0))||e?this.finish(t):null)},ud.prototype._parseGuard=function(){if(!this.peekIdent("when"))return null;var e=this.create(Mo);if(this.consumeToken(),e.isNegated=this.acceptIdent("not"),!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ho.ConditionExpected);for(;this.acceptIdent("and")||this.accept(st.Comma);)if(!e.getConditions().addChild(this._parseGuardCondition()))return this.finish(e,Ho.ConditionExpected);return this.finish(e)},ud.prototype._parseGuardCondition=function(){var e;return this.peek(st.ParenthesisL)?(e=this.create(Lo),this.consumeToken(),e.addChild(this._parseExpr()),this.accept(st.ParenthesisR)?this.finish(e):this.finish(e,Ho.RightParenthesisExpected)):null},ud.prototype._parseFunction=function(){var e=this.mark(),t=this.create(or);if(!t.setIdentifier(this._parseFunctionIdentifier()))return null;if(this.hasWhitespace()||!this.accept(st.ParenthesisL))return this.restoreAtMark(e),null;if(t.getArguments().addChild(this._parseMixinArgument()))for(;(this.accept(st.Comma)||this.accept(st.SemiColon))&&!this.peek(st.ParenthesisR);)if(!t.getArguments().addChild(this._parseMixinArgument()))return this.finish(t,Ho.ExpressionExpected);return this.accept(st.ParenthesisR)?this.finish(t):this.finish(t,Ho.RightParenthesisExpected)},ud.prototype._parseFunctionIdentifier=function(){var e;return this.peekDelim("%")?((e=this.create(yn)).referenceTypes=[dn.Function],this.consumeToken(),this.finish(e)):pd.prototype._parseFunctionIdentifier.call(this)},ud.prototype._parseURLArgument=function(){var e=this.mark(),t=pd.prototype._parseURLArgument.call(this);return t&&this.peek(st.ParenthesisR)?t:(this.restoreAtMark(e),(t=this.create(mn)).addChild(this._parseBinaryExpr()),this.finish(t))};var hd,pd,md=ud;function ud(){return pd.call(this,new cd)||this}fd=function(e,t){return(fd=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};n=Yo;var fd,gd,bd=(function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}fd(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(vd,gd=nl),vd.prototype.createFunctionProposals=function(e,t,n,r){for(var i=0,o=e;i 50%"),example:"percentage(@number);",type:"percentage"},{name:"round",description:n("less.builtin.round","rounds a number to a number of places"),example:"round(number, [places: 0]);"},{name:"sqrt",description:n("less.builtin.sqrt","calculates square root of a number"),example:"sqrt(number);"},{name:"sin",description:n("less.builtin.sin","sine function"),example:"sin(number);"},{name:"tan",description:n("less.builtin.tan","tangent function"),example:"tan(number);"},{name:"atan",description:n("less.builtin.atan","arctangent - inverse of tangent function"),example:"atan(number);"},{name:"pi",description:n("less.builtin.pi","returns pi"),example:"pi();"},{name:"pow",description:n("less.builtin.pow","first argument raised to the power of the second argument"),example:"pow(@base, @exponent);"},{name:"mod",description:n("less.builtin.mod","first argument modulus second argument"),example:"mod(number, number);"},{name:"min",description:n("less.builtin.min","returns the lowest of one or more values"),example:"min(@x, @y);"},{name:"max",description:n("less.builtin.max","returns the lowest of one or more values"),example:"max(@x, @y);"}],vd.colorProposals=[{name:"argb",example:"argb(@color);",description:n("less.builtin.argb","creates a #AARRGGBB")},{name:"hsl",example:"hsl(@hue, @saturation, @lightness);",description:n("less.builtin.hsl","creates a color")},{name:"hsla",example:"hsla(@hue, @saturation, @lightness, @alpha);",description:n("less.builtin.hsla","creates a color")},{name:"hsv",example:"hsv(@hue, @saturation, @value);",description:n("less.builtin.hsv","creates a color")},{name:"hsva",example:"hsva(@hue, @saturation, @value, @alpha);",description:n("less.builtin.hsva","creates a color")},{name:"hue",example:"hue(@color);",description:n("less.builtin.hue","returns the `hue` channel of `@color` in the HSL space")},{name:"saturation",example:"saturation(@color);",description:n("less.builtin.saturation","returns the `saturation` channel of `@color` in the HSL space")},{name:"lightness",example:"lightness(@color);",description:n("less.builtin.lightness","returns the `lightness` channel of `@color` in the HSL space")},{name:"hsvhue",example:"hsvhue(@color);",description:n("less.builtin.hsvhue","returns the `hue` channel of `@color` in the HSV space")},{name:"hsvsaturation",example:"hsvsaturation(@color);",description:n("less.builtin.hsvsaturation","returns the `saturation` channel of `@color` in the HSV space")},{name:"hsvvalue",example:"hsvvalue(@color);",description:n("less.builtin.hsvvalue","returns the `value` channel of `@color` in the HSV space")},{name:"red",example:"red(@color);",description:n("less.builtin.red","returns the `red` channel of `@color`")},{name:"green",example:"green(@color);",description:n("less.builtin.green","returns the `green` channel of `@color`")},{name:"blue",example:"blue(@color);",description:n("less.builtin.blue","returns the `blue` channel of `@color`")},{name:"alpha",example:"alpha(@color);",description:n("less.builtin.alpha","returns the `alpha` channel of `@color`")},{name:"luma",example:"luma(@color);",description:n("less.builtin.luma","returns the `luma` value (perceptual brightness) of `@color`")},{name:"saturate",example:"saturate(@color, 10%);",description:n("less.builtin.saturate","return `@color` 10% points more saturated")},{name:"desaturate",example:"desaturate(@color, 10%);",description:n("less.builtin.desaturate","return `@color` 10% points less saturated")},{name:"lighten",example:"lighten(@color, 10%);",description:n("less.builtin.lighten","return `@color` 10% points lighter")},{name:"darken",example:"darken(@color, 10%);",description:n("less.builtin.darken","return `@color` 10% points darker")},{name:"fadein",example:"fadein(@color, 10%);",description:n("less.builtin.fadein","return `@color` 10% points less transparent")},{name:"fadeout",example:"fadeout(@color, 10%);",description:n("less.builtin.fadeout","return `@color` 10% points more transparent")},{name:"fade",example:"fade(@color, 50%);",description:n("less.builtin.fade","return `@color` with 50% transparency")},{name:"spin",example:"spin(@color, 10);",description:n("less.builtin.spin","return `@color` with a 10 degree larger in hue")},{name:"mix",example:"mix(@color1, @color2, [@weight: 50%]);",description:n("less.builtin.mix","return a mix of `@color1` and `@color2`")},{name:"greyscale",example:"greyscale(@color);",description:n("less.builtin.greyscale","returns a grey, 100% desaturated color")},{name:"contrast",example:"contrast(@color1, [@darkcolor: black], [@lightcolor: white], [@threshold: 43%]);",description:n("less.builtin.contrast","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);"}],vd);function vd(e,t){return gd.call(this,"@",e,t)||this}function yd(e,t){var n,r,i;e=(e=>{function t(t){return e.positionAt(t.offset).line}function n(t){return e.positionAt(t.offset+t.len).line}function r(){switch(a.type){case st.CurlyL:case Mc:o.push({line:t(a),type:"brace",isStart:!0});break;case st.CurlyR:if(0!==o.length){if(!(d=wd(o,"brace")))break;var r=n(a);"brace"===d.type&&(l&&n(l)!==r&&r--,d.line!==r)&&i.push({startLine:d.line,endLine:r,kind:void 0})}break;case st.Comment:var c=function(e){return"#region"===e?{line:t(a),type:"comment",isStart:!0}:{line:n(a),type:"comment",isStart:!1}};r=(t=>{var n=t.text.match(/^\s*\/\*\s*(#region|#endregion)\b\s*(.*?)\s*\*\//);return n?c(n[1]):"scss"!==e.languageId&&"less"!==e.languageId||(n=t.text.match(/^\s*\/\/\s*(#region|#endregion)\b\s*(.*?)\s*/),!n)?null:c(n[1])})(a);if(r)if(r.isStart)o.push(r);else{if(!(d=wd(o,"comment")))break;"comment"===d.type&&d.line!==r.line&&i.push({startLine:d.line,endLine:r.line,kind:"region"})}else d="comment",h=t(r=a),r=n(r),h=h!==r?{startLine:h,endLine:r,kind:d}:null,h&&i.push(h)}var d,h;l=a,a=s.scan()}for(var i=[],o=[],s=(()=>{switch(e.languageId){case"scss":return new jc;case"less":return new cd;default:return new nn}})(),a=(s.ignoreComment=!1,s.setSource(e.getText()),s.scan()),l=null;a.type!==st.EOF;)r();return i})(e);return n=e,t=(t=t)&&t.rangeLimit||Number.MAX_VALUE,n=e.sort((function(e,t){var n=e.startLine-t.startLine;return 0===n?e.endLine-t.endLine:n})),r=[],i=-1,n.forEach((function(e){e.startLine && ]#",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",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."}],syntax:"normal | | | ? ",relevance:60,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",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."}],syntax:"normal | stretch | | [ ? ]",relevance:84,description:"Aligns flex items along the cross axis of the current line of the flex container.",restrictions:["enum"]},{name:"justify-items",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"},{name:"legacy"}],syntax:"normal | stretch | | ? [ | left | right ] | legacy | legacy && [ left | right | center ]",relevance:51,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",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:52,description:"Defines the way of justifying a box inside its container along the appropriate axis.",restrictions:["enum"]},{name:"align-self",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:"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."}],syntax:"auto | normal | stretch | | ? ",relevance:71,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",relevance:52,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",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:81,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",syntax:"