Anvil/assets/entry-preview-Ch8xqxU5.js

46 lines
493 KiB
JavaScript
Raw Normal View History

2024-08-12 15:09:11 +02:00
import{S as Zp,c as ef,a as tf,t as xt,q as Va,b as _t,u as Ha,V as rf,k as gu,d as Wt,e as Ua,m as Qt,f as Xt,G as fr}from"./index-CoCSl5nl.js";import{e as Mt,i as za,d as Ga,o as eg,S as hr}from"./lifecycle-Dsbxuj6L.js";import{g as mr,a as gr}from"./spread-CgU5AtxT.js";import{c as _r}from"./_commonjsHelpers-Cpj98o6Y.js";import{d as tg}from"./index-DrFu-skq.js";var rg=Object.defineProperty,ag=(e,t)=>{for(var r in t)rg(e,r,{get:t[r],enumerable:!0})},ng=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],af=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ig="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍--9_・",nf="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ
2024-07-31 10:01:28 +02:00
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),_d(t.onToken)){var a=t.onToken;t.onToken=function(n){return a.push(n)}}return _d(t.onComment)&&(t.onComment=mg(t,t.onComment)),t}function mg(e,t){return function(r,a,n,i,o,u){var l={type:r?"Block":"Line",value:a,start:n,end:i};e.locations&&(l.loc=new Wa(this,o,u)),e.ranges&&(l.range=[n,i]),t.push(l)}}var zr=1,wr=2,Lc=4,cf=8,df=16,pf=32,$c=64,ff=128,Jr=256,Ic=zr|wr|Jr;function Nc(e,t){return wr|(e?Lc:0)|(t?cf:0)}var Ea=0,jc=1,kt=2,hf=3,mf=4,gf=5,Re=function(t,r,a){this.options=t=hg(t),this.sourceFile=t.sourceFile,this.keywords=Ot(og[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=vu[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=Ot(n);var i=(n?n+" ":"")+vu.strict;this.reservedWordsStrict=Ot(i),this.reservedWordsStrictBind=Ot(i+" "+vu.strictBind),this.input=String(r),this.containsEsc=!1,a?(this.pos=a,this.lineStart=this.input.lastIndexOf(`
`,a-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Ze).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=c.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(zr),this.regexpState=null,this.privateNameStack=[]},ht={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ht.inFunction.get=function(){return(this.currentVarScope().flags&wr)>0};ht.inGenerator.get=function(){return(this.currentVarScope().flags&cf)>0&&!this.currentVarScope().inClassFieldInit};ht.inAsync.get=function(){return(this.currentVarScope().flags&Lc)>0&&!this.currentVarScope().inClassFieldInit};ht.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Jr)return!1;if(t.flags&wr)return(t.flags&Lc)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};ht.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&$c)>0||r||this.options.allowSuperOutsideMethod};ht.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ff)>0};ht.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ht.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(wr|Jr))>0||r};ht.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Jr)>0};Re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var a=this,n=0;n<t.length;n++)a=t[n](a);return a};Re.parse=function(t,r){return new this(r,t).parse()};Re.parseExpressionAt=function(t,r,a){var n=new this(a,t,r);return n.nextToken(),n.parseExpression()};Re.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(Re.prototype,ht);var $e=Re.prototype,gg=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$e.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Qe.lastIndex=e,e+=Qe.exec(this.input)[0].length;var t=gg.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Qe.lastIndex=e+t[0].length;var r=Qe.exec(this.input),a=r.index+r[0].length,n=this.input.charAt(a);return n===";"||n==="}"||Ze.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(a+1)==="=")}e+=t[0].length,Qe.lastIndex=e,e+=Qe.exec(this.input)[0].length,this.input[e]===";"&&e++}};$e.eat=function(e){return this.type===e?(this.next(),!0):!1};$e.isContextual=function(e){return this.type===c.name&&this.value===e&&!this.containsEsc};$e.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};$e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};$e.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||Ze.test(this.input.slice(this.lastTokEnd,this.start))};$e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};$e.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()};$e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokSta
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
`),cooked:this.value},this.next(),r.tail=this.type===c.backQuote,this.finishNode(r,"TemplateElement")};V.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var a=this.parseTemplateElement({isTagged:t});for(r.quasis=[a];!a.tail;)this.type===c.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(c.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(c.braceR),r.quasis.push(a=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};V.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===c.name||this.type===c.num||this.type===c.string||this.type===c.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===c.star)&&!Ze.test(this.input.slice(this.lastTokEnd,this.start))};V.parseObj=function(e,t){var r=this.startNode(),a=!0,n={};for(r.properties=[],this.next();!this.eat(c.braceR);){if(a)a=!1;else if(this.expect(c.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(c.braceR))break;var i=this.parseProperty(e,t);e||this.checkPropClash(i,n,t),r.properties.push(i)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};V.parseProperty=function(e,t){var r=this.startNode(),a,n,i,o;if(this.options.ecmaVersion>=9&&this.eat(c.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===c.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===c.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(i=this.start,o=this.startLoc),e||(a=this.eat(c.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!a&&this.isAsyncProp(r)?(n=!0,a=this.options.ecmaVersion>=9&&this.eat(c.star),this.parsePropertyName(r)):n=!1,this.parsePropertyValue(r,e,a,n,i,o,t,u),this.finishNode(r,"Property")};V.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind==="get"?0:1;if(e.value.params.length!==t){var r=e.value.start;e.kind==="get"?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};V.parsePropertyValue=function(e,t,r,a,n,i,o,u){(r||a)&&this.type===c.colon&&this.unexpected(),this.eat(c.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===c.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,a)):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==c.comma&&this.type!==c.braceR&&this.type!==c.eq?((r||a)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||a)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,i,this.copyNode(e.key)):this.type===c.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,i,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()};V.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(c.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(c.bracketR),e.key;e.computed=!1}return e.key=this.type===c.num||this.type===c.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};V.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};V.parseMethod=function(e,t,r){var a=this.startNode(),n=this
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};J.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(c.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
`&&++this.pos;case`
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};J.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Tt(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var a=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(a,8);return n>255&&(a=a.slice(0,-1),n=parseInt(a,8)),this.pos+=a.length-1,t=this.input.charCodeAt(this.pos),(a!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-a.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return Cr(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};J.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};J.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,a=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(vr(n,a))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var i=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?Ct:vr)(o,a)||this.invalidStringToken(i,"Invalid Unicode escape"),e+=Tt(o),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};J.readWord=function(){var e=this.readWord1(),t=c.name;return this.keywords.test(e)&&(t=Tc[e]),this.finishToken(t,e)};var Fg="8.12.1";Re.acorn={Parser:Re,version:Fg,defaultOptions:ec,Position:Ur,SourceLocation:Wa,getLineInfo:uf,Node:Xa,TokenType:re,tokTypes:c,keywordTypes:Tc,TokContext:rt,tokContexts:fe,isIdentifierChar:vr,isIdentifierStart:Ct,Token:Fc,isNewLine:Cr,lineBreak:Ze,lineBreakG:cg,nonASCIIwhitespace:sf};function Bg(e,t,r){return Re.parseExpressionAt(e,t,r)}class Vg{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,a,n){t&&r&&(a!=null?t[r][a]=n:t[r]=n)}remove(t,r,a){t&&r&&(a!=null?t[r].splice(a,1):delete t[r])}}class Hg extends Vg{constructor(t,r){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:a=>this.replacement=a},this.enter=t,this.leave=r}visit(t,r,a,n){if(t){if(this.enter){const o=this.should_skip,u=this.should_remove,l=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,a,n),this.replacement&&(t=this.replacement,this.replace(r,a,n,t)),this.should_remove&&this.remove(r,a,n);const s=this.should_skip,d=this.should_remove;if(this.should_skip=o,this.should_remove=u,this.replacement=l,s)return t;if(d)return null}let i;for(i in t){const o=t[i];if(o&&typeof o=="object")if(Array.isArray(o)){const u=o;for(let l=0;l<u.length;l+=1){const s=u[l];Sd(s)&&(this.visit(s,t,i,l)||l--)}}else Sd(o)&&this.visit(o,t,i,null)}if(this.leave){const o=this.replacement,u=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,a,n),this.replacement&&(t=this.replacement,this.replace(r,a,n,t)),this.should_remove&&this.remove(r,a,n);const l=this.should_remove;if(this.replacement=o,this.should_remove=u,l)return null}}return t}}function Sd(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function Ug(e,{enter:t,leave:r}){return new Hg(t,r).visit(e,null)}const ac=Math.round(Math.random()*1e20).toString(36),lt=new RegExp(`_${ac}_(?:(\\d+)|(AT)|(HASH))_(\\w+)?`,"g"),Ff=(e,t)=>({onComment:(r,a,n,i)=>{if(r&&/\n/.test(a)){let o=n;for(;o>0&&t[o-1]!==`
`;)o-=1;let u=o;for(;/[ \t]/.test(t[u]);)u+=1;const l=t.slice(o,u);a=a.replace(new RegExp(`^${l}`,"gm"),"")}e.push({type:r?"Block":"Line",value:a,start:n,end:i})},enter(r){let a;for(;e[0]&&e[0].start<r.start;){a=e.shift(),a.value=a.value.replace(lt,(i,o,u,l,s)=>l?`#${s}`:u?`@${s}`:i);const n=e[0]||r;a.has_trailing_newline=a.type==="Line"||/\n/.test(t.slice(a.end,n.start)),(r.leadingComments||(r.leadingComments=[])).push(a)}},leave(r){if(e[0]){const a=t.slice(r.end,e[0].start);/^[,) \t]*$/.test(a)&&(r.trailingComments=[e.shift()])}}});var la={exports:{}},Pd;function Bc(){return Pd||(Pd=1,function(e,t){(function(r,a){a(t)})(_r,function(r){const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=new Uint8Array(64),u=new Uint8Array(128);for(let b=0;b<i.length;b++){const R=i.charCodeAt(b);o[b]=R,u[R]=b}const l=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(b){return Buffer.from(b.buffer,b.byteOffset,b.byteLength).toString()}}:{decode(b){let R="";for(let g=0;g<b.length;g++)R+=String.fromCharCode(b[g]);return R}};function s(b){const R=new Int32Array(5),g=[];let C=0;do{const w=d(b,C),I=[];let E=!0,p=0;R[0]=0;for(let h=C;h<w;h++){let P;h=f(b,h,R,0);const x=R[0];x<p&&(E=!1),p=x,y(b,h,w)?(h=f(b,h,R,1),h=f(b,h,R,2),h=f(b,h,R,3),y(b,h,w)?(h=f(b,h,R,4),P=[x,R[1],R[2],R[3],R[4]]):P=[x,R[1],R[2],R[3]]):P=[x],I.push(P)}E||_(I),g.push(I),C=w+1}while(C<=b.length);return g}function d(b,R){const g=b.indexOf(";",R);return g===-1?b.length:g}function f(b,R,g,C){let w=0,I=0,E=0;do{const h=b.charCodeAt(R++);E=u[h],w|=(E&31)<<I,I+=5}while(E&32);const p=w&1;return w>>>=1,p&&(w=-2147483648|-w),g[C]+=w,R}function y(b,R,g){return R>=g?!1:b.charCodeAt(R)!==44}function _(b){b.sort(O)}function O(b,R){return b[0]-R[0]}function B(b){const R=new Int32Array(5),g=1024*16,C=g-36,w=new Uint8Array(g),I=w.subarray(0,C);let E=0,p="";for(let h=0;h<b.length;h++){const P=b[h];if(h>0&&(E===g&&(p+=l.decode(w),E=0),w[E++]=59),P.length!==0){R[0]=0;for(let x=0;x<P.length;x++){const Z=P[x];E>C&&(p+=l.decode(I),w.copyWithin(0,C,E),E-=C),x>0&&(w[E++]=44),E=U(w,E,R,Z,0),Z.length!==1&&(E=U(w,E,R,Z,1),E=U(w,E,R,Z,2),E=U(w,E,R,Z,3),Z.length!==4&&(E=U(w,E,R,Z,4)))}}}return p+l.decode(w.subarray(0,E))}function U(b,R,g,C,w){const I=C[w];let E=I-g[w];g[w]=I,E=E<0?-E<<1|1:E<<1;do{let p=E&31;E>>>=5,E>0&&(p|=32),b[R++]=o[p]}while(E>0);return R}r.decode=s,r.encode=B,Object.defineProperty(r,"__esModule",{value:!0})})}(la,la.exports)),la.exports}Bc();const zg={"@":"AT","#":"HASH"},Gg=e=>{let t=e[0];for(let r=1;r<e.length;r+=1)t+=`_${ac}_${r-1}_${e[r]}`;return t.replace(/([@#])(\w+)/g,(r,a,n)=>`_${ac}_${zg[a]}_${n}`)},nc=(e,t)=>{for(let r=0;r<e.length;r+=1){const a=e[r];if(Array.isArray(a)){nc(a,t);continue}if(a.type==="ExpressionStatement"){if(a.expression===zt)continue;if(Array.isArray(a.expression)){let n=a.expression[0];for(;Array.isArray(n);)n=n[0];n&&(n.leadingComments=a.leadingComments),nc(a.expression,t);continue}if(/(Expression|Literal)$/.test(a.expression.type)){t.push(a);continue}a.leadingComments&&(a.expression.leadingComments=a.leadingComments),a.trailingComments&&(a.expression.trailingComments=a.trailingComments),t.push(a.expression);continue}t.push(a)}return t},Bf=(e,t)=>{for(let r=0;r<e.length;r+=1){const a=e[r];if(a.value!==zt){if(a.key===a.value&&Array.isArray(a.key)){Bf(a.key,t);continue}t.push(a)}}return t},Mr=(e,t)=>{for(let r=0;r<e.length;r+=1){const a=e[r];if(a!==zt){if(Array.isArray(a)){Mr(a,t);continue}t.push(a)}}return t},zt={type:"Empty"},Wg=(e,t)=>{const{onComment:r}=Ff(e,t);return{ecmaVersion:2022,sourceType:"module",allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,onComment:r}},Qg=(e,t,r,a)=>{a.forEach(o=>{o.value=o.value.replace(lt,(u,l)=>+l in r?r[+l]:u)});const{enter:n,leave:i}=Ff(a,e);return Ug(t,{enter:n,leave(o){if(o.type==="Identifier"){lt.lastIndex=0;const u=lt.exec(o.name);if(u)if(u[1]){if(+u[1]in r){let l=r[+u[1]];typeof l=="string"?l={type:"Identifier",name:l,leadingComments:o.leadingComments,trailingComments:o.trailingComments}:typeof l=="number"&&(l={type:"Literal",val
${e}`),t}const Ca=0,q=1,W=2,Ce=3,ce=4,gt=5,Ya=6,Me=7,je=8,z=9,F=10,ve=11,K=12,de=13,ea=14,De=15,_e=16,Fe=17,vt=18,Ve=19,ot=20,he=21,Q=22,Ae=23,Ye=24,Ee=25,Kg=0;function Se(e){return e>=48&&e<=57}function Lt(e){return Se(e)||e>=65&&e<=70||e>=97&&e<=102}function Vc(e){return e>=65&&e<=90}function Yg(e){return e>=97&&e<=122}function Jg(e){return Vc(e)||Yg(e)}function Zg(e){return e>=128}function Ta(e){return Jg(e)||Zg(e)||e===95}function Hf(e){return Ta(e)||Se(e)||e===45}function ev(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function La(e){return e===10||e===13||e===12}function Kt(e){return La(e)||e===32||e===9}function ft(e,t){return!(e!==92||La(t)||t===Kg)}function wa(e,t,r){return e===45?Ta(t)||t===45||ft(t,r):Ta(e)?!0:e===92?ft(e,t):!1}function xu(e,t,r){return e===43||e===45?Se(t)?2:t===46&&Se(r)?3:0:e===46?Se(t)?2:0:Se(e)?1:0}function Uf(e){return e===65279||e===65534?1:0}const ic=new Array(128),tv=128,Ra=130,zf=131,Hc=132,Gf=133;for(let e=0;e<ic.length;e++)ic[e]=Kt(e)&&Ra||Se(e)&&zf||Ta(e)&&Hc||ev(e)&&Gf||e||tv;function _u(e){return e<128?ic[e]:Hc}function dr(e,t){return t<e.length?e.charCodeAt(t):0}function oc(e,t,r){return r===13&&dr(e,t+1)===10?2:1}function pr(e,t,r){let a=e.charCodeAt(t);return Vc(a)&&(a=a|32),a===r}function Gr(e,t,r,a){if(r-t!==a.length||t<0||r>e.length)return!1;for(let n=t;n<r;n++){const i=a.charCodeAt(n-t);let o=e.charCodeAt(n);if(Vc(o)&&(o=o|32),o!==i)return!1}return!0}function rv(e,t){for(;t>=0&&Kt(e.charCodeAt(t));t--);return t+1}function ua(e,t){for(;t<e.length&&Kt(e.charCodeAt(t));t++);return t}function Cu(e,t){for(;t<e.length&&Se(e.charCodeAt(t));t++);return t}function br(e,t){if(t+=2,Lt(dr(e,t-1))){for(const a=Math.min(e.length,t+5);t<a&&Lt(dr(e,t));t++);const r=dr(e,t);Kt(r)&&(t+=oc(e,t,r))}return t}function ca(e,t){for(;t<e.length;t++){const r=e.charCodeAt(t);if(!Hf(r)){if(ft(r,dr(e,t+1))){t=br(e,t)-1;continue}break}}return t}function Ja(e,t){let r=e.charCodeAt(t);if((r===43||r===45)&&(r=e.charCodeAt(t+=1)),Se(r)&&(t=Cu(e,t+1),r=e.charCodeAt(t)),r===46&&Se(e.charCodeAt(t+1))&&(t+=2,t=Cu(e,t)),pr(e,t,101)){let a=0;r=e.charCodeAt(t+1),(r===45||r===43)&&(a=1,r=e.charCodeAt(t+2)),Se(r)&&(t=Cu(e,t+1+a+1))}return t}function wu(e,t){for(;t<e.length;t++){const r=e.charCodeAt(t);if(r===41){t++;break}ft(r,dr(e,t+1))&&(t=br(e,t))}return t}function Wf(e){if(e.length===1&&!Lt(e.charCodeAt(0)))return e[0];let t=parseInt(e,16);return(t===0||t>=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}const Qf=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token"],av=16*1024;function $a(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,av)):e}const Ad=10,nv=12,Ed=13;function qd(e){const t=e.source,r=t.length,a=t.length>0?Uf(t.charCodeAt(0)):0,n=$a(e.lines,r),i=$a(e.columns,r);let o=e.startLine,u=e.startColumn;for(let l=a;l<r;l++){const s=t.charCodeAt(l);n[l]=o,i[l]=u++,(s===Ad||s===Ed||s===nv)&&(s===Ed&&l+1<r&&t.charCodeAt(l+1)===Ad&&(l++,n[l]=o,i[l]=u),o++,u=1)}n[r]=o,i[r]=u,e.lines=n,e.columns=i,e.computed=!0}class iv{constructor(){this.lines=null,this.columns=null,this.computed=!1}setSource(t,r=0,a=1,n=1){this.source=t,this.startOffset=r,this.startLine=a,this.startColumn=n,this.computed=!1}getLocation(t,r){return this.computed||qd(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,a){return this.computed||qd(this),{source:a,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}}const Ge=16777215,St=24,ov=new Map([[W,Q],[he,Q],[Ve,ot],[Ae,Ye]]);class sv{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSou
`)}})}const Ru=100,Od=60,Md=" ";function Td({source:e,line:t,column:r},a){function n(d,f){return i.slice(d,f).map((y,_)=>String(d+_+1).padStart(l)+" |"+y).join(`
`)}const i=e.split(/\r\n?|\n|\f/),o=Math.max(1,t-a)-1,u=Math.min(t+a,i.length+1),l=Math.max(4,String(u).length)+1;let s=0;r+=(Md.length-1)*(i[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>Ru&&(s=r-Od+3,r=Od-2);for(let d=o;d<=u;d++)d>=0&&d<i.length&&(i[d]=i[d].replace(/\t/g,Md),i[d]=(s>0&&i[d].length>s?"…":"")+i[d].substr(s,Ru-2)+(i[d].length>s+Ru-1?"…":""));return[n(o,t),new Array(r+l+2).join("-")+"^",n(t,u)].filter(Boolean).join(`
`)}function Ld(e,t,r,a,n){return Object.assign(en("SyntaxError",e),{source:t,offset:r,line:a,column:n,sourceFragment(o){return Td({source:t,line:a,column:n},isNaN(o)?0:o)},get formattedMessage(){return`Parse error: ${e}
`+Td({source:t,line:a,column:n},2)}})}function lv(e){const t=this.createList();let r=!1;const a={recognizer:e};for(;!this.eof;){switch(this.tokenType){case Ee:this.next();continue;case de:r=!0,this.next();continue}let n=e.getNode.call(this,a);if(n===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,n,t,a),r=!1),t.push(n)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,a),t}const $d=()=>{},uv=33,cv=35,ku=59,Id=123,Nd=0;function dv(e){return function(){return this[e]()}}function Su(e){const t=Object.create(null);for(const r in e){const a=e[r],n=a.parse||a;n&&(t[r]=n)}return t}function pv(e){const t={context:Object.create(null),scope:Object.assign(Object.create(null),e.scope),atrule:Su(e.atrule),pseudo:Su(e.pseudo),node:Su(e.node)};for(const r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=dv(e.parseContext[r]);break}return{config:t,...t,...t.node}}function fv(e){let t="",r="<unknown>",a=!1,n=$d,i=!1;const o=new iv,u=Object.assign(new sv,pv(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:lv,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===Id?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===Id||s===ku?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===uv||s===ku?1:0},consumeUntilSemicolonIncluded(s){return s===ku?2:0},createList(){return new ke},createSingleNodeList(s){return new ke().appendData(s)},getFirstListNode(s){return s&&s.first},getLastListNode(s){return s&&s.last},parseWithFallback(s,d){const f=this.tokenIndex;try{return s.call(this)}catch(y){if(i)throw y;const _=d.call(this,f);return i=!0,n(y,_),i=!1,_}},lookupNonWSType(s){let d;do if(d=this.lookupType(s++),d!==de)return d;while(d!==Nd);return Nd},charCodeAt(s){return s>=0&&s<t.length?t.charCodeAt(s):0},substring(s,d){return t.substring(s,d)},substrToCursor(s){return this.source.substring(s,this.tokenStart)},cmpChar(s,d){return pr(t,s,d)},cmpStr(s,d,f){return Gr(t,s,d,f)},consume(s){const d=this.tokenStart;return this.eat(s),this.substrToCursor(d)},consumeFunctionName(){const s=t.substring(this.tokenStart,this.tokenEnd-1);return this.eat(W),s},consumeNumber(s){const d=t.substring(this.tokenStart,Ja(t,this.tokenStart));return this.eat(s),d},eat(s){if(this.tokenType!==s){const d=Qf[s].slice(0,-6).replace(/-/g," ").replace(/^./,_=>_.toUpperCase());let f=`${/[[\](){}]/.test(d)?`"${d}"`:d} is expected`,y=this.tokenStart;switch(s){case q:this.tokenType===W||this.tokenType===Me?(y=this.tokenEnd-1,f="Identifier is expected but function found"):f="Identifier is expected";break;case ce:this.isDelim(cv)&&(this.next(),y++,f="Name is expected");break;case ve:this.tokenType===F&&(y=this.tokenEnd,f="Percent sign is expected");break}this.error(f,y)}this.next()},eatIdent(s){(this.tokenType!==q||this.lookupValue(0,s)===!1)&&this.error(`Identifier "${s}" is expected`),this.next()},eatDelim(s){this.isDelim(s)||this.error(`Delim "${String.fromCharCode(s)}" is expected`),this.next()},getLocation(s,d){return a?o.getLocationRange(s,d,r):null},getLocationFromList(s){if(a){const d=this.getFirstListNode(s),f=this.getLastListNode(s);return o.getLocationRange(d!==null?d.loc.start.offset-o.startOffset:this.tokenStart,f!==null?f.loc.end.offset-o.startOffset:this.tokenStart,r)}return null},error(s,d){const f=typeof d<"u"&&d<t.length?o.getLocation(d):this.eof?o.getLocation(rv(t,t.length-1)):o.getLocation(this.tokenStart);throw new Ld(s||"Unexpected input",t,f.offset,f.line,f.column)}});return Object.assign(function(s,d){t=s,d=d||{},u.setSource(t,Za),o.setSource(t,d.offset,d.line,d.column),r=d.filename||"<unknown>",a=!!d.positions,n=typeof d.onParseError=="function"?d.onParseError:$d,i=!1,u.parseAtrulePrelude="parseAtrulePrelude"in d?!!d.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in d?!!d.parseRulePrelude:!0,u.parseValue="parseValue"in d?!!d.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in d?!!d.parseCustomProperty:!1;const{context:f="default",onComment:y}=d;if(!(f in u.context))th
`,de,!0)},emit(l){n+=l},result(){return n}};a&&(typeof a.decorator=="function"&&(o=a.decorator(o)),a.sourceMap&&(o=yv(o)),a.mode in Fd&&(o.tokenBefore=Fd[a.mode]));const u={node:l=>o.node(l),children:kv,token:(l,s)=>o.token(l,s),tokenize:Sv};return o.node(r),o.result()}}function Av(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof ke)&&(r.children=new ke().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof ke&&(r.children=r.children.toArray())}}),t}}}const{hasOwnProperty:Xc}=Object.prototype,Tr=function(){};function Bd(e){return typeof e=="function"?e:Tr}function Vd(e,t){return function(r,a,n){r.type===t&&e.call(this,r,a,n)}}function Ev(e,t){const r=t.structure,a=[];for(const n in r){if(Xc.call(r,n)===!1)continue;let i=r[n];const o={name:n,type:!1,nullable:!1};Array.isArray(i)||(i=[i]);for(const u of i)u===null?o.nullable=!0:typeof u=="string"?o.type="node":Array.isArray(u)&&(o.type="list");o.type&&a.push(o)}return a.length?{context:t.walkContext,fields:a}:null}function qv(e){const t={};for(const r in e.node)if(Xc.call(e.node,r)){const a=e.node[r];if(!a.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=Ev(r,a)}return t}function Hd(e,t){const r=e.fields.slice(),a=e.context,n=typeof a=="string";return t&&r.reverse(),function(i,o,u,l){let s;n&&(s=o[a],o[a]=i);for(const d of r){const f=i[d.name];if(!d.nullable||f){if(d.type==="list"){if(t?f.reduceRight(l,!1):f.reduce(l,!1))return!0}else if(u(f))return!0}}n&&(o[a]=s)}}function Ud({StyleSheet:e,Atrule:t,Rule:r,Block:a,DeclarationList:n}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:a},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:a},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:a,DeclarationList:n}}}function Ov(e){const t=qv(e),r={},a={},n=Symbol("break-walk"),i=Symbol("skip-node");for(const s in t)Xc.call(t,s)&&t[s]!==null&&(r[s]=Hd(t[s],!1),a[s]=Hd(t[s],!0));const o=Ud(r),u=Ud(a),l=function(s,d){function f(b,R,g){const C=y.call(U,b,R,g);return C===n?!0:C===i?!1:!!(O.hasOwnProperty(b.type)&&O[b.type](b,U,f,B)||_.call(U,b,R,g)===n)}let y=Tr,_=Tr,O=r,B=(b,R,g,C)=>b||f(R,g,C);const U={break:n,skip:i,root:s,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof d=="function")y=d;else if(d&&(y=Bd(d.enter),_=Bd(d.leave),d.reverse&&(O=a),d.visit)){if(o.hasOwnProperty(d.visit))O=d.reverse?u[d.visit]:o[d.visit];else if(!t.hasOwnProperty(d.visit))throw new Error("Bad value `"+d.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");y=Vd(y,d.visit),_=Vd(_,d.visit)}if(y===Tr&&_===Tr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");f(s)};return l.break=n,l.skip=i,l.find=function(s,d){let f=null;return l(s,function(y,_,O){if(d.call(this,y,_,O))return f=y,n}),f},l.findLast=function(s,d){let f=null;return l(s,{reverse:!0,enter(y,_,O){if(d.call(this,y,_,O))return f=y,n}}),f},l.findAll=function(s,d){const f=[];return l(s,function(y,_,O){d.call(this,y,_,O)&&f.push(y)}),f},l}function Mv(e){return e}function Tv(e){const{min:t,max:r,comma:a}=e;return t===0&&r===0?a?"#?":"*":t===0&&r===1?"?":t===1&&r===0?a?"#":"+":t===1&&r===1?"":(a?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function Lv(e){switch(e.type){case"Range":return" ["+(e.min===null?"-∞":e.min)+","+(e.max===null?"∞":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function $v(e,t,r,a){const n=e.combinator===" "||a?e.combinator:" "+e.combinator+" ",i=e.terms.map(o=>Kc(o,t,r,a)).join(n);return e.explicit||r?(a||i[0]===","?"[":"[ ")+i+(a?"]":" ]"):i}function Kc(e,t,r,a){let n;switch(e.type){case"Group":n=$v(e,t,r,a)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Kc(e.term,t,r,a)+t(Tv(e),e);case"Type":n="<"+e.name+(e.opts?t(Lv(e.opts),e.opts):"")+">";break;case"Property":n="<'"+e.name+"'>";break;case"Keyword":n=e.name;break;case"AtKeyword":n="@"+e.name;break;case"Function":n=e.name+"(";break;case"String":case"Token":n=e.value;break;case"
2024-06-24 11:39:28 +02:00
syntax: `+n.syntax+`
value: `+(i||"<empty string>")+`
2024-07-31 10:01:28 +02:00
--------`+new Array(n.mismatchOffset+1).join("-")+"^",Object.assign(n,l),n.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:l,end:s},n},pa=new Map,nr=new Map,Na=45,Au=jv,Gd=Dv;function Jc(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Na&&e.charCodeAt(t+1)===Na}function ih(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===Na&&e.charCodeAt(t+1)!==Na){const r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function jv(e){if(pa.has(e))return pa.get(e);const t=e.toLowerCase();let r=pa.get(t);if(r===void 0){const a=Jc(t,0),n=a?"":ih(t,0);r=Object.freeze({basename:t.substr(n.length),name:t,prefix:n,vendor:n,custom:a})}return pa.set(e,r),r}function Dv(e){if(nr.has(e))return nr.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");const a=Jc(t,r.length);if(!a&&(t=t.toLowerCase(),nr.has(t))){const u=nr.get(t);return nr.set(e,u),u}const n=a?"":ih(t,r.length),i=t.substr(0,r.length+n.length),o=Object.freeze({basename:t.substr(i.length),name:t.substr(r.length),hack:r,vendor:n,prefix:i,custom:a});return nr.set(e,o),o}const oh=["initial","inherit","unset","revert","revert-layer"],Wr=43,ut=45,Eu=110,ir=!0,Fv=!1;function sc(e,t){return e!==null&&e.type===z&&e.value.charCodeAt(0)===t}function Dr(e,t,r){for(;e!==null&&(e.type===de||e.type===Ee);)e=r(++t);return t}function At(e,t,r,a){if(!e)return 0;const n=e.value.charCodeAt(t);if(n===Wr||n===ut){if(r)return 0;t++}for(;t<e.value.length;t++)if(!Se(e.value.charCodeAt(t)))return 0;return a+1}function qu(e,t,r){let a=!1,n=Dr(e,t,r);if(e=r(n),e===null)return t;if(e.type!==F)if(sc(e,Wr)||sc(e,ut)){if(a=!0,n=Dr(r(++n),n,r),e=r(n),e===null||e.type!==F)return 0}else return t;if(!a){const i=e.value.charCodeAt(0);if(i!==Wr&&i!==ut)return 0}return At(e,a?0:1,a,n)}function Bv(e,t){let r=0;if(!e)return 0;if(e.type===F)return At(e,0,Fv,r);if(e.type===q&&e.value.charCodeAt(0)===ut){if(!pr(e.value,1,Eu))return 0;switch(e.value.length){case 2:return qu(t(++r),r,t);case 3:return e.value.charCodeAt(2)!==ut?0:(r=Dr(t(++r),r,t),e=t(r),At(e,0,ir,r));default:return e.value.charCodeAt(2)!==ut?0:At(e,3,ir,r)}}else if(e.type===q||sc(e,Wr)&&t(r+1).type===q){if(e.type!==q&&(e=t(++r)),e===null||!pr(e.value,0,Eu))return 0;switch(e.value.length){case 1:return qu(t(++r),r,t);case 2:return e.value.charCodeAt(1)!==ut?0:(r=Dr(t(++r),r,t),e=t(r),At(e,0,ir,r));default:return e.value.charCodeAt(1)!==ut?0:At(e,2,ir,r)}}else if(e.type===K){let a=e.value.charCodeAt(0),n=a===Wr||a===ut?1:0,i=n;for(;i<e.value.length&&Se(e.value.charCodeAt(i));i++);return i===n||!pr(e.value,i,Eu)?0:i+1===e.value.length?qu(t(++r),r,t):e.value.charCodeAt(i+1)!==ut?0:i+2===e.value.length?(r=Dr(t(++r),r,t),e=t(r),At(e,0,ir,r)):At(e,i+2,ir,r)}return 0}const Vv=43,sh=45,lh=63,Hv=117;function lc(e,t){return e!==null&&e.type===z&&e.value.charCodeAt(0)===t}function Uv(e,t){return e.value.charCodeAt(0)===t}function $r(e,t,r){let a=0;for(let n=t;n<e.value.length;n++){const i=e.value.charCodeAt(n);if(i===sh&&r&&a!==0)return $r(e,t+a+1,!1),6;if(!Lt(i)||++a>6)return 0}return a}function fa(e,t,r){if(!e)return 0;for(;lc(r(t),lh);){if(++e>6)return 0;t++}return t}function zv(e,t){let r=0;if(e===null||e.type!==q||!pr(e.value,0,Hv)||(e=t(++r),e===null))return 0;if(lc(e,Vv))return e=t(++r),e===null?0:e.type===q?fa($r(e,0,!0),++r,t):lc(e,lh)?fa(1,++r,t):0;if(e.type===F){const a=$r(e,1,!0);return a===0?0:(e=t(++r),e===null?r:e.type===K||e.type===F?!Uv(e,sh)||!$r(e,1,!1)?0:r+1:fa(a,r,t))}return e.type===K?fa($r(e,1,!0),++r,t):0}const Gv=["calc(","-moz-calc(","-webkit-calc("],Zc=new Map([[W,Q],[he,Q],[Ve,ot],[Ae,Ye]]);function it(e,t){return t<e.length?e.charCodeAt(t):0}function uh(e,t){return Gr(e,0,e.length,t)}function ch(e,t){for(let r=0;r<t.length;r++)if(uh(e,t[r]))return!0;return!1}function dh(e,t){return t!==e.length-2?!1:it(e,t)===92&&Se(it(e,t+1))}function an(e,t,r){if(e&&e.type==="Range"){const a=Number(r!==void 0&&r!==t.length?t.substr(0,r):t);if(isNaN(a)||e.min!==null&&a<e.min&&typeof e.min!="string"||e.max!==null&&a>e.max&&typeof e.max!="string")return!0}return!1}function Wv(e,t
2024-06-24 11:39:28 +02:00
`+t+`
2024-07-31 10:01:28 +02:00
--`+new Array((r||t.length)+1).join("-")+"^"})}const gb=9,vb=10,bb=12,yb=13,xb=32;class _b{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t<this.str.length?this.str.charCodeAt(t):0}charCode(){return this.charCodeAt(this.pos)}nextCharCode(){return this.charCodeAt(this.pos+1)}nextNonWsCode(t){return this.charCodeAt(this.findWsEnd(t))}findWsEnd(t){for(;t<this.str.length;t++){const r=this.str.charCodeAt(t);if(r!==yb&&r!==vb&&r!==bb&&r!==xb&&r!==gb)break}return t}substringToPos(t){return this.str.substring(this.pos,this.pos=t)}eat(t){this.charCode()!==t&&this.error("Expect `"+String.fromCharCode(t)+"`"),this.pos++}peek(){return this.pos<this.str.length?this.str.charAt(this.pos++):""}error(t){throw new mb(t,this.str,this.pos)}}const Cb=9,wb=10,Rb=12,kb=13,Sb=32,fh=33,ed=35,Qd=38,ja=39,hh=40,Pb=41,mh=42,td=43,rd=44,Xd=45,ad=60,gh=62,uc=63,Ab=64,nn=91,nd=93,Da=123,Kd=124,Yd=125,Jd=8734,Qr=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),Zd={" ":1,"&&":2,"||":3,"|":4};function Fa(e){return e.substringToPos(e.findWsEnd(e.pos))}function yr(e){let t=e.pos;for(;t<e.str.length;t++){const r=e.str.charCodeAt(t);if(r>=128||Qr[r]===0)break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function Ba(e){let t=e.pos;for(;t<e.str.length;t++){const r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function Eb(e){const t=e.str.indexOf("'",e.pos+1);return t===-1&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function ep(e){let t=null,r=null;return e.eat(Da),t=Ba(e),e.charCode()===rd?(e.pos++,e.charCode()!==Yd&&(r=Ba(e))):r=t,e.eat(Yd),{min:Number(t),max:r?Number(r):0}}function qb(e){let t=null,r=!1;switch(e.charCode()){case mh:e.pos++,t={min:0,max:0};break;case td:e.pos++,t={min:1,max:0};break;case uc:e.pos++,t={min:0,max:1};break;case ed:e.pos++,r=!0,e.charCode()===Da?t=ep(e):e.charCode()===uc?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case Da:t=ep(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function xr(e,t){const r=qb(e);return r!==null?(r.term=t,e.charCode()===ed&&e.charCodeAt(e.pos-1)===td?xr(e,r):r):t}function Ou(e){const t=e.peek();return t===""?null:{type:"Token",value:t}}function Ob(e){let t;return e.eat(ad),e.eat(ja),t=yr(e),e.eat(ja),e.eat(gh),xr(e,{type:"Property",name:t})}function Mb(e){let t=null,r=null,a=1;return e.eat(nn),e.charCode()===Xd&&(e.peek(),a=-1),a==-1&&e.charCode()===Jd?e.peek():(t=a*Number(Ba(e)),Qr[e.charCode()]!==0&&(t+=yr(e))),Fa(e),e.eat(rd),Fa(e),e.charCode()===Jd?e.peek():(a=1,e.charCode()===Xd&&(e.peek(),a=-1),r=a*Number(Ba(e)),Qr[e.charCode()]!==0&&(r+=yr(e))),e.eat(nd),{type:"Range",min:t,max:r}}function Tb(e){let t,r=null;return e.eat(ad),t=yr(e),e.charCode()===hh&&e.nextCharCode()===Pb&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===nn&&(Fa(e),r=Mb(e)),e.eat(gh),xr(e,{type:"Type",name:t,opts:r})}function Lb(e){const t=yr(e);return e.charCode()===hh?(e.pos++,{type:"Function",name:t}):xr(e,{type:"Keyword",name:t})}function $b(e,t){function r(n,i){return{type:"Group",terms:n,combinator:i,disallowEmpty:!1,explicit:!1}}let a;for(t=Object.keys(t).sort((n,i)=>Zd[n]-Zd[i]);t.length>0;){a=t.shift();let n=0,i=0;for(;n<e.length;n++){const o=e[n];o.type==="Combinator"&&(o.value===a?(i===-1&&(i=n-1),e.splice(n,1),n--):(i!==-1&&n-i>1&&(e.splice(i,n-i,r(e.slice(i,n),a)),n=i+1),i=-1))}i!==-1&&t.length&&e.splice(i,n-i,r(e.slice(i,n),a))}return a}function vh(e){const t=[],r={};let a,n=null,i=e.pos;for(;a=Nb(e);)a.type!=="Spaces"&&(a.type==="Combinator"?((n===null||n.type==="Combinator")&&(e.pos=i,e.error("Unexpected combinator")),r[a.value]=!0):n!==null&&n.type!=="Combinator"&&(r[" "]=!0,t.push({type:"Combinator",value:" "})),t.push(a),n=a,i=e.pos);return n!==null&&n.type==="Combinator"&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:t,combinator:$b(t,r)||" ",disallowEmpty:!1,explicit:!1}}function Ib(e){let t;return e.eat(nn),t=vh(e),e.eat(nd),t.explicit=!0,e.charCode()===fh&&(e.pos++,t.disallowEmpty=!0)
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function WC(e){if(Array.isArray(e))return e}function QC(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Sm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Sm(e,t){if(e){if(typeof e=="string")return Sp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sp(e,t)}}function Sp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var sr=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],xc={entries:function(){return sr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=QC(sr),n;try{for(a.s();!(n=a.n()).done;){var i=Du(n.value,2),o=i[0],u=i[1];t.call(r,u,o,sr)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=sr.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!xc.get(t)},keys:function(){return sr.map(function(t){var r=Du(t,1),a=r[0];return a})},values:function(){return sr.map(function(t){var r=Du(t,2),a=r[1];return a})}},XC=(0,HC.default)(xc,xc.entries());on.default=XC;var ln={};Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var KC=YC(Yt);function YC(e){return e&&e.__esModule?e:{default:e}}function Fu(e,t){return e8(e)||ZC(e,t)||Pm(e,t)||JC()}function JC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ZC(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function e8(e){if(Array.isArray(e))return e}function t8(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Pm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Pm(e,t){if(e){if(typeof e=="string")return Pp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Pp(e,t)}}function Pp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var lr=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],_c={entries:function(){return lr},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=t8(lr),n;try{for(a.s();!(n=a.n()).done;){var i=Fu(n.value,2),o=i[0],u=i[1];t.call(r,u,o,lr)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=lr.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!_c.get(t)},keys:function(){return
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Br(e,t){return JA(e)||YA(e,t)||Am(e,t)||KA()}function KA(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Am(e,t){if(e){if(typeof e=="string")return Ap(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ap(e,t)}}function Ap(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function YA(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function JA(e){if(Array.isArray(e))return e}var Et=[].concat(UA.default,zA.default,GA.default,WA.default);Et.forEach(function(e){var t=Br(e,2),r=t[1],a=Cc(r.superClass),n;try{for(a.s();!(n=a.n()).done;){var i=n.value,o=Cc(i),u;try{var l=function(){var d=u.value,f=Et.find(function(U){var b=Br(U,1),R=b[0];return R===d});if(f)for(var y=f[1],_=0,O=Object.keys(y.props);_<O.length;_++){var B=O[_];Object.prototype.hasOwnProperty.call(r.props,B)||Object.assign(r.props,XA({},B,y.props[B]))}};for(o.s();!(u=o.n()).done;)l()}catch(s){o.e(s)}finally{o.f()}}}catch(s){a.e(s)}finally{a.f()}});var wc={entries:function(){return Et},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=Cc(Et),n;try{for(a.s();!(n=a.n()).done;){var i=Br(n.value,2),o=i[0],u=i[1];t.call(r,u,o,Et)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=Et.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!wc.get(t)},keys:function(){return Et.map(function(t){var r=Br(t,1),a=r[0];return a})},values:function(){return Et.map(function(t){var r=Br(t,2),a=r[1];return a})}},ZA=(0,QA.default)(wc,wc.entries());kr.default=ZA;var Ho={},ud={},Ep=Object.prototype.hasOwnProperty;function Rc(e,t){var r,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((a=e.length)===t.length)for(;a--&&Rc(e[a],t[a]););return a===-1}if(!r||typeof e=="object"){a=0;for(r in e)if(Ep.call(e,r)&&++a&&!Ep.call(t,r)||!(r in t)||!Rc(e[r],t[r]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}ud.dequal=Rc;Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var Em=ud,e9=Om(Yt),qm=Om(kr);function Om(e){return e&&e.__esModule?e:{default:e}}function Bu(e,t){return a9(e)||r9(e,t)||Mm(e,t)||t9()}function t9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function a9(e){if(Array.isArray(e))return e}function n9(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Mm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Mm(e,t){if(e){if(typeof e=="string")return qp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return qp(e,t)}}function qp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var qt=[],Op=qm.default.keys();for(var Vu=0;Vu<Op.length;Vu++){var Hu=Op[Vu],Uu=qm.default.get(Hu);if(Uu)for(var Mp=[].concat(Uu.baseConcepts,Uu.relatedConcepts),zu=0;zu<Mp.length;zu++){var Tp=Mp[zu];Tp.module==="HTML"&&function(){var e=Tp.concept;if(e){var t=qt.find(function(i){return(0,Em.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var a=!0,n=0;n<r.length;n++)if(r[n]===Hu){a=!1;break}a&&r.push(Hu),qt.push([e,r])}}()}}var kc={entries:function(){return qt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=n9(qt),n;try{for(a.s();!(n=a.n()).done;){var i=Bu(n.value,2),o=i[0],u=i[1];t.call(r,u,o,qt)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=qt.find(function(a){return t.name===a[0].name&&(0,Em.dequal)(t.attributes,a[0].attributes)});return r&&r[1]},has:function(t){return!!kc.get(t)},keys:function(){return qt.map(function(t){var r=Bu(t,1),a=r[0];return a})},values:function(){return qt.map(function(t){var r=Bu(t,2),a=r[1];return a})}},i9=(0,e9.default)(kc,kc.entries());Ho.default=i9;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var o9=Lm(Yt),Tm=Lm(kr);function Lm(e){return e&&e.__esModule?e:{default:e}}function Gu(e,t){return u9(e)||l9(e,t)||$m(e,t)||s9()}function s9(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l9(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function u9(e){if(Array.isArray(e))return e}function c9(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$m(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function $m(e,t){if(e){if(typeof e=="string")return Lp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lp(e,t)}}function Lp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var Ut=[],$p=Tm.default.keys();for(var Wu=0;Wu<$p.length;Wu++){var Ip=$p[Wu],Qu=Tm.default.get(Ip),Xu=[];if(Qu){for(var Np=[].concat(Qu.baseConcepts,Qu.relatedConcepts),Ku=0;Ku<Np.length;Ku++){var jp=Np[Ku];if(jp.module==="HTML"){var Dp=jp.concept;Dp!=null&&Xu.push(Dp)}}Xu.length>0&&Ut.push([Ip,Xu])}}var Sc={entries:function(){return Ut},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=c9(Ut),n;try{for(a.s();!(n=a.n()).done;){var i=Gu(n.value,2),o=i[0],u=i[1];t.call(r,u,o,Ut)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=Ut.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!Sc.get(t)},keys:function(){return Ut.map(function(t){var r=Gu(t,1),a=r[0];return a})},values:function(){return Ut.map(function(t){var r=Gu(t,2),a=r[1];return a})}},d9=(0,o9.default)(Sc,Sc.entries());Uo.default=d9;Object.defineProperty(nt,"__esModule",{value:!0});var ra=nt.roles=nt.roleElements=cd=nt.elementRoles=nt.dom=nt.aria=void 0,p9=aa(on),f9=aa(ln),h9=aa(kr),m9=aa(Ho),g9=aa(Uo);function aa(e){return e&&e.__esModule?e:{default:e}}var v9=p9.default;nt.aria=v9;var b9=f9.default;nt.dom=b9;var y9=h9.default;ra=nt.roles=y9;var x9=m9.default,cd=nt.elementRoles=x9,_9=g9.default;nt.roleElements=_9;var yt={},zo={},Sr={},Go={};Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;function C9(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var n=e[t];return t=t+1,{done:!1,value:n}}else return{done:!0}}};return r}var w9=C9;Go.default=w9;Object.defineProperty(Sr,"__esModule",{value:!0});Sr.default=S9;var R9=k9(Go);function k9(e){return e&&e.__esModule?e:{default:e}}function Pc(e){"@babel/helpers - typeof";return Pc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pc(e)}function S9(e,t){return typeof Symbol=="function"&&Pc(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:R9.default.bind(t)}),e}var Jt={},Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var P9={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},A9=P9;Wo.default=A9;var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var E9={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},q9=E9;Qo.default=q9;var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var O9={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},M9=O9;Xo.default=M9;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var T9={relatedConcepts:[],type:"structure"},L9=T9;Ko.default=L9;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var $9={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},I9=$9;Yo.default=I9;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var N9={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},j9=N9;Jo.default=j9;var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var D9={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},F9=D9;Zo.default=F9;var es={};Object.defineProperty(es,"__esModule",
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function RT(e){if(Array.isArray(e))return e}function kT(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Im(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Im(e,t){if(e){if(typeof e=="string")return Fp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Fp(e,t)}}function Fp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var ur=[["AbbrRole",oO.default],["AlertDialogRole",sO.default],["AlertRole",lO.default],["AnnotationRole",uO.default],["ApplicationRole",cO.default],["ArticleRole",dO.default],["AudioRole",pO.default],["BannerRole",fO.default],["BlockquoteRole",hO.default],["BusyIndicatorRole",mO.default],["ButtonRole",gO.default],["CanvasRole",vO.default],["CaptionRole",bO.default],["CellRole",yO.default],["CheckBoxRole",xO.default],["ColorWellRole",_O.default],["ColumnHeaderRole",CO.default],["ColumnRole",wO.default],["ComboBoxRole",RO.default],["ComplementaryRole",kO.default],["ContentInfoRole",SO.default],["DateRole",PO.default],["DateTimeRole",AO.default],["DefinitionRole",EO.default],["DescriptionListDetailRole",qO.default],["DescriptionListRole",OO.default],["DescriptionListTermRole",MO.default],["DetailsRole",TO.default],["DialogRole",LO.default],["DirectoryRole",$O.default],["DisclosureTriangleRole",IO.default],["DivRole",NO.default],["DocumentRole",jO.default],["EmbeddedObjectRole",DO.default],["FeedRole",FO.default],["FigcaptionRole",BO.default],["FigureRole",VO.default],["FooterRole",HO.default],["FormRole",UO.default],["GridRole",zO.default],["GroupRole",GO.default],["HeadingRole",WO.default],["IframePresentationalRole",QO.default],["IframeRole",XO.default],["IgnoredRole",KO.default],["ImageMapLinkRole",YO.default],["ImageMapRole",JO.default],["ImageRole",ZO.default],["InlineTextBoxRole",eM.default],["InputTimeRole",tM.default],["LabelRole",rM.default],["LegendRole",aM.default],["LineBreakRole",nM.default],["LinkRole",iM.default],["ListBoxOptionRole",oM.default],["ListBoxRole",sM.default],["ListItemRole",lM.default],["ListMarkerRole",uM.default],["ListRole",cM.default],["LogRole",dM.default],["MainRole",pM.default],["MarkRole",fM.default],["MarqueeRole",hM.default],["MathRole",mM.default],["MenuBarRole",gM.default],["MenuButtonRole",vM.default],["MenuItemRole",bM.default],["MenuItemCheckBoxRole",yM.default],["MenuItemRadioRole",xM.default],["MenuListOptionRole",_M.default],["MenuListPopupRole",CM.default],["MenuRole",wM.default],["MeterRole",RM.default],["NavigationRole",kM.default],["NoneRole",SM.default],["NoteRole",PM.default],["OutlineRole",AM.default],["ParagraphRole",EM.default],["PopUpButtonRole",qM.default],["PreRole",OM.default],["PresentationalRole",MM.default],["ProgressIndicatorRole",TM.default],["RadioButtonRole",LM.default],["RadioGroupRole",$M.default],["RegionRole",IM.default],["RootWebAreaRole",NM.default],["RowHeaderRole",jM.default],["RowRole",DM.default],["RubyRole",FM.default],["RulerRole",BM.default],["ScrollAreaRole",VM.default],["ScrollBarRole",HM.default],["SeamlessWebAreaRole",UM.default],["SearchRole",zM.default],["SearchBoxRole",GM.default],["SliderRole",WM.default],["SliderThumbRole",QM.default],["SpinButtonRole",XM.default],["SpinButtonPartRole",KM.default],["SplitterRole",YM.default],["StaticTextRole",JM.default],["StatusRole",ZM.default],["SVGRootRole",eT.default],["SwitchRole",tT.default],["TabGroupRole",rT.default],["TabRole",aT.default],["TableHeaderContainerRole",nT.default],["TableRole",iT.default],["TabListRole",oT.default],["TabPanelRole",sT.default],["TermRole",lT.default],["TextAreaRole",uT.default],["TextFieldRole",cT.default],["TimeRole",dT.default],["TimerRole",pT.default],["ToggleButtonRole",fT.default],["ToolbarRole",hT.default],["TreeRole",mT.default],["TreeGridRole",gT.default],["TreeItemRole",vT.default],["Us
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function OT(e){if(Array.isArray(e))return e}function jm(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Dm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Dm(e,t){if(e){if(typeof e=="string")return Bp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bp(e,t)}}function Bp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var ct=[],ga=jm(AT.default.entries()),Vp;try{var MT=function(){var t=Vr(Vp.value,2),r=t[0],a=t[1],n=a.relatedConcepts;Array.isArray(n)&&n.forEach(function(i){if(i.module==="HTML"){var o=i.concept;if(o){var u=ct.findIndex(function(l){var s=Vr(l,1),d=s[0];return d===r});u===-1&&(ct.push([r,[]]),u=ct.length-1),ct[u][1].push(o)}}})};for(ga.s();!(Vp=ga.n()).done;)MT()}catch(e){ga.e(e)}finally{ga.f()}var Ec={entries:function(){return ct},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=jm(ct),n;try{for(a.s();!(n=a.n()).done;){var i=Vr(n.value,2),o=i[0],u=i[1];t.call(r,u,o,ct)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=ct.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!Ec.get(t)},keys:function(){return ct.map(function(t){var r=Vr(t,1),a=r[0];return a})},values:function(){return ct.map(function(t){var r=Vr(t,2),a=r[1];return a})}},TT=(0,PT.default)(Ec,Ec.entries());zo.default=TT;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var LT=Fm(Sr),$T=Fm(Jt);function Fm(e){return e&&e.__esModule?e:{default:e}}function Hr(e,t){return jT(e)||NT(e,t)||Vm(e,t)||IT()}function IT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function jT(e){if(Array.isArray(e))return e}function Bm(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function Vm(e,t){if(e){if(typeof e=="string")return Hp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hp(e,t)}}function Hp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var dt=[],va=Bm($T.default.entries()),Up;try{var DT=function(){var t=Hr(Up.value,2),r=t[0],a=t[1],n=a.relatedConcepts;Array.isArray(n)&&n.forEach(function(i){if(i.module==="ARIA"){var o=i.concept;if(o){var u=dt.findIndex(function(l){var s=Hr(l,1),d=s[0];return d===r});u===-1&&(dt.push([r,[]]),u=dt.length-1),dt[u][1].push(o)}}})};for(va.s();!(Up=va.n()).done;)DT()}catch(e){va.e(e)}finally{va.f()}var qc={entries:function(){return dt},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=Bm(dt),n;try{for(a.s();!(n=a.n()).done;){var i=Hr(n.value,2),o=i[0],u=i[1];t.call(r,u,o,dt)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=dt.find(function(a){return a[0]===t});return r&&r[1]},has:function(t){return!!qc.get(t)},keys:function(){return dt.map(function(t){var r=Hr(t,1),a=r[0];return a})},values:function(){return dt.map(function(t){var r=Hr(t,2),a=r[1];return a})}},FT=(0,LT.default)(qc,qc.entries());uu.default=FT;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var BT=ud,VT=Hm(Jt),HT=Hm(Sr);function Hm(e){return e&&e.__esModule?e:{default:e}}function Aa(e,t){return GT(e)||zT(e,t)||zm(e,t)||UT()}function UT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function zT(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var a=[],n=!0,i=!1,o,u;try{for(r=r.call(e);!(n=(o=r.next()).done)&&(a.push(o.value),!(t&&a.length===t));n=!0);}catch(l){i=!0,u=l}finally{try{!n&&r.return!=null&&r.return()}finally{if(i)throw u}}return a}}function GT(e){if(Array.isArray(e))return e}function Um(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=zm(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(s){throw s},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,o=!1,u;return{s:function(){r=r.call(e)},n:function(){var s=r.next();return i=s.done,s},e:function(s){o=!0,u=s},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(o)throw u}}}}function zm(e,t){if(e){if(typeof e=="string")return zp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zp(e,t)}}function zp(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}var Xe=[],ba=Um(VT.default.entries()),Gp;try{var WT=function(){var t=Aa(Gp.value,2),r=t[0],a=t[1],n=a.relatedConcepts;Array.isArray(n)&&n.forEach(function(i){if(i.module==="HTML"){var o=i.concept;if(o!=null){for(var u=JSON.stringify(o),l,s=0;s<Xe.length;s++){var d=Xe[s][0];if(JSON.stringify(d)===u){l=Xe[s][1];break}}Array.isArray(l)||(l=[]);var f=l.findIndex(function(y){return y===r});f===-1&&l.push(r),s<Xe.length?Xe.splice(s,1,[o,l]):Xe.push([o,l])}}})};for(ba.s();!(Gp=ba.n()).done;)WT()}catch(e){ba.e(e)}finally{ba.f()}var Oc={entries:function(){return Xe},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=Um(Xe),n;try{for(a.s();!(n=a.n()).done;){var i=Aa(n.value,2),o=i[0],u=i[1];t.call(r,u,o,Xe)}}catch(l){a.e(l)}finally{a.f()}},get:function(t){var r=Xe.find(function(a){return t.name===a[0].name&&(0,BT.dequal)(t.attributes,a[0].attributes)});return r&&r[1]},has:function(t){return!!Oc.get(t)},keys:function(){return Xe.map(function(t){var r=Aa(t,1),a=r[0];return a})},values:function(){return Xe.map(function(t){var r=Aa(t,2),a=r[1];return a})}},QT=(0,HT.default)(Oc,Oc.entries());cu.default=QT;Object.defineProperty(yt,"__esModule",{value:!0});var dd=yt.elementAXObjects=Xr=yt.AXObjects=yt.AXObjectRoles=yt.AXObjectElements=void 0,XT=du(zo),KT=du(uu),YT=du(Jt),JT=du(cu);function du(e){return e&&e.__esModule?e:{default:e}}var ZT=XT.default;yt.AXObjectElements=ZT;var e7=KT.default;yt.AXObjectRoles=e7;var t7=YT.default,Xr=yt.AXObjects=t7,r7=JT.default;dd=yt.elementAXObjects=r7;const Gm=ra.keys(),a7=new Set(Gm.filter(e=>ra.get(e).abstract)),Wm=Gm.filter(e=>!a7.has(e)),Qm=new Set(Wm.filter(e=>{const t=ra.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t.superClass.some(r=>r.includes("widget"))}).concat("progressbar")),n7=new Set(Wm.filter(e=>!Qm.has(e)&&e!=="generic"));cd.entries().forEach(([e,t])=>{[...t].every(r=>r!=="generic"&&Qm.has(r))});cd.entries().forEach(([e,t])=>{[...t].every(r=>n7.has(r))});const i7=new Set([...Xr.keys()].filter(e=>Xr.get(e).type==="widget")),o7=new Set([...Xr.keys()].filter(e=>["windows","structure"].includes(Xr.get(e).type)));dd.entries().forEach(([e,t])=>{[...t].every(r=>i7.has(r))});dd.entries().forEach(([e,t])=>{[...t].every(r=>o7.has(r))});const s7="activedescendant atomic autocomplete busy checked colcount colindex colspan controls current describedby description details disabled dropeffect errormessage expanded flowto grabbed haspopup hidden invalid keyshortcuts label labelledby level live modal multiline multiselectable orientation owns placeholder posinset pressed readonly relevant required roledescription rowcount rowindex rowspan selected setsize sort valuemax valuemin valuenow valuetext".split(" ");new Set(s7);const l7=ra.keys();new Set(l7);Vf`true`;Vf`false`;const u7="accent-height accumulate additive alignment-baseline allowReorder alphabetic amplitude arabic-form ascent attributeName attributeType autoReverse azimuth baseFrequency baseline-shift baseProfile bbox begin bias by calcMode cap-height class clip clipPathUnits clip-path clip-rule color color-interpolation color-interpolation-filters color-profile color-rendering contentScriptType contentStyleType cursor cx cy d decelerate descent diffuseConstant direction display divisor dominant-baseline dur dx dy edgeMode elevation enable-background end exponent externalResourcesRequired fill fill-opacity fill-rule filt
Did you specify these with the most recent transformation maps first?`);let w=O(C,R,"",0);for(let I=g.length-1;I>=0;I--)w=l(g[I],[w]);return w}function O(b,R,g,C){const{resolvedSources:w,sourcesContent:I,ignoreList:E}=b,p=C+1,h=w.map((P,x)=>{const Z={importer:g,depth:p,source:P||"",content:void 0,ignore:void 0},me=R(Z.source,Z),{source:Te,content:ge,ignore:Pe}=Z;if(me)return O(new r.TraceMap(me,Te),R,Te,p);const T=ge!==void 0?ge:I?I[x]:null,L=Pe!==void 0?Pe:E?E.includes(x):!1;return s(Te,T,L)});return l(b,h)}class B{constructor(R,g){const C=g.decodedMappings?a.toDecodedMap(R):a.toEncodedMap(R);this.version=C.version,this.file=C.file,this.mappings=C.mappings,this.names=C.names,this.ignoreList=C.ignoreList,this.sourceRoot=C.sourceRoot,this.sources=C.sources,g.excludeContent||(this.sourcesContent=C.sourcesContent)}toString(){return JSON.stringify(this)}}function U(b,R,g){const C=typeof g=="object"?g:{excludeContent:!!g,decodedMappings:!1},w=_(b,R);return new B(d(w),C)}return U})})(d7);function m7(e){let t,r,a;const n=[e[2]];var i=e[1];function o(u,l){let s={};for(let d=0;d<n.length;d+=1)s=fr(s,n[d]);return l!==void 0&&l&4&&(s=fr(s,mr(n,[gr(u[2])]))),{props:s}}return i&&(t=hr(i,o(e)),e[8](t)),{c(){t&&Wt(t.$$.fragment),r=Mt()},l(u){t&&Ua(t.$$.fragment,u),r=Mt()},m(u,l){t&&Qt(t,u,l),za(u,r,l),a=!0},p(u,l){if(l&2&&i!==(i=u[1])){if(t){Ha();const s=t;xt(s.$$.fragment,1,0,()=>{Xt(s,1)}),Va()}i?(t=hr(i,o(u,l)),u[8](t),Wt(t.$$.fragment),_t(t.$$.fragment,1),Qt(t,r.parentNode,r)):t=null}else if(i){const s=l&4?mr(n,[gr(u[2])]):{};t.$set(s)}},i(u){a||(t&&_t(t.$$.fragment,u),a=!0)},o(u){t&&xt(t.$$.fragment,u),a=!1},d(u){u&&Ga(r),e[8](null),t&&Xt(t,u)}}}function g7(e){let t,r,a;const n=[e[0].props];var i=e[0].Component;function o(u,l){let s={$$slots:{default:[v7]},$$scope:{ctx:u}};for(let d=0;d<n.length;d+=1)s=fr(s,n[d]);return l!==void 0&&l&1&&(s=fr(s,mr(n,[gr(u[0].props)]))),{props:s}}return i&&(t=hr(i,o(e)),e[7](t)),{c(){t&&Wt(t.$$.fragment),r=Mt()},l(u){t&&Ua(t.$$.fragment,u),r=Mt()},m(u,l){t&&Qt(t,u,l),za(u,r,l),a=!0},p(u,l){if(l&1&&i!==(i=u[0].Component)){if(t){Ha();const s=t;xt(s.$$.fragment,1,0,()=>{Xt(s,1)}),Va()}i?(t=hr(i,o(u,l)),u[7](t),Wt(t.$$.fragment),_t(t.$$.fragment,1),Qt(t,r.parentNode,r)):t=null}else if(i){const s=l&1?mr(n,[gr(u[0].props)]):{};l&1038&&(s.$$scope={dirty:l,ctx:u}),t.$set(s)}},i(u){a||(t&&_t(t.$$.fragment,u),a=!0)},o(u){t&&xt(t.$$.fragment,u),a=!1},d(u){u&&Ga(r),e[7](null),t&&Xt(t,u)}}}function v7(e){let t,r,a;const n=[e[2]];var i=e[1];function o(u,l){let s={};for(let d=0;d<n.length;d+=1)s=fr(s,n[d]);return l!==void 0&&l&4&&(s=fr(s,mr(n,[gr(u[2])]))),{props:s}}return i&&(t=hr(i,o(e)),e[6](t)),{c(){t&&Wt(t.$$.fragment),r=Mt()},l(u){t&&Ua(t.$$.fragment,u),r=Mt()},m(u,l){t&&Qt(t,u,l),za(u,r,l),a=!0},p(u,l){if(l&2&&i!==(i=u[1])){if(t){Ha();const s=t;xt(s.$$.fragment,1,0,()=>{Xt(s,1)}),Va()}i?(t=hr(i,o(u,l)),u[6](t),Wt(t.$$.fragment),_t(t.$$.fragment,1),Qt(t,r.parentNode,r)):t=null}else if(i){const s=l&4?mr(n,[gr(u[2])]):{};t.$set(s)}},i(u){a||(t&&_t(t.$$.fragment,u),a=!0)},o(u){t&&xt(t.$$.fragment,u),a=!1},d(u){u&&Ga(r),e[6](null),t&&Xt(t,u)}}}function b7(e){let t,r,a,n;const i=[g7,m7],o=[];function u(l,s){return l[0]?0:1}return t=u(e),r=o[t]=i[t](e),{c(){r.c(),a=Mt()},l(l){r.l(l),a=Mt()},m(l,s){o[t].m(l,s),za(l,a,s),n=!0},p(l,[s]){let d=t;t=u(l),t===d?o[t].p(l,s):(Ha(),xt(o[d],1,1,()=>{o[d]=null}),Va(),r=o[t],r?r.p(l,s):(r=o[t]=i[t](l),r.c()),_t(r,1),r.m(a.parentNode,a))},i(l){n||(_t(r),n=!0)},o(l){xt(r),n=!1},d(l){l&&Ga(a),o[t].d(l)}}}function y7(e,t,r){let{decorator:a=void 0}=t,{Component:n}=t,{props:i={}}=t,{on:o=void 0}=t,u,l;const s=rf[0];o&&s<5&&eg(()=>{Object.entries(o).forEach(([_,O])=>{var U;const B=u??l;(U=B==null?void 0:B.$on)==null||U.call(B,_,O)})});function d(_){gu[_?"unshift":"push"](()=>{u=_,r(3,u)})}function f(_){gu[_?"unshift":"push"](()=>{l=_,r(4,l)})}function y(_){gu[_?"unshift":"push"](()=>{u=_,r(3,u)})}return e.$$set=_=>{"decorator"in _&&r(0,a=_.decorator),"Component"in _&&r(1,n=_.Component),"props"in _&&r(2,i=_.props),"on"in _&&r(5,o=_.on)},[a,n,i,u,l,o,d,f,y]}class pd extends Zp{constr
Did you forget to return the Svelte component configuration from the story?
Use "() => ({ Component: YourComponent, props: {} })"
when defining the story.
`}),e.$$set=O=>{"name"in O&&r(4,a=O.name),"title"in O&&r(5,n=O.title),"storyFn"in O&&r(6,i=O.storyFn),"showError"in O&&r(7,o=O.showError),"storyContext"in O&&r(8,u=O.storyContext)},e.$$.update=()=>{e.$$.dirty&64&&r(0,{Component:l,props:s={},on:d}=y(i),l,(r(1,s),r(6,i)),(r(2,d),r(6,i)))},[l,s,d,_,a,n,i,o,u]}class fd extends Zp{constructor(t){super(),ef(this,t,_7,x7,tf,{name:4,title:5,storyFn:6,showError:7,storyContext:8})}}fd.__docgen={version:3,name:"PreviewRender.svelte",data:[{visibility:"public",description:null,keywords:[],name:"name",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"title",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"storyFn",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"showError",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"storyContext",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}}],computed:[],methods:[],components:[],description:null,keywords:[],events:[],slots:[],refs:[]};const C7=e=>$state(e),{RESET_STORY_ARGS:w7}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:R7,sanitizeStoryContextUpdate:k7}=__STORYBOOK_MODULE_PREVIEW_API__;var S7={};ag(S7,{applyDecorators:()=>M7,mount:()=>T7,parameters:()=>L7,render:()=>O7,renderToCanvas:()=>A7});var P7=Number(rf[0])<=4;function A7(e,t){return P7?E7(e,t):q7(e,t)}var Kr=new Set;R7.getChannel().on(w7,({storyId:e})=>{Kr.add(e)});var Or=new Map;function E7({storyFn:e,title:t,name:r,showMain:a,showError:n,storyContext:i,forceRemount:o},u){function l(f){Or.has(f)&&(Or.get(f).$destroy(),Or.delete(f),f.innerHTML="")}let s=Or.get(u),d=o;if(Kr.has(i.id)&&(d=!0,Kr.delete(i.id)),d&&l(u),!s||d){let f=new fd({target:u,props:{svelteVersion:4,storyFn:e,storyContext:i,name:r,title:t,showError:n}});Or.set(u,f)}else s.$set({storyFn:e,storyContext:i,name:r,title:t,showError:n});return a(),()=>{l(u)}}var _a=new Map;function q7({storyFn:e,title:t,name:r,showMain:a,showError:n,storyContext:i,forceRemount:o},u){function l(f){let{mountedComponent:y}=_a.get(f)??{};y&&((void 0)(y),_a.delete(f))}let s=_a.get(u),d=o;if(Kr.has(i.id)&&(d=!0,Kr.delete(i.id)),d&&l(u),!s||d){let f=C7({storyFn:e,storyContext:i,name:r,title:t,showError:n,svelteVersion:5}),y=(void 0)(fd,{target:u,props:f});_a.set(u,{mountedComponent:y,props:f})}else Object.assign(s.props,{storyFn:e,storyContext:i,name:r,title:t,showError:n});return a(),()=>{l(u)}}var O7=(e,t)=>{let{id:r,component:a}=t;if(!a)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return{Component:a,props:e}};function Yp(e){return e&&typeof e=="object"&&"default"in e?e.default:e}function Jp(e,t,r){let a=Yp(t),n=r&&Yp(r),i;return!a||Object.keys(a).length===0?i={Component:e.component}:a.Component?i=a:i={Component:a},n?{Component:pd,props:{...n,decorator:i}}:i}function M7(e,t){return t.reduce((r,a)=>n=>{let i,o=a(u=>(i=r({...n,...k7(u)}),i),n);return i||(i=r(n)),o===i?i:Jp(n,o,i)},r=>Jp(r,e(r)))}var T7=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>({Component:t,props:r&&"props"in r?r==null?void 0:r.props:r})),await e.renderToCanvas(),e.canvas),L7={renderer:"svelte"};export{M7 as applyDecorators,T7 as mount,L7 as parameters,O7 as render,A7 as renderToCanvas};
2024-08-12 15:09:11 +02:00
//# sourceMappingURL=entry-preview-Ch8xqxU5.js.map