Anvil/assets/entry-preview-ynyT2Nvg.js

45 lines
493 KiB
JavaScript
Raw Normal View History

2024-06-16 17:30:30 +02:00
import{a as Zp,o as fr}from"./utils-AUSSiI9x.js";import{S as ef,i as tf,t as xt,e as Va,a as _t,g as Ha,p as gu,c as Wt,b as Ua,m as Qt,d as Xt,V as Jm}from"./index-BYiPtpSv.js";import{e as Tt,i as za,d as Ga,o as Zm,S as hr}from"./lifecycle-CTLfn-qA.js";import{g as mr,a as gr}from"./spread-CgU5AtxT.js";import{d as eg}from"./index-DrFu-skq.js";import{c as _r}from"./_commonjsHelpers-Cpj98o6Y.js";var tg=Object.defineProperty,rg=(e,t)=>{for(var r in t)tg(e,r,{get:t[r],enumerable:!0})};function ag(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[9](t)),{c(){t&&Wt(t.$$.fragment),r=Tt()},l(u){t&&Ua(t.$$.fragment,u),r=Tt()},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[9](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[9](null),t&&Xt(t,u)}}}function ng(e){let t,r,a;const n=[e[0].props];var i=e[0].Component;function o(u,l){let s={$$slots:{default:[ig]},$$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[8](t)),{c(){t&&Wt(t.$$.fragment),r=Tt()},l(u){t&&Ua(t.$$.fragment,u),r=Tt()},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[8](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[8](null),t&&Xt(t,u)}}}function ig(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[7](t)),{c(){t&&Wt(t.$$.fragment),r=Tt()},l(u){t&&Ua(t.$$.fragment,u),r=Tt()},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[7](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[7](null),t&&Xt(t,u)}}}function og(e){let t,r,a,n;const i=[ng,ag],o=[];function u(l,s){return l[0]?0:1}return t=u(e),r=o[t]=i[t](e),{c(){r.c(),a=Tt()},l(l){r.l(l),a=Tt()},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 sg(e,t,r){let{svelteVersion:a}=t,{decorator:n=void 0}=t,{Component:i}=t,{props:o={}}=t,{on:u=void 0}=t,l,s;u&&a<5&&Zm(()=>{Object.entries(u).forEach(([_,$])=>{var V;const L=l??s;(V=L==null?void 0:L.$on)==null||V.call(L,_,$)})});function d(_){gu[_?"unshift":"push"](()=>{l=_,r(3,l)})}function p(_){gu[_?"unshift":"push"](()=>{s=_,r(4,s)})}function b(_){gu[_?"unshift":"push"](()=>{l=_,r(3,l)})}return e.$$set=_=>{"svelteVersion"in _&&r(5,a=_.svelteVersion),"decorator"in _&&r(0,n=_.decorator),"Component"in _&&r(1,i=_.Component),"props"in _&&r(2,o=_.props),"on"in _&&r(6,u=_.on)},[n,i,o,l,s,a,u,d,p,b]}class Mc extends ef{constructor(t){super(),tf(this,t,sg,og,Zp,{svelteVersion:5,decorator:0,Component:1,props:2,on:6})}}Mc.__docgen={version:3,name:"SlotDecorator.svelte",data:[{visibility:"public",description:null,keywords:[],name:"svelteVersion",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public",description:null,keywords:[],name:"decorator",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{visibility:"public"
Did you forget to return the Svelte component configuration from the story?
Use "() => ({ Component: YourComponent, props: {} })"
when defining the story.
`}),e.$$set=L=>{"svelteVersion"in L&&r(0,a=L.svelteVersion),"name"in L&&r(5,n=L.name),"title"in L&&r(6,i=L.title),"storyFn"in L&&r(7,o=L.storyFn),"showError"in L&&r(8,u=L.showError),"storyContext"in L&&r(9,l=L.storyContext)},e.$$.update=()=>{e.$$.dirty&128&&r(1,{Component:s,props:d={},on:p}=_(o),s,(r(2,d),r(7,o)),(r(3,p),r(7,o)))},[a,s,d,p,$,n,i,o,u,l]}class Lc extends ef{constructor(t){super(),tf(this,t,ug,lg,Zp,{svelteVersion:0,name:5,title:6,storyFn:7,showError:8,storyContext:9})}}Lc.__docgen={version:3,name:"PreviewRender.svelte",data:[{visibility:"public",description:null,keywords:[],name:"svelteVersion",kind:"let",static:!1,readonly:!1,type:{kind:"type",text:"any",type:"any"}},{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 cg=e=>$state(e);var dg=[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],rf=[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],pg="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-<2D><>
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=Cg(t,t.onComment)),t}function Cg(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,$c=4,uf=8,cf=16,df=32,Nc=64,pf=128,Jr=256,jc=zr|wr|Jr;function Dc(e,t){return wr|(e?$c:0)|(t?uf:0)}var Ea=0,Fc=1,kt=2,ff=3,hf=4,mf=5,Re=function(t,r,a){this.options=t=_g(t),this.sourceFile=t.sourceFile,this.keywords=Ot(fg[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&uf)>0&&!this.currentVarScope().inClassFieldInit};ht.inAsync.get=function(){return(this.currentVarScope().flags&$c)>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&$c)>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&Nc)>0||r||this.options.allowSuperOutsideMethod};ht.allowDirectSuper.get=function(){return(this.currentThisScope().flags&pf)>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 Ie=Re.prototype,wg=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/s;Ie.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Qe.lastIndex=e,e+=Qe.exec(this.input)[0].length;var t=wg.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++}};Ie.eat=function(e){return this.type===e?(this.next(),!0):!1};Ie.isContextual=function(e){return this.type===c.name&&this.value===e&&!this.containsEsc};Ie.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};Ie.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};Ie.canInsertSemicolon=function(){return this.type===c.eof||this.type===c.braceR||Ze.test(this.input.slice(this.lastTokEnd,this.start))};Ie.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Ie.semicolon=function(){!this.eat(c.semi)&&!this.insertSemicolon()&&this.unexpected()};Ie.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,
`),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")};H.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")};H.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))};H.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")};H.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")};H.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")};H.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()};H.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")};H.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};H.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 Mt(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+=Mt(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=Ic[e]),this.finishToken(t,e)};var Wg="8.12.0";Re.acorn={Parser:Re,version:Wg,defaultOptions:ec,Position:Ur,SourceLocation:Wa,getLineInfo:lf,Node:Xa,TokenType:te,tokTypes:c,keywordTypes:Ic,TokContext:rt,tokContexts:fe,isIdentifierChar:vr,isIdentifierStart:Ct,Token:Vc,isNewLine:Cr,lineBreak:Ze,lineBreakG:vg,nonASCIIwhitespace:of};function Qg(e,t,r){return Re.parseExpressionAt(e,t,r)}class Xg{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 Kg extends Xg{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 Yg(e,{enter:t,leave:r}){return new Kg(t,r).visit(e,null)}const ac=Math.round(Math.random()*1e20).toString(36),lt=new RegExp(`_${ac}_(?:(\\d+)|(AT)|(HASH))_(\\w+)?`,"g"),Df=(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 Hc(){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 y=0;y<i.length;y++){const h=i.charCodeAt(y);o[y]=h,u[h]=y}const l=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let h="";for(let w=0;w<y.length;w++)h+=String.fromCharCode(y[w]);return h}};function s(y){const h=new Int32Array(5),w=[];let C=0;do{const A=d(y,C),N=[];let P=!0,f=0;h[0]=0;for(let m=C;m<A;m++){let S;m=p(y,m,h,0);const x=h[0];x<f&&(P=!1),f=x,b(y,m,A)?(m=p(y,m,h,1),m=p(y,m,h,2),m=p(y,m,h,3),b(y,m,A)?(m=p(y,m,h,4),S=[x,h[1],h[2],h[3],h[4]]):S=[x,h[1],h[2],h[3]]):S=[x],N.push(S)}P||_(N),w.push(N),C=A+1}while(C<=y.length);return w}function d(y,h){const w=y.indexOf(";",h);return w===-1?y.length:w}function p(y,h,w,C){let A=0,N=0,P=0;do{const m=y.charCodeAt(h++);P=u[m],A|=(P&31)<<N,N+=5}while(P&32);const f=A&1;return A>>>=1,f&&(A=-2147483648|-A),w[C]+=A,h}function b(y,h,w){return h>=w?!1:y.charCodeAt(h)!==44}function _(y){y.sort($)}function $(y,h){return y[0]-h[0]}function L(y){const h=new Int32Array(5),w=1024*16,C=w-36,A=new Uint8Array(w),N=A.subarray(0,C);let P=0,f="";for(let m=0;m<y.length;m++){const S=y[m];if(m>0&&(P===w&&(f+=l.decode(A),P=0),A[P++]=59),S.length!==0){h[0]=0;for(let x=0;x<S.length;x++){const ae=S[x];P>C&&(f+=l.decode(N),A.copyWithin(0,C,P),P-=C),x>0&&(A[P++]=44),P=V(A,P,h,ae,0),ae.length!==1&&(P=V(A,P,h,ae,1),P=V(A,P,h,ae,2),P=V(A,P,h,ae,3),ae.length!==4&&(P=V(A,P,h,ae,4)))}}}return f+l.decode(A.subarray(0,P))}function V(y,h,w,C,A){const N=C[A];let P=N-w[A];w[A]=N,P=P<0?-P<<1|1:P<<1;do{let f=P&31;P>>>=5,P>0&&(f|=32),y[h++]=o[f]}while(P>0);return h}r.decode=s,r.encode=L,Object.defineProperty(r,"__esModule",{value:!0})})}(la,la.exports)),la.exports}Hc();const Jg={"@":"AT","#":"HASH"},Zg=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}_${Jg[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},Ff=(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)){Ff(a.key,t);continue}t.push(a)}}return t},Tr=(e,t)=>{for(let r=0;r<e.length;r+=1){const a=e[r];if(a!==zt){if(Array.isArray(a)){Tr(a,t);continue}t.push(a)}}return t},zt={type:"Empty"},ev=(e,t)=>{const{onComment:r}=Df(e,t);return{ecmaVersion:2022,sourceType:"module",allowAwaitOutsideFunction:!0,allowImportExportEverywhere:!0,allowReturnOutsideFunction:!0,onComment:r}},tv=(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}=Df(a,e);return Yg(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:"Lite
${e}`),t}const Ca=0,q=1,W=2,Ce=3,ce=4,gt=5,Ya=6,Te=7,je=8,z=9,B=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,av=0;function Se(e){return e>=48&&e<=57}function Lt(e){return Se(e)||e>=65&&e<=70||e>=97&&e<=102}function Uc(e){return e>=65&&e<=90}function nv(e){return e>=97&&e<=122}function iv(e){return Uc(e)||nv(e)}function ov(e){return e>=128}function Ma(e){return iv(e)||ov(e)||e===95}function Vf(e){return Ma(e)||Se(e)||e===45}function sv(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===av)}function wa(e,t,r){return e===45?Ma(t)||t===45||ft(t,r):Ma(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 Hf(e){return e===65279||e===65534?1:0}const ic=new Array(128),lv=128,Ra=130,Uf=131,zc=132,zf=133;for(let e=0;e<ic.length;e++)ic[e]=Kt(e)&&Ra||Se(e)&&Uf||Ma(e)&&zc||sv(e)&&zf||e||lv;function _u(e){return e<128?ic[e]:zc}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 Uc(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(Uc(o)&&(o=o|32),o!==i)return!1}return!0}function uv(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(!Vf(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 Gf(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 Wf=["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"],cv=16*1024;function Ia(e=null,t){return e===null||e.length<t?new Uint32Array(Math.max(t+1024,cv)):e}const Ad=10,dv=12,Ed=13;function qd(e){const t=e.source,r=t.length,a=t.length>0?Hf(t.charCodeAt(0)):0,n=Ia(e.lines,r),i=Ia(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===dv)&&(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 pv{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,fv=new Map([[W,Q],[he,Q],[Ve,ot],[Ae,Ye]]);class hv{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,Td=" ";function Md({source:e,line:t,column:r},a){function n(d,p){return i.slice(d,p).map((b,_)=>String(d+_+1).padStart(l)+" |"+b).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+=(Td.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,Td),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 Md({source:t,line:a,column:n},isNaN(o)?0:o)},get formattedMessage(){return`Parse error: ${e}
`+Md({source:t,line:a,column:n},2)}})}function mv(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 Id=()=>{},gv=33,vv=35,ku=59,$d=123,Nd=0;function bv(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 yv(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]=bv(e.parseContext[r]);break}return{config:t,...t,...t.node}}function xv(e){let t="",r="<unknown>",a=!1,n=Id,i=!1;const o=new pv,u=Object.assign(new hv,yv(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:mv,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(s){return s===$d?1:0},consumeUntilLeftCurlyBracketOrSemicolon(s){return s===$d||s===ku?1:0},consumeUntilExclamationMarkOrSemicolon(s){return s===gv||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 p=this.tokenIndex;try{return s.call(this)}catch(b){if(i)throw b;const _=d.call(this,p);return i=!0,n(b,_),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,p){return Gr(t,s,d,p)},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=Wf[s].slice(0,-6).replace(/-/g," ").replace(/^./,_=>_.toUpperCase());let p=`${/[[\](){}]/.test(d)?`"${d}"`:d} is expected`,b=this.tokenStart;switch(s){case q:this.tokenType===W||this.tokenType===Te?(b=this.tokenEnd-1,p="Identifier is expected but function found"):p="Identifier is expected";break;case ce:this.isDelim(vv)&&(this.next(),b++,p="Name is expected");break;case ve:this.tokenType===B&&(b=this.tokenEnd,p="Percent sign is expected");break}this.error(p,b)}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),p=this.getLastListNode(s);return o.getLocationRange(d!==null?d.loc.start.offset-o.startOffset:this.tokenStart,p!==null?p.loc.end.offset-o.startOffset:this.tokenStart,r)}return null},error(s,d){const p=typeof d<"u"&&d<t.length?o.getLocation(d):this.eof?o.getLocation(uv(t,t.length-1)):o.getLocation(this.tokenStart);throw new Ld(s||"Unexpected input",t,p.offset,p.line,p.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:Id,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:p="default",onComment:b}=d;if(!(p 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=Sv(o)),a.mode in Fd&&(o.tokenBefore=Fd[a.mode]));const u={node:l=>o.node(l),children:Tv,token:(l,s)=>o.token(l,s),tokenize:Mv};return o.node(r),o.result()}}function Iv(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:Yc}=Object.prototype,Mr=function(){};function Bd(e){return typeof e=="function"?e:Mr}function Vd(e,t){return function(r,a,n){r.type===t&&e.call(this,r,a,n)}}function $v(e,t){const r=t.structure,a=[];for(const n in r){if(Yc.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 Nv(e){const t={};for(const r in e.node)if(Yc.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]=$v(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 p=i[d.name];if(!d.nullable||p){if(d.type==="list"){if(t?p.reduceRight(l,!1):p.reduce(l,!1))return!0}else if(u(p))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 jv(e){const t=Nv(e),r={},a={},n=Symbol("break-walk"),i=Symbol("skip-node");for(const s in t)Yc.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 p(y,h,w){const C=b.call(V,y,h,w);return C===n?!0:C===i?!1:!!($.hasOwnProperty(y.type)&&$[y.type](y,V,p,L)||_.call(V,y,h,w)===n)}let b=Mr,_=Mr,$=r,L=(y,h,w,C)=>y||p(h,w,C);const V={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")b=d;else if(d&&(b=Bd(d.enter),_=Bd(d.leave),d.reverse&&($=a),d.visit)){if(o.hasOwnProperty(d.visit))$=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(", ")+")");b=Vd(b,d.visit),_=Vd(_,d.visit)}if(b===Mr&&_===Mr)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");p(s)};return l.break=n,l.skip=i,l.find=function(s,d){let p=null;return l(s,function(b,_,$){if(d.call(this,b,_,$))return p=b,n}),p},l.findLast=function(s,d){let p=null;return l(s,{reverse:!0,enter(b,_,$){if(d.call(this,b,_,$))return p=b,n}}),p},l.findAll=function(s,d){const p=[];return l(s,function(b,_,$){d.call(this,b,_,$)&&p.push(b)}),p},l}function Dv(e){return e}function Fv(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 Bv(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 Vv(e,t,r,a){const n=e.combinator===" "||a?e.combinator:" "+e.combinator+" ",i=e.terms.map(o=>Jc(o,t,r,a)).join(n);return e.explicit||r?(a||i[0]===","?"[":"[ ")+i+(a?"]":" ]"):i}function Jc(e,t,r,a){let n;switch(e.type){case"Group":n=Vv(e,t,r,a)+(e.disallowEmpty?"!":"");break;case"Multiplier":return Jc(e.term,t,r,a)+t(Fv(e),e);case"Type":n="<"+e.name+(e.opts?t(Bv(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"
syntax: `+n.syntax+`
value: `+(i||"<empty string>")+`
--------`+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=zv,Gd=Gv;function ed(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===Na&&e.charCodeAt(t+1)===Na}function nh(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 zv(e){if(pa.has(e))return pa.get(e);const t=e.toLowerCase();let r=pa.get(t);if(r===void 0){const a=ed(t,0),n=a?"":nh(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 Gv(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=ed(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?"":nh(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 ih=["initial","inherit","unset","revert","revert-layer"],Wr=43,ut=45,Eu=110,ir=!0,Wv=!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!==B)if(sc(e,Wr)||sc(e,ut)){if(a=!0,n=Dr(r(++n),n,r),e=r(n),e===null||e.type!==B)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 Qv(e,t){let r=0;if(!e)return 0;if(e.type===B)return At(e,0,Wv,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 Xv=43,oh=45,sh=63,Kv=117;function lc(e,t){return e!==null&&e.type===z&&e.value.charCodeAt(0)===t}function Yv(e,t){return e.value.charCodeAt(0)===t}function Ir(e,t,r){let a=0;for(let n=t;n<e.value.length;n++){const i=e.value.charCodeAt(n);if(i===oh&&r&&a!==0)return Ir(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),sh);){if(++e>6)return 0;t++}return t}function Jv(e,t){let r=0;if(e===null||e.type!==q||!pr(e.value,0,Kv)||(e=t(++r),e===null))return 0;if(lc(e,Xv))return e=t(++r),e===null?0:e.type===q?fa(Ir(e,0,!0),++r,t):lc(e,sh)?fa(1,++r,t):0;if(e.type===B){const a=Ir(e,1,!0);return a===0?0:(e=t(++r),e===null?r:e.type===K||e.type===B?!Yv(e,oh)||!Ir(e,1,!1)?0:r+1:fa(a,r,t))}return e.type===K?fa(Ir(e,1,!0),++r,t):0}const Zv=["calc(","-moz-calc(","-webkit-calc("],td=new Map([[W,Q],[he,Q],[Ve,ot],[Ae,Ye]]);function it(e,t){return t<e.length?e.charCodeAt(t):0}function lh(e,t){return Gr(e,0,e.length,t)}function uh(e,t){for(let r=0;r<t.length;r++)if(lh(e,t[r]))return!0;return!1}function ch(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 eb(e,t
`+t+`
--`+new Array((r||t.length)+1).join("-")+"^"})}const wb=9,Rb=10,kb=12,Sb=13,Pb=32;class Ab{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!==Sb&&r!==Rb&&r!==kb&&r!==Pb&&r!==wb)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 Cb(t,this.str,this.pos)}}const Eb=9,qb=10,Ob=12,Tb=13,Mb=32,ph=33,rd=35,Qd=38,ja=39,fh=40,Lb=41,hh=42,ad=43,nd=44,Xd=45,id=60,mh=62,uc=63,Ib=64,nn=91,od=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 $b(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()===nd?(e.pos++,e.charCode()!==Yd&&(r=Ba(e))):r=t,e.eat(Yd),{min:Number(t),max:r?Number(r):0}}function Nb(e){let t=null,r=!1;switch(e.charCode()){case hh:e.pos++,t={min:0,max:0};break;case ad:e.pos++,t={min:1,max:0};break;case uc:e.pos++,t={min:0,max:1};break;case rd: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=Nb(e);return r!==null?(r.term=t,e.charCode()===rd&&e.charCodeAt(e.pos-1)===ad?xr(e,r):r):t}function Ou(e){const t=e.peek();return t===""?null:{type:"Token",value:t}}function jb(e){let t;return e.eat(id),e.eat(ja),t=yr(e),e.eat(ja),e.eat(mh),xr(e,{type:"Property",name:t})}function Db(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(nd),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(od),{type:"Range",min:t,max:r}}function Fb(e){let t,r=null;return e.eat(id),t=yr(e),e.charCode()===fh&&e.nextCharCode()===Lb&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===nn&&(Fa(e),r=Db(e)),e.eat(mh),xr(e,{type:"Type",name:t,opts:r})}function Bb(e){const t=yr(e);return e.charCode()===fh?(e.pos++,{type:"Function",name:t}):xr(e,{type:"Keyword",name:t})}function Vb(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 gh(e){const t=[],r={};let a,n=null,i=e.pos;for(;a=Ub(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:Vb(t,r)||" ",disallowEmpty:!1,explicit:!1}}function Hb(e){let t;return e.eat(nn),t=gh(e),e.eat(od),t.explicit=!0,e.charCode()===ph&&(e.pos++,t.disallowEmpty=!0)
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function e8(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 t8(e){if(Array.isArray(e))return e}function r8(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Rm(e))||t){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 Rm(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=r8(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})}},a8=(0,YC.default)(xc,xc.entries());on.default=a8;var ln={};Object.defineProperty(ln,"__esModule",{value:!0});ln.default=void 0;var n8=i8(Yt);function i8(e){return e&&e.__esModule?e:{default:e}}function Fu(e,t){return l8(e)||s8(e,t)||km(e,t)||o8()}function o8(){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 s8(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 l8(e){if(Array.isArray(e))return e}function u8(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=km(e))||t){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 km(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=u8(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 o9(e)||i9(e,t)||Sm(e,t)||n9()}function n9(){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 Sm(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 i9(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 o9(e){if(Array.isArray(e))return e}var Et=[].concat(JA.default,ZA.default,e9.default,t9.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,p=Et.find(function(V){var y=Br(V,1),h=y[0];return h===d});if(p)for(var b=p[1],_=0,$=Object.keys(b.props);_<$.length;_++){var L=$[_];Object.prototype.hasOwnProperty.call(r.props,L)||Object.assign(r.props,a9({},L,b.props[L]))}};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})}},s9=(0,r9.default)(wc,wc.entries());kr.default=s9;var Ho={},dd={},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}dd.dequal=Rc;Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var Pm=dd,l9=Em(Yt),Am=Em(kr);function Em(e){return e&&e.__esModule?e:{default:e}}function Bu(e,t){return d9(e)||c9(e,t)||qm(e,t)||u9()}function u9(){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 c9(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 d9(e){if(Array.isArray(e))return e}function p9(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qm(e))||t){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 qm(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=Am.default.keys();for(var Vu=0;Vu<Op.length;Vu++){var Hu=Op[Vu],Uu=Am.default.get(Hu);if(Uu)for(var Tp=[].concat(Uu.baseConcepts,Uu.relatedConcepts),zu=0;zu<Tp.length;zu++){var Mp=Tp[zu];Mp.module==="HTML"&&function(){var e=Mp.concept;if(e){var t=qt.find(function(i){return(0,Pm.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=p9(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,Pm.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})}},f9=(0,l9.default)(kc,kc.entries());Ho.default=f9;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0});Uo.default=void 0;var h9=Tm(Yt),Om=Tm(kr);function Tm(e){return e&&e.__esModule?e:{default:e}}function Gu(e,t){return v9(e)||g9(e,t)||Mm(e,t)||m9()}function m9(){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 g9(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 v9(e){if(Array.isArray(e))return e}function b9(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Mm(e))||t){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 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=[],Ip=Om.default.keys();for(var Wu=0;Wu<Ip.length;Wu++){var $p=Ip[Wu],Qu=Om.default.get($p),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([$p,Xu])}}var Sc={entries:function(){return Ut},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,a=b9(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})}},y9=(0,h9.default)(Sc,Sc.entries());Uo.default=y9;Object.defineProperty(nt,"__esModule",{value:!0});var ra=nt.roles=nt.roleElements=pd=nt.elementRoles=nt.dom=nt.aria=void 0,x9=aa(on),_9=aa(ln),C9=aa(kr),w9=aa(Ho),R9=aa(Uo);function aa(e){return e&&e.__esModule?e:{default:e}}var k9=x9.default;nt.aria=k9;var S9=_9.default;nt.dom=S9;var P9=C9.default;ra=nt.roles=P9;var A9=w9.default,pd=nt.elementRoles=A9,E9=R9.default;nt.roleElements=E9;var yt={},zo={},Sr={},Go={};Object.defineProperty(Go,"__esModule",{value:!0});Go.default=void 0;function q9(){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 O9=q9;Go.default=O9;Object.defineProperty(Sr,"__esModule",{value:!0});Sr.default=L9;var T9=M9(Go);function M9(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 L9(e,t){return typeof Symbol=="function"&&Pc(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:T9.default.bind(t)}),e}var Jt={},Wo={};Object.defineProperty(Wo,"__esModule",{value:!0});Wo.default=void 0;var I9={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},$9=I9;Wo.default=$9;var Qo={};Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var N9={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},j9=N9;Qo.default=j9;var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=void 0;var D9={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},F9=D9;Xo.default=F9;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0});Ko.default=void 0;var B9={relatedConcepts:[],type:"structure"},V9=B9;Ko.default=V9;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0});Yo.default=void 0;var H9={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},U9=H9;Yo.default=U9;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0});Jo.default=void 0;var z9={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},G9=z9;Jo.default=G9;var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0});Zo.default=void 0;var W9={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},Q9=W9;Zo.default=Q9;var es={};Object.defineProperty(es,"__esModule",
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OM(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 TM(e){if(Array.isArray(e))return e}function MM(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Lm(e))||t){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 Lm(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",hO.default],["AlertDialogRole",mO.default],["AlertRole",gO.default],["AnnotationRole",vO.default],["ApplicationRole",bO.default],["ArticleRole",yO.default],["AudioRole",xO.default],["BannerRole",_O.default],["BlockquoteRole",CO.default],["BusyIndicatorRole",wO.default],["ButtonRole",RO.default],["CanvasRole",kO.default],["CaptionRole",SO.default],["CellRole",PO.default],["CheckBoxRole",AO.default],["ColorWellRole",EO.default],["ColumnHeaderRole",qO.default],["ColumnRole",OO.default],["ComboBoxRole",TO.default],["ComplementaryRole",MO.default],["ContentInfoRole",LO.default],["DateRole",IO.default],["DateTimeRole",$O.default],["DefinitionRole",NO.default],["DescriptionListDetailRole",jO.default],["DescriptionListRole",DO.default],["DescriptionListTermRole",FO.default],["DetailsRole",BO.default],["DialogRole",VO.default],["DirectoryRole",HO.default],["DisclosureTriangleRole",UO.default],["DivRole",zO.default],["DocumentRole",GO.default],["EmbeddedObjectRole",WO.default],["FeedRole",QO.default],["FigcaptionRole",XO.default],["FigureRole",KO.default],["FooterRole",YO.default],["FormRole",JO.default],["GridRole",ZO.default],["GroupRole",eT.default],["HeadingRole",tT.default],["IframePresentationalRole",rT.default],["IframeRole",aT.default],["IgnoredRole",nT.default],["ImageMapLinkRole",iT.default],["ImageMapRole",oT.default],["ImageRole",sT.default],["InlineTextBoxRole",lT.default],["InputTimeRole",uT.default],["LabelRole",cT.default],["LegendRole",dT.default],["LineBreakRole",pT.default],["LinkRole",fT.default],["ListBoxOptionRole",hT.default],["ListBoxRole",mT.default],["ListItemRole",gT.default],["ListMarkerRole",vT.default],["ListRole",bT.default],["LogRole",yT.default],["MainRole",xT.default],["MarkRole",_T.default],["MarqueeRole",CT.default],["MathRole",wT.default],["MenuBarRole",RT.default],["MenuButtonRole",kT.default],["MenuItemRole",ST.default],["MenuItemCheckBoxRole",PT.default],["MenuItemRadioRole",AT.default],["MenuListOptionRole",ET.default],["MenuListPopupRole",qT.default],["MenuRole",OT.default],["MeterRole",TT.default],["NavigationRole",MT.default],["NoneRole",LT.default],["NoteRole",IT.default],["OutlineRole",$T.default],["ParagraphRole",NT.default],["PopUpButtonRole",jT.default],["PreRole",DT.default],["PresentationalRole",FT.default],["ProgressIndicatorRole",BT.default],["RadioButtonRole",VT.default],["RadioGroupRole",HT.default],["RegionRole",UT.default],["RootWebAreaRole",zT.default],["RowHeaderRole",GT.default],["RowRole",WT.default],["RubyRole",QT.default],["RulerRole",XT.default],["ScrollAreaRole",KT.default],["ScrollBarRole",YT.default],["SeamlessWebAreaRole",JT.default],["SearchRole",ZT.default],["SearchBoxRole",eM.default],["SliderRole",tM.default],["SliderThumbRole",rM.default],["SpinButtonRole",aM.default],["SpinButtonPartRole",nM.default],["SplitterRole",iM.default],["StaticTextRole",oM.default],["StatusRole",sM.default],["SVGRootRole",lM.default],["SwitchRole",uM.default],["TabGroupRole",cM.default],["TabRole",dM.default],["TableHeaderContainerRole",pM.default],["TableRole",fM.default],["TabListRole",hM.default],["TabPanelRole",mM.default],["TermRole",gM.default],["TextAreaRole",vM.default],["TextFieldRole",bM.default],["TimeRole",yM.default],["TimerRole",xM.default],["ToggleButtonRole",_M.default],["ToolbarRole",CM.default],["TreeRole",wM.default],["TreeGridRole",RM.default],["TreeItemRole",kM.default],["Us
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jM(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 DM(e){if(Array.isArray(e))return e}function $m(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Nm(e))||t){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 Nm(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=$m($M.default.entries()),Vp;try{var FM=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;)FM()}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=$m(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})}},BM=(0,IM.default)(Ec,Ec.entries());zo.default=BM;var uu={};Object.defineProperty(uu,"__esModule",{value:!0});uu.default=void 0;var VM=jm(Sr),HM=jm(Jt);function jm(e){return e&&e.__esModule?e:{default:e}}function Hr(e,t){return GM(e)||zM(e,t)||Fm(e,t)||UM()}function UM(){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 zM(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 GM(e){if(Array.isArray(e))return e}function Dm(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Fm(e))||t){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 Fm(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=Dm(HM.default.entries()),Up;try{var WM=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;)WM()}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=Dm(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})}},QM=(0,VM.default)(qc,qc.entries());uu.default=QM;var cu={};Object.defineProperty(cu,"__esModule",{value:!0});cu.default=void 0;var XM=dd,KM=Bm(Jt),YM=Bm(Sr);function Bm(e){return e&&e.__esModule?e:{default:e}}function Aa(e,t){return e7(e)||ZM(e,t)||Hm(e,t)||JM()}function JM(){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 ZM(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 e7(e){if(Array.isArray(e))return e}function Vm(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Hm(e))||t){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 Hm(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=Vm(KM.default.entries()),Gp;try{var t7=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 p=l.findIndex(function(b){return b===r});p===-1&&l.push(r),s<Xe.length?Xe.splice(s,1,[o,l]):Xe.push([o,l])}}})};for(ba.s();!(Gp=ba.n()).done;)t7()}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=Vm(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,XM.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})}},r7=(0,YM.default)(Oc,Oc.entries());cu.default=r7;Object.defineProperty(yt,"__esModule",{value:!0});var fd=yt.elementAXObjects=Xr=yt.AXObjects=yt.AXObjectRoles=yt.AXObjectElements=void 0,a7=du(zo),n7=du(uu),i7=du(Jt),o7=du(cu);function du(e){return e&&e.__esModule?e:{default:e}}var s7=a7.default;yt.AXObjectElements=s7;var l7=n7.default;yt.AXObjectRoles=l7;var u7=i7.default,Xr=yt.AXObjects=u7,c7=o7.default;fd=yt.elementAXObjects=c7;const Um=ra.keys(),d7=new Set(Um.filter(e=>ra.get(e).abstract)),zm=Um.filter(e=>!d7.has(e)),Gm=new Set(zm.filter(e=>{const t=ra.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t.superClass.some(r=>r.includes("widget"))}).concat("progressbar")),p7=new Set(zm.filter(e=>!Gm.has(e)&&e!=="generic"));pd.entries().forEach(([e,t])=>{[...t].every(r=>r!=="generic"&&Gm.has(r))});pd.entries().forEach(([e,t])=>{[...t].every(r=>p7.has(r))});const f7=new Set([...Xr.keys()].filter(e=>Xr.get(e).type==="widget")),h7=new Set([...Xr.keys()].filter(e=>["windows","structure"].includes(Xr.get(e).type)));fd.entries().forEach(([e,t])=>{[...t].every(r=>f7.has(r))});fd.entries().forEach(([e,t])=>{[...t].every(r=>h7.has(r))});const m7="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(m7);const g7=ra.keys();new Set(g7);Bf`true`;Bf`false`;const v7="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 A=$(C,h,"",0);for(let N=w.length-1;N>=0;N--)A=l(w[N],[A]);return A}function $(y,h,w,C){const{resolvedSources:A,sourcesContent:N,ignoreList:P}=y,f=C+1,m=A.map((S,x)=>{const ae={importer:w,depth:f,source:S||"",content:void 0,ignore:void 0},me=h(ae.source,ae),{source:Me,content:ge,ignore:Pe}=ae;if(me)return $(new r.TraceMap(me,Me),h,Me,f);const T=ge!==void 0?ge:N?N[x]:null,M=Pe!==void 0?Pe:P?P.includes(x):!1;return s(Me,T,M)});return l(y,m)}class L{constructor(h,w){const C=w.decodedMappings?a.toDecodedMap(h):a.toEncodedMap(h);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,w.excludeContent||(this.sourcesContent=C.sourcesContent)}toString(){return JSON.stringify(this)}}function V(y,h,w){const C=typeof w=="object"?w:{excludeContent:!!w,decodedMappings:!1},A=_(y,h);return new L(d(A),C)}return V})})(y7);const{RESET_STORY_ARGS:w7}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:R7,sanitizeStoryContextUpdate:k7}=__STORYBOOK_MODULE_PREVIEW_API__;var S7={};rg(S7,{applyDecorators:()=>T7,parameters:()=>M7,render:()=>O7,renderToCanvas:()=>A7});var P7=Number(Jm[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(p){Or.has(p)&&(Or.get(p).$destroy(),Or.delete(p),p.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 p=new Lc({target:u,props:{svelteVersion:4,storyFn:e,storyContext:i,name:r,title:t,showError:n}});Or.set(u,p)}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(p){let{mountedComponent:b}=_a.get(p)??{};b&&((void 0)(b),_a.delete(p))}let s=_a.get(u),d=o;if(Kr.has(i.id)&&(d=!0,Kr.delete(i.id)),d&&l(u),!s||d){let p=cg({storyFn:e,storyContext:i,name:r,title:t,showError:n,svelteVersion:5}),b=(void 0)(Lc,{target:u,props:p});_a.set(u,{mountedComponent:b,props:p})}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:Mc,props:{...n,decorator:i}}:i}function T7(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 M7={renderer:"svelte"};export{T7 as applyDecorators,M7 as parameters,O7 as render,A7 as renderToCanvas};