svelte 5.0.0-next.21 → 5.0.0-next.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler.cjs +1 -1
- package/elements.d.ts +7 -0
- package/package.json +1 -1
- package/src/compiler/phases/2-analyze/css/Selector.js +1 -7
- package/src/compiler/phases/3-transform/client/utils.js +46 -3
- package/src/compiler/phases/3-transform/client/visitors/template.js +25 -15
- package/src/internal/client/block.js +3 -0
- package/src/internal/client/each.js +4 -20
- package/src/internal/client/proxy/proxy.js +9 -5
- package/src/internal/client/reconciler.js +3 -1
- package/src/internal/client/render.js +13 -13
- package/src/internal/client/transitions.js +38 -3
- package/src/internal/client/types.d.ts +9 -0
- package/src/internal/client/validate.js +4 -3
- package/src/version.js +1 -1
- package/types/index.d.ts +1 -318
- package/types/index.d.ts.map +8 -44
package/compiler.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).svelte={})}(this,(function(e){"use strict";var t=[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],r=[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],n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",s={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",i={5:a,"5module":a+" export import",6:a+" const class extends export import super"},o=/^in(stanceof)?$/,l=new RegExp("["+n+"]"),c=new RegExp("["+n+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function u(e,t){for(var r=65536,n=0;n<t.length;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&u(e,r)))}function d(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==n&&(u(e,r)||u(e,t)))))}var h=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function m(e,t){return new h(e,{beforeExpr:!0,binop:t})}var f={beforeExpr:!0},y={startsExpr:!0},v={};function g(e,t){return void 0===t&&(t={}),t.keyword=e,v[e]=new h(e,t)}var b={num:new h("num",y),regexp:new h("regexp",y),string:new h("string",y),name:new h("name",y),privateId:new h("privateId",y),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",f),semi:new h(";",f),colon:new h(":",f),dot:new h("."),question:new h("?",f),questionDot:new h("?."),arrow:new h("=>",f),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",f),backQuote:new h("`",y),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m("</>/<=/>=",7),bitShift:m("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:m("??",1),_break:g("break"),_case:g("case",f),_catch:g("catch"),_continue:g("continue"),_debugger:g("debugger"),_default:g("default",f),_do:g("do",{isLoop:!0,beforeExpr:!0}),_else:g("else",f),_finally:g("finally"),_for:g("for",{isLoop:!0}),_function:g("function",y),_if:g("if"),_return:g("return",f),_switch:g("switch"),_throw:g("throw",f),_try:g("try"),_var:g("var"),_const:g("const"),_while:g("while",{isLoop:!0}),_with:g("with"),_new:g("new",{beforeExpr:!0,startsExpr:!0}),_this:g("this",y),_super:g("super",y),_class:g("class",y),_extends:g("extends",f),_export:g("export"),_import:g("import",y),_null:g("null",y),_true:g("true",y),_false:g("false",y),_in:g("in",{beforeExpr:!0,binop:7}),_instanceof:g("instanceof",{beforeExpr:!0,binop:7}),_typeof:g("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:g("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:g("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},x=/\r\n?|\n|\u2028|\u2029/,_=new RegExp(x.source,"g");function C(e){return 10===e||13===e||8232===e||8233===e}function w(e,t,r){void 0===r&&(r=e.length);for(var n=t;n<r;n++){var s=e.charCodeAt(n);if(C(s))return n<r-1&&13===s&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}var P=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,S=E.hasOwnProperty,T=E.toString,A=Object.hasOwn||function(e,t){return S.call(e,t)},R=Array.isArray||function(e){return"[object Array]"===T.call(e)},I=Object.create(null);function q(e){return I[e]||(I[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function L(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var M=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var O=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function $(e,t){for(var r=1,n=0;;){var s=w(e,n,t);if(s<0)return new N(r,t-n);++r,n=s}}var D={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},j=!1;function B(e){var t={};for(var r in D)t[r]=e&&A(e,r)?e[r]:D[r];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!j&&"object"==typeof console&&console.warn&&(j=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),R(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return R(t.onComment)&&(t.onComment=function(e,t){return function(r,n,s,a,i,o){var l={type:r?"Block":"Line",value:n,start:s,end:a};e.locations&&(l.loc=new O(this,i,o)),e.ranges&&(l.range=[s,a]),t.push(l)}}(t,t.onComment)),t}var F=256;function V(e,t){return 2|(e?4:0)|(t?8:0)}var H=function(e,t,r){this.options=e=B(e),this.sourceFile=e.sourceFile,this.keywords=q(i[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=s[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=q(n);var a=(n?n+" ":"")+s.strict;this.reservedWordsStrict=q(a),this.reservedWordsStrictBind=q(a+" "+s.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(x).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.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="module"===e.sourceType,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),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},U={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}};H.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},U.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},U.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},U.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},U.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&F)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},U.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(64&t)>0||r||this.options.allowSuperOutsideMethod},U.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},U.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},U.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(258&t)>0||r},U.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&F)>0},H.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},H.parse=function(e,t){return new this(t,e).parse()},H.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},H.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(H.prototype,U);var z=H.prototype,W=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;z.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){k.lastIndex=e,e+=k.exec(this.input)[0].length;var t=W.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){k.lastIndex=e+t[0].length;var r=k.exec(this.input),n=r.index+r[0].length,s=this.input.charAt(n);return";"===s||"}"===s||x.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||"!"===s&&"="===this.input.charAt(n+1))}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,";"===this.input[e]&&e++}},z.eat=function(e){return this.type===e&&(this.next(),!0)},z.isContextual=function(e){return this.type===b.name&&this.value===e&&!this.containsEsc},z.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},z.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},z.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))},z.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},z.semicolon=function(){this.eat(b.semi)||this.insertSemicolon()||this.unexpected()},z.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},z.expect=function(e){this.eat(e)||this.unexpected()},z.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var G=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};z.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},z.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},z.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},z.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var K=H.prototype;K.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==b.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,s=Object.keys(this.undefinedExports);n<s.length;n+=1){var a=s[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var X={kind:"loop"},J={kind:"switch"};K.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;k.lastIndex=this.pos;var t=k.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(91===n||92===n)return!0;if(e)return!1;if(123===n||n>55295&&n<56320)return!0;if(p(n,!0)){for(var s=r+1;d(n=this.input.charCodeAt(s),!0);)++s;if(92===n||n>55295&&n<56320)return!0;var a=this.input.slice(r,s);if(!o.test(a))return!0}return!1},K.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;k.lastIndex=this.pos;var e,t=k.exec(this.input),r=this.pos+t[0].length;return!(x.test(this.input.slice(this.pos,r))||"function"!==this.input.slice(r,r+8)||r+8!==this.input.length&&(d(e=this.input.charCodeAt(r+8))||e>55295&&e<56320))},K.parseStatement=function(e,t,r){var n,s=this.type,a=this.startNode();switch(this.isLet(e)&&(s=b._var,n="let"),s){case b._break:case b._continue:return this.parseBreakContinueStatement(a,s.keyword);case b._debugger:return this.parseDebuggerStatement(a);case b._do:return this.parseDoStatement(a);case b._for:return this.parseForStatement(a);case b._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case b._class:return e&&this.unexpected(),this.parseClass(a,!0);case b._if:return this.parseIfStatement(a);case b._return:return this.parseReturnStatement(a);case b._switch:return this.parseSwitchStatement(a);case b._throw:return this.parseThrowStatement(a);case b._try:return this.parseTryStatement(a);case b._const:case b._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(a,n);case b._while:return this.parseWhileStatement(a);case b._with:return this.parseWithStatement(a);case b.braceL:return this.parseBlock(!0,a);case b.semi:return this.parseEmptyStatement(a);case b._export:case b._import:if(this.options.ecmaVersion>10&&s===b._import){k.lastIndex=this.pos;var i=k.exec(this.input),o=this.pos+i[0].length,l=this.input.charCodeAt(o);if(40===l||46===l)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===b._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,u=this.parseExpression();return s===b.name&&"Identifier"===u.type&&this.eat(b.colon)?this.parseLabeledStatement(a,c,u,e):this.parseExpressionStatement(a,u)}},K.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(b.semi)||this.insertSemicolon()?e.label=null:this.type!==b.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var s=this.labels[n];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(r||"loop"===s.kind))break;if(e.label&&r)break}}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},K.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},K.parseDoStatement=function(e){return this.next(),this.labels.push(X),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},K.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(X),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===b._var||this.type===b._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var a=this.isContextual("let"),i=!1,o=new G,l=this.parseExpression(!(t>-1)||"await",o);return this.type===b._in||(i=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&i&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,o),this.checkLValPattern(l),this.parseForIn(e,l)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,l))},K.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Y|(r?0:Z),!1,t)},K.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},K.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},K.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(b.braceL),this.labels.push(J),this.enterScope(0);for(var r=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var n=this.type===b._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(b.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},K.parseThrowStatement=function(e){return this.next(),x.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Q=[];K.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(b.parenR),e},K.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===b._catch){var t=this.startNode();this.next(),this.eat(b.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(b._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},K.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},K.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(X),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},K.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},K.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},K.parseLabeledStatement=function(e,t,r,n){for(var s=0,a=this.labels;s<a.length;s+=1){a[s].name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var i=this.type.isLoop?"loop":this.type===b._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var l=this.labels[o];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=i}return this.labels.push({name:t,kind:i,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},K.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},K.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(b.braceL),e&&this.enterScope(0);this.type!==b.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},K.parseFor=function(e,t){return e.init=t,this.expect(b.semi),e.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),e.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},K.parseForIn=function(e,t){var r=this.type===b._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},K.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(b.eq)?s.init=this.parseMaybeAssign(t):n||"const"!==r||this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n||"Identifier"===s.id.type||t&&(this.type===b._in||this.isContextual("of"))?s.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(b.comma))break}return e},K.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var Y=1,Z=2;function ee(e,t){var r=t.key.name,n=e[r],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===s||"iset"===n&&"iget"===s||"sget"===n&&"sset"===s||"sset"===n&&"sget"===s?(e[r]="true",!1):!!n||(e[r]=s,!1)}function te(e,t){var r=e.computed,n=e.key;return!r&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}K.parseFunction=function(e,t,r,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===b.star&&t&Z&&this.unexpected(),e.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Y&&(e.id=4&t&&this.type!==b.name?null:this.parseIdent(),!e.id||t&Z||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var a=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(V(e.async,e.generator)),t&Y||(e.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,t&Y?"FunctionDeclaration":"FunctionExpression")},K.parseFunctionParams=function(e){this.expect(b.parenL),e.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},K.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(b.braceL);this.type!==b.braceR;){var i=this.parseClassElement(null!==e.superClass);i&&(s.body.push(i),"MethodDefinition"===i.type&&"constructor"===i.kind?(a&&this.raiseRecoverable(i.start,"Duplicate constructor in the same class"),a=!0):i.key&&"PrivateIdentifier"===i.key.type&&ee(n,i)&&this.raiseRecoverable(i.key.start,"Identifier '#"+i.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},K.parseClassElement=function(e){if(this.eat(b.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",s=!1,a=!1,i="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===b.star?o=!0:n="static"}if(r.static=o,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==b.star||this.canInsertSemicolon()?n="async":a=!0),!n&&(t>=9||!a)&&this.eat(b.star)&&(s=!0),!n&&!a&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?i=l:n=l)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===b.parenL||"method"!==i||s||a){var c=!r.static&&te(r,"constructor"),u=c&&e;c&&"method"!==i&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":i,this.parseClassMethod(r,s,a,u)}else this.parseClassField(r);return r},K.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword},K.parseClassElementName=function(e){this.type===b.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},K.parseClassMethod=function(e,t,r,n){var s=e.key;"constructor"===e.kind?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&te(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return"get"===e.kind&&0!==a.params.length&&this.raiseRecoverable(a.start,"getter should have no params"),"set"===e.kind&&1!==a.params.length&&this.raiseRecoverable(a.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===a.params[0].type&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},K.parseClassField=function(e){if(te(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&te(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},K.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==b.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},K.parseClassId=function(e,t){this.type===b.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},K.parseClassSuper=function(e){e.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null},K.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},K.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,s=0===n?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var i=r[a];A(t,i.name)||(s?s.used.push(i):this.raiseRecoverable(i.start,"Private field '#"+i.name+"' must be declared in an enclosing class"))}},K.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},K.parseExport=function(e,t){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(e,t);if(this.eat(b._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var s=n[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),"Literal"===s.local.type&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},K.parseExportDeclaration=function(e){return this.parseStatement(null)},K.parseExportDefaultDeclaration=function(){var e;if(this.type===b._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|Y,!1,e)}if(this.type===b._class){var r=this.startNode();return this.parseClass(r,"nullableID")}var n=this.parseMaybeAssign();return this.semicolon(),n},K.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),A(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},K.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,t.start);else if("ObjectPattern"===r)for(var n=0,s=t.properties;n<s.length;n+=1){var a=s[n];this.checkPatternExport(e,a)}else if("ArrayPattern"===r)for(var i=0,o=t.elements;i<o.length;i+=1){var l=o[i];l&&this.checkPatternExport(e,l)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r&&this.checkPatternExport(e,t.argument)},K.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var s=n[r];this.checkPatternExport(e,s.id)}},K.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},K.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},K.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(r)r=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;t.push(this.parseExportSpecifier(e))}return t},K.parseImport=function(e){return this.next(),this.type===b.string?(e.specifiers=Q,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},K.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},K.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},K.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},K.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===b.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return e;if(this.type===b.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(b.braceL);!this.eat(b.braceR);){if(t)t=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;e.push(this.parseImportSpecifier())}return e},K.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var e=this.parseLiteral(this.value);return M.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},K.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},K.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var re=H.prototype;re.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.toAssignable(a,t),"RestElement"!==a.type||"ArrayPattern"!==a.argument.type&&"ObjectPattern"!==a.argument.type||this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},re.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var s=e[n];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];6===this.options.ecmaVersion&&t&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return e},re.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},re.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==b.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},re.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()},re.parseBindingList=function(e,t,r,n){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(b.comma),t&&this.type===b.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===b.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),s.push(i),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}s.push(this.parseAssignableListItem(n))}return s},re.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},re.parseBindingListItem=function(e){return e},re.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},re.checkLValSimple=function(e,t,r){void 0===t&&(t=0);var n=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(A(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),5!==t&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},re.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var i=0,o=e.elements;i<o.length;i+=1){var l=o[i];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},re.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ne=function(e,t,r,n,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!s},se={b_stat:new ne("{",!1),b_expr:new ne("{",!0),b_tmpl:new ne("${",!1),p_stat:new ne("(",!1),p_expr:new ne("(",!0),q_tmpl:new ne("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ne("function",!1),f_expr:new ne("function",!0),f_expr_gen:new ne("function",!0,!1,null,!0),f_gen:new ne("function",!1,!1,null,!0)},ae=H.prototype;ae.initialContext=function(){return[se.b_stat]},ae.curContext=function(){return this.context[this.context.length-1]},ae.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat||(e!==b.colon||t!==se.b_stat&&t!==se.b_expr?e===b._return||e===b.name&&this.exprAllowed?x.test(this.input.slice(this.lastTokEnd,this.start)):e===b._else||e===b.semi||e===b.eof||e===b.parenR||e===b.arrow||(e===b.braceL?t===se.b_stat:e!==b._var&&e!==b._const&&e!==b.name&&!this.exprAllowed):!t.isExpr)},ae.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,r=this.type;r.keyword&&e===b.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},ae.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},b.parenR.updateContext=b.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===se.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},b.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(e){var t=e===b._if||e===b._for||e===b._with||e===b._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(e){!e.beforeExpr||e===b._else||e===b.semi&&this.curContext()!==se.p_stat||e===b._return&&x.test(this.input.slice(this.lastTokEnd,this.start))||(e===b.colon||e===b.braceL)&&this.curContext()===se.b_stat?this.context.push(se.f_stat):this.context.push(se.f_expr),this.exprAllowed=!1},b.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},b.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(e){if(e===b._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0},b.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==b.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ie=H.prototype;function oe(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&oe(e.expression)}ie.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,s=e.key;switch(s.type){case"Identifier":n=s.name;break;case"Literal":n=String(s.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===a&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);else{var i=t[n="$"+n];if(i)("init"===a?this.strict&&i.init||i.get||i.set:i.init||i[a])&&this.raiseRecoverable(s.start,"Redefinition of property");else i=t[n]={init:!1,get:!1,set:!1};i[a]=!0}}},ie.parseExpression=function(e,t){var r=this.start,n=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===b.comma){var a=this.startNodeAt(r,n);for(a.expressions=[s];this.eat(b.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s},ie.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,s=-1,a=-1,i=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,i=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new G,n=!0);var o=this.start,l=this.startLoc;this.type!==b.parenL&&this.type!==b.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,o,l)),this.type.isAssign){var u=this.startNodeAt(o,l);return u.operator=this.value,this.type===b.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(c):this.checkLValSimple(c),u.left=c,this.next(),u.right=this.parseMaybeAssign(e),i>-1&&(t.doubleProto=i),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),c},ie.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(b.question)){var a=this.startNodeAt(r,n);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(b.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s},ie.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&"ArrowFunctionExpression"===s.type?s:this.parseExprOp(s,r,n,-1,e)},ie.parseExprOp=function(e,t,r,n,s){var a=this.type.binop;if(null!=a&&(!s||this.type!==b._in)&&a>n){var i=this.type===b.logicalOR||this.type===b.logicalAND,o=this.type===b.coalesce;o&&(a=b.logicalAND.binop);var l=this.value;this.next();var c=this.start,u=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),c,u,a,s),d=this.buildBinary(t,r,e,p,l,i||o);return(i&&this.type===b.coalesce||o&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(d,t,r,n,s)}return e},ie.buildBinary=function(e,t,r,n,s,a){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");var i=this.startNodeAt(e,t);return i.left=r,i.operator=s,i.right=n,this.finishNode(i,a?"LogicalExpression":"BinaryExpression")},ie.parseMaybeUnary=function(e,t,r,n){var s,a=this.start,i=this.startLoc;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),l=this.type===b.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&oe(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==b.privateId){if(s=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,i);c.operator=this.value,c.prefix=!1,c.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(c,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();return r||!this.eat(b.starstar)?s:t?void this.unexpected(this.lastTokStart):this.buildBinary(a,i,s,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},ie.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,s=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===s.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return s;var a=this.parseSubscripts(s,r,n,!1,t);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},ie.parseSubscripts=function(e,t,r,n,s){for(var a=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,i=!1;;){var o=this.parseSubscript(e,t,r,n,a,i,s);if(o.optional&&(i=!0),o===e||"ArrowFunctionExpression"===o.type){if(i){var l=this.startNodeAt(t,r);l.expression=o,o=this.finishNode(l,"ChainExpression")}return o}e=o}},ie.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},ie.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)},ie.parseSubscript=function(e,t,r,n,s,a,i){var o=this.options.ecmaVersion>=11,l=o&&this.eat(b.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(b.bracketL);if(c||l&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var u=this.startNodeAt(t,r);u.object=e,c?(u.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!c,o&&(u.optional=l),e=this.finishNode(u,"MemberExpression")}else if(!n&&this.eat(b.parenL)){var p=new G,d=this.yieldPos,h=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var f=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,p);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,r,f,i);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var y=this.startNodeAt(t,r);y.callee=e,y.arguments=f,o&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===b.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var v=this.startNodeAt(t,r);v.tag=e,v.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(v,"TaggedTemplateExpression")}return e},ie.parseExprAtom=function(e,t,r){this.type===b.slash&&this.readRegexp();var n,s=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==b.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(n,"Super");case b._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case b.name:var a=this.start,i=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(se.f_expr),this.parseFunction(this.startNodeAt(a,i),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(a,i),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===b.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(b.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,i),[l],!0,t)}return l;case b.regexp:var c=this.value;return(n=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},n;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return(n=this.startNode()).value=this.type===b._null?null:this.type===b._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case b.parenL:var u=this.start,p=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),p;case b.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(b.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case b.braceL:return this.overrideContext(se.b_expr),this.parseObj(!1,e);case b._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},ie.parseExprAtomDefault=function(){this.unexpected()},ie.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var r=this.parseIdent(!0);return this.type!==b.parenL||e?this.type===b.dot?(t.meta=r,this.parseImportMeta(t)):void this.unexpected():this.parseDynamicImport(t)},ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(b.parenR)){var t=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ie.parseParenExpression=function(){this.expect(b.parenL);var e=this.parseExpression();return this.expect(b.parenR),e},ie.shouldParseArrow=function(e){return!this.canInsertSemicolon()},ie.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,s=this.startLoc,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var i,o=this.start,l=this.startLoc,c=[],u=!0,p=!1,d=new G,h=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;){if(u?u=!1:this.expect(b.comma),a&&this.afterTrailingComma(b.parenR,!0)){p=!0;break}if(this.type===b.ellipsis){i=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var f=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(b.parenR),e&&this.shouldParseArrow(c)&&this.eat(b.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=m,this.parseParenArrowList(n,s,c,t);c.length&&!p||this.unexpected(this.lastTokStart),i&&this.unexpected(i),this.checkExpressionErrors(d,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?((r=this.startNodeAt(o,l)).expressions=c,this.finishNodeAt(r,"SequenceExpression",f,y)):r=c[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,s);return v.expression=r,this.finishNode(v,"ParenthesizedExpression")}return r},ie.parseParenItem=function(e){return e},ie.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var le=[];ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var t=this.startNodeAt(e.start,e.startLoc);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,s,!0,!1),this.eat(b.parenL)?e.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):e.arguments=le,this.finishNode(e,"NewExpression")},ie.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===b.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===b.backQuote,this.finishNode(r,"TemplateElement")},ie.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(b.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},ie.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))},ie.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(b.braceR);){if(n)n=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},ie.parseProperty=function(e,t){var r,n,s,a,i=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===b.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(r=this.eat(b.star)));var o=this.containsEsc;return this.parsePropertyName(i),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,r,n,s,a,t,o),this.finishNode(i,"Property")},ie.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;if(e.value.params.length!==t){var r=e.value.start;"get"===e.kind?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},ie.parsePropertyValue=function(e,t,r,n,s,a,i,o){(r||n)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n)):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===b.comma||this.type===b.braceR||this.type===b.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===b.eq&&i?(i.shorthandAssign<0&&(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),this.parseGetterSetter(e))},ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(b.bracketR),e.key;e.computed=!1}return e.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ie.parseMethod=function(e,t,r){var n=this.startNode(),s=this.yieldPos,a=this.awaitPos,i=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|V(t,n.generator)|(r?128:0)),this.expect(b.parenL),n.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=i,this.finishNode(n,"FunctionExpression")},ie.parseArrowExpression=function(e,t,r,n){var s=this.yieldPos,a=this.awaitPos,i=this.awaitIdentPos;return this.enterScope(16|V(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=i,this.finishNode(e,"ArrowFunctionExpression")},ie.parseFunctionBody=function(e,t,r,n){var s=t&&this.type!==b.braceL,a=this.strict,i=!1;if(s)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);a&&!o||(i=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!a&&!i&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,i&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},ie.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){if("Identifier"!==r[t].type)return!1}return!0},ie.checkParams=function(e,t){for(var r=Object.create(null),n=0,s=e.params;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,1,t?null:r)}},ie.parseExprList=function(e,t,r,n){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(b.comma),t&&this.afterTrailingComma(e))break;var i=void 0;r&&this.type===b.comma?i=null:this.type===b.ellipsis?(i=this.parseSpread(n),n&&this.type===b.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):i=this.parseMaybeAssign(!1,n),s.push(i)}return s},ie.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===n&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==n&&"await"!==n||this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))},ie.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},ie.parseIdentNode=function(){var e=this.startNode();return this.type===b.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=b.name):this.unexpected(),e},ie.parsePrivateIdent=function(){var e=this.startNode();return this.type===b.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},ie.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(b.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ie.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var ce=H.prototype;ce.raise=function(e,t){var r=$(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},ce.raiseRecoverable=ce.raise,ce.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var ue=H.prototype,pe=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};ue.enterScope=function(e){this.scopeStack.push(new pe(e))},ue.exitScope=function(){this.scopeStack.pop()},ue.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ue.declareName=function(e,t,r){var n=!1;if(2===t){var s=this.currentScope();n=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var a=this.currentScope();n=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var i=this.scopeStack.length-1;i>=0;--i){var o=this.scopeStack[i];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],259&o.flags)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ue.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ue.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ue.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},ue.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var de=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new O(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},he=H.prototype;function me(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}he.startNode=function(){return new de(this,this.start,this.startLoc)},he.startNodeAt=function(e,t){return new de(this,e,t)},he.finishNode=function(e,t){return me.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},he.finishNodeAt=function(e,t,r,n){return me.call(this,e,t,r,n)},he.copyNode=function(e){var t=new de(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var fe="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ye=fe+" Extended_Pictographic",ve=ye+" EBase EComp EMod EPres ExtPict",ge={9:fe,10:ye,11:ye,12:ve,13:ve,14:ve},be={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},xe="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",_e="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ce=_e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",we=Ce+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pe=we+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ke=Pe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ee={9:_e,10:Ce,11:we,12:Pe,13:ke,14:ke+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Se={};function Te(e){var t=Se[e]={binary:q(ge[e]+" "+xe),binaryOfStrings:q(be[e]),nonBinary:{General_Category:q(xe),Script:q(Ee[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ae=0,Re=[9,10,11,12,13,14];Ae<Re.length;Ae+=1){Te(Re[Ae])}var Ie=H.prototype,qe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Se[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Le(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Me(e){return e>=65&&e<=90||e>=97&&e<=122}qe.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("v"),s=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)},qe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},qe.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!t&&!this.switchU||s<=55295||s>=57344||e+1>=n)return s;var a=r.charCodeAt(e+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s},qe.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s,a=r.charCodeAt(e);return!t&&!this.switchU||a<=55295||a>=57344||e+1>=n||(s=r.charCodeAt(e+1))<56320||s>57343?e+1:e+2},qe.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},qe.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},qe.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},qe.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},qe.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,n=0,s=e;n<s.length;n+=1){var a=s[n],i=this.at(r,t);if(-1===i||i!==a)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},Ie.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,s=!1,a=0;a<r.length;a++){var i=r.charAt(a);-1===t.indexOf(i)&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(i,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===i&&(n=!0),"v"===i&&(s=!0)}this.options.ecmaVersion>=15&&n&&s&&this.raise(e.start,"Invalid regular expression flag")},Ie.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Ie.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];-1===e.groupNames.indexOf(n)&&e.raise("Invalid named capture referenced")}},Ie.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Ie.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Ie.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},Ie.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},Ie.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Ie.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Ie.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return-1!==s&&s<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},Ie.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Ie.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Ie.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Ie.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Ie.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Ie.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Ie.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Le(t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!Le(r);)e.advance();return e.pos!==t},Ie.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Ie.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Ie.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Ie.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=L(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=L(e.lastIntValue);return!0}return!1},Ie.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return p(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Ie.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return d(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Ie.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Ie.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},Ie.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Ie.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Ie.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Ie.regexp_eatZero=function(e){return 48===e.current()&&!$e(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Ie.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Ie.regexp_eatControlLetter=function(e){var t=e.current();return!!Me(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ie.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r,n=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=1024*(a-55296)+(o-56320)+65536,!0}e.pos=i,e.lastIntValue=a}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((r=e.lastIntValue)>=0&&r<=1114111))return!0;s&&e.raise("Invalid unicode escape"),e.pos=n}return!1},Ie.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};function Ne(e){return Me(e)||95===e}function Oe(e){return Ne(e)||$e(e)}function $e(e){return e>=48&&e<=57}function De(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function je(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Be(e){return e>=48&&e<=55}Ie.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),1;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=80===t)||112===t)){var n;if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&2===n&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return 0},Ie.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return 0},Ie.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){A(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},Ie.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},Ie.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ne(t=e.current());)e.lastStringValue+=L(t),e.advance();return""!==e.lastStringValue},Ie.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Oe(t=e.current());)e.lastStringValue+=L(t),e.advance();return""!==e.lastStringValue},Ie.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Ie.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===r&&e.raise("Negated character class may contain strings"),!0}return!1},Ie.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},Ie.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},Ie.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||Be(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},Ie.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Ie.regexp_classSetExpression=function(e){var t,r=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(r=2);for(var n=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(r=1):e.raise("Invalid character in character class");if(n!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return r;2===t&&(r=2)}},Ie.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return-1!==r&&-1!==n&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},Ie.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},Ie.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&2===n&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},Ie.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},Ie.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},Ie.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},Ie.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1));var r=e.current();return!(r<0||r===e.lookahead()&&function(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}(r))&&(!function(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}(r)&&(e.advance(),e.lastIntValue=r,!0))},Ie.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!function(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}(t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!$e(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ie.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Ie.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;$e(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},Ie.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;De(r=e.current());)e.lastIntValue=16*e.lastIntValue+je(r),e.advance();return e.pos!==t},Ie.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},Ie.regexp_eatOctalDigit=function(e){var t=e.current();return Be(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Ie.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var s=e.current();if(!De(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+je(s),e.advance()}return!0};var Fe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new O(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Ve=H.prototype;function He(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}Ve.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Fe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ve.getToken=function(){return this.next(),new Fe(this)},"undefined"!=typeof Symbol&&(Ve[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===b.eof,value:t}}}}),Ve.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(b.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ve.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ve.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Ve.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,s=t;(n=w(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},Ve.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!C(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},Ve.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&P.test(String.fromCharCode(e))))break e;++this.pos}}},Ve.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ve.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},Ve.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},Ve.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?b.star:b.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=b.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(b.assign,r+1):this.finishOp(n,r)},Ve.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(b.assign,3);return this.finishOp(124===e?b.logicalOR:b.logicalAND,2)}return 61===t?this.finishOp(b.assign,2):this.finishOp(124===e?b.bitwiseOR:b.bitwiseAND,1)},Ve.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},Ve.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!x.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(b.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},Ve.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(b.assign,r+1):this.finishOp(b.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(b.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ve.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(b.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(61===e?b.eq:b.prefix,1)},Ve.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(b.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(b.assign,3);return this.finishOp(b.coalesce,2)}}return this.finishOp(b.question,1)},Ve.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,p(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+L(e)+"'")},Ve.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+L(e)+"'")},Ve.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ve.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(x.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,i=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new qe(this));o.reset(r,s,i),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var l=null;try{l=new RegExp(s,i)}catch(e){}return this.finishToken(b.regexp,{pattern:s,flags:i,value:l})},Ve.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,s=r&&48===this.input.charCodeAt(this.pos),a=this.pos,i=0,o=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var u=this.input.charCodeAt(this.pos),p=void 0;if(n&&95===u)s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=u;else{if((p=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;o=u,i=i*e+p}}return n&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=t&&this.pos-a!==t?null:i},Ve.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=He(this.input.slice(t,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,r)},Ve.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===n){var s=He(this.input.slice(t,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a,i=(a=this.input.slice(t,this.pos),r?parseInt(a,8):parseFloat(a.replace(/_/g,"")));return this.finishToken(b.num,i)},Ve.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ve.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(C(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(b.string,t)};var Ue={};Ve.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ue)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ve.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ue;this.raise(e,t)},Ve.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==b.template&&this.type!==b.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(b.template,e)):36===r?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(C(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ve.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(b.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Ve.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return L(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++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 n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return C(t)?"":String.fromCharCode(t)}},Ve.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ve.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(d(s,n))this.pos+=s<=65535?1:2;else{if(92!==s)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var i=this.readCodePoint();(t?p:d)(i,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=L(i),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},Ve.readWord=function(){var e=this.readWord1(),t=b.name;return this.keywords.test(e)&&(t=v[e]),this.finishToken(t,e)};var ze="8.11.2";H.acorn={Parser:H,version:ze,defaultOptions:D,Position:N,SourceLocation:O,getLineInfo:$,Node:de,TokenType:h,tokTypes:b,keywordTypes:v,TokContext:ne,tokContexts:se,isIdentifierChar:d,isIdentifierStart:p,Token:Fe,isNewLine:C,lineBreak:x,lineBreakG:_,nonASCIIwhitespace:P};var We=Object.freeze({__proto__:null,Node:de,Parser:H,Position:N,SourceLocation:O,TokContext:ne,Token:Fe,TokenType:h,defaultOptions:D,getLineInfo:$,isIdentifierChar:d,isIdentifierStart:p,isNewLine:C,keywordTypes:v,lineBreak:x,lineBreakG:_,nonASCIIwhitespace:P,parse:function(e,t){return H.parse(e,t)},parseExpressionAt:function(e,t,r){return H.parseExpressionAt(e,t,r)},tokContexts:se,tokTypes:b,tokenizer:function(e,t){return H.tokenizer(e,t)},version:ze});const Ge=/\s/,Ke=/\s+/,Xe=/^\r?\n/,Je=/^\s/,Qe=/^[ \t\r\n]*/,Ye=/\s$/,Ze=/[ \t\r\n]*$/,et=/[^ \t\r\n]/,tt=/[ \t\n\r\f]+/g,rt=/^[ \t\n\r\f]+$/,nt=/[^\n]/g,st=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,at=/^[aeiou]/,it=/^h[1-6]$/,ot=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,lt=/^\s*svelte-ignore\s+([\s\S]+)\s*$/m;function ct(e){const t=lt.exec(e);return t?t[1].split(Ge).map((e=>e.trim())).filter(Boolean):[]}function ut(e){return(e.leadingComments||[]).flatMap((e=>ct(e.value)))}function pt(e,t){const r=t.indexOf(e)-1;if(r<0)return[];const n=[];for(let e=r;e>=0;e--){const r=t[e];if("Comment"!==r.type&&"Text"!==r.type)return n;"Comment"===r.type&&r.ignores.length&&n.push(...r.ignores)}return n}function dt(e,t){if(0===t.length)return null;const r=new vt(t).get(e);return r&&r[0][0]>.7?r[0][1]:null}function ht(e,t){if(null===e&&null===t)throw"Trying to compare two null values";if(null===e||null===t)return 0;const r=function(e,t){const r=[];let n=0,s=0;for(let a=0;a<=t.length;a++)for(let i=0;i<=e.length;i++)s=a&&i?e.charAt(i-1)===t.charAt(a-1)?n:Math.min(r[i],r[i-1],n)+1:a+i,n=r[i],r[i]=s;return r.pop()}(e=String(e),t=String(t));return e.length>t.length?1-r/e.length:1-r/t.length}const mt=/[^\w, ]+/;function ft(e,t=2){const r={},n=function(e,t=2){const r="-"+e.toLowerCase().replace(mt,"")+"-",n=t-r.length,s=[];if(n>0)for(let t=0;t<n;++t)e+="-";for(let e=0;e<r.length-t+1;++e)s.push(r.slice(e,e+t));return s}(e,t);let s=0;for(;s<n.length;++s)n[s]in r?r[n[s]]+=1:r[n[s]]=1;return r}function yt(e,t){return t[0]-e[0]}class vt{exact_set={};match_dict={};items={};constructor(e){for(let e=2;e<4;++e)this.items[e]=[];for(let t=0;t<e.length;++t)this.add(e[t])}add(e){if(e.toLowerCase()in this.exact_set)return!1;let t=2;for(;t<4;++t)this._add(e,t)}_add(e,t){const r=e.toLowerCase(),n=this.items[t]||[],s=n.length;n.push(0);const a=ft(r,t);let i,o,l=0;for(i in a)o=a[i],l+=Math.pow(o,2),i in this.match_dict?this.match_dict[i].push([s,o]):this.match_dict[i]=[[s,o]];const c=Math.sqrt(l);n[s]=[c,r],this.items[t]=n,this.exact_set[r]=e}get(e){const t=e.toLowerCase(),r=this.exact_set[t];if(r)return[[1,r]];for(let t=3;t>=2;--t){const r=this.__get(e,t);if(r.length>0)return r}return null}__get(e,t){const r=e.toLowerCase(),n={},s=ft(r,t),a=this.items[t];let i,o,l,c,u,p=0;for(i in s)if(o=s[i],p+=Math.pow(o,2),i in this.match_dict)for(l=0;l<this.match_dict[i].length;++l)c=this.match_dict[i][l][0],u=this.match_dict[i][l][1],c in n?n[c]+=o*u:n[c]=o*u;const d=Math.sqrt(p);let h,m=[];for(const e in n)h=n[e],m.push([h/(d*a[e][0]),a[e][1]]);m.sort(yt);let f=[];const y=Math.min(50,m.length);for(let e=0;e<y;++e)f.push([ht(m[e][1],r),m[e][1]]);m=f,m.sort(yt),f=[];for(let e=0;e<m.length;++e)m[e][0]===m[0][0]&&f.push([m[e][0],this.exact_set[m[e][1]]]);return f}}const gt=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"],bt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function xt(e){return bt.includes(e)||"!doctype"===e.toLowerCase()}function _t(e,t,r){const n=r._;let s=!1;function a(e,{next:t,state:r}){t(r)}return function e(t,i,o){if(s)return t;if(!t.type)return t;let l;const c={},u={path:i,state:o,next:(r=o)=>{i.push(t);for(const n in t){if("type"===n)continue;const s=t[n];if(s&&"object"==typeof s)if(Array.isArray(s)){const t={};s.forEach(((n,s)=>{if(n&&"object"==typeof n){const a=e(n,i,r);a&&(t[s]=a)}})),Object.keys(t).length>0&&(c[n]=s.map(((e,r)=>t[r]??e)))}else{const t=e(s,i,r);t&&(c[n]=t)}}if(i.pop(),Object.keys(c).length>0)return{...t,...c}},stop:()=>{s=!0},visit:(r,n=o)=>{i.push(t);const s=e(r,i,n)??r;return i.pop(),s}};let p=r[t.type]??a;if(n){let e;l=n(t,{...u,next:(r=o)=>(o=r,e=p(t,{...u,state:r}),e)}),!l&&e&&(l=e)}else l=p(t,u);return l||Object.keys(c).length>0&&(l={...t,...c}),l||void 0}(e,[],t)??e}function Ct(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,"symbol"==typeof(s=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key))?s:String(s),n)}var s}function wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wt.apply(this,arguments)}function Pt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kt(e,t)}function kt(e,t){return kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kt(e,t)}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function St(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Et(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Tt=!0;function At(e,t){return void 0===t&&(t={}),new h("name",t)}var Rt=new WeakMap;function It(e){var t=Rt.get(e.Parser.acorn||e);if(!t){var r={assert:At(0,{startsExpr:Tt}),asserts:At(0,{startsExpr:Tt}),global:At(0,{startsExpr:Tt}),keyof:At(0,{startsExpr:Tt}),readonly:At(0,{startsExpr:Tt}),unique:At(0,{startsExpr:Tt}),abstract:At(0,{startsExpr:Tt}),declare:At(0,{startsExpr:Tt}),enum:At(0,{startsExpr:Tt}),module:At(0,{startsExpr:Tt}),namespace:At(0,{startsExpr:Tt}),interface:At(0,{startsExpr:Tt}),type:At(0,{startsExpr:Tt})},n={at:new h("@"),jsxName:new h("jsxName"),jsxText:new h("jsxText",{beforeExpr:!0}),jsxTagStart:new h("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new h("jsxTagEnd")},s={tc_oTag:new ne("<tag",!1,!1),tc_cTag:new ne("</tag",!1,!1),tc_expr:new ne("<tag>...</tag>",!0,!0)},a=new RegExp("^(?:"+Object.keys(r).join("|")+")$");n.jsxTagStart.updateContext=function(){this.context.push(s.tc_expr),this.context.push(s.tc_oTag),this.exprAllowed=!1},n.jsxTagEnd.updateContext=function(e){var t=this.context.pop();t===s.tc_oTag&&e===b.slash||t===s.tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===s.tc_expr):this.exprAllowed=!0},t={tokTypes:wt({},r,n),tokContexts:wt({},s),keywordsRegExp:a,tokenIsLiteralPropertyName:function(e){return[b.name,b.string,b.num].concat(Object.values(v),Object.values(r)).includes(e)},tokenIsKeywordOrIdentifier:function(e){return[b.name].concat(Object.values(v),Object.values(r)).includes(e)},tokenIsIdentifier:function(e){return[].concat(Object.values(r),[b.name]).includes(e)},tokenIsTSDeclarationStart:function(e){return[r.abstract,r.declare,r.enum,r.module,r.namespace,r.interface,r.type].includes(e)},tokenIsTSTypeOperator:function(e){return[r.keyof,r.readonly,r.unique].includes(e)},tokenIsTemplate:function(e){return e===b.invalidTemplate}}}return t}var qt=1024,Lt=new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*","y"),Mt=new RegExp("(?=("+Lt.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y"),Nt=function(){this.shorthandAssign=void 0,this.trailingComma=void 0,this.parenthesizedAssign=void 0,this.parenthesizedBind=void 0,this.doubleProto=void 0,this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};function Ot(e,t){var r=t.key.name,n=e[r],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===s||"iset"===n&&"iget"===s||"sget"===n&&"sset"===s||"sset"===n&&"sget"===s?(e[r]="true",!1):!!n||(e[r]=s,!1)}function $t(e,t){var r=e.key;return!e.computed&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}var Dt={AbstractMethodHasImplementation:function(e){return"Method '"+e.methodName+"' cannot have an implementation because it is marked abstract."},AbstractPropertyHasInitializer:function(e){return"Property '"+e.propertyName+"' cannot have an initializer because it is marked abstract."},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",CannotFindName:function(e){return"Cannot find name '"+e.name+"'."},ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:function(e){return"'declare' is not allowed in "+e.kind+"ters."},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:function(){return"Accessibility modifier already seen."},DuplicateModifier:function(e){return"Duplicate modifier: '"+e.modifier+"'."},EmptyHeritageClauseType:function(e){return"'"+e.token+"' list cannot be empty."},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:function(e){var t=e.modifiers;return"'"+t[0]+"' modifier cannot be used with '"+t[1]+"' modifier."},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:function(e){return"Index signatures cannot have an accessibility modifier ('"+e.modifier+"')."},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:function(e){return"'"+e.modifier+"' modifier cannot appear on a type member."},InvalidModifierOnTypeParameter:function(e){return"'"+e.modifier+"' modifier cannot appear on a type parameter."},InvalidModifierOnTypeParameterPositions:function(e){return"'"+e.modifier+"' modifier can only appear on a type parameter of a class, interface or type alias."},InvalidModifiersOrder:function(e){var t=e.orderedModifiers;return"'"+t[0]+"' modifier must precede '"+t[1]+"' modifier."},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:function(e){return"Private elements cannot have an accessibility modifier ('"+e.modifier+"')."},PrivateMethodsHasAccessibility:function(e){return"Private methods cannot have an accessibility modifier ('"+e.modifier+"')."},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter "+t+" should have a trailing comma. Example usage: <"+t+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",GenericsEndWithComma:"Trailing comma is not allowed at the end of generics.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+e.type+"."},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},jt={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Bt=/^[\da-fA-F]+$/,Ft=/^\d+$/;function Vt(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?Vt(e.object)+"."+Vt(e.property):void 0:e}var Ht=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function Ut(e){if(!e)throw new Error("Assert fail")}function zt(e){return"accessor"===e}function Wt(e){return"in"===e||"out"===e}function Gt(e,t){return 2|(e?4:0)|(t?8:0)}function Kt(e){if("MemberExpression"!==e.type)return!1;var t=e.property;return(!e.computed||!("TemplateLiteral"!==t.type||t.expressions.length>0))&&Xt(e.object)}function Xt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Xt(e.object)}function Jt(e){return"private"===e||"public"===e||"protected"===e}const Qt=H.extend(function(e){var t=(e||{}).dts,r=void 0!==t&&t;return function(t){var n=t.acorn||We,s=It(n),a=n.tokTypes,i=n.keywordTypes,o=n.isIdentifierStart,l=n.lineBreak,c=n.isNewLine,u=n.tokContexts,p=n.isIdentifierChar,d=s.tokTypes,h=s.tokContexts,m=s.keywordsRegExp,f=s.tokenIsLiteralPropertyName,y=s.tokenIsTemplate,v=s.tokenIsTSDeclarationStart,g=s.tokenIsIdentifier,b=s.tokenIsKeywordOrIdentifier,x=s.tokenIsTSTypeOperator;function _(e,t,r){void 0===r&&(r=e.length);for(var n=t;n<r;n++){var s=e.charCodeAt(n);if(c(s))return n<r-1&&13===s&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}t=function(e,t,r){var n=r.tokTypes,s=t.tokTypes;return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.takeDecorators=function(e){var t=this.decoratorStack[this.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.decoratorStack[this.decoratorStack.length-1]=[])},r.parseDecorators=function(e){for(var t=this.decoratorStack[this.decoratorStack.length-1];this.match(s.at);){var r=this.parseDecorator();t.push(r)}this.match(n._export)?e||this.unexpected():this.canHaveLeadingDecorator()||this.raise(this.start,"Leading decorators must be attached to a class declaration.")},r.parseDecorator=function(){var e=this.startNode();this.next(),this.decoratorStack.push([]);var t,r=this.start,s=this.startLoc;if(this.match(n.parenL)){var a=this.start,i=this.startLoc;if(this.next(),t=this.parseExpression(),this.expect(n.parenR),this.options.preserveParens){var o=this.startNodeAt(a,i);o.expression=t,t=this.finishNode(o,"ParenthesizedExpression")}}else for(t=this.parseIdent(!1);this.eat(n.dot);){var l=this.startNodeAt(r,s);l.object=t,l.property=this.parseIdent(!0),l.computed=!1,t=this.finishNode(l,"MemberExpression")}return e.expression=this.parseMaybeDecoratorArguments(t),this.decoratorStack.pop(),this.finishNode(e,"Decorator")},r.parseMaybeDecoratorArguments=function(e){if(this.eat(n.parenL)){var t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseExprList(n.parenR,!1),this.finishNode(t,"CallExpression")}return e},t}(e)}(t,s,n),t=function(e,t,r,n){var s=e.tokTypes,a=t.tokTypes,i=e.isNewLine,o=e.isIdentifierChar,l=Object.assign({allowNamespaces:!0,allowNamespacedObjects:!0},n||{});return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.jsx_readToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var r=this.input.charCodeAt(this.pos);switch(r){case 60:case 123:return this.pos===this.start?60===r&&this.exprAllowed?(++this.pos,this.finishToken(a.jsxTagStart)):this.getTokenFromCode(r):(e+=this.input.slice(t,this.pos),this.finishToken(a.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===r?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:i(r)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,r=this.input.charCodeAt(this.pos);return++this.pos,13===r&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.pos),t+=this.jsx_readEntity(),r=this.pos):i(n)?(t+=this.input.slice(r,this.pos),t+=this.jsx_readNewLine(!1),r=this.pos):++this.pos}return t+=this.input.slice(r,this.pos++),this.finishToken(s.string,t)},r.jsx_readEntity=function(){var e,t="",r=0,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");for(var s=++this.pos;this.pos<this.input.length&&r++<10;){if(";"===(n=this.input[this.pos++])){"#"===t[0]?"x"===t[1]?(t=t.substr(2),Bt.test(t)&&(e=String.fromCharCode(parseInt(t,16)))):(t=t.substr(1),Ft.test(t)&&(e=String.fromCharCode(parseInt(t,10)))):e=jt[t];break}t+=n}return e||(this.pos=s,"&")},r.jsx_readWord=function(){var e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(o(e)||45===e);return this.finishToken(a.jsxName,this.input.slice(t,this.pos))},r.jsx_parseIdentifier=function(){var e=this.startNode();return this.type===a.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")},r.jsx_parseNamespacedName=function(){var e=this.start,t=this.startLoc,r=this.jsx_parseIdentifier();if(!l.allowNamespaces||!this.eat(s.colon))return r;var n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsx_parseIdentifier(),this.finishNode(n,"JSXNamespacedName")},r.jsx_parseElementName=function(){if(this.type===a.jsxTagEnd)return"";var e=this.start,t=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==s.dot||"JSXNamespacedName"!==r.type||l.allowNamespacedObjects||this.unexpected();this.eat(s.dot);){var n=this.startNodeAt(e,t);n.object=r,n.property=this.jsx_parseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r},r.jsx_parseAttributeValue=function(){switch(this.type){case s.braceL:var e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case a.jsxTagStart:case s.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}},r.jsx_parseEmptyExpression=function(){var e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)},r.jsx_parseExpressionContainer=function(){var e=this.startNode();return this.next(),e.expression=this.type===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(e,"JSXExpressionContainer")},r.jsx_parseAttribute=function(){var e=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))},r.jsx_parseOpeningElementAt=function(e,t){var r=this.startNodeAt(e,t);r.attributes=[];var n=this.jsx_parseElementName();for(n&&(r.name=n);this.type!==s.slash&&this.type!==a.jsxTagEnd;)r.attributes.push(this.jsx_parseAttribute());return r.selfClosing=this.eat(s.slash),this.expect(a.jsxTagEnd),this.finishNode(r,n?"JSXOpeningElement":"JSXOpeningFragment")},r.jsx_parseClosingElementAt=function(e,t){var r=this.startNodeAt(e,t),n=this.jsx_parseElementName();return n&&(r.name=n),this.expect(a.jsxTagEnd),this.finishNode(r,n?"JSXClosingElement":"JSXClosingFragment")},r.jsx_parseElementAt=function(e,t){var r=this.startNodeAt(e,t),n=[],i=this.jsx_parseOpeningElementAt(e,t),o=null;if(!i.selfClosing){e:for(;;)switch(this.type){case a.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(s.slash)){o=this.jsx_parseClosingElementAt(e,t);break e}n.push(this.jsx_parseElementAt(e,t));break;case a.jsxText:n.push(this.parseExprAtom());break;case s.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Vt(o.name)!==Vt(i.name)&&this.raise(o.start,"Expected corresponding JSX closing tag for <"+Vt(i.name)+">")}var l=i.name?"Element":"Fragment";return r["opening"+l]=i,r["closing"+l]=o,r.children=n,this.type===s.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSX"+l)},r.jsx_parseText=function(){var e=this.parseLiteral(this.value);return e.type="JSXText",e},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},t}(r)}(n,s,t,null==e?void 0:e.jsx),t=function(e,t,r){var n=t.tokTypes,s=r.tokTypes;return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.parseMaybeImportAttributes=function(e){if(this.type===s._with||this.type===n.assert){this.next();var t=this.parseImportAttributes();t&&(e.attributes=t)}},r.parseImportAttributes=function(){this.expect(s.braceL);var e=this.parseWithEntries();return this.expect(s.braceR),e},r.parseWithEntries=function(){var e=[],t=new Set;do{if(this.type===s.braceR)break;var r,n=this.startNode();r=this.type===s.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),n.key=r,t.has(n.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),t.add(n.key.name),this.type!==s.string&&this.raise(this.pos,"Only string is supported as an attribute value"),n.value=this.parseLiteral(this.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(s.comma));return e},t}(e)}(t,s,n);var C=function(e){function t(t,r,n){var s;return(s=e.call(this,t,r,n)||this).preValue=null,s.preToken=null,s.isLookahead=!1,s.isAmbientContext=!1,s.inAbstractClass=!1,s.inType=!1,s.inDisallowConditionalTypesContext=!1,s.maybeInArrowParameters=!1,s.shouldParseArrowReturnType=void 0,s.shouldParseAsyncArrowReturnType=void 0,s.decoratorStack=[[]],s.importOrExportOuterKind=void 0,s.tsParseConstModifier=s.tsParseModifiers.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Dt.InvalidModifierOnTypeParameterPositions}),s}Pt(t,e);var C,w,P,k=t.prototype;return k.getTokenFromCodeInType=function(t){return 62===t||60===t?this.finishOp(a.relational,1):e.prototype.getTokenFromCode.call(this,t)},k.readToken=function(t){if(!this.inType){var r=this.curContext();if(r===h.tc_expr)return this.jsx_readToken();if(r===h.tc_oTag||r===h.tc_cTag){if(o(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(d.jsxTagEnd);if((34===t||39===t)&&r==h.tc_oTag)return this.jsx_readString(t)}if(60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1))return++this.pos,this.finishToken(d.jsxTagStart)}return e.prototype.readToken.call(this,t)},k.getTokenFromCode=function(t){return this.inType?this.getTokenFromCodeInType(t):64===t?(++this.pos,this.finishToken(d.at)):e.prototype.getTokenFromCode.call(this,t)},k.isAbstractClass=function(){return this.ts_isContextual(d.abstract)&&this.lookahead().type===a._class},k.finishNode=function(t,r){return""!==t.type&&0!==t.end?t:e.prototype.finishNode.call(this,t,r)},k.tryParse=function(e,t){void 0===t&&(t=this.cloneCurLookaheadState());var r={node:null};try{return{node:e((function(e){throw void 0===e&&(e=null),r.node=e,r})),error:null,thrown:!1,aborted:!1,failState:null}}catch(e){var n=this.getCurLookaheadState();if(this.setLookaheadState(t),e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}},k.setOptionalParametersError=function(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.startLoc},k.reScan_lt_gt=function(){this.type===a.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))},k.reScan_lt=function(){var e=this.type;return e===a.bitShift?(this.pos-=2,this.finishOp(a.relational,1),a.relational):e},k.resetEndLocation=function(e,t){void 0===t&&(t=this.lastTokEndLoc),e.end=t.column,e.loc.end=t,this.options.ranges&&(e.range[1]=t.column)},k.startNodeAtNode=function(t){return e.prototype.startNodeAt.call(this,t.start,t.loc.start)},k.nextTokenStart=function(){return this.nextTokenStartSince(this.pos)},k.tsHasSomeModifiers=function(e,t){return t.some((function(t){return Jt(t)?e.accessibility===t:!!e[t]}))},k.tsIsStartOfStaticBlocks=function(){return this.isContextual("static")&&123===this.lookaheadCharCode()},k.tsCheckForInvalidTypeCasts=function(e){var t=this;e.forEach((function(e){"TSTypeCastExpression"===(null==e?void 0:e.type)&&t.raise(e.typeAnnotation.start,Dt.UnexpectedTypeAnnotation)}))},k.atPossibleAsyncArrow=function(e){return"Identifier"===e.type&&"async"===e.name&&this.lastTokEndLoc.column===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.potentialArrowAt},k.tsIsIdentifier=function(){return g(this.type)},k.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(a.colon)?this.tsParseTypeOrTypePredicateAnnotation(a.colon):void 0},k.tsTryParseGenericAsyncArrowFunction=function(t,r,n){var s=this;if(this.tsMatchLeftRelational()){var i=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var o=this.tsTryParseAndCatch((function(){var n=s.startNodeAt(t,r);return n.typeParameters=s.tsParseTypeParameters(),e.prototype.parseFunctionParams.call(s,n),n.returnType=s.tsTryParseTypeOrTypePredicateAnnotation(),s.expect(a.arrow),n}));if(this.maybeInArrowParameters=i,o)return e.prototype.parseArrowExpression.call(this,o,null,!0,n)}},k.tsParseTypeArgumentsInExpression=function(){if(this.reScan_lt()===a.relational)return this.tsParseTypeArguments()},k.tsInNoContext=function(e){var t=this.context;this.context=[t[0]];try{return e()}finally{this.context=t}},k.tsTryParseTypeAnnotation=function(){return this.match(a.colon)?this.tsParseTypeAnnotation():void 0},k.isUnparsedContextual=function(e,t){var r=e+t.length;if(this.input.slice(e,r)===t){var n=this.input.charCodeAt(r);return!(p(n)||55296==(64512&n))}return!1},k.isAbstractConstructorSignature=function(){return this.ts_isContextual(d.abstract)&&this.lookahead().type===a._new},k.nextTokenStartSince=function(e){return Ht.lastIndex=e,Ht.test(this.input)?Ht.lastIndex:e},k.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},k.compareLookaheadState=function(e,t){for(var r=0,n=Object.keys(e);r<n.length;r++){var s=n[r];if(e[s]!==t[s])return!1}return!0},k.createLookaheadState=function(){this.value=null,this.context=[this.curContext()]},k.getCurLookaheadState=function(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},k.cloneCurLookaheadState=function(){return{pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context&&this.context.slice(),startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},k.setLookaheadState=function(e){this.pos=e.pos,this.value=e.value,this.endLoc=e.endLoc,this.lastTokEnd=e.lastTokEnd,this.lastTokStart=e.lastTokStart,this.lastTokStartLoc=e.lastTokStartLoc,this.type=e.type,this.start=e.start,this.end=e.end,this.context=e.context,this.startLoc=e.startLoc,this.lastTokEndLoc=e.lastTokEndLoc,this.curLine=e.curLine,this.lineStart=e.lineStart,this.curPosition=e.curPosition,this.containsEsc=e.containsEsc},k.tsLookAhead=function(e){var t=this.getCurLookaheadState(),r=e();return this.setLookaheadState(t),r},k.lookahead=function(e){var t=this.getCurLookaheadState();if(this.createLookaheadState(),this.isLookahead=!0,void 0!==e)for(var r=0;r<e;r++)this.nextToken();else this.nextToken();this.isLookahead=!1;var n=this.getCurLookaheadState();return this.setLookaheadState(t),n},k.readWord=function(){var e=this.readWord1(),t=a.name;return this.keywords.test(e)?t=i[e]:new RegExp(m).test(e)&&(t=d[e]),this.finishToken(t,e)},k.skipBlockComment=function(){var e;this.isLookahead||(e=this.options.onComment&&this.curPosition());var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n,s=t;(n=_(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},k.skipLineComment=function(e){var t,r=this.pos;this.isLookahead||(t=this.options.onComment&&this.curPosition());for(var n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!c(n);)n=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(r+e,this.pos),r,this.pos,t,this.curPosition())},k.finishToken=function(e,t){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.isLookahead||this.updateContext(r)},k.resetStartLocation=function(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)},k.isLineTerminator=function(){return this.eat(a.semi)||e.prototype.canInsertSemicolon.call(this)},k.hasFollowingLineBreak=function(){return Mt.lastIndex=this.end,Mt.test(this.input)},k.addExtra=function(e,t,r,n){if(void 0===n&&(n=!0),e){var s=e.extra=e.extra||{};n?s[t]=r:Object.defineProperty(s,t,{enumerable:n,value:r})}},k.isLiteralPropertyName=function(){return f(this.type)},k.hasPrecedingLineBreak=function(){return l.test(this.input.slice(this.lastTokEndLoc.index,this.start))},k.createIdentifier=function(e,t){return e.name=t,this.finishNode(e,"Identifier")},k.resetStartLocationFromNode=function(e,t){this.resetStartLocation(e,t.start,t.loc.start)},k.isThisParam=function(e){return"Identifier"===e.type&&"this"===e.name},k.isLookaheadContextual=function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)},k.ts_type_isContextual=function(e,t){return e===t&&!this.containsEsc},k.ts_isContextual=function(e){return this.type===e&&!this.containsEsc},k.ts_isContextualWithState=function(e,t){return e.type===t&&!e.containsEsc},k.isContextualWithState=function(e,t){return t.type===a.name&&t.value===e&&!t.containsEsc},k.tsIsStartOfMappedType=function(){return this.next(),this.eat(a.plusMin)?this.ts_isContextual(d.readonly):(this.ts_isContextual(d.readonly)&&this.next(),!!this.match(a.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(a._in))))},k.tsInDisallowConditionalTypesContext=function(e){var t=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.inDisallowConditionalTypesContext=t}},k.tsTryParseType=function(){return this.tsEatThenParseType(a.colon)},k.match=function(e){return this.type===e},k.matchJsx=function(e){return this.type===s.tokTypes[e]},k.ts_eatWithState=function(e,t,r){if(e===r.type){for(var n=0;n<t;n++)this.next();return!0}return!1},k.ts_eatContextualWithState=function(e,t,r){if(m.test(e)){if(this.ts_isContextualWithState(r,d[e])){for(var n=0;n<t;n++)this.next();return!0}return!1}if(!this.isContextualWithState(e,r))return!1;for(var s=0;s<t;s++)this.next();return!0},k.canHaveLeadingDecorator=function(){return this.match(a._class)},k.eatContextual=function(t){return m.test(t)?!!this.ts_isContextual(d[t])&&(this.next(),!0):e.prototype.eatContextual.call(this,t)},k.tsIsExternalModuleReference=function(){return this.isContextual("require")&&40===this.lookaheadCharCode()},k.tsParseExternalModuleReference=function(){var e=this.startNode();return this.expectContextual("require"),this.expect(a.parenL),this.match(a.string)||this.unexpected(),e.expression=this.parseExprAtom(),this.expect(a.parenR),this.finishNode(e,"TSExternalModuleReference")},k.tsParseEntityName=function(e){void 0===e&&(e=!0);for(var t=this.parseIdent(e);this.eat(a.dot);){var r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdent(e),t=this.finishNode(r,"TSQualifiedName")}return t},k.tsParseEnumMember=function(){var e=this.startNode();return e.id=this.match(a.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(a.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")},k.tsParseEnumDeclaration=function(e,t){return void 0===t&&(t={}),t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual("enum"),e.id=this.parseIdent(),this.checkLValSimple(e.id),this.expect(a.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(a.braceR),this.finishNode(e,"TSEnumDeclaration")},k.tsParseModuleBlock=function(){var t=this.startNode();for(e.prototype.enterScope.call(this,512),this.expect(a.braceL),t.body=[];this.type!==a.braceR;){var r=this.parseStatement(null,!0);t.body.push(r)}return this.next(),e.prototype.exitScope.call(this),this.finishNode(t,"TSModuleBlock")},k.tsParseAmbientExternalModuleDeclaration=function(t){return this.ts_isContextual(d.global)?(t.global=!0,t.id=this.parseIdent()):this.match(a.string)?t.id=this.parseLiteral(this.value):this.unexpected(),this.match(a.braceL)?(e.prototype.enterScope.call(this,qt),t.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this)):e.prototype.semicolon.call(this),this.finishNode(t,"TSModuleDeclaration")},k.tsTryParseDeclare=function(e){var t=this;if(!this.isLineTerminator()){var r,n=this.type;return this.isContextual("let")&&(n=a._var,r="let"),this.tsInAmbientContext((function(){if(n===a._function)return e.declare=!0,t.parseFunctionStatement(e,!1,!0);if(n===a._class)return e.declare=!0,t.parseClass(e,!0);if(n===d.enum)return t.tsParseEnumDeclaration(e,{declare:!0});if(n===d.global)return t.tsParseAmbientExternalModuleDeclaration(e);if(n===a._const||n===a._var)return t.match(a._const)&&t.isLookaheadContextual("enum")?(t.expect(a._const),t.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,t.parseVarStatement(e,r||t.value,!0));if(n===d.interface){var s=t.tsParseInterfaceDeclaration(e,{declare:!0});if(s)return s}return g(n)?t.tsParseDeclaration(e,t.value,!0):void 0}))}},k.tsIsListTerminator=function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(a.braceR);case"HeritageClauseElement":return this.match(a.braceL);case"TupleElementTypes":return this.match(a.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}},k.tsParseDelimitedListWorker=function(e,t,r,n){for(var s=[],i=-1;!this.tsIsListTerminator(e);){i=-1;var o=t();if(null==o)return;if(s.push(o),!this.eat(a.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(a.comma))}i=this.lastTokStart}return n&&(n.value=i),s},k.tsParseDelimitedList=function(e,t,r){return function(e){if(null==e)throw new Error("Unexpected "+e+" value.");return e}(this.tsParseDelimitedListWorker(e,t,!0,r))},k.tsParseBracketedList=function(e,t,r,n,s){n||this.expect(r?a.bracketL:a.relational);var i=this.tsParseDelimitedList(e,t,s);return this.expect(r?a.bracketR:a.relational),i},k.tsParseTypeParameterName=function(){return this.parseIdent().name},k.tsEatThenParseType=function(e){return this.match(e)?this.tsNextThenParseType():void 0},k.tsExpectThenParseType=function(e){var t=this;return this.tsDoThenParseType((function(){return t.expect(e)}))},k.tsNextThenParseType=function(){var e=this;return this.tsDoThenParseType((function(){return e.next()}))},k.tsDoThenParseType=function(e){var t=this;return this.tsInType((function(){return e(),t.tsParseType()}))},k.tsSkipParameterStart=function(){if(g(this.type)||this.match(a._this))return this.next(),!0;if(this.match(a.braceL))try{return this.parseObj(!0),!0}catch(e){return!1}if(this.match(a.bracketL)){this.next();try{return this.parseBindingList(a.bracketR,!0,!0),!0}catch(e){return!1}}return!1},k.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(a.parenR)||this.match(a.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(a.colon)||this.match(a.comma)||this.match(a.question)||this.match(a.eq))return!0;if(this.match(a.parenR)&&(this.next(),this.match(a.arrow)))return!0}return!1},k.tsIsStartOfFunctionType=function(){return!!this.tsMatchLeftRelational()||this.match(a.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},k.tsInAllowConditionalTypesContext=function(e){var t=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.inDisallowConditionalTypesContext=t}},k.tsParseBindingListForSignature=function(){var t=this;return e.prototype.parseBindingList.call(this,a.parenR,!0,!0).map((function(e){return"Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&t.raise(e.start,Dt.UnsupportedSignatureParameterKind(e.type)),e}))},k.tsParseTypePredicateAsserts=function(){if(this.type!==d.asserts)return!1;var e=this.containsEsc;return this.next(),!(!g(this.type)&&!this.match(a._this)||(e&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),0))},k.tsParseThisTypeNode=function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")},k.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType((function(){e&&r.expect(a.colon),t.typeAnnotation=r.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")},k.tsParseThisTypePredicate=function(e){this.next();var t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")},k.tsParseThisTypeOrThisTypePredicate=function(){var e=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e},k.tsParseTypePredicatePrefix=function(){var e=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e},k.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var n=t.startNode(),s=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(s&&t.match(a._this)){var i=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===i.type?(n.parameterName=i,n.asserts=!0,n.typeAnnotation=null,i=t.finishNode(n,"TSTypePredicate")):(t.resetStartLocationFromNode(i,n),i.asserts=!0),r.typeAnnotation=i,t.finishNode(r,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return s?(n.parameterName=t.parseIdent(),n.asserts=s,n.typeAnnotation=null,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var l=t.tsParseTypeAnnotation(!1);return n.parameterName=o,n.typeAnnotation=l,n.asserts=s,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))},k.tsFillSignature=function(e,t){var r=e===a.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(a.parenL),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))},k.tsTryNextParseConstantContext=function(){if(this.lookahead().type!==a._const)return null;this.next();var e=this.tsParseTypeReference();return e.typeParameters&&this.raise(e.typeName.start,Dt.CannotFindName({name:"const"})),e},k.tsParseFunctionOrConstructorType=function(e,t){var r=this,n=this.startNode();return"TSConstructorType"===e&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((function(){return r.tsFillSignature(a.arrow,n)})),this.finishNode(n,e)},k.tsParseUnionOrIntersectionType=function(e,t,r){var n=this.startNode(),s=this.eat(r),a=[];do{a.push(t())}while(this.eat(r));return 1!==a.length||s?(n.types=a,this.finishNode(n,e)):a[0]},k.tsCheckTypeAnnotationForReadOnly=function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Dt.UnexpectedReadonly)}},k.tsParseTypeOperator=function(){var e=this.startNode(),t=this.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")},k.tsParseConstraintForInferType=function(){var e=this;if(this.eat(a._extends)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.inDisallowConditionalTypesContext||!this.match(a.question))return t}},k.tsParseInferType=function(){var e=this,t=this.startNode();this.expectContextual("infer");var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")},k.tsParseLiteralTypeNode=function(){var e=this,t=this.startNode();return t.literal=function(){switch(e.type){case a.num:case a.string:case a._true:case a._false:return e.parseExprAtom();default:e.unexpected()}}(),this.finishNode(t,"TSLiteralType")},k.tsParseImportType=function(){var e=this.startNode();return this.expect(a._import),this.expect(a.parenL),this.match(a.string)||this.raise(this.start,Dt.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(a.parenR),this.eat(a.dot)&&(e.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")},k.tsParseTypeQuery=function(){var e=this.startNode();return this.expect(a._typeof),e.exprName=this.match(a._import)?this.tsParseImportType():this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")},k.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(a._in),this.finishNode(e,"TSTypeParameter")},k.tsParseMappedType=function(){var e=this.startNode();return this.expect(a.braceL),this.match(a.plusMin)?(e.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(e.readonly=!0),this.expect(a.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(a.bracketR),this.match(a.plusMin)?(e.optional=this.value,this.next(),this.expect(a.question)):this.eat(a.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(a.braceR),this.finishNode(e,"TSMappedType")},k.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},k.tsParseTupleElementType=function(){var e=this.startLoc,t=this.start,r=this.eat(a.ellipsis),n=this.tsParseType(),s=this.eat(a.question);if(this.eat(a.colon)){var i=this.startNodeAtNode(n);i.optional=s,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(n.start,Dt.InvalidTupleMemberLabel),i.label=n):i.label=n.typeName,i.elementType=this.tsParseType(),n=this.finishNode(i,"TSNamedTupleMember")}else if(s){var o=this.startNodeAtNode(n);o.typeAnnotation=n,n=this.finishNode(o,"TSOptionalType")}if(r){var l=this.startNodeAt(t,e);l.typeAnnotation=n,n=this.finishNode(l,"TSRestType")}return n},k.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1,n=null;return t.elementTypes.forEach((function(t){var s=t.type;!r||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&t.optional||e.raise(t.start,Dt.OptionalTypeBeforeRequired),r||(r="TSNamedTupleMember"===s&&t.optional||"TSOptionalType"===s);var a=s;"TSRestType"===s&&(a=(t=t.typeAnnotation).type);var i="TSNamedTupleMember"===a;null!=n||(n=i),n!==i&&e.raise(t.start,Dt.MixedLabeledAndUnlabeledElements)})),this.finishNode(t,"TSTupleType")},k.tsParseTemplateLiteralType=function(){var e=this.startNode();return e.literal=this.parseTemplate({isTagged:!1}),this.finishNode(e,"TSLiteralType")},k.tsParseTypeReference=function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")},k.tsMatchLeftRelational=function(){return this.match(a.relational)&&"<"===this.value},k.tsMatchRightRelational=function(){return this.match(a.relational)&&">"===this.value},k.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(a.parenL),e.typeAnnotation=this.tsParseType(),this.expect(a.parenR),this.finishNode(e,"TSParenthesizedType")},k.tsParseNonArrayType=function(){switch(this.type){case a.string:case a.num:case a._true:case a._false:return this.tsParseLiteralTypeNode();case a.plusMin:if("-"===this.value){var e=this.startNode();return this.lookahead().type!==a.num&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case a._this:return this.tsParseThisTypeOrThisTypePredicate();case a._typeof:return this.tsParseTypeQuery();case a._import:return this.tsParseImportType();case a.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case a.bracketL:return this.tsParseTupleType();case a.parenL:return this.tsParseParenthesizedType();case a.backQuote:case a.dollarBraceL:return this.tsParseTemplateLiteralType();default:var t=this.type;if(g(t)||t===a._void||t===a._null){var r=t===a._void?"TSVoidKeyword":t===a._null?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.value);if(void 0!==r&&46!==this.lookaheadCharCode()){var n=this.startNode();return this.next(),this.finishNode(n,r)}return this.tsParseTypeReference()}}this.unexpected()},k.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(a.bracketL);)if(this.match(a.bracketR)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(a.bracketR),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(a.bracketR),e=this.finishNode(r,"TSIndexedAccessType")}return e},k.tsParseTypeOperatorOrHigher=function(){var e=this;return x(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return e.tsParseArrayTypeOrHigher()}))},k.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),a.bitwiseAND)},k.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),a.bitwiseOR)},k.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(a._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},k.tsParseType=function(){var e=this;Ut(this.inType);var t=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(a._extends))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(a.question),r.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(a.colon),r.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(r,"TSConditionalType")},k.tsIsUnambiguouslyIndexSignature=function(){return this.next(),!!g(this.type)&&(this.next(),this.match(a.colon))},k.tsInType=function(e){var t=this.inType;this.inType=!0;try{return e()}finally{this.inType=t}},k.tsTryParseIndexSignature=function(e){if(this.match(a.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(a.bracketL);var t=this.parseIdent();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(a.bracketR),e.parameters=[t];var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}},k.tsParseNoneModifiers=function(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Dt.InvalidModifierOnTypeParameterPositions})},k.tsParseTypeParameter=function(e){void 0===e&&(e=this.tsParseNoneModifiers.bind(this));var t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(a._extends),t.default=this.tsEatThenParseType(a.eq),this.finishNode(t,"TSTypeParameter")},k.tsParseTypeParameters=function(e){var t=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();var r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(this.start,Dt.EmptyTypeParameters),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")},k.tsTryParseTypeParameters=function(e){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(e)},k.tsTryParse=function(e){var t=this.getCurLookaheadState(),r=e();return void 0!==r&&!1!==r?r:void this.setLookaheadState(t)},k.tsTokenCanFollowModifier=function(){return(this.match(a.bracketL)||this.match(a.braceL)||this.match(a.star)||this.match(a.ellipsis)||this.match(a.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()},k.tsNextTokenCanFollowModifier=function(){return this.next(!0),this.tsTokenCanFollowModifier()},k.tsParseModifier=function(e,t){if(g(this.type)||this.type===a._in){var r=this.value;if(-1!==e.indexOf(r)&&!this.containsEsc){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}},k.tsParseModifiersByMap=function(e){for(var t=e.modified,r=e.map,n=0,s=Object.keys(r);n<s.length;n++){var a=s[n];t[a]=r[a]}},k.tsParseModifiers=function(e){for(var t=this,r=e.modified,n=e.allowedModifiers,s=e.disallowedModifiers,a=e.stopOnStartOfClassStaticBlock,i=e.errorTemplate,o=void 0===i?Dt.InvalidModifierOnTypeMember:i,l={},c=function(e,n,s,a){n===s&&r[a]&&t.raise(e.column,Dt.InvalidModifiersOrder({orderedModifiers:[s,a]}))},u=function(e,n,s,a){(r[s]&&n===a||r[a]&&n===s)&&t.raise(e.column,Dt.IncompatibleModifiers({modifiers:[s,a]}))};;){var p=this.startLoc,d=this.tsParseModifier(n.concat(null!=s?s:[]),a);if(!d)break;Jt(d)?r.accessibility?this.raise(this.start,Dt.DuplicateAccessibilityModifier()):(c(p,d,d,"override"),c(p,d,d,"static"),c(p,d,d,"readonly"),c(p,d,d,"accessor"),l.accessibility=d,r.accessibility=d):Wt(d)?r[d]?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(c(p,d,"in","out"),l[d]=d,r[d]=!0):zt(d)?r[d]?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(u(p,d,"accessor","readonly"),u(p,d,"accessor","static"),u(p,d,"accessor","override"),l[d]=d,r[d]=!0):Object.hasOwnProperty.call(r,d)?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(c(p,d,"static","readonly"),c(p,d,"static","override"),c(p,d,"override","readonly"),c(p,d,"abstract","override"),u(p,d,"declare","override"),u(p,d,"static","abstract"),l[d]=d,r[d]=!0),null!=s&&s.includes(d)&&this.raise(this.start,o)}return l},k.tsParseInOutModifiers=function(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Dt.InvalidModifierOnTypeParameter})},k.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expect(a.relational),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length&&this.raise(this.start,Dt.EmptyTypeArguments),this.exprAllowed=!1,this.expect(a.relational),this.finishNode(t,"TSTypeParameterInstantiation")},k.tsParseHeritageClause=function(e){var t=this,r=this.start,n=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(),t.tsMatchLeftRelational()&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return n.length||this.raise(r,Dt.EmptyHeritageClauseType({token:e})),n},k.tsParseTypeMemberSemicolon=function(){this.eat(a.comma)||this.isLineTerminator()||this.expect(a.semi)},k.tsTryParseAndCatch=function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&this.setLookaheadState(t.failState),t.node},k.tsParseSignatureMember=function(e,t){return this.tsFillSignature(a.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)},k.tsParsePropertyOrMethodSignature=function(e,t){this.eat(a.question)&&(e.optional=!0);var r=e;if(this.match(a.parenL)||this.tsMatchLeftRelational()){t&&this.raise(e.start,Dt.ReadonlyForMethodSignature);var n=r;n.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,Dt.AccesorCannotHaveTypeParameters),this.tsFillSignature(a.colon,n),this.tsParseTypeMemberSemicolon();var s="parameters",i="typeAnnotation";if("get"===n.kind)n[s].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(n[s][0])&&this.raise(this.start,Dt.AccesorCannotDeclareThisParameter));else if("set"===n.kind){if(1!==n[s].length)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{var o=n[s][0];this.isThisParam(o)&&this.raise(this.start,Dt.AccesorCannotDeclareThisParameter),"Identifier"===o.type&&o.optional&&this.raise(this.start,Dt.SetAccesorCannotHaveOptionalParameter),"RestElement"===o.type&&this.raise(this.start,Dt.SetAccesorCannotHaveRestParameter)}n[i]&&this.raise(n[i].start,Dt.SetAccesorCannotHaveReturnType)}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}var l=r;t&&(l.readonly=!0);var c=this.tsTryParseTypeAnnotation();return c&&(l.typeAnnotation=c),this.tsParseTypeMemberSemicolon(),this.finishNode(l,"TSPropertySignature")},k.tsParseTypeMember=function(){var e=this.startNode();if(this.match(a.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(a._new)){var t=this.startNode();return this.next(),this.match(a.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))},k.tsParseList=function(e,t){for(var r=[];!this.tsIsListTerminator(e);)r.push(t());return r},k.tsParseObjectTypeMembers=function(){this.expect(a.braceL);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(a.braceR),e},k.tsParseInterfaceDeclaration=function(e,t){if(void 0===t&&(t={}),this.hasFollowingLineBreak())return null;this.expectContextual("interface"),t.declare&&(e.declare=!0),g(this.type)?(e.id=this.parseIdent(),this.checkLValSimple(e.id,130)):(e.id=null,this.raise(this.start,Dt.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(a._extends)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},k.tsParseAbstractDeclaration=function(e){if(this.match(a._class))return e.abstract=!0,this.parseClass(e,!0);if(this.ts_isContextual(d.interface)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.tsParseInterfaceDeclaration(e)}else this.unexpected(e.start)},k.tsIsDeclarationStart=function(){return v(this.type)},k.tsParseExpressionStatement=function(t,r){switch(r.name){case"declare":var n=this.tsTryParseDeclare(t);if(n)return n.declare=!0,n;break;case"global":if(this.match(a.braceL)){e.prototype.enterScope.call(this,qt);var s=t;return s.global=!0,s.id=r,s.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,r.name,!1)}},k.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},k.tsIsExportDefaultSpecifier=function(){var e=this.type,t=this.isAsyncFunction(),r=this.isLet();if(g(e)){if(t&&!this.containsEsc||r)return!1;if((e===d.type||e===d.interface)&&!this.containsEsc){var n=this.lookahead();if(g(n.type)&&!this.isContextualWithState("from",n)||n.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;var s=this.nextTokenStart(),i=this.isUnparsedContextual(s,"from");if(44===this.input.charCodeAt(s)||g(this.type)&&i)return!0;if(this.match(a._default)&&i){var o=this.input.charCodeAt(this.nextTokenStartSince(s+4));return 34===o||39===o}return!1},k.tsInAmbientContext=function(e){var t=this.isAmbientContext;this.isAmbientContext=!0;try{return e()}finally{this.isAmbientContext=t}},k.tsCheckLineTerminator=function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},k.tsParseModuleOrNamespaceDeclaration=function(t,r){if(void 0===r&&(r=!1),t.id=this.parseIdent(),r||this.checkLValSimple(t.id,1024),this.eat(a.dot)){var n=this.startNode();this.tsParseModuleOrNamespaceDeclaration(n,!0),t.body=n}else e.prototype.enterScope.call(this,qt),t.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this);return this.finishNode(t,"TSModuleDeclaration")},k.tsParseTypeAliasDeclaration=function(e){var t=this;return e.id=this.parseIdent(),this.checkLValSimple(e.id,2),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers.bind(t)),t.expect(a.eq),t.ts_isContextual(d.interface)&&t.lookahead().type!==a.dot){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},k.tsParseDeclaration=function(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(a._class)||g(this.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(a.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(g(this.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&g(this.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&g(this.type))return this.tsParseTypeAliasDeclaration(e)}},k.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.value,!0)},k.tsParseImportEqualsDeclaration=function(t,r){t.isExport=r||!1,t.id=this.parseIdent(),this.checkLValSimple(t.id,9),e.prototype.expect.call(this,a.eq);var n=this.tsParseModuleReference();return"type"===t.importKind&&"TSExternalModuleReference"!==n.type&&this.raise(n.start,Dt.ImportAliasHasImportType),t.moduleReference=n,e.prototype.semicolon.call(this),this.finishNode(t,"TSImportEqualsDeclaration")},k.isExportDefaultSpecifier=function(){if(this.tsIsDeclarationStart())return!1;var e=this.type;if(g(e)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((e===d.type||e===d.interface)&&!this.containsEsc){var t=this.lookahead();if(g(t.type)&&!this.isContextualWithState("from",t)||t.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;var r=this.nextTokenStart(),n=this.isUnparsedContextual(r,"from");if(44===this.input.charCodeAt(r)||g(this.type)&&n)return!0;if(this.match(a._default)&&n){var s=this.input.charCodeAt(this.nextTokenStartSince(r+4));return 34===s||39===s}return!1},k.parseTemplate=function(e){var t=(void 0===e?{}:e).isTagged,r=void 0!==t&&t,n=this.startNode();this.next(),n.expressions=[];var s=this.parseTemplateElement({isTagged:r});for(n.quasis=[s];!s.tail;)this.type===a.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(a.dollarBraceL),n.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(a.braceR),n.quasis.push(s=this.parseTemplateElement({isTagged:r}));return this.next(),this.finishNode(n,"TemplateLiteral")},k.parseFunction=function(e,t,r,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===a.star&&2&t&&this.unexpected(),e.generator=this.eat(a.star)),this.options.ecmaVersion>=8&&(e.async=!!n),1&t&&(e.id=4&t&&this.type!==a.name?null:this.parseIdent());var i=this.yieldPos,o=this.awaitPos,l=this.awaitIdentPos,c=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Gt(e.async,e.generator)),1&t||(e.id=this.type===a.name?this.parseIdent():null),this.parseFunctionParams(e);var u=1&t;return this.parseFunctionBody(e,r,!1,s,{isFunctionDeclaration:u}),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=l,1&t&&e.id&&!(2&t)&&this.checkLValSimple(e.id,e.body?this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3:0),this.maybeInArrowParameters=c,this.finishNode(e,u?"FunctionDeclaration":"FunctionExpression")},k.parseFunctionBody=function(t,r,n,s,i){void 0===r&&(r=!1),void 0===n&&(n=!1),void 0===s&&(s=!1),this.match(a.colon)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(a.colon));var o=null!=i&&i.isFunctionDeclaration?"TSDeclareFunction":null!=i&&i.isClassMethod?"TSDeclareMethod":void 0;return o&&!this.match(a.braceL)&&this.isLineTerminator()?this.finishNode(t,o):"TSDeclareFunction"===o&&this.isAmbientContext&&(this.raise(t.start,Dt.DeclareFunctionHasImplementation),t.declare)?(e.prototype.parseFunctionBody.call(this,t,r,n,!1),this.finishNode(t,o)):(e.prototype.parseFunctionBody.call(this,t,r,n,s),t)},k.parseNew=function(){var e;this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode(),r=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(a.dot)){t.meta=r;var n=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var s=this.start,i=this.startLoc,o=this.type===a._import;t.callee=this.parseSubscripts(this.parseExprAtom(),s,i,!0,!1),o&&"ImportExpression"===t.callee.type&&this.raise(s,"Cannot use new with import()");var l=t.callee;return"TSInstantiationExpression"!==l.type||null!=(e=l.extra)&&e.parenthesized||(t.typeParameters=l.typeParameters,t.callee=l.expression),t.arguments=this.eat(a.parenL)?this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1):[],this.finishNode(t,"NewExpression")},k.parseExprOp=function(t,r,n,s,i){if(a._in.binop>s&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var o=this.startNodeAt(r,n);o.expression=t;var l=this.tsTryNextParseConstantContext();return o.typeAnnotation=l||this.tsNextThenParseType(),this.finishNode(o,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,n,s,i)}return e.prototype.parseExprOp.call(this,t,r,n,s,i)},k.parseImportSpecifiers=function(){var e=[],t=!0;if(s.tokenIsIdentifier(this.type)&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(a.comma)))return e;if(this.type===a.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(a.braceL);!this.eat(a.braceR);){if(t)t=!1;else if(this.expect(a.comma),this.afterTrailingComma(a.braceR))break;e.push(this.parseImportSpecifier())}return e},k.parseImport=function(e){var t=this.lookahead();if(e.importKind="value",this.importOrExportOuterKind="value",g(t.type)||this.match(a.star)||this.match(a.braceL)){var r=this.lookahead(2);if(r.type!==a.comma&&!this.isContextualWithState("from",r)&&r.type!==a.eq&&this.ts_eatContextualWithState("type",1,t)&&(this.importOrExportOuterKind="type",e.importKind="type",t=this.lookahead(),r=this.lookahead(2)),g(t.type)&&r.type===a.eq){this.next();var n=this.tsParseImportEqualsDeclaration(e);return this.importOrExportOuterKind="value",n}}return this.next(),this.type===a.string?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===a.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(e),this.semicolon(),this.finishNode(e,"ImportDeclaration"),this.importOrExportOuterKind="value","type"===e.importKind&&e.specifiers.length>1&&"ImportDefaultSpecifier"===e.specifiers[0].type&&this.raise(e.start,Dt.TypeImportCannotSpecifyDefaultAndNamed),e},k.parseExportDefaultDeclaration=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0)}if(this.match(d.interface)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return e.prototype.parseExportDefaultDeclaration.call(this)},k.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.parseMaybeImportAttributes(e),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},k.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.eat(a.comma)){var t=this.parseExpression();e.arguments=[t]}if(!this.eat(a.parenR)){var r=this.start;this.eat(a.comma)&&this.eat(a.parenR)?this.raiseRecoverable(r,"Trailing comma is not allowed in import()"):this.unexpected(r)}return this.finishNode(e,"ImportExpression")},k.parseExport=function(e,t){var r=this.lookahead();if(this.ts_eatWithState(a._import,2,r)){this.ts_isContextual(d.type)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.importOrExportOuterKind="type",this.next()):(e.importKind="value",this.importOrExportOuterKind="value");var n=this.tsParseImportEqualsDeclaration(e,!0);return this.importOrExportOuterKind=void 0,n}if(this.ts_eatWithState(a.eq,2,r)){var s=e;return s.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(s,"TSExportAssignment")}if(this.ts_eatContextualWithState("as",2,r)){var i=e;return this.expectContextual("namespace"),i.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(i,"TSNamespaceExportDeclaration")}if(this.ts_isContextualWithState(r,d.type)&&this.lookahead(2).type===a.braceL?(this.next(),this.importOrExportOuterKind="type",e.exportKind="type"):(this.importOrExportOuterKind="value",e.exportKind="value"),this.next(),this.eat(a.star))return this.parseExportAllDeclaration(e,t);if(this.eat(a._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.parseMaybeImportAttributes(e);else{for(var o,l=St(e.specifiers);!(o=l()).done;){var c=o.value;this.checkUnreserved(c.local),this.checkLocalExport(c.local),"Literal"===c.local.type&&this.raise(c.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},k.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),e[t]=!0)},k.parseMaybeDefault=function(t,r,n){var s=e.prototype.parseMaybeDefault.call(this,t,r,n);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(s.typeAnnotation.start,Dt.TypeAnnotationAfterAssign),s},k.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end),e.expression},k.toAssignableList=function(t,r){for(var n=0;n<t.length;n++){var s=t[n];"TSTypeCastExpression"===(null==s?void 0:s.type)&&(t[n]=this.typeCastToParameter(s))}return e.prototype.toAssignableList.call(this,t,r)},k.reportReservedArrowTypeParam=function(e){},k.parseExprAtom=function(t,r,n){if(this.type===d.jsxText)return this.jsx_parseText();if(this.type===d.jsxTagStart)return this.jsx_parseElement();if(this.type===d.at)return this.parseDecorators(),this.parseExprAtom();if(g(this.type)){var s=this.potentialArrowAt===this.start,i=this.start,o=this.startLoc,l=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!l&&"async"===c.name&&!this.canInsertSemicolon()&&this.eat(a._function))return this.overrideContext(u.f_expr),this.parseFunction(this.startNodeAt(i,o),0,!1,!0,r);if(s&&!this.canInsertSemicolon()){if(this.eat(a.arrow))return this.parseArrowExpression(this.startNodeAt(i,o),[c],!1,r);if(this.options.ecmaVersion>=8&&"async"===c.name&&this.type===a.name&&!l&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return c=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(a.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,o),[c],!0,r)}return c}return e.prototype.parseExprAtom.call(this,t,r,n)},k.parseExprAtomDefault=function(){if(g(this.type)){var e=this.potentialArrowAt===this.start,t=this.containsEsc,r=this.parseIdent();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){var n=this.type;if(n===a._function)return this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0,!0);if(g(n)){if(61===this.lookaheadCharCode()){var s=this.parseIdent(!1);return!this.canInsertSemicolon()&&this.eat(a.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(r),[s],!0)}return r}}return e&&this.match(a.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}this.unexpected()},k.parseIdentNode=function(){var t=this.startNode();return b(this.type)?(t.name=this.value,t):e.prototype.parseIdentNode.call(this)},k.parseVarStatement=function(t,r,n){void 0===n&&(n=!1);var s=this.isAmbientContext;this.next(),e.prototype.parseVar.call(this,t,!1,r,n||s),this.semicolon();var a=this.finishNode(t,"VariableDeclaration");if(!s)return a;for(var i,o=St(a.declarations);!(i=o()).done;){var l=i.value,c=l.init;c&&("const"!==r||l.id.typeAnnotation?this.raise(c.start,Dt.InitializerNotAllowedInAmbientContext):"StringLiteral"!==c.type&&"BooleanLiteral"!==c.type&&"NumericLiteral"!==c.type&&"BigIntLiteral"!==c.type&&("TemplateLiteral"!==c.type||c.expressions.length>0)&&!Kt(c)&&this.raise(c.start,Dt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference))}return a},k.parseStatement=function(t,r,n){if(this.match(d.at)&&this.parseDecorators(!0),this.match(a._const)&&this.isLookaheadContextual("enum")){var s=this.startNode();return this.expect(a._const),this.tsParseEnumDeclaration(s,{const:!0})}if(this.ts_isContextual(d.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(d.interface)){var i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return e.prototype.parseStatement.call(this,t,r,n)},k.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},k.parsePostMemberNameModifiers=function(e){this.eat(a.question)&&(e.optional=!0),e.readonly&&this.match(a.parenL)&&this.raise(e.start,Dt.ClassMethodHasReadonly),e.declare&&this.match(a.parenL)&&this.raise(e.start,Dt.ClassMethodHasDeclare)},k.parseExpressionStatement=function(t,r){return("Identifier"===r.type?this.tsParseExpressionStatement(t,r):void 0)||e.prototype.parseExpressionStatement.call(this,t,r)},k.shouldParseExportStatement=function(){return!!this.tsIsDeclarationStart()||!!this.match(d.at)||e.prototype.shouldParseExportStatement.call(this)},k.parseConditional=function(e,t,r,n,s){if(this.eat(a.question)){var i=this.startNodeAt(t,r);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(a.colon),i.alternate=this.parseMaybeAssign(n),this.finishNode(i,"ConditionalExpression")}return e},k.parseMaybeConditional=function(e,t){var r=this,n=this.start,s=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(!this.maybeInArrowParameters||!this.match(a.question))return this.parseConditional(i,n,s,e,t);var o=this.tryParse((function(){return r.parseConditional(i,n,s,e,t)}));return o.node?(o.error&&this.setLookaheadState(o.failState),o.node):(o.error&&this.setOptionalParametersError(t,o.error),i)},k.parseParenItem=function(t){var r=this.start,n=this.startLoc;if(t=e.prototype.parseParenItem.call(this,t),this.eat(a.question)&&(t.optional=!0,this.resetEndLocation(t)),this.match(a.colon)){var s=this.startNodeAt(r,n);return s.expression=t,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return t},k.parseExportDeclaration=function(e){var t=this;if(!this.isAmbientContext&&this.ts_isContextual(d.declare))return this.tsInAmbientContext((function(){return t.parseExportDeclaration(e)}));var r=this.start,n=this.startLoc,s=this.eatContextual("declare");!s||!this.ts_isContextual(d.declare)&&this.shouldParseExportStatement()||this.raise(this.start,Dt.ExpectedAmbientAfterExportDeclare);var a=g(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return a?(("TSInterfaceDeclaration"===a.type||"TSTypeAliasDeclaration"===a.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(a,r,n),a.declare=!0),a):null},k.parseClassId=function(t,r){if(r||!this.isContextual("implements")){e.prototype.parseClassId.call(this,t,r);var n=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));n&&(t.typeParameters=n)}},k.parseClassPropertyAnnotation=function(e){e.optional||("!"===this.value&&this.eat(a.prefix)?e.definite=!0:this.eat(a.question)&&(e.optional=!0));var t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)},k.parseClassField=function(t){if("PrivateIdentifier"===t.key.type)t.abstract&&this.raise(t.start,Dt.PrivateElementHasAbstract),t.accessibility&&this.raise(t.start,Dt.PrivateElementHasAccessibility({modifier:t.accessibility})),this.parseClassPropertyAnnotation(t);else if(this.parseClassPropertyAnnotation(t),this.isAmbientContext&&(!t.readonly||t.typeAnnotation)&&this.match(a.eq)&&this.raise(this.start,Dt.DeclareClassFieldHasInitializer),t.abstract&&this.match(a.eq)){var r=t.key;this.raise(this.start,Dt.AbstractPropertyHasInitializer({propertyName:"Identifier"!==r.type||t.computed?"["+this.input.slice(r.start,r.end)+"]":r.name}))}return e.prototype.parseClassField.call(this,t)},k.parseClassMethod=function(e,t,r,n){var s="constructor"===e.kind,a="PrivateIdentifier"===e.key.type,i=this.tsTryParseTypeParameters();a?(i&&(e.typeParameters=i),e.accessibility&&this.raise(e.start,Dt.PrivateMethodsHasAccessibility({modifier:e.accessibility}))):i&&s&&this.raise(i.start,Dt.ConstructorHasTypeParameters);var o=e.declare,l=e.kind;!(void 0!==o&&o)||"get"!==l&&"set"!==l||this.raise(e.start,Dt.DeclareAccessor({kind:l})),i&&(e.typeParameters=i);var c=e.key;"constructor"===e.kind?(t&&this.raise(c.start,"Constructor can't be a generator"),r&&this.raise(c.start,"Constructor can't be an async method")):e.static&&$t(e,"prototype")&&this.raise(c.start,"Classes may not have a static property named prototype");var u=e.value=this.parseMethod(t,r,n,!0,e);return"get"===e.kind&&0!==u.params.length&&this.raiseRecoverable(u.start,"getter should have no params"),"set"===e.kind&&1!==u.params.length&&this.raiseRecoverable(u.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===u.params[0].type&&this.raiseRecoverable(u.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},k.isClassMethod=function(){return this.match(a.relational)},k.parseClassElement=function(t){var r=this;if(this.eat(a.semi))return null;var n,s=this.options.ecmaVersion,i=this.startNode(),o="",l=!1,c=!1,u="method",p=["declare","private","public","protected","accessor","override","abstract","readonly","static"],d=this.tsParseModifiers({modified:i,allowedModifiers:p,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Dt.InvalidModifierOnTypeParameterPositions});n=Boolean(d.static);var h=function(){if(!r.tsIsStartOfStaticBlocks()){var d=r.tsTryParseIndexSignature(i);if(d)return i.abstract&&r.raise(i.start,Dt.IndexSignatureHasAbstract),i.accessibility&&r.raise(i.start,Dt.IndexSignatureHasAccessibility({modifier:i.accessibility})),i.declare&&r.raise(i.start,Dt.IndexSignatureHasDeclare),i.override&&r.raise(i.start,Dt.IndexSignatureHasOverride),d;if(!r.inAbstractClass&&i.abstract&&r.raise(i.start,Dt.NonAbstractClassHasAbstractMethod),i.override&&t&&r.raise(i.start,Dt.OverrideNotInSubClass),i.static=n,n&&(r.isClassElementNameStart()||r.type===a.star||(o="static")),!o&&s>=8&&r.eatContextual("async")&&(!r.isClassElementNameStart()&&r.type!==a.star||r.canInsertSemicolon()?o="async":c=!0),!o&&(s>=9||!c)&&r.eat(a.star)&&(l=!0),!o&&!c&&!l){var h=r.value;(r.eatContextual("get")||r.eatContextual("set"))&&(r.isClassElementNameStart()?u=h:o=h)}if(o?(i.computed=!1,i.key=r.startNodeAt(r.lastTokStart,r.lastTokStartLoc),i.key.name=o,r.finishNode(i.key,"Identifier")):r.parseClassElementName(i),r.parsePostMemberNameModifiers(i),r.isClassMethod()||s<13||r.type===a.parenL||"method"!==u||l||c){var m=!i.static&&$t(i,"constructor"),f=m&&t;m&&"method"!==u&&r.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=m?"constructor":u,r.parseClassMethod(i,l,c,f)}else r.parseClassField(i);return i}if(r.next(),r.next(),r.tsHasSomeModifiers(i,p)&&r.raise(r.start,Dt.StaticBlockCannotHaveModifier),s>=13)return e.prototype.parseClassStaticBlock.call(r,i),i};return i.declare?this.tsInAmbientContext(h):h(),i},k.isClassElementNameStart=function(){return!!this.tsIsIdentifier()||e.prototype.isClassElementNameStart.call(this)},k.parseClassSuper=function(t){e.prototype.parseClassSuper.call(this,t),t.superClass&&(this.tsMatchLeftRelational()||this.match(a.bitShift))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(t.implements=this.tsParseHeritageClause("implements"))},k.parseFunctionParams=function(t){var r=this.tsTryParseTypeParameters();r&&(t.typeParameters=r),e.prototype.parseFunctionParams.call(this,t)},k.parseVarId=function(t,r){e.prototype.parseVarId.call(this,t,r),"Identifier"===t.id.type&&!this.hasPrecedingLineBreak()&&"!"===this.value&&this.eat(a.prefix)&&(t.definite=!0);var n=this.tsTryParseTypeAnnotation();n&&(t.id.typeAnnotation=n,this.resetEndLocation(t.id))},k.parseArrowExpression=function(e,t,r,n){this.match(a.colon)&&(e.returnType=this.tsParseTypeAnnotation());var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;this.enterScope(16|Gt(r,!1)),this.initFunction(e);var l=this.maybeInArrowParameters;return this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,e.params=this.toAssignableList(t,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.maybeInArrowParameters=l,this.finishNode(e,"ArrowFunctionExpression")},k.parseMaybeAssignOrigin=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,s=-1,i=-1,o=-1;t?(s=t.parenthesizedAssign,i=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Nt,n=!0);var l=this.start,c=this.startLoc;(this.type===a.parenL||g(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var u=this.parseMaybeConditional(e,t);if(r&&(u=r.call(this,u,l,c)),this.type.isAssign){var p=this.startNodeAt(l,c);return p.operator=this.value,this.type===a.eq&&(u=this.toAssignable(u,!0,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=u.start&&(t.shorthandAssign=-1),this.type===a.eq?this.checkLValPattern(u):this.checkLValSimple(u),p.left=u,this.next(),p.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(p,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),i>-1&&(t.trailingComma=i),u},k.parseMaybeAssign=function(e,t,r){var n,a,i,o,l,c,u,p,d,h,m,f=this;if(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational()){if(p=this.cloneCurLookaheadState(),!(d=this.tryParse((function(){return f.parseMaybeAssignOrigin(e,t,r)}),p)).error)return d.node;var y=this.context,v=y[y.length-1];v===s.tokContexts.tc_oTag&&y[y.length-2]===s.tokContexts.tc_expr?(y.pop(),y.pop()):v!==s.tokContexts.tc_oTag&&v!==s.tokContexts.tc_expr||y.pop()}if(!(null!=(n=d)&&n.error||this.tsMatchLeftRelational()))return this.parseMaybeAssignOrigin(e,t,r);p&&!this.compareLookaheadState(p,this.getCurLookaheadState())||(p=this.cloneCurLookaheadState());var g=this.tryParse((function(n){var s,a;m=f.tsParseTypeParameters();var i=f.parseMaybeAssignOrigin(e,t,r);return("ArrowFunctionExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized)&&n(),0!==(null==(a=m)?void 0:a.params.length)&&f.resetStartLocationFromNode(i,m),i.typeParameters=m,i}),p);if(!g.error&&!g.aborted)return m&&this.reportReservedArrowTypeParam(m),g.node;if(!d&&(Ut(!0),!(h=this.tryParse((function(){return f.parseMaybeAssignOrigin(e,t,r)}),p)).error))return h.node;if(null!=(a=d)&&a.node)return this.setLookaheadState(d.failState),d.node;if(g.node)return this.setLookaheadState(g.failState),m&&this.reportReservedArrowTypeParam(m),g.node;if(null!=(i=h)&&i.node)return this.setLookaheadState(h.failState),h.node;if(null!=(o=d)&&o.thrown)throw d.error;if(g.thrown)throw g.error;if(null!=(l=h)&&l.thrown)throw h.error;throw(null==(c=d)?void 0:c.error)||g.error||(null==(u=h)?void 0:u.error)},k.parseAssignableListItem=function(e){for(var t=[];this.match(d.at);)t.push(this.parseDecorator());var r,n=this.start,s=this.startLoc,a=!1,i=!1;if(void 0!==e){var o={};this.tsParseModifiers({modified:o,allowedModifiers:["public","private","protected","override","readonly"]}),r=o.accessibility,i=o.override,a=o.readonly,!1===e&&(r||a||i)&&this.raise(s.start,Dt.UnexpectedParameterModifier)}var l=this.parseMaybeDefault(n,s);this.parseBindingListItem(l);var c=this.parseMaybeDefault(l.start,l.loc,l);if(t.length&&(c.decorators=t),r||a||i){var u=this.startNodeAt(n,s);return r&&(u.accessibility=r),a&&(u.readonly=a),i&&(u.override=i),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(u.start,Dt.UnsupportedParameterPropertyKind),u.parameter=c,this.finishNode(u,"TSParameterProperty")}return c},k.checkLValInnerPattern=function(t,r,n){void 0===r&&(r=64),"TSParameterProperty"===t.type?this.checkLValInnerPattern(t.parameter,r,n):e.prototype.checkLValInnerPattern.call(this,t,r,n)},k.parseBindingListItem=function(e){this.eat(a.question)&&("Identifier"===e.type||this.isAmbientContext||this.inType||this.raise(e.start,Dt.PatternIsOptional),e.optional=!0);var t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e},k.isAssignable=function(e,t){var r=this;switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":var n=e.properties.length-1;return e.properties.every((function(e,t){return"ObjectMethod"!==e.type&&(t===n||"SpreadElement"!==e.type)&&r.isAssignable(e)}));case"Property":case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((function(e){return null===e||r.isAssignable(e)}));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}},k.toAssignable=function(t,r,n){switch(void 0===r&&(r=!1),void 0===n&&(n=new Nt),t.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(t,r,n);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return r||this.raise(t.start,Dt.UnexpectedTypeCastInParameter),this.toAssignable(t.expression,r,n);case"MemberExpression":break;case"AssignmentExpression":return r||"TSTypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),e.prototype.toAssignable.call(this,t,r,n);case"TSTypeCastExpression":return this.typeCastToParameter(t);default:return e.prototype.toAssignable.call(this,t,r,n)}return t},k.toAssignableParenthesizedExpression=function(t,r,n){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return this.toAssignable(t.expression,r,n);default:return e.prototype.toAssignable.call(this,t,r,n)}},k.curPosition=function(){if(this.options.locations){var t=e.prototype.curPosition.call(this);return Object.defineProperty(t,"offset",{get:function(){return function(e){var t=new n.Position(this.line,this.column+e);return t.index=this.index+e,t}}}),t.index=this.pos,t}},k.parseBindingAtom=function(){return this.type===a._this?this.parseIdent(!0):e.prototype.parseBindingAtom.call(this)},k.shouldParseArrow=function(e){var t,r=this;if(t=this.match(a.colon)?e.every((function(e){return r.isAssignable(e,!0)})):!this.canInsertSemicolon()){if(this.match(a.colon)){var n=this.tryParse((function(e){var t=r.tsParseTypeOrTypePredicateAnnotation(a.colon);return!r.canInsertSemicolon()&&r.match(a.arrow)||e(),t}));if(n.aborted)return this.shouldParseArrowReturnType=void 0,!1;n.thrown||(n.error&&this.setLookaheadState(n.failState),this.shouldParseArrowReturnType=n.node)}return!!this.match(a.arrow)||(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,t},k.parseParenArrowList=function(e,t,r,n){var s=this.startNodeAt(e,t);return s.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression(s,r,!1,n)},k.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,s=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){var o=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();var l,c=this.start,u=this.startLoc,p=[],d=!0,h=!1,m=new Nt,f=this.yieldPos,y=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==a.parenR;){if(d?d=!1:this.expect(a.comma),i&&this.afterTrailingComma(a.parenR,!0)){h=!0;break}if(this.type===a.ellipsis){l=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===a.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(t,m,this.parseParenItem))}var v=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(a.parenR),this.maybeInArrowParameters=o,e&&this.shouldParseArrow(p)&&this.eat(a.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=y,this.parseParenArrowList(n,s,p,t);p.length&&!h||this.unexpected(this.lastTokStart),l&&this.unexpected(l),this.checkExpressionErrors(m,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=y||this.awaitPos,p.length>1?((r=this.startNodeAt(c,u)).expressions=p,this.finishNodeAt(r,"SequenceExpression",v,g)):r=p[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(n,s);return b.expression=r,this.finishNode(b,"ParenthesizedExpression")}return r},k.parseTaggedTemplateExpression=function(e,t,r,n){var s=this.startNodeAt(t,r);return s.tag=e,s.quasi=this.parseTemplate({isTagged:!0}),n&&this.raise(t,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode(s,"TaggedTemplateExpression")},k.shouldParseAsyncArrow=function(){var e=this;if(!this.match(a.colon))return!this.canInsertSemicolon()&&this.eat(a.arrow);var t=this.tryParse((function(t){var r=e.tsParseTypeOrTypePredicateAnnotation(a.colon);return!e.canInsertSemicolon()&&e.match(a.arrow)||t(),r}));return t.aborted?(this.shouldParseAsyncArrowReturnType=void 0,!1):t.thrown?void 0:(t.error&&this.setLookaheadState(t.failState),this.shouldParseAsyncArrowReturnType=t.node,!this.canInsertSemicolon()&&this.eat(a.arrow))},k.parseSubscriptAsyncArrow=function(e,t,r,n){var s=this.startNodeAt(e,t);return s.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression(s,r,!0,n)},k.parseExprList=function(e,t,r,n){for(var s=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(a.comma),t&&this.afterTrailingComma(e))break;var o=void 0;r&&this.type===a.comma?o=null:this.type===a.ellipsis?(o=this.parseSpread(n),n&&this.type===a.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):o=this.parseMaybeAssign(!1,n,this.parseParenItem),s.push(o)}return s},k.parseSubscript=function(e,t,r,n,s,i,o){var l=this,c=i;if(!this.hasPrecedingLineBreak()&&"!"===this.value&&this.match(a.prefix)){this.exprAllowed=!1,this.next();var u=this.startNodeAt(t,r);return u.expression=e,e=this.finishNode(u,"TSNonNullExpression")}var p=!1;if(this.match(a.questionDot)&&60===this.lookaheadCharCode()){if(n)return e;e.optional=!0,c=p=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(a.bitShift)){var d,h=this.tsTryParseAndCatch((function(){if(!n&&l.atPossibleAsyncArrow(e)){var s=l.tsTryParseGenericAsyncArrowFunction(t,r,o);if(s)return e=s}var i=l.tsParseTypeArgumentsInExpression();if(!i)return e;if(p&&!l.match(a.parenL))return d=l.curPosition(),e;if(y(l.type)||l.type===a.backQuote){var u=l.parseTaggedTemplateExpression(e,t,r,c);return u.typeParameters=i,u}if(!n&&l.eat(a.parenL)){var h=new Nt,m=l.startNodeAt(t,r);return m.callee=e,m.arguments=l.parseExprList(a.parenR,l.options.ecmaVersion>=8,!1,h),l.tsCheckForInvalidTypeCasts(m.arguments),m.typeParameters=i,c&&(m.optional=p),l.checkExpressionErrors(h,!0),e=l.finishNode(m,"CallExpression")}var f=l.type;if(!(l.tsMatchRightRelational()||f===a.bitShift||f!==a.parenL&&(v=f,Boolean(v.startsExpr))&&!l.hasPrecedingLineBreak())){var v,g=l.startNodeAt(t,r);return g.expression=e,g.typeParameters=i,l.finishNode(g,"TSInstantiationExpression")}}));if(d&&this.unexpected(d),h)return"TSInstantiationExpression"===h.type&&(this.match(a.dot)||this.match(a.questionDot)&&40!==this.lookaheadCharCode())&&this.raise(this.start,Dt.InvalidPropertyAccessAfterInstantiationExpression),e=h}var m=this.options.ecmaVersion>=11,f=m&&this.eat(a.questionDot);n&&f&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var v=this.eat(a.bracketL);if(v||f&&this.type!==a.parenL&&this.type!==a.backQuote||this.eat(a.dot)){var g=this.startNodeAt(t,r);g.object=e,v?(g.property=this.parseExpression(),this.expect(a.bracketR)):g.property=this.type===a.privateId&&"Super"!==e.type?this.parsePrivateIdent():this.parseIdent("never"!==this.options.allowReserved),g.computed=!!v,m&&(g.optional=f),e=this.finishNode(g,"MemberExpression")}else if(!n&&this.eat(a.parenL)){var b=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var x=new Nt,_=this.yieldPos,C=this.awaitPos,w=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var P=this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1,x);if(s&&!f&&this.shouldParseAsyncArrow())this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=C,this.awaitIdentPos=w,e=this.parseSubscriptAsyncArrow(t,r,P,o);else{this.checkExpressionErrors(x,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=w||this.awaitIdentPos;var k=this.startNodeAt(t,r);k.callee=e,k.arguments=P,m&&(k.optional=f),e=this.finishNode(k,"CallExpression")}this.maybeInArrowParameters=b}else if(this.type===a.backQuote){(f||c)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var E=this.startNodeAt(t,r);E.tag=e,E.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(E,"TaggedTemplateExpression")}return e},k.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1,r=e.value.params[0],n=r&&this.isThisParam(r);e.value.params.length!==(t=n?t+1:t)?this.raiseRecoverable(e.value.start,"get"===e.kind?"getter should have no params":"setter should have exactly one param"):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},k.parseProperty=function(t,r){if(!t){var n=[];if(this.match(d.at))for(;this.match(d.at);)n.push(this.parseDecorator());var s=e.prototype.parseProperty.call(this,t,r);return"SpreadElement"===s.type&&n.length&&this.raise(s.start,"Decorators can't be used with SpreadElement"),n.length&&(s.decorators=n,n=[]),s}return e.prototype.parseProperty.call(this,t,r)},k.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2);var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r,this.resetEndLocation(e)),this.expect(a.parenR),e},k.parseClass=function(e,t){var r=this.inAbstractClass;this.inAbstractClass=!!e.abstract;try{this.next(),this.takeDecorators(e);var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),i=this.startNode(),o=!1;i.body=[];var l=[];for(this.expect(a.braceL);this.type!==a.braceR;)if(this.match(d.at))l.push(this.parseDecorator());else{var c=this.parseClassElement(null!==e.superClass);l.length&&(c.decorators=l,this.resetStartLocationFromNode(c,l[0]),l=[]),c&&(i.body.push(c),"MethodDefinition"===c.type&&"constructor"===c.kind&&"FunctionExpression"===c.value.type?(o&&this.raiseRecoverable(c.start,"Duplicate constructor in the same class"),o=!0,c.decorators&&c.decorators.length>0&&this.raise(c.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")):c.key&&"PrivateIdentifier"===c.key.type&&Ot(s,c)&&this.raiseRecoverable(c.key.start,"Identifier '#"+c.key.name+"' has already been declared"))}return this.strict=n,this.next(),l.length&&this.raise(this.start,"Decorators must be attached to a class element."),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=r}},k.parseClassFunctionParams=function(){var e=this.tsTryParseTypeParameters(this.tsParseConstModifier),t=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8,!0);return e&&(t.typeParameters=e),t},k.parseMethod=function(e,t,r,n,s){var i=this.startNode(),o=this.yieldPos,l=this.awaitPos,c=this.awaitIdentPos;if(this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Gt(t,i.generator)|(r?128:0)),this.expect(a.parenL),i.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1,{isClassMethod:n}),this.yieldPos=o,this.awaitPos=l,this.awaitIdentPos=c,s&&s.abstract&&i.body){var u=s.key;this.raise(s.start,Dt.AbstractMethodHasImplementation({methodName:"Identifier"!==u.type||s.computed?"["+this.input.slice(u.start,u.end)+"]":u.name}))}return this.finishNode(i,"FunctionExpression")},t.parse=function(e,t){if(!1===t.locations)throw new Error("You have to enable options.locations while using acorn-typescript");t.locations=!0;var n=new this(t,e);return r&&(n.isAmbientContext=!0),n.parse()},t.parseExpressionAt=function(e,t,n){if(!1===n.locations)throw new Error("You have to enable options.locations while using acorn-typescript");n.locations=!0;var s=new this(n,e,t);return r&&(s.isAmbientContext=!0),s.nextToken(),s.parseExpression()},k.parseImportSpecifier=function(){if(this.ts_isContextual(d.type)){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(t,!0,"type"===this.importOrExportOuterKind),this.finishNode(t,"ImportSpecifier")}var r=e.prototype.parseImportSpecifier.call(this);return r.importKind="value",r},k.parseExportSpecifier=function(t){var r=this.ts_isContextual(d.type);if(!this.match(a.string)&&r){var n=this.startNode();return n.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(n,!1,"type"===this.importOrExportOuterKind),this.finishNode(n,"ExportSpecifier"),this.checkExport(t,n.exported,n.exported.start),n}var s=e.prototype.parseExportSpecifier.call(this,t);return s.exportKind="value",s},k.parseTypeOnlyImportExportSpecifier=function(t,r,n){var s,a=r?"imported":"local",i=r?"local":"exported",o=t[a],l=!1,c=!0,u=o.start;if(this.isContextual("as")){var p=this.parseIdent();if(this.isContextual("as")){var d=this.parseIdent();b(this.type)?(l=!0,o=p,s=r?this.parseIdent():this.parseModuleExportName(),c=!1):(s=d,c=!1)}else b(this.type)?(c=!1,s=r?this.parseIdent():this.parseModuleExportName()):(l=!0,o=p)}else b(this.type)&&(l=!0,r?(o=e.prototype.parseIdent.call(this,!0),this.isContextual("as")||this.checkUnreserved(o)):o=this.parseModuleExportName());l&&n&&this.raise(u,r?Dt.TypeModifierIsUsedInTypeImports:Dt.TypeModifierIsUsedInTypeExports),t[a]=o,t[i]=s,t[r?"importKind":"exportKind"]=l?"type":"value",c&&this.eatContextual("as")&&(t[i]=r?this.parseIdent():this.parseModuleExportName()),t[i]||(t[i]=this.copyNode(t[a])),r&&this.checkLValSimple(t[i],9)},k.raiseCommonCheck=function(t,r,n){return"Comma is not permitted after the rest element"===r?this.isAmbientContext&&this.match(a.comma)&&41===this.lookaheadCharCode()?void this.next():e.prototype.raise.call(this,t,r):n?e.prototype.raiseRecoverable.call(this,t,r):e.prototype.raise.call(this,t,r)},k.raiseRecoverable=function(e,t){return this.raiseCommonCheck(e,t,!0)},k.raise=function(e,t){return this.raiseCommonCheck(e,t,!0)},k.updateContext=function(t){var r=this.type;if(r==a.braceL){var n=this.curContext();n==h.tc_oTag?this.context.push(u.b_expr):n==h.tc_expr?this.context.push(u.b_tmpl):e.prototype.updateContext.call(this,t),this.exprAllowed=!0}else{if(r!==a.slash||t!==d.jsxTagStart)return e.prototype.updateContext.call(this,t);this.context.length-=2,this.context.push(h.tc_cTag),this.exprAllowed=!1}},k.jsx_parseOpeningElementAt=function(e,t){var r=this,n=this.startNodeAt(e,t),s=this.jsx_parseElementName();if(s&&(n.name=s),this.match(a.relational)||this.match(a.bitShift)){var i=this.tsTryParseAndCatch((function(){return r.tsParseTypeArgumentsInExpression()}));i&&(n.typeParameters=i)}for(n.attributes=[];this.type!==a.slash&&this.type!==d.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(a.slash),this.expect(d.jsxTagEnd),this.finishNode(n,s?"JSXOpeningElement":"JSXOpeningFragment")},C=t,P=[{key:"acornTypeScript",get:function(){return s}}],(w=[{key:"acornTypeScript",get:function(){return s}}])&&Ct(C.prototype,w),P&&Ct(C,P),Object.defineProperty(C,"prototype",{writable:!1}),t}(t);return C}}());function Yt(e,t){const r=t?Qt:H,{onComment:n,add_comments:s}=er(e),a=r.parse(e,{onComment:n,sourceType:"module",ecmaVersion:13,locations:!0});return t&&tr(e,a),s(a),a}function Zt(e,t,r){const n=t?Qt:H,{onComment:s,add_comments:a}=er(e),i=n.parseExpressionAt(e,r,{onComment:s,sourceType:"module",ecmaVersion:13,locations:!0});return t&&tr(e,i),a(i),i}function er(e){const t=[];return{onComment:(r,n,s,a)=>{if(r&&/\n/.test(n)){let t=s;for(;t>0&&"\n"!==e[t-1];)t-=1;let r=t;for(;/[ \t]/.test(e[r]);)r+=1;const a=e.slice(t,r);n=n.replace(new RegExp(`^${a}`,"gm"),"")}t.push({type:r?"Block":"Line",value:n,start:s,end:a})},add_comments(r){0!==t.length&&_t(r,null,{_(r,{next:n}){let s;for(;t[0]&&t[0].start<r.start;)s=t.shift(),(r.leadingComments||=[]).push(s);if(n(),t[0]){const n=e.slice(r.end,t[0].start);/^[,) \t]*$/.test(n)&&(r.trailingComments=[t.shift()])}}})}}}function tr(e,t){return _t(t,null,{_(t,r){if(delete t.loc.start.index,delete t.loc.end.index,t.typeAnnotation&&void 0===t.end){let r=t.typeAnnotation.start;for(;/\s/.test(e[r-1]);)r-=1;t.end=r}r.next()}})}function rr(e,t="or"){return 1===e.length?e[0]:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}const nr={TODO:e=>`TODO ${e}`,INTERNAL:e=>`Internal compiler error: ${e}. Please report this to https://github.com/sveltejs/svelte/issues`,"unclosed-element":e=>`<${e}> was left open`,"unclosed-block":()=>"Block was left open","unexpected-block-close":()=>"Unexpected block closing tag","unexpected-eof":e=>"Unexpected end of input"+(e?` (expected ${e})`:""),"js-parse-error":e=>e,"expected-token":e=>`Expected token ${e}`,"unexpected-reserved-word":e=>`'${e}' is a reserved word in JavaScript and cannot be used here`,"missing-whitespace":()=>"Expected whitespace","expected-pattern":()=>"Expected identifier or destructure pattern","invalid-script-context":()=>'If the context attribute is supplied, its value must be "module"',"invalid-elseif":()=>"'elseif' should be 'else if'","invalid-continuing-block-placement":()=>"{:...} block is invalid at this position (did you forget to close the preceeding element or block?)","invalid-block-missing-parent":(e,t)=>`${e} block must be a child of ${t}`,"duplicate-block-part":e=>`${e} cannot appear more than once within a block`,"expected-block-type":()=>"Expected 'if', 'each', 'await', 'key' or 'snippet'","expected-identifier":()=>"Expected an identifier","invalid-debug":()=>"{@debug ...} arguments must be identifiers, not arbitrary expressions","invalid-const":()=>"{@const ...} must be an assignment","invalid-block-placement":(e,t)=>`{#${t} ...} block cannot be ${e}`,"invalid-tag-placement":(e,t)=>`{@${t} ...} tag cannot be ${e}`,"missing-attribute-value":()=>"Expected attribute value","unclosed-attribute-value":e=>`Expected closing ${e} character`,"invalid-directive-value":()=>"Directive value must be a JavaScript expression enclosed in curly braces","empty-directive-name":e=>`${e} name cannot be empty`,"invalid-closing-tag":e=>`</${e}> attempted to close an element that was not open`,"invalid-closing-tag-after-autoclose":(e,t)=>`</${e}> attempted to close element that was already automatically closed by <${t}>`,"invalid-dollar-binding":()=>"The $ name is reserved, and cannot be used for variables and imports","invalid-dollar-prefix":()=>"The $ prefix is reserved, and cannot be used for variables and imports","invalid-dollar-global":()=>"The $ name is reserved. To reference a global variable called $, use globalThis.$","illegal-subscription":()=>'Cannot reference store value inside <script context="module">',"duplicate-style-element":()=>"A component can have a single top-level <style> element","duplicate-script-element":()=>'A component can have a single top-level <script> element and/or a single top-level <script context="module"> element',"css-parse-error":e=>e,"invalid-css-empty-declaration":()=>"Declaration cannot be empty","invalid-css-global-placement":()=>":global(...) can be at the start or end of a selector sequence, but not in the middle","invalid-css-global-selector":()=>":global(...) must contain exactly one selector","invalid-css-global-selector-list":()=>":global(...) cannot be used to modify a selector, or be modified by another selector","invalid-css-selector":()=>"Invalid selector","invalid-css-identifier":()=>"Expected a valid CSS identifier",...{"invalid-svelte-option-attribute":()=>"<svelte:options> can only receive static attributes","invalid-svelte-option-namespace":()=>'Unsupported <svelte:option> value for "namespace". Valid values are "html", "svg" or "foreign".',"tag-option-deprecated":()=>'"tag" option is deprecated — use "customElement" instead',"invalid-svelte-option-runes":()=>'Unsupported <svelte:option> value for "runes". Valid values are true or false.',"invalid-svelte-option-accessors":()=>'Unsupported <svelte:option> value for "accessors". Valid values are true or false.',"invalid-svelte-option-preserveWhitespace":()=>'Unsupported <svelte:option> value for "preserveWhitespace". Valid values are true or false.',"invalid-svelte-option-immutable":()=>'Unsupported <svelte:option> value for "immutable". Valid values are true or false.',"invalid-tag-property":()=>'tag name must be two or more words joined by the "-" character',"invalid-svelte-option-customElement":()=>'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }',"invalid-customElement-props-attribute":()=>'"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"',"invalid-customElement-shadow-attribute":()=>'"shadow" must be either "open" or "none"',"unknown-svelte-option-attribute":e=>`<svelte:options> unknown attribute '${e}'`,"illegal-svelte-head-attribute":()=>"<svelte:head> cannot have attributes nor directives","invalid-svelte-fragment-attribute":()=>"<svelte:fragment> can only have a slot attribute and (optionally) a let: directive","invalid-svelte-fragment-slot":()=>"<svelte:fragment> slot attribute must have a static value","invalid-svelte-fragment-placement":()=>"<svelte:fragment> must be the direct child of a component","invalid-svelte-element-placement":e=>`<${e}> tags cannot be inside elements or blocks`,"duplicate-svelte-element":e=>`A component can only have one <${e}> element`,"invalid-self-placement":()=>"<svelte:self> components can only exist inside {#if} blocks, {#each} blocks, {#snippet} blocks or slots passed to components","missing-svelte-element-definition":()=>"<svelte:element> must have a 'this' attribute","missing-svelte-component-definition":()=>"<svelte:component> must have a 'this' attribute","invalid-svelte-element-definition":()=>"Invalid element definition — must be an {expression}","invalid-svelte-component-definition":()=>"Invalid component definition — must be an {expression}","invalid-svelte-tag":(e,t)=>`Valid <svelte:...> tag names are ${rr(e)}${t?" (did you mean "+t+"?)":""}`},...{"invalid-legacy-props":()=>"Cannot use $$props in runes mode","invalid-legacy-rest-props":()=>"Cannot use $$restProps in runes mode","invalid-legacy-reactive-statement":()=>"$: is not allowed in runes mode, use $derived or $effect instead","invalid-legacy-export":()=>"Cannot use `export let` in runes mode — use $props instead","invalid-rune-usage":e=>`Cannot use ${e} rune in non-runes mode`,"invalid-state-export":()=>"Cannot export state if it is reassigned","invalid-derived-export":()=>"Cannot export derived state","invalid-props-id":()=>"$props() can only be used with an object destructuring pattern","invalid-props-pattern":()=>"$props() assignment must not contain nested properties or computed keys","invalid-props-location":()=>"$props() can only be used at the top level of components as a variable declaration initializer","invalid-derived-location":()=>"$derived() can only be used as a variable declaration initializer or a class field","invalid-state-location":()=>"$state() can only be used as a variable declaration initializer or a class field","invalid-effect-location":()=>"$effect() can only be used as an expression statement","invalid-const-assignment":(e,t)=>`Invalid ${e?"binding":"assignment"} to const variable${t?" ($derived values, let: directives, :then/:catch variables and @const declarations count as const)":""}`,"invalid-derived-assignment":()=>"Invalid assignment to derived state","invalid-derived-binding":()=>"Invalid binding to derived state","invalid-rune-args-length":(e,t)=>`${e} can only be called with ${rr(t,"or")} ${1===t.length&&1===t[0]?"argument":"arguments"}`,"duplicate-props-rune":()=>"Cannot use $props() more than once"},"invalid-textarea-content":()=>"A <textarea> can have either a value attribute or (equivalently) child content, but not both","invalid-void-content":()=>"Void elements cannot have children or closing tags","invalid-element-content":e=>`<${e}> cannot have children`,"invalid-tag-name":()=>"Expected valid tag name","invalid-node-placement":(e,t)=>`${e} is invalid inside <${t}>`,"illegal-title-attribute":()=>"<title> cannot have attributes nor directives","invalid-title-content":()=>"<title> can only contain text and {tags}","invalid-component-directive":()=>"This type of directive is not valid on components","empty-attribute-shorthand":()=>"Attribute shorthand cannot be empty","duplicate-attribute":()=>"Attributes need to be unique","invalid-event-attribute-value":()=>"Event attribute must be a JavaScript expression, not a string","invalid-attribute-name":e=>`'${e}' is not a valid attribute name`,"invalid-animation":e=>"no-each"===e?"An element that uses the animate directive must be the immediate child of a keyed each block":"each-key"===e?"An element that uses the animate directive must be used inside a keyed each block. Did you forget to add a key to your each block?":"An element that uses the animate directive must be the sole child of a keyed each block","duplicate-animation":()=>"An element can only have one 'animate' directive","invalid-event-modifier":e=>e?`Valid event modifiers are ${e.slice(0,-1).join(", ")} or ${e.slice(-1)}`:"Event modifiers other than 'once' can only be used on DOM elements","invalid-event-modifier-combination":(e,t)=>`The '${e}' and '${t}' modifiers cannot be used together`,"duplicate-transition":(e,t)=>{function r(e){return"transition"===e?"a 'transition'":`an '${e}'`}return e===t?`An element can only have one '${e}' directive`:`An element cannot have both ${r(e)} directive and ${r(t)} directive`},"invalid-let-directive-placement":()=>"let directive at invalid position","invalid-slot-element-attribute":()=>"<slot> can only receive attributes, not directives","invalid-slot-attribute":()=>"slot attribute must be a static value","invalid-slot-name":e=>e?"default is a reserved word — it cannot be used as a slot name":"slot attribute must be a static value","invalid-slot-placement":()=>"Element with a slot='...' attribute must be a child of a component or a descendant of a custom element","duplicate-slot-name":(e,t)=>`Duplicate slot name '${e}' in <${t}>`,"invalid-default-slot-content":()=>'Found default slot content alongside an explicit slot="default"',"invalid-binding-expression":()=>"Can only bind to an Identifier or MemberExpression","invalid-binding-value":()=>"Can only bind to state or props","invalid-binding":(e,t,r="")=>(t?`'${e}' binding can only be used with ${t}`:`'${e}' is not a valid binding`)+r,"invalid-type-attribute":()=>"'type' attribute must be a static text value if input uses two-way binding","invalid-multiple-attribute":()=>"'multiple' attribute must be static if select uses two-way binding","missing-contenteditable-attribute":()=>"'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings","dynamic-contenteditable-attribute":()=>"'contenteditable' attribute cannot be dynamic if element uses two-way binding","illegal-global":e=>`${e} is an illegal variable name. To reference a global variable called ${e}, use globalThis.${e}`,"duplicate-declaration":e=>`'${e}' has already been declared`,"default-export":()=>"A component cannot have a default export","invalid-compiler-option":e=>`Invalid compiler option: ${e}`,"removed-compiler-option":e=>`Invalid compiler option: ${e}`,"cyclical-reactive-declaration":e=>`Cyclical dependency detected: ${e.join(" → ")}`,"invalid-const-placement":()=>"{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>"};class sr extends Error{name="CompileError";filename=void 0;position=void 0;start=void 0;end=void 0;constructor(e,t,r){super(t),this.code=e,this.position=r}toString(){let e=`${this.name}: ${this.message}`;return e+=`\n(${this.code})`,this.filename&&(e+=`\n${this.filename}`,this.start&&(e+=`${this.start.line}:${this.start.column}`)),e}}function ar(e,t,...r){const n=(0,nr[t])(...r),s="number"==typeof e?e:e?.start,a="number"==typeof e?e:e?.end;throw new sr(t,n,void 0!==s&&void 0!==a?[s,a]:void 0)}function ir(e){try{const t=Zt(e.template,e.ts,e.index);let r=0;for(let n=e.index;n<t.start;n+=1)"("===e.template[n]&&(r+=1);let n=t.end;for(;r>0;){const t=e.template[n];")"===t?r-=1:Ge.test(t)||ar(n,"expected-token",")"),n+=1}return e.index=n,t}catch(t){e.acorn_error(t)}}const or=/<\/script\s*>/,lr=/^<\/script\s*>/;function cr(e){const t=e.find((e=>"context"===e.name));if(!t)return"default";1===t.value.length&&"Text"===t.value[0].type||ar(t.start,"invalid-script-context");const r=t.value[0].data;return"module"!==r&&ar(t.start,"invalid-script-context"),r}const ur=/^[~^$*|]?=/,pr=/[\s\]]/,dr=/^[a-zA-Z]+/,hr=/^\s*(\+|~|>|\|\|)\s*/,mr=/^(\+|~|>|\|\|)/,fr=/^\d+(\.\d+)?%/,yr=/^\s*(even|odd|(-?[0-9]?n?(\s*\+\s*[0-9]+)?))(\s*(?=[,)])|\s+of\s+)/,vr=/[\s:]/,gr=/[{;]/,br=/-?\d/,xr=/[a-zA-Z0-9_-]/,_r=/\*\//,Cr=/-->/;function wr(e,t){const r=[];for(;e.index<e.template.length;){if(qr(e),e.match(t))return r;e.match("@")?r.push(Pr(e)):r.push(kr(e))}ar(e.template.length,"expected-token",t)}function Pr(e){const t=e.index;e.eat("@",!0);const r=Ir(e),n=e.read_until(gr).trim();let s=null;if(e.match("{")){if(["color-profile","counter-style","font-face","font-palette-values","page","property"].includes(r))s=Tr(e);else{const t=e.index;e.eat("{",!0);const r=wr(e,"}");e.eat("}",!0),s={type:"Block",start:t,end:e.index,children:r}}}else e.eat(";",!0);return{type:"Atrule",start:t,end:e.index,name:r,prelude:n,block:s}}function kr(e){const t=e.index;return{type:"Rule",prelude:Er(e),block:Tr(e),start:t,end:e.index}}function Er(e,t=!1){const r=[],n=e.index;for(;e.index<e.template.length;){r.push(Sr(e,t));const s=e.index;if(e.allow_whitespace(),t?e.match(")"):e.match("{"))return{type:"SelectorList",start:n,end:s,children:r};e.eat(",",!0),qr(e)}ar(e.template.length,"unexpected-eof")}function Sr(e,t=!1){const r=e.index,n=[];for(;e.index<e.template.length;){const s=e.index;if(e.eat("*")){let t="*";e.match("|")&&(e.index++,t=Ir(e)),n.push({type:"TypeSelector",name:t,start:s,end:e.index})}else if(e.eat("#"))n.push({type:"IdSelector",name:Ir(e),start:s,end:e.index});else if(e.eat("."))n.push({type:"ClassSelector",name:Ir(e),start:s,end:e.index});else if(e.eat("::"))n.push({type:"PseudoElementSelector",name:Ir(e),start:s,end:e.index});else if(e.eat(":")){const t=Ir(e);let r=null;e.eat("(")?(r=Er(e,!0),e.eat(")",!0)):"global"===t&&ar(e.index,"invalid-css-global-selector"),n.push({type:"PseudoClassSelector",name:t,args:r,start:s,end:e.index})}else if(e.eat("[")){e.allow_whitespace();const t=Ir(e);e.allow_whitespace();let r=null;const a=e.read(ur);a&&(e.allow_whitespace(),r=Rr(e)),e.allow_whitespace();const i=e.read(dr);e.allow_whitespace(),e.eat("]",!0),n.push({type:"AttributeSelector",start:s,end:e.index,name:t,matcher:a,value:r,flags:i})}else if(e.match_regex(hr)){e.allow_whitespace();const t=e.index;n.push({type:"Combinator",name:e.read(mr),start:t,end:e.index}),e.allow_whitespace()}else if(e.match_regex(fr))n.push({type:"Percentage",value:e.read(fr),start:s,end:e.index});else if(t&&e.match_regex(yr))n.push({type:"Nth",value:e.read(yr),start:s,end:e.index});else{let t=Ir(e);e.match("|")&&(e.index++,t=Ir(e)),n.push({type:"TypeSelector",name:t,start:s,end:e.index})}const a=e.index;if(e.allow_whitespace(),e.match(",")||(t?e.match(")"):e.match("{")))return e.index=a,{type:"Selector",start:r,end:a,children:n};e.index===a||e.match_regex(mr)||n.push({type:"Combinator",name:" ",start:a,end:e.index})}ar(e.template.length,"unexpected-eof")}function Tr(e){const t=e.index;e.eat("{",!0);const r=[];for(;e.index<e.template.length&&(qr(e),!e.match("}"));)r.push(Ar(e));return e.eat("}",!0),{type:"Block",start:t,end:e.index,children:r}}function Ar(e){const t=e.index,r=e.read_until(vr);e.allow_whitespace(),e.eat(":"),e.allow_whitespace();const n=function(e){let t="",r=!1,n=!1,s=null;for(;e.index<e.template.length;){const a=e.template[e.index];if(r)t+="\\"+a,r=!1;else if("\\"===a)r=!0;else if(a===s)s=null;else if(")"===a)n=!1;else if(null!==s||'"'!==a&&"'"!==a){if("("===a&&"url"===t.slice(-3))n=!0;else if(!(";"!==a&&"}"!==a||n||s))return t.trim()}else s=a;t+=a,e.index++}ar(e.template.length,"unexpected-eof")}(e),s=e.index;return e.match("}")||e.eat(";",!0),{type:"Declaration",start:t,end:s,property:r,value:n}}function Rr(e){let t="",r=!1;const n=e.eat('"')?'"':e.eat("'")?"'":null;for(;e.index<e.template.length;){const s=e.template[e.index];if(r)t+="\\"+s,r=!1;else if("\\"===s)r=!0;else{if(n?s===n:pr.test(s))return n&&e.eat(n,!0),t.trim();t+=s}e.index++}ar(e.template.length,"unexpected-eof")}function Ir(e){const t=e.index;let r="";(e.match("--")||e.match_regex(br))&&ar(t,"invalid-css-identifier");let n=!1;for(;e.index<e.template.length;){const t=e.template[e.index];if(n)r+="\\"+t,n=!1;else if("\\"===t)n=!0;else{if(!(t.codePointAt(0)>=160||xr.test(t)))break;r+=t}e.index++}return""===r&&ar(t,"invalid-css-identifier"),r}function qr(e){for(e.allow_whitespace();e.match("/*")||e.match("\x3c!--");)e.eat("/*")&&(e.read_until(_r),e.eat("*/",!0)),e.eat("\x3c!--")&&(e.read_until(Cr),e.eat("--\x3e",!0)),e.allow_whitespace()}var Lr={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};const Mr=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function Nr(e){const t=Object.keys(Lr).map((t=>function(e,t){return t&&!e.endsWith(";")?`${e}\\b(?!=)`:e}(t,e)));return new RegExp(`&(#(?:x[a-fA-F\\d]+|\\d+)(?:;)?|${t.join("|")})`,"g")}const Or=Nr(!1),$r=Nr(!0);function Dr(e,t){const r=t?$r:Or;return e.replace(r,((e,t)=>{let r;return r="#"!==t[0]?Lr[t]:"x"===t[1]?parseInt(t.substring(2),16):parseInt(t.substring(1),10),r?String.fromCodePoint(function(e){if(10===e)return 32;if(e<128)return e;if(e<=159)return Mr[e-128];if(e<55296)return e;if(e<=57343)return jr;if(e<=65535)return e;if(e>=65536&&e<=131071)return e;if(e>=131072&&e<=196607)return e;return jr}(r)):e}))}const jr=0;const Br={li:new Set(["li"]),dt:new Set(["dt","dd"]),dd:new Set(["dt","dd"]),p:new Set("address article aside blockquote div dl fieldset footer form h1 h2 h3 h4 h5 h6 header hgroup hr main menu nav ol p pre section table ul".split(" ")),rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),optgroup:new Set(["optgroup"]),option:new Set(["option","optgroup"]),thead:new Set(["tbody","tfoot"]),tbody:new Set(["tbody","tfoot"]),tfoot:new Set(["tbody"]),tr:new Set(["tr","tbody"]),td:new Set(["td","th","tr"]),th:new Set(["td","th","tr"])};function Fr(e=!1){return{type:"Fragment",nodes:[],transparent:e}}const Vr=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function Hr(e){return Vr.includes(e.type)}function Ur(e){return e.name.includes("-")}function zr(e,t,r,n){return{type:"Attribute",start:t,end:r,name:e,value:n,parent:null,metadata:{dynamic:!1,delegated:null}}}const Wr=/^\!?[a-zA-Z]{1,}:?[a-zA-Z0-9\-]*/,Gr=/^(\/>|[\s"'=<>`])/,Kr=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),Xr=new Map([...Kr,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"]]),Jr=Array.from(Xr.keys()),Qr=/^svelte:self(?=[\s/>])/,Yr=/^svelte:component(?=[\s/>])/,Zr=/^svelte:fragment(?=[\s/>])/,en=/^svelte:element(?=[\s/>])/;const tn=/^<\/textarea(\s[^>]*)?>/i,rn=/-->/,nn=/[A-Z]/;function sn(e){const t=e.index++;let r=e.current();if(e.eat("!--")){const r=e.read_until(rn);return e.eat("--\x3e",!0),void e.append({type:"Comment",start:t,end:e.index,data:r,ignores:ct(r)})}const n=e.eat("/"),s=function(e){const t=e.index;if(e.read(Qr)){let r=e.stack.length,n=!1;for(;r--;){const t=e.stack[r];if("IfBlock"===t.type||"EachBlock"===t.type||"Component"===t.type||"SnippetBlock"===t.type){n=!0;break}}return n||ar(t,"invalid-self-placement"),"svelte:self"}if(e.read(Yr))return"svelte:component";if(e.read(en))return"svelte:element";if(e.read(Zr))return"svelte:fragment";const r=e.read_until(an);if(Xr.has(r))return r;if(r.startsWith("svelte:")){const e=dt(r.slice(7),Jr);ar(t,"invalid-svelte-tag",Jr,e)}Wr.test(r)||ar(t,"invalid-tag-name");return r}(e);Kr.has(s)&&(n?"svelte:window"!==s&&"svelte:body"!==s&&"svelte:document"!==s||!r.fragment.nodes.length||ar(r.fragment.nodes[0].start,"invalid-element-content",s):(s in e.meta_tags&&ar(t,"duplicate-svelte-element",s),"Root"!==r.type&&ar(t,"invalid-svelte-element-placement",s),e.meta_tags[s]=!0));const a=Xr.has(s)?Xr.get(s):nn.test(s[0])||"svelte:self"===s||"svelte:component"===s?"Component":"title"===s&&function(e){let t=e.length;for(;t--;){const{type:r}=e[t];if("SvelteHead"===r)return!0;if("RegularElement"===r||"Component"===r)return!1}return!1}(e.stack)?"TitleElement":"slot"===s?"SlotElement":"RegularElement",i="RegularElement"===a?{type:a,start:t,end:-1,name:s,attributes:[],fragment:Fr(!0),metadata:{svg:!1,has_spread:!1,can_delegate_events:null},parent:null}:{type:a,start:t,end:-1,name:s,attributes:[],fragment:Fr(!0),parent:null};if(e.allow_whitespace(),n){for(xt(s)&&ar(t,"invalid-void-content"),e.eat(">",!0);r.name!==s;)"RegularElement"!==r.type&&(e.last_auto_closed_tag&&e.last_auto_closed_tag.tag===s?ar(t,"invalid-closing-tag-after-autoclose",s,e.last_auto_closed_tag.reason):ar(t,"invalid-closing-tag",s)),r.end=t,e.pop(),r=e.current();return r.end=e.index,e.pop(),void(e.last_auto_closed_tag&&e.stack.length<e.last_auto_closed_tag.depth&&(e.last_auto_closed_tag=void 0))}"RegularElement"===r.type&&function(e,t){return!(!Br[e]||t&&!Br[e].has(t))}(r.name,s)&&(r.end=t,e.pop(),e.last_auto_closed_tag={tag:r.name,reason:s,depth:e.stack.length});const o=[],l=e.current(),c=("script"===s||"style"===s)&&"Root"===l.type,u=c?un:pn;let p;for(;p=u(e);)"Attribute"!==p.type&&"BindDirective"!==p.type||(o.includes(p.name)?ar(p.start,"duplicate-attribute"):"this"!==p.name&&o.push(p.name)),i.attributes.push(p),e.allow_whitespace();if("SvelteComponent"===i.type){const e=i.attributes.findIndex((e=>"Attribute"===e.type&&"this"===e.name));-1===e&&ar(t,"missing-svelte-component-definition");const r=i.attributes.splice(e,1)[0];!0!==r.value&&1===r.value.length&&"Text"!==r.value[0].type||ar(r.start,"invalid-svelte-component-definition"),i.expression=r.value[0].expression}if("SvelteElement"===i.type){const e=i.attributes.findIndex((e=>"Attribute"===e.type&&"this"===e.name));-1===e&&ar(t,"missing-svelte-element-definition");const r=i.attributes.splice(e,1)[0];!0!==r.value&&1===r.value.length||ar(r.start,"invalid-svelte-element-definition");const n=r.value[0];i.tag="Text"===n.type?{type:"Literal",value:n.data,raw:`'${n.raw}'`}:n.expression}if(c){if(e.eat(">",!0),"script"===s){const r=function(e,t,r){const n=e.index,s=e.read_until(or);e.index>=e.template.length&&ar(e.template.length,"unclosed-element","script");const a=e.template.slice(0,n).replace(nt," ")+s;let i;e.read(lr);try{i=Yt(a,e.ts)}catch(t){e.acorn_error(t)}return i.start=n,{type:"Script",start:t,end:e.index,context:cr(r),content:i,parent:null}}(e,t,i.attributes);r&&("module"===r.context?(l.module&&ar(t,"duplicate-script-element"),l.module=r):(l.instance&&ar(t,"duplicate-script-element"),l.instance=r))}else{const r=function(e,t,r){const n=e.index,s=wr(e,"</style"),a=e.index;return e.read(/^<\/style\s*>/),{type:"Style",start:t,end:e.index,attributes:r,children:s,content:{start:n,end:a,styles:e.template.slice(n,a)},parent:null}}(e,t,i.attributes);r&&(l.css&&ar(t,"duplicate-style-element"),l.css=r)}return}e.append(i);const d=e.eat("/")||xt(s);if(e.eat(">",!0),d)i.end=e.index;else if("textarea"===s)i.fragment.nodes=dn(e,(()=>tn.test(e.template.slice(e.index))),"inside <textarea>"),e.read(tn),i.end=e.index;else if("script"===s||"style"===s){const t=e.index,r=e.read_until(new RegExp(`</${s}>`)),n={start:t,end:e.index,type:"Text",data:r,raw:r,parent:null};i.fragment.nodes.push(n),e.eat(`</${s}>`,!0),i.end=e.index}else e.stack.push(i),e.fragments.push(i.fragment)}const an=/(\s|\/|>)/;const on=/[\s=\/>"']/,ln=/^["']/,cn=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/;function un(e){const t=e.index,r=e.read_until(on);if(!r)return null;let n=!0;if(e.eat("=")){e.allow_whitespace();let t=e.match_regex(cn);t||ar(e.index,"missing-attribute-value"),e.index+=t.length;const r='"'===t[0]||"'"===t[0];r&&(t=t.slice(1,-1)),n=[{start:e.index-t.length-(r?1:0),end:r?e.index-1:e.index,type:"Text",raw:t,data:Dr(t,!0),parent:null}]}return e.match_regex(ln)&&ar(e.index,"expected-token","="),zr(r,t,e.index,n)}function pn(e){const t=e.index;if(e.eat("{")){if(e.allow_whitespace(),e.eat("...")){const r=ir(e);e.allow_whitespace(),e.eat("}",!0);return{type:"SpreadAttribute",start:t,end:e.index,expression:r,parent:null,metadata:{contains_call_expression:!1,dynamic:!1}}}{const r=e.index,n=e.read_identifier();null===n&&ar(t,"empty-attribute-shorthand"),e.allow_whitespace(),e.eat("}",!0);const s={type:"ExpressionTag",start:r,end:r+n.length,expression:{start:r,end:r+n.length,type:"Identifier",name:n},parent:null,metadata:{dynamic:!1,contains_call_expression:!1}};return zr(n,t,e.index,[s])}}const r=e.read_until(on);if(!r)return null;let n=e.index;e.allow_whitespace();const s=r.indexOf(":"),a=-1!==s&&function(e){return"use"===e?"UseDirective":"animate"===e?"AnimateDirective":"bind"===e?"BindDirective":"class"===e?"ClassDirective":"style"===e?"StyleDirective":"on"===e?"OnDirective":"let"===e?"LetDirective":("in"===e||"out"===e||"transition"===e)&&"TransitionDirective"}(r.slice(0,s));let i=!0;if(e.eat("=")?(e.allow_whitespace(),i=function(e){const t=e.eat("'")?"'":e.eat('"')?'"':null;if(t&&e.eat(t))return[{start:e.index-1,end:e.index-1,type:"Text",raw:"",data:"",parent:null}];let r;try{r=dn(e,(()=>t?e.match(t):!!e.match_regex(Gr)),"in attribute value")}catch(r){if("js-parse-error"===r.code){const n=r.position?.[0];void 0!==n&&"/>"===e.template.slice(n-1,n+1)&&(e.index=n,ar(n,"unclosed-attribute-value",t||"}"))}throw r}0!==r.length||t||ar(e.index,"missing-attribute-value");t&&(e.index+=1);return r}(e),n=e.index):e.match_regex(ln)&&ar(e.index,"expected-token","="),a){const[e,...o]=r.slice(s+1).split("|");if(""===e&&ar(t+s+1,"empty-directive-name",a),"StyleDirective"===a)return{start:t,end:n,type:a,name:e,modifiers:o,value:i,parent:null,metadata:{dynamic:!1}};const l=!0===i?void 0:i[0];let c=null;if(l){i.length>1||"Text"===l.type?ar(l.start,"invalid-directive-value"):c=l.expression}const u={start:t,end:n,type:a,name:e,modifiers:o,expression:c};if("ClassDirective"===u.type&&(u.metadata={dynamic:!1}),"TransitionDirective"===u.type){const e=r.slice(0,s);u.intro="in"===e||"transition"===e,u.outro="out"===e||"transition"===e}return"BindDirective"!==u.type&&"ClassDirective"!==u.type||u.expression||(u.expression={start:t+s+1,end:n,type:"Identifier",name:u.name}),u}return zr(r,t,n,i)}function dn(e,t,r){let n={start:e.index,end:-1,type:"Text",raw:"",data:"",parent:null};const s=[];function a(e){n.raw&&(n.data=Dr(n.raw,!0),n.end=e,s.push(n))}for(;e.index<e.template.length;){const i=e.index;if(t())return a(e.index),s;if(e.eat("{")){if(e.match("#")){const t=e.index-1;e.eat("#");ar(t,"invalid-block-placement",r,e.read_until(/[^a-z]/))}else if(e.match("@")){const t=e.index-1;e.eat("@");ar(t,"invalid-tag-placement",r,e.read_until(/[^a-z]/))}a(e.index-1),e.allow_whitespace();const t=ir(e);e.allow_whitespace(),e.eat("}",!0);const o={type:"ExpressionTag",start:i,end:e.index,expression:t,parent:null,metadata:{contains_call_expression:!1,dynamic:!1}};s.push(o),n={start:e.index,end:-1,type:"Text",raw:"",data:"",parent:null}}else n.raw+=e.template[e.index++]}ar(e.template.length,"unexpected-eof")}function hn(e,t){const r=e.charCodeAt(t);if(r<=55295||r>=57344)return r;return(r<<10)+e.charCodeAt(t+1)-56613888}const mn="[".charCodeAt(0),fn="]".charCodeAt(0),yn="{".charCodeAt(0),vn="}".charCodeAt(0);function gn(e){return e===mn||e===yn}function bn(e){return e===fn||e===vn}function xn(e,t){return e===mn&&t===fn||e===yn&&t===vn}function _n(e){return e===mn?fn:e===yn?vn:void 0}function Cn(e){const t=e.index;let r=e.index;const n=hn(e.template,r);if(p(n,!0)){const r=e.read_identifier(),n=wn(e);return{type:"Identifier",name:r,start:t,end:e.index,typeAnnotation:n}}gn(n)||ar(r,"expected-pattern");const s=[n];for(r+=n<=65535?1:2;r<e.template.length;){const t=hn(e.template,r);if(gn(t))s.push(t);else if(bn(t)){const e=s.pop();if(xn(e,t)||ar(r,"expected-token",String.fromCharCode(_n(e))),0===s.length){r+=t<=65535?1:2;break}}r+=t<=65535?1:2}e.index=r;const a=e.template.slice(t,r);try{let r=e.template.slice(0,t).replace(nt," ");const n=r.indexOf(" ");r=r.slice(0,n)+r.slice(n+1);const s=Zt(`${r}(${a} = 1)`,e.ts,t-1).left;return s.typeAnnotation=wn(e),s.typeAnnotation&&(s.end=s.typeAnnotation.end),s}catch(t){e.acorn_error(t)}}function wn(e){const t=e.index;if(e.allow_whitespace(),e.eat(":")){const t="_ as ";let r=e.index-t.length;let n=Zt(" ".repeat(r)+t+e.template.slice(e.index),e.ts,r);return"SequenceExpression"===n.type&&(n=n.expressions[0]),e.index=n.end,n.typeAnnotation}e.index=t}const Pn=/^\s*}/;function kn(e){const t=e.index;if(e.index+=1,e.allow_whitespace(),e.eat("#"))return function(e){const t=e.index-2;if(e.eat("if")){e.require_whitespace();const r=e.append({type:"IfBlock",elseif:!1,start:t,end:-1,test:ir(e),consequent:Fr(),alternate:null});return e.allow_whitespace(),e.eat("}",!0),e.stack.push(r),void e.fragments.push(r.consequent)}if(e.eat("each")){e.require_whitespace();const r=e.template;let n,s=e.template.length;for(;!n;)try{n=ir(e)}catch(n){for(s=n.position[0]-2;s>t&&"as"!==e.template.slice(s,s+2);)s-=1;if(s<=t)throw n;e.template=r.slice(0,s)}if(e.template=r,e.allow_whitespace(),!e.match("as")){"SequenceExpression"===n.type&&(n=n.expressions[0]);let t=null,r=n.end;if(n=_t(n,null,{TSAsExpression(e,s){if(e.end===n.end)return t=e,r=e.expression.end,e.expression;s.next()}}),n.end=r,t){let r=t.typeAnnotation.start-2;for(;"as"!==e.template.slice(r,r+2);)r-=1;e.index=r}}e.eat("as",!0),e.require_whitespace();const a=Cn(e);let i,o;e.allow_whitespace(),e.eat(",")&&(e.allow_whitespace(),i=e.read_identifier(),i||ar(e.index,"expected-identifier"),e.allow_whitespace()),e.eat("(")&&(e.allow_whitespace(),o=ir(e),e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace()),e.eat("}",!0);const l=e.append({type:"EachBlock",start:t,end:-1,expression:n,body:Fr(),context:a,index:i,key:o,metadata:null});return e.stack.push(l),void e.fragments.push(l.body)}if(e.eat("await")){e.require_whitespace();const r=ir(e);e.allow_whitespace();const n=e.append({type:"AwaitBlock",start:t,end:-1,expression:r,value:null,error:null,pending:null,then:null,catch:null});return e.eat("then")?(e.match_regex(Pn)||(e.require_whitespace(),n.value=Cn(e)),e.allow_whitespace(),n.then=Fr(),e.fragments.push(n.then)):e.eat("catch")?(e.match_regex(Pn)||(e.require_whitespace(),n.error=Cn(e)),e.allow_whitespace(),n.catch=Fr(),e.fragments.push(n.catch)):(n.pending=Fr(),e.fragments.push(n.pending)),e.eat("}",!0),void e.stack.push(n)}if(e.eat("key")){e.require_whitespace();const r=ir(e);e.allow_whitespace(),e.eat("}",!0);const n=e.append({type:"KeyBlock",start:t,end:-1,expression:r,fragment:Fr()});return e.stack.push(n),void e.fragments.push(n.fragment)}if(e.eat("snippet")){e.require_whitespace();const r=e.index,n=e.read_identifier(),s=e.index;e.eat("(",!0),e.allow_whitespace();const a=e.match(")")?null:Cn(e);e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace(),e.eat("}",!0);const i=e.append({type:"SnippetBlock",start:t,end:-1,expression:{type:"Identifier",start:r,end:s,name:n},context:a,body:Fr()});return e.stack.push(i),void e.fragments.push(i.body)}ar(e.index,"expected-block-type")}(e);if(e.eat("/"))return function(e){const t=e.index-1;let r=e.current();switch(r.type){case"IfBlock":for(e.eat("if",!0),e.allow_whitespace(),e.eat("}",!0);r.elseif;)r.end=e.index,e.stack.pop(),r=e.current();return r.end=e.index,void e.pop();case"EachBlock":e.eat("each",!0);break;case"KeyBlock":e.eat("key",!0);break;case"AwaitBlock":e.eat("await",!0);break;case"SnippetBlock":e.eat("snippet",!0);break;default:ar(t,"unexpected-block-close")}e.allow_whitespace(),e.eat("}",!0),r.end=e.index,e.pop()}(e);if(e.eat(":"))return function(e){const t=e.index-1,r=e.current();if("IfBlock"===r.type){if(e.eat("else")||ar(t,"expected-token","{:else} or {:else if}"),e.eat("if")&&ar(t,"invalid-elseif"),e.allow_whitespace(),e.fragments.pop(),r.alternate=Fr(),e.fragments.push(r.alternate),e.eat("if")){e.require_whitespace();const t=ir(e);e.allow_whitespace(),e.eat("}",!0);const r=e.append({start:e.index,end:-1,type:"IfBlock",elseif:!0,test:t,consequent:Fr(),alternate:null});e.stack.push(r),e.fragments.pop(),e.fragments.push(r.consequent)}else e.allow_whitespace(),e.eat("}",!0);return}if("EachBlock"===r.type)return e.eat("else")||ar(t,"expected-token","{:else}"),e.allow_whitespace(),e.eat("}",!0),r.fallback=Fr(),e.fragments.pop(),void e.fragments.push(r.fallback);if("AwaitBlock"===r.type){if(e.eat("then"))return r.then&&ar(t,"duplicate-block-part","{:then}"),e.eat("}")||(e.require_whitespace(),r.value=Cn(e),e.allow_whitespace(),e.eat("}",!0)),r.then=Fr(),e.fragments.pop(),void e.fragments.push(r.then);if(e.eat("catch"))return r.catch&&ar(t,"duplicate-block-part","{:catch}"),e.eat("}")||(e.require_whitespace(),r.error=Cn(e),e.allow_whitespace(),e.eat("}",!0)),r.catch=Fr(),e.fragments.pop(),void e.fragments.push(r.catch);ar(t,"expected-token","{:then ...} or {:catch ...}")}ar(t,"invalid-continuing-block-placement")}(e);if(e.eat("@"))return function(e){let t=e.index;for(;"{"!==e.template[t];)t-=1;if(e.eat("html")){e.require_whitespace();const r=ir(e);return e.allow_whitespace(),e.eat("}",!0),void e.append({type:"HtmlTag",start:t,end:e.index,expression:r})}if(e.eat("debug")){let r;if(e.read(Pn))r=[];else{const t=ir(e);r="SequenceExpression"===t.type?t.expressions:[t],r.forEach((e=>{"Identifier"!==e.type&&ar(e.start,"invalid-debug")})),e.allow_whitespace(),e.eat("}",!0)}return void e.append({type:"DebugTag",start:t,end:e.index,identifiers:r})}if(e.eat("const")){const r=e.index-5;e.require_whitespace();let n,s=e.index;const a=e.template.substring(0,r).replace(/[^\n]/g," ");for(;s=e.template.indexOf("}",s+1),-1!==s;)try{const t=Yt(a+e.template.substring(r,s),e.ts).body[0];if("VariableDeclaration"===t?.type){n=t;break}}catch(e){continue}void 0!==n&&1===n.declarations.length&&void 0!==n.declarations[0].init||ar(t,"invalid-const"),e.index=s,e.eat("}",!0),e.append({type:"ConstTag",start:t,end:e.index,declaration:n})}if(e.eat("render")){e.require_whitespace();const r=ir(e);"CallExpression"===r.type&&"Identifier"===r.callee.type||ar(r,"TODO","expected an identifier followed by (...)"),r.arguments.length>1&&ar(r.arguments[1],"TODO","expected at most one argument"),e.allow_whitespace(),e.eat("}",!0),e.append({type:"RenderTag",start:t,end:e.index,expression:r.callee,argument:r.arguments[0]??null})}}(e);const r=ir(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"ExpressionTag",start:t,end:e.index,expression:r,metadata:{contains_call_expression:!1,dynamic:!1}})}function En(e){const t=e.index;let r="";for(;e.index<e.template.length&&!e.match("<")&&!e.match("{");)r+=e.template[e.index++];e.append({type:"Text",start:t,end:e.index,raw:r,data:Dr(r,!1)})}function Sn(e){return e.match("<")?sn:e.match("{")?kn:En}const Tn=/^[a-zA-Z][a-zA-Z0-9]*-[a-zA-Z0-9-]+$/;function An(e,t){const{value:r}=e,n=r[0];return!n||(r.length>1&&t(e),"Text"===n.type?n.data:("Literal"!==n.expression.type&&t(e),n.expression.value))}function Rn(e,t){"string"!=typeof t&&null!==t&&ar(e,"invalid-tag-property"),t&&!Tn.test(t)&&ar(e,"invalid-tag-property")}const In=/ \(\d+:\d+\)$/,qn=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/;class Ln{template;index=0;ts=!1;stack=[];fragments=[];root;meta_tags={};last_auto_closed_tag;constructor(e){if("string"!=typeof e)throw new TypeError("Template must be a string");this.template=e.trimRight(),this.ts="ts"===qn.exec(e)?.[2],this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:Fr(),options:null},this.stack.push(this.root),this.fragments.push(this.root.fragment);let t=Sn;for(;this.index<this.template.length;)t=t(this)||Sn;if(this.stack.length>1){const e=this.current();"RegularElement"===e.type?(e.end=e.start+1,ar(e,"unclosed-element",e.name)):(e.end=e.start+1,ar(e,"unclosed-block"))}if(t!==Sn&&ar(this.index,"unexpected-eof"),this.root.fragment.nodes.length){let t=this.root.fragment.nodes[0].start;for(;Ge.test(e[t]);)t+=1;let r=this.root.fragment.nodes[this.root.fragment.nodes.length-1].end;for(;Ge.test(e[r-1]);)r-=1;this.root.start=t,this.root.end=r}else this.root.start=this.root.end=null;const r=this.root.fragment.nodes.findIndex((e=>"SvelteOptions"===e.type));if(-1!==r){const e=this.root.fragment.nodes[r];this.root.fragment.nodes.splice(r,1),this.root.options=function(e){const t={start:e.start,end:e.end};if(!e)return t;for(const r of e.attributes){"Attribute"!==r.type&&ar(r,"invalid-svelte-option-attribute");const{name:e}=r;switch(e){case"runes":{const e=An(r,(()=>ar(r,"invalid-svelte-option-runes")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-runes"),t.runes=e;break}case"tag":ar(r,"tag-option-deprecated");break;case"customElement":{const e={tag:""},{value:n}=r;if(!0===n)ar(r,"invalid-svelte-option-customElement");else{if("Text"===n[0].type){const n=An(r,(()=>ar(r,"invalid-tag-property")));Rn(r,n),e.tag=n,t.customElement=e;break}"ObjectExpression"!==n[0].expression.type&&ar(r,"invalid-svelte-option-customElement")}const s=[];for(const e of n[0].expression.properties)("Property"!==e.type||e.computed||"Identifier"!==e.key.type)&&ar(r,"invalid-svelte-option-customElement"),s.push([e.key.name,e.value]);const a=s.find((([e])=>"tag"===e));if(a){const t=a[1]?.value;Rn(a,t),e.tag=t}else ar(r,"invalid-svelte-option-customElement");const i=s.find((([e])=>"props"===e))?.[1];if(i){"ObjectExpression"!==i.type&&ar(r,"invalid-customElement-props-attribute"),e.props={};for(const t of i.properties){("Property"!==t.type||t.computed||"Identifier"!==t.key.type||"ObjectExpression"!==t.value.type)&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name]={};for(const n of t.value.properties)("Property"!==n.type||n.computed||"Identifier"!==n.key.type||"Literal"!==n.value.type)&&ar(r,"invalid-customElement-props-attribute"),"type"===n.key.name?(-1===["String","Number","Boolean","Array","Object"].indexOf(n.value.value)&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].type=n.value.value):"reflect"===n.key.name?("boolean"!=typeof n.value.value&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].reflect=n.value.value):"attribute"===n.key.name?("string"!=typeof n.value.value&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].attribute=n.value.value):ar(r,"invalid-customElement-props-attribute")}}const o=s.find((([e])=>"shadow"===e))?.[1];if(o){const t=o?.value;"open"!==t&&"none"!==t&&ar(o,"invalid-customElement-shadow-attribute"),e.shadow=t}const l=s.find((([e])=>"extend"===e))?.[1];l&&(e.extend=l),t.customElement=e;break}case"namespace":{const e=An(r,(()=>ar(r,"invalid-svelte-option-namespace")));"string"!=typeof e&&ar(r,"invalid-svelte-option-namespace"),"http://www.w3.org/2000/svg"===e?t.namespace="svg":"html"===e||"svg"===e||"foreign"===e?t.namespace=e:ar(r,"invalid-svelte-option-namespace");break}case"immutable":{const e=An(r,(()=>ar(r,"invalid-svelte-option-immutable")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-immutable"),t.immutable=e;break}case"preserveWhitespace":{const e=An(r,(()=>ar(r,"invalid-svelte-option-preserveWhitespace")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-preserveWhitespace"),t.preserveWhitespace=e;break}case"accessors":{const e=An(r,(()=>ar(r,"invalid-svelte-option-accessors")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-accessors"),t.accessors=e;break}default:ar(r,"unknown-svelte-option-attribute",e)}}return t}(e),Object.defineProperty(this.root.options,"__raw__",{value:e,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}acorn_error(e){ar(e.pos,"js-parse-error",e.message.replace(In,""))}eat(e,t){return this.match(e)?(this.index+=e.length,!0):(t&&(this.index===this.template.length?ar(this.index,"unexpected-eof",e):ar(this.index,"expected-token",e)),!1)}match(e){const t=e.length;return 1===t?this.template[this.index]===e:this.template.slice(this.index,this.index+t)===e}match_regex(e){const t=e.exec(this.template.slice(this.index));return t&&0===t.index?t[0]:null}allow_whitespace(){for(;this.index<this.template.length&&Ge.test(this.template[this.index]);)this.index++}read(e){const t=this.match_regex(e);return t&&(this.index+=t.length),t}read_identifier(e=!1){const t=this.index;let r=this.index;const n=hn(this.template,r);if(!p(n,!0))return null;for(r+=n<=65535?1:2;r<this.template.length;){const e=hn(this.template,r);if(!d(e,!0))break;r+=e<=65535?1:2}const s=this.template.slice(this.index,this.index=r);return!e&>.includes(s)&&ar(t,"unexpected-reserved-word",s),s}read_until(e){this.index>=this.template.length&&ar(this.template.length,"unexpected-eof");const t=this.index,r=e.exec(this.template.slice(t));return r?(this.index=t+r.index,this.template.slice(t,this.index)):(this.index=this.template.length,this.template.slice(t))}require_whitespace(){Ge.test(this.template[this.index])||ar(this.index,"missing-whitespace"),this.allow_whitespace()}pop(){return this.fragments.pop(),this.stack.pop()}append(e){const t=this.current(),r=this.fragments.at(-1);return Object.defineProperties(e,{prev:{enumerable:!1,value:r?.nodes.at(-1)??null},parent:{enumerable:!1,configurable:!0,value:t}}),r.nodes.push(e),e}}function Mn(e){return new Ln(e).root}function Nn(e,t){if("MemberExpression"===e.type)return!e.computed&&Nn(e.object,e);if("Identifier"===e.type){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function On(e,t){e!==t&&ar(null,"INTERNAL","Assertion failed")}function $n(e=[]){return{type:"ArrayExpression",elements:e}}function Dn(e){return{type:"ArrayPattern",elements:e}}function jn(e,t){return{type:"ArrowFunctionExpression",params:e,body:t,expression:"BlockStatement"!==t.type,generator:!1,async:!1,metadata:null}}function Bn(e,t,r){return{type:"AssignmentExpression",operator:e,left:t,right:r}}function Fn(e,t,r){return{type:"BinaryExpression",operator:e,left:t,right:r}}function Vn(e){return{type:"BlockStatement",body:e}}function Hn(e,...t){for("string"==typeof e&&(e=Zn(e)),t=t.slice();t.length>0&&!t.at(-1);)t.pop();return{type:"CallExpression",callee:e,arguments:t,optional:!1}}function Un(e,...t){const r=Hn(e,...t);return r.optional=!0,{type:"ChainExpression",expression:r}}function zn(e,t){return{type:"UnaryExpression",argument:t,operator:e,prefix:!0}}function Wn(e,t,r){return{type:"ConditionalExpression",test:e,consequent:t,alternate:r}}function Gn(e,t,r){return"string"==typeof t&&(t=Zn(t)),{type:"VariableDeclaration",kind:e,declarations:[r?Kn(t,r):Kn(t)]}}function Kn(e,t){return{type:"VariableDeclarator",id:e,init:t}}const Xn={type:"EmptyStatement"};function Jn(e){return{type:"ExportDefaultDeclaration",declaration:e}}function Qn(e,t,r){return{type:"FunctionDeclaration",id:e,params:t,body:r,generator:!1,async:!1,metadata:null}}function Yn(e,t){return os("get",Is(e),ks(null,[],Vn(t)))}function Zn(e){return{type:"Identifier",name:e}}function es(e){return{type:"PrivateIdentifier",name:e}}function ts(e,t){return os("init",Is(e),t)}function rs(e){return{type:"Literal",value:e}}function ns(e,t,r=!1,n=!1){return{type:"MemberExpression",object:e,property:t,computed:r,optional:n}}function ss(e){const t=e.split(".");let r=Zn(t[0]);for(let e=1;e<t.length;e+=1)r=ns(r,Zn(t[e]));return r}function as(e){return{type:"ObjectExpression",properties:e}}function is(e){return{type:"ObjectPattern",properties:e}}function os(e,t,r,n=!1){return{type:"Property",kind:e,key:t,value:r,method:!1,shorthand:!1,computed:n}}function ls(e,t,r=!1,n=!1){return{type:"PropertyDefinition",key:e,value:t,computed:r,static:n}}function cs(e,t=!1){return{type:"TemplateElement",value:{raw:e.replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$/g,"\\$"),cooked:e},tail:t}}function us(e){return{type:"SequenceExpression",expressions:e}}function ps(e,t){return os("set",Is(e),ks(null,[Zn("$$value")],Vn(t)))}function ds(e){return{type:"ExpressionStatement",expression:e}}function hs(e,t){return{type:"TemplateLiteral",quasis:e,expressions:t}}function ms(e){return"CallExpression"===e.type&&"Super"!==e.callee.type&&"MemberExpression"!==e.callee.type&&0===e.arguments.length?e.callee:jn([],e)}function fs(e,...t){return"string"==typeof e&&(e=Zn(e)),{callee:e,arguments:t,type:"NewExpression"}}function ys(e,t){return{type:"DoWhileStatement",test:e,body:t}}const vs=rs(!0),gs=rs(!1),bs={type:"DebuggerStatement"},xs={type:"ThisExpression"};function _s(e,t){return Gn("let",e,t)}function Cs(e,t){return Gn("const",e,t)}function ws(e,t){return Gn("var",e,t)}function Ps(e,t,r,n,s=!1,a=!1){return{type:"MethodDefinition",key:t,kind:e,value:ks(null,r,Vn(n)),computed:s,static:a}}function ks(e,t,r){return{type:"FunctionExpression",id:e,params:t,body:r,generator:!1,async:!1,metadata:null}}function Es(e,t,r){return{type:"IfStatement",test:e,consequent:t,alternate:r}}function Ss(e,t){return{type:"ImportDeclaration",source:rs(t),specifiers:[(r=e,{type:"ImportNamespaceSpecifier",local:Zn(r)})]};var r}function Ts(e,t){return{type:"ImportDeclaration",source:rs(t),specifiers:e.map((e=>({type:"ImportSpecifier",imported:Zn(e[0]),local:Zn(e[1])})))}}function As(e=null){return{type:"ReturnStatement",argument:e}}function Rs(e){return{type:"ThrowStatement",argument:fs("Error",rs(e))}}function Is(e){return st.test(e)?Zn(e):rs(e)}function qs(e){for(;"MemberExpression"===e.type;)e=e.object;return"Identifier"!==e.type?null:e}function Ls(e){return!0!==e.value&&1===e.value.length&&"Text"===e.value[0].type}function Ms(e){return function(e){return!0!==e.value&&1===e.value.length&&"ExpressionTag"===e.value[0].type}(e)&&e.name.startsWith("on")}function Ns(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?Ns(r.argument,t):Ns(r.value,t);break;case"ArrayPattern":for(const r of e.elements)r&&Ns(r,t);break;case"RestElement":Ns(e.argument,t);break;case"AssignmentPattern":Ns(e.left,t)}return t}function Os(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"ObjectExpression":for(const r of e.properties)"Property"===r.type?Os(r.value,t):Os(r.argument,t);break;case"ArrayExpression":for(const r of e.elements)r&&Os(r,t)}return t}function $s(e){return Ds([],e,(e=>e),(e=>e))}function Ds(e=[],t,r,n){switch(t.type){case"Identifier":case"MemberExpression":e.push({node:t,is_rest:!1,expression:r,update_expression:n});break;case"ObjectPattern":for(const n of t.properties)if("RestElement"===n.type){const s=e=>{const n=[];for(const e of t.properties)"Property"===e.type&&"PrivateIdentifier"!==e.key.type&&("Identifier"!==e.key.type||e.computed?n.push(e.key):n.push(rs(e.key.name)));return Hn("$.exclude_from_object",r(e),$n(n))};"Identifier"===n.argument.type?e.push({node:n.argument,is_rest:!0,expression:s,update_expression:s}):Ds(e,n.argument,s,s)}else{const t=e=>ns(r(e),n.key,n.computed||"Identifier"!==n.key.type);Ds(e,n.value,t,t)}break;case"ArrayPattern":for(let n=0;n<t.elements.length;n+=1){const s=t.elements[n];if(s)if("RestElement"===s.type){const t=e=>Hn(ns(r(e),Zn("slice")),rs(n));"Identifier"===s.argument.type?e.push({node:s.argument,is_rest:!0,expression:t,update_expression:t}):Ds(e,s.argument,t,t)}else{const t=e=>ns(r(e),rs(n),!0);Ds(e,s,t,t)}}break;case"AssignmentPattern":{const s=e=>Hn("$.value_or_fallback",r(e),t.right);"Identifier"===t.left.type?e.push({node:t.left,is_rest:!1,expression:s,update_expression:n}):Ds(e,t.left,s,n);break}}return e}function js(e){return e&&("TSNonNullExpression"===e.type||"TSAsExpression"===e.type)?e.expression:e}function Bs(e){return"Literal"===e.type||"Identifier"===e.type||"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||("ConditionalExpression"===e.type?Bs(e.test)&&Bs(e.consequent)&&Bs(e.alternate):("BinaryExpression"===e.type||"LogicalExpression"===e.type)&&(Bs(e.left)&&Bs(e.right)))}const Fs=["beforeinput","click","dblclick","contextmenu","focusin","focusout","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"],Vs={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"},Hs=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],Us=[...Object.values(Vs),"value","inert",...Hs],zs=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],Ws=["wheel","touchstart","touchmove","touchend","touchcancel"],Gs=["$state","$props","$derived","$effect","$effect.pre","$effect.active","$effect.root","$inspect","$inspect().with"],Ks=["$$props","$$restProps","$$slots"],Xs=["class","style"],Js=["textContent","innerHTML","innerText"],Qs=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"],Ys=["preventDefault","stopPropagation","stopImmediatePropagation","capture","once","passive","nonpassive","self","trusted"],Zs=["class","break","const","let","var","continue","if","for","while","do","new","static","true","false","void","with","yield","await","typeof","throw","throws","null","delete","default","catch","debugger","case","arguments","else","extends","export","import","extends","switch","instanceof","return","this"];class ea{root;#e;#t;declarations=new Map;declarators=new Map;references=new Map;function_depth=0;constructor(e,t,r){this.root=e,this.#e=t,this.#t=r,this.function_depth=t?t.function_depth+(r?0:1):0}declare(e,t,r,n=null){if("$"===e.name&&ar(e,"invalid-dollar-binding"),e.name.startsWith("$")&&"synthetic"!==r&&"param"!==r&&"rest_param"!==r&&this.function_depth<=1&&ar(e,"invalid-dollar-prefix"),this.#e){if("var"===r&&this.#t)return this.#e.declare(e,t,r);if("import"===r)return this.#e.declare(e,t,r,n)}this.declarations.has(e.name)&&ar(e,"duplicate-declaration",e.name);const s={node:e,references:[],legacy_dependencies:[],initial:n,mutated:!1,scope:this,kind:t,declaration_kind:r,is_called:!1,prop_alias:null,expression:null,mutation:null,reassigned:!1};return this.declarations.set(e.name,s),this.root.conflicts.add(e.name),s}child(e=!1){return new ea(this.root,this,e)}generate(e){if(this.#t)return this.#e.generate(e);let t=e=e.replace(/[^a-zA-Z0-9_$]/g,"_").replace(/^[0-9]/,"_"),r=1;for(;this.references.has(t)||this.declarations.has(t)||this.root.conflicts.has(t)||Zs.includes(t);)t=`${e}_${r++}`;return this.references.set(t,[]),this.root.conflicts.add(t),t}get(e){return this.declarations.get(e)??this.#e?.get(e)??null}get_bindings(e){const t=this.declarators.get(e);return t||ar(e,"INTERNAL","No binding found for declarator"),t}owner(e){return this.declarations.has(e)?this:this.#e&&this.#e.owner(e)}reference(e,t){t=[...t];let r=this.references.get(e.name);r||this.references.set(e.name,r=[]),r.push({node:e,path:t});const n=this.declarations.get(e.name);n?n.references.push({node:e,path:t}):this.#e?this.#e.reference(e,t):this.root.conflicts.add(e.name)}}class ta{conflicts=new Set;unique(e){let t=e=e.replace(/[^a-zA-Z0-9_$]/g,"_"),r=1;for(;this.conflicts.has(t);)t=`${e}_${r++}`;this.conflicts.add(t);return Zn(t)}}function ra(e,t,r,n){const s=new Map,a=new ea(t,n,!1);s.set(e,a);const i={scope:a},o=[],l=[],c=[];function u(e,t){for(const r of t)for(const t of Ns(r))e.declare(t,"normal","RestElement"===r.type?"rest_param":"param")}const p=(e,{state:t,next:r})=>{const n=t.scope.child(!0);s.set(e,n),r({scope:n})},d=(e,{state:t,next:r})=>{const n=h(e,t.scope);s.set(e,n),r({scope:n})};function h(e,t){const r=t.child();for(const t of e.attributes){if("LetDirective"!==t.type)continue;const e=[];if(r.declarators.set(t,e),s.set(t,r),t.expression)for(const n of Os(t.expression)){const t=r.declare(n,"derived","const");e.push(t)}else{const n={name:t.name,type:"Identifier",start:t.start,end:t.end},s=r.declare(n,"derived","const");e.push(s)}}return r}_t(e,i,{Identifier(e,{path:t,state:r}){const n=t.at(-1);n&&Nn(e,n)&&o.push([r.scope,{node:e,path:t.slice()}])},LabeledStatement(e,{path:t,next:n}){if(t.length>1||!r)return n();if("$"!==e.label.name)return n();const a=i.scope.child();if(s.set(e,a),"ExpressionStatement"===e.body.type&&"AssignmentExpression"===e.body.expression.type)for(const t of Ns(e.body.expression.left))t.name.startsWith("$")||c.push(t);n({scope:a})},SvelteFragment:d,SvelteElement:d,RegularElement:d,Component(e,{state:t,visit:r,path:n}){t.scope.reference(Zn(e.name),n);for(const t of e.attributes)r(t);const a=h(e,t.scope);for(const n of e.fragment.nodes)Hr(n)&&n.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name))?(s.set(n,t.scope),r(n)):("ExpressionTag"===n.type?s.set(n.expression,a):s.set(n,a),r(n,{scope:a}))},AssignmentExpression(e,{state:t,next:r}){l.push([t.scope,e.left]),r()},UpdateExpression(e,{state:t,next:r}){l.push([t.scope,e.argument]),r()},ImportDeclaration(e,{state:t}){for(const r of e.specifiers)t.scope.declare(r.local,"normal","import",e)},FunctionExpression(e,{state:t,next:r}){const n=t.scope.child();s.set(e,n),e.id&&n.declare(e.id,"normal","function"),u(n,e.params),r({scope:n})},FunctionDeclaration(e,{state:t,next:r}){e.id&&t.scope.declare(e.id,"normal","function",e);const n=t.scope.child();s.set(e,n),u(n,e.params),r({scope:n})},ArrowFunctionExpression(e,{state:t,next:r}){const n=t.scope.child();s.set(e,n),u(n,e.params),r({scope:n})},ForStatement:p,ForInStatement:p,ForOfStatement:p,BlockStatement:p,SwitchStatement:p,ClassDeclaration(e,{state:t,next:r}){e.id&&t.scope.declare(e.id,"normal","const",e),r()},VariableDeclaration(e,{state:t,path:r,next:n}){const s="ConstTag"===r.at(-1)?.type;for(const r of e.declarations){const n=[];t.scope.declarators.set(r,n);for(const a of Ns(r.id)){const i=t.scope.declare(a,s?"derived":"normal",e.kind,r.init);n.push(i)}}n()},CatchClause(e,{state:t,next:r}){if(e.param){const n=t.scope.child(!0);s.set(e,n);for(const r of Ns(e.param))t.scope.declare(r,"normal","let");r({scope:n})}else r()},EachBlock(e,{state:t,visit:r}){const n=new Set,a=o.length;r(e.expression);for(let e=a;e<o.length;e++){const[r,{node:s}]=o[e];r===t.scope&&n.add(s)}s.set(e.expression,t.scope);const i=t.scope.child();s.set(e,i);for(const t of Ns(e.context))i.declare(t,"each","const");if("Identifier"!==e.context.type&&i.declare(Zn("$$item"),"derived","synthetic"),e.index){const t=e.key&&("Identifier"!==e.key.type||!e.index||e.key.name!==e.index);i.declare(Zn(e.index),t?"derived":"normal","const")}e.key&&r(e.key,{scope:i});for(const t of e.body.nodes)r(t,{scope:i});e.fallback&&r(e.fallback,{scope:i});let l=!1;for(const[e]of i.declarations)null!==t.scope.get(e)&&(l=!0);e.metadata={contains_group_binding:!1,array_name:l?t.scope.root.unique("$$array"):null,index:i.root.unique("$$index"),item_name:"Identifier"===e.context.type?e.context.name:"$$item",references:[...n].map((e=>t.scope.get(e.name))).filter(Boolean),is_controlled:!1}},AwaitBlock(e,t){if(t.next(),e.then&&null!==e.value){const r=s.get(e.then),n=t.state.scope.child();for(const t of Ns(e.value))r.declare(t,"normal","const"),n.declare(t,"normal","const");s.set(e.value,n)}if(e.catch&&null!==e.error){const r=s.get(e.catch),n=t.state.scope.child();for(const t of Ns(e.error))r.declare(t,"normal","const"),n.declare(t,"normal","const");s.set(e.error,n)}},SnippetBlock(e,t){const r=t.state,a=!t.path.at(-2);let i=r.scope;a&&(i=n),i.declare(e.expression,"normal","function",e.expression);const o=r.scope.child();if(s.set(e,o),e.context)for(const t of Ns(e.context))o.declare(t,"each","let");t.next({scope:o})},Fragment:(e,t)=>{const r=t.state.scope.child(e.transparent);s.set(e,r),t.next({scope:r})},BindDirective(e,t){l.push([t.state.scope,e.expression]),t.next()}});for(const e of c){a.get(e.name)||a.declare(e,"legacy_reactive","let")}for(const[e,{node:t,path:r}]of o)e.reference(t,r);for(const[e,t]of l)if("MemberExpression"===t.type){let r=t.object;for(;"MemberExpression"===r.type;)r=r.object;const n=e.get(r.name);n&&(n.mutated=!0)}else Ns(t).forEach((t=>{const r=e.get(t.name);r&&(r.mutated=!0,r.reassigned=!0)}));return{scope:a,scopes:s}}function na(e){return{_(t,{next:r,state:n}){const s=e.get(t);r(void 0!==s&&s!==n.scope?{...n,scope:s}:n)}}}function sa(e,t){if(!e)return null;if("CallExpression"!==e.type)return null;let r=e.callee,n="";for(;"MemberExpression"===r.type;){if(r.computed)return null;if("Identifier"!==r.property.type)return null;n="."+r.property.name+n,r=r.object}if("CallExpression"===r.type&&"Identifier"===r.callee.type&&(n="()"+n,r=r.callee),"Identifier"!==r.type)return null;if(n=r.name+n,!Gs.includes(n))return null;return null!==t.get(r.name)?null:n}const aa={visit(){throw new Error("Cannot call visit() during analysis")},stop(){throw new Error("Cannot call stop() during analysis")}};function ia(...e){const t={};for(const n of e)for(const s in n)t[s]||(t[s]=[]),t[s].push(n[s]);const r={};for(const a in t){const i=t[a];function o(e,t){!function r(n,s){const a=i[n];if(!a)return t.next(s);let o=!1;a(e,{...t,...aa,state:s,next(e=s){o=!0,r(n+1,e)}}),o||r(n+1,s)}(0,t.state)}r[a]=o}return r}const oa=",".charCodeAt(0),la=";".charCodeAt(0),ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ua=new Uint8Array(64),pa=new Uint8Array(128);for(let e=0;e<64;e++){const t=ca.charCodeAt(e);ua[e]=t,pa[t]=e}const da="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function ha(e){const t=new Int32Array(5),r=[];let n=0;do{const s=ma(e,n),a=[];let i=!0,o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=fa(e,r,t,0);const l=t[0];l<o&&(i=!1),o=l,ya(e,r,s)?(r=fa(e,r,t,1),r=fa(e,r,t,2),r=fa(e,r,t,3),ya(e,r,s)?(r=fa(e,r,t,4),n=[l,t[1],t[2],t[3],t[4]]):n=[l,t[1],t[2],t[3]]):n=[l],a.push(n)}i||va(a),r.push(a),n=s+1}while(n<=e.length);return r}function ma(e,t){const r=e.indexOf(";",t);return-1===r?e.length:r}function fa(e,t,r,n){let s=0,a=0,i=0;do{const r=e.charCodeAt(t++);i=pa[r],s|=(31&i)<<a,a+=5}while(32&i);const o=1&s;return s>>>=1,o&&(s=-2147483648|-s),r[n]+=s,t}function ya(e,t,r){return!(t>=r)&&e.charCodeAt(t)!==oa}function va(e){e.sort(ga)}function ga(e,t){return e[0]-t[0]}function ba(e){const t=new Int32Array(5),r=16384,n=16348,s=new Uint8Array(r),a=s.subarray(0,n);let i=0,o="";for(let l=0;l<e.length;l++){const c=e[l];if(l>0&&(i===r&&(o+=da.decode(s),i=0),s[i++]=la),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const r=c[e];i>n&&(o+=da.decode(a),s.copyWithin(0,n,i),i-=n),e>0&&(s[i++]=oa),i=xa(s,i,t,r,0),1!==r.length&&(i=xa(s,i,t,r,1),i=xa(s,i,t,r,2),i=xa(s,i,t,r,3),4!==r.length&&(i=xa(s,i,t,r,4)))}}}return o+da.decode(s.subarray(0,i))}function xa(e,t,r,n,s){const a=n[s];let i=a-r[s];r[s]=a,i=i<0?-i<<1|1:i<<1;do{let r=31&i;i>>>=5,i>0&&(r|=32),e[t++]=ua[r]}while(i>0);return t}class _a{constructor(e){this.bits=e instanceof _a?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class Ca{constructor(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Ca(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const t=e-this.start,r=this.original.slice(0,t),n=this.original.slice(t);this.original=r;const s=new Ca(e,this.end,n);return s.outro=this.outro,this.outro="",this.end=e,this.edited?(s.edit("",!1),this.content=""):this.content=r,s.next=this.next,s.next&&(s.next.previous=s),s.previous=this,this.next=s,s}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.start+t.length).edit("",void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");if(t.length){if(t!==this.content){const e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0}}function wa(){return"undefined"!=typeof window&&"function"==typeof window.btoa?e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Pa=wa();let ka=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ba(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Pa(this.toString())}};function Ea(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(n).join("/")}const Sa=Object.prototype.toString;function Ta(e){const t=e.split("\n"),r=[];for(let e=0,n=0;e<t.length;e++)r.push(n),n+=t[e].length+1;return function(e){let t=0,n=r.length;for(;t<n;){const s=t+n>>1;e<r[s]?n=s:t=s+1}const s=t-1;return{line:s,column:e-r[s]}}}const Aa=/\w/;class Ra{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,r,n){if(t.length){let s=t.indexOf("\n",0),a=-1;for(;s>=0;){const i=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=t.indexOf("\n",s+1)}const i=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i),this.advance(t.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,r,n,s){let a=t.start,i=!0,o=!1;for(;a<t.end;){if(this.hires||i||s.has(a)){const t=[this.generatedCodeColumn,e,n.line,n.column];"boundary"===this.hires?Aa.test(r[a])?o||(this.rawSegments.push(t),o=!0):(this.rawSegments.push(t),o=!1):this.rawSegments.push(t)}"\n"===r[a]?(n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,i=!0):(n.column+=1,this.generatedCodeColumn+=1,i=!1),a+=1}this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const Ia="\n",qa={insertLeft:!1,insertRight:!1,storeName:!1};class La{constructor(e,t={}){const r=new Ca(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new _a},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this}appendRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this}clone(){const e=new La(this.original,{filename:this.filename});let t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const n=t.next,s=n&&n.clone();s&&(r.next=s,s.previous=r,r=s),t=n}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new _a(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new Ra(e.hires),n=Ta(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((e=>{const s=n(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,s,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,s,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ea(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:r.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new ka(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),n=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===n.length)return null;if(r.length>=n.length)return"\t";const s=n.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(s+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;var n;if(n=e,"[object Object]"===Sa.call(n)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;const s={};if((t=t||{}).exclude){("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];t<e[1];t+=1)s[t]=!0}))}let a=!1!==t.indentStart;const i=t=>a?`${e}${t}`:(a=!0,t);this.intro=this.intro.replace(r,i);let o=0,l=this.firstChunk;for(;l;){const t=l.end;if(l.edited)s[o]||(l.content=l.content.replace(r,i),l.content.length&&(a="\n"===l.content[l.content.length-1]));else for(o=l.start;o<t;){if(!s[o]){const t=this.original[o];"\n"===t?a=!0:"\r"!==t&&a&&(a=!1,o===l.start||(this._splitChunk(l,o),l=l.next),l.prependRight(e))}o+=1}o=l.end,l=l.next}return this.outro=this.outro.replace(r,i),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return qa.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),qa.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return qa.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),qa.insertRight=!0),this.prependRight(e,t)}move(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);const n=this.byStart[e],s=this.byEnd[t],a=n.previous,i=s.next,o=this.byStart[r];if(!o&&s===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return a&&(a.next=i),i&&(i.previous=a),l&&(l.next=n),o&&(o.previous=s),n.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,s.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=s),this}overwrite(e,t,r,n){return n=n||{},this.update(e,t,r,{...n,overwrite:!n.contentOnly})}update(e,t,r,n){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===n&&(qa.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),qa.storeName=!0),n={storeName:!0});const s=void 0!==n&&n.storeName,a=void 0!==n&&n.overwrite;if(s){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const i=this.byStart[e],o=this.byEnd[t];if(i){let e=i;for(;e!==o;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}i.edit(r,s,!a)}else{const n=new Ca(e,t,"").edit(r,s);o.next=n,n.previous=o}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Ia);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(Ia),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(Ia),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Ia),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(Ia),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let r="",n=this.firstChunk;for(;n&&(n.start>e||n.end<=e);){if(n.start<t&&n.end>=t)return r;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const s=n;for(;n;){!n.intro||s===n&&n.start!==e||(r+=n.intro);const a=n.start<t&&n.end>=t;if(a&&n.edited&&n.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const i=s===n?e-n.start:0,o=a?n.content.length+t-n.end:n.content.length;if(r+=n.content.slice(i,o),!n.outro||a&&n.end!==t||(r+=n.outro),a)break;n=n.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=Ta(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,n=r.trimEnd(t);if(r.end!==e&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,n=r.trimStart(t);if(r.end!==e&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>{if("$"===r)return"$";if("&"===r)return e[0];return+r<e.length?e[+r]:`$${r}`})):t(...e,e.index,r,e.groups)}if(e.global){(function(e,t){let r;const n=[];for(;r=e.exec(t);)n.push(r);return n})(e,this.original).forEach((e=>{null!=e.index&&this.overwrite(e.index,e.index+e[0].length,r(e,this.original))}))}else{const t=this.original.match(e);t&&null!=t.index&&this.overwrite(t.index,t.index+t[0].length,r(t,this.original))}return this}_replaceString(e,t){const{original:r}=this,n=r.indexOf(e);return-1!==n&&this.overwrite(n,n+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,n=e.length;for(let s=r.indexOf(e);-1!==s;s=r.indexOf(e,s+n))this.overwrite(s,s+n,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}const Ma={};function Na(e,t){"Literal"===e.type?t.add(String(e.value)):"ConditionalExpression"===e.type?(Na(e.consequent,t),Na(e.alternate,t)):t.add(Ma)}function Oa(e){const t=new Set;return"Text"===e.type?t.add(e.data):Na(e.expression,t),t.has(Ma)?null:t}const $a="NO_MATCH",Da="POSSIBLE_MATCH",ja="UNKNOWN_SELECTOR",Ba={Probably:0,Definitely:1},Fa=new Map([["details",new Set(["open"])],["dialog",new Set(["open"])]]);class Va{node;stylesheet;blocks;local_blocks;used;constructor(e,t){this.node=e,this.stylesheet=t,this.blocks=function(e){let t=new ni(null);const r=[t];return e.children.forEach((e=>{"Combinator"===e.type?(t=new ni(e),r.push(t)):t.add(e)})),r}(e);let r=this.blocks.length;for(;r>0&&this.blocks[r-1].global;)r-=1;this.local_blocks=this.blocks.slice(0,r);const n=1===this.blocks.length&&this.blocks[0].host,s=1===this.blocks.length&&this.blocks[0].root;this.used=0===this.local_blocks.length||n||s}apply(e){const t=[];Ha(this.local_blocks.slice(),e,t),t.length>0&&(t.forEach((({node:e,block:t})=>{this.stylesheet.nodes_with_css_class.add(e),t.should_encapsulate=!0})),this.used=!0)}transform(e,t,r){const n=r-this.blocks.filter((e=>e.should_encapsulate)).length;function s(t){e.remove(t.start,t.start+8).remove(t.end-1,t.end)}this.blocks.forEach(((r,a)=>{r.global&&s(r.selectors[0]),r.should_encapsulate&&function(t,r){for(const e of t.selectors)"PseudoClassSelector"===e.type&&"global"===e.name&&s(e);let n=t.selectors.length;for(;n--;){const s=t.selectors[n];if("PseudoElementSelector"!==s.type&&"PseudoClassSelector"!==s.type){"TypeSelector"===s.type&&"*"===s.name?e.update(s.start,s.end,r):e.appendLeft(s.end,r);break}"root"!==s.name&&"host"!==s.name&&0===n&&e.prependRight(s.start,r)}}(r,a===this.blocks.length-1?t.repeat(n+1):t)}))}validate(e){let t=0,r=this.blocks.length;for(;t<r&&this.blocks[t].global;t+=1);for(;r>t&&this.blocks[r-1].global;r-=1);for(let e=t;e<r;e+=1)this.blocks[e].global&&ar(this.blocks[e].selectors[0],"invalid-css-global-placement");this.validate_global_with_multiple_selectors(),this.validate_global_compound_selector(),this.validate_invalid_combinator_without_selector(e)}validate_global_with_multiple_selectors(){if(1!==this.blocks.length||1!==this.blocks[0].selectors.length)for(const e of this.blocks)for(const t of e.selectors)"PseudoClassSelector"===t.type&&"global"===t.name&&null!==t.args&&t.args.children.length>1&&ar(t,"invalid-css-global-selector")}validate_invalid_combinator_without_selector(e){for(let e=0;e<this.blocks.length;e++){0===this.blocks[e].selectors.length&&ar(this.node,"invalid-css-selector")}}validate_global_compound_selector(){for(const e of this.blocks)for(let t=0;t<e.selectors.length;t++){const r=e.selectors[t];"PseudoClassSelector"!==r.type||"global"!==r.name||1===e.selectors.length||t!==e.selectors.length-1&&!e.selectors.slice(t+1).some((e=>"PseudoElementSelector"!==e.type))||ar(r,"invalid-css-global-selector-list")}}get_amount_class_specificity_increased(){let e=0;for(const t of this.blocks)t.should_encapsulate&&e++;return e}}function Ha(e,t,r){const n=e.pop();if(!n)return!1;if(!t)return n.global&&e.every((e=>e.global))||n.host&&0===e.length;const s=za(n,t);if(s===$a)return!1;if(s===ja)return r.push({node:t,block:n}),!0;if(n.combinator){if("Combinator"===n.combinator.type&&" "===n.combinator.name){for(const s of e){if(s.global)continue;if(s.host)return r.push({node:t,block:n}),!0;let e=t;for(;e=Xa(e);)za(s,e)!==$a&&r.push({node:e,block:s});if(r.length)return r.push({node:t,block:n}),!0}return!!e.every((e=>e.global))&&(r.push({node:t,block:n}),!0)}if(">"===n.combinator.name){const s=e.every((e=>e.global));return!(!s&&!Ha(e,Xa(t),r))&&(r.push({node:t,block:n}),!0)}if("+"===n.combinator.name||"~"===n.combinator.name){const s=Qa(t,"+"===n.combinator.name);let a=!1;const i=e.some((e=>e.global));if(i)return(0!==s.size||null===Xa(t))&&(r.push({node:t,block:n}),!0);for(const i of s.keys())Ha(e.slice(),i,r)&&(r.push({node:t,block:n}),a=!0);return a}return r.push({node:t,block:n}),!0}return r.push({node:t,block:n}),!0}const Ua=/\\(.)/g;function za(e,t){if(e.host||e.root)return $a;let r=e.selectors.length;for(;r--;){const n=e.selectors[r];if("Percentage"===n.type||"Nth"===n.type)continue;const s=n.name.replace(Ua,"$1");if("PseudoClassSelector"===n.type&&("host"===s||"root"===s))return $a;if(1===e.selectors.length&&"PseudoClassSelector"===n.type&&"global"===s)return $a;if("PseudoClassSelector"!==n.type&&"PseudoElementSelector"!==n.type)if("AttributeSelector"===n.type){const e=Fa.get(t.name.toLowerCase());if(!e?.has(n.name.toLowerCase())&&!Ga(t,n.name,n.value&&Ka(n.value),n.matcher,n.flags?.includes("i")??!1))return $a}else if("ClassSelector"===n.type){if(!Ga(t,"class",s,"~=",!1)&&!t.attributes.some((e=>"ClassDirective"===e.type&&e.name===s)))return $a}else if("IdSelector"===n.type){if(!Ga(t,"id",s,"=",!1))return $a}else{if("TypeSelector"!==n.type)return ja;if(t.name.toLowerCase()!==s.toLowerCase()&&"*"!==s&&"SvelteElement"!==t.type)return $a}}return Da}function Wa(e,t,r,n){switch(r&&(t=t.toLowerCase(),n=n.toLowerCase()),e){case"=":return n===t;case"~=":return n.split(/\s/).includes(t);case"|=":return`${n}-`.startsWith(`${t}-`);case"^=":return n.startsWith(t);case"$=":return n.endsWith(t);case"*=":return n.includes(t);default:throw new Error("this shouldn't happen")}}function Ga(e,t,r,n,s){for(const a of e.attributes){if("SpreadAttribute"===a.type)return!0;if("BindDirective"===a.type&&a.name===t)return!0;if("Attribute"!==a.type)continue;if(a.name.toLowerCase()!==t.toLowerCase())continue;if(!0===a.value)return null===n;if(null===r)return!0;const e=a.value;if(1===e.length){const t=e[0];if("Text"===t.type)return Wa(n,r,s,t.data)}const i=new Set;let o=[];for(const t of e){const e=Oa(t);if(!e)return!0;if(o.length>0){const t=[],r=[];if(e.forEach((e=>{Je.test(e)?t.push(e):r.push(e)})),r.length>0){t.length>0&&o.forEach((e=>i.add(e)));const e=[];o.forEach((t=>{r.forEach((r=>{e.push(t+r)}))})),o=e,t.forEach((e=>{Ye.test(e)?i.add(e):o.push(e)}));continue}o.forEach((e=>i.add(e))),o=[]}if(e.forEach((e=>{Ye.test(e)?i.add(e):o.push(e)})),o.length<e.size&&o.push(" "),o.length>20)return!0}o.forEach((e=>i.add(e)));for(const e of i)if(Wa(n,r,s,e))return!0}return!1}function Ka(e){return e[0]===e[e.length-1]&&"'"===e[0]||'"'===e[0]?e.slice(1,e.length-1):e}function Xa(e){let t=e;for(;(t=t.parent)&&"RegularElement"!==t.type&&"SvelteElement"!==t.type;);return t??null}function Ja(e){let t=e;do{if("SlotElement"===t.type){const e=t.fragment.nodes;if(e.length>0){t=e.slice(-1)[0];continue}}for(;!t.prev&&t.parent&&"SlotElement"===t.parent.type;)t=t.parent;t=t.prev}while(t&&"SlotElement"===t.type);return t}function Qa(e,t){const r=new Map;let n=e;for(;n=Ja(n);)if("RegularElement"===n.type){if(n.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name.toLowerCase()))||r.set(n,Ba.Definitely),t)break}else if("EachBlock"===n.type||"IfBlock"===n.type||"AwaitBlock"===n.type){const e=Ya(n,t);if(ei(e,r),t&&Za(e))return r}if(!n||!t){let n=e;for(;(n=n?.parent)&&("EachBlock"===n.type||"IfBlock"===n.type||"AwaitBlock"===n.type);){const s=Qa(n,t);if(ei(s,r),"EachBlock"!==n.type||n.fallback?.nodes.includes(e)||ei(Ya(n,t),r),t&&Za(s))break}}return r}function Ya(e,t){const r=new Map;if("EachBlock"===e.type){const n=ri(e.body.nodes,t),s=e.fallback?ri(e.fallback.nodes,t):new Map;!Za(s)&&(ti(n),ti(s)),ei(n,r),ei(s,r)}else if("IfBlock"===e.type){const n=ri(e.consequent.nodes,t),s=e.alternate?ri(e.alternate.nodes,t):new Map;(!Za(n)||!Za(s))&&(ti(n),ti(s)),ei(n,r),ei(s,r)}else if("AwaitBlock"===e.type){const n=e.pending?ri(e.pending.nodes,t):new Map,s=e.then?ri(e.then.nodes,t):new Map,a=e.catch?ri(e.catch.nodes,t):new Map;(!Za(n)||!Za(s)||!Za(a))&&(ti(n),ti(s),ti(a)),ei(n,r),ei(s,r),ei(a,r)}return r}function Za(e){if(0===e.size)return!1;for(const t of e.values())if(t===Ba.Definitely)return!0;return!1}function ei(e,t){e.forEach(((e,r)=>{var n,s;t.set(r,(n=e,s=t.get(r),void 0===n||void 0===s?n||s:n>s?n:s))}))}function ti(e){for(const t of e.keys())e.set(t,Ba.Probably)}function ri(e,t){const r=new Map;for(let n=e.length-1;n>=0;n--){const s=e[n];if("RegularElement"===s.type){if(r.set(s,Ba.Definitely),t)break}else if("EachBlock"===s.type||"IfBlock"===s.type||"AwaitBlock"===s.type){const e=Ya(s,t);if(ei(e,r),t&&Za(e))break}}return r}class ni{host;root;combinator;selectors;start;end;should_encapsulate;constructor(e){this.combinator=e,this.host=!1,this.root=!1,this.selectors=[],this.start=-1,this.end=-1,this.should_encapsulate=!1}add(e){0===this.selectors.length&&(this.start=e.start,this.host="PseudoClassSelector"===e.type&&"host"===e.name),this.root=this.root||"PseudoClassSelector"===e.type&&"root"===e.name,this.selectors.push(e),this.end=e.end}get global(){return this.selectors.length>=1&&"PseudoClassSelector"===this.selectors[0].type&&"global"===this.selectors[0].name&&this.selectors.every((e=>"PseudoClassSelector"===e.type||"PseudoElementSelector"===e.type))}}const si=/\r/g;function ai(e){let t=5381,r=(e=e.replace(si,"")).length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}const ii=/^-((webkit)|(moz)|(o)|(ms))-/;function oi(e){return e.replace(ii,"")}const li=e=>"keyframes"===oi(e.name);function ci(e,t){let r=!1,n=!1;for(let s=e.start;s<e.end;s++)if(r)r=!1;else{const e=t.original[s];n?"*"===e&&"/"===t.original[s+1]&&(t.prependRight(++s,"\\"),n=!1):"\\"===e?r=!0:"/"===e&&"*"===t.original[++s]&&(n=!0)}}class ui{selectors;declarations;node;parent;constructor(e,t,r){this.node=e,this.parent=r,this.selectors=e.prelude.children.map((e=>new Va(e,t))),this.declarations=e.block.children.map((e=>new pi(e)))}apply(e){this.selectors.forEach((t=>t.apply(e)))}is_used(e){return!(!this.parent||"Atrule"!==this.parent.node.type||!li(this.parent.node))||(0===this.declarations.length?e:this.selectors.some((e=>e.used)))}transform(e,t,r,n){if(this.parent&&"Atrule"===this.parent.node.type&&li(this.parent.node))return;const s=`.${t}`;this.selectors.forEach((t=>t.transform(e,s,n))),this.declarations.forEach((t=>t.transform(e,r)))}validate(e){this.selectors.forEach((t=>{t.validate(e)}))}warn_on_unused_selector(e){this.selectors.forEach((t=>{t.used||e(t)}))}get_max_amount_class_specificity_increased(){return Math.max(...this.selectors.map((e=>e.get_amount_class_specificity_increased())))}prune(e,t){if(this.parent&&"Atrule"===this.parent.node.type&&li(this.parent.node))return;if(0===this.declarations.length)return void(t||(e.prependRight(this.node.start,"/* (empty) "),e.appendLeft(this.node.end,"*/"),ci(this.node,e)));const r=this.selectors.filter((e=>e.used));if(0===r.length)return e.prependRight(this.node.start,"/* (unused) "),e.appendLeft(this.node.end,"*/"),void ci(this.node,e);if(r.length<this.selectors.length){let t=!1,r=this.selectors[0].node.start;for(let n=0;n<this.selectors.length;n+=1){const s=this.selectors[n];if(s.used===t){if(t){let t=s.node.start;for(;","!==e.original[t];)t--;e.overwrite(t,t+1,"*/")}else 0===n?e.prependRight(s.node.start,"/* (unused) "):e.overwrite(r,s.node.start," /* (unused) ");t=!t}r=s.node.end}t&&e.appendLeft(r,"*/")}}}class pi{node;constructor(e){this.node=e}transform(e,t){const r=this.node.property&&oi(this.node.property.toLowerCase());if("animation"===r||"animation-name"===r){const r=this.node.value.split(" ").find((e=>t.has(e)));if(r){const n=e.original.indexOf(r,e.original.indexOf(this.node.property,this.node.start)),s=n+r.length,a=t.get(r);e.update(n,s,a)}}}}class di{node;children;declarations;constructor(e){this.node=e,this.children=[],this.declarations=[]}apply(e){"container"===this.node.name||"media"===this.node.name||"supports"===this.node.name||"layer"===this.node.name?this.children.forEach((t=>{t.apply(e)})):li(this.node)&&this.children.forEach((e=>{e.selectors.forEach((e=>{e.used=!0}))}))}is_used(e){return!0}transform(e,t,r,n){if(li(this.node)){let t=this.node.start+this.node.name.length+1;for(;" "===e.original[t];)t+=1;let n=t;for(;"{"!==e.original[n]&&" "!==e.original[n];)n+=1;if(this.node.prelude.startsWith("-global-"))e.remove(t,t+8),this.children.forEach((e=>{e.selectors.forEach((e=>{e.used=!0}))}));else{const s=r.get(this.node.prelude);e.update(t,n,s)}}this.children.forEach((s=>{s.transform(e,t,r,n)}))}validate(e){this.children.forEach((t=>{t.validate(e)}))}warn_on_unused_selector(e){"media"===this.node.name&&this.children.forEach((t=>{t.warn_on_unused_selector(e)}))}get_max_amount_class_specificity_increased(){return Math.max(...this.children.map((e=>e.get_max_amount_class_specificity_increased())))}prune(e,t){}}class hi{ast;filename;has_styles;id;children=[];keyframes=new Map;nodes_with_css_class=new Set;constructor({ast:e,component_name:t,filename:r,get_css_hash:n}){if(this.ast=e,this.filename=r,!e||0===e.children.length)return this.has_styles=!1,void(this.id="");this.id=n({filename:r,name:t,css:e.content.styles,hash:ai}),this.has_styles=!0;_t(e,{atrule:void 0},{Atrule:(e,t)=>{const r=new di(e);if(t.state.atrule?t.state.atrule.children.push(r):this.children.push(r),li(e))e.prelude.startsWith("-global-")||this.keyframes.set(e.prelude,`${this.id}-${e.prelude}`);else if(e.block){const t=[];for(const r of e.block.children)"Declaration"===r.type&&t.push(new pi(r));t.length>0&&function(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}(r.declarations,t)}t.next({...t.state,atrule:r})},Rule:(e,t)=>{const r=new ui(e,this,t.state.atrule);t.state.atrule?t.state.atrule.children.push(r):this.children.push(r),t.next()}})}apply(e){if(this.has_styles)for(let t=0;t<this.children.length;t+=1){this.children[t].apply(e)}}reify(e){e:for(const t of this.nodes_with_css_class){if("SvelteElement"===t.type&&e)continue;let r;for(const e of t.attributes){if("SpreadAttribute"===e.type)continue e;"Attribute"===e.type&&("class"===e.name.toLowerCase()&&(r=e))}if(r&&!0!==r.value){const e=r.value;1===e.length&&"Text"===e[0].type?e[0].data+=` ${this.id}`:e.push({type:"Text",data:` ${this.id}`,raw:` ${this.id}`,start:-1,end:-1,parent:null})}else t.attributes.push(zr("class",-1,-1,[{type:"Text",data:this.id,raw:this.id,parent:null,start:-1,end:-1}]))}}render(e,t,r){if(!this.ast)throw new Error("Unexpected error");const n=new La(t);_t(this.ast,null,{_:e=>{n.addSourcemapLocation(e.start),n.addSourcemapLocation(e.end)}});const s=Math.max(...this.children.map((e=>e.get_max_amount_class_specificity_increased())));for(const e of this.children)e.transform(n,this.id,this.keyframes,s);n.remove(0,this.ast.content.start);for(const e of this.children)e.prune(n,r);return n.remove(this.ast.content.end,t.length),{code:n.toString(),map:n.generateMap({includeContent:!0,source:this.filename,file:e})}}validate(e){this.children.forEach((t=>{t.validate(e)}))}warn_on_unused_selectors(e){}}const mi={"unused-selector":()=>"Unused CSS selector","avoid-is":()=>'The "is" attribute is not supported cross-browser and should be avoided',"store-with-rune-name":e=>`It looks like you're using the $${e} rune, but there is a local binding called ${e}. Referencing a local variable with a $ prefix will create a store subscription. Please rename ${e} to avoid the ambiguity.`,"non-state-reference":e=>`${e} is updated, but is not declared with $state(...). Changing its value will not correctly trigger updates.`,"a11y-aria-attributes":e=>`A11y: <${e}> should not have aria-* attributes`,"a11y-unknown-aria-attribute":(e,t)=>`A11y: Unknown aria attribute 'aria-${e}'`+(t?` (did you mean '${t}'?)`:""),"a11y-hidden":e=>`A11y: <${e}> element should not be hidden`,"a11y-incorrect-aria-attribute-type":(e,t)=>{let r;switch(e.type){case"boolean":r=`The value of '${t}' must be exactly one of true or false`;break;case"id":r=`The value of '${t}' must be a string that represents a DOM element ID`;break;case"idlist":r=`The value of '${t}' must be a space-separated list of strings that represent DOM element IDs`;break;case"tristate":r=`The value of '${t}' must be exactly one of true, false, or mixed`;break;case"token":r=`The value of '${t}' must be exactly one of ${(e.values||[]).join(", ")}`;break;case"tokenlist":r=`The value of '${t}' must be a space-separated list of one or more of ${(e.values||[]).join(", ")}`;break;default:r=`The value of '${t}' must be of type ${e.type}`}return`A11y: ${r}`},"a11y-aria-activedescendant-has-tabindex":()=>"A11y: Elements with attribute aria-activedescendant should have tabindex value","a11y-misplaced-role":e=>`A11y: <${e}> should not have role attribute`,"a11y-no-abstract-role":e=>`A11y: Abstract role '${e}' is forbidden`,"a11y-unknown-role":(e,t)=>`A11y: Unknown role '${e}'`+(t?` (did you mean '${t}'?)`:""),"a11y-no-redundant-roles":e=>`A11y: Redundant role '${e}'`,"a11y-role-has-required-aria-props":(e,t)=>`A11y: Elements with the ARIA role "${e}" must have the following attributes defined: ${t.map((e=>`"${e}"`)).join(", ")}`,"a11y-interactive-supports-focus":e=>`A11y: Elements with the '${e}' interactive role must have a tabindex value.`,"a11y-no-interactive-element-to-noninteractive-role":(e,t)=>`A11y: <${t}> cannot have role '${e}'`,"a11y-no-noninteractive-element-to-interactive-role":(e,t)=>`A11y: Non-interactive element <${t}> cannot have interactive role '${e}'`,"a11y-accesskey":()=>"A11y: Avoid using accesskey","a11y-autofocus":()=>"A11y: Avoid using autofocus","a11y-misplaced-scope":()=>"A11y: The scope attribute should only be used with <th> elements","a11y-positive-tabindex":()=>"A11y: avoid tabindex values above zero","a11y-click-events-have-key-events":()=>'A11y: visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as <button type="button"> or <a> might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details.',"a11y-no-noninteractive-tabindex":()=>"A11y: noninteractive element cannot have nonnegative tabIndex value","a11y-role-supports-aria-props":(e,t,r,n)=>{let s=`The attribute '${e}' is not supported by the role '${t}'.`;return r&&(s+=` This role is implicit on the element <${n}>.`),`A11y: ${s}`},"a11y-no-noninteractive-element-interactions":e=>`A11y: Non-interactive element <${e}> should not be assigned mouse or keyboard event listeners.`,"a11y-no-static-element-interactions":(e,t)=>`A11y: <${e}> with ${t.join(", ")} ${1===t.length?"handler":"handlers"} must have an ARIA role`,"a11y-invalid-attribute":(e,t)=>`A11y: '${t}' is not a valid ${e} attribute`,"a11y-missing-attribute":(e,t,r)=>`A11y: <${e}> element should have ${t} ${r} attribute`,"a11y-autocomplete-valid":(e,t)=>`A11y: The value '${t}' is not supported by the attribute 'autocomplete' on element <input type="${e||"..."}">`,"a11y-img-redundant-alt":()=>"A11y: Screenreaders already announce <img> elements as an image.","a11y-label-has-associated-control":()=>"A11y: A form label must be associated with a control.","a11y-media-has-caption":()=>'A11y: <video> elements must have a <track kind="captions">',"a11y-distracting-elements":e=>`A11y: Avoid <${e}> elements`,"a11y-structure":e=>e?"A11y: <figcaption> must be an immediate child of <figure>":"A11y: <figcaption> must be first or last child of <figure>","a11y-mouse-events-have-key-events":(e,t)=>`A11y: '${e}' event must be accompanied by '${t}' event`,"a11y-missing-content":e=>`A11y: <${e}> element should have child content`,"avoid-inline-class":()=>"Avoid 'new class' — instead, declare the class at the top level scope","avoid-nested-class":()=>"Avoid declaring classes below the top level scope","static-state-reference":()=>"State referenced in its own scope will never update. Did you mean to reference it inside a closure?","component-name-lowercase":e=>`<${e}> will be treated as an HTML element unless it begins with a capital letter`,"no-reactive-declaration":()=>"Reactive declarations only exist at the top level of the instance script"};function fi(e,t,r,n,...s){const a=mi[n],i=[];for(let e=r.length-1;e>=0;e--){const n=r[e];"leadingComments"in n&&i.push(...ut(n)),"Fragment"===n.type&&i.push(...pt(r[e+1]??t,n.nodes))}if(i.includes(n))return;const o=t?.start,l=t?.end;e.push({code:n,message:a(...s),position:void 0!==o&&void 0!==l?[o,l]:void 0})}const yi={currentTime:{valid_elements:["audio","video"],omit_in_ssr:!0},duration:{valid_elements:["audio","video"],event:"durationchange",omit_in_ssr:!0},paused:{valid_elements:["audio","video"],omit_in_ssr:!0},buffered:{valid_elements:["audio","video"],omit_in_ssr:!0},seekable:{valid_elements:["audio","video"],omit_in_ssr:!0},played:{valid_elements:["audio","video"],omit_in_ssr:!0},volume:{valid_elements:["audio","video"],omit_in_ssr:!0},muted:{valid_elements:["audio","video"],omit_in_ssr:!0},playbackRate:{valid_elements:["audio","video"],omit_in_ssr:!0},seeking:{valid_elements:["audio","video"],omit_in_ssr:!0},ended:{valid_elements:["audio","video"],omit_in_ssr:!0},readyState:{valid_elements:["audio","video"],omit_in_ssr:!0},videoHeight:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},videoWidth:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},naturalWidth:{valid_elements:["img"],event:"load",omit_in_ssr:!0},naturalHeight:{valid_elements:["img"],event:"load",omit_in_ssr:!0},fullscreenElement:{valid_elements:["svelte:document"],event:"fullscreenchange",omit_in_ssr:!0},visibilityState:{valid_elements:["svelte:document"],event:"visibilitychange",omit_in_ssr:!0},innerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},innerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollX:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollY:{valid_elements:["svelte:window"],omit_in_ssr:!0},online:{valid_elements:["svelte:window"],omit_in_ssr:!0},devicePixelRatio:{valid_elements:["svelte:window"],event:"resize",omit_in_ssr:!0},clientWidth:{omit_in_ssr:!0},clientHeight:{omit_in_ssr:!0},offsetWidth:{omit_in_ssr:!0},offsetHeight:{omit_in_ssr:!0},contentRect:{omit_in_ssr:!0},contentBoxSize:{omit_in_ssr:!0},borderBoxSize:{omit_in_ssr:!0},devicePixelContentBoxSize:{omit_in_ssr:!0},indeterminate:{event:"change",type:"set",valid_elements:["input"],omit_in_ssr:!0},checked:{valid_elements:["input"]},group:{valid_elements:["input"]},this:{omit_in_ssr:!0},innerText:{},innerHTML:{},textContent:{},open:{event:"toggle",valid_elements:["details"]},value:{valid_elements:["input","textarea","select"]},files:{event:"change",type:"set",valid_elements:["input"],omit_in_ssr:!0}};var vi={},gi={},bi={},xi={};Object.defineProperty(xi,"__esModule",{value:!0}),xi.default=void 0;var _i=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var r=e[t];return t+=1,{done:!1,value:r}}return{done:!0}}};return r};xi.default=_i,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=function(e,t){"function"==typeof Symbol&&"symbol"===Pi(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:wi.default.bind(t)});return e};var Ci,wi=(Ci=xi)&&Ci.__esModule?Ci:{default:Ci};function Pi(e){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(e)}Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=void 0;var ki=function(e){return e&&e.__esModule?e:{default:e}}(bi);function Ei(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Si(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Si(e,t){if(e){if("string"==typeof e)return Ti(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ti(e,t):void 0}}function Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ai=[["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"}]],Ri={entries:function(){return Ai},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Si(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(Ai);try{for(n.s();!(t=n.n()).done;){var s=Ei(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Ai)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Ai.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Ri.get(e)},keys:function(){return Ai.map((function(e){return Ei(e,1)[0]}))},values:function(){return Ai.map((function(e){return Ei(e,2)[1]}))}},Ii=(0,ki.default)(Ri,Ri.entries());gi.default=Ii;var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi.default=void 0;var Li=function(e){return e&&e.__esModule?e:{default:e}}(bi);function Mi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Ni(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ni(e,t){if(e){if("string"==typeof e)return Oi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oi(e,t):void 0}}function Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $i=[["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}]],Di={entries:function(){return $i},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ni(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}($i);try{for(n.s();!(t=n.n()).done;){var s=Mi(t.value,2),a=s[0],i=s[1];e.call(r,i,a,$i)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=$i.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Di.get(e)},keys:function(){return $i.map((function(e){return Mi(e,1)[0]}))},values:function(){return $i.map((function(e){return Mi(e,2)[1]}))}},ji=(0,Li.default)(Di,Di.entries());qi.default=ji;var Bi={},Fi={},Vi={};Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.default=void 0;var Hi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Vi.default=Hi;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.default=void 0;var zi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Ui.default=zi;var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.default=void 0;var Gi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Wi.default=Gi;var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.default=void 0;var Xi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ki.default=Xi;var Ji={};Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=void 0;var Qi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ji.default=Qi;var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=void 0;var Zi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};Yi.default=Zi;var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var to={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};eo.default=to;var ro={};Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var no={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};ro.default=no;var so={};Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;var ao={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};so.default=ao;var io={};Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;var oo={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};io.default=oo;var lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var co={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};lo.default=co;var uo={};Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var po={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};uo.default=po,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=void 0;var ho=ko(Vi),mo=ko(Ui),fo=ko(Wi),yo=ko(Ki),vo=ko(Ji),go=ko(Yi),bo=ko(eo),xo=ko(ro),_o=ko(so),Co=ko(io),wo=ko(lo),Po=ko(uo);function ko(e){return e&&e.__esModule?e:{default:e}}var Eo=[["command",ho.default],["composite",mo.default],["input",fo.default],["landmark",yo.default],["range",vo.default],["roletype",go.default],["section",bo.default],["sectionhead",xo.default],["select",_o.default],["structure",Co.default],["widget",wo.default],["window",Po.default]];Fi.default=Eo;var So={},To={};Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;var Ao={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};To.default=Ao;var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;var Io={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};Ro.default=Io;var qo={};Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var Lo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};qo.default=Lo;var Mo={};Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.default=void 0;var No={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Mo.default=No;var Oo={};Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.default=void 0;var $o={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Oo.default=$o;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.default=void 0;var jo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Do.default=jo;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.default=void 0;var Fo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};Bo.default=Fo;var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=void 0;var Ho={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Vo.default=Ho;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.default=void 0;var zo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Uo.default=zo;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.default=void 0;var Go={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Wo.default=Go;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=void 0;var Xo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ko.default=Xo;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.default=void 0;var Qo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Jo.default=Qo;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.default=void 0;var Zo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};Yo.default=Zo;var el={};Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var tl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};el.default=tl;var rl={};Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var nl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};rl.default=nl;var sl={};Object.defineProperty(sl,"__esModule",{value:!0}),sl.default=void 0;var al={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};sl.default=al;var il={};Object.defineProperty(il,"__esModule",{value:!0}),il.default=void 0;var ol={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};il.default=ol;var ll={};Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=void 0;var cl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};ll.default=cl;var ul={};Object.defineProperty(ul,"__esModule",{value:!0}),ul.default=void 0;var pl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};ul.default=pl;var dl={};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=void 0;var hl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};dl.default=hl;var ml={};Object.defineProperty(ml,"__esModule",{value:!0}),ml.default=void 0;var fl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ml.default=fl;var yl={};Object.defineProperty(yl,"__esModule",{value:!0}),yl.default=void 0;var vl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};yl.default=vl;var gl={};Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=void 0;var bl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gl.default=bl;var xl={};Object.defineProperty(xl,"__esModule",{value:!0}),xl.default=void 0;var _l={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};xl.default=_l;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.default=void 0;var wl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Cl.default=wl;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.default=void 0;var kl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};Pl.default=kl;var El={};Object.defineProperty(El,"__esModule",{value:!0}),El.default=void 0;var Sl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};El.default=Sl;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.default=void 0;var Al={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Tl.default=Al;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=void 0;var Il={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};Rl.default=Il;var ql={};Object.defineProperty(ql,"__esModule",{value:!0}),ql.default=void 0;var Ll={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ql.default=Ll;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.default=void 0;var Nl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ml.default=Nl;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.default=void 0;var $l={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};Ol.default=$l;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.default=void 0;var jl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};Dl.default=jl;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.default=void 0;var Fl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Bl.default=Fl;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.default=void 0;var Hl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Vl.default=Hl;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.default=void 0;var zl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ul.default=zl;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.default=void 0;var Gl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Wl.default=Gl;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.default=void 0;var Xl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Kl.default=Xl;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.default=void 0;var Ql={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jl.default=Ql;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.default=void 0;var Zl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yl.default=Zl;var ec={};Object.defineProperty(ec,"__esModule",{value:!0}),ec.default=void 0;var tc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ec.default=tc;var rc={};Object.defineProperty(rc,"__esModule",{value:!0}),rc.default=void 0;var nc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};rc.default=nc;var sc={};Object.defineProperty(sc,"__esModule",{value:!0}),sc.default=void 0;var ac={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};sc.default=ac;var ic={};Object.defineProperty(ic,"__esModule",{value:!0}),ic.default=void 0;var oc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};ic.default=oc;var lc={};Object.defineProperty(lc,"__esModule",{value:!0}),lc.default=void 0;var cc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};lc.default=cc;var uc={};Object.defineProperty(uc,"__esModule",{value:!0}),uc.default=void 0;var pc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};uc.default=pc;var dc={};Object.defineProperty(dc,"__esModule",{value:!0}),dc.default=void 0;var hc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};dc.default=hc;var mc={};Object.defineProperty(mc,"__esModule",{value:!0}),mc.default=void 0;var fc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};mc.default=fc;var yc={};Object.defineProperty(yc,"__esModule",{value:!0}),yc.default=void 0;var vc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};yc.default=vc;var gc={};Object.defineProperty(gc,"__esModule",{value:!0}),gc.default=void 0;var bc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};gc.default=bc;var xc={};Object.defineProperty(xc,"__esModule",{value:!0}),xc.default=void 0;var _c={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};xc.default=_c;var Cc={};Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.default=void 0;var wc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Cc.default=wc;var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.default=void 0;var kc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};Pc.default=kc;var Ec={};Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.default=void 0;var Sc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Ec.default=Sc;var Tc={};Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.default=void 0;var Ac={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Tc.default=Ac;var Rc={};Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var Ic={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Rc.default=Ic;var qc={};Object.defineProperty(qc,"__esModule",{value:!0}),qc.default=void 0;var Lc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};qc.default=Lc;var Mc={};Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.default=void 0;var Nc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};Mc.default=Nc;var Oc={};Object.defineProperty(Oc,"__esModule",{value:!0}),Oc.default=void 0;var $c={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Oc.default=$c;var Dc={};Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.default=void 0;var jc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};Dc.default=jc;var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.default=void 0;var Fc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Bc.default=Fc;var Vc={};Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.default=void 0;var Hc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};Vc.default=Hc;var Uc={};Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.default=void 0;var zc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Uc.default=zc;var Wc={};Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.default=void 0;var Gc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};Wc.default=Gc;var Kc={};Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.default=void 0;var Xc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};Kc.default=Xc;var Jc={};Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.default=void 0;var Qc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jc.default=Qc;var Yc={};Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.default=void 0;var Zc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yc.default=Zc;var eu={};Object.defineProperty(eu,"__esModule",{value:!0}),eu.default=void 0;var tu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};eu.default=tu;var ru={};Object.defineProperty(ru,"__esModule",{value:!0}),ru.default=void 0;var nu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ru.default=nu;var su={};Object.defineProperty(su,"__esModule",{value:!0}),su.default=void 0;var au={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};su.default=au;var iu={};Object.defineProperty(iu,"__esModule",{value:!0}),iu.default=void 0;var ou={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};iu.default=ou;var lu={};Object.defineProperty(lu,"__esModule",{value:!0}),lu.default=void 0;var cu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};lu.default=cu;var uu={};Object.defineProperty(uu,"__esModule",{value:!0}),uu.default=void 0;var pu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};uu.default=pu;var du={};Object.defineProperty(du,"__esModule",{value:!0}),du.default=void 0;var hu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};du.default=hu;var mu={};Object.defineProperty(mu,"__esModule",{value:!0}),mu.default=void 0;var fu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};mu.default=fu;var yu={};Object.defineProperty(yu,"__esModule",{value:!0}),yu.default=void 0;var vu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};yu.default=vu;var gu={};Object.defineProperty(gu,"__esModule",{value:!0}),gu.default=void 0;var bu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gu.default=bu;var xu={};Object.defineProperty(xu,"__esModule",{value:!0}),xu.default=void 0;var _u={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};xu.default=_u;var Cu={};Object.defineProperty(Cu,"__esModule",{value:!0}),Cu.default=void 0;var wu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Cu.default=wu;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.default=void 0;var ku={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Pu.default=ku;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.default=void 0;var Su={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Eu.default=Su;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.default=void 0;var Au={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};Tu.default=Au;var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0}),Ru.default=void 0;var Iu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};Ru.default=Iu,Object.defineProperty(So,"__esModule",{value:!0}),So.default=void 0;var qu=od(To),Lu=od(Ro),Mu=od(qo),Nu=od(Mo),Ou=od(Oo),$u=od(Do),Du=od(Bo),ju=od(Vo),Bu=od(Uo),Fu=od(Wo),Vu=od(Ko),Hu=od(Jo),Uu=od(Yo),zu=od(el),Wu=od(rl),Gu=od(sl),Ku=od(il),Xu=od(ll),Ju=od(ul),Qu=od(dl),Yu=od(ml),Zu=od(yl),ep=od(gl),tp=od(xl),rp=od(Cl),np=od(Pl),sp=od(El),ap=od(Tl),ip=od(Rl),op=od(ql),lp=od(Ml),cp=od(Ol),up=od(Dl),pp=od(Bl),dp=od(Vl),hp=od(Ul),mp=od(Wl),fp=od(Kl),yp=od(Jl),vp=od(Yl),gp=od(ec),bp=od(rc),xp=od(sc),_p=od(ic),Cp=od(lc),wp=od(uc),Pp=od(dc),kp=od(mc),Ep=od(yc),Sp=od(gc),Tp=od(xc),Ap=od(Cc),Rp=od(Pc),Ip=od(Ec),qp=od(Tc),Lp=od(Rc),Mp=od(qc),Np=od(Mc),Op=od(Oc),$p=od(Dc),Dp=od(Bc),jp=od(Vc),Bp=od(Uc),Fp=od(Wc),Vp=od(Kc),Hp=od(Jc),Up=od(Yc),zp=od(eu),Wp=od(ru),Gp=od(su),Kp=od(iu),Xp=od(lu),Jp=od(uu),Qp=od(du),Yp=od(mu),Zp=od(yu),ed=od(gu),td=od(xu),rd=od(Cu),nd=od(Pu),sd=od(Eu),ad=od(Tu),id=od(Ru);function od(e){return e&&e.__esModule?e:{default:e}}var ld=[["alert",qu.default],["alertdialog",Lu.default],["application",Mu.default],["article",Nu.default],["banner",Ou.default],["blockquote",$u.default],["button",Du.default],["caption",ju.default],["cell",Bu.default],["checkbox",Fu.default],["code",Vu.default],["columnheader",Hu.default],["combobox",Uu.default],["complementary",zu.default],["contentinfo",Wu.default],["definition",Gu.default],["deletion",Ku.default],["dialog",Xu.default],["directory",Ju.default],["document",Qu.default],["emphasis",Yu.default],["feed",Zu.default],["figure",ep.default],["form",tp.default],["generic",rp.default],["grid",np.default],["gridcell",sp.default],["group",ap.default],["heading",ip.default],["img",op.default],["insertion",lp.default],["link",cp.default],["list",up.default],["listbox",pp.default],["listitem",dp.default],["log",hp.default],["main",mp.default],["mark",fp.default],["marquee",yp.default],["math",vp.default],["menu",gp.default],["menubar",bp.default],["menuitem",xp.default],["menuitemcheckbox",_p.default],["menuitemradio",Cp.default],["meter",wp.default],["navigation",Pp.default],["none",kp.default],["note",Ep.default],["option",Sp.default],["paragraph",Tp.default],["presentation",Ap.default],["progressbar",Rp.default],["radio",Ip.default],["radiogroup",qp.default],["region",Lp.default],["row",Mp.default],["rowgroup",Np.default],["rowheader",Op.default],["scrollbar",$p.default],["search",Dp.default],["searchbox",jp.default],["separator",Bp.default],["slider",Fp.default],["spinbutton",Vp.default],["status",Hp.default],["strong",Up.default],["subscript",zp.default],["superscript",Wp.default],["switch",Gp.default],["tab",Kp.default],["table",Xp.default],["tablist",Jp.default],["tabpanel",Qp.default],["term",Yp.default],["textbox",Zp.default],["time",ed.default],["timer",td.default],["toolbar",rd.default],["tooltip",nd.default],["tree",sd.default],["treegrid",ad.default],["treeitem",id.default]];So.default=ld;var cd={},ud={};Object.defineProperty(ud,"__esModule",{value:!0}),ud.default=void 0;var pd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ud.default=pd;var dd={};Object.defineProperty(dd,"__esModule",{value:!0}),dd.default=void 0;var hd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};dd.default=hd;var md={};Object.defineProperty(md,"__esModule",{value:!0}),md.default=void 0;var fd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};md.default=fd;var yd={};Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=void 0;var vd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};yd.default=vd;var gd={};Object.defineProperty(gd,"__esModule",{value:!0}),gd.default=void 0;var bd={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};gd.default=bd;var xd={};Object.defineProperty(xd,"__esModule",{value:!0}),xd.default=void 0;var _d={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};xd.default=_d;var Cd={};Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.default=void 0;var wd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Cd.default=wd;var Pd={};Object.defineProperty(Pd,"__esModule",{value:!0}),Pd.default=void 0;var kd={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Pd.default=kd;var Ed={};Object.defineProperty(Ed,"__esModule",{value:!0}),Ed.default=void 0;var Sd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ed.default=Sd;var Td={};Object.defineProperty(Td,"__esModule",{value:!0}),Td.default=void 0;var Ad={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Td.default=Ad;var Rd={};Object.defineProperty(Rd,"__esModule",{value:!0}),Rd.default=void 0;var Id={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Rd.default=Id;var qd={};Object.defineProperty(qd,"__esModule",{value:!0}),qd.default=void 0;var Ld={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};qd.default=Ld;var Md={};Object.defineProperty(Md,"__esModule",{value:!0}),Md.default=void 0;var Nd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Md.default=Nd;var Od={};Object.defineProperty(Od,"__esModule",{value:!0}),Od.default=void 0;var $d={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Od.default=$d;var Dd={};Object.defineProperty(Dd,"__esModule",{value:!0}),Dd.default=void 0;var jd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Dd.default=jd;var Bd={};Object.defineProperty(Bd,"__esModule",{value:!0}),Bd.default=void 0;var Fd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};Bd.default=Fd;var Vd={};Object.defineProperty(Vd,"__esModule",{value:!0}),Vd.default=void 0;var Hd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Vd.default=Hd;var Ud={};Object.defineProperty(Ud,"__esModule",{value:!0}),Ud.default=void 0;var zd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ud.default=zd;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.default=void 0;var Gd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Wd.default=Gd;var Kd={};Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.default=void 0;var Xd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Kd.default=Xd;var Jd={};Object.defineProperty(Jd,"__esModule",{value:!0}),Jd.default=void 0;var Qd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jd.default=Qd;var Yd={};Object.defineProperty(Yd,"__esModule",{value:!0}),Yd.default=void 0;var Zd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yd.default=Zd;var eh={};Object.defineProperty(eh,"__esModule",{value:!0}),eh.default=void 0;var th={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};eh.default=th;var rh={};Object.defineProperty(rh,"__esModule",{value:!0}),rh.default=void 0;var nh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};rh.default=nh;var sh={};Object.defineProperty(sh,"__esModule",{value:!0}),sh.default=void 0;var ah={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};sh.default=ah;var ih={};Object.defineProperty(ih,"__esModule",{value:!0}),ih.default=void 0;var oh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};ih.default=oh;var lh={};Object.defineProperty(lh,"__esModule",{value:!0}),lh.default=void 0;var ch={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};lh.default=ch;var uh={};Object.defineProperty(uh,"__esModule",{value:!0}),uh.default=void 0;var ph={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};uh.default=ph;var dh={};Object.defineProperty(dh,"__esModule",{value:!0}),dh.default=void 0;var hh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};dh.default=hh;var mh={};Object.defineProperty(mh,"__esModule",{value:!0}),mh.default=void 0;var fh={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};mh.default=fh;var yh={};Object.defineProperty(yh,"__esModule",{value:!0}),yh.default=void 0;var vh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};yh.default=vh;var gh={};Object.defineProperty(gh,"__esModule",{value:!0}),gh.default=void 0;var bh={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};gh.default=bh;var xh={};Object.defineProperty(xh,"__esModule",{value:!0}),xh.default=void 0;var _h={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};xh.default=_h;var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0}),Ch.default=void 0;var wh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ch.default=wh;var Ph={};Object.defineProperty(Ph,"__esModule",{value:!0}),Ph.default=void 0;var kh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};Ph.default=kh;var Eh={};Object.defineProperty(Eh,"__esModule",{value:!0}),Eh.default=void 0;var Sh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Eh.default=Sh;var Th={};Object.defineProperty(Th,"__esModule",{value:!0}),Th.default=void 0;var Ah={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};Th.default=Ah;var Rh={};Object.defineProperty(Rh,"__esModule",{value:!0}),Rh.default=void 0;var Ih={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};Rh.default=Ih;var qh={};Object.defineProperty(qh,"__esModule",{value:!0}),qh.default=void 0;var Lh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};qh.default=Lh,Object.defineProperty(cd,"__esModule",{value:!0}),cd.default=void 0;var Mh=bm(ud),Nh=bm(dd),Oh=bm(md),$h=bm(yd),Dh=bm(gd),jh=bm(xd),Bh=bm(Cd),Fh=bm(Pd),Vh=bm(Ed),Hh=bm(Td),Uh=bm(Rd),zh=bm(qd),Wh=bm(Md),Gh=bm(Od),Kh=bm(Dd),Xh=bm(Bd),Jh=bm(Vd),Qh=bm(Ud),Yh=bm(Wd),Zh=bm(Kd),em=bm(Jd),tm=bm(Yd),rm=bm(eh),nm=bm(rh),sm=bm(sh),am=bm(ih),im=bm(lh),om=bm(uh),lm=bm(dh),cm=bm(mh),um=bm(yh),pm=bm(gh),dm=bm(xh),hm=bm(Ch),mm=bm(Ph),fm=bm(Eh),ym=bm(Th),vm=bm(Rh),gm=bm(qh);function bm(e){return e&&e.__esModule?e:{default:e}}var xm=[["doc-abstract",Mh.default],["doc-acknowledgments",Nh.default],["doc-afterword",Oh.default],["doc-appendix",$h.default],["doc-backlink",Dh.default],["doc-biblioentry",jh.default],["doc-bibliography",Bh.default],["doc-biblioref",Fh.default],["doc-chapter",Vh.default],["doc-colophon",Hh.default],["doc-conclusion",Uh.default],["doc-cover",zh.default],["doc-credit",Wh.default],["doc-credits",Gh.default],["doc-dedication",Kh.default],["doc-endnote",Xh.default],["doc-endnotes",Jh.default],["doc-epigraph",Qh.default],["doc-epilogue",Yh.default],["doc-errata",Zh.default],["doc-example",em.default],["doc-footnote",tm.default],["doc-foreword",rm.default],["doc-glossary",nm.default],["doc-glossref",sm.default],["doc-index",am.default],["doc-introduction",im.default],["doc-noteref",om.default],["doc-notice",lm.default],["doc-pagebreak",cm.default],["doc-pagelist",um.default],["doc-part",pm.default],["doc-preface",dm.default],["doc-prologue",hm.default],["doc-pullquote",mm.default],["doc-qna",fm.default],["doc-subtitle",ym.default],["doc-tip",vm.default],["doc-toc",gm.default]];cd.default=xm;var _m={},Cm={};Object.defineProperty(Cm,"__esModule",{value:!0}),Cm.default=void 0;var wm={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Cm.default=wm;var Pm={};Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.default=void 0;var km={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Pm.default=km;var Em={};Object.defineProperty(Em,"__esModule",{value:!0}),Em.default=void 0;var Sm={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};Em.default=Sm,Object.defineProperty(_m,"__esModule",{value:!0}),_m.default=void 0;var Tm=Im(Cm),Am=Im(Pm),Rm=Im(Em);function Im(e){return e&&e.__esModule?e:{default:e}}var qm=[["graphics-document",Tm.default],["graphics-object",Am.default],["graphics-symbol",Rm.default]];_m.default=qm,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=void 0;var Lm=Dm(Fi),Mm=Dm(So),Nm=Dm(cd),Om=Dm(_m),$m=Dm(bi);function Dm(e){return e&&e.__esModule?e:{default:e}}function jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bm(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vm(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function Fm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Vm(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vm(e,t){if(e){if("string"==typeof e)return Hm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hm(e,t):void 0}}function Hm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Um=[].concat(Lm.default,Mm.default,Nm.default,Om.default);Um.forEach((function(e){var t,r=Fm(e,2)[1],n=Bm(r.superClass);try{for(n.s();!(t=n.n()).done;){var s,a=Bm(t.value);try{var i=function(){var e=s.value,t=Um.find((function(t){return Fm(t,1)[0]===e}));if(t)for(var n=t[1],a=0,i=Object.keys(n.props);a<i.length;a++){var o=i[a];Object.prototype.hasOwnProperty.call(r.props,o)||Object.assign(r.props,jm({},o,n.props[o]))}};for(a.s();!(s=a.n()).done;)i()}catch(e){a.e(e)}finally{a.f()}}}catch(e){n.e(e)}finally{n.f()}}));var zm={entries:function(){return Um},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Bm(Um);try{for(n.s();!(t=n.n()).done;){var s=Fm(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Um)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Um.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!zm.get(e)},keys:function(){return Um.map((function(e){return Fm(e,1)[0]}))},values:function(){return Um.map((function(e){return Fm(e,2)[1]}))}},Wm=(0,$m.default)(zm,zm.entries());Bi.default=Wm;var Gm={},Km={},Xm=Object.prototype.hasOwnProperty;Km.dequal=function e(t,r){var n,s;if(t===r)return!0;if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((s=t.length)===r.length)for(;s--&&e(t[s],r[s]););return-1===s}if(!n||"object"==typeof t){for(n in s=0,t){if(Xm.call(t,n)&&++s&&!Xm.call(r,n))return!1;if(!(n in r)||!e(t[n],r[n]))return!1}return Object.keys(r).length===s}}return t!=t&&r!=r},Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.default=void 0;var Jm=Km,Qm=Zm(bi),Ym=Zm(Bi);function Zm(e){return e&&e.__esModule?e:{default:e}}function ef(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||tf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(e,t){if(e){if("string"==typeof e)return rf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rf(e,t):void 0}}function rf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}for(var nf=[],sf=Ym.default.keys(),af=0;af<sf.length;af++){var of=sf[af],lf=Ym.default.get(of);if(lf)for(var cf=[].concat(lf.baseConcepts,lf.relatedConcepts),uf=0;uf<cf.length;uf++){var pf=cf[uf];"HTML"===pf.module&&function(){var e=pf.concept;if(e){var t,r=nf.find((function(t){return(0,Jm.dequal)(t,e)}));t=r?r[1]:[];for(var n=!0,s=0;s<t.length;s++)if(t[s]===of){n=!1;break}n&&t.push(of),nf.push([e,t])}}()}}var df={entries:function(){return nf},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=tf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(nf);try{for(n.s();!(t=n.n()).done;){var s=ef(t.value,2),a=s[0],i=s[1];e.call(r,i,a,nf)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=nf.find((function(t){return e.name===t[0].name&&(0,Jm.dequal)(e.attributes,t[0].attributes)}));return t&&t[1]},has:function(e){return!!df.get(e)},keys:function(){return nf.map((function(e){return ef(e,1)[0]}))},values:function(){return nf.map((function(e){return ef(e,2)[1]}))}},hf=(0,Qm.default)(df,df.entries());Gm.default=hf;var mf={};Object.defineProperty(mf,"__esModule",{value:!0}),mf.default=void 0;var ff=vf(bi),yf=vf(Bi);function vf(e){return e&&e.__esModule?e:{default:e}}function gf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||bf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bf(e,t){if(e){if("string"==typeof e)return xf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xf(e,t):void 0}}function xf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}for(var _f=[],Cf=yf.default.keys(),wf=0;wf<Cf.length;wf++){var Pf=Cf[wf],kf=yf.default.get(Pf),Ef=[];if(kf){for(var Sf=[].concat(kf.baseConcepts,kf.relatedConcepts),Tf=0;Tf<Sf.length;Tf++){var Af=Sf[Tf];if("HTML"===Af.module){var Rf=Af.concept;null!=Rf&&Ef.push(Rf)}}Ef.length>0&&_f.push([Pf,Ef])}}var If={entries:function(){return _f},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(_f);try{for(n.s();!(t=n.n()).done;){var s=gf(t.value,2),a=s[0],i=s[1];e.call(r,i,a,_f)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=_f.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!If.get(e)},keys:function(){return _f.map((function(e){return gf(e,1)[0]}))},values:function(){return _f.map((function(e){return gf(e,2)[1]}))}},qf=(0,ff.default)(If,If.entries());mf.default=qf,Object.defineProperty(vi,"__esModule",{value:!0});var Lf=vi.roles=vi.roleElements=zf=vi.elementRoles=vi.dom=Ff=vi.aria=void 0,Mf=jf(gi),Nf=jf(qi),Of=jf(Bi),$f=jf(Gm),Df=jf(mf);function jf(e){return e&&e.__esModule?e:{default:e}}var Bf=Mf.default,Ff=vi.aria=Bf,Vf=Nf.default;vi.dom=Vf;var Hf=Of.default;Lf=vi.roles=Hf;var Uf=$f.default,zf=vi.elementRoles=Uf,Wf=Df.default;vi.roleElements=Wf;var Gf={},Kf={},Xf={},Jf={};Object.defineProperty(Jf,"__esModule",{value:!0}),Jf.default=void 0;var Qf=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var r=e[t];return t+=1,{done:!1,value:r}}return{done:!0}}};return r};Jf.default=Qf,Object.defineProperty(Xf,"__esModule",{value:!0}),Xf.default=function(e,t){"function"==typeof Symbol&&"symbol"===Zf(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:Yf.default.bind(t)});return e};var Yf=function(e){return e&&e.__esModule?e:{default:e}}(Jf);function Zf(e){return Zf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zf(e)}var ey={},ty={};Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=void 0;var ry={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"};ty.default=ry;var ny={};Object.defineProperty(ny,"__esModule",{value:!0}),ny.default=void 0;var sy={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"};ny.default=sy;var ay={};Object.defineProperty(ay,"__esModule",{value:!0}),ay.default=void 0;var iy={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"};ay.default=iy;var oy={};Object.defineProperty(oy,"__esModule",{value:!0}),oy.default=void 0;var ly={relatedConcepts:[],type:"structure"};oy.default=ly;var cy={};Object.defineProperty(cy,"__esModule",{value:!0}),cy.default=void 0;var uy={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"};cy.default=uy;var py={};Object.defineProperty(py,"__esModule",{value:!0}),py.default=void 0;var dy={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"};py.default=dy;var hy={};Object.defineProperty(hy,"__esModule",{value:!0}),hy.default=void 0;var my={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"};hy.default=my;var fy={};Object.defineProperty(fy,"__esModule",{value:!0}),fy.default=void 0;var yy={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"};fy.default=yy;var vy={};Object.defineProperty(vy,"__esModule",{value:!0}),vy.default=void 0;var gy={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"};vy.default=gy;var by={};Object.defineProperty(by,"__esModule",{value:!0}),by.default=void 0;var xy={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"};by.default=xy;var _y={};Object.defineProperty(_y,"__esModule",{value:!0}),_y.default=void 0;var Cy={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"};_y.default=Cy;var wy={};Object.defineProperty(wy,"__esModule",{value:!0}),wy.default=void 0;var Py={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"};wy.default=Py;var ky={};Object.defineProperty(ky,"__esModule",{value:!0}),ky.default=void 0;var Ey={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"};ky.default=Ey;var Sy={};Object.defineProperty(Sy,"__esModule",{value:!0}),Sy.default=void 0;var Ty={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"};Sy.default=Ty;var Ay={};Object.defineProperty(Ay,"__esModule",{value:!0}),Ay.default=void 0;var Ry={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"};Ay.default=Ry;var Iy={};Object.defineProperty(Iy,"__esModule",{value:!0}),Iy.default=void 0;var qy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"};Iy.default=qy;var Ly={};Object.defineProperty(Ly,"__esModule",{value:!0}),Ly.default=void 0;var My={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"};Ly.default=My;var Ny={};Object.defineProperty(Ny,"__esModule",{value:!0}),Ny.default=void 0;var Oy={relatedConcepts:[],type:"structure"};Ny.default=Oy;var $y={};Object.defineProperty($y,"__esModule",{value:!0}),$y.default=void 0;var Dy={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"};$y.default=Dy;var jy={};Object.defineProperty(jy,"__esModule",{value:!0}),jy.default=void 0;var By={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"};jy.default=By;var Fy={};Object.defineProperty(Fy,"__esModule",{value:!0}),Fy.default=void 0;var Vy={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"};Fy.default=Vy;var Hy={};Object.defineProperty(Hy,"__esModule",{value:!0}),Hy.default=void 0;var Uy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"};Hy.default=Uy;var zy={};Object.defineProperty(zy,"__esModule",{value:!0}),zy.default=void 0;var Wy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"};zy.default=Wy;var Gy={};Object.defineProperty(Gy,"__esModule",{value:!0}),Gy.default=void 0;var Ky={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"};Gy.default=Ky;var Xy={};Object.defineProperty(Xy,"__esModule",{value:!0}),Xy.default=void 0;var Jy={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"};Xy.default=Jy;var Qy={};Object.defineProperty(Qy,"__esModule",{value:!0}),Qy.default=void 0;var Yy={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"};Qy.default=Yy;var Zy={};Object.defineProperty(Zy,"__esModule",{value:!0}),Zy.default=void 0;var ev={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"};Zy.default=ev;var tv={};Object.defineProperty(tv,"__esModule",{value:!0}),tv.default=void 0;var rv={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"};tv.default=rv;var nv={};Object.defineProperty(nv,"__esModule",{value:!0}),nv.default=void 0;var sv={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"};nv.default=sv;var av={};Object.defineProperty(av,"__esModule",{value:!0}),av.default=void 0;var iv={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"};av.default=iv;var ov={};Object.defineProperty(ov,"__esModule",{value:!0}),ov.default=void 0;var lv={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"};ov.default=lv;var cv={};Object.defineProperty(cv,"__esModule",{value:!0}),cv.default=void 0;var uv={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"};cv.default=uv;var pv={};Object.defineProperty(pv,"__esModule",{value:!0}),pv.default=void 0;var dv={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"};pv.default=dv;var hv={};Object.defineProperty(hv,"__esModule",{value:!0}),hv.default=void 0;var mv={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"};hv.default=mv;var fv={};Object.defineProperty(fv,"__esModule",{value:!0}),fv.default=void 0;var yv={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"};fv.default=yv;var vv={};Object.defineProperty(vv,"__esModule",{value:!0}),vv.default=void 0;var gv={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"};vv.default=gv;var bv={};Object.defineProperty(bv,"__esModule",{value:!0}),bv.default=void 0;var xv={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"};bv.default=xv;var _v={};Object.defineProperty(_v,"__esModule",{value:!0}),_v.default=void 0;var Cv={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"};_v.default=Cv;var wv={};Object.defineProperty(wv,"__esModule",{value:!0}),wv.default=void 0;var Pv={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"};wv.default=Pv;var kv={};Object.defineProperty(kv,"__esModule",{value:!0}),kv.default=void 0;var Ev={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"};kv.default=Ev;var Sv={};Object.defineProperty(Sv,"__esModule",{value:!0}),Sv.default=void 0;var Tv={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"};Sv.default=Tv;var Av={};Object.defineProperty(Av,"__esModule",{value:!0}),Av.default=void 0;var Rv={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"};Av.default=Rv;var Iv={};Object.defineProperty(Iv,"__esModule",{value:!0}),Iv.default=void 0;var qv={relatedConcepts:[],type:"window"};Iv.default=qv;var Lv={};Object.defineProperty(Lv,"__esModule",{value:!0}),Lv.default=void 0;var Mv={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"};Lv.default=Mv;var Nv={};Object.defineProperty(Nv,"__esModule",{value:!0}),Nv.default=void 0;var Ov={relatedConcepts:[],type:"structure"};Nv.default=Ov;var $v={};Object.defineProperty($v,"__esModule",{value:!0}),$v.default=void 0;var Dv={relatedConcepts:[],type:"widget"};$v.default=Dv;var jv={};Object.defineProperty(jv,"__esModule",{value:!0}),jv.default=void 0;var Bv={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"};jv.default=Bv;var Fv={};Object.defineProperty(Fv,"__esModule",{value:!0}),Fv.default=void 0;var Vv={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"};Fv.default=Vv;var Hv={};Object.defineProperty(Hv,"__esModule",{value:!0}),Hv.default=void 0;var Uv={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"};Hv.default=Uv;var zv={};Object.defineProperty(zv,"__esModule",{value:!0}),zv.default=void 0;var Wv={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"};zv.default=Wv;var Gv={};Object.defineProperty(Gv,"__esModule",{value:!0}),Gv.default=void 0;var Kv={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"};Gv.default=Kv;var Xv={};Object.defineProperty(Xv,"__esModule",{value:!0}),Xv.default=void 0;var Jv={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"};Xv.default=Jv;var Qv={};Object.defineProperty(Qv,"__esModule",{value:!0}),Qv.default=void 0;var Yv={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"};Qv.default=Yv;var Zv={};Object.defineProperty(Zv,"__esModule",{value:!0}),Zv.default=void 0;var eg={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"};Zv.default=eg;var tg={};Object.defineProperty(tg,"__esModule",{value:!0}),tg.default=void 0;var rg={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"};tg.default=rg;var ng={};Object.defineProperty(ng,"__esModule",{value:!0}),ng.default=void 0;var sg={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"};ng.default=sg;var ag={};Object.defineProperty(ag,"__esModule",{value:!0}),ag.default=void 0;var ig={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"};ag.default=ig;var og={};Object.defineProperty(og,"__esModule",{value:!0}),og.default=void 0;var lg={relatedConcepts:[],type:"structure"};og.default=lg;var cg={};Object.defineProperty(cg,"__esModule",{value:!0}),cg.default=void 0;var ug={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"};cg.default=ug;var pg={};Object.defineProperty(pg,"__esModule",{value:!0}),pg.default=void 0;var dg={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"};pg.default=dg;var hg={};Object.defineProperty(hg,"__esModule",{value:!0}),hg.default=void 0;var mg={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"};hg.default=mg;var fg={};Object.defineProperty(fg,"__esModule",{value:!0}),fg.default=void 0;var yg={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"};fg.default=yg;var vg={};Object.defineProperty(vg,"__esModule",{value:!0}),vg.default=void 0;var gg={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"};vg.default=gg;var bg={};Object.defineProperty(bg,"__esModule",{value:!0}),bg.default=void 0;var xg={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"};bg.default=xg;var _g={};Object.defineProperty(_g,"__esModule",{value:!0}),_g.default=void 0;var Cg={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"};_g.default=Cg;var wg={};Object.defineProperty(wg,"__esModule",{value:!0}),wg.default=void 0;var Pg={relatedConcepts:[],type:"widget"};wg.default=Pg;var kg={};Object.defineProperty(kg,"__esModule",{value:!0}),kg.default=void 0;var Eg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"};kg.default=Eg;var Sg={};Object.defineProperty(Sg,"__esModule",{value:!0}),Sg.default=void 0;var Tg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"};Sg.default=Tg;var Ag={};Object.defineProperty(Ag,"__esModule",{value:!0}),Ag.default=void 0;var Rg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"};Ag.default=Rg;var Ig={};Object.defineProperty(Ig,"__esModule",{value:!0}),Ig.default=void 0;var qg={relatedConcepts:[],type:"widget"};Ig.default=qg;var Lg={};Object.defineProperty(Lg,"__esModule",{value:!0}),Lg.default=void 0;var Mg={relatedConcepts:[],type:"widget"};Lg.default=Mg;var Ng={};Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.default=void 0;var Og={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"};Ng.default=Og;var $g={};Object.defineProperty($g,"__esModule",{value:!0}),$g.default=void 0;var Dg={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"};$g.default=Dg;var jg={};Object.defineProperty(jg,"__esModule",{value:!0}),jg.default=void 0;var Bg={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"};jg.default=Bg;var Fg={};Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.default=void 0;var Vg={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"};Fg.default=Vg;var Hg={};Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.default=void 0;var Ug={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"};Hg.default=Ug;var zg={};Object.defineProperty(zg,"__esModule",{value:!0}),zg.default=void 0;var Wg={relatedConcepts:[],type:"structure"};zg.default=Wg;var Gg={};Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.default=void 0;var Kg={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"};Gg.default=Kg;var Xg={};Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.default=void 0;var Jg={relatedConcepts:[],type:"widget"};Xg.default=Jg;var Qg={};Object.defineProperty(Qg,"__esModule",{value:!0}),Qg.default=void 0;var Yg={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"};Qg.default=Yg;var Zg={};Object.defineProperty(Zg,"__esModule",{value:!0}),Zg.default=void 0;var eb={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"};Zg.default=eb;var tb={};Object.defineProperty(tb,"__esModule",{value:!0}),tb.default=void 0;var rb={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"};tb.default=rb;var nb={};Object.defineProperty(nb,"__esModule",{value:!0}),nb.default=void 0;var sb={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"};nb.default=sb;var ab={};Object.defineProperty(ab,"__esModule",{value:!0}),ab.default=void 0;var ib={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"};ab.default=ib;var ob={};Object.defineProperty(ob,"__esModule",{value:!0}),ob.default=void 0;var lb={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"};ob.default=lb;var cb={};Object.defineProperty(cb,"__esModule",{value:!0}),cb.default=void 0;var ub={relatedConcepts:[],type:"structure"};cb.default=ub;var pb={};Object.defineProperty(pb,"__esModule",{value:!0}),pb.default=void 0;var db={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"};pb.default=db;var hb={};Object.defineProperty(hb,"__esModule",{value:!0}),hb.default=void 0;var mb={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"};hb.default=mb;var fb={};Object.defineProperty(fb,"__esModule",{value:!0}),fb.default=void 0;var yb={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"};fb.default=yb;var vb={};Object.defineProperty(vb,"__esModule",{value:!0}),vb.default=void 0;var gb={relatedConcepts:[],type:"structure"};vb.default=gb;var bb={};Object.defineProperty(bb,"__esModule",{value:!0}),bb.default=void 0;var xb={relatedConcepts:[],type:"structure"};bb.default=xb;var _b={};Object.defineProperty(_b,"__esModule",{value:!0}),_b.default=void 0;var Cb={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"};_b.default=Cb;var wb={};Object.defineProperty(wb,"__esModule",{value:!0}),wb.default=void 0;var Pb={relatedConcepts:[],type:"structure"};wb.default=Pb;var kb={};Object.defineProperty(kb,"__esModule",{value:!0}),kb.default=void 0;var Eb={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"};kb.default=Eb;var Sb={};Object.defineProperty(Sb,"__esModule",{value:!0}),Sb.default=void 0;var Tb={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"};Sb.default=Tb;var Ab={};Object.defineProperty(Ab,"__esModule",{value:!0}),Ab.default=void 0;var Rb={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"};Ab.default=Rb;var Ib={};Object.defineProperty(Ib,"__esModule",{value:!0}),Ib.default=void 0;var qb={relatedConcepts:[],type:"structure"};Ib.default=qb;var Lb={};Object.defineProperty(Lb,"__esModule",{value:!0}),Lb.default=void 0;var Mb={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"};Lb.default=Mb;var Nb={};Object.defineProperty(Nb,"__esModule",{value:!0}),Nb.default=void 0;var Ob={relatedConcepts:[],type:"structure"};Nb.default=Ob;var $b={};Object.defineProperty($b,"__esModule",{value:!0}),$b.default=void 0;var Db={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"};$b.default=Db;var jb={};Object.defineProperty(jb,"__esModule",{value:!0}),jb.default=void 0;var Bb={relatedConcepts:[],type:"structure"};jb.default=Bb;var Fb={};Object.defineProperty(Fb,"__esModule",{value:!0}),Fb.default=void 0;var Vb={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"};Fb.default=Vb;var Hb={};Object.defineProperty(Hb,"__esModule",{value:!0}),Hb.default=void 0;var Ub={relatedConcepts:[],type:"structure"};Hb.default=Ub;var zb={};Object.defineProperty(zb,"__esModule",{value:!0}),zb.default=void 0;var Wb={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"};zb.default=Wb;var Gb={};Object.defineProperty(Gb,"__esModule",{value:!0}),Gb.default=void 0;var Kb={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"};Gb.default=Kb;var Xb={};Object.defineProperty(Xb,"__esModule",{value:!0}),Xb.default=void 0;var Jb={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"};Xb.default=Jb;var Qb={};Object.defineProperty(Qb,"__esModule",{value:!0}),Qb.default=void 0;var Yb={relatedConcepts:[],type:"structure"};Qb.default=Yb;var Zb={};Object.defineProperty(Zb,"__esModule",{value:!0}),Zb.default=void 0;var ex={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"};Zb.default=ex;var tx={};Object.defineProperty(tx,"__esModule",{value:!0}),tx.default=void 0;var rx={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"};tx.default=rx;var nx={};Object.defineProperty(nx,"__esModule",{value:!0}),nx.default=void 0;var sx={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"};nx.default=sx;var ax={};Object.defineProperty(ax,"__esModule",{value:!0}),ax.default=void 0;var ix={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"};ax.default=ix;var ox={};Object.defineProperty(ox,"__esModule",{value:!0}),ox.default=void 0;var lx={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"};ox.default=lx;var cx={};Object.defineProperty(cx,"__esModule",{value:!0}),cx.default=void 0;var ux={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"};cx.default=ux;var px={};Object.defineProperty(px,"__esModule",{value:!0}),px.default=void 0;var dx={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"};px.default=dx;var hx={};Object.defineProperty(hx,"__esModule",{value:!0}),hx.default=void 0;var mx={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"};hx.default=mx;var fx={};Object.defineProperty(fx,"__esModule",{value:!0}),fx.default=void 0;var yx={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"};fx.default=yx;var vx={};Object.defineProperty(vx,"__esModule",{value:!0}),vx.default=void 0;var gx={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"};vx.default=gx;var bx={};Object.defineProperty(bx,"__esModule",{value:!0}),bx.default=void 0;var xx={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"};bx.default=xx;var _x={};Object.defineProperty(_x,"__esModule",{value:!0}),_x.default=void 0;var Cx={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"};_x.default=Cx;var wx={};Object.defineProperty(wx,"__esModule",{value:!0}),wx.default=void 0;var Px={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"};wx.default=Px;var kx={};Object.defineProperty(kx,"__esModule",{value:!0}),kx.default=void 0;var Ex={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"};kx.default=Ex;var Sx={};Object.defineProperty(Sx,"__esModule",{value:!0}),Sx.default=void 0;var Tx={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"};Sx.default=Tx;var Ax={};Object.defineProperty(Ax,"__esModule",{value:!0}),Ax.default=void 0;var Rx={relatedConcepts:[],type:"structure"};Ax.default=Rx;var Ix={};Object.defineProperty(Ix,"__esModule",{value:!0}),Ix.default=void 0;var qx={relatedConcepts:[],type:"window"};Ix.default=qx,Object.defineProperty(ey,"__esModule",{value:!0}),ey.default=void 0;var Lx=JC(Xf),Mx=JC(ty),Nx=JC(ny),Ox=JC(ay),$x=JC(oy),Dx=JC(cy),jx=JC(py),Bx=JC(hy),Fx=JC(fy),Vx=JC(vy),Hx=JC(by),Ux=JC(_y),zx=JC(wy),Wx=JC(ky),Gx=JC(Sy),Kx=JC(Ay),Xx=JC(Iy),Jx=JC(Ly),Qx=JC(Ny),Yx=JC($y),Zx=JC(jy),e_=JC(Fy),t_=JC(Hy),r_=JC(zy),n_=JC(Gy),s_=JC(Xy),a_=JC(Qy),i_=JC(Zy),o_=JC(tv),l_=JC(nv),c_=JC(av),u_=JC(ov),p_=JC(cv),d_=JC(pv),h_=JC(hv),m_=JC(fv),f_=JC(vv),y_=JC(bv),v_=JC(_v),g_=JC(wv),b_=JC(kv),x_=JC(Sv),__=JC(Av),C_=JC(Iv),w_=JC(Lv),P_=JC(Nv),k_=JC($v),E_=JC(jv),S_=JC(Fv),T_=JC(Hv),A_=JC(zv),R_=JC(Gv),I_=JC(Xv),q_=JC(Qv),L_=JC(Zv),M_=JC(tg),N_=JC(ng),O_=JC(ag),$_=JC(og),D_=JC(cg),j_=JC(pg),B_=JC(hg),F_=JC(fg),V_=JC(vg),H_=JC(bg),U_=JC(_g),z_=JC(wg),W_=JC(kg),G_=JC(Sg),K_=JC(Ag),X_=JC(Ig),J_=JC(Lg),Q_=JC(Ng),Y_=JC($g),Z_=JC(jg),eC=JC(Fg),tC=JC(Hg),rC=JC(zg),nC=JC(Gg),sC=JC(Xg),aC=JC(Qg),iC=JC(Zg),oC=JC(tb),lC=JC(nb),cC=JC(ab),uC=JC(ob),pC=JC(cb),dC=JC(pb),hC=JC(hb),mC=JC(fb),fC=JC(vb),yC=JC(bb),vC=JC(_b),gC=JC(wb),bC=JC(kb),xC=JC(Sb),_C=JC(Ab),CC=JC(Ib),wC=JC(Lb),PC=JC(Nb),kC=JC($b),EC=JC(jb),SC=JC(Fb),TC=JC(Hb),AC=JC(zb),RC=JC(Gb),IC=JC(Xb),qC=JC(Qb),LC=JC(Zb),MC=JC(tx),NC=JC(nx),OC=JC(ax),$C=JC(ox),DC=JC(cx),jC=JC(px),BC=JC(hx),FC=JC(fx),VC=JC(vx),HC=JC(bx),UC=JC(_x),zC=JC(wx),WC=JC(kx),GC=JC(Sx),KC=JC(Ax),XC=JC(Ix);function JC(e){return e&&e.__esModule?e:{default:e}}function QC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||YC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function YC(e,t){if(e){if("string"==typeof e)return ZC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ZC(e,t):void 0}}function ZC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ew=[["AbbrRole",Mx.default],["AlertDialogRole",Nx.default],["AlertRole",Ox.default],["AnnotationRole",$x.default],["ApplicationRole",Dx.default],["ArticleRole",jx.default],["AudioRole",Bx.default],["BannerRole",Fx.default],["BlockquoteRole",Vx.default],["BusyIndicatorRole",Hx.default],["ButtonRole",Ux.default],["CanvasRole",zx.default],["CaptionRole",Wx.default],["CellRole",Gx.default],["CheckBoxRole",Kx.default],["ColorWellRole",Xx.default],["ColumnHeaderRole",Jx.default],["ColumnRole",Qx.default],["ComboBoxRole",Yx.default],["ComplementaryRole",Zx.default],["ContentInfoRole",e_.default],["DateRole",t_.default],["DateTimeRole",r_.default],["DefinitionRole",n_.default],["DescriptionListDetailRole",s_.default],["DescriptionListRole",a_.default],["DescriptionListTermRole",i_.default],["DetailsRole",o_.default],["DialogRole",l_.default],["DirectoryRole",c_.default],["DisclosureTriangleRole",u_.default],["DivRole",p_.default],["DocumentRole",d_.default],["EmbeddedObjectRole",h_.default],["FeedRole",m_.default],["FigcaptionRole",f_.default],["FigureRole",y_.default],["FooterRole",v_.default],["FormRole",g_.default],["GridRole",b_.default],["GroupRole",x_.default],["HeadingRole",__.default],["IframePresentationalRole",C_.default],["IframeRole",w_.default],["IgnoredRole",P_.default],["ImageMapLinkRole",k_.default],["ImageMapRole",E_.default],["ImageRole",S_.default],["InlineTextBoxRole",T_.default],["InputTimeRole",A_.default],["LabelRole",R_.default],["LegendRole",I_.default],["LineBreakRole",q_.default],["LinkRole",L_.default],["ListBoxOptionRole",M_.default],["ListBoxRole",N_.default],["ListItemRole",O_.default],["ListMarkerRole",$_.default],["ListRole",D_.default],["LogRole",j_.default],["MainRole",B_.default],["MarkRole",F_.default],["MarqueeRole",V_.default],["MathRole",H_.default],["MenuBarRole",U_.default],["MenuButtonRole",z_.default],["MenuItemRole",W_.default],["MenuItemCheckBoxRole",G_.default],["MenuItemRadioRole",K_.default],["MenuListOptionRole",X_.default],["MenuListPopupRole",J_.default],["MenuRole",Q_.default],["MeterRole",Y_.default],["NavigationRole",Z_.default],["NoneRole",eC.default],["NoteRole",tC.default],["OutlineRole",rC.default],["ParagraphRole",nC.default],["PopUpButtonRole",sC.default],["PreRole",aC.default],["PresentationalRole",iC.default],["ProgressIndicatorRole",oC.default],["RadioButtonRole",lC.default],["RadioGroupRole",cC.default],["RegionRole",uC.default],["RootWebAreaRole",pC.default],["RowHeaderRole",dC.default],["RowRole",hC.default],["RubyRole",mC.default],["RulerRole",fC.default],["ScrollAreaRole",yC.default],["ScrollBarRole",vC.default],["SeamlessWebAreaRole",gC.default],["SearchRole",bC.default],["SearchBoxRole",xC.default],["SliderRole",_C.default],["SliderThumbRole",CC.default],["SpinButtonRole",wC.default],["SpinButtonPartRole",PC.default],["SplitterRole",kC.default],["StaticTextRole",EC.default],["StatusRole",SC.default],["SVGRootRole",TC.default],["SwitchRole",AC.default],["TabGroupRole",RC.default],["TabRole",IC.default],["TableHeaderContainerRole",qC.default],["TableRole",LC.default],["TabListRole",MC.default],["TabPanelRole",NC.default],["TermRole",OC.default],["TextAreaRole",$C.default],["TextFieldRole",DC.default],["TimeRole",jC.default],["TimerRole",BC.default],["ToggleButtonRole",FC.default],["ToolbarRole",VC.default],["TreeRole",HC.default],["TreeGridRole",UC.default],["TreeItemRole",zC.default],["UserInterfaceTooltipRole",WC.default],["VideoRole",GC.default],["WebAreaRole",KC.default],["WindowRole",XC.default]],tw={entries:function(){return ew},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=YC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(ew);try{for(n.s();!(t=n.n()).done;){var s=QC(t.value,2),a=s[0],i=s[1];e.call(r,i,a,ew)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=ew.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!tw.get(e)},keys:function(){return ew.map((function(e){return QC(e,1)[0]}))},values:function(){return ew.map((function(e){return QC(e,2)[1]}))}},rw=(0,Lx.default)(tw,tw.entries());ey.default=rw,Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.default=void 0;var nw=aw(Xf),sw=aw(ey);function aw(e){return e&&e.__esModule?e:{default:e}}function iw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||lw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ow(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function lw(e,t){if(e){if("string"==typeof e)return cw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cw(e,t):void 0}}function cw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var uw,pw=[],dw=ow(sw.default.entries());try{var hw=function(){var e=iw(uw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("HTML"===e.module){var r=e.concept;if(r){var n=pw.findIndex((function(e){return iw(e,1)[0]===t}));-1===n&&(pw.push([t,[]]),n=pw.length-1),pw[n][1].push(r)}}}))};for(dw.s();!(uw=dw.n()).done;)hw()}catch(e){dw.e(e)}finally{dw.f()}var mw={entries:function(){return pw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=ow(pw);try{for(n.s();!(t=n.n()).done;){var s=iw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,pw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=pw.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!mw.get(e)},keys:function(){return pw.map((function(e){return iw(e,1)[0]}))},values:function(){return pw.map((function(e){return iw(e,2)[1]}))}},fw=(0,nw.default)(mw,mw.entries());Kf.default=fw;var yw={};Object.defineProperty(yw,"__esModule",{value:!0}),yw.default=void 0;var vw=bw(Xf),gw=bw(ey);function bw(e){return e&&e.__esModule?e:{default:e}}function xw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Cw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _w(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Cw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function Cw(e,t){if(e){if("string"==typeof e)return ww(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ww(e,t):void 0}}function ww(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pw,kw=[],Ew=_w(gw.default.entries());try{var Sw=function(){var e=xw(Pw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("ARIA"===e.module){var r=e.concept;if(r){var n=kw.findIndex((function(e){return xw(e,1)[0]===t}));-1===n&&(kw.push([t,[]]),n=kw.length-1),kw[n][1].push(r)}}}))};for(Ew.s();!(Pw=Ew.n()).done;)Sw()}catch(e){Ew.e(e)}finally{Ew.f()}var Tw={entries:function(){return kw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=_w(kw);try{for(n.s();!(t=n.n()).done;){var s=xw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,kw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=kw.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Tw.get(e)},keys:function(){return kw.map((function(e){return xw(e,1)[0]}))},values:function(){return kw.map((function(e){return xw(e,2)[1]}))}},Aw=(0,vw.default)(Tw,Tw.entries());yw.default=Aw;var Rw={};Object.defineProperty(Rw,"__esModule",{value:!0}),Rw.default=void 0;var Iw=Km,qw=Mw(ey),Lw=Mw(Xf);function Mw(e){return e&&e.__esModule?e:{default:e}}function Nw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||$w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ow(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$w(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function $w(e,t){if(e){if("string"==typeof e)return Dw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dw(e,t):void 0}}function Dw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var jw,Bw=[],Fw=Ow(qw.default.entries());try{var Vw=function(){var e=Nw(jw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("HTML"===e.module){var r=e.concept;if(null!=r){for(var n,s=JSON.stringify(r),a=0;a<Bw.length;a++){var i=Bw[a][0];if(JSON.stringify(i)===s){n=Bw[a][1];break}}Array.isArray(n)||(n=[]),-1===n.findIndex((function(e){return e===t}))&&n.push(t),a<Bw.length?Bw.splice(a,1,[r,n]):Bw.push([r,n])}}}))};for(Fw.s();!(jw=Fw.n()).done;)Vw()}catch(e){Fw.e(e)}finally{Fw.f()}var Hw={entries:function(){return Bw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Ow(Bw);try{for(n.s();!(t=n.n()).done;){var s=Nw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Bw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Bw.find((function(t){return e.name===t[0].name&&(0,Iw.dequal)(e.attributes,t[0].attributes)}));return t&&t[1]},has:function(e){return!!Hw.get(e)},keys:function(){return Bw.map((function(e){return Nw(e,1)[0]}))},values:function(){return Bw.map((function(e){return Nw(e,2)[1]}))}},Uw=(0,Lw.default)(Hw,Hw.entries());Rw.default=Uw,Object.defineProperty(Gf,"__esModule",{value:!0});var zw=Gf.elementAXObjects=tP=Gf.AXObjects=Zw=Gf.AXObjectRoles=Gf.AXObjectElements=void 0,Ww=Jw(Kf),Gw=Jw(yw),Kw=Jw(ey),Xw=Jw(Rw);function Jw(e){return e&&e.__esModule?e:{default:e}}var Qw=Ww.default;Gf.AXObjectElements=Qw;var Yw=Gw.default,Zw=Gf.AXObjectRoles=Yw,eP=Kw.default,tP=Gf.AXObjects=eP,rP=Xw.default;zw=Gf.elementAXObjects=rP;const nP=Lf.keys(),sP=nP.filter((e=>Lf.get(e)?.abstract)),aP=nP.filter((e=>!sP.includes(e))),iP=aP.filter((e=>{const t=Lf.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t?.superClass.some((e=>e.includes("widget")))})).concat("progressbar"),oP=aP.filter((e=>!iP.includes(e)&&"generic"!==e));function lP(e){return iP.includes(e)}function cP(e){return oP.includes(e)}function uP(e){return sP.includes(e)}const pP=["presentation","none"];function dP(e){return pP.includes(e)}function hP(e,t){if("input"===e){if("hidden"===JP(t.get("type")))return!0}const r=t.get("aria-hidden");if(!r)return!1;const n=JP(r);return null===n||(!0===n||"true"===n)}function mP(e){if(JP(e.get("disabled")))return!0;const t=e.get("aria-disabled");if(t){if(!0===JP(t))return!0}return!1}const fP=[];zf.entries().forEach((([e,t])=>{[...t].every((e=>"generic"!==e&&iP.includes(e)))&&fP.push(e)}));const yP=[];zf.entries().forEach((([e,t])=>{[...t].every((e=>oP.includes(e)))&&yP.push(e)}));const vP=[...tP.keys()].filter((e=>"widget"===tP.get(e).type)),gP=[...tP.keys()].filter((e=>["windows","structure"].includes(tP.get(e).type))),bP=[];zw.entries().forEach((([e,t])=>{[...t].every((e=>vP.includes(e)))&&bP.push(e)}));const xP=[];function _P(e,t,r){return e.name===t&&(!e.attributes||e.attributes.every((e=>{const t=r.get(e.name);return!!t&&(!e.value||e.value===QP(t))})))}zw.entries().forEach((([e,t])=>{[...t].every((e=>gP.includes(e)))&&xP.push(e)}));const CP={Interactive:"interactive",NonInteractive:"non-interactive",Static:"static"};function wP(e,t){return yP.some((r=>_P(r,e,t)))?CP.Interactive:"header"!==e&&fP.some((r=>_P(r,e,t)))?CP.NonInteractive:bP.some((r=>_P(r,e,t)))?CP.Interactive:xP.some((r=>_P(r,e,t)))?CP.NonInteractive:CP.Static}function PP(e,t){return wP(e,t)===CP.Interactive}function kP(e,t){return wP(e,t)===CP.NonInteractive}function EP(e,t){return wP(e,t)===CP.Static}function SP(e,t,r){for(const[n,s]of zw.entries())if(n.name===t&&(!n.attributes||n.attributes.every((e=>r.has(e.name)&&JP(r.get(e.name))===e.value))))for(const t of s){const r=Zw.get(t);if(r)for(const{name:t}of r)if(t===e)return!0}return!1}const TP=["shipping","billing"],AP=["","on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],RP=["home","work","mobile","fax","pager"],IP=["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"];const qP="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(" "),LP={a:["href"],area:["alt","aria-label","aria-labelledby"],html:["lang"],iframe:["title"],img:["alt"],object:["title","aria-label","aria-labelledby"]},MP=["blink","marquee"],NP=["a","h1","h2","h3","h4","h5","h6"],OP=["button","input","keygen","meter","output","progress","select","textarea"],$P=["keypress","keydown","keyup","click","contextmenu","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","dragstart","drop","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"],DP=["click","mousedown","mouseup","keypress","keydown","keyup"],jP=new Map([["header","banner"],["footer","contentinfo"]]),BP=new Map([["a","link"],["area","link"],["article","article"],["aside","complementary"],["body","document"],["button","button"],["datalist","listbox"],["dd","definition"],["dfn","term"],["dialog","dialog"],["details","group"],["dt","term"],["fieldset","group"],["figure","figure"],["form","form"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["hr","separator"],["img","img"],["li","listitem"],["link","link"],["main","main"],["menu","list"],["meter","progressbar"],["nav","navigation"],["ol","list"],["option","option"],["optgroup","group"],["output","status"],["progress","progressbar"],["section","region"],["summary","button"],["table","table"],["tbody","rowgroup"],["textarea","textbox"],["tfoot","rowgroup"],["thead","rowgroup"],["tr","row"],["ul","list"]]),FP=new Map([["command","menuitem"],["checkbox","menuitemcheckbox"],["radio","menuitemradio"]]),VP=new Map([["button","button"],["image","button"],["reset","button"],["submit","button"],["checkbox","checkbox"],["radio","radio"],["range","slider"],["number","spinbutton"],["email","textbox"],["search","searchbox"],["tel","textbox"],["text","textbox"],["url","textbox"]]),HP={ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],li:["menuitem","option","row","tab","treeitem"],table:["grid"],td:["gridcell"],fieldset:["radiogroup","presentation"]},UP=["email","search","tel","text","url"];function zP(e,t){return"menuitem"===e?function(e){const t=e.get("type");if(!t)return;const r=QP(t);return r?FP.get(r):void 0}(t):"input"===e?function(e){const t=e.get("type");if(!t)return;const r=QP(t);if(!r)return;return e.has("list")&&UP.includes(r)?"combobox":VP.get(r)}(t):BP.get(e)}const WP=["meta","html","script","style"];function GP(e,t){for(;e;){if("SvelteElement"===e.type)return!0;if("RegularElement"===e.type)return t.includes(e.name);e=e.parent}return!1}function KP(e,t){switch(e.type){case"boolean":return"boolean"==typeof t;case"string":case"id":return"string"==typeof t;case"tristate":return"boolean"==typeof t||"mixed"===t;case"integer":case"number":return"boolean"!=typeof t&&!1===isNaN(Number(t));case"token":return(e.values||[]).indexOf("string"==typeof t?t.toLowerCase():t)>-1;case"idlist":return"string"==typeof t&&t.split(Ke).every((e=>"string"==typeof e));case"tokenlist":return"string"==typeof t&&t.split(Ke).every((t=>(e.values||[]).indexOf(t.toLowerCase())>-1));default:return!1}}function XP(e,t,r=e.name){return[e,"a11y-missing-attribute",r,at.test(t[0])||"href"===t[0]?"an":"a",t.length>1?t.slice(0,-1).join(", ")+` or ${t[t.length-1]}`:t[0]]}function JP(e){return e?!0===e.value||(Ls(e)?e.value[0].data:null):null}function QP(e){const t=JP(e);return!0===t?null:t}function YP(e,t,r){if("foreign"===t.options.namespace)return;const n=(e,n,...s)=>fi(t.analysis.warnings,e,r,n,...s),s=new Map,a=new Set,i=[],o="SvelteElement"===e.type;let l=!1,c=!1,u=!1;for(const t of e.attributes)"SpreadAttribute"===t.type?l=!0:"OnDirective"===t.type?a.add(t.name):"Attribute"===t.type?Ms(t)?a.add(t.name.slice(2)):(i.push(t),s.set(t.name,t),"contenteditable"===t.name&&(c=!0)):"BindDirective"===t.type&&Js.includes(t.name)&&(u=!0);for(const t of e.attributes){if("Attribute"!==t.type)continue;const r=t.name.toLowerCase();if(r.startsWith("aria-")){WP.includes(e.name)&&n(t,"a11y-aria-attributes",e.name);const a=r.slice(5);if(!qP.includes(a)){n(t,"a11y-unknown-aria-attribute",a,dt(a,qP))}"aria-hidden"===r&&it.test(e.name)&&n(t,"a11y-hidden",e.name);let i=JP(t);if("true"===i&&(i=!0),"false"===i&&(i=!1),null!=i){const e=Ff.get(r);void 0===e||KP(e,i)||n(t,"a11y-incorrect-aria-attribute-type",e,r)}"aria-activedescendant"!==r||o||PP(e.name,s)||s.has("tabindex")||n(t,"a11y-aria-activedescendant-has-tabindex")}if("role"===r){WP.includes(e.name)&&n(t,"a11y-misplaced-role",e.name);const r=JP(t);if("string"==typeof r)for(const l of r.split(Ke)){const r=l;if(r&&uP(r))n(t,"a11y-no-abstract-role",r);else if(r&&!nP.includes(r)){n(t,"a11y-unknown-role",r,dt(r,nP))}r!==zP(e.name,s)||["ul","ol","li"].includes(e.name)||n(t,"a11y-no-redundant-roles",r);if(!GP(e.parent,["section","article"])){r===jP.get(e.name)&&n(t,"a11y-no-redundant-roles",r)}if(!o&&!SP(r,e.name,s)){const e=Lf.get(r);if(e){const s=Object.keys(e.requiredProps),a=s.some((e=>!i.find((t=>t.name===e))));a&&n(t,"a11y-role-has-required-aria-props",r,s)}}if(!mP(s)&&!hP(e.name,s)&&!dP(r)&&cP(r)&&EP(e.name,s)&&!s.get("tabindex")){[...a].some((e=>$P.includes(e)))&&n(e,"a11y-interactive-supports-focus",r)}PP(e.name,s)&&(lP(r)||dP(r))&&n(e,"a11y-no-interactive-element-to-noninteractive-role",r,e.name),kP(e.name,s)&&cP(r)&&!HP[e.name]?.includes(r)&&n(e,"a11y-no-noninteractive-element-to-interactive-role",r,e.name)}}if("accesskey"===r&&n(t,"a11y-accesskey"),"autofocus"===r&&n(t,"a11y-autofocus"),"scope"!==r||o||"th"===e.name||n(t,"a11y-misplaced-scope"),"tabindex"===r){const e=JP(t);!isNaN(e)&&+e>0&&n(t,"a11y-positive-tabindex")}}const p=s.get("role"),d=QP(p);if(a.has("click")){const t=null!==d&&!dP(d);if(!o&&!hP(e.name,s)&&(!p||t)&&!PP(e.name,s)&&!l){a.has("keydown")||a.has("keyup")||a.has("keypress")||n(e,"a11y-click-events-have-key-events")}}const h=p?d:zP(e.name,s);if(!o&&!PP(e.name,s)&&!cP(d)){const t=s.get("tabindex"),r=QP(t);t&&(null===r||Number(r)>=0)&&n(e,"a11y-no-noninteractive-tabindex")}if("string"==typeof h&&Lf.has(h)){const{props:t}=Lf.get(h),r=Ff.keys().filter((e=>!(e in t))),s=h&&void 0===p;for(const t of i)r.includes(t.name)&&n(t,"a11y-role-supports-aria-props",t.name,h,s,e.name)}if(!c&&!hP(e.name,s)&&!dP(d)&&(!PP(e.name,s)&&lP(d)||kP(e.name,s)&&!p)){[...a].some((e=>DP.includes(e)))&&n(e,"a11y-no-noninteractive-element-interactions",e.name)}if(!(p&&null===d||hP(e.name,s)||dP(d)||PP(e.name,s)||cP(d)||kP(e.name,s)||lP(d)||uP(d))){const t=[...a].filter((e=>$P.includes(e)));t.length>0&&n(e,"a11y-no-static-element-interactions",e.name,t)}a.has("mouseover")&&!a.has("focus")&&n(e,"a11y-mouse-events-have-key-events","mouseover","focus"),a.has("mouseout")&&!a.has("blur")&&n(e,"a11y-mouse-events-have-key-events","mouseout","blur");let m=!1;if("a"===e.name){const t=s.get("aria-label");t&&""!==JP(t)&&(m=!0);const r=s.get("href")||s.get("xlink:href");if(r){const e=QP(r);null!==e&&(""===e||"#"===e||/^\W*javascript:/i.test(e))&&n(r,"a11y-invalid-attribute",r.name,e)}else if(!l){const t=JP(s.get("id")),r=JP(s.get("name"));t||r||n(...XP(e,["href"]))}}else if(!l){const t=LP[e.name];if(t){t.some((e=>s.has(e)))||n(...XP(e,t))}}if("input"===e.name){const t=s.get("type"),r=QP(t);if("image"===r&&!l){const t=["alt","aria-label","aria-labelledby"];t.some((e=>s.has(e)))||n(...XP(e,t,'input type="image"'))}const a=s.get("autocomplete");if(t&&a){const e=JP(a);(function(e){if(!0===e)return!1;if(!e)return!0;const t=e.trim().toLowerCase().split(Ke);if("string"==typeof t[0]&&t[0].startsWith("section-")&&t.shift(),TP.includes(t[0])&&t.shift(),AP.includes(t[0]))t.shift();else{if(RP.includes(t[0])&&t.shift(),!IP.includes(t[0]))return!1;t.shift()}return"webauthn"===t[0]&&t.shift(),0===t.length})(e)||n(a,"a11y-autocomplete-valid",r,e)}}if("img"===e.name){const t=QP(s.get("alt")),r=JP(s.get("aria-hidden"));t&&!r&&/\b(image|picture|photo)\b/i.test(t)&&n(e,"a11y-img-redundant-alt")}if("label"===e.name){const t=e=>{let t=!1;return _t(e,{},{_(e,{next:r}){"SvelteElement"===e.type||"SlotElement"===e.type||"RegularElement"===e.type&&(OP.includes(e.name)||"slot"===e.name)?t=!0:r()}}),t};s.has("for")||t(e)||n(e,"a11y-label-has-associated-control")}if("video"===e.name){const t=s.get("aria-hidden"),r=t&&JP(t);if(s.has("muted")||"true"===r)return;let a=!1;const i=e.fragment.nodes.find((e=>"RegularElement"===e.type&&"track"===e.name));i&&(a=i.attributes.some((e=>"SpreadAttribute"===e.type||"Attribute"===e.type&&"kind"===e.name&&"captions"===JP(e)))),a||n(e,"a11y-media-has-caption")}if("figcaption"===e.name&&(GP(e.parent,["figure"])||n(e,"a11y-structure",!0)),"figure"===e.name){const t=e.fragment.nodes.filter((e=>"Comment"!==e.type&&("Text"!==e.type||et.test(e.data)))),r=t.findIndex((e=>"RegularElement"===e.type&&"figcaption"===e.name));-1!==r&&0!==r&&r!==t.length-1&&n(t[r],"a11y-structure",!1)}MP.includes(e.name)&&n(e,"a11y-distracting-elements",e.name),m||u||!NP.includes(e.name)||0!==e.fragment.nodes.length||n(e,"a11y-missing-content",e.name)}const ZP={RegularElement(e,t){YP(e,t.state,t.path)},SvelteElement(e,t){YP(e,t.state,t.path)}};function ek(e,t){for(const t of e.attributes)"Attribute"!==t.type&&"SpreadAttribute"!==t.type&&"LetDirective"!==t.type&&"OnDirective"!==t.type&&"BindDirective"!==t.type&&ar(t,"invalid-component-directive"),"OnDirective"===t.type&&(t.modifiers.length>1||t.modifiers.some((e=>"once"!==e)))&&ar(t,"invalid-event-modifier");t.next({...t.state,parent_element:null,component_slots:new Set})}function tk(e,t){let r=!1,n=!1,s=!1;for(const a of e.attributes)if("Attribute"===a.type)ot.test(a.name)&&ar(a,"invalid-attribute-name",a.name),a.name.startsWith("on")&&a.name.length>2&&(!0===a.value||Ls(a)||a.value.length>1)&&ar(a,"invalid-event-attribute-value"),"slot"===a.name&&rk(t,a),"is"===a.name&&"foreign"!==t.state.options.namespace&&fi(t.state.analysis.warnings,a,t.path,"avoid-is");else if("AnimateDirective"===a.type){const e=t.path.at(-2);"EachBlock"!==e?.type?ar(a,"invalid-animation","no-each"):e.key?e.body.nodes.filter((e=>"Comment"!==e.type&&"ConstTag"!==e.type&&("Text"!==e.type||""!==e.data.trim()))).length>1&&ar(a,"invalid-animation","child"):ar(a,"invalid-animation","each-key"),r?ar(a,"duplicate-animation"):r=!0}else if("TransitionDirective"===a.type){if(a.outro&&s||a.intro&&n){const e=(e,t)=>e&&t?"transition":e?"in":"out";ar(a,"duplicate-transition",e(n,s),e(a.intro,a.outro))}n=n||a.intro,s=s||a.outro}else if("OnDirective"===a.type){let e=!1,t="";for(const r of a.modifiers)Ys.includes(r)||ar(a,"invalid-event-modifier",Ys),"passive"===r?e=!0:"nonpassive"!==r&&"preventDefault"!==r||(t=r),e&&t&&ar(a,"invalid-event-modifier-combination","passive",t)}}function rk(e,t){let r,n=e.path.length;for(;n--;){const t=e.path[n];!r&&("Component"===t.type||"SvelteComponent"===t.type||"SvelteSelf"===t.type||"SvelteElement"===t.type||"RegularElement"===t.type&&Ur(t))&&(r=t)}if(r){Ls(t)||ar(t,"invalid-slot-attribute"),"Component"!==r.type&&"SvelteComponent"!==r.type||r!==e.path.at(-2)&&ar(t,"invalid-slot-placement");const n=t.value[0].data;if(e.state.component_slots.has(n)&&ar(t,"duplicate-slot-name",n,r.name),e.state.component_slots.add(n),"default"===n)for(const e of r.fragment.nodes)"Text"===e.type&&rt.test(e.data)||("RegularElement"!==e.type&&"SvelteFragment"!==e.type||!e.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name)))&&ar(e,"invalid-default-slot-content")}else ar(t,"invalid-slot-placement")}const nk=["dd","dt","li","option","optgroup","p","rp","rt"];function sk(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===nk.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}const ak={BindDirective(e,t){uk(e,e.expression,t.state.scope,!0);let r=e.expression;for(;"MemberExpression"===r.type;)r=r.object;if("Identifier"!==r.type&&ar(e,"invalid-binding-expression"),"Identifier"===e.expression.type&&"this"!==e.name){const n=t.state.scope.get(r.name);n&&("state"===n.kind||"prop"===n.kind||"each"===n.kind||"store_sub"===n.kind||n.mutated)||ar(e.expression,"invalid-binding-value"),"derived"===n.kind&&ar(e.expression,"invalid-derived-binding")}if("group"===e.name){t.state.scope.get(r.name)||ar(e,"INTERNAL","Cannot find declaration for bind:group")}const n=t.path.at(-1);if("RegularElement"===n?.type||"SvelteElement"===n?.type||"SvelteWindow"===n?.type||"SvelteDocument"===n?.type||"SvelteBody"===n?.type)if("foreign"===t.state.options.namespace&&"this"!==e.name&&ar(e,"invalid-binding",e.name,void 0,". Foreign elements only support bind:this"),e.name in yi){const t=yi[e.name];if(t.valid_elements&&!t.valid_elements.includes(n.name)&&ar(e,"invalid-binding",e.name,t.valid_elements.map((e=>`<${e}>`)).join(", ")),"input"===n.name&&"this"!==e.name){const t=n.attributes.find((e=>"Attribute"===e.type&&"type"===e.name));t&&!Ls(t)&&ar(t,"invalid-type-attribute"),"checked"===e.name&&"checkbox"!==t?.value[0].data&&ar(e,"invalid-binding",e.name,'<input type="checkbox">'),"files"===e.name&&"file"!==t?.value[0].data&&ar(e,"invalid-binding",e.name,'<input type="file">')}if("select"===n.name){const e=n.attributes.find((e=>"Attribute"===e.type&&"multiple"===e.name&&!Ls(e)&&!0!==e.value));e&&ar(e,"invalid-multiple-attribute")}if("offsetWidth"===e.name&&Qs.includes(n.name)&&ar(e,"invalid-binding",e.name,"non-<svg> elements. Use 'clientWidth' for <svg> instead"),Js.includes(e.name)){const t=n.attributes.find((e=>"Attribute"===e.type&&"contenteditable"===e.name));t?Ls(t)||ar(t,"dynamic-contenteditable-attribute"):ar(e,"missing-contenteditable-attribute")}}else{const t=dt(e.name,Object.keys(yi));if(t){const r=yi[t];r.valid_elements&&!r.valid_elements.includes(n.name)||ar(e,"invalid-binding",e.name,void 0,` (did you mean '${t}'?)`)}ar(e,"invalid-binding",e.name)}},ExportDefaultDeclaration(e){ar(e,"default-export")},ConstTag(e,t){const r=t.path.at(-1),n=t.path.at(-2);("Fragment"!==r?.type||"IfBlock"!==n?.type&&"SvelteFragment"!==n?.type&&"Component"!==n?.type&&"SvelteComponent"!==n?.type&&"EachBlock"!==n?.type&&"AwaitBlock"!==n?.type&&("RegularElement"!==n?.type&&"SvelteElement"!==n?.type||!n.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name))))&&ar(e,"invalid-const-placement")},LetDirective(e,t){const r=t.path.at(-1);(void 0===r||"Component"!==r.type&&"RegularElement"!==r.type&&"SvelteElement"!==r.type&&"SvelteComponent"!==r.type&&"SvelteSelf"!==r.type&&"SvelteFragment"!==r.type)&&ar(e,"invalid-let-directive-placement")},RegularElement(e,t){if("textarea"===e.name&&e.fragment.nodes.length>0)for(const t of e.attributes)"Attribute"===t.type&&"value"===t.name&&ar(e,"invalid-textarea-content");const r=t.state.scope.get(e.name);null!==r&&"import"===r.declaration_kind&&0===r.references.length&&fi(t.state.analysis.warnings,e,t.path,"component-name-lowercase",e.name),tk(e,t),t.state.parent_element&&(sk(e.name,t.state.parent_element)||ar(e,"invalid-node-placement",`<${e.name}>`,t.state.parent_element)),t.next({...t.state,parent_element:e.name})},SvelteHead(e){const t=e.attributes[0];t&&ar(t,"illegal-svelte-head-attribute")},SvelteElement(e,t){tk(e,t),t.next({...t.state,parent_element:null})},SvelteFragment(e,t){const r=t.path.at(-2);"Component"!==r?.type&&"SvelteComponent"!==r?.type&&ar(e,"invalid-svelte-fragment-placement");for(const r of e.attributes)"Attribute"===r.type?"slot"===r.name&&rk(t,r):"LetDirective"!==r.type&&ar(r,"invalid-svelte-fragment-attribute")},SlotElement(e){for(const t of e.attributes)if("Attribute"===t.type){if("name"===t.name){Ls(t)||ar(t,"invalid-slot-name",!1);"default"===t.value[0].data&&ar(t,"invalid-slot-name",!0)}}else"SpreadAttribute"!==t.type&&ar(t,"invalid-slot-element-attribute")},Component:ek,SvelteComponent:ek,SvelteSelf:ek,Text(e,t){e.parent&&t.state.parent_element&&et.test(e.data)&&(sk("#text",t.state.parent_element)||ar(e,"invalid-node-placement","Text node",t.state.parent_element))},TitleElement(e){const t=e.attributes[0];t&&ar(t,"illegal-title-attribute");const r=e.fragment.nodes.find((e=>"Text"!==e.type&&"ExpressionTag"!==e.type));r&&ar(r,"invalid-title-content")},ExpressionTag(e,t){e.parent&&t.state.parent_element&&(sk("#text",t.state.parent_element)||ar(e,"invalid-node-placement","{expression}",t.state.parent_element))}},ik=ia(ak,ZP,{VariableDeclarator(e,{state:t}){if("CallExpression"!==e.init?.type)return;const r=e.init.callee;"Identifier"!==r.type||"$state"!==r.name&&"$derived"!==r.name&&"$props"!==r.name||"store_sub"!==t.scope.get(r.name)?.kind&&ar(e.init,"invalid-rune-usage",r.name)},AssignmentExpression(e,{state:t,path:r}){const n=r.at(-1);n&&"ConstTag"===n.type||pk(e,e.left,t)},LabeledStatement(e,{path:t,state:r}){"$"!==e.label.name||"instance"===r.ast_type&&"Program"===t.at(-1).type||fi(r.analysis.warnings,e,t,"no-reactive-declaration")},UpdateExpression(e,{state:t}){pk(e,e.argument,t)}});function ok(e,t,r){const n=t.get(r);n&&("derived"===n.kind&&ar(e,"invalid-derived-export"),"state"===n.kind&&n.reassigned&&ar(e,"invalid-state-export"))}function lk(e,t,r){const n=sa(e,t);if(null===n)return;const s=function(e,t){let r=e.at(t);return"TSNonNullExpression"===r.type||"TSAsExpression"===r.type?e.at(t<0?t-1:t+1):r}(r,-1);if("$props"===n){if("VariableDeclarator"===s.type)return;ar(e,"invalid-props-location")}if("$state"===n||"$derived"===n){if("VariableDeclarator"===s.type)return;if("PropertyDefinition"===s.type&&!s.static&&!s.computed)return;ar(e,"$derived"===n?"invalid-derived-location":"invalid-state-location")}"$effect"!==n&&"$effect.pre"!==n||("ExpressionStatement"!==s.type&&ar(e,"invalid-effect-location"),1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1])),"$effect.active"===n&&0!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[0]),"$effect.root"===n&&1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1]),"$inspect"===n&&e.arguments.length<1&&ar(e,"invalid-rune-args-length",n,[1,"more"]),"$inspect().with"===n&&1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1])}const ck={ExportSpecifier(e,{state:t}){ok(e,t.scope,e.local.name)},ExportNamedDeclaration(e,{state:t,next:r}){if("VariableDeclaration"===e.declaration?.type){r();for(const r of e.declaration.declarations)for(const n of Ns(r.id))ok(e,t.scope,n.name)}},CallExpression(e,{state:t,path:r}){lk(e,t.scope,r)},VariableDeclarator(e,{state:t}){const r=e.init,n=sa(r,t.scope);if(null===n)return;const s=r.arguments;"$derived"===n&&1!==s.length?ar(e,"invalid-rune-args-length","$derived",[1]):"$state"===n&&s.length>1?ar(e,"invalid-rune-args-length","$state",[0,1]):"$props"===n&&ar(e,"invalid-props-location")},AssignmentExpression(e,{state:t}){pk(e,e.left,t)},UpdateExpression(e,{state:t}){pk(e,e.argument,t)},ClassBody(e,t){const r=[];for(const n of e.body)if("PropertyDefinition"===n.type&&"PrivateIdentifier"===n.key.type&&"CallExpression"===n.value?.type){"$derived"===sa(n.value,t.state.scope)&&r.push(n.key.name)}t.next({...t.state,private_derived_state:r})},ClassDeclaration(e,t){const r="module"===t.state.ast_type?0:1;t.state.scope.function_depth>r&&fi(t.state.analysis.warnings,e,t.path,"avoid-nested-class")},NewExpression(e,t){"ClassExpression"===e.callee.type&&t.state.scope.function_depth>0&&fi(t.state.analysis.warnings,e,t.path,"avoid-inline-class")}};function uk(e,t,r,n){if("ArrayPattern"===t.type)for(const s of t.elements)s&&uk(e,s,r,n);else if("ObjectPattern"===t.type)for(const s of t.properties)"Property"===s.type&&uk(e,s.value,r,n);else if("Identifier"===t.type){const s=r.get(t.name);"const"===s?.declaration_kind&&"each"!==s.kind&&ar(e,"invalid-const-assignment",n,"state"!==s.kind&&("normal"!==s.kind||!s.initial))}}function pk(e,t,r){uk(e,t,r.scope,!1);let n=t,s=null;for(;"MemberExpression"===n.type;)s=n.property,n=n.object;if("Identifier"===n.type){const t=r.scope.get(n.name);"derived"===t?.kind&&ar(e,"invalid-derived-assignment")}"ThisExpression"===n.type&&"PrivateIdentifier"===s?.type&&r.private_derived_state.includes(s.name)&&ar(e,"invalid-derived-assignment")}const dk=ia(ak,ZP,{AssignmentExpression(e,{state:t,path:r}){const n=r.at(-1);n&&"ConstTag"===n.type||pk(e,e.left,t)},UpdateExpression(e,{state:t}){pk(e,e.argument,t)},LabeledStatement(e,{path:t}){"$"===e.label.name&&"Program"===t.at(-1)?.type&&ar(e,"invalid-legacy-reactive-statement")},ExportNamedDeclaration(e,{state:t}){"VariableDeclaration"===e.declaration?.type&&"let"===e.declaration.kind&&t.analysis.instance.scope===t.scope&&ar(e,"invalid-legacy-export")},ExportSpecifier(e,{state:t}){ok(e,t.scope,e.local.name)},CallExpression(e,{state:t,path:r}){lk(e,t.scope,r)},EachBlock(e,{next:t,state:r}){const n=e.context;"Identifier"!==n.type||"$state"!==n.name&&"$derived"!==n.name||ar(e,"$derived"===n.name?"invalid-derived-location":"invalid-state-location"),t({...r})},VariableDeclarator(e,{state:t}){const r=js(e.init),n=sa(r,t.scope);if(null===n)return;const s=r.arguments;if("$derived"===n&&1!==s.length)ar(e,"invalid-rune-args-length","$derived",[1]);else if("$state"===n&&s.length>1)ar(e,"invalid-rune-args-length","$state",[0,1]);else if("$props"===n){t.has_props_rune&&ar(e,"duplicate-props-rune"),t.has_props_rune=!0,s.length>0&&ar(e,"invalid-rune-args-length","$props",[0]),"ObjectPattern"!==e.id.type&&ar(e,"invalid-props-id"),t.scope!==t.analysis.instance.scope&&ar(e,"invalid-props-location");for(const t of e.id.properties)if("Property"===t.type){t.computed&&ar(t,"invalid-props-pattern");"Identifier"!==("AssignmentPattern"===t.value.type?t.value.left:t.value).type&&ar(t,"invalid-props-pattern")}}},ClassBody:ck.ClassBody,ClassDeclaration:ck.ClassDeclaration,NewExpression:ck.NewExpression});function hk(e){const t=e.reduce(((e,t)=>{const[r,n]=t;return e.has(r)||e.set(r,[]),e.has(n)||e.set(n,[]),e.get(r).push(n),e}),new Map),r=new Set,n=new Set,s=[];function a(e){r.add(e),n.add(e),t.get(e)?.forEach((e=>{r.has(e)?n.has(e)&&s.push([...n,e]):a(e)})),n.delete(e)}return t.forEach(((e,t)=>{r.has(t)||a(t)})),s[0]}function mk(e,t,r,n){const s=e?.content??{type:"Program",sourceType:"module",start:-1,end:-1,body:[]},{scope:a,scopes:i}=ra(s,t,r,n);return{ast:s,scope:a,scopes:i}}function fk(e,t){const r=e.expression,n=e.name;if(!r||e.modifiers.includes("capture")||!Fs.includes(n))return null;const s=t.path.at(-1);if("RegularElement"!==s?.type)return null;if(!s.metadata.can_delegate_events)return null;const a={type:"non-hoistable"};let i=null,o=null;if("Attribute"===e.type&&s.metadata.has_spread)return a;if("ArrowFunctionExpression"===r.type||"FunctionExpression"===r.type)i=r;else if("Identifier"===r.type){if(o=t.state.scope.get(r.name),null!=o)for(const{path:t}of o.references){const r=t.at(-1);if(null==r)return a;let n=null,s=null;if("OnDirective"===r.type)n=t.at(-2),s=r.name;else if("ExpressionTag"===r.type&&Ms(t.at(-2))){n=t.at(-3);s=wk(t.at(-2).name)}if(n&&s){if("RegularElement"!==n.type||!Ck(n).metadata.can_delegate_events||n.metadata.has_spread&&"Attribute"===e.type||!Fs.includes(s))return a}else if("FunctionDeclaration"!==r.type&&"VariableDeclarator"!==r.type)return a}if(t.state.analysis.exports.find((e=>e.name===r.name)))return a;if(null!==o&&null!==o.initial&&!o.mutated&&!o.is_called){const e=o.initial.type;"ArrowFunctionExpression"!==e&&"FunctionDeclaration"!==e&&"FunctionExpression"!==e||(i=o.initial)}}if(null==i)return a;if("impossible"===i.metadata.hoistable)return a;if(i.params.length>1)return a;const l=i.metadata.scope;for(const[e]of l.references){if("arguments"===e)return a;const r=l.get(e);if(null!==r&&("rest_param"===r.declaration_kind||(!t.state.analysis.runes&&"each"===r.kind||"normal"===r.kind||"legacy_reactive_import"===r.kind)&&r.mutated))return a}return{type:"hoistable",function:i}}function yk(e,t){const r=new ta,n=mk(e.module,r,!1,null),s=mk(e.instance,r,!0,n.scope),{scope:a,scopes:i}=ra(e.fragment,r,!1,s.scope),o={ast:e.fragment,scope:a,scopes:i},l=[];for(const[e,r]of n.scope.references){if("$"!==e[0]||Ks.includes(e))continue;"$"!==e&&"$"!==e[1]||ar(r[0].node,"illegal-global",e);const a=e.slice(1),i=s.scope.get(a);if(!1===t.runes||!Gs.includes(e)||null!==i&&null===sa(i.initial,s.scope)&&("$derived"!==e||"ImportDeclaration"!==i.initial?.type||"svelte/store"!==i.initial.source.value)){if(!1!==t.runes)if(null===i&&/[a-z]/.test(a[0]))ar(r[0].node,"illegal-global",e);else if(null!==i&&Gs.includes(e))for(const{node:e,path:t}of r)"CallExpression"===t.at(-1)?.type&&fi(l,e,[],"store-with-rune-name",a);if(n.ast)for(const{node:e}of r)e.start>n.ast.start&&e.end<n.ast.end&&ar(e,"illegal-subscription");s.scope.declare(Zn(e),"store_sub","synthetic").references=r,s.scope.references.set(e,r),n.scope.references.delete(e)}}const c=function(e){const t=e.split(/[/\\]/),r=t.pop(),n=t.at(-1);let s=r.replace(".svelte","");return"index"===s&&n&&"src"!==n&&(s=n),s[0].toUpperCase()+s.slice(1)}(t.filename??"Component"),u=t.runes??Array.from(n.scope.references).some((([e])=>Gs.includes(e))),p={name:n.scope.generate(t.name??c),root:r,module:n,instance:s,template:o,elements:[],stylesheet:new hi({ast:e.css,filename:t.filename??"<unknown>",component_name:c,get_css_hash:t.cssHash}),runes:u,immutable:u||t.immutable,exports:[],uses_props:!1,uses_rest_props:!1,uses_slots:!1,uses_component_bindings:!1,custom_element:t.customElement,inject_styles:"injected"===t.css||!!t.customElement,accessors:!!t.customElement||!!t.accessors,reactive_statements:new Map,binding_groups:new Map,slot_names:new Set,warnings:l};if(p.runes){const e=n.scope.references.get("$$props");e&&ar(e[0].node,"invalid-legacy-props");const r=n.scope.references.get("$$restProps");r&&ar(r[0].node,"invalid-legacy-rest-props");for(const{ast:e,scope:r,scopes:a}of[n,s,o]){_t(e,{scope:r,analysis:p,options:t,ast_type:e===s.ast?"instance":e===o.ast?"template":"module",parent_element:null,has_props_rune:!1,component_slots:new Set,expression:null,private_derived_state:[],function_depth:r.function_depth},ia(na(a),dk,bk,_k))}}else{s.scope.declare(Zn("$$props"),"prop","synthetic"),s.scope.declare(Zn("$$restProps"),"rest_prop","synthetic");for(const{ast:e,scope:r,scopes:a}of[n,s,o]){_t(e,{scope:r,analysis:p,options:t,parent_element:null,has_props_rune:!1,ast_type:e===s.ast?"instance":e===o.ast?"template":"module",instance_scope:s.scope,reactive_statement:null,reactive_statements:p.reactive_statements,component_slots:new Set,expression:null,private_derived_state:[],function_depth:r.function_depth},ia(na(a),ik,vk,_k))}p.reactive_statements=function(e){const t=new Map;for(const[r,n]of e)n.assignments.forEach((({name:e})=>{const s=t.get(e)??[];s.push([r,n]),t.set(e,s)}));const r=[];for(const[,{assignments:t,dependencies:n}]of e)for(const{name:e}of t)for(const{node:s}of n)[...t].find((({name:e})=>s.name===e))||r.push([e,s.name]);const n=hk(r);if(n?.length){ar(t.get(n[0])[0][0],"cyclical-reactive-declaration",n)}const s=new Map,a=(e,r)=>{[...s.values()].includes(r)||(r.dependencies.forEach((({node:{name:e}})=>{if(![...r.assignments].some((t=>t.name===e)))for(const[r,n]of t.get(e)??[])a(r,n)})),s.set(e,r))};for(const[t,r]of e)a(t,r);return s}(p.reactive_statements)}for(const e of[n.scope,s.scope])e:for(const[t,r]of e.declarations)if("normal"===r.kind&&r.reassigned)for(const{path:e}of r.references)if("Fragment"===e[0].type){for(let t=1;t<e.length;t+=1){e[t].type}fi(l,r.node,[],"non-state-reference",t);continue e}p.stylesheet.validate(p);for(const e of p.elements)p.stylesheet.apply(e);return p.stylesheet.reify("client"===t.generate),p}const vk={LabeledStatement(e,{next:t,path:r,state:n}){if("instance"!==n.ast_type||"$"!==e.label.name||"Program"!==r.at(-1).type)return t();const s={assignments:new Set,dependencies:new Set};t({...n,reactive_statement:s,function_depth:n.scope.function_depth+1});for(const[e,t]of n.scope.references){const r=n.scope.get(e);null!==r&&(t.some((e=>e.node!==r.node&&!s.assignments.has(e.node)))&&s.dependencies.add(r))}if(n.reactive_statements.set(e,s),"ExpressionStatement"===e.body.type&&"AssignmentExpression"===e.body.expression.type)for(const t of Ns(e.body.expression.left)){const e=n.scope.get(t.name);"legacy_reactive"===e?.kind&&(e.legacy_dependencies=Array.from(s.dependencies))}},AssignmentExpression(e,{state:t,next:r}){if(t.reactive_statement&&"="===e.operator)for(const r of Ns(e.left))t.reactive_statement.assignments.add(r);r()},Identifier(e,{state:t,path:r}){const n=r.at(-1);if(Nn(e,n)){"$$props"===e.name&&(t.analysis.uses_props=!0),"$$restProps"===e.name&&(t.analysis.uses_rest_props=!0),"$$slots"===e.name&&(t.analysis.uses_slots=!0);let s=t.scope.get(e.name);if("store_sub"===s?.kind&&(s=t.scope.get(e.name.slice(1))),null!==s&&"normal"===s.kind&&(s.scope===t.instance_scope&&"function"!==s.declaration_kind||"import"===s.declaration_kind))if("import"===s.declaration_kind)s.mutated&&(t.reactive_statement||"template"===t.ast_type)&&"MemberExpression"===n.type&&(s.kind="legacy_reactive_import");else if(s.mutated&&(t.reactive_statement||"template"===t.ast_type))s.kind="state";else if(t.reactive_statement&&"AssignmentExpression"===n.type&&n.left===s.node)s.kind="derived";else{let t=-1,n=r.at(t);for(;n;){if("EachBlock"===n.type&&n.expression===(-1===t?e:r.at(t+1))){s.kind="state";break}n=r.at(--t)}}}},ExportNamedDeclaration(e,{next:t,state:r}){if("instance"!==r.ast_type)return t();if(!e.declaration){for(const t of e.specifiers){const e=r.scope.get(t.local.name);"state"===e.kind||"normal"===e.kind&&"let"===e.declaration_kind?(e.kind="prop",t.exported.name!==t.local.name&&(e.prop_alias=t.exported.name)):r.analysis.exports.push({name:t.local.name,alias:t.exported.name})}return t()}if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)return r.analysis.exports.push({name:e.declaration.id.name,alias:null}),t();if("VariableDeclaration"===e.declaration.type){if("const"===e.declaration.kind){for(const t of e.declaration.declarations)for(const e of Ns(t.id))r.analysis.exports.push({name:e.name,alias:null});return t()}for(const t of e.declaration.declarations)for(const e of Ns(t.id)){r.scope.get(e.name).kind="prop"}}}},gk={VariableDeclarator(e,{state:t}){if("CallExpression"!==e.init?.type)return;if(null===sa(e.init,t.scope))return;const r=e.init.callee;if("Identifier"!==r.type)return;const n=r.name;if("$state"===n||"$derived"===n)for(const r of $s(e.id)){t.scope.get(r.node.name).kind="$state"===n?"state":"derived"}}},bk={CallExpression(e,{state:t,next:r}){"$inspect"===sa(e,t.scope)&&r({...t,function_depth:t.function_depth+1})},VariableDeclarator(e,{state:t}){const r=js(e.init);if(!r||"CallExpression"!==r.type)return;if(null===sa(r,t.scope))return;const n=r.callee;if("Identifier"!==n.type)return;const s=n.name;if("$state"===s||"$derived"===s||"$props"===s){for(const r of $s(e.id)){t.scope.get(r.node.name).kind="$state"===s?"state":"$derived"===s?"derived":r.is_rest?"rest_prop":"prop"}if("$props"===s)for(const r of e.id.properties){if("Property"!==r.type)continue;const e="AssignmentPattern"===r.value.type?r.value.left.name:r.value.name,n="Identifier"===r.key.type?r.key.name:r.key.value,s="AssignmentPattern"===r.value.type?r.value.right:null,a=t.scope.get(e);a.prop_alias=n,a.initial=s}}},ExportSpecifier(e,{state:t}){"instance"===t.ast_type&&t.analysis.exports.push({name:e.local.name,alias:e.exported.name})},ExportNamedDeclaration(e,{next:t,state:r}){if(!e.declaration||"instance"!==r.ast_type)return t();if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)return r.analysis.exports.push({name:e.declaration.id.name,alias:null}),t();if("VariableDeclaration"===e.declaration.type&&"const"===e.declaration.kind)for(const t of e.declaration.declarations)for(const e of Ns(t.id))r.analysis.exports.push({name:e.name,alias:null})}};const xk=(e,t)=>{e.metadata={hoistable:"module"===t.state.ast_type&&"impossible",hoistable_params:[],scope:t.state.scope},t.next({...t.state,function_depth:t.state.function_depth+1})},_k={Attribute(e,t){if(!0!==e.value&&(t.next(),e.metadata.dynamic=e.value.some((e=>"ExpressionTag"===e.type&&("FunctionExpression"!==e.expression.type&&"ArrowFunctionExpression"!==e.expression.type&&(e.metadata.dynamic||e.metadata.contains_call_expression)))),Ms(e))){const r=[],n=e.value[0].expression;let s=e.name.slice(2);Pk(s)&&(s=s.slice(0,-7),r.push("capture"));const a=fk({type:e.type,name:s,expression:n,modifiers:r},t);null!==a&&("hoistable"===a.type&&(a.function.metadata.hoistable=!0),e.metadata.delegated=a)}},ClassDirective(e,t){t.next({...t.state,expression:e})},SpreadAttribute(e,t){t.next({...t.state,expression:e})},SlotElement(e,t){let r="default";for(const t of e.attributes)if("Attribute"===t.type&&"name"===t.name&&Ls(t)){r=t.value[0].data;break}t.state.analysis.slot_names.add(r)},StyleDirective(e,t){if(!0===e.value){const r=t.state.scope.get(e.name);"normal"!==r?.kind&&(e.metadata.dynamic=!0)}else t.next(),e.metadata.dynamic=e.value.some((e=>"ExpressionTag"===e.type&&e.metadata.dynamic))},ExpressionTag(e,t){t.next({...t.state,expression:e})},Identifier(e,t){if(!Nn(e,t.path.at(-1)))return;if("$$slots"===e.name)return void(t.state.analysis.uses_slots=!0);const r=t.state.scope.get(e.name);r&&"normal"!==r.kind&&(t.state.expression&&(t.state.expression.metadata.dynamic=!0),e===r.node||"state"!==r.kind&&"derived"!==r.kind||t.state.function_depth!==r.scope.function_depth||fi(t.state.analysis.warnings,e,t.path,"static-state-reference"))},CallExpression(e,t){("ExpressionTag"===t.state.expression?.type||"SpreadAttribute"===t.state.expression?.type&&!function(e,t){const r=e.callee;if("MemberExpression"===r.type&&"Identifier"===r.object.type){const e=t.state.scope.get(r.object.name),n=t.state.scope.get("selector");if(null!==n&&"import"===n.declaration_kind&&null!==n.initial&&"ImportDeclaration"===n.initial.type&&"svelte"===n.initial.source.value&&null!==e&&null!==e.initial&&"CallExpression"===e.initial.type&&"Identifier"===e.initial.callee.type&&"selector"===e.initial.callee.name)return!0}if("Identifier"===r.type){const e=r.name;if(null===t.state.scope.get(e)&&("BigInt"===e||"String"===e||"Number"===e||"Boolean"===e))return!0}return!1}(e,t))&&(t.state.expression.metadata.contains_call_expression=!0);const r=e.callee;if("Identifier"===r.type){const n=t.state.scope.get(r.name);if(null!==n&&(n.is_called=!0),"$derived"===sa(e,t.state.scope))return void t.next({...t.state,function_depth:t.state.function_depth+1})}t.next()},MemberExpression(e,t){t.state.expression&&(t.state.expression.metadata.dynamic=!0),t.next()},BindDirective(e,t){let r=t.path.length;for(;r--;){const e=t.path[r];if("Component"===e.type||"SvelteComponent"===e.type||"SvelteSelf"===e.type){t.state.analysis.uses_component_bindings=!0;break}if(Hr(e))break}if("group"!==e.name)return;for(r=t.path.length;r--;){const e=t.path[r];if("EachBlock"===e.type){e.metadata.contains_group_binding=!0;for(const t of e.metadata.references)t.mutated=!0}}const n=qs(e.expression),s=null===n?null:t.state.scope.get(n.name);s||ar(null,"INTERNAL","Assertion failed");let a=t.state.analysis.binding_groups.get(s);a||(a={name:t.state.scope.root.unique("binding_group"),directives:[]},t.state.analysis.binding_groups.set(s,a)),a.directives.push(e),e.metadata={binding_group_name:a.name,parent_each_blocks:t.path.filter((e=>"EachBlock"===e.type))}},OnDirective(e,t){e.metadata={delegated:null},t.next();const r=fk(e,t);null!==r&&("hoistable"===r.type&&(r.function.metadata.hoistable=!0),e.metadata.delegated=r)},ArrowFunctionExpression:xk,FunctionExpression:xk,FunctionDeclaration:xk,RegularElement(e,t){if("foreign"!==t.state.options.namespace&&Qs.includes(e.name)&&(e.metadata.svg=!0),Ck(e),"foreign"!==t.state.options.namespace&&"textarea"===e.name&&e.fragment.nodes.length>0&&(e.fragment.nodes.length>1||"Text"!==e.fragment.nodes[0].type)){const t=e.fragment.nodes[0];"Text"===t.type&&(t.data=t.data.replace(Xe,""),t.raw=t.raw.replace(Xe,"")),e.attributes.push(zr("value",e.fragment.nodes.at(0).start,e.fragment.nodes.at(-1).end,e.fragment.nodes)),e.fragment.nodes=[]}if("foreign"!==t.state.options.namespace&&"option"===e.name&&1===e.fragment.nodes?.length&&"ExpressionTag"===e.fragment.nodes[0].type&&!e.attributes.some((e=>"Attribute"===e.type&&"value"===e.name))){const t=e.fragment.nodes[0];e.attributes.push(zr("value",t.start,t.end,[t]))}t.state.analysis.elements.push(e)},SvelteElement(e,{state:t}){t.analysis.elements.push(e)}};function Ck(e){if("boolean"==typeof e.metadata.can_delegate_events)return e;let t=new Map,r=!1,n=!1,s=!1;for(const a of e.attributes)if("OnDirective"===a.type||"Attribute"===a.type&&Ms(a)){let e=a.name;"Attribute"===a.type&&(e=wk(e)),t.set(e,(t.get(e)||0)+1),n||"OnDirective"!==a.type||(n=!0)}else r||"SpreadAttribute"!==a.type?s||("BindDirective"!==a.type||"this"===a.name)&&"UseDirective"!==a.type||(s=!0):r=!0;return e.metadata.can_delegate_events=!(s||r&&n||[...t.values()].some((e=>e>1))),e.metadata.has_spread=r,e}function wk(e){return Pk(e)&&(e=e.slice(0,-7)),e=e.slice(2)}function Pk(e){return e.endsWith("capture")&&"ongotpointercapture"!==e&&"onlostpointercapture"!==e}const kk={type:"Newline"},Ek={type:"Indent"},Sk={type:"Dedent"};function Tk(...e){return{type:"Sequence",children:e}}function Ak(e,t,r=e.length){let n=0;for(let s=t;s<r;s+=1){const t=e[s];"string"==typeof t?n+=t.length:"Chunk"===t.type?n+=t.content.length:"Sequence"===t.type&&(n+=2)}return n}function Rk(e,t){const r=Fk[e.type];if(!r)throw new Error(`Not implemented ${e.type}`);e.leadingComments&&qk(e.leadingComments,t,!1),r(e,t),e.trailingComments&&t.comments.push(e.trailingComments[0])}function Ik(e,t){return{type:"Chunk",content:e,loc:t?.loc??null}}function qk(e,t,r){for(const n of e)t.commands.push({type:"Comment",comment:n}),r||"Line"===n.type||/\n/.test(n.value)?t.commands.push(kk):t.commands.push(" ")}const Lk={"||":2,"&&":3,"??":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Mk={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,MetaProperty:19,CallExpression:19,ChainExpression:19,ImportExpression:19,NewExpression:19,AwaitExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,ArrowFunctionExpression:3,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Nk(e,t,r){if("LogicalExpression"===e.type&&"LogicalExpression"===t.type&&("??"===t.operator&&"??"!==e.operator||"??"!==t.operator&&"??"===e.operator))return!0;const n=Mk[e.type],s=Mk[t.type];return n!==s?!r&&15===n&&14===s&&"**"===t.operator||n<s:(13===n||14===n)&&("**"===e.operator&&"**"===t.operator?!r:r?Lk[e.operator]<=Lk[t.operator]:Lk[e.operator]<Lk[t.operator])}const Ok=["ImportDeclaration","VariableDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration"],$k=(e,t)=>{let r={type:"EmptyStatement"},n=!0,s=!1;for(const a of e){if("EmptyStatement"===a.type)continue;const e=Tk();n||t.commands.push(e,kk),n=!1;const i=a.leadingComments;delete a.leadingComments,i&&i.length>0&&qk(i,t,!0);const o={...t,multiline:!1};Rk(a,o),(o.multiline||s||(Ok.includes(a.type)||Ok.includes(r.type))&&r.type!==a.type)&&e.children.push("\n");let l=!1;for(;t.comments.length;){const e=t.comments.shift();t.commands.push(l?kk:" ",{type:"Comment",comment:e}),l="Line"===e.type}s=o.multiline,r=a}},Dk=(e,t)=>{const r=t.commands.length,n=Tk(),s=Tk(),a={...t,multiline:!1};t.commands.push(`${e.kind} `,n);let i=!0;for(const r of e.declarations)i||t.commands.push(s),i=!1,Rk(r,a);a.multiline||e.declarations.length>1&&Ak(t.commands,r)>50?(t.multiline=!0,e.declarations.length>1&&n.children.push(Ek),s.children.push(",",kk),e.declarations.length>1&&t.commands.push(Sk)):s.children.push(", ")};function jk(e,t,r,n){if(0===e.length)return;const s=t.commands.length,a=Tk(),i=Tk(),o=Tk();t.commands.push(a);const l={...t,multiline:!1};let c;for(let r=0;r<e.length;r+=1){const s=e[r],a=0===r,o=r===e.length-1;if(s)if(a||c||t.commands.push(i),n(s,l),o||t.commands.push(","),t.comments.length>0){for(t.commands.push(" ");t.comments.length;){const e=t.comments.shift();t.commands.push({type:"Comment",comment:e}),o||t.commands.push(i)}l.multiline=!0}else o||t.commands.push(i);else t.commands.push(",");c=s}t.commands.push(o);l.multiline||Ak(t.commands,s)>50?(t.multiline=!0,a.children.push(Ek,kk),i.children.push(kk),o.children.push(Sk,kk)):(r&&a.children.push(" "),i.children.push(" "),r&&o.children.push(" "))}const Bk={"ArrayExpression|ArrayPattern":(e,t)=>{t.commands.push("["),jk(e.elements,t,!1,Rk),t.commands.push("]")},"BinaryExpression|LogicalExpression":(e,t)=>{Nk(e.left,e,!1)?(t.commands.push("("),Rk(e.left,t),t.commands.push(")")):Rk(e.left,t),t.commands.push(` ${e.operator} `),Nk(e.right,e,!0)?(t.commands.push("("),Rk(e.right,t),t.commands.push(")")):Rk(e.right,t)},"BlockStatement|ClassBody":(e,t)=>{0!==e.body.length?(t.multiline=!0,t.commands.push("{",Ek,kk),$k(e.body,t),t.commands.push(Sk,kk,"}")):t.commands.push("{}")},"CallExpression|NewExpression":(e,t)=>{t.commands.length,"NewExpression"===e.type&&t.commands.push("new ");const r=Mk[e.callee.type]<Mk.CallExpression||"NewExpression"===e.type&&function(e){for(;e;){if("CallExpression"===e.type)return!0;if("MemberExpression"!==e.type)return!1;e=e.object}}(e.callee);r?(t.commands.push("("),Rk(e.callee,t),t.commands.push(")")):Rk(e.callee,t),e.optional&&t.commands.push("?.");const n=Tk(),s=Tk(),a=Tk();t.commands.push("(",n);const i={...t,multiline:!1},o={...t,multiline:!1};for(let r=0;r<e.arguments.length;r+=1){if(r>0)if(t.comments.length>0)for(t.commands.push(", ");t.comments.length;){const e=t.comments.shift();t.commands.push({type:"Comment",comment:e}),"Line"===e.type?(i.multiline=!0,t.commands.push(kk)):t.commands.push(" ")}else t.commands.push(s);Rk(e.arguments[r],r===e.arguments.length-1?o:i)}t.commands.push(a,")");const l=i.multiline;(l||o.multiline)&&(t.multiline=!0),l?(n.children.push(Ek,kk),s.children.push(",",kk),a.children.push(Sk,kk)):s.children.push(", ")},"ClassDeclaration|ClassExpression":(e,t)=>{t.commands.push("class "),e.id&&(Rk(e.id,t),t.commands.push(" ")),e.superClass&&(t.commands.push("extends "),Rk(e.superClass,t),t.commands.push(" ")),Rk(e.body,t)},"ForInStatement|ForOfStatement":(e,t)=>{t.commands.push("for "),"ForOfStatement"===e.type&&e.await&&t.commands.push("await "),t.commands.push("("),"VariableDeclaration"===e.left.type?Dk(e.left,t):Rk(e.left,t),t.commands.push("ForInStatement"===e.type?" in ":" of "),Rk(e.right,t),t.commands.push(") "),Rk(e.body,t)},"FunctionDeclaration|FunctionExpression":(e,t)=>{e.async&&t.commands.push("async "),t.commands.push(e.generator?"function* ":"function "),e.id&&Rk(e.id,t),t.commands.push("("),jk(e.params,t,!1,Rk),t.commands.push(") "),Rk(e.body,t)},"RestElement|SpreadElement":(e,t)=>{t.commands.push("..."),Rk(e.argument,t)}},Fk={ArrayExpression:Bk["ArrayExpression|ArrayPattern"],ArrayPattern:Bk["ArrayExpression|ArrayPattern"],ArrowFunctionExpression:(e,t)=>{e.async&&t.commands.push("async "),t.commands.push("("),jk(e.params,t,!1,Rk),t.commands.push(") => "),"ObjectExpression"===e.body.type||"AssignmentExpression"===e.body.type&&"ObjectPattern"===e.body.left.type?(t.commands.push("("),Rk(e.body,t),t.commands.push(")")):Rk(e.body,t)},AssignmentExpression(e,t){Rk(e.left,t),t.commands.push(` ${e.operator} `),Rk(e.right,t)},AssignmentPattern(e,t){Rk(e.left,t),t.commands.push(" = "),Rk(e.right,t)},AwaitExpression(e,t){if(e.argument){const r=Mk[e.argument.type];r&&r<Mk.AwaitExpression?(t.commands.push("await ("),Rk(e.argument,t),t.commands.push(")")):(t.commands.push("await "),Rk(e.argument,t))}else t.commands.push("await")},BinaryExpression:Bk["BinaryExpression|LogicalExpression"],BlockStatement:Bk["BlockStatement|ClassBody"],BreakStatement(e,t){e.label?(t.commands.push("break "),Rk(e.label,t),t.commands.push(";")):t.commands.push("break;")},CallExpression:Bk["CallExpression|NewExpression"],ChainExpression(e,t){Rk(e.expression,t)},ClassBody:Bk["BlockStatement|ClassBody"],ClassDeclaration:Bk["ClassDeclaration|ClassExpression"],ClassExpression:Bk["ClassDeclaration|ClassExpression"],ConditionalExpression(e,t){Mk[e.test.type]>Mk.ConditionalExpression?Rk(e.test,t):(t.commands.push("("),Rk(e.test,t),t.commands.push(")"));const r=Tk(),n=Tk(),s={...t,multiline:!1};t.commands.push(r),Rk(e.consequent,s),t.commands.push(n),Rk(e.alternate,s);s.multiline?(r.children.push(Ek,kk,"? "),n.children.push(kk,": "),t.commands.push(Sk)):(r.children.push(" ? "),n.children.push(" : "))},ContinueStatement(e,t){e.label?(t.commands.push("continue "),Rk(e.label,t),t.commands.push(";")):t.commands.push("continue;")},DebuggerStatement(e,t){t.commands.push(Ik("debugger",e),";")},DoWhileStatement(e,t){t.commands.push("do "),Rk(e.body,t),t.commands.push(" while ("),Rk(e.test,t),t.commands.push(");")},EmptyStatement(e,t){t.commands.push(";")},ExportAllDeclaration(e,t){t.commands.push("export * from "),Rk(e.source,t),t.commands.push(";")},ExportDefaultDeclaration(e,t){t.commands.push("export default "),Rk(e.declaration,t),"FunctionDeclaration"!==e.declaration.type&&t.commands.push(";")},ExportNamedDeclaration(e,t){t.commands.push("export "),e.declaration?Rk(e.declaration,t):(t.commands.push("{"),jk(e.specifiers,t,!0,((e,t)=>{Rk(e.local,t),e.local.name!==e.exported.name&&(t.commands.push(" as "),Rk(e.exported,t))})),t.commands.push("}"),e.source&&(t.commands.push(" from "),Rk(e.source,t)),t.commands.push(";"))},ExpressionStatement(e,t){if("AssignmentExpression"===e.expression.type&&"ObjectPattern"===e.expression.left.type)return t.commands.push("("),Rk(e.expression,t),void t.commands.push(");");Rk(e.expression,t),t.commands.push(";")},ForStatement:(e,t)=>{t.commands.push("for ("),e.init&&("VariableDeclaration"===e.init.type?Dk(e.init,t):Rk(e.init,t)),t.commands.push("; "),e.test&&Rk(e.test,t),t.commands.push("; "),e.update&&Rk(e.update,t),t.commands.push(") "),Rk(e.body,t)},ForInStatement:Bk["ForInStatement|ForOfStatement"],ForOfStatement:Bk["ForInStatement|ForOfStatement"],FunctionDeclaration:Bk["FunctionDeclaration|FunctionExpression"],FunctionExpression:Bk["FunctionDeclaration|FunctionExpression"],Identifier(e,t){let r=e.name;t.commands.push(Ik(r,e))},IfStatement(e,t){t.commands.push("if ("),Rk(e.test,t),t.commands.push(") "),Rk(e.consequent,t),e.alternate&&(t.commands.push(" else "),Rk(e.alternate,t))},ImportDeclaration(e,t){if(0===e.specifiers.length)return t.commands.push("import "),Rk(e.source,t),void t.commands.push(";");let r=null,n=null;const s=[];for(const t of e.specifiers)"ImportNamespaceSpecifier"===t.type?r=t:"ImportDefaultSpecifier"===t.type?n=t:s.push(t);t.commands.push("import "),n&&(t.commands.push(Ik(n.local.name,n)),(r||s.length>0)&&t.commands.push(", ")),r&&t.commands.push(Ik("* as "+r.local.name,r)),s.length>0&&(t.commands.push("{"),jk(s,t,!0,((e,t)=>{e.local.name!==e.imported.name&&(Rk(e.imported,t),t.commands.push(" as ")),Rk(e.local,t)})),t.commands.push("}")),t.commands.push(" from "),Rk(e.source,t),t.commands.push(";")},ImportExpression(e,t){t.commands.push("import("),Rk(e.source,t),t.commands.push(")")},LabeledStatement(e,t){Rk(e.label,t),t.commands.push(": "),Rk(e.body,t)},Literal(e,t){const r=e.raw??("string"==typeof e.value?JSON.stringify(e.value):String(e.value));t.commands.push(Ik(r,e))},LogicalExpression:Bk["BinaryExpression|LogicalExpression"],MemberExpression(e,t){Mk[e.object.type]<Mk.MemberExpression?(t.commands.push("("),Rk(e.object,t),t.commands.push(")")):Rk(e.object,t),e.computed?(e.optional&&t.commands.push("?."),t.commands.push("["),Rk(e.property,t),t.commands.push("]")):(t.commands.push(e.optional?"?.":"."),Rk(e.property,t))},MetaProperty(e,t){Rk(e.meta,t),t.commands.push("."),Rk(e.property,t)},MethodDefinition(e,t){e.static&&t.commands.push("static "),"get"!==e.kind&&"set"!==e.kind||t.commands.push(e.kind+" "),e.value.async&&t.commands.push("async "),e.value.generator&&t.commands.push("*"),e.computed&&t.commands.push("["),Rk(e.key,t),e.computed&&t.commands.push("]"),t.commands.push("("),jk(e.value.params,t,!1,Rk),t.commands.push(") "),Rk(e.value.body,t)},NewExpression:Bk["CallExpression|NewExpression"],ObjectExpression(e,t){t.commands.push("{"),jk(e.properties,t,!0,((e,t)=>{if("Property"===e.type&&"FunctionExpression"===e.value.type){const r=e.value;"get"===e.kind||"set"===e.kind?t.commands.push(e.kind+" "):(r.async&&t.commands.push("async "),r.generator&&t.commands.push("*")),e.computed&&t.commands.push("["),Rk(e.key,t),e.computed&&t.commands.push("]"),t.commands.push("("),jk(r.params,t,!1,Rk),t.commands.push(") "),Rk(r.body,t)}else Rk(e,t)})),t.commands.push("}")},ObjectPattern(e,t){t.commands.push("{"),jk(e.properties,t,!0,Rk),t.commands.push("}")},ParenthesizedExpression:(e,t)=>Rk(e.expression,t),PrivateIdentifier(e,t){t.commands.push("#",Ik(e.name,e))},Program(e,t){$k(e.body,t)},Property(e,t){const r="AssignmentPattern"===e.value.type?e.value.left:e.value;e.computed||"init"!==e.kind||"Identifier"!==e.key.type||"Identifier"!==r.type||e.key.name!==r.name?(e.computed&&t.commands.push("["),Rk(e.key,t),t.commands.push(e.computed?"]: ":": "),Rk(e.value,t)):Rk(e.value,t)},PropertyDefinition(e,t){e.static&&t.commands.push("static "),e.computed?(t.commands.push("["),Rk(e.key,t),t.commands.push("]")):Rk(e.key,t),e.value&&(t.commands.push(" = "),Rk(e.value,t)),t.commands.push(";")},RestElement:Bk["RestElement|SpreadElement"],ReturnStatement(e,t){if(e.argument){const r=e.argument.leadingComments&&e.argument.leadingComments.some((e=>"Line"===e.type));t.commands.push(r?"return (":"return "),Rk(e.argument,t),t.commands.push(r?");":";")}else t.commands.push("return;")},SequenceExpression(e,t){t.commands.push("("),jk(e.expressions,t,!1,Rk),t.commands.push(")")},SpreadElement:Bk["RestElement|SpreadElement"],StaticBlock(e,t){t.commands.push(Ek,"static {",kk),$k(e.body,t),t.commands.push(Sk,kk,"}")},Super(e,t){t.commands.push(Ik("super",e))},SwitchStatement(e,t){t.commands.push("switch ("),Rk(e.discriminant,t),t.commands.push(") {",Ek);let r=!0;for(const n of e.cases){r||t.commands.push("\n"),r=!1,n.test?(t.commands.push(kk,"case "),Rk(n.test,t),t.commands.push(":")):t.commands.push(kk,"default:"),t.commands.push(Ek);for(const e of n.consequent)t.commands.push(kk),Rk(e,t);t.commands.push(Sk)}t.commands.push(Sk,kk,"}")},TaggedTemplateExpression(e,t){Rk(e.tag,t),Rk(e.quasi,t)},TemplateLiteral(e,t){t.commands.push("`");const{quasis:r,expressions:n}=e;for(let e=0;e<n.length;e++){const s=r[e].value.raw;t.commands.push(s,"${"),Rk(n[e],t),t.commands.push("}"),/\n/.test(s)&&(t.multiline=!0)}const s=r[r.length-1].value.raw;t.commands.push(s,"`"),/\n/.test(s)&&(t.multiline=!0)},ThisExpression(e,t){t.commands.push(Ik("this",e))},ThrowStatement(e,t){t.commands.push("throw "),Rk(e.argument,t),t.commands.push(";")},TryStatement(e,t){t.commands.push("try "),Rk(e.block,t),e.handler&&(e.handler.param?(t.commands.push(" catch("),Rk(e.handler.param,t),t.commands.push(") ")):t.commands.push(" catch "),Rk(e.handler.body,t)),e.finalizer&&(t.commands.push(" finally "),Rk(e.finalizer,t))},UnaryExpression(e,t){t.commands.push(e.operator),e.operator.length>1&&t.commands.push(" "),Mk[e.argument.type]<Mk.UnaryExpression?(t.commands.push("("),Rk(e.argument,t),t.commands.push(")")):Rk(e.argument,t)},UpdateExpression(e,t){e.prefix?(t.commands.push(e.operator),Rk(e.argument,t)):(Rk(e.argument,t),t.commands.push(e.operator))},VariableDeclaration(e,t){Dk(e,t),t.commands.push(";")},VariableDeclarator(e,t){Rk(e.id,t),e.init&&(t.commands.push(" = "),Rk(e.init,t))},WhileStatement(e,t){t.commands.push("while ("),Rk(e.test,t),t.commands.push(") "),Rk(e.body,t)},WithStatement(e,t){t.commands.push("with ("),Rk(e.object,t),t.commands.push(") "),Rk(e.body,t)},YieldExpression(e,t){e.argument?(t.commands.push(e.delegate?"yield* ":"yield "),Rk(e.argument,t)):t.commands.push(e.delegate?"yield*":"yield")}};let Vk=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};function Hk(e,t={}){if(Array.isArray(e))return Hk({type:"Program",body:e,sourceType:"module"},t);const r={commands:[],comments:[],multiline:!1};Rk(e,r);let n="",s=0,a=[],i=[];function o(e){n+=e;for(let t=0;t<e.length;t+=1)"\n"===e[t]?(a.push(i),i=[],s=0):s+=1}let l="\n";function c(e){if("string"!=typeof e)switch(e.type){case"Chunk":const t=e.loc;t&&i.push([s,0,t.start.line-1,t.start.column]),o(e.content),t&&i.push([s,0,t.end.line-1,t.end.column]);break;case"Newline":o(l);break;case"Indent":l+="\t";break;case"Dedent":l=l.slice(0,-1);break;case"Sequence":for(let t=0;t<e.children.length;t+=1)c(e.children[t]);break;case"Comment":"Line"===e.comment.type?o(`//${e.comment.value}`):o(`/*${e.comment.value.replace(/\n/g,l)}*/`)}else o(e)}for(let e=0;e<r.commands.length;e+=1)c(r.commands[e]);a.push(i);const u={version:3,names:[],sources:[t.sourceMapSource||null],sourcesContent:[t.sourceMapContent||null],mappings:null==t.sourceMapEncodeMappings||t.sourceMapEncodeMappings?ba(a):a};return Object.defineProperties(u,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){return"data:application/json;charset=utf-8;base64,"+Vk(this.toString())}}}),{code:n,map:u}}"undefined"!=typeof window&&"function"==typeof window.btoa?Vk=e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer&&(Vk=e=>Buffer.from(e,"utf-8").toString("base64"));const Uk="5.0.0-next.21";function zk(e,t){if("string"!=typeof e)return e;const r=t?'"':"<",n=t?""":"<";let s=e.indexOf(r),a=e.indexOf("&");if(s<0&&a<0)return e;let i=0,o="";for(;s>=0&&a>=0;)s<a?(i<s&&(o+=e.substring(i,s)),o+=n,i=s+1,s=e.indexOf(r,i)):(i<a&&(o+=e.substring(i,a)),o+="&",i=a+1,a=e.indexOf("&",i));if(s>=0)do{i<s&&(o+=e.substring(i,s)),o+=n,i=s+1,s=e.indexOf(r,i)}while(s>=0);else if(!t)for(;a>=0;)i<a&&(o+=e.substring(i,a)),o+="&",i=a+1,a=e.indexOf("&",i);return i<e.length?o+e.substring(i):o}function Wk(e){return("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type)&&!0===e.metadata?.hoistable}function Gk(e,t,r,n="html",s,a,i){const o=[],l=[];for(const e of t)("Comment"!==e.type||a)&&("RegularElement"!==e.type||"noscript"!==e.name||i)&&("ConstTag"===e.type||"DebugTag"===e.type||"SvelteBody"===e.type||"SvelteWindow"===e.type||"SvelteDocument"===e.type||"SvelteHead"===e.type||"TitleElement"===e.type||"SnippetBlock"===e.type?o.push(e):l.push(e));if(s)return{hoisted:o,trimmed:l};let c,u;for(;(c=l[0])&&"Text"===c.type&&!et.test(c.data);)l.shift();for("Text"===c?.type&&(c.raw=c.raw.replace(Qe,""),c.data=c.data.replace(Qe,""));(u=l.at(-1))&&"Text"===u.type&&!et.test(u.data);)l.pop();"Text"===u?.type&&(u.raw=u.raw.replace(Ze,""),u.data=u.data.replace(Ze,""));const p="svg"===n&&("RegularElement"!==e.type||"text"!==e.name)&&!r.some((e=>"RegularElement"===e.type&&"text"===e.name))||"RegularElement"===e.type&&("select"===e.name||"tr"===e.name||"table"===e.name||"tbody"===e.name||"thead"===e.name||"tfoot"===e.name||"colgroup"===e.name||"datalist"===e.name),d=[];let h=null;for(const e of l)"Text"===e.type?(e.data=e.data.replace(tt," "),e.raw=e.raw.replace(tt," "),null!==h&&Ze.test(h.data)||p&&" "===e.data||d.push(e),h=e):(h=null,d.push(e));return{hoisted:o,trimmed:d}}function Kk(e,t,r,n){const s="Fragment"===t.type?n.at(-1):t;if("foreign"!==e&&(void 0===s||"Root"===s.type||"Component"===s.type||"SvelteComponent"===s.type||"SvelteFragment"===s.type||"SnippetBlock"===s.type)){let t=!0;for(const n of r)if("RegularElement"===n.type){if(!n.metadata.svg){e="html",t=!1;break}}else"Text"===n.type&&""===n.data.trim()||(t=!1);t&&(e="svg")}return e}function Xk(e,t,r){if("foreign"!==t){let n=r.at(-1);if("Fragment"===n?.type&&(n=r.at(-2)),"foreignObject"===e.name)return"html";if("svg"!==t||"Component"===n?.type||"SvelteComponent"===n?.type||"SvelteFragment"===n?.type||"SnippetBlock"===n?.type)return e.metadata.svg?"svg":"html"}return t}function Jk(e,t){const{state:r,visit:n}=t,s="client"===r.options.generate;if(!r.options.dev)return zn("void",rs(0));if("MemberExpression"===e.callee.type){const t=e.callee.object.arguments.map((e=>n(e))),r=n(e.arguments[0]);return Hn("$.inspect",s?ms($n(t)):$n(t),r)}{const t=e.arguments.map((e=>n(e)));return Hn("$.inspect",s?ms($n(t)):$n(t))}}const Qk={ImportDeclaration(e){if("type"===e.importKind)return Xn;if(e.specifiers?.length>0){const t=e.specifiers.filter((e=>"type"!==e.importKind));return 0===t.length?Xn:{...e,specifiers:t}}return e},ExportNamedDeclaration(e,t){if("type"===e.exportKind)return Xn;if(e.declaration)return t.next();if(e.specifiers){const t=e.specifiers.filter((e=>"type"!==e.exportKind));return 0===t.length?Xn:{...e,specifiers:t}}return e},ExportDefaultDeclaration:e=>"type"===e.exportKind?Xn:e,ExportAllDeclaration:e=>"type"===e.exportKind?Xn:e,TSAsExpression:(e,t)=>t.visit(e.expression),TSNonNullExpression:(e,t)=>t.visit(e.expression),TSInterfaceDeclaration:(e,t)=>Xn,TSTypeAliasDeclaration:(e,t)=>Xn};function Yk(e){return{type:"string",value:e}}function Zk(e){return{type:"expression",value:e}}function eE(e){return{type:"statement",value:e}}function tE(e){const t=e.scope.root.unique("anchor");return[Cs(t,Hn("$.create_anchor",Zn("$$payload"))),t]}function rE(e,t=Zn("out")){let r=[],n=[];const s=[],a=()=>{s.push(ds(Bn("+=",ns(Zn("$$payload"),t),hs(r,n)))),r=[],n=[]};for(let t=0;t<e.length;t++){const i=e[t];if("statement"===i.type)0!==r.length&&a(),s.push(i.value);else{let s=r.at(-1);if(s||r.push(s=cs("",!1)),"string"===i.type)s.value.raw+=nE(i.value);else if("expression"===i.type){const a=i.value;if("TemplateLiteral"===a.type){s.value.raw+=nE(a.quasis[0].value.raw),r.push(...a.quasis.slice(1)),n.push(...a.expressions);continue}n.push(a),r.push(cs("",t+1===e.length||"statement"===e[t+1].type))}}}return 0!==r.length&&a(),s}function nE(e){return e.replace(/(`|\${|\\)/g,"\\$1")}function sE(e,t,{visit:r,state:n}){let s=[],a=!1;function i(e,s){const i=!a&&s;if(a=!0,1===e.length){const s=e[0];if("Text"===s.type)return void(!i||"RegularElement"!==t.type||"script"!==t.name&&"style"!==t.name?n.template.push(Yk(zk(s.data))):n.template.push(Yk(s.data)));if("Comment"===s.type)return void n.template.push(Yk(`\x3c!--${zk(s.data)}--\x3e`));if("Anchor"===s.type)return void n.template.push(Zk(s.id));const a=Hn("$.escape_text",r(s.expression));return void n.template.push(Zk(a))}const o=[],l=[];o.push(cs("",!1));for(let t=0;t<e.length;t++){const n=e[t];if("Text"===n.type||"Comment"===n.type){o.at(-1).value.raw+="Comment"===n.type?`\x3c!--${n.data}--\x3e`:zk(n.data)}else"Anchor"===n.type?(l.push(n.id),o.push(cs("",t+1===e.length))):(l.push(Hn("$.escape",r(n.expression))),o.push(cs("",t+1===e.length)))}n.template.push(Zk(hs(o,l)))}for(let t=0;t<e.length;t+=1){const a=e[t];"Text"===a.type||"Comment"===a.type||"ExpressionTag"===a.type||"Anchor"===a.type?s.push(a):(s.length>0&&(i(s,!1),s=[]),r(a,{...n}))}s.length>0&&i(s,!0)}function aE(e,t,r,n){const s=Kk(r.state.metadata.namespace,e,t,r.path),{hoisted:a,trimmed:i}=Gk(e,t,r.path,s,r.state.preserve_whitespace,r.state.options.preserveComments,!0);if(0===a.length&&0===i.length&&!n)return[];const o={...r.state,init:[],template:[],metadata:{namespace:s}};for(const e of a)r.visit(e,o);sE(n?[n,...i,n]:i,e,{...r,state:o});const l=[];return o.template.length>0?(l.push(...o.init),l.push(...rE(o.template))):l.push(...o.init),l}function iE(e,t,r){if("Identifier"===e.id.type)return[Kn(e.id,r)];const n=t.generate("tmp"),s=$s(e.id);return[Kn(Zn(n),r),...s.map((e=>{const t=e.expression?.(Zn(n));return Kn(e.node,t)}))]}function oE(e,t){const r=t.scope.get(e.name);if(null===r||e===r.node)return e;if("store_sub"===r.kind){const r=Zn(e.name.slice(1));return Hn(t.options.dev?"$.store_get_dev":"$.store_get",Zn("$$store_subs"),rs(e.name),oE(r,t))}return r.expression?r.expression:e}function lE(e,t,r){const{state:n,visit:s}=t;if("ArrayPattern"===e.left.type||"ObjectPattern"===e.left.type||"RestElement"===e.left.type){const n=t.state.scope.generate("tmp"),a=[],i=[],o=$s(e.left);for(const e of o){const r=e.expression?.(Zn(n)),s=Bn("=",e.node,r);a.push(s),i.push(lE(s,t,(()=>s)))}return i.every(((e,t)=>e===a[t]))?r():Hn(ms(Vn([Cs(n,s(e.right)),ds(us(i)),As(Zn(n))])))}"Identifier"!==e.left.type&&"MemberExpression"!==e.left.type&&ar(e,"INTERNAL",`Unexpected assignment type ${e.left.type}`);let a=e.left;for(;"MemberExpression"===a.type;)a=a.object;if("Identifier"!==a.type)return r();const i="$"===(o=a.name)[0]&&/[A-Za-z_]/.test(o[1]);var o;const l=i?a.name.slice(1):a.name,c=n.scope.get(l);if(!c)return r();if(null!==c.mutation)return c.mutation(e,t);if("state"!==c.kind&&"prop"!==c.kind&&"each"!==c.kind&&"legacy_reactive"!==c.kind&&!i)return r();const u=function(e,{state:t,visit:r}){if("Identifier"===e.left.type){const n=e.operator;return"="===n?r(e.right):Fn(n.slice(0,-1),oE(e.left,t),r(e.right))}return r(e.right)}(e,{state:n,visit:s});return a===e.left?i?Hn("$.store_set",Zn(l),s(e.right)):r():i?Hn("$.mutate_store",Zn("$$store_subs"),rs(a.name),Zn(l),Bn(e.operator,s(e.left),u)):r()}function cE(e,t,r){let n=t.name;return"RegularElement"!==e.type||e.metadata.svg||"foreign"===r.state.metadata.namespace||(n=n.toLowerCase()),n}const uE={Identifier(e,{path:t,state:r}){if(Nn(e,t.at(-1)))return"$$props"===e.name?Zn("$$sanitized_props"):oE(e,r)},AssignmentExpression:(e,t)=>lE(e,t,t.next),UpdateExpression(e,t){const{state:r,next:n}=t,s=e.argument;if("Identifier"===s.type){const t=r.scope.get(s.name),a="store_sub"===t?.kind,i=a?s.name.slice(1):s.name;if(a){let t="++"===e.operator?"$.increment":"$.decrement";return e.prefix&&(t+="_pre"),a?(t+="_store",Hn(t,oE(Zn(i),r),Hn("$"+i))):Hn(t,Zn(i))}return n()}return n()}},pE={Program:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),BlockStatement:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))})},dE={PropertyDefinition(e,{state:t,next:r,visit:n}){if(null!=e.value&&"CallExpression"===e.value.type){const r=sa(e.value,t.scope);if("$state"===r||"$derived"===r)return{...e,value:0===e.value.arguments.length?null:n(e.value.arguments[0])}}r()},VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=js(s.init),a=sa(e,t.scope);if(!a||"$effect.active"===a||"$inspect"===a){n.push(r(s));continue}if("$props"===a){n.push(Kn(s.id,Zn("$$props")));continue}const i=e.arguments,o=0===i.length?Zn("undefined"):r(i[0]);"Identifier"!==s.id.type?"$derived"!==a?n.push(...iE(s,t.scope,o)):n.push(Kn(r(s.id),o)):n.push(Kn(s.id,o))}return{...e,declarations:n}},ExpressionStatement(e,t){const r=e.expression;if("CallExpression"===r.type){const e=r.callee;if("Identifier"===e.type&&"$effect"===e.name)return Xn;if("MemberExpression"===e.type&&"Identifier"===e.object.type&&"$effect"===e.object.name)return Xn}t.next()},CallExpression(e,t){const r=sa(e,t.state.scope);return"$effect.active"===r?rs(!1):"$inspect"===r||"$inspect().with"===r?Jk(e,t):void t.next()}};function hE(e,t,r=!1,n=!1){if(!0===e)return vs;if(0===e.length)return rs("");if(1===e.length){const s=e[0];if("Text"===s.type){let e=s.data;return r&&(e=e.replace(tt," ").trim()),rs(n?e:zk(e,!0))}return t.visit(s.expression)}const s=[],a=[];"Text"!==e[0].type&&s.push(cs("",!1));let i=0;for(const n of e)if(i++,"Text"===n.type){let t=n.data;r&&(t=t.replace(tt," ")),s.push(cs(t,i===e.length))}else a.push(Hn("$.stringify",t.visit(n.expression))),i===e.length&&s.push(cs("",!0));return hs(s,a)}function mE(e,t,r){const n=[],s=[],a=[],i={};function o(e){const t=n.at(-1),r=Array.isArray(t),s=r?t:[];s.push(e),r||n.push(s)}for(const t of e.attributes)if("LetDirective"===t.type)a.push(r.visit(t));else if("SpreadAttribute"===t.type)n.push(r.visit(t));else if("Attribute"===t.type){if(t.name.startsWith("--")){const e=hE(t.value,r,!1,!0);s.push(ts(t.name,e));continue}const e=hE(t.value,r,!1,!0);o(os("init",Is(t.name),e))}else"BindDirective"===t.type&&(o(Yn(t.name,[As(r.visit(t.expression))])),o(ps(t.name,[ds(r.visit(Bn("=",t.expression,Zn("$$value")))),ds(Bn("=",Zn("$$settled"),gs))])));const l=[];for(const t of e.fragment.nodes){if("SnippetBlock"===t.type){r.visit(t,{...r.state,init:l}),o(os("init",t.expression,t.expression));continue}let e="default";if(Hr(t)){const r=t.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name));void 0!==r&&(e=r.value[0].data)}i[e]=i[e]||[],i[e].push(t)}const c=[];for(const t of Object.keys(i)){const n=aE(e,i[t],r);if(0===n.length)continue;const s=jn([Zn("$$payload"),Zn("$$slotProps")],Vn([..."default"===t?a:[],...n]));if("default"===t)o(os("init",Zn("children"),r.state.options.dev?Hn("$.add_snippet_symbol",s):s));else{const e=os("init",rs(t),s);c.push(e)}}c.length>0&&o(os("init",Zn("$$slots"),as(c)));const u=0===n.length||1===n.length&&Array.isArray(n[0])?as(n[0]||[]):Hn("$.spread_props",$n(n.map((e=>Array.isArray(e)?as(e):e))));let p=ds(("string"==typeof t?Hn:Un)(r.state.options.dev?Hn("$.validate_component","string"==typeof t?Zn(t):t):t,Zn("$$payload"),u));return s.length>0&&(p=ds(Hn("$.css_props",Zn("$$payload"),rs("svg"!==r.state.metadata.namespace),as(s),ms(Vn([p]))))),l.length>0&&(p=Vn([...l,p])),p}function fE(e){return!0!==e.value&&1===e.value.length&&"Text"===e.value[0].type}const yE={VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=t.scope.get_bindings(s),a=e.some((e=>"state"===e.kind)),i=e.some((e=>"prop"===e.kind));if(a||i)if(i){if("Identifier"!==s.id.type){const e=t.scope.generate("tmp"),a=$s(s.id);n.push(Kn(Zn(e),r(s.init)));for(const r of a){const s=r.expression?.(Zn(e)),a=r.node.name,i=t.scope.get(a),o=ns(Zn("$$props"),rs(i.prop_alias??a),!0);n.push(Kn(r.node,Hn("$.value_or_fallback",o,s)))}continue}const e=t.scope.get(s.id.name),a=ns(Zn("$$props"),rs(e.prop_alias??s.id.name),!0),i=s.init?Hn("$.value_or_fallback",a,r(s.init)):a;n.push(Kn(s.id,i))}else n.push(...iE(s,t.scope,s.init&&r(s.init)));else n.push(r(s))}return{...e,declarations:n}},LabeledStatement(e,t){var r,n;if(!(t.path.length>1)&&"$"===e.label.name)return t.state.legacy_reactive_statements.set(e,(r="$",n=t.visit(e.body),{type:"LabeledStatement",label:Zn(r),body:n})),Xn}},vE={Fragment:(e,t)=>Vn(aE(e,e.nodes,t)),HtmlTag(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=t.visit(e.expression);t.state.template.push(Zk(a)),r.template.push(Zk(s))},ConstTag(e,{state:t,visit:r}){const n=e.declaration.declarations[0],s=r(n.id),a=r(n.init);t.init.push(Gn("const",s,a))},DebugTag(e,{state:t,visit:r}){t.template.push(eE(ds(Hn("console.log",as(e.identifiers.map((e=>os("init",e,r(e)))))))),eE(bs))},RenderTag(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=r.options.dev?Hn("$.validate_snippet",e.expression):e.expression;e.argument?r.template.push(eE(ds(Hn(a,Zn("$$payload"),t.visit(e.argument))))):r.template.push(eE(ds(Hn(a,Zn("$$payload"))))),r.template.push(Zk(s))},ClassDirective(e){ar(e,"INTERNAL","Node should have been handled elsewhere")},StyleDirective(e){ar(e,"INTERNAL","Node should have been handled elsewhere")},RegularElement(e,t){const r={...t.state.metadata,namespace:Xk(e,t.state.metadata.namespace,t.path)};t.state.template.push(Yk(`<${e.name}`));const n=gE(e,t);t.state.template.push(Yk(">"));const s={...t.state,metadata:r,preserve_whitespace:t.state.preserve_whitespace||("pre"===e.name||"textarea"===e.name)&&"foreign"!==r.namespace},a=null!==n?{...t,state:{...s,template:[],init:[]}}:{...t,state:s},{hoisted:i,trimmed:o}=Gk(e,e.fragment.nodes,a.path,r.namespace,s.preserve_whitespace,s.options.preserveComments,!0);for(const e of i)a.visit(e,s);if(sE(o,e,a),null!==n){let e;const r=n.escape?Hn("$.escape",n.expression):n.expression;"Identifier"===r.type?e=r:(e=Zn(t.state.scope.generate("$$body")),t.state.template.push(eE(Cs(e,r)))),t.state.template.push(eE(Es(e,Vn(rE([Zk(e)])),Vn([...a.state.init,...rE(a.state.template)]))))}zs.includes(e.name)||"foreign"===r.namespace||t.state.template.push(Yk(`</${e.name}>`))},SvelteElement(e,t){let r=t.visit(e.tag);if("Identifier"!==r.type){const e=t.state.scope.generate("$$tag");t.state.init.push(Cs(e,r)),r=Zn(e)}t.state.options.dev&&(e.fragment.nodes.length>0&&t.state.init.push(ds(Hn("$.validate_void_dynamic_element",ms(r)))),t.state.init.push(ds(Hn("$.validate_dynamic_element_tag",ms(r)))));const n={...t,state:{...t.state,template:[],init:[]}},[s,a]=tE(t.state);t.state.init.push(s),t.state.template.push(Zk(a));const[i,o]=tE(t.state);n.state.init.push(i),n.state.template.push(Yk("<"),Zk(r)),gE(e,n),n.state.template.push(Yk(">"));const l=rE(n.state.template),c=aE(e,e.fragment.nodes,t),u=rE([Zk(o),Yk("</"),Zk(r),Yk(">")]);t.state.template.push(eE(Es(r,Vn([...n.state.init,...l,Es(zn("!",Hn("$.VoidElements.has",r)),Vn([...rE([Zk(o)]),...c,...u]))]))),Zk(a))},EachBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=e.metadata,i=t.visit(e.expression),o=Zn(a.item_name),l=a.contains_group_binding||!e.index?a.index:Zn(e.index),c=e.body.nodes,[u,p]=tE(r),d={type:"Anchor",id:p},h=r.scope.root.unique("each_array");r.init.push(Cs(h,Hn("$.ensure_array_like",i)));const m=[Cs(o,ns(h,l,!0))];"Identifier"!==e.context.type&&m.push(Cs(e.context,o)),l.name!==e.index&&null!=e.index&&m.push(_s(e.index,l)),m.push(u,...aE(e,c,t,d));const f=function(e,t,r,n){return{type:"ForStatement",init:e,test:t,update:r,body:n}}(_s(l,rs(0)),Fn("<",l,ns(h,Zn("length"))),function(e,t,r=!1){return{type:"UpdateExpression",operator:e,argument:t,prefix:r}}("++",l,!1),Vn(m));e.fallback?r.template.push(eE(Es(Fn("!==",ns(h,Zn("length")),rs(0)),f,Vn(aE(e,e.fallback.nodes,t))))):r.template.push(eE(f)),r.template.push(Zk(s))},IfBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=aE(e,e.consequent.nodes,t);a.unshift(ds(Bn("+=",Zn("$$payload.out"),rs("\x3c!--ssr:if:true--\x3e"))));const i=e.alternate?t.visit(e.alternate):Vn([]);i.body.unshift(ds(Bn("+=",Zn("$$payload.out"),rs("\x3c!--ssr:if:false--\x3e")))),r.template.push(eE(Es(t.visit(e.test),Vn(a),i))),r.template.push(Zk(s))},AwaitBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s)),r.template.push(eE(ds(Hn("$.await",t.visit(e.expression),ms(e.pending?t.visit(e.pending):Vn([])),jn(e.value?[t.visit(e.value)]:[],e.then?t.visit(e.then):Vn([])),jn(e.error?[t.visit(e.error)]:[],e.catch?t.visit(e.catch):Vn([])))))),r.template.push(Zk(s))},KeyBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=aE(e,e.fragment.nodes,t);r.template.push(eE(Vn(a))),r.template.push(Zk(s))},SnippetBlock(e,t){const r=[Zn("$$payload")];e.context&&r.push(e.context),t.state.init.push(Qn(e.expression,r,t.visit(e.body))),t.state.options.dev&&t.state.init.push(ds(Hn("$.add_snippet_symbol",e.expression)))},BindDirective(e,t){},Component(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,e.name,t);r.template.push(eE(a)),r.template.push(Zk(s))},SvelteSelf(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,t.state.analysis.name,t);r.template.push(eE(a)),r.template.push(Zk(s))},SvelteComponent(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,t.visit(e.expression),t);r.template.push(eE(a)),r.template.push(Zk(s))},LetDirective(e,{state:t}){if(e.expression&&"Identifier"!==e.expression.type){const r=t.scope.generate(e.name),n=t.scope.get_bindings(e);for(const e of n)e.expression=ns(Zn(r),Zn(e.node.name));return Cs(r,Hn(ms(Vn([_s("ObjectExpression"===e.expression.type?is(e.expression.properties):Dn(e.expression.elements),ns(Zn("$$slotProps"),Zn(e.name))),As(as(n.map((e=>ts(e.node.name,e.node)))))]))))}return Cs(null===e.expression?e.name:e.expression.name,ns(Zn("$$slotProps"),Zn(e.name)))},SpreadAttribute:(e,{visit:t})=>t(e.expression),SvelteFragment(e,t){for(const r of e.attributes)"LetDirective"===r.type&&t.state.template.push(eE(t.visit(r)));const r={...t.state,scope:t.state.scopes.get(e.fragment)},n=aE(e,e.fragment.nodes,{...t,state:r});t.state.template.push(eE(Vn(n)))},TitleElement(e,t){const r=t.state,n={...r,init:[],template:[]};sE(e.fragment.nodes,e,{...t,state:n}),r.init.push(ds(Bn("=",Zn("$$payload.title"),rs("<title>")))),n.template.push(Yk("</title>")),r.init.push(...rE(n.template,Zn("title")))},SlotElement(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=[],i=[];let o=ss("$$props.children");for(const r of e.attributes)if("SpreadAttribute"===r.type)i.push(t.visit(r));else if("Attribute"===r.type){const e=hE(r.value,t);"name"===r.name?o=ns(ss("$$props.$$slots"),e,!0,!0):r.metadata.dynamic?a.push(Yn(r.name,[As(e)])):a.push(ts(r.name,e))}const l=0===i.length?as(a):Hn("$.spread_props",$n([as(a),...i])),c=0===e.fragment.nodes.length?rs(null):ms(Vn(aE(e,e.fragment.nodes,t))),u=Hn("$.slot",Zn("$$payload"),o,l,c);r.template.push(eE(ds(u))),r.template.push(Zk(s))},SvelteHead(e,t){const r=t.state,n=aE(e,e.fragment.nodes,t);r.template.push(eE(ds(Hn("$.head",Zn("$$payload"),jn([Zn("$$payload")],Vn(n))))))},CallExpression:dE.CallExpression};function gE(e,t){const r=[],n=[],s=[],a=[];let i=null,o=!1,l=-1,c=-1;for(const u of e.attributes)if("Attribute"===u.type)"value"===u.name&&"textarea"===e.name?(!0!==u.value&&"Text"===u.value[0].type&&Xe.test(u.value[0].data)&&(u.value[0].data="\n"+u.value[0].data),i={escape:!0,expression:hE(u.value,t)}):Ms(u)||("class"===u.name?l=r.length:"style"===u.name&&(c=r.length),r.push(u));else if("BindDirective"===u.type){if("value"===u.name&&"select"===e.name)continue;if("value"===u.name&&r.some((e=>"Attribute"===e.type&&"type"===e.name&&fE(e)&&"file"===e.value[0].data)))continue;if("this"===u.name)continue;const n=yi[u.name];if(n?.omit_in_ssr)continue;if(Js.includes(u.name))i={escape:!1,expression:u.expression};else if("value"===u.name&&"textarea"===e.name)i={escape:!0,expression:u.expression};else if("group"===u.name){const n=e.attributes.find((e=>"Attribute"===e.type&&"value"===e.name));if(!n)continue;const s=e.attributes.some((e=>"Attribute"===e.type&&"type"===e.name&&fE(e)&&"checkbox"===e.value[0].data));r.push(zr("checked",-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:u,expression:s?Hn(ns(u.expression,Zn("includes")),hE(n.value,t)):Fn("===",u.expression,hE(n.value,t)),metadata:{contains_call_expression:!1,dynamic:!1}}]))}else r.push(zr(u.name,-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:u,expression:u.expression,metadata:{contains_call_expression:!1,dynamic:!1}}]))}else"SpreadAttribute"===u.type?(r.push(u),o=!0):"ClassDirective"===u.type?n.push(u):"StyleDirective"===u.type?s.push(u):"LetDirective"===u.type?a.push(t.visit(u)):t.visit(u);if(n.length>0&&!o){const e=function(e,t){const r=e.map((e=>Wn(e.expression,rs(e.name),rs(""))));null===t&&(t=zr("class",-1,-1,[]));const n=t.value.at(-1);"Text"===n?.type?(n.data+=" ",n.raw+=" "):n&&t.value.push({type:"Text",start:-1,end:-1,parent:t,data:" ",raw:" "});return t.value.push({type:"ExpressionTag",start:-1,end:-1,parent:t,expression:Hn(ns(Hn(ns($n(r),Zn("filter")),Zn("Boolean")),Zn("join")),rs(" ")),metadata:{contains_call_expression:!1,dynamic:!1}}),t}(n,r[l]??null);-1===l&&r.push(e)}if(s.length>0&&!o&&(!function(e,t,r){const n=e.map((e=>{let t=!0===e.value?Zn(e.name):hE(e.value,r,!0);return e.modifiers.includes("important")&&(t=Fn("+",t,rs(" !important"))),ts(e.name,t)}));null===t?r.state.template.push(Zk(Hn("$.add_styles",as(n)))):r.state.template.push(Zk(Hn("$.add_styles",Hn("$.merge_styles",hE(t.value,r,!0),as(n)))))}(s,r[c]??null,t),c>-1&&r.splice(c,1)),t.state.init.push(...a),o)!function(e,t,r,n,s){const a=[];for(const r of t)if("Attribute"===r.type){const t=cE(e,r,s),n=hE(r.value,s,Xs.includes(t));a.push(as([os("init",rs(t),n)]))}else a.push(s.visit(r));const i="RegularElement"!==e.type||e.metadata.svg||Ur(e)?gs:vs,o="RegularElement"===e.type&&e.metadata.svg?vs:gs,l=[$n(a),i,o,rs(s.state.analysis.stylesheet.id)];if(r.length>0||n.length>0){const e=r.map((e=>ts(e.name,!0===e.value?Zn(e.name):hE(e.value,s,!0)))),t=n.map((e=>Wn(e.expression,rs(e.name),rs("")))),a=t.length?Hn(ns(Hn(ns($n(t),Zn("filter")),Zn("Boolean")),Zn("join")),rs(" ")):rs("");l.push(as([ts("styles",0===e.length?rs(null):as(e)),ts("classes",a)]))}s.state.template.push(Zk(Hn("$.spread_attributes",...l)))}(e,r,s,n,t);else for(const n of r){if(!0===n.value||fE(n)){const r=cE(e,n,t),s=hE(n.value,t,Xs.includes(r)).value;("class"!==r||s)&&t.state.template.push(Yk(` ${n.name}${Hs.includes(r)&&!0===s?"":`="${!0===s?"":String(s)}"`}`));continue}const r=cE(e,n,t),s=Hs.includes(r),a=hE(n.value,t,Xs.includes(r));t.state.template.push(Zk(Hn("$.attr",rs(r),a,rs(s))))}return i}function bE(e,{state:t,visit:r}){if("Identifier"===e.left.type){const n=e.operator;return"="===n?r(e.right):Fn(n.slice(0,-1),xE(e.left,t),r(e.right))}if("MemberExpression"===e.left.type&&"ThisExpression"===e.left.object.type&&"PrivateIdentifier"===e.left.property.type&&t.private_state.has(e.left.property.name)){const t=e.operator;return"="===t?r(e.right):Fn(t.slice(0,-1),r(e.left),r(e.right))}return r(e.right)}function xE(e,t){const r=t.scope.get(e.name);return null===r||e===r.node?e:"store_sub"===r.kind?Hn(e):r.expression?r.expression:"prop"===r.kind?"$$props"===r.node.name?e:t.analysis.accessors||(t.analysis.immutable?r.reassigned:r.mutated)||r.initial?Hn(e):ns(Zn("$$props"),e):"legacy_reactive_import"===r.kind?Hn("$$_import_"+e.name):"state"===r.kind&&(!t.analysis.immutable||t.analysis.accessors||r.reassigned)||"derived"===r.kind||"legacy_reactive"===r.kind?Hn("$.get",e):e}function _E(e,t,r){const{state:n,visit:s}=t;if("ArrayPattern"===e.left.type||"ObjectPattern"===e.left.type||"RestElement"===e.left.type){const n=t.state.scope.generate("tmp"),a=[],i=[],o=$s(e.left);for(const e of o){const r=e.expression?.(Zn(n)),s=Bn("=",e.node,r);a.push(s),i.push(_E(s,t,(()=>s)))}return i.every(((e,t)=>e===a[t]))?r():Hn(ms(Vn([Cs(n,s(e.right)),ds(us(i)),As(Zn(n))])))}"Identifier"!==e.left.type&&"MemberExpression"!==e.left.type&&ar(e,"INTERNAL",`Unexpected assignment type ${e.left.type}`);let a=e.left;for(;"MemberExpression"===a.type;){if("ThisExpression"===a.object.type&&"PrivateIdentifier"===a.property.type&&t.state.private_state.has(a.property.name)&&!n.in_constructor){const r=bE(e,t);return Hn("$.set",a,t.state.analysis.runes&&EE(r)?Hn("$.proxy",r):r)}a=a.object}if("Identifier"!==a.type)return r();const i=n.scope.get(a.name);if(!i)return r();if(null!==i.mutation)return i.mutation(e,t);if("legacy_reactive_import"===i.kind)return Hn("$$_import_"+i.node.name,Bn(e.operator,s(e.left),s(e.right)));const o="store_sub"===i.kind,l=o?a.name.slice(1):a.name;if("state"!==i.kind&&"prop"!==i.kind&&"each"!==i.kind&&"legacy_reactive"!==i.kind&&!o)return r();const c=bE(e,t),u=()=>a===e.left?"prop"===i.kind?Hn(a,c):o?Hn("$.store_set",xE(Zn(l),n),c):Hn("$.set",Zn(l),t.state.analysis.runes&&EE(c)?Hn("$.proxy",c):c):o?Hn("$.mutate_store",xE(Zn(l),n),Bn(e.operator,s(e.left),c),Hn("$"+l)):n.analysis.runes?Bn(e.operator,s(e.left),s(e.right)):"prop"===i.kind?Hn(a,Bn(e.operator,s(e.left),c),rs(!0)):Hn("$.mutate",Zn(l),Bn(e.operator,s(e.left),c));return"BinaryExpression"===c.type&&"??"===c.operator?function(e,t,r){return{type:"LogicalExpression",operator:e,left:t,right:r}}("??",xE(Zn(l),n),u()):u()}const CE=(e,t)=>{const r=e.metadata;let n=t.state;if("FunctionExpression"===e.type){const e=t.path.at(-1),r="MethodDefinition"===e.type&&"constructor"===e.kind;n={...t.state,in_constructor:r}}else n={...t.state,in_constructor:!1};if(!0===r?.hoistable){const r=wE(e,t);return{...e,params:r,body:t.visit(e.body,n)}}t.next(n)};function wE(e,t){const r=function(e,t){const r=t.state.scope,n=[];for(const[t]of r.references){const s=r.get(t);null===s||r.declarations.has(t)||s.initial===e||("store_sub"===s.kind?(n.push(Zn(s.node.name.slice(1))),n.push(Zn(s.node.name))):n.push(Zn(s.node.name)))}return n}(e,t);e.metadata.hoistable_params=r;const n=[];if(0===e.params.length)r.length>0&&n.push(Zn("_"));else for(const r of e.params)n.push(t.visit(r));return n.push(...r),n}function PE(e,t,r,n){const s=[Zn("$$props"),rs(r)];let a,i=0;return t.analysis.immutable&&(i|=1),t.analysis.runes&&(i|=2),(t.analysis.accessors||(t.analysis.immutable?e.reassigned:e.mutated))&&(i|=4),n&&(Bs(n)?a=n:(a="CallExpression"===n.type&&"Identifier"===n.callee.type&&0===n.arguments.length?n.callee:ms(n),i|=8)),(i||a)&&(s.push(rs(i)),a&&s.push(a)),Hn("$.prop",...s)}function kE(e,t,r){if("Identifier"===e.id.type)return[Kn(e.id,Hn("$.mutable_source",r))];const n=t.generate("tmp"),s=$s(e.id);return[Kn(Zn(n),r),...s.map((e=>{const r=e.expression?.(Zn(n)),s=t.get(e.node.name);return Kn(e.node,"state"===s?.kind?Hn("$.mutable_source",r):r)}))]}function EE(e){return!(!e||"Literal"===e.type||"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"Identifier"===e.type&&"undefined"===e.name)}const SE={ClassBody(e,{state:t,visit:r}){const n=new Map,s=new Map,a=[];for(const r of e.body)if("PropertyDefinition"===r.type&&("Identifier"===r.key.type||"PrivateIdentifier"===r.key.type)){const{type:e,name:i}=r.key,o="PrivateIdentifier"===e;if(o&&a.push(i),"CallExpression"===r.value?.type){const e=sa(r.value,t.scope);if("$state"===e||"$derived"===e){const t={kind:"$state"===e?"state":"derived",id:o?r.key:null};o?s.set(i,t):n.set(i,t)}}}for(const[e,t]of n){let r=e;for(;a.includes(r);)r="_"+r;a.push(r),t.id=es(r)}const i=[],o={...t,public_state:n,private_state:s};for(const a of e.body){if("PropertyDefinition"===a.type&&("Identifier"===a.key.type||"PrivateIdentifier"===a.key.type)){const e=a.key.name,l="PrivateIdentifier"===a.key.type,c=(l?s:n).get(e);if("CallExpression"===a.value?.type&&void 0!==c){let n=null;if(a.value.arguments.length>0){const e=r(a.value.arguments[0],o);n="state"===c.kind?Hn("$.source",EE(e)?Hn("$.proxy",e):e):Hn("$.derived",ms(e))}else n=Hn("$.source");if(l)i.push(ls(c.id,n));else{const r=ns(xs,c.id);if(i.push(ls(c.id,n)),i.push(Ps("get",a.key,[],[As(Hn("$.get",r))])),"state"===c.kind){const e=Zn("value");i.push(Ps("set",a.key,[e],[ds(Hn("$.set",r,Hn("$.proxy",e)))]))}"derived"===c.kind&&t.options.dev&&i.push(Ps("set",a.key,[Zn("_")],[Rs(`Cannot update a derived property ('${e}')`)]))}continue}}i.push(r(a,o))}return{...e,body:i}},VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=js(s.init),a=sa(e,t.scope);if(!a||"$effect.active"===a||"$effect.root"===a||"$inspect"===a){if(null!=e&&Wk(e)){const n=r(e);t.hoisted.push(Gn("const",s.id,n));continue}n.push(r(s));continue}if("$props"===a){On(s.id.type,"ObjectPattern");const e=[];for(const r of s.id.properties)if("Property"===r.type){const s=r.key,a="Identifier"===s.type?s.name:s.value;e.push(a);let i,o=r.value;"AssignmentPattern"===r.value.type&&(o=r.value.left,i=r.value.right),On(o.type,"Identifier");const l=t.scope.get(o.name);(l.reassigned||t.analysis.accessors||i)&&n.push(Kn(o,PE(l,t,a,i)))}else n.push(Kn(r.argument,Hn("$.rest_props",Zn("$$props"),$n(e.map((e=>rs(e)))))));continue}const i=e.arguments;let o=0===i.length?Zn("undefined"):r(i[0]);if("Identifier"!==s.id.type)if("$derived"!==a)n.push(...kE(s,t.scope,o));else{const e=t.scope.get_bindings(s),r=t.scope.generate("derived_value");n.push(Kn(Zn(r),Hn("$.derived",ms(Vn([_s(s.id,o),As($n(e.map((e=>e.node))))])))));for(let t=0;t<e.length;t++)e[t].expression=ns(Hn("$.get",Zn(r)),rs(t),!0)}else{if("$state"===a){const e=t.scope.get(s.id.name);EE(o)&&(o=Hn("$.proxy",o)),(!t.analysis.immutable||t.analysis.accessors||e.reassigned)&&(o=Hn("$.source",o))}else o=Hn("$.derived",ms(o));n.push(Kn(s.id,o))}}return 0===n.length?Xn:{...e,declarations:n}},ExpressionStatement(e,t){if("CallExpression"===e.expression.type){const r=e.expression.callee;if("Identifier"===r.type&&"$effect"===r.name&&!t.state.scope.get("$effect")){const r=t.visit(e.expression.arguments[0]);return{...e,expression:Hn("$.user_effect",r)}}if("MemberExpression"===r.type&&"Identifier"===r.object.type&&"$effect"===r.object.name&&"Identifier"===r.property.type&&"pre"===r.property.name&&!t.state.scope.get("$effect")){const r=t.visit(e.expression.arguments[0]);return{...e,expression:Hn("$.pre_effect",r)}}}t.next()},CallExpression(e,t){const r=sa(e,t.state.scope);if("$effect.active"===r)return Hn("$.effect_active");if("$effect.root"===r){return Hn("$.user_root_effect",...e.arguments.map((e=>t.visit(e))))}if("$inspect"===r||"$inspect().with"===r)return Jk(e,t);t.next()}};function TE(e,t,r){let n=t.name;return"RegularElement"!==e.type||e.metadata.svg||"foreign"===r.state.metadata.namespace||(n=n.toLowerCase(),n in Vs&&(n=Vs[n])),n}function AE(e,t,r,n){if(e.length>0){const s=e.map((e=>{let n=!0===e.value?xE({name:e.name,type:"Identifier"},r.state):GE(e.value,r)[1];return ds(Hn("$.style",t,rs(e.name),n,e.modifiers.includes("important")?vs:void 0))}));n||e.some((e=>e.metadata.dynamic))?r.state.update.push(...s.map((e=>({grouped:e})))):r.state.init.push(...s)}}function RE(e){const t=e.split(".");let r=t.shift(),n=Zn(r);for(;r=t.shift();){const e=!st.test(r);n=ns(n,e?rs(r):Zn(r),e)}return n}function IE(e,t,r,n){if(e.length>0){const s=e.map((e=>{const n=r.visit(e.expression);return ds(Hn("$.class_toggle",t,rs(e.name),n))}));n||e.some((e=>e.metadata.dynamic))?r.state.update.push(...s.map((e=>({grouped:e})))):r.state.init.push(...s)}}function qE(e,t){const r=new Set;for(const t of e){const e=LE(t);for(const t of e)r.add(t)}return[...r].map((e=>xE({...e.node},t.state)))}function LE(e,t=new Set){if("legacy_reactive"!==e.kind)return[];for(const r of e.legacy_dependencies)if(!t.has(r)){t.add(r);for(const e of LE(r,t))t.add(e)}return[...t]}function ME(e,t,r,n){const s=n.state,a=TE(e,r,n);let[i,o]=GE(r.value,n);if("foreign"===n.state.metadata.namespace){const e={grouped:ds(Hn("$.attr",t,rs(a),o))};if(r.metadata.dynamic){const r=s.scope.generate(`${t.name}_${a}`);return $E(s,r,void 0,o,e,i),!0}return s.init.push(e.grouped),!1}let l=o;if("autofocus"===a)return s.init.push(ds(Hn("$.auto_focus",t,o))),!1;"class"===a&&(l=Hn("$.to_class",o));const c=(e,r)=>"class"===a?r?{singular:ds(Hn("$.class_name_effect",t,ms(r))),grouped:ds(Hn("$.class_name",t,r)),skip_condition:!0}:{grouped:ds(Hn("$.class_name",t,o)),skip_condition:!0}:Us.includes(a)?{grouped:ds(Bn("=",ns(t,Zn(a)),e))}:r?{singular:ds(Hn(a.startsWith("xlink")?"$.xlink_attr_effect":"$.attr_effect",t,rs(a),ms(r))),grouped:ds(Hn(a.startsWith("xlink")?"$.xlink_attr":"$.attr",t,rs(a),e))}:{grouped:ds(Hn(a.startsWith("xlink")?"$.xlink_attr":"$.attr",t,rs(a),e))};if(r.metadata.dynamic){const e=s.scope.generate(`${t.name}_${a}`);return $E(s,e,"class"===a?rs(""):void 0,l,c(Zn(e),o),i),!0}return s.init.push(c(l).grouped),!1}function NE(e,t,r){const n=r.state,s=t.name;let[a,i]=GE(t.value,r),o=i;const l=(t,r)=>r?{singular:ds(Hn("$.set_custom_element_data_effect",e,rs(s),ms(r))),grouped:ds(Hn("$.set_custom_element_data",e,rs(s),t))}:{grouped:ds(Hn("$.set_custom_element_data",e,rs(s),t))};if(t.metadata.dynamic){const t=n.scope.generate(`${e.name}_${s}`);return $E(n,t,void 0,o,l(Zn(t),i),a),!0}return n.init.push(l(o).grouped),!1}function OE(e,t,r,n){const s=n.state,[a,i]=GE(r.value,n),o=Bn("=",ns(t,Zn("value")),Wn(Fn("==",rs(null),Bn("=",ns(t,Zn("__value")),i)),rs(""),i)),l=r.metadata.dynamic,c="select"===e&&l,u=ds("option"===e&&(l||DE(n).length>0)?us([o,Hn("$.selected",t)]):c?us([o,Hn("$.select_option",t,i)]):o);if(l){const e=s.scope.generate(`${t.name}_value`);return $E(s,e,void 0,i,{grouped:u},a),!0}return s.init.push(u),!1}function $E(e,t,r,n,s,a){const i=Es(Fn("!==",Zn(t),Bn("=",Zn(t),n)),Vn([s.grouped]));a&&s.singular?e.update_effects.push(s.singular):s.skip_condition?s.singular?e.update.push({singular:s.singular,grouped:s.grouped}):e.update.push({init:ws(t,r),grouped:i}):s.singular?e.update.push({init:ws(t,r),singular:s.singular,grouped:i}):e.update.push({init:ws(t,r),grouped:i})}function DE(e){return e.path.filter((e=>"EachBlock"===e.type))}function jE(e,t,r){const n=[],s=[],a={},i={},o=[];let l=null;function c(e){const t=n.at(-1),r=Array.isArray(t),s=r?t:[];s.push(e),r||n.push(s)}for(const t of e.attributes)if("LetDirective"===t.type)s.push(r.visit(t));else if("OnDirective"===t.type){i[t.name]||=[];let e=VE(t,r);t.modifiers.includes("once")&&(e=Hn("$.once",e)),i[t.name].push(e)}else if("SpreadAttribute"===t.type){const e=r.visit(t);if(t.metadata.dynamic){let s=e;if(t.metadata.contains_call_expression){const e=Zn(r.state.scope.generate("spread_element"));r.state.init.push(ws(e,Hn("$.derived",ms(s)))),s=Hn("$.get",e)}n.push(ms(s))}else n.push(e)}else if("Attribute"===t.type){if(t.name.startsWith("--")){o.push(ts(t.name,GE(t.value,r)[1]));continue}const[,e]=GE(t.value,r);if(t.metadata.dynamic){let n=e;const s=Array.isArray(t.value)&&t.value.some((e=>"ExpressionTag"===e.type&&"Identifier"!==e.expression.type&&"MemberExpression"!==e.expression.type));if(s){const s=Zn(r.state.scope.generate(t.name));r.state.init.push(ws(s,Hn("$.derived",ms(e)))),n=Hn("$.get",s)}r.state.options.dev&&(n=Hn("$.readonly",n)),c(Yn(t.name,[As(n)]))}else c(ts(t.name,e))}else if("BindDirective"===t.type)if("this"===t.name)l=t.expression;else{c(Yn(t.name,[As(r.visit(t.expression))]));const e=Bn("=",t.expression,Zn("$$value"));c(ps(t.name,[ds(_E(e,r,(()=>r.visit(e))))]))}if(Object.keys(i).length>0){const e=as(Object.keys(i).map((e=>os("init",Zn(e),i[e].length>1?$n(i[e]):i[e][0]))));c(os("init",Zn("$$events"),e))}const u=[];for(const t of e.fragment.nodes){if("SnippetBlock"===t.type){r.visit(t,{...r.state,init:u}),c(os("init",t.expression,t.expression));continue}let e="default";if(Hr(t)){const r=t.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name));void 0!==r&&(e=r.value[0].data)}a[e]=a[e]||[],a[e].push(t)}const p=[];for(const t of Object.keys(a)){const n=BE(e,`${e.name}_${t}`,a[t],r);if(0===n.length)continue;const i=jn([Zn("$$anchor"),Zn("$$slotProps")],Vn([..."default"===t?s:[],...n]));"default"===t?c(os("init",Zn("children"),r.state.options.dev?Hn("$.add_snippet_symbol",i):i)):p.push(os("init",Is(t),i))}p.length>0&&c(os("init",Zn("$$slots"),as(p)));const d=0===n.length||1===n.length&&Array.isArray(n[0])?as(n[0]||[]):Hn("$.spread_props",...n.map((e=>Array.isArray(e)?as(e):e)));let h=e=>Hn(r.state.options.dev?Hn("$.validate_component",Zn(t)):t,e,d);if(null!==l){const e=h,t=Bn("=",l,Zn("$$value")),n="Identifier"===l.type?l:void 0;h=s=>Hn("$.bind_this",e(s),jn([Zn("$$value")],_E(t,r,(()=>r.visit(t)))),n)}if(Object.keys(o).length>0){const e=h;h=t=>Hn("$.cssProps",t,"svg"===r.state.metadata.namespace?gs:vs,ms(as(o)),jn([Zn("$$node")],e(Zn("$$node"))))}let m=ds(h(r.state.node));return u.length>0&&(m=Vn([...u,m])),m}function BE(e,t,r,n){const s=Kk(n.state.metadata.namespace,e,r,n.path),{hoisted:a,trimmed:i}=Gk(e,r,n.path,s,n.state.preserve_whitespace,n.state.options.preserveComments,!1);if(0===a.length&&0===i.length)return[];const o=1===i.length&&"RegularElement"===i[0].type,l=1===i.length&&("SvelteFragment"===i[0].type||"TitleElement"===i[0].type),c=n.state.scope.root.unique(t),u=[];let p;const d={...n.state,init:[],update:[],update_effects:[],after_update:[],template:[],metadata:{template_needs_import_node:!1,namespace:s,bound_contenteditable:n.state.metadata.bound_contenteditable}};for(const e of a)n.visit(e,d);if(o){const e=i[0],t=Zn(n.state.scope.generate(e.name));n.visit(e,{...d,node:t});const r="svg"===s?"$.svg_template":"$.template";n.state.hoisted.push(ws(c,Hn(r,hs([cs(d.template.join(""),!0)],[])))),u.push(ws(t,Hn("$.open",Zn("$$anchor"),rs(!d.metadata.template_needs_import_node),c)),...d.init),p=ds(Hn("$.close",Zn("$$anchor"),t))}else if(l)n.visit(i[0],d),u.push(...d.init);else if(i.length>0){const e=Zn(n.state.scope.generate("fragment")),t=Zn(n.state.scope.generate("node"));zE(i,t,{...n,state:d});const r=d.template[0];if(1!==d.template.length||" "!==r&&"<!>"!==r){const r="svg"===s?"$.svg_template":"$.template";d.hoisted.push(ws(c,Hn(r,hs([cs(d.template.join(""),!0)],[]),vs))),u.push(ws(e,Hn("$.open_frag",Zn("$$anchor"),rs(!d.metadata.template_needs_import_node),c)),ws(t,Hn("$.child_frag",e)),...d.init),p=ds(Hn("$.close_frag",Zn("$$anchor"),e))}else" "===r?(u.push(ws(t,Hn("$.space",Zn("$$anchor"))),...d.init),p=ds(Hn("$.close",Zn("$$anchor"),t))):(u.push(ws(e,Hn("$.comment",Zn("$$anchor"))),ws(t,Hn("$.child_frag",e)),...d.init),p=ds(Hn("$.close_frag",Zn("$$anchor"),e)))}else u.push(...d.init);if(d.update.length>0||d.update_effects.length>0){let e;if(d.update_effects.length>0)for(const t of d.update_effects)e||(e=t),u.push(t);if(d.update.length>0){const t=FE(d,u);e||(e=t),u.push(t)}e.leadingComments=[{type:"Block",value:" Update "}]}return u.push(...d.after_update),void 0!==p&&u.push(p),u[0]&&(u[0].leadingComments=[{type:"Block",value:" Init "}]),u}function FE(e,t){let r;return r=1===e.update.length&&e.update[0].singular?e.update[0].singular:ds(Hn("$.render_effect",ms(Vn(e.update.map((e=>(e.init&&t.push(e.init),e.grouped))))))),r}function VE(e,{state:t,visit:r}){if(e.expression){let n=e.expression;const s=()=>{return ks(null,[(e=Zn("$$args"),{type:"RestElement",argument:e})],Vn([Cs("$$callback",r(n)),As(Hn(ns(Zn("$$callback"),Zn("apply"),!1,!0),xs,Zn("$$args")))]));var e};if("Identifier"===n.type||"MemberExpression"===n.type){const e=qs(n),a=null===e?null:t.scope.get(e.name);n=null===a||"state"!==a.kind&&"legacy_reactive"!==a.kind&&"derived"!==a.kind&&"prop"!==a.kind&&"store_sub"!==a.kind?r(n):s()}else n="ConditionalExpression"===n.type||"LogicalExpression"===n.type?s():r(n);return e.modifiers.includes("stopPropagation")&&(n=Hn("$.stopPropagation",n)),e.modifiers.includes("stopImmediatePropagation")&&(n=Hn("$.stopImmediatePropagation",n)),e.modifiers.includes("preventDefault")&&(n=Hn("$.preventDefault",n)),e.modifiers.includes("self")&&(n=Hn("$.self",n)),e.modifiers.includes("trusted")&&(n=Hn("$.trusted",n)),n}return ks(null,[Zn("$$arg")],Vn([ds(Hn("$.bubble_event.call",xs,Zn("$$props"),Zn("$$arg")))]))}function HE(e,t){const r=t.state;if(e.expression){let n=VE(e,t);const s=e.name,a=e.metadata.delegated;if(null!==a){let i;if(r.events.has(s)||r.events.add(s),"hoistable"===a.type){if(a.function===e.expression){const e=t.state.scope.root.unique("on_"+s);r.hoisted.push(ws(e,n)),n=e}e.modifiers.includes("once")&&(n=Hn("$.once",n));i=$n([n,...a.function.metadata.hoistable_params])}else e.modifiers.includes("once")&&(n=Hn("$.once",n)),i=n;return void r.after_update.push(ds(Bn("=",ns(t.state.node,Zn("__"+s)),i)))}e.modifiers.includes("once")&&(n=Hn("$.once",n));const i=[rs(s),t.state.node,n,rs(e.modifiers.includes("capture"))];e.modifiers.includes("passive")?i.push(rs(!0)):e.modifiers.includes("nonpassive")?i.push(rs(!1)):Ws.includes(e.name)&&i.push(rs(!0)),r.after_update.push(ds(Hn("$.event",...i)))}else r.after_update.push(ds(Hn("$.event",rs(e.name),r.node,VE(e,t))))}function UE(e,t){const r=[];let n=e.name.slice(2);n.endsWith("capture")&&"ongotpointercapture"!==n&&"onlostpointercapture"!==n&&(n=n.slice(0,-7),r.push("capture")),HE({name:n,expression:e.value[0].expression,modifiers:r,metadata:e.metadata},t)}function zE(e,t,{visit:r,state:n}){const s=n.metadata.bound_contenteditable;let a=[],i=t;function o(e,t){if(1===e.length){const a=e[0];if((t&&"ExpressionTag"===a.type||"Text"===a.type)&&(i=Hn("$.sibling",i)),"Text"===a.type)return void n.template.push(a.raw);n.template.push(" ");const o=WE(i,n,"text"),l=ds(Hn("$.text_effect",o,ms(r(a.expression))));return void(a.metadata.contains_call_expression&&!s?n.update_effects.push(l):a.metadata.dynamic&&!s?n.update.push({singular:l,grouped:ds(Hn("$.text",o,r(a.expression)))}):n.init.push(ds(Bn("=",ns(o,Zn("nodeValue")),Hn("$.stringify",r(a.expression))))))}n.template.push(" ");const a=WE(i,n,"text"),o=e.some((e=>"ExpressionTag"===e.type&&e.metadata.contains_call_expression)),l=KE(e,r,n)[1],c=ds(Bn("=",ns(a,Zn("nodeValue")),l)),u=ds(Hn("$.text_effect",a,ms(KE(e,r,n)[1])));o&&!s?n.update_effects.push(u):e.some((e=>"ExpressionTag"===e.type&&e.metadata.dynamic))&&!s?n.update.push({singular:u,grouped:ds(Hn("$.text",a,l))}):n.init.push(c),i=Hn("$.sibling",a)}for(let s=0;s<e.length;s+=1){const l=e[s];if("Text"===l.type||"ExpressionTag"===l.type)a.push(l);else if(a.length>0&&(o(a,!0),a=[]),"SvelteHead"===l.type||"TitleElement"===l.type||"SnippetBlock"===l.type)r(l,n);else if("EachBlock"===l.type&&1===e.length&&"CallExpression"===t.type&&"Identifier"===t.callee.type&&"$.child"===t.callee.name)l.metadata.is_controlled=!0,r(l,n);else{const e=WE(i,n,"RegularElement"===l.type?l.name:"node");i=Hn("$.sibling",e),r(l,{...n,node:e})}}a.length>0&&o(a,!1)}function WE(e,t,r){let n=e;return"Identifier"!==n.type&&(n=Zn(t.scope.generate(r)),t.init.push(ws(n,e))),n}function GE(e,t){let r=!1;if(!0===e)return[r,rs(!0)];if(0===e.length)return[r,rs("")];if(1===e.length){const n=e[0];return"Text"===n.type?[r,rs(n.data)]:("ExpressionTag"===n.type&&(r=n.metadata.contains_call_expression),[r,t.visit(n.expression)])}return KE(e,t.visit,t.state)}function KE(e,t,r){const n=[],s=[];r.scope;let a=!1;n.push(cs(""));for(let r=0;r<e.length;r++){const i=e[r];if("Text"===i.type){n.at(-1).value.raw+=i.data}else"ExpressionTag"===i.type&&i.metadata.contains_call_expression&&(a=!0),s.push(Hn("$.stringify",t(i.expression))),n.push(cs("",r+1===e.length))}return[a,hs(n,s)]}const XE={Fragment:(e,t)=>Vn(BE(e,"frag",e.nodes,t)),Comment(e,t){t.state.template.push(`\x3c!--${e.data}--\x3e`)},HtmlTag(e,t){t.state.template.push("<!>"),t.state.init.push(ds(Hn("$.html",t.state.node,ms(t.visit(e.expression)),rs("svg"===t.state.metadata.namespace))))},ConstTag(e,{state:t,visit:r}){const n=e.declaration.declarations[0];if("Identifier"===n.id.type)t.init.push(Cs(n.id,Hn("$.derived",ms(r(n.init)))));else{const e=Ns(n.id),s=Zn(t.scope.generate("computed_const"));for(const r of e){t.scope.get(r.name).expression=r}const a=jn([],Vn([Cs(r(n.id),r(n.init)),As(as(e.map((e=>os("init",e,e)))))]));t.init.push(Cs(s,Hn("$.derived",a)));for(const r of e){t.scope.get(r.name).expression=ns(Hn("$.get",s),r)}}},DebugTag(e,{state:t,visit:r}){t.init.push(ds(Hn("$.render_effect",ms(Vn([ds(Hn("console.log",as(e.identifiers.map((e=>os("init",e,r(e))))))),bs])))))},RenderTag(e,t){t.state.template.push("<!>");const r=t.state.scope.get(e.expression.name),n="normal"!==r?.kind||"Identifier"!==e.expression.type,s=[t.state.node];e.argument&&s.push(ms(t.visit(e.argument)));let a=t.visit(e.expression);t.state.options.dev&&(a=Hn("$.validate_snippet",a)),n?t.state.init.push(ds(Hn("$.snippet_effect",ms(a),...s))):t.state.init.push(ds(Hn(a,...s)))},AnimateDirective(e,{state:t,visit:r}){const n=null===e.expression?rs(null):ms(r(e.expression));t.init.push(ds(Hn("$.animate",t.node,r(RE(e.name)),n)))},ClassDirective(e,{state:t,next:r}){ar(e,"INTERNAL","Node should have been handled elsewhere")},StyleDirective(e,{state:t,next:r}){ar(e,"INTERNAL","Node should have been handled elsewhere")},TransitionDirective(e,{state:t,visit:r}){const n=e.intro&&e.outro?"$.transition":e.intro?"$.in":"$.out",s=null===e.expression?rs(null):ms(r(e.expression));t.init.push(ds(Hn(n,t.node,r(RE(e.name)),s,e.modifiers.includes("global")?vs:gs)))},RegularElement(e,t){const r=t.state.metadata,n={...t.state.metadata,namespace:Xk(e,t.state.metadata.namespace,t.path)};t.state.template.push(`<${e.name}`);const s=[],a=[],i=[],o=[],l=Ur(e);let c=!1,u=!1,p=null,d="option"===e.name||"select"===e.name,h=!1,m=!1;l&&(r.template_needs_import_node=!0);for(const r of e.attributes)"Attribute"===r.type?(s.push(r),"value"!==r.name&&"checked"!==r.name||Ls(r)?"contenteditable"===r.name&&(!0===r.value||Ls(r)&&"true"===r.value[0].data)&&(h=!0):(c=!0,u=!0)):"SpreadAttribute"===r.type?(s.push(r),c=!0,u=!0):"ClassDirective"===r.type?a.push(r):"StyleDirective"===r.type?i.push(r):"LetDirective"===r.type?o.push(t.visit(r)):("BindDirective"===r.type&&("group"===r.name||"checked"===r.name?(d=!0,c=!0):"value"===r.name?(p=r,u=!0,c=!0):"innerHTML"!==r.name&&"innerText"!==r.name&&"textContent"!==r.name||(m=!0)),t.visit(r));"foreign"===n.namespace&&(u=!1,c=!1,d=!1,p=null),h&&m&&(n.bound_contenteditable=!0),!c||"input"!==e.name&&"select"!==e.name||t.state.init.push(ds(Hn("$.remove_input_attr_defaults",t.state.node))),u&&"textarea"===e.name&&t.state.init.push(ds(Hn("$.remove_textarea_child",t.state.node))),null!==p&&"select"===e.name&&function(e,t){let r=e.expression;for(;"MemberExpression"===r.type;)r=r.object;const n=[];for(const[e,s]of t.state.scope.references)s.length>0&&e!==r.name&&n.push(e);if(!t.state.analysis.runes){const r=Hn("$.invalidate_inner_signals",ms(Vn(n.map((e=>ds(xE(Zn(e),t.state)))))));t.state.init.push(ds(Hn("$.invalidate_effect",ms(Vn([ds(t.visit(e.expression)),ds(r)])))))}}(p,t);const f=t.state.node;t.state.init.push(...o);let y=!1;if(e.metadata.has_spread){const r=function(e,t,r,n){let s=!1;const a=[];for(const n of e){if("Attribute"===n.type){const e=TE(r,n,t),[,s]=GE(n.value,t);a.push(as([ts(e,s)]))}else a.push(t.visit(n));s||=n.metadata.dynamic}const i=r.metadata.svg||Ur(r)?gs:vs;if(s){const e=t.state.scope.generate("spread_attributes");return t.state.init.push(_s(e,void 0)),t.state.update.push({grouped:ds(Bn("=",Zn(e),Hn("$.spread_attributes",n,Zn(e),$n(a),i,rs(t.state.analysis.stylesheet.id))))}),e}return t.state.init.push(ds(Hn("$.spread_attributes",n,rs(null),$n(a),i,rs(t.state.analysis.stylesheet.id)))),null}(s,t,e,f);"foreign"!==n.namespace&&function(e,t,r,n){null!==e&&"select"===t.name&&r.state.update.push({grouped:Es(Fn("in",rs("value"),Zn(e)),Vn([ds(Hn("$.select_option",n,ns(Zn(e),Zn("value"))))]))})}(r,e,t,f),y=null!==r}else for(const r of s){if(Ms(r)){UE(r,t);continue}if(d&&"value"===r.name){OE(e.name,f,r,t);continue}if("autofocus"!==r.name&&(!0===r.value||Ls(r))){const n=TE(e,r,t),s=GE(r.value,t)[1].value;if("class"!==n||s){t.state.template.push(` ${r.name}${Hs.includes(n)&&!0===s?"":`="${!0===s?"":zk(String(s),!0)}"`}`);continue}}(l&&"foreign"!==n.namespace?NE(f,r,t):ME(e,f,r,t))&&(y=!0)}IE(a,f,t,y),AE(i,f,t,y),t.state.template.push(">");const v={...t.state,metadata:n,scope:t.state.scopes.get(e.fragment),preserve_whitespace:t.state.preserve_whitespace||("pre"===e.name||"textarea"===e.name)&&"foreign"!==n.namespace},{hoisted:g,trimmed:b}=Gk(e,e.fragment.nodes,t.path,n.namespace,v.preserve_whitespace,v.options.preserveComments,!1);for(const e of g)t.visit(e,v);zE(b,Hn("$.child","template"===e.name?ns(t.state.node,Zn("content")):t.state.node),{...t,state:v}),zs.includes(e.name)||t.state.template.push(`</${e.name}>`)},SvelteElement(e,t){t.state.template.push("<!>");const r=[],n=[],s=[],a=[];let i=null;const o=Zn(t.state.scope.generate("$$element")),l={...t,state:{...t.state,node:o,init:[],update:[],update_effects:[],after_update:[]}};for(const o of e.attributes)"Attribute"===o.type?(r.push(o),"xmlns"===o.name&&Ls(o)&&(i=o.value[0].data)):"SpreadAttribute"===o.type?r.push(o):"ClassDirective"===o.type?n.push(o):"StyleDirective"===o.type?s.push(o):"LetDirective"===o.type?a.push(t.visit(o)):t.visit(o,l.state);t.state.init.push(...a);const c=null!==function(e,t,r){if(0===e.length)return t.state.analysis.stylesheet.id&&t.state.init.push(ds(Hn("$.class_name",r,rs(t.state.analysis.stylesheet.id)))),!1;let n=!1;const s=[];for(const r of e){if("Attribute"===r.type){const[,e]=GE(r.value,t);s.push(as([ts(r.name,e)]))}else s.push(t.visit(r));n||=r.metadata.dynamic}if(n){const e=t.state.scope.generate("spread_attributes");return t.state.init.push(_s(e)),t.state.update.push({grouped:ds(Bn("=",Zn(e),Hn("$.spread_dynamic_element_attributes",r,Zn(e),$n(s),rs(t.state.analysis.stylesheet.id))))}),!0}return t.state.init.push(ds(Hn("$.spread_dynamic_element_attributes",r,rs(null),$n(s),rs(t.state.analysis.stylesheet.id)))),!1}(r,l,o);IE(n,o,l,c),AE(s,o,l,c);const u=ms(t.visit(e.tag));t.state.options.dev&&"foreign"!==t.state.metadata.namespace&&(e.fragment.nodes.length>0&&t.state.init.push(ds(Hn("$.validate_void_dynamic_element",u))),t.state.init.push(ds(Hn("$.validate_dynamic_element_tag",u))));const p=l.state.init;if(l.state.update.length>0||l.state.update_effects.length>0){if(l.state.update_effects.length>0)for(const e of l.state.update_effects)p.push(e);l.state.update.length>0&&p.push(FE(l.state,p))}p.push(...l.state.after_update),p.push(...BE(e,"dynamic_element",e.fragment.nodes,t)),t.state.after_update.push(ds(Hn("$.element",t.state.node,u,0===p.length?void 0:jn([o,Zn("$$anchor")],Vn(p)),"http://www.w3.org/2000/svg"===i?rs(!0):void 0)))},EachBlock(e,t){const r=e.metadata,n=t.visit(e.expression);let s=!0;r.is_controlled||t.state.template.push("<!>"),null!==r.array_name&&t.state.init.push(Cs(r.array_name,ms(n)));let a=0;!e.key||"Identifier"===e.key.type&&e.index&&e.key.name===e.index?a|=1:(a|=4,"Identifier"===e.key.type&&"Identifier"===e.context.type&&e.context.name===e.key.name&&t.state.options.immutable?s=!1:a|=1,(e.index||"Identifier"!==e.context.type)&&(a|=2)),r.is_controlled&&(a|=8),t.state.analysis.immutable&&(a|=64);const i=DE(t).flatMap((e=>[t.visit(e.expression),...qE(e.metadata.references,t)]));if(r.array_name)i.push(Hn(r.array_name));else{i.push(n);const e=qE(r.references,t);i.push(...e)}const o=e=>(t,r)=>{if("Identifier"!==t.left.type&&"MemberExpression"!==t.left.type)return _E(t,r,(()=>t));const n=qs(t.left),s=bE(t,r),a=Hn("$.invalidate_inner_signals",ms(us(i)));if(n===t.left){const t=Bn("=",e,s);return r.state.analysis.runes?t:us([t,a])}{const e=t.left,n=r.visit(e),i=Bn(t.operator,n,s);return r.state.analysis.runes?i:us([i,a])}},l=r.contains_group_binding||!e.index?r.index:Zn(e.index),c=Zn(r.item_name),u=t.state.scope.get(c.name);u.expression=s?Hn("$.unwrap",c):c;const p=[];if("Identifier"===e.context.type)u.mutation=o(ns(r.array_name?Hn(r.array_name):n,l,!0));else{const r=u.expression,n=$s(e.context);for(const e of n){const n=e.node.name,s=t.state.scope.get(n);p.push(_s(e.node,ms(t.visit(e.expression?.(r))))),t.state.options.dev&&p.push(ds(Hn(n))),s.expression=Hn(n),s.mutation=o(e.update_expression(r))}}const d=BE(e,"each_block",e.body.nodes,t),h=e.fallback?jn([Zn("$$anchor")],t.visit(e.fallback)):rs(null),m=e.key&&0!=(1&a)?jn(["Identifier"===e.context.type?e.context:Zn("$$item")],Vn(p.concat(As(t.visit(e.key))))):rs(null);e.index&&r.contains_group_binding&&p.push(_s(e.index,l)),0!=(4&a)?(t.state.options.dev&&"Literal"!==m.type&&t.state.init.push(ds(Hn("$.validate_each_keys",ms(n),m))),t.state.after_update.push(ds(Hn("$.each_keyed",t.state.node,r.array_name?r.array_name:ms(n),rs(a),m,jn([Zn("$$anchor"),c,l],Vn(p.concat(d))),h)))):t.state.after_update.push(ds(Hn("$.each_indexed",t.state.node,r.array_name?r.array_name:ms(n),rs(a),jn([Zn("$$anchor"),c,l],Vn(p.concat(d))),h)))},IfBlock(e,t){t.state.template.push("<!>");const r=t.visit(e.consequent);t.state.after_update.push(ds(Hn("$.if",t.state.node,ms(t.visit(e.test)),jn([Zn("$$anchor")],r),e.alternate?jn([Zn("$$anchor")],t.visit(e.alternate)):rs(null))))},AwaitBlock(e,t){t.state.template.push("<!>"),t.state.after_update.push(ds(Hn("$.await",t.state.node,ms(t.visit(e.expression)),e.pending?jn([Zn("$$anchor")],t.visit(e.pending)):rs(null),e.then?jn(e.value?[Zn("$$anchor"),t.visit(e.value)]:[Zn("$$anchor")],t.visit(e.then)):rs(null),e.catch?jn(e.error?[Zn("$$anchor"),t.visit(e.error)]:[Zn("$$anchor")],t.visit(e.catch)):rs(null))))},KeyBlock(e,t){t.state.template.push("<!>");const r=t.visit(e.expression),n=t.visit(e.fragment);t.state.after_update.push(ds(Hn("$.key",t.state.node,ms(r),jn([Zn("$$anchor")],n))))},SnippetBlock(e,t){const r=[Zn("$$anchor")];let n;if(e.context){const s="Identifier"===e.context.type?e.context:Zn("$$context");r.push(s);const a=[];if("Identifier"===e.context.type){t.state.scope.get(s.name).expression=Hn(s)}else{const r=$s(e.context);for(const e of r){const r=e.node.name,n=t.state.scope.get(r);a.push(_s(e.node,ms(t.visit(e.expression?.(Hn("$$context")))))),t.state.options.dev&&a.push(ds(Hn(r))),n.expression=Hn(r)}}n=Vn([...a,...t.visit(e.body).body])}else n=t.visit(e.body);t.state.init.push(Cs(e.expression,jn(r,n))),t.state.options.dev&&t.state.init.push(ds(Hn("$.add_snippet_symbol",e.expression)))},FunctionExpression:CE,ArrowFunctionExpression:CE,FunctionDeclaration(e,t){t.next({...t.state,in_constructor:!1})},OnDirective(e,t){HE(e,t)},UseDirective(e,{state:t,next:r,visit:n}){const s=[Zn("$$node")];e.expression&&s.push(Zn("$$props"));const a=[t.node,jn(s,Hn(n(RE(e.name)),...s))];e.expression&&a.push(ms(n(e.expression))),t.after_update.push(ds(Hn("$.action",...a))),r()},BindDirective(e,t){const{state:r,path:n,visit:s}=t,a=[];let i=e.expression;for(;"MemberExpression"===i.type;)a.unshift(i.computed?i.property:rs(i.property.name)),i=i.object;const o=ms(t.visit(e.expression)),l=Bn("=",e.expression,Zn("$$value")),c=jn([Zn("$$value")],_E(l,t,(()=>t.visit(l))));let u;const p=yi[e.name];if(p&&p.event)u=Hn("$.bind_property",rs(e.name),rs(p.event),rs(p.type??"get"),r.node,o,c);else switch(e.name){case"online":u=Hn("$.bind_online",c);break;case"scrollX":case"scrollY":u=Hn("$.bind_window_scroll",rs("scrollX"===e.name?"x":"y"),o,c);break;case"innerWidth":case"innerHeight":case"outerWidth":case"outerHeight":u=Hn("$.bind_window_size",rs(e.name),c);break;case"muted":u=Hn("$.bind_muted",r.node,o,c);break;case"paused":u=Hn("$.bind_paused",r.node,o,c);break;case"volume":u=Hn("$.bind_volume",r.node,o,c);break;case"playbackRate":u=Hn("$.bind_playback_rate",r.node,o,c);break;case"currentTime":u=Hn("$.bind_current_time",r.node,o,c);break;case"buffered":u=Hn("$.bind_buffered",r.node,c);break;case"played":u=Hn("$.bind_played",r.node,c);break;case"seekable":u=Hn("$.bind_seekable",r.node,c);break;case"seeking":u=Hn("$.bind_seeking",r.node,c);break;case"ended":u=Hn("$.bind_ended",r.node,c);break;case"readyState":u=Hn("$.bind_ready_state",r.node,c);break;case"contentRect":case"contentBoxSize":case"borderBoxSize":case"devicePixelContentBoxSize":u=Hn("$.bind_resize_observer",r.node,rs(e.name),c);break;case"clientWidth":case"clientHeight":case"offsetWidth":case"offsetHeight":u=Hn("$.bind_element_size",r.node,rs(e.name),c);break;case"value":{const e=n.at(-1);u="RegularElement"===e?.type&&"select"===e.name?Hn("$.bind_select_value",r.node,o,c):Hn("$.bind_value",r.node,o,c);break}case"this":u=Hn("$.bind_this",r.node,c,"Identifier"===e.expression.type?e.expression:void 0);break;case"textContent":case"innerHTML":case"innerText":u=Hn("$.bind_content_editable",rs(e.name),r.node,o,c);break;case"checked":u=Hn("$.bind_checked",r.node,o,c);break;case"group":{const s=[];for(const t of e.metadata.parent_each_blocks.slice(0,-1))s.push(Hn("$.unwrap",t.metadata.index));let a=o;const i=n.at(-1);if("RegularElement"===i?.type){const r=i.attributes.find((e=>"Attribute"===e.type&&"value"===e.name&&!Ls(e)&&!0!==e.value))?.value;void 0!==r&&(a=ms(Vn([ds(GE(r,t)[1]),As(t.visit(e.expression))])))}u=Hn("$.bind_group",e.metadata.binding_group_name,$n(s),r.node,a,c);break}default:ar(e,"INTERNAL","unknown binding "+e.name)}"this"===e.name?r.init.push(ds(u)):r.after_update.push(ds(u))},Component(e,t){t.state.template.push("<!>");const r=t.state.scope.get(e.name.includes(".")?e.name.slice(0,e.name.indexOf(".")):e.name);if(null!==r&&"normal"!==r.kind){const r=jE(e,"$$component",t);return void t.state.after_update.push(ds(Hn("$.component",t.state.node,ms(t.visit(ss(e.name))),jn([Zn("$$component")],Vn([r])))))}const n=jE(e,e.name,t);t.state.after_update.push(n)},SvelteSelf(e,t){t.state.template.push("<!>");const r=jE(e,t.state.analysis.name,t);t.state.after_update.push(r)},SvelteComponent(e,t){t.state.template.push("<!>");let r=jE(e,"$$component",t);t.state.options.dev&&(r=ds(Hn("$.validate_dynamic_component",ms(Vn([r]))))),t.state.after_update.push(ds(Hn("$.component",t.state.node,ms(t.visit(e.expression)),jn([Zn("$$component")],Vn([r])))))},Attribute(e,t){Ms(e)&&UE(e,t)},LetDirective(e,{state:t}){if(e.expression&&"Identifier"!==e.expression.type){const r=t.scope.generate(e.name),n=t.scope.get_bindings(e);for(const e of n)e.expression=ns(Hn("$.get",Zn(r)),Zn(e.node.name));return Cs(r,Hn("$.derived",ms(Vn([_s("ObjectExpression"===e.expression.type?is(e.expression.properties):Dn(e.expression.elements),ns(Zn("$$slotProps"),Zn(e.name))),As(as(n.map((e=>ts(e.node.name,e.node)))))]))))}return Cs(null===e.expression?e.name:e.expression.name,Hn("$.derived",ms(ns(Zn("$$slotProps"),Zn(e.name)))))},SpreadAttribute:(e,{visit:t})=>t(e.expression),SvelteFragment(e,t){const r=[];for(const n of e.attributes)"LetDirective"===n.type&&r.push(t.visit(n));const n={...t.state,scope:t.state.scopes.get(e.fragment)};t.state.init.push(...r),t.state.init.push(...BE(e,"slot_template",e.fragment.nodes,{...t,state:n}))},SlotElement(e,t){t.state.template.push("<!>");const r=[],n=[];let s=!0,a=rs("default");for(const i of e.attributes)if("SpreadAttribute"===i.type)n.push(ms(t.visit(i)));else if("Attribute"===i.type){const[,e]=GE(i.value,t);"name"===i.name?(a=e,s=!1):i.metadata.dynamic?r.push(Yn(i.name,[As(e)])):r.push(ts(i.name,e))}const i=0===n.length?as(r):Hn("$.spread_props",as(r),...n),o=0===e.fragment.nodes.length?rs(null):jn([Zn("$$anchor")],Vn(BE(e,"fallback",e.fragment.nodes,t))),l=s?ns(Zn("$$props"),Zn("children")):ns(ns(Zn("$$props"),Zn("$$slots")),a,!0,!0),c=Hn("$.slot",t.state.node,l,i,o);t.state.init.push(ds(c))},SvelteHead(e,t){t.state.init.push(ds(Hn("$.head",jn([Zn("$$anchor")],Vn(BE(e,"head",e.fragment.nodes,t))))))},TitleElement(e,{state:t,visit:r}){1===e.fragment.nodes.length&&"Text"===e.fragment.nodes[0].type?t.init.push(ds(Bn("=",ns(Zn("$.document"),Zn("title")),rs(e.fragment.nodes[0].data)))):t.update.push({grouped:ds(Bn("=",ns(Zn("$.document"),Zn("title")),KE(e.fragment.nodes,r,t)[1]))})},SvelteBody(e,t){t.next({...t.state,node:Zn("$.document.body")})},SvelteWindow(e,t){t.next({...t.state,node:Zn("$.window")})},SvelteDocument(e,t){t.next({...t.state,node:Zn("$.document")})},CallExpression:SE.CallExpression},JE={Identifier(e,{path:t,state:r}){if(Nn(e,t.at(-1)))return"$$props"===e.name?Zn("$$sanitized_props"):xE(e,r)},MemberExpression(e,{state:t,next:r}){if("ThisExpression"===e.object.type){if("PrivateIdentifier"===e.property.type){if(t.private_state.get(e.property.name))return t.in_constructor?ns(e,Zn("v")):Hn("$.get",e)}if("Identifier"===e.property.type&&!e.computed){const r=t.public_state.get(e.property.name);if(r&&t.in_constructor)return ns(ns(xs,r.id),Zn("v"))}}r()},AssignmentExpression:(e,t)=>_E(e,t,t.next),UpdateExpression(e,t){const{state:r,next:n,visit:s}=t,a=e.argument;if("Identifier"===a.type){const t=r.scope.get(a.name),s="store_sub"===t?.kind,i=s?a.name.slice(1):a.name;if("state"===t?.kind||"each"===t?.kind||"legacy_reactive"===t?.kind||"prop"===t?.kind||s){const n=[];let a="$.update";return e.prefix&&(a+="_pre"),s?(a+="_store",n.push(xE(Zn(i),r),Hn("$"+i))):("prop"===t.kind&&(a+="_prop"),n.push(Zn(i))),"--"===e.operator&&n.push(rs(-1)),Hn(a,...n)}return n()}if("MemberExpression"===a.type&&"ThisExpression"===a.object.type&&"PrivateIdentifier"===a.property.type&&t.state.private_state.has(a.property.name)){return Hn("++"===e.operator?"$.increment":"$.decrement",a)}{const i=Bn("++"===e.operator?"+=":"-=",a,rs(1)),o=_E(i,t,(()=>i)),l=s(a);if(o===i)return n();{let t;if(e.prefix)t=[ds(o),As(l)];else{const e=r.scope.generate("$$value");t=[Cs(e,l),ds(o),As(Zn(e))]}return Hn(ms(Vn(t)))}}}},QE={Program:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),BlockStatement:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),FunctionExpression:CE,ArrowFunctionExpression:CE,FunctionDeclaration(e,t){const r=e.metadata,n={...t.state,in_constructor:!1};if(!0===r?.hoistable){const r=wE(e,t);return t.state.hoisted.push({...e,id:null!==e.id?t.visit(e.id,n):null,params:r,body:t.visit(e.body,n)}),Xn}t.next(n)}},YE={VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=t.scope.get_bindings(s),a=e.some((e=>"state"===e.kind)),i=e.some((e=>"prop"===e.kind));if(a||i)if(i){if("Identifier"!==s.id.type){const e=t.scope.generate("tmp"),a=$s(s.id);n.push(Kn(Zn(e),r(s.init)));for(const r of a){const s=r.node.name,a=t.scope.get(s),i=r.expression?.(Zn(e));n.push(Kn(r.node,"prop"===a.kind?PE(a,t,a.prop_alias??s,i):i))}continue}const e=t.scope.get(s.id.name);(t.analysis.accessors||(t.analysis.immutable?e.reassigned:e.mutated)||s.init)&&n.push(Kn(s.id,PE(e,t,e.prop_alias??s.id.name,s.init&&r(s.init))))}else n.push(...kE(s,t.scope,s.init&&r(s.init)));else{const e=s.init;if(null!=e&&Wk(e)){const n=r(e);t.hoisted.push(Gn("const",s.id,n));continue}n.push(r(s))}}return 0===n.length?Xn:{...e,declarations:n}},LabeledStatement(e,t){if(t.path.length>1||"$"!==e.label.name)return void t.next();const r=t.state,n=r.analysis.reactive_statements.get(e);if(!n)return;const{dependencies:s}=n;let a=t.visit(e.body);"BlockStatement"!==a.type&&(a=Vn([a]));const i=a.body,o=[],l=[];for(const e of s){if("normal"===e.kind)continue;const t=e.node.name;let n=xE(Zn(t),r);"$$props"!==t&&"$$restProps"!==t||(n=Hn("$.access_props",n)),l.push(n)}return l.length>0&&o.push(ds(us(l))),o.push(ds(Hn("$.untrack",ms(Vn(i))))),a.body=o,r.legacy_reactive_statements.set(e,ds(Hn("$.pre_effect",ms(a)))),Xn},BreakStatement(e,t){if(!e.label||"$"!==e.label.name)return;return"LabeledStatement"===t.path[1].type&&"$"===t.path[1].label.name?As():void 0}};function ZE(...e){const t={};for(const r of e)for(const e in r){if(t[e])throw new Error(`Duplicate visitor: ${e}`);t[e]=r[e]}return t}function eS(e,t){return e.start<=t&&t<e.end}function tS(e,t={}){const{offsetLine:r=0,offsetColumn:n=0}=t;let s=0;const a=e.split("\n").map(((e,t)=>{const r=s+e.length+1,n={start:s,end:r,line:t};return s=r,n}));let i=0;return function(t,s){if("string"==typeof t&&(t=e.indexOf(t,s??0)),-1===t)return;let o=a[i];const l=t>=o.end?1:-1;for(;o;){if(eS(o,t))return{line:r+o.line,column:n+t-o.start,character:t};i+=l,o=a[i]}}}function rS(e,t,r){if(!1===r.generate)return{js:null,css:null,warnings:sS(t,r.filename,e.warnings),metadata:{runes:e.runes}};const n="server"===r.generate?function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.template.scopes,hoisted:[Ss("$","svelte/internal/server")],legacy_reactive_statements:new Map,get init(){const e=[];return e.push=()=>ar(null,"INTERNAL","init.push should not be called outside create_block"),e},get template(){const e=[];return e.push=()=>ar(null,"INTERNAL","template.push should not be called outside create_block"),e},metadata:{namespace:t.namespace},preserve_whitespace:t.preserveWhitespace},n=_t(e.module.ast,r,{...na(e.module.scopes),...uE,...Qk,...pE,...e.runes?dE:yE}),s=_t(e.instance.ast,{...r,scope:e.instance.scope},{...na(e.instance.scopes),...uE,...{...Qk,ImportDeclaration:void 0,ExportNamedDeclaration:void 0},...pE,...e.runes?dE:yE,ImportDeclaration:(e,t)=>(r.hoisted.push(Qk.ImportDeclaration(e,t)),Xn),ExportNamedDeclaration:(e,t)=>e.declaration?Qk.ExportNamedDeclaration(t.visit(e.declaration),t):Xn}),a=_t(e.template.ast,{...r,scope:e.template.scope},{...na(e.template.scopes),...uE,...Qk,...vE}),i=[];for(const[t]of e.reactive_statements){const n=[...r.legacy_reactive_statements].find((([e])=>e===t));if(void 0===n&&ar(t,"INTERNAL","Could not find reactive statement"),"ExpressionStatement"===t.body.type&&"AssignmentExpression"===t.body.expression.type)for(const r of Ns(t.body.expression.left)){const t=e.instance.scope.get(r.name);"legacy_reactive"===t?.kind&&i.push(Kn(r))}s.body.push(n[1])}i.length>0&&s.body.unshift({type:"VariableDeclaration",kind:"let",declarations:i}),e.uses_component_bindings&&(a.body=[_s("$$settled",vs),_s("$$inner_payload"),ds(ks(Zn("$$render_inner"),[Zn("$$payload")],Vn(a.body))),ys(zn("!",Zn("$$settled")),Vn([ds(Bn("=",Zn("$$settled"),vs)),ds(Bn("=",Zn("$$inner_payload"),Hn("$.copy_payload",Zn("$$payload")))),ds(Hn("$$render_inner",Zn("$$inner_payload")))])),ds(Hn("$.assign_payload",Zn("$$payload"),Zn("$$inner_payload")))]),[...e.instance.scope.declarations.values()].some((e=>"store_sub"===e.kind))&&(s.body.unshift(Cs("$$store_subs",as([]))),a.body.push(ds(Hn("$.unsubscribe_stores",Zn("$$store_subs")))));const o=[];for(const[t,r]of e.instance.scope.declarations)"prop"!==r.kind||t.startsWith("$$")||o.push(ts(r.prop_alias??t,Zn(t)));for(const{name:t,alias:r}of e.exports)o.push(ts(r??t,Zn(t)));o.length>0&&a.body.push(ds(Hn("$.bind_props",Zn("$$props"),as(o))));const l=Vn([ds(Hn("$.push",rs(e.runes))),...s.body,...a.body,ds(Hn("$.pop"))]);if(e.uses_rest_props){const t=e.exports.map((({name:e,alias:t})=>t??e));for(const[r,n]of e.instance.scope.declarations)"prop"===n.kind&&t.push(n.prop_alias??r);l.body.unshift(Cs("$$restProps",Hn("$.rest_props",Zn("$$sanitized_props"),$n(t.map((e=>rs(e)))))))}(e.uses_props||e.uses_rest_props)&&l.body.unshift(Cs("$$sanitized_props",Hn("$.sanitize_props",Zn("$$props")))),e.uses_slots&&l.body.unshift(Cs("$$slots",Hn("$.sanitize_slots",Zn("$$props"))));const c=[...r.hoisted,...n.body],u=Qn(Zn(e.name),[Zn("$$payload"),Zn("$$props")],l);return t.legacy.componentApi?(c.unshift(Ts([["render","$$_render"]],"svelte/server")),c.push(u,ds(Bn("=",ss(`${e.name}.render`),ks(null,[Zn("$$props"),Zn("$$opts")],Vn([As(Hn("$$_render",Zn(e.name),as([ts("props",Zn("$$props")),ts("context",ns(Zn("$$opts"),Zn("context"),!1,!0))])))])))),Jn(Zn(e.name)))):t.dev?c.push(u,ds(Bn("=",ss(`${e.name}.render`),ks(null,[],Vn([Rs("Component.render(...) is no longer valid in Svelte 5. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information")])))),Jn(Zn(e.name))):c.push(Jn(u)),{type:"Program",sourceType:"module",body:c}}(e,r):function(e,t,r){const n={analysis:t,options:r,scope:t.module.scope,scopes:t.template.scopes,hoisted:[Ss("$","svelte/internal")],node:null,get init(){const e=[];return e.push=()=>ar(null,"INTERNAL","init.push should not be called outside create_block"),e},get update(){const e=[];return e.push=()=>ar(null,"INTERNAL","update.push should not be called outside create_block"),e},get update_effects(){const e=[];return e.push=()=>ar(null,"INTERNAL","update_effects.push should not be called outside create_block"),e},get after_update(){const e=[];return e.push=()=>ar(null,"INTERNAL","after_update.push should not be called outside create_block"),e},get template(){const e=[];return e.push=()=>ar(null,"INTERNAL","template.push should not be called outside create_block"),e},legacy_reactive_statements:new Map,metadata:{template_needs_import_node:!1,namespace:r.namespace,bound_contenteditable:!1},events:new Set,preserve_whitespace:r.preserveWhitespace,public_state:new Map,private_state:new Map,in_constructor:!1},s=_t(t.module.ast,n,ZE(na(t.module.scopes),Qk,JE,QE,t.runes?SE:YE)),a={...n,scope:t.instance.scope},i=_t(t.instance.ast,a,ZE(na(t.instance.scopes),{...Qk,ImportDeclaration:void 0,ExportNamedDeclaration:void 0},JE,QE,t.runes?SE:YE,{ImportDeclaration:(e,t)=>(n.hoisted.push(Qk.ImportDeclaration(e,t)),Xn),ExportNamedDeclaration:(e,t)=>e.declaration?Qk.ExportNamedDeclaration(t.visit(e.declaration),t):Xn})),o=_t(t.template.ast,{...n,scope:t.instance.scope},ZE(na(t.template.scopes),Qk,JE,XE));if(!t.runes)for(const[e,r]of t.module.scope.declarations)"legacy_reactive_import"===r.kind&&i.body.unshift(ws("$$_import_"+e,Hn("$.reactive_import",ms(Zn(e)))));const l=[],c=[];for(const[e,n]of t.instance.scope.declarations)if("legacy_reactive"===n.kind&&c.push(Cs(e,Hn("$.mutable_source"))),"store_sub"===n.kind){0===l.length&&l.push(Cs("$$subscriptions",as([])),ds(Hn("$.unsubscribe_on_destroy",Zn("$$subscriptions"))));const t=xE(Zn(e.slice(1)),a),s=Hn("$.store_get",t,rs(e),Zn("$$subscriptions"));l.push(Cs(n.node,r.dev?ms(us([Hn("$.validate_store",t,rs(e.slice(1))),s])):ms(s)))}for(const[e]of t.reactive_statements){const t=[...n.legacy_reactive_statements].find((([t])=>t===e));void 0===t&&ar(e,"INTERNAL","Could not find reactive statement"),i.body.push(t[1])}const u=[];for(const e of t.binding_groups.values())u.push(Cs(e.name,$n([])));const p=t.exports.map((({name:e,alias:r})=>{const n=t.instance.scope.get(e);return ds(Hn("$.bind_prop",Zn("$$props"),rs(r??e),"state"===n?.kind?Hn("$.get",Zn(e)):Zn(e)))})),d=t.exports.map((({name:e,alias:r})=>{const s=t.instance.scope.get(e);return Yn(r??e,[As("state"!==s?.kind||n.analysis.immutable&&!s.reassigned?Zn(e):Hn("$.get",Zn(e)))])}));if(t.accessors)for(const[e,r]of t.instance.scope.declarations){if("prop"!==r.kind||e.startsWith("$$"))continue;const t=r.prop_alias??e;d.push(Yn(t,[As(Hn(Zn(e)))]),ps(t,[ds(Hn(Zn(e),Zn("$$value"))),ds(Hn("$.flushSync"))]))}const h=Vn([ds(Hn("$.push",Zn("$$props"),rs(t.runes))),...l,...c,...u,...i.body,...o.body,...p]),m=t.inject_styles&&t.stylesheet.has_styles?()=>h.body.push(ds(Hn("$.append_styles",Zn("$$anchor"),rs(t.stylesheet.id),rs(t.stylesheet.render(t.name,e,r.dev).code)))):()=>{};if(d.length>0?(h.body.push(ws("$$accessors",as(d)),ds(Hn("$.pop",Zn("$$accessors")))),m(),h.body.push(As(Zn("$$accessors")))):(h.body.push(ds(Hn("$.pop"))),m()),t.uses_rest_props){const e=t.exports.map((({name:e,alias:t})=>t??e));for(const[r,n]of t.instance.scope.declarations)"prop"===n.kind&&e.push(n.prop_alias??r);h.body.unshift(Cs("$$restProps",Hn("$.rest_props",Zn("$$sanitized_props"),$n(e.map((e=>rs(e)))))))}(t.uses_props||t.uses_rest_props)&&h.body.unshift(Cs("$$sanitized_props",Hn("$.rest_props",Zn("$$props"),$n([rs("children"),rs("$$slots"),rs("$$events")])))),t.uses_slots&&h.body.unshift(Cs("$$slots",Hn("$.sanitize_slots",Zn("$$props"))));const f=[...n.hoisted,...s.body,Jn(Qn(Zn(t.name),[Zn("$$anchor"),Zn("$$props")],h))];var y;if(r.discloseVersion&&f.unshift(Ts([],"svelte/internal/disclose-version")),r.legacy.componentApi?(f.unshift(Ts([["createClassComponent","$$_createClassComponent"]],"svelte/legacy")),h.body.unshift(Es(Fn("===",Zn("new.target"),Zn(t.name)),As(Hn("$$_createClassComponent",as([ts("component",Zn(t.name)),(y=Zn("$$anchor"),{type:"SpreadElement",argument:y})])))))):r.dev&&h.body.unshift(Es(Fn("===",Zn("new.target"),Zn(t.name)),Rs("Instantiating a component with `new` is no longer valid in Svelte 5. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information"))),n.events.size>0&&f.push(ds(Hn("$.delegate",$n(Array.from(n.events).map((e=>rs(e))))))),t.custom_element){const e=t.custom_element,r=[];for(const[n,s]of t.instance.scope.declarations){if("prop"!==s.kind||n.startsWith("$$"))continue;const t=s.prop_alias??n,a="boolean"==typeof e?{}:e.props?.[t]||{};a.type||"Literal"!==s.initial?.type||"boolean"!=typeof s.initial.value||(a.type="Boolean");const i=as([a.attribute?ts("attribute",rs(a.attribute)):void 0,a.reflect?ts("reflect",rs(!0)):void 0,a.type?ts("type",rs(a.type)):void 0].filter(Boolean));r.push(ts(t,i))}const n=$n([...t.slot_names.keys()].map((e=>rs(e)))),s=$n(t.exports.map((({name:e,alias:t})=>rs(t??e)))),a="boolean"==typeof e||"none"!==e.shadow,i=Hn("$.create_custom_element",Zn(t.name),as(r),n,s,rs(a),"boolean"!=typeof e?e.extend:void 0);"boolean"!=typeof e?f.push(ds(Hn("customElements.define",rs(e.tag),i))):f.push(ds(i))}return{type:"Program",sourceType:"module",body:f}}(t,e,r),s=(r.filename??"Component").split(/[/\\]/).at(-1);return n.body.length>0&&(n.body[0].leadingComments=[{type:"Line",value:` ${s} (Svelte v${Uk})`},{type:"Line",value:" Note: compiler output will change before 5.0 is released!"}]),{js:Hk(n,{sourceMapSource:r.filename}),css:e.stylesheet.has_styles&&!e.inject_styles?e.stylesheet.render(r.filename??"TODO",t,r.dev):null,warnings:sS(t,r.filename,e.warnings),metadata:{runes:e.runes}}}function nS(e,t,r){if(!1===r.generate)return{js:null,css:null,warnings:sS(t,e.name,e.warnings),metadata:{runes:!0}};const n="server"===r.generate?function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,legacy_reactive_statements:new Map},n=_t(e.module.ast,r,{...na(e.module.scopes),...uE,...pE,...dE});return{type:"Program",sourceType:"module",body:[Ss("$","svelte/internal/server"),...n.body]}}(e,r):function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,legacy_reactive_statements:new Map,public_state:new Map,private_state:new Map,in_constructor:!1},n=_t(e.module.ast,r,ZE(na(e.module.scopes),JE,QE,SE));return{type:"Program",sourceType:"module",body:[Ss("$","svelte/internal"),...n.body]}}(e,r),s=(r.filename??"Module").split(/[/\\]/).at(-1);return n.body.length>0&&(n.body[0].leadingComments=[{type:"Block",value:` ${s} generated by Svelte v${Uk} `}]),{js:Hk(n,{}),css:null,warnings:sS(t,e.name,e.warnings),metadata:{runes:!0}}}function sS(e,t,r){if(0===r.length)return[];const n=tS(e,{offsetLine:1}),s=[];for(const e of r){const r=e.position&&n(e.position[0]),a=e.position&&n(e.position[1]);s.push({start:r,end:a,filename:t,message:e.message,code:e.code})}return s}const aS={filename:fS(void 0),dev:yS(!1),generate:mS("client",((e,t)=>"dom"===e||"ssr"===e?(pS('`generate: "dom"` and `generate: "ssr"` options have been renamed to "client" and "server" respectively'),"dom"===e?"client":"server"):("client"!==e&&"server"!==e&&!1!==e&&vS(`${t} must be "client", "server" or false`),e)))},iS=hS({...aS}),oS=hS({...aS,accessors:yS(!1),css:mS("external",(e=>(!0!==e&&!1!==e||vS('The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true'),"none"===e&&vS('css: "none" is no longer a valid option. If this was crucial for you, please open an issue on GitHub with your use case.'),"external"!==e&&"injected"!==e&&vS('css should be either "external" (default, recommended) or "injected"'),e))),cssHash:(lS=({css:e,hash:t})=>`svelte-${t(e)}`,mS(lS,((e,t)=>("function"!=typeof e&&vS(`${t} should be a function, if specified`),e)))),cssOutputFilename:fS(void 0),customElement:yS(!1),discloseVersion:yS(!0),immutable:function(e,t){return(r,n)=>(void 0!==r&&pS(e),t(r,n))}("The immutable option has been deprecated. It has no effect in runes mode.",yS(!1)),legacy:hS({componentApi:yS(!1)}),loopGuardTimeout:dS("The loopGuardTimeout option has been removed."),name:fS(void 0),namespace:function(e,t=e[0]){return mS(t,((t,r)=>{if(!e.includes(t)){const t=e.length>2?`${r} should be one of ${e.slice(0,-1).map((e=>`"${e}"`)).join(", ")} or "${e[e.length-1]}"`:`${r} should be either "${e[0]}" or "${e[1]}"`;vS(t)}return t}))}(["html","svg","foreign"]),outputFilename:fS(void 0),preserveComments:yS(!1),preserveWhitespace:yS(!1),runes:yS(void 0),sourcemap:mS(void 0,((e,t)=>e)),enableSourcemap:mS(void 0,((e,t)=>e)),hydratable:dS("The hydratable option has been removed. Svelte components are always hydratable now."),format:cS('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)'),tag:cS('The tag option has been removed in Svelte 5. Use `<svelte:options customElement="tag-name" />` inside the component instead. If that does not solve your use case, please open an issue on GitHub with details.'),sveltePath:cS("The sveltePath option has been removed in Svelte 5. If this option was crucial for you, please open an issue on GitHub with your use case."),errorMode:cS("The errorMode option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead"),varsReport:cS("The vars option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead")});var lS;function cS(e){return t=>{void 0!==t&&ar(null,"removed-compiler-option",e)}}const uS=new Set;function pS(e){uS.has(e)||(uS.add(e),console.warn(e))}function dS(e){return t=>{void 0!==t&&pS(e)}}function hS(e,t=!1){return(r,n)=>{const s={};(r&&"object"!=typeof r||Array.isArray(r))&&vS(`${n} should be an object`);for(const a in r)a in e||(t?s[a]=r[a]:ar(null,"invalid-compiler-option",`Unexpected option ${n?`${n}.${a}`:a}`));for(const t in e){const a=e[t];s[t]=a(r&&r[t],n?`${n}.${t}`:t)}return s}}function mS(e,t){return(r,n)=>void 0===r?e:t(r,n)}function fS(e,t=!0){return mS(e,((e,r)=>("string"!=typeof e&&vS(`${r} should be a string, if specified`),t||""!==e||vS(`${r} cannot be empty`),e)))}function yS(e){return mS(e,((e,t)=>("boolean"!=typeof e&&vS(`${t} should be true or false, if specified`),e)))}function vS(e){ar(null,"invalid-compiler-option",e)}function gS(e){const t=e.at(0),r=e.at(-1);"Text"===t?.type&&(et.test(t.data)?t.data=t.data.replace(Qe,""):e.shift()),"Text"===r?.type&&(et.test(r.data)?r.data=r.data.replace(Ze,""):e.pop())}const bS=/^[\w+.-]+:\/\//,xS=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,_S=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var CS;function wS(e){return e.startsWith("/")}function PS(e){return/^[.?#]/.test(e)}function kS(e){const t=xS.exec(e);return ES(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function ES(e,t,r,n,s,a,i){return{scheme:e,user:t,host:r,port:n,path:s,query:a,hash:i,type:CS.Absolute}}function SS(e){if(function(e){return e.startsWith("//")}(e)){const t=kS("http:"+e);return t.scheme="",t.type=CS.SchemeRelative,t}if(wS(e)){const t=kS("http://foo.com"+e);return t.scheme="",t.host="",t.type=CS.AbsolutePath,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=_S.exec(e),r=t[2];return ES("file:","",t[1]||"","",wS(r)?r:"/"+r,t[3]||"",t[4]||"")}(e);if(function(e){return bS.test(e)}(e))return kS(e);const t=kS("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?CS.Query:e.startsWith("#")?CS.Hash:CS.RelativePath:CS.Empty,t}function TS(e,t){const r=t<=CS.RelativePath,n=e.path.split("/");let s=1,a=0,i=!1;for(let e=1;e<n.length;e++){const t=n[e];t?(i=!1,"."!==t&&(".."!==t?(n[s++]=t,a++):a?(i=!0,a--,s--):r&&(n[s++]=t))):i=!0}let o="";for(let e=1;e<s;e++)o+="/"+n[e];(!o||i&&!o.endsWith("/.."))&&(o+="/"),e.path=o}function AS(e,t){if(!e&&!t)return"";const r=SS(e);let n=r.type;if(t&&n!==CS.Absolute){const e=SS(t),s=e.type;switch(n){case CS.Empty:r.hash=e.hash;case CS.Hash:r.query=e.query;case CS.Query:case CS.RelativePath:!function(e,t){TS(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(r,e);case CS.AbsolutePath:r.user=e.user,r.host=e.host,r.port=e.port;case CS.SchemeRelative:r.scheme=e.scheme}s>n&&(n=s)}TS(r,n);const s=r.query+r.hash;switch(n){case CS.Hash:case CS.Query:return s;case CS.RelativePath:{const n=r.path.slice(1);return n?PS(t||e)&&!PS(n)?"./"+n+s:n+s:s||"."}case CS.AbsolutePath:return r.path+s;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+s}}function RS(e,t){return t&&!t.endsWith("/")&&(t+="/"),AS(e,t)}!function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(CS||(CS={}));const IS=0;function qS(e,t){for(let r=t;r<e.length;r++)if(!LS(e[r]))return r;return e.length}function LS(e){for(let t=1;t<e.length;t++)if(e[t][IS]<e[t-1][IS])return!1;return!0}function MS(e,t){return t||(e=e.slice()),e.sort(NS)}function NS(e,t){return e[IS]-t[IS]}let OS=!1;function $S(e,t,r){for(let n=r+1;n<e.length&&e[n][IS]===t;r=n++);return r}function DS(e,t,r){for(let n=r-1;n>=0&&e[n][IS]===t;r=n--);return r}function jS(e,t,r,n){const{lastKey:s,lastNeedle:a,lastIndex:i}=r;let o=0,l=e.length-1;if(n===s){if(t===a)return OS=-1!==i&&e[i][IS]===t,i;t>=a?o=-1===i?0:i:l=i}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=function(e,t,r,n){for(;r<=n;){const s=r+(n-r>>1),a=e[s][IS]-t;if(0===a)return OS=!0,s;a<0?r=s+1:n=s-1}return OS=!1,r-1}(e,t,o,l)}let BS,FS,VS,HS;class US{constructor(e,t){const r="string"==typeof e;if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e,{version:s,file:a,names:i,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s,this.file=a,this.names=i||[],this.sourceRoot=o,this.sources=l,this.sourcesContent=c;const u=RS(o||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=l.map((e=>RS(e||"",u)));const{mappings:p}=n;"string"==typeof p?(this._encoded=p,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const r=qS(e,0);if(r===e.length)return e;t||(e=e.slice());for(let n=r;n<e.length;n=qS(e,n+1))e[n]=MS(e[n],t);return e}(p,r)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}BS=e=>e._decoded||(e._decoded=ha(e._encoded)),FS=(e,t,r)=>{const n=BS(e);if(t>=n.length)return null;const s=n[t],a=function(e,t,r,n,s){let a=jS(e,n,t,r);return OS?a=(-1===s?$S:DS)(e,n,a):-1===s&&a++,-1===a||a===e.length?-1:a}(s,e._decodedMemo,t,r,1);return-1===a?null:s[a]};class zS{constructor(){this._indexes={__proto__:null},this.array=[]}}VS=(e,t)=>e._indexes[t],HS=(e,t)=>{const r=VS(e,t);if(void 0!==r)return r;const{array:n,_indexes:s}=e;return s[t]=n.push(t)-1};let WS,GS,KS,XS,JS;class QS{constructor({file:e,sourceRoot:t}={}){this._names=new zS,this._sources=new zS,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t}}function YS(e,t,r){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=r}WS=(e,t,r,n,s,a,i,o)=>JS(!0,e,t,r,n,s,a,i,o),GS=(e,t,r)=>{const{_sources:n,_sourcesContent:s}=e;s[HS(n,t)]=r},KS=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:a,_names:i}=e;return function(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0&&!(e[t].length>0);r=t,t--);r<t&&(e.length=r)}(n),{version:3,file:t||void 0,names:i.array,sourceRoot:r||void 0,sources:s.array,sourcesContent:a,mappings:n}},XS=e=>{const t=KS(e);return Object.assign(Object.assign({},t),{mappings:ba(t.mappings)})},JS=(e,t,r,n,s,a,i,o,l)=>{const{_mappings:c,_sources:u,_sourcesContent:p,_names:d}=t,h=function(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}(c,r),m=function(e,t){let r=e.length;for(let n=r-1;n>=0&&!(t>=e[n][0]);r=n--);return r}(h,n);if(!s){if(e&&function(e,t){if(0===t)return!0;const r=e[t-1];return 1===r.length}(h,m))return;return YS(h,m,[n])}const f=HS(u,s),y=o?HS(d,o):-1;if(f===p.length&&(p[f]=null!=l?l:null),!e||!function(e,t,r,n,s,a){if(0===t)return!1;const i=e[t-1];return 1!==i.length&&r===i[1]&&n===i[2]&&s===i[3]&&a===(5===i.length?i[4]:-1)}(h,m,f,a,i,y))return YS(h,m,o?[n,f,a,i,y]:[n,f,a,i])};const ZS=tT("",-1,-1,"",null),eT=[];function tT(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function rT(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function nT(e,t){return rT(e,t,"",null)}function sT(e,t,r,n){if(!e.map)return tT(e.source,t,r,n,e.content);const s=FS(e.map,t,r);return null==s?null:1===s.length?ZS:sT(e.sources[s[1]],s[2],s[3],5===s.length?e.map.names[s[4]]:n)}function aT(e,t){const r=(n=e,Array.isArray(n)?n:[n]).map((e=>new US(e,"")));var n;const s=r.pop();for(let e=0;e<r.length;e++)if(r[e].sources.length>1)throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`);let a=iT(s,t,"",0);for(let e=r.length-1;e>=0;e--)a=nT(r[e],[a]);return a}function iT(e,t,r,n){const{resolvedSources:s,sourcesContent:a}=e,i=n+1,o=s.map(((e,n)=>{const s={importer:r,depth:i,source:e||"",content:void 0},o=t(s.source,s),{source:l,content:c}=s;if(o)return iT(new US(o,l),t,l,i);return function(e,t){return rT(null,eT,e,t)}(l,void 0!==c?c:a?a[n]:null)}));return nT(e,o)}class oT{constructor(e,t){const r=t.decodedMappings?KS(e):XS(e);this.version=r.version,this.file=r.file,this.mappings=r.mappings,this.names=r.names,this.sourceRoot=r.sourceRoot,this.sources=r.sources,t.excludeContent||(this.sourcesContent=r.sourcesContent)}toString(){return JSON.stringify(this)}}function lT(e,t,r){const n="object"==typeof r?r:{excludeContent:!!r,decodedMappings:!1},s=aT(e,t);return new oT(function(e){const t=new QS({file:e.map.file}),{sources:r,map:n}=e,s=n.names,a=BS(n);for(let e=0;e<a.length;e++){const n=a[e];for(let a=0;a<n.length;a++){const i=n[a],o=i[0];let l=ZS;if(1!==i.length&&(l=sT(r[i[1]],i[2],i[3],5===i.length?s[i[4]]:""),null==l))continue;const{column:c,line:u,name:p,content:d,source:h}=l;WS(t,e,o,h,u,c,p),h&&null!=d&&GS(t,h,d)}}return t}(s),n)}function cT(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function uT(e,t,r){if(0!=e.mappings.length)for(let n=0;n<e.mappings.length;n++){const s=e.mappings[n];for(let e=0;e<s.length;e++){const n=s[e];n[1]===r&&(0===n[2]&&(n[3]+=t.column),n[2]+=t.line)}}}function pT(e,t){const r=e.slice(),n=[];t=t||[];let s=!1;for(const[a,i]of t.entries()){const t=e.indexOf(i);if(t>=0)n[a]=t;else{const e=r.length;r[e]=i,n[a]=e,s=!0}}let a=s;return s&&void 0===n.find(((e,t)=>e!=t))&&(a=!1),[r,n,s,a]}const dT=/([^\d\w\s]|\s+)/g;class hT{string=void 0;map=void 0;constructor(e="",t=null){this.string=e,this.map=t||{version:3,mappings:[],sources:[],names:[]}}concat(e){if(""==e.string)return this;if(""==this.string)return this.string=e.string,this.map=e.map,this;const t=(r=this.string).length-r.lastIndexOf("\n")-1;var r;this.string+=e.string;const n=this.map,s=e.map;if(0==s.mappings.length)return this;const[a,i,o,l]=pT(n.sources,s.sources),[c,u,p,d]=pT(n.names,s.names);if(o&&(n.sources=a),p&&(n.names=c),l&&d)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[1]>=0&&(r[1]=i[r[1]]),r[4]>=0&&(r[4]=u[r[4]])}}else if(l)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[1]>=0&&(r[1]=i[r[1]])}}else if(d)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[4]>=0&&(r[4]=u[r[4]])}}if(s.mappings.length>0&&t>0){const e=s.mappings[0];for(let r=0;r<e.length;r++)e[r][0]+=t}return cT(n.mappings[n.mappings.length-1],s.mappings.shift()),cT(n.mappings,s.mappings),this}static from_processed(e,t){const r=e.split("\n").length;if(t){const n=r-t.mappings.length;for(let e=0;e<n;e++)t.mappings.push([]);return new hT(e,t)}if(""==e)return new hT;t={version:3,names:[],sources:[],mappings:[]};for(let e=0;e<r;e++)t.mappings.push([]);return new hT(e,t)}static from_source({source:e,file_basename:t,get_location:r}){let n=r(0);n||(n={line:0,column:0});const s={version:3,names:[],sources:[t],mappings:[]};if(""==e)return new hT(e,s);const a=e.split("\n");for(let e=0;e<a.length;e++){s.mappings.push([]);const t=a[e].split(dT);for(let r=0,a=0;r<t.length;r++)""!=t[r]&&(s.mappings[e].push([a,0,n.line+e,a]),a+=t[r].length)}const i=s.mappings[0];for(let e=0;e<i.length;e++)i[e][3]+=n.column;return new hT(e,s)}}const mT=/data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(\S*)/;function fT(e,t,{file_basename:r,filename:n,get_location:s}){return{source:e,get_location:e=>s(e+t),file_basename:r,filename:n}}async function yT(e,t,r){const n=await function(e,t,r){const n=[];return r.replace(e,((...e)=>(n.push(t(...e).then((t=>{const r=e[0];return{offset:e[e.length-2],length:r.length,replacement:t}}))),""))),Promise.all(n)}(e,t,r.source);return function(e,t){const r=new hT;let n=0;for(const{offset:s,length:a,replacement:i}of e){const e=hT.from_source(fT(t.source.slice(n,s),n,t));r.concat(e).concat(i),n=s+a}const s=hT.from_source(fT(t.source.slice(n),n,t));return r.concat(s)}(n,r)}const vT=/[/\\]/;class gT{source;filename;sourcemap_list=[];dependencies=[];file_basename=void 0;get_location=void 0;constructor(e,t){this.source=e,this.filename=t,this.update_source({string:e}),this.file_basename=null==t?null:function(e){return e.split(vT).pop()}(t)}update_source({string:e,map:t,dependencies:r}){null!=e&&(this.source=e,this.get_location=tS(e)),t&&this.sourcemap_list.unshift(t),r&&this.dependencies.push(...r)}to_processed(){const e=function(e,t){if(0==t.length)return null;let r=1;const n=void 0===t.slice(0,-1).find((e=>1!==e.sources.length))?lT(t,(()=>null),!0):lT(t[0],(n=>n===e&&t[r]?t[r++]:null),!0);return n.file||delete n.file,n.sources.length||(n.sources=[e]),n}(this.file_basename,this.sourcemap_list);return{code:this.source,dependencies:[...new Set(this.dependencies)],map:e,toString:()=>this.source}}}function bT(e,t,r){let n;if(e.map&&(n=function(e){let t="string"==typeof e.map?JSON.parse(e.map):e.map;return"string"==typeof t.mappings&&(t.mappings=ha(t.mappings)),t._mappings&&"SourceMapGenerator"===t.constructor.name&&(t=function(e){let t=1;const r=[[]];let n,s,a=r[0];const i=e._sources.toArray().reduce(((e,t,r)=>(e[t]=r,e)),{}),o=e._names.toArray().reduce(((e,t,r)=>(e[t]=r,e)),{}),l=e._mappings.toArray();for(let e=0,c=l.length;e<c;e++){if(s=l[e],s.generatedLine>t){for(;s.generatedLine>t;)r.push([]),t++;a=r[s.generatedLine-1]}else if(e>0){const t=l[e-1];if(s.generatedColumn===t.generatedColumn&&s.originalColumn===t.originalColumn&&s.name===t.name&&s.generatedLine===t.generatedLine&&s.originalLine===t.originalLine&&s.source===t.source)continue}a.push([s.generatedColumn]),n=a[a.length-1],null!=s.source&&(n.push(i[s.source],s.originalLine-1,s.originalColumn),null!=s.name&&n.push(o[s.name]))}const c={version:e._version,sources:e._sources.toArray(),names:e._names.toArray(),mappings:r};return null!=e._file&&(c.file=e._file),c}(t)),t}(e),n?.sources)){const e=n.sources.indexOf(r);-1!==e&&uT(n,t,e)}return hT.from_processed(e.code,n)}function xT(e,t,r,n,s){const{file_basename:a,get_location:i}=s,o=(e,t)=>hT.from_source(fT(e,t,s)),l=`<${t}${r}>`,c=`<${t}${n}>`;let u;if(l.length!==c.length){const e=[[[0,0,0,0],[`<${t}`.length,0,0,`<${t}`.length]]],r=c.split("\n").length-1,n=c.length-(0===r?0:c.lastIndexOf("\n"))-1;for(;e.length<=r;)e.push([[0,0,0,`<${t}`.length]]);e[r].push([n,0,l.split("\n").length-1,l.length-l.lastIndexOf("\n")-1]);const s={version:3,names:[],sources:[a],mappings:e};uT(s,i(0),0),u=hT.from_processed(c,s)}else u=o(c,0);const p=o(`</${t}>`,l.length+s.source.length);!function(e,t){const r="[#@]\\s*sourceMappingURL\\s*=\\s*(\\S*)",n="script"==t?new RegExp("(?://"+r+")|(?:/\\*"+r+"\\s*\\*/)$"):new RegExp("/\\*"+r+"\\s*\\*/$");function s(t){const r=e.code.length<100?e.code:e.code.slice(0,100)+" [...]";console.warn(`warning: ${t}. processed.code = ${JSON.stringify(r)}`)}e.code=e.code.replace(n,((r,n,a)=>{const i="script"==t?n||a:n,o=(i.match(mT)||[])[1];return o?e.map?(s("Not implemented. Found sourcemap in both processed.code and processed.map. Please update your preprocessor to return only one sourcemap."),""):(e.map=atob(o),""):(e.map||s(`Found sourcemap path ${JSON.stringify(i)} in processed.code, but no sourcemap data. Please update your preprocessor to return sourcemap data directly.`),"")}))}(e,t);const d=bT(e,i(l.length),a);return u.concat(d).concat(p)}const _T=/([\w-$]+\b)(?:=(?:"([^"]*)"|'([^']*)'|(\S+)))?/g;function CT(e){const t={};let r;for(;null!==(r=_T.exec(e));){const e=r[1],n=r[2]||r[3]||r[4];t[e]=!n||n}return t}const wT=/<!--[^]*?-->|<style((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g,PT=/<!--[^]*?-->|<script((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;async function kT(e,t,r){const{filename:n,source:s}=r,a="style"===e?wT:PT,i=[];const{string:o,map:l}=await yT(a,(async function(a,o="",l="",c){const u=()=>hT.from_source(fT(a,c,r));if(!o&&!l)return u();const p=await t({content:l||"",attributes:CT(o||""),markup:s,filename:n});return p?(p.dependencies&&i.push(...p.dependencies),p.map||p.code!==l?xT(p,e,o,function(e){if(!e)return;let t=Object.entries(e).map((([e,t])=>!0===t?e:`${e}="${t}"`)).join(" ");return t&&(t=" "+t),t}(p.attributes)??o,fT(l,c,r)):u()):u()}),r);return{string:o,map:l,dependencies:i}}async function ET(e,t){const r=await e({content:t.source,filename:t.filename});return r?{string:r.code,map:r.map?"string"==typeof r.map?JSON.parse(r.map):r.map:void 0,dependencies:r.dependencies}:{}}function ST(e,t,r){if(e.filename=t,e.position){const t=tS(r,{offsetLine:1}),n=t(e.position[0]),s=t(e.position[1]);e.start=n,e.end=s}throw e}e.CompileError=sr,e.VERSION=Uk,e.compile=function(e,t){try{const r=oS(t,""),n=Mn(e),s={...r,...n.options},a=yk(n,s);return rS(a,e,s)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}},e.compileModule=function(e,t){try{const r=iS(t,""),n=function(e,t){const{scope:r,scopes:n}=ra(e,new ta,!1,null);for(const[e,t]of r.references)"$"!==e[0]||Ks.includes(e)||"$"!==e&&"$"!==e[1]||ar(t[0].node,"illegal-global",e);const s=[];return _t(e,{scope:r,analysis:{warnings:s}},ia(na(n),ck,gk)),{module:{ast:e,scope:r,scopes:n},name:t.filename||"module",warnings:s,accessors:!1,runes:!0,immutable:!0}}(Yt(e,!1),r);return nS(n,e,r)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}},e.parse=function(e,t={}){let r;try{r=Mn(e)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}return t.modern?_t(r,null,{_(e,{next:t}){delete e.parent,delete e.metadata,t()}}):function(e,t){return _t(t,null,{_(e,{next:t}){delete e.parent,delete e.metadata,t()},Root(r,{visit:n}){const{instance:s,module:a,options:i}=r;if(i?.__raw__){let e=r.fragment.nodes.findIndex((e=>i.end<=e.start));-1===e&&(e=r.fragment.nodes.length),delete i.__raw__.parent,r.fragment.nodes.splice(e,0,i.__raw__)}let o=null,l=null;if(r.fragment.nodes.length>0){const t=r.fragment.nodes.at(0),n=r.fragment.nodes.at(-1);for(o=t.start,l=n.end;/\s/.test(e[o]);)o+=1;for(;/\s/.test(e[l-1]);)l-=1}return s&&delete s.parent,a&&delete a.parent,{html:{type:"Fragment",start:o,end:l,children:r.fragment.nodes.map((e=>n(e)))},instance:s,module:a,css:t.css?_t(t.css,null,{_(e){delete e.parent}}):void 0}},AnimateDirective:e=>({...e,type:"Animation"}),AwaitBlock(e,{visit:t}){let r={type:"PendingBlock",start:null,end:null,children:e.pending?.nodes.map((e=>t(e)))??[],skip:!0},n={type:"ThenBlock",start:null,end:null,children:e.then?.nodes.map((e=>t(e)))??[],skip:!0},s={type:"CatchBlock",start:null,end:null,children:e.catch?.nodes.map((e=>t(e)))??[],skip:!0};if(e.pending){const t=e.pending.nodes.at(0),n=e.pending.nodes.at(-1);r.start=t.start,r.end=n.end,r.skip=!1}if(e.then){const t=e.then.nodes.at(0),s=e.then.nodes.at(-1);n.start=r.end??t.start,n.end=s.end,n.skip=!1}if(e.catch){const t=e.catch.nodes.at(0),a=e.catch.nodes.at(-1);s.start=n.end??r.end??t.start,s.end=a.end,s.skip=!1}return{type:"AwaitBlock",start:e.start,end:e.end,expression:e.expression,value:e.value,error:e.error,pending:r,then:n,catch:s}},BindDirective:e=>({...e,type:"Binding"}),ClassDirective:e=>({...e,type:"Class"}),Component:(e,{visit:t})=>({type:"InlineComponent",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),ConstTag(e){if(void 0!==e.expression)return e;const t=e,{id:r}={...t.declaration.declarations[0]};return delete r.typeAnnotation,{type:"ConstTag",start:t.start,end:e.end,expression:{type:"AssignmentExpression",start:(t.declaration.start??0)+6,end:t.declaration.end??0,operator:"=",left:r,right:t.declaration.declarations[0].init}}},KeyBlock:(e,{visit:t})=>(gS(e.fragment.nodes),{type:"KeyBlock",start:e.start,end:e.end,expression:e.expression,children:e.fragment.nodes.map((e=>t(e)))}),EachBlock(t,{visit:r}){let n;if(t.fallback){const s=t.fallback.nodes.at(0),a=e.lastIndexOf("{",t.end-1),i=s?.start??a;gS(t.fallback.nodes),n={type:"ElseBlock",start:i,end:a,children:t.fallback.nodes.map((e=>r(e)))}}return gS(t.body.nodes),{type:"EachBlock",start:t.start,end:t.end,children:t.body.nodes.map((e=>r(e))),context:t.context,expression:t.expression,index:t.index,key:t.key,else:n}},ExpressionTag(t,{path:r}){const n=r.at(-1);return"Attribute"===n?.type&&"{"===e[n.start]?{type:"AttributeShorthand",start:t.start,end:t.end,expression:t.expression}:{type:"MustacheTag",start:t.start,end:t.end,expression:t.expression}},HtmlTag:e=>({...e,type:"RawMustacheTag"}),IfBlock(t,{visit:r}){let n;if(t.alternate){let s=t.alternate.nodes;1===s.length&&"IfBlock"===s[0].type&&s[0].elseif&&(s=s[0].consequent.nodes);const a=e.lastIndexOf("{",t.end-1),i=s.at(0)?.start??a;gS(t.alternate.nodes),n={type:"ElseBlock",start:i,end:a,children:t.alternate.nodes.map((e=>r(e)))}}return gS(t.consequent.nodes),{type:"IfBlock",start:t.start,end:t.end,expression:t.test,children:t.consequent.nodes.map((e=>r(e))),else:n,elseif:!!t.elseif||void 0}},OnDirective:e=>({...e,type:"EventHandler"}),SnippetBlock:(e,{visit:t})=>(gS(e.body.nodes),{type:"SnippetBlock",start:e.start,end:e.end,expression:e.expression,context:e.context,children:e.body.nodes.map((e=>t(e)))}),RegularElement:(e,{visit:t})=>({type:"Element",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SlotElement:(e,{visit:t})=>({type:"Slot",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SpreadAttribute:e=>({...e,type:"Spread"}),SvelteBody:(e,{visit:t})=>({type:"Body",name:"svelte:body",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteComponent:(e,{visit:t})=>({type:"InlineComponent",name:"svelte:component",start:e.start,end:e.end,expression:e.expression,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteDocument:(e,{visit:t})=>({type:"Document",name:"svelte:document",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteElement(e,{visit:t}){let r=e.tag;return"Literal"===r.type&&"string"==typeof r.value&&(r=r.value),{type:"Element",name:"svelte:element",start:e.start,end:e.end,tag:r,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}},SvelteFragment:(e,{visit:t})=>({type:"SlotTemplate",name:"svelte:fragment",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteHead:(e,{visit:t})=>({type:"Head",name:"svelte:head",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteOptions:(e,{visit:t})=>({type:"Options",name:"svelte:options",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e)))}),SvelteSelf:(e,{visit:t})=>({type:"InlineComponent",name:"svelte:self",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteWindow:(e,{visit:t})=>({type:"Window",name:"svelte:window",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),Text(e,{path:t}){const r=t.at(-1);if("RegularElement"===r?.type&&"style"===r.name)return{type:"Text",start:e.start,end:e.end,data:e.data}},TitleElement:(e,{visit:t})=>({type:"Title",name:"title",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),TransitionDirective:e=>({...e,type:"Transition"}),UseDirective:e=>({...e,type:"Action"}),LetDirective:e=>({...e,type:"Let"})})}(e,r)},e.preprocess=async function(e,t,r){const n=r&&r.filename||t.filename,s=t?Array.isArray(t)?t:[t]:[],a=new gT(e,n);for(const e of s)e.markup&&a.update_source(await ET(e.markup,a)),e.script&&a.update_source(await kT("script",e.script,a)),e.style&&a.update_source(await kT("style",e.style,a));return a.to_processed()},e.walk=function(){throw new Error("'svelte/compiler' no longer exports a `walk` utility — please import it directly from 'estree-walker' instead")}}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).svelte={})}(this,(function(e){"use strict";var t=[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],r=[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],n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",s={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",i={5:a,"5module":a+" export import",6:a+" const class extends export import super"},o=/^in(stanceof)?$/,l=new RegExp("["+n+"]"),c=new RegExp("["+n+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function u(e,t){for(var r=65536,n=0;n<t.length;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function p(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&l.test(String.fromCharCode(e)):!1!==t&&u(e,r)))}function d(e,n){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==n&&(u(e,r)||u(e,t)))))}var h=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function m(e,t){return new h(e,{beforeExpr:!0,binop:t})}var f={beforeExpr:!0},y={startsExpr:!0},v={};function g(e,t){return void 0===t&&(t={}),t.keyword=e,v[e]=new h(e,t)}var b={num:new h("num",y),regexp:new h("regexp",y),string:new h("string",y),name:new h("name",y),privateId:new h("privateId",y),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",f),semi:new h(";",f),colon:new h(":",f),dot:new h("."),question:new h("?",f),questionDot:new h("?."),arrow:new h("=>",f),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",f),backQuote:new h("`",y),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m("</>/<=/>=",7),bitShift:m("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:m("??",1),_break:g("break"),_case:g("case",f),_catch:g("catch"),_continue:g("continue"),_debugger:g("debugger"),_default:g("default",f),_do:g("do",{isLoop:!0,beforeExpr:!0}),_else:g("else",f),_finally:g("finally"),_for:g("for",{isLoop:!0}),_function:g("function",y),_if:g("if"),_return:g("return",f),_switch:g("switch"),_throw:g("throw",f),_try:g("try"),_var:g("var"),_const:g("const"),_while:g("while",{isLoop:!0}),_with:g("with"),_new:g("new",{beforeExpr:!0,startsExpr:!0}),_this:g("this",y),_super:g("super",y),_class:g("class",y),_extends:g("extends",f),_export:g("export"),_import:g("import",y),_null:g("null",y),_true:g("true",y),_false:g("false",y),_in:g("in",{beforeExpr:!0,binop:7}),_instanceof:g("instanceof",{beforeExpr:!0,binop:7}),_typeof:g("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:g("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:g("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},x=/\r\n?|\n|\u2028|\u2029/,_=new RegExp(x.source,"g");function C(e){return 10===e||13===e||8232===e||8233===e}function w(e,t,r){void 0===r&&(r=e.length);for(var n=t;n<r;n++){var s=e.charCodeAt(n);if(C(s))return n<r-1&&13===s&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}var P=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,k=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,E=Object.prototype,S=E.hasOwnProperty,T=E.toString,A=Object.hasOwn||function(e,t){return S.call(e,t)},R=Array.isArray||function(e){return"[object Array]"===T.call(e)},I=Object.create(null);function q(e){return I[e]||(I[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function L(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}var M=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var O=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function $(e,t){for(var r=1,n=0;;){var s=w(e,n,t);if(s<0)return new N(r,t-n);++r,n=s}}var D={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},j=!1;function B(e){var t={};for(var r in D)t[r]=e&&A(e,r)?e[r]:D[r];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!j&&"object"==typeof console&&console.warn&&(j=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),R(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return R(t.onComment)&&(t.onComment=function(e,t){return function(r,n,s,a,i,o){var l={type:r?"Block":"Line",value:n,start:s,end:a};e.locations&&(l.loc=new O(this,i,o)),e.ranges&&(l.range=[s,a]),t.push(l)}}(t,t.onComment)),t}var F=256;function V(e,t){return 2|(e?4:0)|(t?8:0)}var H=function(e,t,r){this.options=e=B(e),this.sourceFile=e.sourceFile,this.keywords=q(i[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=s[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=q(n);var a=(n?n+" ":"")+s.strict;this.reservedWordsStrict=q(a),this.reservedWordsStrictBind=q(a+" "+s.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(x).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=b.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="module"===e.sourceType,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),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},U={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}};H.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},U.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},U.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},U.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},U.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&F)return!1;if(2&t.flags)return(4&t.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},U.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(64&t)>0||r||this.options.allowSuperOutsideMethod},U.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},U.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},U.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(258&t)>0||r},U.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&F)>0},H.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},H.parse=function(e,t){return new this(t,e).parse()},H.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},H.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(H.prototype,U);var z=H.prototype,W=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;z.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){k.lastIndex=e,e+=k.exec(this.input)[0].length;var t=W.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){k.lastIndex=e+t[0].length;var r=k.exec(this.input),n=r.index+r[0].length,s=this.input.charAt(n);return";"===s||"}"===s||x.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||"!"===s&&"="===this.input.charAt(n+1))}e+=t[0].length,k.lastIndex=e,e+=k.exec(this.input)[0].length,";"===this.input[e]&&e++}},z.eat=function(e){return this.type===e&&(this.next(),!0)},z.isContextual=function(e){return this.type===b.name&&this.value===e&&!this.containsEsc},z.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},z.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},z.canInsertSemicolon=function(){return this.type===b.eof||this.type===b.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))},z.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},z.semicolon=function(){this.eat(b.semi)||this.insertSemicolon()||this.unexpected()},z.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},z.expect=function(e){this.eat(e)||this.unexpected()},z.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var G=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};z.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},z.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},z.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},z.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var K=H.prototype;K.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==b.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,s=Object.keys(this.undefinedExports);n<s.length;n+=1){var a=s[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var X={kind:"loop"},J={kind:"switch"};K.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;k.lastIndex=this.pos;var t=k.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(91===n||92===n)return!0;if(e)return!1;if(123===n||n>55295&&n<56320)return!0;if(p(n,!0)){for(var s=r+1;d(n=this.input.charCodeAt(s),!0);)++s;if(92===n||n>55295&&n<56320)return!0;var a=this.input.slice(r,s);if(!o.test(a))return!0}return!1},K.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;k.lastIndex=this.pos;var e,t=k.exec(this.input),r=this.pos+t[0].length;return!(x.test(this.input.slice(this.pos,r))||"function"!==this.input.slice(r,r+8)||r+8!==this.input.length&&(d(e=this.input.charCodeAt(r+8))||e>55295&&e<56320))},K.parseStatement=function(e,t,r){var n,s=this.type,a=this.startNode();switch(this.isLet(e)&&(s=b._var,n="let"),s){case b._break:case b._continue:return this.parseBreakContinueStatement(a,s.keyword);case b._debugger:return this.parseDebuggerStatement(a);case b._do:return this.parseDoStatement(a);case b._for:return this.parseForStatement(a);case b._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case b._class:return e&&this.unexpected(),this.parseClass(a,!0);case b._if:return this.parseIfStatement(a);case b._return:return this.parseReturnStatement(a);case b._switch:return this.parseSwitchStatement(a);case b._throw:return this.parseThrowStatement(a);case b._try:return this.parseTryStatement(a);case b._const:case b._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(a,n);case b._while:return this.parseWhileStatement(a);case b._with:return this.parseWithStatement(a);case b.braceL:return this.parseBlock(!0,a);case b.semi:return this.parseEmptyStatement(a);case b._export:case b._import:if(this.options.ecmaVersion>10&&s===b._import){k.lastIndex=this.pos;var i=k.exec(this.input),o=this.pos+i[0].length,l=this.input.charCodeAt(o);if(40===l||46===l)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===b._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,u=this.parseExpression();return s===b.name&&"Identifier"===u.type&&this.eat(b.colon)?this.parseLabeledStatement(a,c,u,e):this.parseExpressionStatement(a,u)}},K.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(b.semi)||this.insertSemicolon()?e.label=null:this.type!==b.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var s=this.labels[n];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(r||"loop"===s.kind))break;if(e.label&&r)break}}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},K.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},K.parseDoStatement=function(e){return this.next(),this.labels.push(X),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(b._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(b.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},K.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(X),this.enterScope(0),this.expect(b.parenL),this.type===b.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===b._var||this.type===b._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var a=this.isContextual("let"),i=!1,o=new G,l=this.parseExpression(!(t>-1)||"await",o);return this.type===b._in||(i=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===b._in?t>-1&&this.unexpected(t):e.await=t>-1),a&&i&&this.raise(l.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(l,!1,o),this.checkLValPattern(l),this.parseForIn(e,l)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,l))},K.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Y|(r?0:Z),!1,t)},K.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(b._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},K.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(b.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},K.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(b.braceL),this.labels.push(J),this.enterScope(0);for(var r=!1;this.type!==b.braceR;)if(this.type===b._case||this.type===b._default){var n=this.type===b._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(b.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},K.parseThrowStatement=function(e){return this.next(),x.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Q=[];K.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(b.parenR),e},K.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===b._catch){var t=this.startNode();this.next(),this.eat(b.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(b._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},K.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},K.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(X),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},K.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},K.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},K.parseLabeledStatement=function(e,t,r,n){for(var s=0,a=this.labels;s<a.length;s+=1){a[s].name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var i=this.type.isLoop?"loop":this.type===b._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var l=this.labels[o];if(l.statementStart!==e.start)break;l.statementStart=this.start,l.kind=i}return this.labels.push({name:t,kind:i,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},K.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},K.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(b.braceL),e&&this.enterScope(0);this.type!==b.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},K.parseFor=function(e,t){return e.init=t,this.expect(b.semi),e.test=this.type===b.semi?null:this.parseExpression(),this.expect(b.semi),e.update=this.type===b.parenR?null:this.parseExpression(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},K.parseForIn=function(e,t){var r=this.type===b._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(b.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},K.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(b.eq)?s.init=this.parseMaybeAssign(t):n||"const"!==r||this.type===b._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n||"Identifier"===s.id.type||t&&(this.type===b._in||this.isContextual("of"))?s.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(b.comma))break}return e},K.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)};var Y=1,Z=2;function ee(e,t){var r=t.key.name,n=e[r],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===s||"iset"===n&&"iget"===s||"sget"===n&&"sset"===s||"sset"===n&&"sget"===s?(e[r]="true",!1):!!n||(e[r]=s,!1)}function te(e,t){var r=e.computed,n=e.key;return!r&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}K.parseFunction=function(e,t,r,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===b.star&&t&Z&&this.unexpected(),e.generator=this.eat(b.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Y&&(e.id=4&t&&this.type!==b.name?null:this.parseIdent(),!e.id||t&Z||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var a=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(V(e.async,e.generator)),t&Y||(e.id=this.type===b.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,t&Y?"FunctionDeclaration":"FunctionExpression")},K.parseFunctionParams=function(e){this.expect(b.parenL),e.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},K.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(b.braceL);this.type!==b.braceR;){var i=this.parseClassElement(null!==e.superClass);i&&(s.body.push(i),"MethodDefinition"===i.type&&"constructor"===i.kind?(a&&this.raiseRecoverable(i.start,"Duplicate constructor in the same class"),a=!0):i.key&&"PrivateIdentifier"===i.key.type&&ee(n,i)&&this.raiseRecoverable(i.key.start,"Identifier '#"+i.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},K.parseClassElement=function(e){if(this.eat(b.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",s=!1,a=!1,i="method",o=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(b.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===b.star?o=!0:n="static"}if(r.static=o,!n&&t>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==b.star||this.canInsertSemicolon()?n="async":a=!0),!n&&(t>=9||!a)&&this.eat(b.star)&&(s=!0),!n&&!a&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?i=l:n=l)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===b.parenL||"method"!==i||s||a){var c=!r.static&&te(r,"constructor"),u=c&&e;c&&"method"!==i&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":i,this.parseClassMethod(r,s,a,u)}else this.parseClassField(r);return r},K.isClassElementNameStart=function(){return this.type===b.name||this.type===b.privateId||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword},K.parseClassElementName=function(e){this.type===b.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},K.parseClassMethod=function(e,t,r,n){var s=e.key;"constructor"===e.kind?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&te(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return"get"===e.kind&&0!==a.params.length&&this.raiseRecoverable(a.start,"getter should have no params"),"set"===e.kind&&1!==a.params.length&&this.raiseRecoverable(a.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===a.params[0].type&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},K.parseClassField=function(e){if(te(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&te(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(b.eq)){var t=this.currentThisScope(),r=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r}else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")},K.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==b.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},K.parseClassId=function(e,t){this.type===b.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},K.parseClassSuper=function(e){e.superClass=this.eat(b._extends)?this.parseExprSubscripts(null,!1):null},K.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},K.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,s=0===n?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var i=r[a];A(t,i.name)||(s?s.used.push(i):this.raiseRecoverable(i.start,"Private field '#"+i.name+"' must be declared in an enclosing class"))}},K.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},K.parseExport=function(e,t){if(this.next(),this.eat(b.star))return this.parseExportAllDeclaration(e,t);if(this.eat(b._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==b.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var s=n[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),"Literal"===s.local.type&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},K.parseExportDeclaration=function(e){return this.parseStatement(null)},K.parseExportDefaultDeclaration=function(){var e;if(this.type===b._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,4|Y,!1,e)}if(this.type===b._class){var r=this.startNode();return this.parseClass(r,"nullableID")}var n=this.parseMaybeAssign();return this.semicolon(),n},K.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),A(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},K.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,t.start);else if("ObjectPattern"===r)for(var n=0,s=t.properties;n<s.length;n+=1){var a=s[n];this.checkPatternExport(e,a)}else if("ArrayPattern"===r)for(var i=0,o=t.elements;i<o.length;i+=1){var l=o[i];l&&this.checkPatternExport(e,l)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r&&this.checkPatternExport(e,t.argument)},K.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var s=n[r];this.checkPatternExport(e,s.id)}},K.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},K.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},K.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(b.braceL);!this.eat(b.braceR);){if(r)r=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;t.push(this.parseExportSpecifier(e))}return t},K.parseImport=function(e){return this.next(),this.type===b.string?(e.specifiers=Q,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===b.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},K.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},K.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},K.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},K.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===b.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(b.comma)))return e;if(this.type===b.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(b.braceL);!this.eat(b.braceR);){if(t)t=!1;else if(this.expect(b.comma),this.afterTrailingComma(b.braceR))break;e.push(this.parseImportSpecifier())}return e},K.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===b.string){var e=this.parseLiteral(this.value);return M.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},K.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},K.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var re=H.prototype;re.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.toAssignable(a,t),"RestElement"!==a.type||"ArrayPattern"!==a.argument.type&&"ObjectPattern"!==a.argument.type||this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},re.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var s=e[n];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];6===this.options.ecmaVersion&&t&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return e},re.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},re.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==b.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},re.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case b.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(b.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case b.braceL:return this.parseObj(!0)}return this.parseIdent()},re.parseBindingList=function(e,t,r,n){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(b.comma),t&&this.type===b.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===b.ellipsis){var i=this.parseRestBinding();this.parseBindingListItem(i),s.push(i),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}s.push(this.parseAssignableListItem(n))}return s},re.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},re.parseBindingListItem=function(e){return e},re.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(b.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},re.checkLValSimple=function(e,t,r){void 0===t&&(t=0);var n=0!==t;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(A(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),5!==t&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},re.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var n=0,s=e.properties;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var i=0,o=e.elements;i<o.length;i+=1){var l=o[i];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},re.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ne=function(e,t,r,n,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!s},se={b_stat:new ne("{",!1),b_expr:new ne("{",!0),b_tmpl:new ne("${",!1),p_stat:new ne("(",!1),p_expr:new ne("(",!0),q_tmpl:new ne("`",!0,!0,(function(e){return e.tryReadTemplateToken()})),f_stat:new ne("function",!1),f_expr:new ne("function",!0),f_expr_gen:new ne("function",!0,!1,null,!0),f_gen:new ne("function",!1,!1,null,!0)},ae=H.prototype;ae.initialContext=function(){return[se.b_stat]},ae.curContext=function(){return this.context[this.context.length-1]},ae.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat||(e!==b.colon||t!==se.b_stat&&t!==se.b_expr?e===b._return||e===b.name&&this.exprAllowed?x.test(this.input.slice(this.lastTokEnd,this.start)):e===b._else||e===b.semi||e===b.eof||e===b.parenR||e===b.arrow||(e===b.braceL?t===se.b_stat:e!==b._var&&e!==b._const&&e!==b.name&&!this.exprAllowed):!t.isExpr)},ae.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},ae.updateContext=function(e){var t,r=this.type;r.keyword&&e===b.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},ae.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},b.parenR.updateContext=b.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===se.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},b.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0},b.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0},b.parenL.updateContext=function(e){var t=e===b._if||e===b._for||e===b._with||e===b._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0},b.incDec.updateContext=function(){},b._function.updateContext=b._class.updateContext=function(e){!e.beforeExpr||e===b._else||e===b.semi&&this.curContext()!==se.p_stat||e===b._return&&x.test(this.input.slice(this.lastTokEnd,this.start))||(e===b.colon||e===b.braceL)&&this.curContext()===se.b_stat?this.context.push(se.f_stat):this.context.push(se.f_expr),this.exprAllowed=!1},b.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},b.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1},b.star.updateContext=function(e){if(e===b._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0},b.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==b.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ie=H.prototype;function oe(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&oe(e.expression)}ie.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var n,s=e.key;switch(s.type){case"Identifier":n=s.name;break;case"Literal":n=String(s.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)"__proto__"===n&&"init"===a&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=s.start):this.raiseRecoverable(s.start,"Redefinition of __proto__ property")),t.proto=!0);else{var i=t[n="$"+n];if(i)("init"===a?this.strict&&i.init||i.get||i.set:i.init||i[a])&&this.raiseRecoverable(s.start,"Redefinition of property");else i=t[n]={init:!1,get:!1,set:!1};i[a]=!0}}},ie.parseExpression=function(e,t){var r=this.start,n=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===b.comma){var a=this.startNodeAt(r,n);for(a.expressions=[s];this.eat(b.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s},ie.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,s=-1,a=-1,i=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,i=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new G,n=!0);var o=this.start,l=this.startLoc;this.type!==b.parenL&&this.type!==b.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,o,l)),this.type.isAssign){var u=this.startNodeAt(o,l);return u.operator=this.value,this.type===b.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===b.eq?this.checkLValPattern(c):this.checkLValSimple(c),u.left=c,this.next(),u.right=this.parseMaybeAssign(e),i>-1&&(t.doubleProto=i),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),c},ie.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(b.question)){var a=this.startNodeAt(r,n);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(b.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s},ie.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&"ArrowFunctionExpression"===s.type?s:this.parseExprOp(s,r,n,-1,e)},ie.parseExprOp=function(e,t,r,n,s){var a=this.type.binop;if(null!=a&&(!s||this.type!==b._in)&&a>n){var i=this.type===b.logicalOR||this.type===b.logicalAND,o=this.type===b.coalesce;o&&(a=b.logicalAND.binop);var l=this.value;this.next();var c=this.start,u=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),c,u,a,s),d=this.buildBinary(t,r,e,p,l,i||o);return(i&&this.type===b.coalesce||o&&(this.type===b.logicalOR||this.type===b.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(d,t,r,n,s)}return e},ie.buildBinary=function(e,t,r,n,s,a){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");var i=this.startNodeAt(e,t);return i.left=r,i.operator=s,i.right=n,this.finishNode(i,a?"LogicalExpression":"BinaryExpression")},ie.parseMaybeUnary=function(e,t,r,n){var s,a=this.start,i=this.startLoc;if(this.isContextual("await")&&this.canAwait)s=this.parseAwait(n),t=!0;else if(this.type.prefix){var o=this.startNode(),l=this.type===b.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&"Identifier"===o.argument.type?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&oe(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,s=this.finishNode(o,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==b.privateId){if(s=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return s;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,i);c.operator=this.value,c.prefix=!1,c.argument=s,this.checkLValSimple(s),this.next(),s=this.finishNode(c,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),s=this.parsePrivateIdent(),this.type!==b._in&&this.unexpected();return r||!this.eat(b.starstar)?s:t?void this.unexpected(this.lastTokStart):this.buildBinary(a,i,s,this.parseMaybeUnary(null,!1,!1,n),"**",!1)},ie.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,s=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===s.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return s;var a=this.parseSubscripts(s,r,n,!1,t);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},ie.parseSubscripts=function(e,t,r,n,s){for(var a=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,i=!1;;){var o=this.parseSubscript(e,t,r,n,a,i,s);if(o.optional&&(i=!0),o===e||"ArrowFunctionExpression"===o.type){if(i){var l=this.startNodeAt(t,r);l.expression=o,o=this.finishNode(l,"ChainExpression")}return o}e=o}},ie.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(b.arrow)},ie.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)},ie.parseSubscript=function(e,t,r,n,s,a,i){var o=this.options.ecmaVersion>=11,l=o&&this.eat(b.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(b.bracketL);if(c||l&&this.type!==b.parenL&&this.type!==b.backQuote||this.eat(b.dot)){var u=this.startNodeAt(t,r);u.object=e,c?(u.property=this.parseExpression(),this.expect(b.bracketR)):this.type===b.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!c,o&&(u.optional=l),e=this.finishNode(u,"MemberExpression")}else if(!n&&this.eat(b.parenL)){var p=new G,d=this.yieldPos,h=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var f=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1,p);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=h,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,r,f,i);this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var y=this.startNodeAt(t,r);y.callee=e,y.arguments=f,o&&(y.optional=l),e=this.finishNode(y,"CallExpression")}else if(this.type===b.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var v=this.startNodeAt(t,r);v.tag=e,v.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(v,"TaggedTemplateExpression")}return e},ie.parseExprAtom=function(e,t,r){this.type===b.slash&&this.readRegexp();var n,s=this.potentialArrowAt===this.start;switch(this.type){case b._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==b.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==b.dot&&this.type!==b.bracketL&&this.type!==b.parenL&&this.unexpected(),this.finishNode(n,"Super");case b._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case b.name:var a=this.start,i=this.startLoc,o=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(b._function))return this.overrideContext(se.f_expr),this.parseFunction(this.startNodeAt(a,i),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(b.arrow))return this.parseArrowExpression(this.startNodeAt(a,i),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===b.name&&!o&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(b.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,i),[l],!0,t)}return l;case b.regexp:var c=this.value;return(n=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},n;case b.num:case b.string:return this.parseLiteral(this.value);case b._null:case b._true:case b._false:return(n=this.startNode()).value=this.type===b._null?null:this.type===b._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case b.parenL:var u=this.start,p=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),p;case b.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(b.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case b.braceL:return this.overrideContext(se.b_expr),this.parseObj(!1,e);case b._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case b._class:return this.parseClass(this.startNode(),!1);case b._new:return this.parseNew();case b.backQuote:return this.parseTemplate();case b._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},ie.parseExprAtomDefault=function(){this.unexpected()},ie.parseExprImport=function(e){var t=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var r=this.parseIdent(!0);return this.type!==b.parenL||e?this.type===b.dot?(t.meta=r,this.parseImportMeta(t)):void this.unexpected():this.parseDynamicImport(t)},ie.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(b.parenR)){var t=this.start;this.eat(b.comma)&&this.eat(b.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},ie.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},ie.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},ie.parseParenExpression=function(){this.expect(b.parenL);var e=this.parseExpression();return this.expect(b.parenR),e},ie.shouldParseArrow=function(e){return!this.canInsertSemicolon()},ie.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,s=this.startLoc,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var i,o=this.start,l=this.startLoc,c=[],u=!0,p=!1,d=new G,h=this.yieldPos,m=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==b.parenR;){if(u?u=!1:this.expect(b.comma),a&&this.afterTrailingComma(b.parenR,!0)){p=!0;break}if(this.type===b.ellipsis){i=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var f=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(b.parenR),e&&this.shouldParseArrow(c)&&this.eat(b.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=m,this.parseParenArrowList(n,s,c,t);c.length&&!p||this.unexpected(this.lastTokStart),i&&this.unexpected(i),this.checkExpressionErrors(d,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=m||this.awaitPos,c.length>1?((r=this.startNodeAt(o,l)).expressions=c,this.finishNodeAt(r,"SequenceExpression",f,y)):r=c[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var v=this.startNodeAt(n,s);return v.expression=r,this.finishNode(v,"ParenthesizedExpression")}return r},ie.parseParenItem=function(e){return e},ie.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var le=[];ie.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===b.dot){var t=this.startNodeAt(e.start,e.startLoc);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,s,!0,!1),this.eat(b.parenL)?e.arguments=this.parseExprList(b.parenR,this.options.ecmaVersion>=8,!1):e.arguments=le,this.finishNode(e,"NewExpression")},ie.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===b.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===b.backQuote,this.finishNode(r,"TemplateElement")},ie.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===b.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(b.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(b.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},ie.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===b.name||this.type===b.num||this.type===b.string||this.type===b.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===b.star)&&!x.test(this.input.slice(this.lastTokEnd,this.start))},ie.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(b.braceR);){if(n)n=!1;else if(this.expect(b.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(b.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},ie.parseProperty=function(e,t){var r,n,s,a,i=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(b.ellipsis))return e?(i.argument=this.parseIdent(!1),this.type===b.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(i,"RestElement")):(i.argument=this.parseMaybeAssign(!1,t),this.type===b.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(i,"SpreadElement"));this.options.ecmaVersion>=6&&(i.method=!1,i.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(r=this.eat(b.star)));var o=this.containsEsc;return this.parsePropertyName(i),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(i)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(b.star),this.parsePropertyName(i)):n=!1,this.parsePropertyValue(i,e,r,n,s,a,t,o),this.finishNode(i,"Property")},ie.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;if(e.value.params.length!==t){var r=e.value.start;"get"===e.kind?this.raiseRecoverable(r,"getter should have no params"):this.raiseRecoverable(r,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},ie.parsePropertyValue=function(e,t,r,n,s,a,i,o){(r||n)&&this.type===b.colon&&this.unexpected(),this.eat(b.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,i),e.kind="init"):this.options.ecmaVersion>=6&&this.type===b.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n)):t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===b.comma||this.type===b.braceR||this.type===b.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===b.eq&&i?(i.shorthandAssign<0&&(i.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),this.parseGetterSetter(e))},ie.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(b.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(b.bracketR),e.key;e.computed=!1}return e.key=this.type===b.num||this.type===b.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},ie.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},ie.parseMethod=function(e,t,r){var n=this.startNode(),s=this.yieldPos,a=this.awaitPos,i=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|V(t,n.generator)|(r?128:0)),this.expect(b.parenL),n.params=this.parseBindingList(b.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=i,this.finishNode(n,"FunctionExpression")},ie.parseArrowExpression=function(e,t,r,n){var s=this.yieldPos,a=this.awaitPos,i=this.awaitIdentPos;return this.enterScope(16|V(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=i,this.finishNode(e,"ArrowFunctionExpression")},ie.parseFunctionBody=function(e,t,r,n){var s=t&&this.type!==b.braceL,a=this.strict,i=!1;if(s)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);a&&!o||(i=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],i&&(this.strict=!0),this.checkParams(e,!a&&!i&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,i&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},ie.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){if("Identifier"!==r[t].type)return!1}return!0},ie.checkParams=function(e,t){for(var r=Object.create(null),n=0,s=e.params;n<s.length;n+=1){var a=s[n];this.checkLValInnerPattern(a,1,t?null:r)}},ie.parseExprList=function(e,t,r,n){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(b.comma),t&&this.afterTrailingComma(e))break;var i=void 0;r&&this.type===b.comma?i=null:this.type===b.ellipsis?(i=this.parseSpread(n),n&&this.type===b.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):i=this.parseMaybeAssign(!1,n),s.push(i)}return s},ie.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===n&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==n&&"await"!==n||this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\"))||(this.strict?this.reservedWordsStrict:this.reservedWords).test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))},ie.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},ie.parseIdentNode=function(){var e=this.startNode();return this.type===b.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=b.name):this.unexpected(),e},ie.parsePrivateIdent=function(){var e=this.startNode();return this.type===b.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},ie.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===b.semi||this.canInsertSemicolon()||this.type!==b.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(b.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},ie.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var ce=H.prototype;ce.raise=function(e,t){var r=$(this.input,e);t+=" ("+r.line+":"+r.column+")";var n=new SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},ce.raiseRecoverable=ce.raise,ce.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var ue=H.prototype,pe=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};ue.enterScope=function(e){this.scopeStack.push(new pe(e))},ue.exitScope=function(){this.scopeStack.pop()},ue.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ue.declareName=function(e,t,r){var n=!1;if(2===t){var s=this.currentScope();n=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&1&s.flags&&delete this.undefinedExports[e]}else if(4===t){this.currentScope().lexical.push(e)}else if(3===t){var a=this.currentScope();n=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var i=this.scopeStack.length-1;i>=0;--i){var o=this.scopeStack[i];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){n=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],259&o.flags)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ue.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ue.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ue.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},ue.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}};var de=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new O(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},he=H.prototype;function me(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}he.startNode=function(){return new de(this,this.start,this.startLoc)},he.startNodeAt=function(e,t){return new de(this,e,t)},he.finishNode=function(e,t){return me.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},he.finishNodeAt=function(e,t,r,n){return me.call(this,e,t,r,n)},he.copyNode=function(e){var t=new de(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var fe="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ye=fe+" Extended_Pictographic",ve=ye+" EBase EComp EMod EPres ExtPict",ge={9:fe,10:ye,11:ye,12:ve,13:ve,14:ve},be={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},xe="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",_e="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",Ce=_e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",we=Ce+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pe=we+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ke=Pe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ee={9:_e,10:Ce,11:we,12:Pe,13:ke,14:ke+" Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Se={};function Te(e){var t=Se[e]={binary:q(ge[e]+" "+xe),binaryOfStrings:q(be[e]),nonBinary:{General_Category:q(xe),Script:q(Ee[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Ae=0,Re=[9,10,11,12,13,14];Ae<Re.length;Ae+=1){Te(Re[Ae])}var Ie=H.prototype,qe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Se[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function Le(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function Me(e){return e>=65&&e<=90||e>=97&&e<=122}qe.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("v"),s=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)},qe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},qe.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!t&&!this.switchU||s<=55295||s>=57344||e+1>=n)return s;var a=r.charCodeAt(e+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s},qe.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s,a=r.charCodeAt(e);return!t&&!this.switchU||a<=55295||a>=57344||e+1>=n||(s=r.charCodeAt(e+1))<56320||s>57343?e+1:e+2},qe.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},qe.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},qe.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},qe.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},qe.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,n=0,s=e;n<s.length;n+=1){var a=s[n],i=this.at(r,t);if(-1===i||i!==a)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},Ie.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,s=!1,a=0;a<r.length;a++){var i=r.charAt(a);-1===t.indexOf(i)&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(i,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===i&&(n=!0),"v"===i&&(s=!0)}this.options.ecmaVersion>=15&&n&&s&&this.raise(e.start,"Invalid regular expression flag")},Ie.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},Ie.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];-1===e.groupNames.indexOf(n)&&e.raise("Invalid named capture referenced")}},Ie.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},Ie.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Ie.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},Ie.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},Ie.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},Ie.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Ie.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return-1!==s&&s<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},Ie.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Ie.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Ie.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},Ie.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},Ie.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Ie.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},Ie.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!Le(t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!Le(r);)e.advance();return e.pos!==t},Ie.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t)&&(e.advance(),!0)},Ie.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},Ie.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},Ie.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=L(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=L(e.lastIntValue);return!0}return!1},Ie.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return p(e,!0)||36===e||95===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Ie.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),function(e){return d(e,!0)||36===e||95===e||8204===e||8205===e}(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},Ie.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},Ie.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},Ie.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},Ie.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Ie.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Ie.regexp_eatZero=function(e){return 48===e.current()&&!$e(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Ie.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},Ie.regexp_eatControlLetter=function(e){var t=e.current();return!!Me(t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ie.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r,n=e.pos,s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=1024*(a-55296)+(o-56320)+65536,!0}e.pos=i,e.lastIntValue=a}return!0}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&((r=e.lastIntValue)>=0&&r<=1114111))return!0;s&&e.raise("Invalid unicode escape"),e.pos=n}return!1},Ie.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1};function Ne(e){return Me(e)||95===e}function Oe(e){return Ne(e)||$e(e)}function $e(e){return e>=48&&e<=57}function De(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function je(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Be(e){return e>=48&&e<=55}Ie.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),1;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=80===t)||112===t)){var n;if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(n=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&2===n&&e.raise("Invalid property name"),n;e.raise("Invalid property name")}return 0},Ie.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),1}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return 0},Ie.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){A(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},Ie.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},Ie.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ne(t=e.current());)e.lastStringValue+=L(t),e.advance();return""!==e.lastStringValue},Ie.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Oe(t=e.current());)e.lastStringValue+=L(t),e.advance();return""!==e.lastStringValue},Ie.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Ie.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&2===r&&e.raise("Negated character class may contain strings"),!0}return!1},Ie.regexp_classContents=function(e){return 93===e.current()?1:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),1)},Ie.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;!e.switchU||-1!==t&&-1!==r||e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},Ie.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||Be(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},Ie.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Ie.regexp_classSetExpression=function(e){var t,r=1;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){2===t&&(r=2);for(var n=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(r=1):e.raise("Invalid character in character class");if(n!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return r;2===t&&(r=2)}},Ie.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return-1!==r&&-1!==n&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},Ie.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},Ie.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&2===n&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},Ie.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},Ie.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},Ie.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},Ie.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1));var r=e.current();return!(r<0||r===e.lookahead()&&function(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}(r))&&(!function(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}(r)&&(e.advance(),e.lastIntValue=r,!0))},Ie.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!function(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}(t)&&(e.lastIntValue=t,e.advance(),!0)},Ie.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!$e(t)&&95!==t)&&(e.lastIntValue=t%32,e.advance(),!0)},Ie.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},Ie.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;$e(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},Ie.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;De(r=e.current());)e.lastIntValue=16*e.lastIntValue+je(r),e.advance();return e.pos!==t},Ie.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},Ie.regexp_eatOctalDigit=function(e){var t=e.current();return Be(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},Ie.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var s=e.current();if(!De(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+je(s),e.advance()}return!0};var Fe=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new O(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Ve=H.prototype;function He(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}Ve.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Fe(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ve.getToken=function(){return this.next(),new Fe(this)},"undefined"!=typeof Symbol&&(Ve[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===b.eof,value:t}}}}),Ve.nextToken=function(){var e=this.curContext();return e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(b.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ve.readToken=function(e){return p(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ve.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Ve.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,s=t;(n=w(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},Ve.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!C(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},Ve.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&P.test(String.fromCharCode(e))))break e;++this.pos}}},Ve.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ve.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(b.ellipsis)):(++this.pos,this.finishToken(b.dot))},Ve.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(b.assign,2):this.finishOp(b.slash,1)},Ve.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?b.star:b.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=b.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(b.assign,r+1):this.finishOp(n,r)},Ve.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(b.assign,3);return this.finishOp(124===e?b.logicalOR:b.logicalAND,2)}return 61===t?this.finishOp(b.assign,2):this.finishOp(124===e?b.bitwiseOR:b.bitwiseAND,1)},Ve.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(b.assign,2):this.finishOp(b.bitwiseXOR,1)},Ve.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!x.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(b.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(b.assign,2):this.finishOp(b.plusMin,1)},Ve.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(b.assign,r+1):this.finishOp(b.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(b.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ve.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(b.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(b.arrow)):this.finishOp(61===e?b.eq:b.prefix,1)},Ve.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(b.questionDot,2)}if(63===t){if(e>=12)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(b.assign,3);return this.finishOp(b.coalesce,2)}}return this.finishOp(b.question,1)},Ve.readToken_numberSign=function(){var e=35;if(this.options.ecmaVersion>=13&&(++this.pos,p(e=this.fullCharCodeAtPos(),!0)||92===e))return this.finishToken(b.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+L(e)+"'")},Ve.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(b.parenL);case 41:return++this.pos,this.finishToken(b.parenR);case 59:return++this.pos,this.finishToken(b.semi);case 44:return++this.pos,this.finishToken(b.comma);case 91:return++this.pos,this.finishToken(b.bracketL);case 93:return++this.pos,this.finishToken(b.bracketR);case 123:return++this.pos,this.finishToken(b.braceL);case 125:return++this.pos,this.finishToken(b.braceR);case 58:return++this.pos,this.finishToken(b.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(b.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(b.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+L(e)+"'")},Ve.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ve.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(x.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,i=this.readWord1();this.containsEsc&&this.unexpected(a);var o=this.regexpState||(this.regexpState=new qe(this));o.reset(r,s,i),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var l=null;try{l=new RegExp(s,i)}catch(e){}return this.finishToken(b.regexp,{pattern:s,flags:i,value:l})},Ve.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,s=r&&48===this.input.charCodeAt(this.pos),a=this.pos,i=0,o=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var u=this.input.charCodeAt(this.pos),p=void 0;if(n&&95===u)s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===o&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),o=u;else{if((p=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;o=u,i=i*e+p}}return n&&95===o&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=t&&this.pos-a!==t?null:i},Ve.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=He(this.input.slice(t,this.pos)),++this.pos):p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,r)},Ve.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===n){var s=He(this.input.slice(t,this.pos));return++this.pos,p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(b.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||(43!==(n=this.input.charCodeAt(++this.pos))&&45!==n||++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),p(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a,i=(a=this.input.slice(t,this.pos),r?parseInt(a,8):parseFloat(a.replace(/_/g,"")));return this.finishToken(b.num,i)},Ve.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ve.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(C(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(b.string,t)};var Ue={};Ve.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Ue)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ve.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ue;this.raise(e,t)},Ve.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==b.template&&this.type!==b.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(b.template,e)):36===r?(this.pos+=2,this.finishToken(b.dollarBraceL)):(++this.pos,this.finishToken(b.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(C(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ve.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(b.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Ve.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return L(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++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 n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),"0"===n&&56!==t&&57!==t||!this.strict&&!e||this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return C(t)?"":String.fromCharCode(t)}},Ve.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ve.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(d(s,n))this.pos+=s<=65535?1:2;else{if(92!==s)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var i=this.readCodePoint();(t?p:d)(i,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=L(i),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},Ve.readWord=function(){var e=this.readWord1(),t=b.name;return this.keywords.test(e)&&(t=v[e]),this.finishToken(t,e)};var ze="8.11.2";H.acorn={Parser:H,version:ze,defaultOptions:D,Position:N,SourceLocation:O,getLineInfo:$,Node:de,TokenType:h,tokTypes:b,keywordTypes:v,TokContext:ne,tokContexts:se,isIdentifierChar:d,isIdentifierStart:p,Token:Fe,isNewLine:C,lineBreak:x,lineBreakG:_,nonASCIIwhitespace:P};var We=Object.freeze({__proto__:null,Node:de,Parser:H,Position:N,SourceLocation:O,TokContext:ne,Token:Fe,TokenType:h,defaultOptions:D,getLineInfo:$,isIdentifierChar:d,isIdentifierStart:p,isNewLine:C,keywordTypes:v,lineBreak:x,lineBreakG:_,nonASCIIwhitespace:P,parse:function(e,t){return H.parse(e,t)},parseExpressionAt:function(e,t,r){return H.parseExpressionAt(e,t,r)},tokContexts:se,tokTypes:b,tokenizer:function(e,t){return H.tokenizer(e,t)},version:ze});const Ge=/\s/,Ke=/\s+/,Xe=/^\r?\n/,Je=/^\s/,Qe=/^[ \t\r\n]*/,Ye=/\s$/,Ze=/[ \t\r\n]*$/,et=/[^ \t\r\n]/,tt=/[ \t\n\r\f]+/g,rt=/^[ \t\n\r\f]+$/,nt=/[^\n]/g,st=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,at=/^[aeiou]/,it=/^h[1-6]$/,ot=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,lt=/^\s*svelte-ignore\s+([\s\S]+)\s*$/m;function ct(e){const t=lt.exec(e);return t?t[1].split(Ge).map((e=>e.trim())).filter(Boolean):[]}function ut(e){return(e.leadingComments||[]).flatMap((e=>ct(e.value)))}function pt(e,t){const r=t.indexOf(e)-1;if(r<0)return[];const n=[];for(let e=r;e>=0;e--){const r=t[e];if("Comment"!==r.type&&"Text"!==r.type)return n;"Comment"===r.type&&r.ignores.length&&n.push(...r.ignores)}return n}function dt(e,t){if(0===t.length)return null;const r=new vt(t).get(e);return r&&r[0][0]>.7?r[0][1]:null}function ht(e,t){if(null===e&&null===t)throw"Trying to compare two null values";if(null===e||null===t)return 0;const r=function(e,t){const r=[];let n=0,s=0;for(let a=0;a<=t.length;a++)for(let i=0;i<=e.length;i++)s=a&&i?e.charAt(i-1)===t.charAt(a-1)?n:Math.min(r[i],r[i-1],n)+1:a+i,n=r[i],r[i]=s;return r.pop()}(e=String(e),t=String(t));return e.length>t.length?1-r/e.length:1-r/t.length}const mt=/[^\w, ]+/;function ft(e,t=2){const r={},n=function(e,t=2){const r="-"+e.toLowerCase().replace(mt,"")+"-",n=t-r.length,s=[];if(n>0)for(let t=0;t<n;++t)e+="-";for(let e=0;e<r.length-t+1;++e)s.push(r.slice(e,e+t));return s}(e,t);let s=0;for(;s<n.length;++s)n[s]in r?r[n[s]]+=1:r[n[s]]=1;return r}function yt(e,t){return t[0]-e[0]}class vt{exact_set={};match_dict={};items={};constructor(e){for(let e=2;e<4;++e)this.items[e]=[];for(let t=0;t<e.length;++t)this.add(e[t])}add(e){if(e.toLowerCase()in this.exact_set)return!1;let t=2;for(;t<4;++t)this._add(e,t)}_add(e,t){const r=e.toLowerCase(),n=this.items[t]||[],s=n.length;n.push(0);const a=ft(r,t);let i,o,l=0;for(i in a)o=a[i],l+=Math.pow(o,2),i in this.match_dict?this.match_dict[i].push([s,o]):this.match_dict[i]=[[s,o]];const c=Math.sqrt(l);n[s]=[c,r],this.items[t]=n,this.exact_set[r]=e}get(e){const t=e.toLowerCase(),r=this.exact_set[t];if(r)return[[1,r]];for(let t=3;t>=2;--t){const r=this.__get(e,t);if(r.length>0)return r}return null}__get(e,t){const r=e.toLowerCase(),n={},s=ft(r,t),a=this.items[t];let i,o,l,c,u,p=0;for(i in s)if(o=s[i],p+=Math.pow(o,2),i in this.match_dict)for(l=0;l<this.match_dict[i].length;++l)c=this.match_dict[i][l][0],u=this.match_dict[i][l][1],c in n?n[c]+=o*u:n[c]=o*u;const d=Math.sqrt(p);let h,m=[];for(const e in n)h=n[e],m.push([h/(d*a[e][0]),a[e][1]]);m.sort(yt);let f=[];const y=Math.min(50,m.length);for(let e=0;e<y;++e)f.push([ht(m[e][1],r),m[e][1]]);m=f,m.sort(yt),f=[];for(let e=0;e<m.length;++e)m[e][0]===m[0][0]&&f.push([m[e][0],this.exact_set[m[e][1]]]);return f}}const gt=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"],bt=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function xt(e){return bt.includes(e)||"!doctype"===e.toLowerCase()}function _t(e,t,r){const n=r._;let s=!1;function a(e,{next:t,state:r}){t(r)}return function e(t,i,o){if(s)return t;if(!t.type)return t;let l;const c={},u={path:i,state:o,next:(r=o)=>{i.push(t);for(const n in t){if("type"===n)continue;const s=t[n];if(s&&"object"==typeof s)if(Array.isArray(s)){const t={};s.forEach(((n,s)=>{if(n&&"object"==typeof n){const a=e(n,i,r);a&&(t[s]=a)}})),Object.keys(t).length>0&&(c[n]=s.map(((e,r)=>t[r]??e)))}else{const t=e(s,i,r);t&&(c[n]=t)}}if(i.pop(),Object.keys(c).length>0)return{...t,...c}},stop:()=>{s=!0},visit:(r,n=o)=>{i.push(t);const s=e(r,i,n)??r;return i.pop(),s}};let p=r[t.type]??a;if(n){let e;l=n(t,{...u,next:(r=o)=>(o=r,e=p(t,{...u,state:r}),e)}),!l&&e&&(l=e)}else l=p(t,u);return l||Object.keys(c).length>0&&(l={...t,...c}),l||void 0}(e,[],t)??e}function Ct(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,"symbol"==typeof(s=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key))?s:String(s),n)}var s}function wt(){return wt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},wt.apply(this,arguments)}function Pt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,kt(e,t)}function kt(e,t){return kt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kt(e,t)}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function St(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Et(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Et(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Tt=!0;function At(e,t){return void 0===t&&(t={}),new h("name",t)}var Rt=new WeakMap;function It(e){var t=Rt.get(e.Parser.acorn||e);if(!t){var r={assert:At(0,{startsExpr:Tt}),asserts:At(0,{startsExpr:Tt}),global:At(0,{startsExpr:Tt}),keyof:At(0,{startsExpr:Tt}),readonly:At(0,{startsExpr:Tt}),unique:At(0,{startsExpr:Tt}),abstract:At(0,{startsExpr:Tt}),declare:At(0,{startsExpr:Tt}),enum:At(0,{startsExpr:Tt}),module:At(0,{startsExpr:Tt}),namespace:At(0,{startsExpr:Tt}),interface:At(0,{startsExpr:Tt}),type:At(0,{startsExpr:Tt})},n={at:new h("@"),jsxName:new h("jsxName"),jsxText:new h("jsxText",{beforeExpr:!0}),jsxTagStart:new h("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new h("jsxTagEnd")},s={tc_oTag:new ne("<tag",!1,!1),tc_cTag:new ne("</tag",!1,!1),tc_expr:new ne("<tag>...</tag>",!0,!0)},a=new RegExp("^(?:"+Object.keys(r).join("|")+")$");n.jsxTagStart.updateContext=function(){this.context.push(s.tc_expr),this.context.push(s.tc_oTag),this.exprAllowed=!1},n.jsxTagEnd.updateContext=function(e){var t=this.context.pop();t===s.tc_oTag&&e===b.slash||t===s.tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===s.tc_expr):this.exprAllowed=!0},t={tokTypes:wt({},r,n),tokContexts:wt({},s),keywordsRegExp:a,tokenIsLiteralPropertyName:function(e){return[b.name,b.string,b.num].concat(Object.values(v),Object.values(r)).includes(e)},tokenIsKeywordOrIdentifier:function(e){return[b.name].concat(Object.values(v),Object.values(r)).includes(e)},tokenIsIdentifier:function(e){return[].concat(Object.values(r),[b.name]).includes(e)},tokenIsTSDeclarationStart:function(e){return[r.abstract,r.declare,r.enum,r.module,r.namespace,r.interface,r.type].includes(e)},tokenIsTSTypeOperator:function(e){return[r.keyof,r.readonly,r.unique].includes(e)},tokenIsTemplate:function(e){return e===b.invalidTemplate}}}return t}var qt=1024,Lt=new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*","y"),Mt=new RegExp("(?=("+Lt.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y"),Nt=function(){this.shorthandAssign=void 0,this.trailingComma=void 0,this.parenthesizedAssign=void 0,this.parenthesizedBind=void 0,this.doubleProto=void 0,this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};function Ot(e,t){var r=t.key.name,n=e[r],s="true";return"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(s=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===s||"iset"===n&&"iget"===s||"sget"===n&&"sset"===s||"sset"===n&&"sget"===s?(e[r]="true",!1):!!n||(e[r]=s,!1)}function $t(e,t){var r=e.key;return!e.computed&&("Identifier"===r.type&&r.name===t||"Literal"===r.type&&r.value===t)}var Dt={AbstractMethodHasImplementation:function(e){return"Method '"+e.methodName+"' cannot have an implementation because it is marked abstract."},AbstractPropertyHasInitializer:function(e){return"Property '"+e.propertyName+"' cannot have an initializer because it is marked abstract."},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",CannotFindName:function(e){return"Cannot find name '"+e.name+"'."},ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:function(e){return"'declare' is not allowed in "+e.kind+"ters."},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:function(){return"Accessibility modifier already seen."},DuplicateModifier:function(e){return"Duplicate modifier: '"+e.modifier+"'."},EmptyHeritageClauseType:function(e){return"'"+e.token+"' list cannot be empty."},EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:function(e){var t=e.modifiers;return"'"+t[0]+"' modifier cannot be used with '"+t[1]+"' modifier."},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:function(e){return"Index signatures cannot have an accessibility modifier ('"+e.modifier+"')."},IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:function(e){return"'"+e.modifier+"' modifier cannot appear on a type member."},InvalidModifierOnTypeParameter:function(e){return"'"+e.modifier+"' modifier cannot appear on a type parameter."},InvalidModifierOnTypeParameterPositions:function(e){return"'"+e.modifier+"' modifier can only appear on a type parameter of a class, interface or type alias."},InvalidModifiersOrder:function(e){var t=e.orderedModifiers;return"'"+t[0]+"' modifier must precede '"+t[1]+"' modifier."},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:function(e){return"Private elements cannot have an accessibility modifier ('"+e.modifier+"')."},PrivateMethodsHasAccessibility:function(e){return"Private methods cannot have an accessibility modifier ('"+e.modifier+"')."},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(e){var t=e.typeParameterName;return"Single type parameter "+t+" should have a trailing comma. Example usage: <"+t+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",GenericsEndWithComma:"Trailing comma is not allowed at the end of generics.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:function(e){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+e.type+"."},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},jt={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Bt=/^[\da-fA-F]+$/,Ft=/^\d+$/;function Vt(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?Vt(e.object)+"."+Vt(e.property):void 0:e}var Ht=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function Ut(e){if(!e)throw new Error("Assert fail")}function zt(e){return"accessor"===e}function Wt(e){return"in"===e||"out"===e}function Gt(e,t){return 2|(e?4:0)|(t?8:0)}function Kt(e){if("MemberExpression"!==e.type)return!1;var t=e.property;return(!e.computed||!("TemplateLiteral"!==t.type||t.expressions.length>0))&&Xt(e.object)}function Xt(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&Xt(e.object)}function Jt(e){return"private"===e||"public"===e||"protected"===e}const Qt=H.extend(function(e){var t=(e||{}).dts,r=void 0!==t&&t;return function(t){var n=t.acorn||We,s=It(n),a=n.tokTypes,i=n.keywordTypes,o=n.isIdentifierStart,l=n.lineBreak,c=n.isNewLine,u=n.tokContexts,p=n.isIdentifierChar,d=s.tokTypes,h=s.tokContexts,m=s.keywordsRegExp,f=s.tokenIsLiteralPropertyName,y=s.tokenIsTemplate,v=s.tokenIsTSDeclarationStart,g=s.tokenIsIdentifier,b=s.tokenIsKeywordOrIdentifier,x=s.tokenIsTSTypeOperator;function _(e,t,r){void 0===r&&(r=e.length);for(var n=t;n<r;n++){var s=e.charCodeAt(n);if(c(s))return n<r-1&&13===s&&10===e.charCodeAt(n+1)?n+2:n+1}return-1}t=function(e,t,r){var n=r.tokTypes,s=t.tokTypes;return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.takeDecorators=function(e){var t=this.decoratorStack[this.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.decoratorStack[this.decoratorStack.length-1]=[])},r.parseDecorators=function(e){for(var t=this.decoratorStack[this.decoratorStack.length-1];this.match(s.at);){var r=this.parseDecorator();t.push(r)}this.match(n._export)?e||this.unexpected():this.canHaveLeadingDecorator()||this.raise(this.start,"Leading decorators must be attached to a class declaration.")},r.parseDecorator=function(){var e=this.startNode();this.next(),this.decoratorStack.push([]);var t,r=this.start,s=this.startLoc;if(this.match(n.parenL)){var a=this.start,i=this.startLoc;if(this.next(),t=this.parseExpression(),this.expect(n.parenR),this.options.preserveParens){var o=this.startNodeAt(a,i);o.expression=t,t=this.finishNode(o,"ParenthesizedExpression")}}else for(t=this.parseIdent(!1);this.eat(n.dot);){var l=this.startNodeAt(r,s);l.object=t,l.property=this.parseIdent(!0),l.computed=!1,t=this.finishNode(l,"MemberExpression")}return e.expression=this.parseMaybeDecoratorArguments(t),this.decoratorStack.pop(),this.finishNode(e,"Decorator")},r.parseMaybeDecoratorArguments=function(e){if(this.eat(n.parenL)){var t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseExprList(n.parenR,!1),this.finishNode(t,"CallExpression")}return e},t}(e)}(t,s,n),t=function(e,t,r,n){var s=e.tokTypes,a=t.tokTypes,i=e.isNewLine,o=e.isIdentifierChar,l=Object.assign({allowNamespaces:!0,allowNamespacedObjects:!0},n||{});return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.jsx_readToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var r=this.input.charCodeAt(this.pos);switch(r){case 60:case 123:return this.pos===this.start?60===r&&this.exprAllowed?(++this.pos,this.finishToken(a.jsxTagStart)):this.getTokenFromCode(r):(e+=this.input.slice(t,this.pos),this.finishToken(a.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===r?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:i(r)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}},r.jsx_readNewLine=function(e){var t,r=this.input.charCodeAt(this.pos);return++this.pos,13===r&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t},r.jsx_readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.pos),t+=this.jsx_readEntity(),r=this.pos):i(n)?(t+=this.input.slice(r,this.pos),t+=this.jsx_readNewLine(!1),r=this.pos):++this.pos}return t+=this.input.slice(r,this.pos++),this.finishToken(s.string,t)},r.jsx_readEntity=function(){var e,t="",r=0,n=this.input[this.pos];"&"!==n&&this.raise(this.pos,"Entity must start with an ampersand");for(var s=++this.pos;this.pos<this.input.length&&r++<10;){if(";"===(n=this.input[this.pos++])){"#"===t[0]?"x"===t[1]?(t=t.substr(2),Bt.test(t)&&(e=String.fromCharCode(parseInt(t,16)))):(t=t.substr(1),Ft.test(t)&&(e=String.fromCharCode(parseInt(t,10)))):e=jt[t];break}t+=n}return e||(this.pos=s,"&")},r.jsx_readWord=function(){var e,t=this.pos;do{e=this.input.charCodeAt(++this.pos)}while(o(e)||45===e);return this.finishToken(a.jsxName,this.input.slice(t,this.pos))},r.jsx_parseIdentifier=function(){var e=this.startNode();return this.type===a.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")},r.jsx_parseNamespacedName=function(){var e=this.start,t=this.startLoc,r=this.jsx_parseIdentifier();if(!l.allowNamespaces||!this.eat(s.colon))return r;var n=this.startNodeAt(e,t);return n.namespace=r,n.name=this.jsx_parseIdentifier(),this.finishNode(n,"JSXNamespacedName")},r.jsx_parseElementName=function(){if(this.type===a.jsxTagEnd)return"";var e=this.start,t=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type!==s.dot||"JSXNamespacedName"!==r.type||l.allowNamespacedObjects||this.unexpected();this.eat(s.dot);){var n=this.startNodeAt(e,t);n.object=r,n.property=this.jsx_parseIdentifier(),r=this.finishNode(n,"JSXMemberExpression")}return r},r.jsx_parseAttributeValue=function(){switch(this.type){case s.braceL:var e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case a.jsxTagStart:case s.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}},r.jsx_parseEmptyExpression=function(){var e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)},r.jsx_parseExpressionContainer=function(){var e=this.startNode();return this.next(),e.expression=this.type===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(e,"JSXExpressionContainer")},r.jsx_parseAttribute=function(){var e=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))},r.jsx_parseOpeningElementAt=function(e,t){var r=this.startNodeAt(e,t);r.attributes=[];var n=this.jsx_parseElementName();for(n&&(r.name=n);this.type!==s.slash&&this.type!==a.jsxTagEnd;)r.attributes.push(this.jsx_parseAttribute());return r.selfClosing=this.eat(s.slash),this.expect(a.jsxTagEnd),this.finishNode(r,n?"JSXOpeningElement":"JSXOpeningFragment")},r.jsx_parseClosingElementAt=function(e,t){var r=this.startNodeAt(e,t),n=this.jsx_parseElementName();return n&&(r.name=n),this.expect(a.jsxTagEnd),this.finishNode(r,n?"JSXClosingElement":"JSXClosingFragment")},r.jsx_parseElementAt=function(e,t){var r=this.startNodeAt(e,t),n=[],i=this.jsx_parseOpeningElementAt(e,t),o=null;if(!i.selfClosing){e:for(;;)switch(this.type){case a.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(s.slash)){o=this.jsx_parseClosingElementAt(e,t);break e}n.push(this.jsx_parseElementAt(e,t));break;case a.jsxText:n.push(this.parseExprAtom());break;case s.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Vt(o.name)!==Vt(i.name)&&this.raise(o.start,"Expected corresponding JSX closing tag for <"+Vt(i.name)+">")}var l=i.name?"Element":"Fragment";return r["opening"+l]=i,r["closing"+l]=o,r.children=n,this.type===s.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSX"+l)},r.jsx_parseText=function(){var e=this.parseLiteral(this.value);return e.type="JSXText",e},r.jsx_parseElement=function(){var e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)},t}(r)}(n,s,t,null==e?void 0:e.jsx),t=function(e,t,r){var n=t.tokTypes,s=r.tokTypes;return function(e){function t(){return e.apply(this,arguments)||this}Pt(t,e);var r=t.prototype;return r.parseMaybeImportAttributes=function(e){if(this.type===s._with||this.type===n.assert){this.next();var t=this.parseImportAttributes();t&&(e.attributes=t)}},r.parseImportAttributes=function(){this.expect(s.braceL);var e=this.parseWithEntries();return this.expect(s.braceR),e},r.parseWithEntries=function(){var e=[],t=new Set;do{if(this.type===s.braceR)break;var r,n=this.startNode();r=this.type===s.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),n.key=r,t.has(n.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),t.add(n.key.name),this.type!==s.string&&this.raise(this.pos,"Only string is supported as an attribute value"),n.value=this.parseLiteral(this.value),e.push(this.finishNode(n,"ImportAttribute"))}while(this.eat(s.comma));return e},t}(e)}(t,s,n);var C=function(e){function t(t,r,n){var s;return(s=e.call(this,t,r,n)||this).preValue=null,s.preToken=null,s.isLookahead=!1,s.isAmbientContext=!1,s.inAbstractClass=!1,s.inType=!1,s.inDisallowConditionalTypesContext=!1,s.maybeInArrowParameters=!1,s.shouldParseArrowReturnType=void 0,s.shouldParseAsyncArrowReturnType=void 0,s.decoratorStack=[[]],s.importOrExportOuterKind=void 0,s.tsParseConstModifier=s.tsParseModifiers.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(s),{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Dt.InvalidModifierOnTypeParameterPositions}),s}Pt(t,e);var C,w,P,k=t.prototype;return k.getTokenFromCodeInType=function(t){return 62===t||60===t?this.finishOp(a.relational,1):e.prototype.getTokenFromCode.call(this,t)},k.readToken=function(t){if(!this.inType){var r=this.curContext();if(r===h.tc_expr)return this.jsx_readToken();if(r===h.tc_oTag||r===h.tc_cTag){if(o(t))return this.jsx_readWord();if(62==t)return++this.pos,this.finishToken(d.jsxTagEnd);if((34===t||39===t)&&r==h.tc_oTag)return this.jsx_readString(t)}if(60===t&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1))return++this.pos,this.finishToken(d.jsxTagStart)}return e.prototype.readToken.call(this,t)},k.getTokenFromCode=function(t){return this.inType?this.getTokenFromCodeInType(t):64===t?(++this.pos,this.finishToken(d.at)):e.prototype.getTokenFromCode.call(this,t)},k.isAbstractClass=function(){return this.ts_isContextual(d.abstract)&&this.lookahead().type===a._class},k.finishNode=function(t,r){return""!==t.type&&0!==t.end?t:e.prototype.finishNode.call(this,t,r)},k.tryParse=function(e,t){void 0===t&&(t=this.cloneCurLookaheadState());var r={node:null};try{return{node:e((function(e){throw void 0===e&&(e=null),r.node=e,r})),error:null,thrown:!1,aborted:!1,failState:null}}catch(e){var n=this.getCurLookaheadState();if(this.setLookaheadState(t),e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:n};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:n};throw e}},k.setOptionalParametersError=function(e,t){var r;e.optionalParametersLoc=null!=(r=null==t?void 0:t.loc)?r:this.startLoc},k.reScan_lt_gt=function(){this.type===a.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))},k.reScan_lt=function(){var e=this.type;return e===a.bitShift?(this.pos-=2,this.finishOp(a.relational,1),a.relational):e},k.resetEndLocation=function(e,t){void 0===t&&(t=this.lastTokEndLoc),e.end=t.column,e.loc.end=t,this.options.ranges&&(e.range[1]=t.column)},k.startNodeAtNode=function(t){return e.prototype.startNodeAt.call(this,t.start,t.loc.start)},k.nextTokenStart=function(){return this.nextTokenStartSince(this.pos)},k.tsHasSomeModifiers=function(e,t){return t.some((function(t){return Jt(t)?e.accessibility===t:!!e[t]}))},k.tsIsStartOfStaticBlocks=function(){return this.isContextual("static")&&123===this.lookaheadCharCode()},k.tsCheckForInvalidTypeCasts=function(e){var t=this;e.forEach((function(e){"TSTypeCastExpression"===(null==e?void 0:e.type)&&t.raise(e.typeAnnotation.start,Dt.UnexpectedTypeAnnotation)}))},k.atPossibleAsyncArrow=function(e){return"Identifier"===e.type&&"async"===e.name&&this.lastTokEndLoc.column===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.potentialArrowAt},k.tsIsIdentifier=function(){return g(this.type)},k.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(a.colon)?this.tsParseTypeOrTypePredicateAnnotation(a.colon):void 0},k.tsTryParseGenericAsyncArrowFunction=function(t,r,n){var s=this;if(this.tsMatchLeftRelational()){var i=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var o=this.tsTryParseAndCatch((function(){var n=s.startNodeAt(t,r);return n.typeParameters=s.tsParseTypeParameters(),e.prototype.parseFunctionParams.call(s,n),n.returnType=s.tsTryParseTypeOrTypePredicateAnnotation(),s.expect(a.arrow),n}));if(this.maybeInArrowParameters=i,o)return e.prototype.parseArrowExpression.call(this,o,null,!0,n)}},k.tsParseTypeArgumentsInExpression=function(){if(this.reScan_lt()===a.relational)return this.tsParseTypeArguments()},k.tsInNoContext=function(e){var t=this.context;this.context=[t[0]];try{return e()}finally{this.context=t}},k.tsTryParseTypeAnnotation=function(){return this.match(a.colon)?this.tsParseTypeAnnotation():void 0},k.isUnparsedContextual=function(e,t){var r=e+t.length;if(this.input.slice(e,r)===t){var n=this.input.charCodeAt(r);return!(p(n)||55296==(64512&n))}return!1},k.isAbstractConstructorSignature=function(){return this.ts_isContextual(d.abstract)&&this.lookahead().type===a._new},k.nextTokenStartSince=function(e){return Ht.lastIndex=e,Ht.test(this.input)?Ht.lastIndex:e},k.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},k.compareLookaheadState=function(e,t){for(var r=0,n=Object.keys(e);r<n.length;r++){var s=n[r];if(e[s]!==t[s])return!1}return!0},k.createLookaheadState=function(){this.value=null,this.context=[this.curContext()]},k.getCurLookaheadState=function(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},k.cloneCurLookaheadState=function(){return{pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context&&this.context.slice(),startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},k.setLookaheadState=function(e){this.pos=e.pos,this.value=e.value,this.endLoc=e.endLoc,this.lastTokEnd=e.lastTokEnd,this.lastTokStart=e.lastTokStart,this.lastTokStartLoc=e.lastTokStartLoc,this.type=e.type,this.start=e.start,this.end=e.end,this.context=e.context,this.startLoc=e.startLoc,this.lastTokEndLoc=e.lastTokEndLoc,this.curLine=e.curLine,this.lineStart=e.lineStart,this.curPosition=e.curPosition,this.containsEsc=e.containsEsc},k.tsLookAhead=function(e){var t=this.getCurLookaheadState(),r=e();return this.setLookaheadState(t),r},k.lookahead=function(e){var t=this.getCurLookaheadState();if(this.createLookaheadState(),this.isLookahead=!0,void 0!==e)for(var r=0;r<e;r++)this.nextToken();else this.nextToken();this.isLookahead=!1;var n=this.getCurLookaheadState();return this.setLookaheadState(t),n},k.readWord=function(){var e=this.readWord1(),t=a.name;return this.keywords.test(e)?t=i[e]:new RegExp(m).test(e)&&(t=d[e]),this.finishToken(t,e)},k.skipBlockComment=function(){var e;this.isLookahead||(e=this.options.onComment&&this.curPosition());var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n,s=t;(n=_(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=n;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},k.skipLineComment=function(e){var t,r=this.pos;this.isLookahead||(t=this.options.onComment&&this.curPosition());for(var n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!c(n);)n=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(r+e,this.pos),r,this.pos,t,this.curPosition())},k.finishToken=function(e,t){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.isLookahead||this.updateContext(r)},k.resetStartLocation=function(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)},k.isLineTerminator=function(){return this.eat(a.semi)||e.prototype.canInsertSemicolon.call(this)},k.hasFollowingLineBreak=function(){return Mt.lastIndex=this.end,Mt.test(this.input)},k.addExtra=function(e,t,r,n){if(void 0===n&&(n=!0),e){var s=e.extra=e.extra||{};n?s[t]=r:Object.defineProperty(s,t,{enumerable:n,value:r})}},k.isLiteralPropertyName=function(){return f(this.type)},k.hasPrecedingLineBreak=function(){return l.test(this.input.slice(this.lastTokEndLoc.index,this.start))},k.createIdentifier=function(e,t){return e.name=t,this.finishNode(e,"Identifier")},k.resetStartLocationFromNode=function(e,t){this.resetStartLocation(e,t.start,t.loc.start)},k.isThisParam=function(e){return"Identifier"===e.type&&"this"===e.name},k.isLookaheadContextual=function(e){var t=this.nextTokenStart();return this.isUnparsedContextual(t,e)},k.ts_type_isContextual=function(e,t){return e===t&&!this.containsEsc},k.ts_isContextual=function(e){return this.type===e&&!this.containsEsc},k.ts_isContextualWithState=function(e,t){return e.type===t&&!e.containsEsc},k.isContextualWithState=function(e,t){return t.type===a.name&&t.value===e&&!t.containsEsc},k.tsIsStartOfMappedType=function(){return this.next(),this.eat(a.plusMin)?this.ts_isContextual(d.readonly):(this.ts_isContextual(d.readonly)&&this.next(),!!this.match(a.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(a._in))))},k.tsInDisallowConditionalTypesContext=function(e){var t=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.inDisallowConditionalTypesContext=t}},k.tsTryParseType=function(){return this.tsEatThenParseType(a.colon)},k.match=function(e){return this.type===e},k.matchJsx=function(e){return this.type===s.tokTypes[e]},k.ts_eatWithState=function(e,t,r){if(e===r.type){for(var n=0;n<t;n++)this.next();return!0}return!1},k.ts_eatContextualWithState=function(e,t,r){if(m.test(e)){if(this.ts_isContextualWithState(r,d[e])){for(var n=0;n<t;n++)this.next();return!0}return!1}if(!this.isContextualWithState(e,r))return!1;for(var s=0;s<t;s++)this.next();return!0},k.canHaveLeadingDecorator=function(){return this.match(a._class)},k.eatContextual=function(t){return m.test(t)?!!this.ts_isContextual(d[t])&&(this.next(),!0):e.prototype.eatContextual.call(this,t)},k.tsIsExternalModuleReference=function(){return this.isContextual("require")&&40===this.lookaheadCharCode()},k.tsParseExternalModuleReference=function(){var e=this.startNode();return this.expectContextual("require"),this.expect(a.parenL),this.match(a.string)||this.unexpected(),e.expression=this.parseExprAtom(),this.expect(a.parenR),this.finishNode(e,"TSExternalModuleReference")},k.tsParseEntityName=function(e){void 0===e&&(e=!0);for(var t=this.parseIdent(e);this.eat(a.dot);){var r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdent(e),t=this.finishNode(r,"TSQualifiedName")}return t},k.tsParseEnumMember=function(){var e=this.startNode();return e.id=this.match(a.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(a.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")},k.tsParseEnumDeclaration=function(e,t){return void 0===t&&(t={}),t.const&&(e.const=!0),t.declare&&(e.declare=!0),this.expectContextual("enum"),e.id=this.parseIdent(),this.checkLValSimple(e.id),this.expect(a.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(a.braceR),this.finishNode(e,"TSEnumDeclaration")},k.tsParseModuleBlock=function(){var t=this.startNode();for(e.prototype.enterScope.call(this,512),this.expect(a.braceL),t.body=[];this.type!==a.braceR;){var r=this.parseStatement(null,!0);t.body.push(r)}return this.next(),e.prototype.exitScope.call(this),this.finishNode(t,"TSModuleBlock")},k.tsParseAmbientExternalModuleDeclaration=function(t){return this.ts_isContextual(d.global)?(t.global=!0,t.id=this.parseIdent()):this.match(a.string)?t.id=this.parseLiteral(this.value):this.unexpected(),this.match(a.braceL)?(e.prototype.enterScope.call(this,qt),t.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this)):e.prototype.semicolon.call(this),this.finishNode(t,"TSModuleDeclaration")},k.tsTryParseDeclare=function(e){var t=this;if(!this.isLineTerminator()){var r,n=this.type;return this.isContextual("let")&&(n=a._var,r="let"),this.tsInAmbientContext((function(){if(n===a._function)return e.declare=!0,t.parseFunctionStatement(e,!1,!0);if(n===a._class)return e.declare=!0,t.parseClass(e,!0);if(n===d.enum)return t.tsParseEnumDeclaration(e,{declare:!0});if(n===d.global)return t.tsParseAmbientExternalModuleDeclaration(e);if(n===a._const||n===a._var)return t.match(a._const)&&t.isLookaheadContextual("enum")?(t.expect(a._const),t.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,t.parseVarStatement(e,r||t.value,!0));if(n===d.interface){var s=t.tsParseInterfaceDeclaration(e,{declare:!0});if(s)return s}return g(n)?t.tsParseDeclaration(e,t.value,!0):void 0}))}},k.tsIsListTerminator=function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(a.braceR);case"HeritageClauseElement":return this.match(a.braceL);case"TupleElementTypes":return this.match(a.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}},k.tsParseDelimitedListWorker=function(e,t,r,n){for(var s=[],i=-1;!this.tsIsListTerminator(e);){i=-1;var o=t();if(null==o)return;if(s.push(o),!this.eat(a.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(a.comma))}i=this.lastTokStart}return n&&(n.value=i),s},k.tsParseDelimitedList=function(e,t,r){return function(e){if(null==e)throw new Error("Unexpected "+e+" value.");return e}(this.tsParseDelimitedListWorker(e,t,!0,r))},k.tsParseBracketedList=function(e,t,r,n,s){n||this.expect(r?a.bracketL:a.relational);var i=this.tsParseDelimitedList(e,t,s);return this.expect(r?a.bracketR:a.relational),i},k.tsParseTypeParameterName=function(){return this.parseIdent().name},k.tsEatThenParseType=function(e){return this.match(e)?this.tsNextThenParseType():void 0},k.tsExpectThenParseType=function(e){var t=this;return this.tsDoThenParseType((function(){return t.expect(e)}))},k.tsNextThenParseType=function(){var e=this;return this.tsDoThenParseType((function(){return e.next()}))},k.tsDoThenParseType=function(e){var t=this;return this.tsInType((function(){return e(),t.tsParseType()}))},k.tsSkipParameterStart=function(){if(g(this.type)||this.match(a._this))return this.next(),!0;if(this.match(a.braceL))try{return this.parseObj(!0),!0}catch(e){return!1}if(this.match(a.bracketL)){this.next();try{return this.parseBindingList(a.bracketR,!0,!0),!0}catch(e){return!1}}return!1},k.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(a.parenR)||this.match(a.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(a.colon)||this.match(a.comma)||this.match(a.question)||this.match(a.eq))return!0;if(this.match(a.parenR)&&(this.next(),this.match(a.arrow)))return!0}return!1},k.tsIsStartOfFunctionType=function(){return!!this.tsMatchLeftRelational()||this.match(a.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},k.tsInAllowConditionalTypesContext=function(e){var t=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.inDisallowConditionalTypesContext=t}},k.tsParseBindingListForSignature=function(){var t=this;return e.prototype.parseBindingList.call(this,a.parenR,!0,!0).map((function(e){return"Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&t.raise(e.start,Dt.UnsupportedSignatureParameterKind(e.type)),e}))},k.tsParseTypePredicateAsserts=function(){if(this.type!==d.asserts)return!1;var e=this.containsEsc;return this.next(),!(!g(this.type)&&!this.match(a._this)||(e&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),0))},k.tsParseThisTypeNode=function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")},k.tsParseTypeAnnotation=function(e,t){var r=this;return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),this.tsInType((function(){e&&r.expect(a.colon),t.typeAnnotation=r.tsParseType()})),this.finishNode(t,"TSTypeAnnotation")},k.tsParseThisTypePredicate=function(e){this.next();var t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")},k.tsParseThisTypeOrThisTypePredicate=function(){var e=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e},k.tsParseTypePredicatePrefix=function(){var e=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e},k.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this;return this.tsInType((function(){var r=t.startNode();t.expect(e);var n=t.startNode(),s=!!t.tsTryParse(t.tsParseTypePredicateAsserts.bind(t));if(s&&t.match(a._this)){var i=t.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===i.type?(n.parameterName=i,n.asserts=!0,n.typeAnnotation=null,i=t.finishNode(n,"TSTypePredicate")):(t.resetStartLocationFromNode(i,n),i.asserts=!0),r.typeAnnotation=i,t.finishNode(r,"TSTypeAnnotation")}var o=t.tsIsIdentifier()&&t.tsTryParse(t.tsParseTypePredicatePrefix.bind(t));if(!o)return s?(n.parameterName=t.parseIdent(),n.asserts=s,n.typeAnnotation=null,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")):t.tsParseTypeAnnotation(!1,r);var l=t.tsParseTypeAnnotation(!1);return n.parameterName=o,n.typeAnnotation=l,n.asserts=s,r.typeAnnotation=t.finishNode(n,"TSTypePredicate"),t.finishNode(r,"TSTypeAnnotation")}))},k.tsFillSignature=function(e,t){var r=e===a.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(a.parenL),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))},k.tsTryNextParseConstantContext=function(){if(this.lookahead().type!==a._const)return null;this.next();var e=this.tsParseTypeReference();return e.typeParameters&&this.raise(e.typeName.start,Dt.CannotFindName({name:"const"})),e},k.tsParseFunctionOrConstructorType=function(e,t){var r=this,n=this.startNode();return"TSConstructorType"===e&&(n.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((function(){return r.tsFillSignature(a.arrow,n)})),this.finishNode(n,e)},k.tsParseUnionOrIntersectionType=function(e,t,r){var n=this.startNode(),s=this.eat(r),a=[];do{a.push(t())}while(this.eat(r));return 1!==a.length||s?(n.types=a,this.finishNode(n,e)):a[0]},k.tsCheckTypeAnnotationForReadOnly=function(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Dt.UnexpectedReadonly)}},k.tsParseTypeOperator=function(){var e=this.startNode(),t=this.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")},k.tsParseConstraintForInferType=function(){var e=this;if(this.eat(a._extends)){var t=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseType()}));if(this.inDisallowConditionalTypesContext||!this.match(a.question))return t}},k.tsParseInferType=function(){var e=this,t=this.startNode();this.expectContextual("infer");var r=this.startNode();return r.name=this.tsParseTypeParameterName(),r.constraint=this.tsTryParse((function(){return e.tsParseConstraintForInferType()})),t.typeParameter=this.finishNode(r,"TSTypeParameter"),this.finishNode(t,"TSInferType")},k.tsParseLiteralTypeNode=function(){var e=this,t=this.startNode();return t.literal=function(){switch(e.type){case a.num:case a.string:case a._true:case a._false:return e.parseExprAtom();default:e.unexpected()}}(),this.finishNode(t,"TSLiteralType")},k.tsParseImportType=function(){var e=this.startNode();return this.expect(a._import),this.expect(a.parenL),this.match(a.string)||this.raise(this.start,Dt.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(a.parenR),this.eat(a.dot)&&(e.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")},k.tsParseTypeQuery=function(){var e=this.startNode();return this.expect(a._typeof),e.exprName=this.match(a._import)?this.tsParseImportType():this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")},k.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(a._in),this.finishNode(e,"TSTypeParameter")},k.tsParseMappedType=function(){var e=this.startNode();return this.expect(a.braceL),this.match(a.plusMin)?(e.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(e.readonly=!0),this.expect(a.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(a.bracketR),this.match(a.plusMin)?(e.optional=this.value,this.next(),this.expect(a.question)):this.eat(a.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(a.braceR),this.finishNode(e,"TSMappedType")},k.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},k.tsParseTupleElementType=function(){var e=this.startLoc,t=this.start,r=this.eat(a.ellipsis),n=this.tsParseType(),s=this.eat(a.question);if(this.eat(a.colon)){var i=this.startNodeAtNode(n);i.optional=s,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(n.start,Dt.InvalidTupleMemberLabel),i.label=n):i.label=n.typeName,i.elementType=this.tsParseType(),n=this.finishNode(i,"TSNamedTupleMember")}else if(s){var o=this.startNodeAtNode(n);o.typeAnnotation=n,n=this.finishNode(o,"TSOptionalType")}if(r){var l=this.startNodeAt(t,e);l.typeAnnotation=n,n=this.finishNode(l,"TSRestType")}return n},k.tsParseTupleType=function(){var e=this,t=this.startNode();t.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var r=!1,n=null;return t.elementTypes.forEach((function(t){var s=t.type;!r||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&t.optional||e.raise(t.start,Dt.OptionalTypeBeforeRequired),r||(r="TSNamedTupleMember"===s&&t.optional||"TSOptionalType"===s);var a=s;"TSRestType"===s&&(a=(t=t.typeAnnotation).type);var i="TSNamedTupleMember"===a;null!=n||(n=i),n!==i&&e.raise(t.start,Dt.MixedLabeledAndUnlabeledElements)})),this.finishNode(t,"TSTupleType")},k.tsParseTemplateLiteralType=function(){var e=this.startNode();return e.literal=this.parseTemplate({isTagged:!1}),this.finishNode(e,"TSLiteralType")},k.tsParseTypeReference=function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")},k.tsMatchLeftRelational=function(){return this.match(a.relational)&&"<"===this.value},k.tsMatchRightRelational=function(){return this.match(a.relational)&&">"===this.value},k.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(a.parenL),e.typeAnnotation=this.tsParseType(),this.expect(a.parenR),this.finishNode(e,"TSParenthesizedType")},k.tsParseNonArrayType=function(){switch(this.type){case a.string:case a.num:case a._true:case a._false:return this.tsParseLiteralTypeNode();case a.plusMin:if("-"===this.value){var e=this.startNode();return this.lookahead().type!==a.num&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case a._this:return this.tsParseThisTypeOrThisTypePredicate();case a._typeof:return this.tsParseTypeQuery();case a._import:return this.tsParseImportType();case a.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case a.bracketL:return this.tsParseTupleType();case a.parenL:return this.tsParseParenthesizedType();case a.backQuote:case a.dollarBraceL:return this.tsParseTemplateLiteralType();default:var t=this.type;if(g(t)||t===a._void||t===a._null){var r=t===a._void?"TSVoidKeyword":t===a._null?"TSNullKeyword":function(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}(this.value);if(void 0!==r&&46!==this.lookaheadCharCode()){var n=this.startNode();return this.next(),this.finishNode(n,r)}return this.tsParseTypeReference()}}this.unexpected()},k.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(a.bracketL);)if(this.match(a.bracketR)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(a.bracketR),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(a.bracketR),e=this.finishNode(r,"TSIndexedAccessType")}return e},k.tsParseTypeOperatorOrHigher=function(){var e=this;return x(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext((function(){return e.tsParseArrayTypeOrHigher()}))},k.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),a.bitwiseAND)},k.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),a.bitwiseOR)},k.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(a._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},k.tsParseType=function(){var e=this;Ut(this.inType);var t=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(a._extends))return t;var r=this.startNodeAtNode(t);return r.checkType=t,r.extendsType=this.tsInDisallowConditionalTypesContext((function(){return e.tsParseNonConditionalType()})),this.expect(a.question),r.trueType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.expect(a.colon),r.falseType=this.tsInAllowConditionalTypesContext((function(){return e.tsParseType()})),this.finishNode(r,"TSConditionalType")},k.tsIsUnambiguouslyIndexSignature=function(){return this.next(),!!g(this.type)&&(this.next(),this.match(a.colon))},k.tsInType=function(e){var t=this.inType;this.inType=!0;try{return e()}finally{this.inType=t}},k.tsTryParseIndexSignature=function(e){if(this.match(a.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(a.bracketL);var t=this.parseIdent();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(a.bracketR),e.parameters=[t];var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}},k.tsParseNoneModifiers=function(e){this.tsParseModifiers({modified:e,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:Dt.InvalidModifierOnTypeParameterPositions})},k.tsParseTypeParameter=function(e){void 0===e&&(e=this.tsParseNoneModifiers.bind(this));var t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(a._extends),t.default=this.tsEatThenParseType(a.eq),this.finishNode(t,"TSTypeParameter")},k.tsParseTypeParameters=function(e){var t=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();var r={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),0===t.params.length&&this.raise(this.start,Dt.EmptyTypeParameters),-1!==r.value&&this.addExtra(t,"trailingComma",r.value),this.finishNode(t,"TSTypeParameterDeclaration")},k.tsTryParseTypeParameters=function(e){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(e)},k.tsTryParse=function(e){var t=this.getCurLookaheadState(),r=e();return void 0!==r&&!1!==r?r:void this.setLookaheadState(t)},k.tsTokenCanFollowModifier=function(){return(this.match(a.bracketL)||this.match(a.braceL)||this.match(a.star)||this.match(a.ellipsis)||this.match(a.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()},k.tsNextTokenCanFollowModifier=function(){return this.next(!0),this.tsTokenCanFollowModifier()},k.tsParseModifier=function(e,t){if(g(this.type)||this.type===a._in){var r=this.value;if(-1!==e.indexOf(r)&&!this.containsEsc){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}},k.tsParseModifiersByMap=function(e){for(var t=e.modified,r=e.map,n=0,s=Object.keys(r);n<s.length;n++){var a=s[n];t[a]=r[a]}},k.tsParseModifiers=function(e){for(var t=this,r=e.modified,n=e.allowedModifiers,s=e.disallowedModifiers,a=e.stopOnStartOfClassStaticBlock,i=e.errorTemplate,o=void 0===i?Dt.InvalidModifierOnTypeMember:i,l={},c=function(e,n,s,a){n===s&&r[a]&&t.raise(e.column,Dt.InvalidModifiersOrder({orderedModifiers:[s,a]}))},u=function(e,n,s,a){(r[s]&&n===a||r[a]&&n===s)&&t.raise(e.column,Dt.IncompatibleModifiers({modifiers:[s,a]}))};;){var p=this.startLoc,d=this.tsParseModifier(n.concat(null!=s?s:[]),a);if(!d)break;Jt(d)?r.accessibility?this.raise(this.start,Dt.DuplicateAccessibilityModifier()):(c(p,d,d,"override"),c(p,d,d,"static"),c(p,d,d,"readonly"),c(p,d,d,"accessor"),l.accessibility=d,r.accessibility=d):Wt(d)?r[d]?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(c(p,d,"in","out"),l[d]=d,r[d]=!0):zt(d)?r[d]?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(u(p,d,"accessor","readonly"),u(p,d,"accessor","static"),u(p,d,"accessor","override"),l[d]=d,r[d]=!0):Object.hasOwnProperty.call(r,d)?this.raise(this.start,Dt.DuplicateModifier({modifier:d})):(c(p,d,"static","readonly"),c(p,d,"static","override"),c(p,d,"override","readonly"),c(p,d,"abstract","override"),u(p,d,"declare","override"),u(p,d,"static","abstract"),l[d]=d,r[d]=!0),null!=s&&s.includes(d)&&this.raise(this.start,o)}return l},k.tsParseInOutModifiers=function(e){this.tsParseModifiers({modified:e,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Dt.InvalidModifierOnTypeParameter})},k.tsParseTypeArguments=function(){var e=this,t=this.startNode();return t.params=this.tsInType((function(){return e.tsInNoContext((function(){return e.expect(a.relational),e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e))}))})),0===t.params.length&&this.raise(this.start,Dt.EmptyTypeArguments),this.exprAllowed=!1,this.expect(a.relational),this.finishNode(t,"TSTypeParameterInstantiation")},k.tsParseHeritageClause=function(e){var t=this,r=this.start,n=this.tsParseDelimitedList("HeritageClauseElement",(function(){var e=t.startNode();return e.expression=t.tsParseEntityName(),t.tsMatchLeftRelational()&&(e.typeParameters=t.tsParseTypeArguments()),t.finishNode(e,"TSExpressionWithTypeArguments")}));return n.length||this.raise(r,Dt.EmptyHeritageClauseType({token:e})),n},k.tsParseTypeMemberSemicolon=function(){this.eat(a.comma)||this.isLineTerminator()||this.expect(a.semi)},k.tsTryParseAndCatch=function(e){var t=this.tryParse((function(t){return e()||t()}));if(!t.aborted&&t.node)return t.error&&this.setLookaheadState(t.failState),t.node},k.tsParseSignatureMember=function(e,t){return this.tsFillSignature(a.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)},k.tsParsePropertyOrMethodSignature=function(e,t){this.eat(a.question)&&(e.optional=!0);var r=e;if(this.match(a.parenL)||this.tsMatchLeftRelational()){t&&this.raise(e.start,Dt.ReadonlyForMethodSignature);var n=r;n.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,Dt.AccesorCannotHaveTypeParameters),this.tsFillSignature(a.colon,n),this.tsParseTypeMemberSemicolon();var s="parameters",i="typeAnnotation";if("get"===n.kind)n[s].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(n[s][0])&&this.raise(this.start,Dt.AccesorCannotDeclareThisParameter));else if("set"===n.kind){if(1!==n[s].length)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{var o=n[s][0];this.isThisParam(o)&&this.raise(this.start,Dt.AccesorCannotDeclareThisParameter),"Identifier"===o.type&&o.optional&&this.raise(this.start,Dt.SetAccesorCannotHaveOptionalParameter),"RestElement"===o.type&&this.raise(this.start,Dt.SetAccesorCannotHaveRestParameter)}n[i]&&this.raise(n[i].start,Dt.SetAccesorCannotHaveReturnType)}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}var l=r;t&&(l.readonly=!0);var c=this.tsTryParseTypeAnnotation();return c&&(l.typeAnnotation=c),this.tsParseTypeMemberSemicolon(),this.finishNode(l,"TSPropertySignature")},k.tsParseTypeMember=function(){var e=this.startNode();if(this.match(a.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(a._new)){var t=this.startNode();return this.next(),this.match(a.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}return this.tsParseModifiers({modified:e,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(e)||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))},k.tsParseList=function(e,t){for(var r=[];!this.tsIsListTerminator(e);)r.push(t());return r},k.tsParseObjectTypeMembers=function(){this.expect(a.braceL);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(a.braceR),e},k.tsParseInterfaceDeclaration=function(e,t){if(void 0===t&&(t={}),this.hasFollowingLineBreak())return null;this.expectContextual("interface"),t.declare&&(e.declare=!0),g(this.type)?(e.id=this.parseIdent(),this.checkLValSimple(e.id,130)):(e.id=null,this.raise(this.start,Dt.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(a._extends)&&(e.extends=this.tsParseHeritageClause("extends"));var r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},k.tsParseAbstractDeclaration=function(e){if(this.match(a._class))return e.abstract=!0,this.parseClass(e,!0);if(this.ts_isContextual(d.interface)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.tsParseInterfaceDeclaration(e)}else this.unexpected(e.start)},k.tsIsDeclarationStart=function(){return v(this.type)},k.tsParseExpressionStatement=function(t,r){switch(r.name){case"declare":var n=this.tsTryParseDeclare(t);if(n)return n.declare=!0,n;break;case"global":if(this.match(a.braceL)){e.prototype.enterScope.call(this,qt);var s=t;return s.global=!0,s.id=r,s.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this),this.finishNode(s,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(t,r.name,!1)}},k.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},k.tsIsExportDefaultSpecifier=function(){var e=this.type,t=this.isAsyncFunction(),r=this.isLet();if(g(e)){if(t&&!this.containsEsc||r)return!1;if((e===d.type||e===d.interface)&&!this.containsEsc){var n=this.lookahead();if(g(n.type)&&!this.isContextualWithState("from",n)||n.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;var s=this.nextTokenStart(),i=this.isUnparsedContextual(s,"from");if(44===this.input.charCodeAt(s)||g(this.type)&&i)return!0;if(this.match(a._default)&&i){var o=this.input.charCodeAt(this.nextTokenStartSince(s+4));return 34===o||39===o}return!1},k.tsInAmbientContext=function(e){var t=this.isAmbientContext;this.isAmbientContext=!0;try{return e()}finally{this.isAmbientContext=t}},k.tsCheckLineTerminator=function(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},k.tsParseModuleOrNamespaceDeclaration=function(t,r){if(void 0===r&&(r=!1),t.id=this.parseIdent(),r||this.checkLValSimple(t.id,1024),this.eat(a.dot)){var n=this.startNode();this.tsParseModuleOrNamespaceDeclaration(n,!0),t.body=n}else e.prototype.enterScope.call(this,qt),t.body=this.tsParseModuleBlock(),e.prototype.exitScope.call(this);return this.finishNode(t,"TSModuleDeclaration")},k.tsParseTypeAliasDeclaration=function(e){var t=this;return e.id=this.parseIdent(),this.checkLValSimple(e.id,2),e.typeAnnotation=this.tsInType((function(){if(e.typeParameters=t.tsTryParseTypeParameters(t.tsParseInOutModifiers.bind(t)),t.expect(a.eq),t.ts_isContextual(d.interface)&&t.lookahead().type!==a.dot){var r=t.startNode();return t.next(),t.finishNode(r,"TSIntrinsicKeyword")}return t.tsParseType()})),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},k.tsParseDeclaration=function(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(a._class)||g(this.type)))return this.tsParseAbstractDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(a.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(g(this.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&g(this.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&g(this.type))return this.tsParseTypeAliasDeclaration(e)}},k.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.value,!0)},k.tsParseImportEqualsDeclaration=function(t,r){t.isExport=r||!1,t.id=this.parseIdent(),this.checkLValSimple(t.id,9),e.prototype.expect.call(this,a.eq);var n=this.tsParseModuleReference();return"type"===t.importKind&&"TSExternalModuleReference"!==n.type&&this.raise(n.start,Dt.ImportAliasHasImportType),t.moduleReference=n,e.prototype.semicolon.call(this),this.finishNode(t,"TSImportEqualsDeclaration")},k.isExportDefaultSpecifier=function(){if(this.tsIsDeclarationStart())return!1;var e=this.type;if(g(e)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((e===d.type||e===d.interface)&&!this.containsEsc){var t=this.lookahead();if(g(t.type)&&!this.isContextualWithState("from",t)||t.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;var r=this.nextTokenStart(),n=this.isUnparsedContextual(r,"from");if(44===this.input.charCodeAt(r)||g(this.type)&&n)return!0;if(this.match(a._default)&&n){var s=this.input.charCodeAt(this.nextTokenStartSince(r+4));return 34===s||39===s}return!1},k.parseTemplate=function(e){var t=(void 0===e?{}:e).isTagged,r=void 0!==t&&t,n=this.startNode();this.next(),n.expressions=[];var s=this.parseTemplateElement({isTagged:r});for(n.quasis=[s];!s.tail;)this.type===a.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(a.dollarBraceL),n.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(a.braceR),n.quasis.push(s=this.parseTemplateElement({isTagged:r}));return this.next(),this.finishNode(n,"TemplateLiteral")},k.parseFunction=function(e,t,r,n,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===a.star&&2&t&&this.unexpected(),e.generator=this.eat(a.star)),this.options.ecmaVersion>=8&&(e.async=!!n),1&t&&(e.id=4&t&&this.type!==a.name?null:this.parseIdent());var i=this.yieldPos,o=this.awaitPos,l=this.awaitIdentPos,c=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Gt(e.async,e.generator)),1&t||(e.id=this.type===a.name?this.parseIdent():null),this.parseFunctionParams(e);var u=1&t;return this.parseFunctionBody(e,r,!1,s,{isFunctionDeclaration:u}),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=l,1&t&&e.id&&!(2&t)&&this.checkLValSimple(e.id,e.body?this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3:0),this.maybeInArrowParameters=c,this.finishNode(e,u?"FunctionDeclaration":"FunctionExpression")},k.parseFunctionBody=function(t,r,n,s,i){void 0===r&&(r=!1),void 0===n&&(n=!1),void 0===s&&(s=!1),this.match(a.colon)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(a.colon));var o=null!=i&&i.isFunctionDeclaration?"TSDeclareFunction":null!=i&&i.isClassMethod?"TSDeclareMethod":void 0;return o&&!this.match(a.braceL)&&this.isLineTerminator()?this.finishNode(t,o):"TSDeclareFunction"===o&&this.isAmbientContext&&(this.raise(t.start,Dt.DeclareFunctionHasImplementation),t.declare)?(e.prototype.parseFunctionBody.call(this,t,r,n,!1),this.finishNode(t,o)):(e.prototype.parseFunctionBody.call(this,t,r,n,s),t)},k.parseNew=function(){var e;this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode(),r=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(a.dot)){t.meta=r;var n=this.containsEsc;return t.property=this.parseIdent(!0),"target"!==t.property.name&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var s=this.start,i=this.startLoc,o=this.type===a._import;t.callee=this.parseSubscripts(this.parseExprAtom(),s,i,!0,!1),o&&"ImportExpression"===t.callee.type&&this.raise(s,"Cannot use new with import()");var l=t.callee;return"TSInstantiationExpression"!==l.type||null!=(e=l.extra)&&e.parenthesized||(t.typeParameters=l.typeParameters,t.callee=l.expression),t.arguments=this.eat(a.parenL)?this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1):[],this.finishNode(t,"NewExpression")},k.parseExprOp=function(t,r,n,s,i){if(a._in.binop>s&&!this.hasPrecedingLineBreak()&&this.isContextual("as")){var o=this.startNodeAt(r,n);o.expression=t;var l=this.tsTryNextParseConstantContext();return o.typeAnnotation=l||this.tsNextThenParseType(),this.finishNode(o,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(o,r,n,s,i)}return e.prototype.parseExprOp.call(this,t,r,n,s,i)},k.parseImportSpecifiers=function(){var e=[],t=!0;if(s.tokenIsIdentifier(this.type)&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(a.comma)))return e;if(this.type===a.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(a.braceL);!this.eat(a.braceR);){if(t)t=!1;else if(this.expect(a.comma),this.afterTrailingComma(a.braceR))break;e.push(this.parseImportSpecifier())}return e},k.parseImport=function(e){var t=this.lookahead();if(e.importKind="value",this.importOrExportOuterKind="value",g(t.type)||this.match(a.star)||this.match(a.braceL)){var r=this.lookahead(2);if(r.type!==a.comma&&!this.isContextualWithState("from",r)&&r.type!==a.eq&&this.ts_eatContextualWithState("type",1,t)&&(this.importOrExportOuterKind="type",e.importKind="type",t=this.lookahead(),r=this.lookahead(2)),g(t.type)&&r.type===a.eq){this.next();var n=this.tsParseImportEqualsDeclaration(e);return this.importOrExportOuterKind="value",n}}return this.next(),this.type===a.string?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===a.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(e),this.semicolon(),this.finishNode(e,"ImportDeclaration"),this.importOrExportOuterKind="value","type"===e.importKind&&e.specifiers.length>1&&"ImportDefaultSpecifier"===e.specifiers[0].type&&this.raise(e.start,Dt.TypeImportCannotSpecifyDefaultAndNamed),e},k.parseExportDefaultDeclaration=function(){if(this.isAbstractClass()){var t=this.startNode();return this.next(),t.abstract=!0,this.parseClass(t,!0)}if(this.match(d.interface)){var r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return e.prototype.parseExportDefaultDeclaration.call(this)},k.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.parseMaybeImportAttributes(e),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},k.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.eat(a.comma)){var t=this.parseExpression();e.arguments=[t]}if(!this.eat(a.parenR)){var r=this.start;this.eat(a.comma)&&this.eat(a.parenR)?this.raiseRecoverable(r,"Trailing comma is not allowed in import()"):this.unexpected(r)}return this.finishNode(e,"ImportExpression")},k.parseExport=function(e,t){var r=this.lookahead();if(this.ts_eatWithState(a._import,2,r)){this.ts_isContextual(d.type)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.importOrExportOuterKind="type",this.next()):(e.importKind="value",this.importOrExportOuterKind="value");var n=this.tsParseImportEqualsDeclaration(e,!0);return this.importOrExportOuterKind=void 0,n}if(this.ts_eatWithState(a.eq,2,r)){var s=e;return s.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(s,"TSExportAssignment")}if(this.ts_eatContextualWithState("as",2,r)){var i=e;return this.expectContextual("namespace"),i.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(i,"TSNamespaceExportDeclaration")}if(this.ts_isContextualWithState(r,d.type)&&this.lookahead(2).type===a.braceL?(this.next(),this.importOrExportOuterKind="type",e.exportKind="type"):(this.importOrExportOuterKind="value",e.exportKind="value"),this.next(),this.eat(a.star))return this.parseExportAllDeclaration(e,t);if(this.eat(a._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==a.string&&this.unexpected(),e.source=this.parseExprAtom(),this.parseMaybeImportAttributes(e);else{for(var o,l=St(e.specifiers);!(o=l()).done;){var c=o.value;this.checkUnreserved(c.local),this.checkLocalExport(c.local),"Literal"===c.local.type&&this.raise(c.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},k.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),e[t]=!0)},k.parseMaybeDefault=function(t,r,n){var s=e.prototype.parseMaybeDefault.call(this,t,r,n);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(s.typeAnnotation.start,Dt.TypeAnnotationAfterAssign),s},k.typeCastToParameter=function(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end),e.expression},k.toAssignableList=function(t,r){for(var n=0;n<t.length;n++){var s=t[n];"TSTypeCastExpression"===(null==s?void 0:s.type)&&(t[n]=this.typeCastToParameter(s))}return e.prototype.toAssignableList.call(this,t,r)},k.reportReservedArrowTypeParam=function(e){},k.parseExprAtom=function(t,r,n){if(this.type===d.jsxText)return this.jsx_parseText();if(this.type===d.jsxTagStart)return this.jsx_parseElement();if(this.type===d.at)return this.parseDecorators(),this.parseExprAtom();if(g(this.type)){var s=this.potentialArrowAt===this.start,i=this.start,o=this.startLoc,l=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!l&&"async"===c.name&&!this.canInsertSemicolon()&&this.eat(a._function))return this.overrideContext(u.f_expr),this.parseFunction(this.startNodeAt(i,o),0,!1,!0,r);if(s&&!this.canInsertSemicolon()){if(this.eat(a.arrow))return this.parseArrowExpression(this.startNodeAt(i,o),[c],!1,r);if(this.options.ecmaVersion>=8&&"async"===c.name&&this.type===a.name&&!l&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return c=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(a.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,o),[c],!0,r)}return c}return e.prototype.parseExprAtom.call(this,t,r,n)},k.parseExprAtomDefault=function(){if(g(this.type)){var e=this.potentialArrowAt===this.start,t=this.containsEsc,r=this.parseIdent();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){var n=this.type;if(n===a._function)return this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0,!0);if(g(n)){if(61===this.lookaheadCharCode()){var s=this.parseIdent(!1);return!this.canInsertSemicolon()&&this.eat(a.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(r),[s],!0)}return r}}return e&&this.match(a.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}this.unexpected()},k.parseIdentNode=function(){var t=this.startNode();return b(this.type)?(t.name=this.value,t):e.prototype.parseIdentNode.call(this)},k.parseVarStatement=function(t,r,n){void 0===n&&(n=!1);var s=this.isAmbientContext;this.next(),e.prototype.parseVar.call(this,t,!1,r,n||s),this.semicolon();var a=this.finishNode(t,"VariableDeclaration");if(!s)return a;for(var i,o=St(a.declarations);!(i=o()).done;){var l=i.value,c=l.init;c&&("const"!==r||l.id.typeAnnotation?this.raise(c.start,Dt.InitializerNotAllowedInAmbientContext):"StringLiteral"!==c.type&&"BooleanLiteral"!==c.type&&"NumericLiteral"!==c.type&&"BigIntLiteral"!==c.type&&("TemplateLiteral"!==c.type||c.expressions.length>0)&&!Kt(c)&&this.raise(c.start,Dt.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference))}return a},k.parseStatement=function(t,r,n){if(this.match(d.at)&&this.parseDecorators(!0),this.match(a._const)&&this.isLookaheadContextual("enum")){var s=this.startNode();return this.expect(a._const),this.tsParseEnumDeclaration(s,{const:!0})}if(this.ts_isContextual(d.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(d.interface)){var i=this.tsParseInterfaceDeclaration(this.startNode());if(i)return i}return e.prototype.parseStatement.call(this,t,r,n)},k.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},k.parsePostMemberNameModifiers=function(e){this.eat(a.question)&&(e.optional=!0),e.readonly&&this.match(a.parenL)&&this.raise(e.start,Dt.ClassMethodHasReadonly),e.declare&&this.match(a.parenL)&&this.raise(e.start,Dt.ClassMethodHasDeclare)},k.parseExpressionStatement=function(t,r){return("Identifier"===r.type?this.tsParseExpressionStatement(t,r):void 0)||e.prototype.parseExpressionStatement.call(this,t,r)},k.shouldParseExportStatement=function(){return!!this.tsIsDeclarationStart()||!!this.match(d.at)||e.prototype.shouldParseExportStatement.call(this)},k.parseConditional=function(e,t,r,n,s){if(this.eat(a.question)){var i=this.startNodeAt(t,r);return i.test=e,i.consequent=this.parseMaybeAssign(),this.expect(a.colon),i.alternate=this.parseMaybeAssign(n),this.finishNode(i,"ConditionalExpression")}return e},k.parseMaybeConditional=function(e,t){var r=this,n=this.start,s=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(!this.maybeInArrowParameters||!this.match(a.question))return this.parseConditional(i,n,s,e,t);var o=this.tryParse((function(){return r.parseConditional(i,n,s,e,t)}));return o.node?(o.error&&this.setLookaheadState(o.failState),o.node):(o.error&&this.setOptionalParametersError(t,o.error),i)},k.parseParenItem=function(t){var r=this.start,n=this.startLoc;if(t=e.prototype.parseParenItem.call(this,t),this.eat(a.question)&&(t.optional=!0,this.resetEndLocation(t)),this.match(a.colon)){var s=this.startNodeAt(r,n);return s.expression=t,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return t},k.parseExportDeclaration=function(e){var t=this;if(!this.isAmbientContext&&this.ts_isContextual(d.declare))return this.tsInAmbientContext((function(){return t.parseExportDeclaration(e)}));var r=this.start,n=this.startLoc,s=this.eatContextual("declare");!s||!this.ts_isContextual(d.declare)&&this.shouldParseExportStatement()||this.raise(this.start,Dt.ExpectedAmbientAfterExportDeclare);var a=g(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return a?(("TSInterfaceDeclaration"===a.type||"TSTypeAliasDeclaration"===a.type||s)&&(e.exportKind="type"),s&&(this.resetStartLocation(a,r,n),a.declare=!0),a):null},k.parseClassId=function(t,r){if(r||!this.isContextual("implements")){e.prototype.parseClassId.call(this,t,r);var n=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));n&&(t.typeParameters=n)}},k.parseClassPropertyAnnotation=function(e){e.optional||("!"===this.value&&this.eat(a.prefix)?e.definite=!0:this.eat(a.question)&&(e.optional=!0));var t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)},k.parseClassField=function(t){if("PrivateIdentifier"===t.key.type)t.abstract&&this.raise(t.start,Dt.PrivateElementHasAbstract),t.accessibility&&this.raise(t.start,Dt.PrivateElementHasAccessibility({modifier:t.accessibility})),this.parseClassPropertyAnnotation(t);else if(this.parseClassPropertyAnnotation(t),this.isAmbientContext&&(!t.readonly||t.typeAnnotation)&&this.match(a.eq)&&this.raise(this.start,Dt.DeclareClassFieldHasInitializer),t.abstract&&this.match(a.eq)){var r=t.key;this.raise(this.start,Dt.AbstractPropertyHasInitializer({propertyName:"Identifier"!==r.type||t.computed?"["+this.input.slice(r.start,r.end)+"]":r.name}))}return e.prototype.parseClassField.call(this,t)},k.parseClassMethod=function(e,t,r,n){var s="constructor"===e.kind,a="PrivateIdentifier"===e.key.type,i=this.tsTryParseTypeParameters();a?(i&&(e.typeParameters=i),e.accessibility&&this.raise(e.start,Dt.PrivateMethodsHasAccessibility({modifier:e.accessibility}))):i&&s&&this.raise(i.start,Dt.ConstructorHasTypeParameters);var o=e.declare,l=e.kind;!(void 0!==o&&o)||"get"!==l&&"set"!==l||this.raise(e.start,Dt.DeclareAccessor({kind:l})),i&&(e.typeParameters=i);var c=e.key;"constructor"===e.kind?(t&&this.raise(c.start,"Constructor can't be a generator"),r&&this.raise(c.start,"Constructor can't be an async method")):e.static&&$t(e,"prototype")&&this.raise(c.start,"Classes may not have a static property named prototype");var u=e.value=this.parseMethod(t,r,n,!0,e);return"get"===e.kind&&0!==u.params.length&&this.raiseRecoverable(u.start,"getter should have no params"),"set"===e.kind&&1!==u.params.length&&this.raiseRecoverable(u.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===u.params[0].type&&this.raiseRecoverable(u.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},k.isClassMethod=function(){return this.match(a.relational)},k.parseClassElement=function(t){var r=this;if(this.eat(a.semi))return null;var n,s=this.options.ecmaVersion,i=this.startNode(),o="",l=!1,c=!1,u="method",p=["declare","private","public","protected","accessor","override","abstract","readonly","static"],d=this.tsParseModifiers({modified:i,allowedModifiers:p,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Dt.InvalidModifierOnTypeParameterPositions});n=Boolean(d.static);var h=function(){if(!r.tsIsStartOfStaticBlocks()){var d=r.tsTryParseIndexSignature(i);if(d)return i.abstract&&r.raise(i.start,Dt.IndexSignatureHasAbstract),i.accessibility&&r.raise(i.start,Dt.IndexSignatureHasAccessibility({modifier:i.accessibility})),i.declare&&r.raise(i.start,Dt.IndexSignatureHasDeclare),i.override&&r.raise(i.start,Dt.IndexSignatureHasOverride),d;if(!r.inAbstractClass&&i.abstract&&r.raise(i.start,Dt.NonAbstractClassHasAbstractMethod),i.override&&t&&r.raise(i.start,Dt.OverrideNotInSubClass),i.static=n,n&&(r.isClassElementNameStart()||r.type===a.star||(o="static")),!o&&s>=8&&r.eatContextual("async")&&(!r.isClassElementNameStart()&&r.type!==a.star||r.canInsertSemicolon()?o="async":c=!0),!o&&(s>=9||!c)&&r.eat(a.star)&&(l=!0),!o&&!c&&!l){var h=r.value;(r.eatContextual("get")||r.eatContextual("set"))&&(r.isClassElementNameStart()?u=h:o=h)}if(o?(i.computed=!1,i.key=r.startNodeAt(r.lastTokStart,r.lastTokStartLoc),i.key.name=o,r.finishNode(i.key,"Identifier")):r.parseClassElementName(i),r.parsePostMemberNameModifiers(i),r.isClassMethod()||s<13||r.type===a.parenL||"method"!==u||l||c){var m=!i.static&&$t(i,"constructor"),f=m&&t;m&&"method"!==u&&r.raise(i.key.start,"Constructor can't have get/set modifier"),i.kind=m?"constructor":u,r.parseClassMethod(i,l,c,f)}else r.parseClassField(i);return i}if(r.next(),r.next(),r.tsHasSomeModifiers(i,p)&&r.raise(r.start,Dt.StaticBlockCannotHaveModifier),s>=13)return e.prototype.parseClassStaticBlock.call(r,i),i};return i.declare?this.tsInAmbientContext(h):h(),i},k.isClassElementNameStart=function(){return!!this.tsIsIdentifier()||e.prototype.isClassElementNameStart.call(this)},k.parseClassSuper=function(t){e.prototype.parseClassSuper.call(this,t),t.superClass&&(this.tsMatchLeftRelational()||this.match(a.bitShift))&&(t.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(t.implements=this.tsParseHeritageClause("implements"))},k.parseFunctionParams=function(t){var r=this.tsTryParseTypeParameters();r&&(t.typeParameters=r),e.prototype.parseFunctionParams.call(this,t)},k.parseVarId=function(t,r){e.prototype.parseVarId.call(this,t,r),"Identifier"===t.id.type&&!this.hasPrecedingLineBreak()&&"!"===this.value&&this.eat(a.prefix)&&(t.definite=!0);var n=this.tsTryParseTypeAnnotation();n&&(t.id.typeAnnotation=n,this.resetEndLocation(t.id))},k.parseArrowExpression=function(e,t,r,n){this.match(a.colon)&&(e.returnType=this.tsParseTypeAnnotation());var s=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;this.enterScope(16|Gt(r,!1)),this.initFunction(e);var l=this.maybeInArrowParameters;return this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,e.params=this.toAssignableList(t,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0,!1,n),this.yieldPos=s,this.awaitPos=i,this.awaitIdentPos=o,this.maybeInArrowParameters=l,this.finishNode(e,"ArrowFunctionExpression")},k.parseMaybeAssignOrigin=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var n=!1,s=-1,i=-1,o=-1;t?(s=t.parenthesizedAssign,i=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Nt,n=!0);var l=this.start,c=this.startLoc;(this.type===a.parenL||g(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var u=this.parseMaybeConditional(e,t);if(r&&(u=r.call(this,u,l,c)),this.type.isAssign){var p=this.startNodeAt(l,c);return p.operator=this.value,this.type===a.eq&&(u=this.toAssignable(u,!0,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=u.start&&(t.shorthandAssign=-1),this.type===a.eq?this.checkLValPattern(u):this.checkLValSimple(u),p.left=u,this.next(),p.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(p,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),s>-1&&(t.parenthesizedAssign=s),i>-1&&(t.trailingComma=i),u},k.parseMaybeAssign=function(e,t,r){var n,a,i,o,l,c,u,p,d,h,m,f=this;if(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational()){if(p=this.cloneCurLookaheadState(),!(d=this.tryParse((function(){return f.parseMaybeAssignOrigin(e,t,r)}),p)).error)return d.node;var y=this.context,v=y[y.length-1];v===s.tokContexts.tc_oTag&&y[y.length-2]===s.tokContexts.tc_expr?(y.pop(),y.pop()):v!==s.tokContexts.tc_oTag&&v!==s.tokContexts.tc_expr||y.pop()}if(!(null!=(n=d)&&n.error||this.tsMatchLeftRelational()))return this.parseMaybeAssignOrigin(e,t,r);p&&!this.compareLookaheadState(p,this.getCurLookaheadState())||(p=this.cloneCurLookaheadState());var g=this.tryParse((function(n){var s,a;m=f.tsParseTypeParameters();var i=f.parseMaybeAssignOrigin(e,t,r);return("ArrowFunctionExpression"!==i.type||null!=(s=i.extra)&&s.parenthesized)&&n(),0!==(null==(a=m)?void 0:a.params.length)&&f.resetStartLocationFromNode(i,m),i.typeParameters=m,i}),p);if(!g.error&&!g.aborted)return m&&this.reportReservedArrowTypeParam(m),g.node;if(!d&&(Ut(!0),!(h=this.tryParse((function(){return f.parseMaybeAssignOrigin(e,t,r)}),p)).error))return h.node;if(null!=(a=d)&&a.node)return this.setLookaheadState(d.failState),d.node;if(g.node)return this.setLookaheadState(g.failState),m&&this.reportReservedArrowTypeParam(m),g.node;if(null!=(i=h)&&i.node)return this.setLookaheadState(h.failState),h.node;if(null!=(o=d)&&o.thrown)throw d.error;if(g.thrown)throw g.error;if(null!=(l=h)&&l.thrown)throw h.error;throw(null==(c=d)?void 0:c.error)||g.error||(null==(u=h)?void 0:u.error)},k.parseAssignableListItem=function(e){for(var t=[];this.match(d.at);)t.push(this.parseDecorator());var r,n=this.start,s=this.startLoc,a=!1,i=!1;if(void 0!==e){var o={};this.tsParseModifiers({modified:o,allowedModifiers:["public","private","protected","override","readonly"]}),r=o.accessibility,i=o.override,a=o.readonly,!1===e&&(r||a||i)&&this.raise(s.start,Dt.UnexpectedParameterModifier)}var l=this.parseMaybeDefault(n,s);this.parseBindingListItem(l);var c=this.parseMaybeDefault(l.start,l.loc,l);if(t.length&&(c.decorators=t),r||a||i){var u=this.startNodeAt(n,s);return r&&(u.accessibility=r),a&&(u.readonly=a),i&&(u.override=i),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(u.start,Dt.UnsupportedParameterPropertyKind),u.parameter=c,this.finishNode(u,"TSParameterProperty")}return c},k.checkLValInnerPattern=function(t,r,n){void 0===r&&(r=64),"TSParameterProperty"===t.type?this.checkLValInnerPattern(t.parameter,r,n):e.prototype.checkLValInnerPattern.call(this,t,r,n)},k.parseBindingListItem=function(e){this.eat(a.question)&&("Identifier"===e.type||this.isAmbientContext||this.inType||this.raise(e.start,Dt.PatternIsOptional),e.optional=!0);var t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e},k.isAssignable=function(e,t){var r=this;switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":var n=e.properties.length-1;return e.properties.every((function(e,t){return"ObjectMethod"!==e.type&&(t===n||"SpreadElement"!==e.type)&&r.isAssignable(e)}));case"Property":case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every((function(e){return null===e||r.isAssignable(e)}));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}},k.toAssignable=function(t,r,n){switch(void 0===r&&(r=!1),void 0===n&&(n=new Nt),t.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(t,r,n);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return r||this.raise(t.start,Dt.UnexpectedTypeCastInParameter),this.toAssignable(t.expression,r,n);case"MemberExpression":break;case"AssignmentExpression":return r||"TSTypeCastExpression"!==t.left.type||(t.left=this.typeCastToParameter(t.left)),e.prototype.toAssignable.call(this,t,r,n);case"TSTypeCastExpression":return this.typeCastToParameter(t);default:return e.prototype.toAssignable.call(this,t,r,n)}return t},k.toAssignableParenthesizedExpression=function(t,r,n){switch(t.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return this.toAssignable(t.expression,r,n);default:return e.prototype.toAssignable.call(this,t,r,n)}},k.curPosition=function(){if(this.options.locations){var t=e.prototype.curPosition.call(this);return Object.defineProperty(t,"offset",{get:function(){return function(e){var t=new n.Position(this.line,this.column+e);return t.index=this.index+e,t}}}),t.index=this.pos,t}},k.parseBindingAtom=function(){return this.type===a._this?this.parseIdent(!0):e.prototype.parseBindingAtom.call(this)},k.shouldParseArrow=function(e){var t,r=this;if(t=this.match(a.colon)?e.every((function(e){return r.isAssignable(e,!0)})):!this.canInsertSemicolon()){if(this.match(a.colon)){var n=this.tryParse((function(e){var t=r.tsParseTypeOrTypePredicateAnnotation(a.colon);return!r.canInsertSemicolon()&&r.match(a.arrow)||e(),t}));if(n.aborted)return this.shouldParseArrowReturnType=void 0,!1;n.thrown||(n.error&&this.setLookaheadState(n.failState),this.shouldParseArrowReturnType=n.node)}return!!this.match(a.arrow)||(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,t},k.parseParenArrowList=function(e,t,r,n){var s=this.startNodeAt(e,t);return s.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression(s,r,!1,n)},k.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,s=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){var o=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();var l,c=this.start,u=this.startLoc,p=[],d=!0,h=!1,m=new Nt,f=this.yieldPos,y=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==a.parenR;){if(d?d=!1:this.expect(a.comma),i&&this.afterTrailingComma(a.parenR,!0)){h=!0;break}if(this.type===a.ellipsis){l=this.start,p.push(this.parseParenItem(this.parseRestBinding())),this.type===a.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}p.push(this.parseMaybeAssign(t,m,this.parseParenItem))}var v=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(a.parenR),this.maybeInArrowParameters=o,e&&this.shouldParseArrow(p)&&this.eat(a.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=y,this.parseParenArrowList(n,s,p,t);p.length&&!h||this.unexpected(this.lastTokStart),l&&this.unexpected(l),this.checkExpressionErrors(m,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=y||this.awaitPos,p.length>1?((r=this.startNodeAt(c,u)).expressions=p,this.finishNodeAt(r,"SequenceExpression",v,g)):r=p[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(n,s);return b.expression=r,this.finishNode(b,"ParenthesizedExpression")}return r},k.parseTaggedTemplateExpression=function(e,t,r,n){var s=this.startNodeAt(t,r);return s.tag=e,s.quasi=this.parseTemplate({isTagged:!0}),n&&this.raise(t,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode(s,"TaggedTemplateExpression")},k.shouldParseAsyncArrow=function(){var e=this;if(!this.match(a.colon))return!this.canInsertSemicolon()&&this.eat(a.arrow);var t=this.tryParse((function(t){var r=e.tsParseTypeOrTypePredicateAnnotation(a.colon);return!e.canInsertSemicolon()&&e.match(a.arrow)||t(),r}));return t.aborted?(this.shouldParseAsyncArrowReturnType=void 0,!1):t.thrown?void 0:(t.error&&this.setLookaheadState(t.failState),this.shouldParseAsyncArrowReturnType=t.node,!this.canInsertSemicolon()&&this.eat(a.arrow))},k.parseSubscriptAsyncArrow=function(e,t,r,n){var s=this.startNodeAt(e,t);return s.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression(s,r,!0,n)},k.parseExprList=function(e,t,r,n){for(var s=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(a.comma),t&&this.afterTrailingComma(e))break;var o=void 0;r&&this.type===a.comma?o=null:this.type===a.ellipsis?(o=this.parseSpread(n),n&&this.type===a.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):o=this.parseMaybeAssign(!1,n,this.parseParenItem),s.push(o)}return s},k.parseSubscript=function(e,t,r,n,s,i,o){var l=this,c=i;if(!this.hasPrecedingLineBreak()&&"!"===this.value&&this.match(a.prefix)){this.exprAllowed=!1,this.next();var u=this.startNodeAt(t,r);return u.expression=e,e=this.finishNode(u,"TSNonNullExpression")}var p=!1;if(this.match(a.questionDot)&&60===this.lookaheadCharCode()){if(n)return e;e.optional=!0,c=p=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(a.bitShift)){var d,h=this.tsTryParseAndCatch((function(){if(!n&&l.atPossibleAsyncArrow(e)){var s=l.tsTryParseGenericAsyncArrowFunction(t,r,o);if(s)return e=s}var i=l.tsParseTypeArgumentsInExpression();if(!i)return e;if(p&&!l.match(a.parenL))return d=l.curPosition(),e;if(y(l.type)||l.type===a.backQuote){var u=l.parseTaggedTemplateExpression(e,t,r,c);return u.typeParameters=i,u}if(!n&&l.eat(a.parenL)){var h=new Nt,m=l.startNodeAt(t,r);return m.callee=e,m.arguments=l.parseExprList(a.parenR,l.options.ecmaVersion>=8,!1,h),l.tsCheckForInvalidTypeCasts(m.arguments),m.typeParameters=i,c&&(m.optional=p),l.checkExpressionErrors(h,!0),e=l.finishNode(m,"CallExpression")}var f=l.type;if(!(l.tsMatchRightRelational()||f===a.bitShift||f!==a.parenL&&(v=f,Boolean(v.startsExpr))&&!l.hasPrecedingLineBreak())){var v,g=l.startNodeAt(t,r);return g.expression=e,g.typeParameters=i,l.finishNode(g,"TSInstantiationExpression")}}));if(d&&this.unexpected(d),h)return"TSInstantiationExpression"===h.type&&(this.match(a.dot)||this.match(a.questionDot)&&40!==this.lookaheadCharCode())&&this.raise(this.start,Dt.InvalidPropertyAccessAfterInstantiationExpression),e=h}var m=this.options.ecmaVersion>=11,f=m&&this.eat(a.questionDot);n&&f&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var v=this.eat(a.bracketL);if(v||f&&this.type!==a.parenL&&this.type!==a.backQuote||this.eat(a.dot)){var g=this.startNodeAt(t,r);g.object=e,v?(g.property=this.parseExpression(),this.expect(a.bracketR)):g.property=this.type===a.privateId&&"Super"!==e.type?this.parsePrivateIdent():this.parseIdent("never"!==this.options.allowReserved),g.computed=!!v,m&&(g.optional=f),e=this.finishNode(g,"MemberExpression")}else if(!n&&this.eat(a.parenL)){var b=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var x=new Nt,_=this.yieldPos,C=this.awaitPos,w=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var P=this.parseExprList(a.parenR,this.options.ecmaVersion>=8,!1,x);if(s&&!f&&this.shouldParseAsyncArrow())this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=C,this.awaitIdentPos=w,e=this.parseSubscriptAsyncArrow(t,r,P,o);else{this.checkExpressionErrors(x,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=w||this.awaitIdentPos;var k=this.startNodeAt(t,r);k.callee=e,k.arguments=P,m&&(k.optional=f),e=this.finishNode(k,"CallExpression")}this.maybeInArrowParameters=b}else if(this.type===a.backQuote){(f||c)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var E=this.startNodeAt(t,r);E.tag=e,E.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(E,"TaggedTemplateExpression")}return e},k.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1,r=e.value.params[0],n=r&&this.isThisParam(r);e.value.params.length!==(t=n?t+1:t)?this.raiseRecoverable(e.value.start,"get"===e.kind?"getter should have no params":"setter should have exactly one param"):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},k.parseProperty=function(t,r){if(!t){var n=[];if(this.match(d.at))for(;this.match(d.at);)n.push(this.parseDecorator());var s=e.prototype.parseProperty.call(this,t,r);return"SpreadElement"===s.type&&n.length&&this.raise(s.start,"Decorators can't be used with SpreadElement"),n.length&&(s.decorators=n,n=[]),s}return e.prototype.parseProperty.call(this,t,r)},k.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2);var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r,this.resetEndLocation(e)),this.expect(a.parenR),e},k.parseClass=function(e,t){var r=this.inAbstractClass;this.inAbstractClass=!!e.abstract;try{this.next(),this.takeDecorators(e);var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var s=this.enterClassBody(),i=this.startNode(),o=!1;i.body=[];var l=[];for(this.expect(a.braceL);this.type!==a.braceR;)if(this.match(d.at))l.push(this.parseDecorator());else{var c=this.parseClassElement(null!==e.superClass);l.length&&(c.decorators=l,this.resetStartLocationFromNode(c,l[0]),l=[]),c&&(i.body.push(c),"MethodDefinition"===c.type&&"constructor"===c.kind&&"FunctionExpression"===c.value.type?(o&&this.raiseRecoverable(c.start,"Duplicate constructor in the same class"),o=!0,c.decorators&&c.decorators.length>0&&this.raise(c.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")):c.key&&"PrivateIdentifier"===c.key.type&&Ot(s,c)&&this.raiseRecoverable(c.key.start,"Identifier '#"+c.key.name+"' has already been declared"))}return this.strict=n,this.next(),l.length&&this.raise(this.start,"Decorators must be attached to a class element."),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=r}},k.parseClassFunctionParams=function(){var e=this.tsTryParseTypeParameters(this.tsParseConstModifier),t=this.parseBindingList(a.parenR,!1,this.options.ecmaVersion>=8,!0);return e&&(t.typeParameters=e),t},k.parseMethod=function(e,t,r,n,s){var i=this.startNode(),o=this.yieldPos,l=this.awaitPos,c=this.awaitIdentPos;if(this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Gt(t,i.generator)|(r?128:0)),this.expect(a.parenL),i.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1,{isClassMethod:n}),this.yieldPos=o,this.awaitPos=l,this.awaitIdentPos=c,s&&s.abstract&&i.body){var u=s.key;this.raise(s.start,Dt.AbstractMethodHasImplementation({methodName:"Identifier"!==u.type||s.computed?"["+this.input.slice(u.start,u.end)+"]":u.name}))}return this.finishNode(i,"FunctionExpression")},t.parse=function(e,t){if(!1===t.locations)throw new Error("You have to enable options.locations while using acorn-typescript");t.locations=!0;var n=new this(t,e);return r&&(n.isAmbientContext=!0),n.parse()},t.parseExpressionAt=function(e,t,n){if(!1===n.locations)throw new Error("You have to enable options.locations while using acorn-typescript");n.locations=!0;var s=new this(n,e,t);return r&&(s.isAmbientContext=!0),s.nextToken(),s.parseExpression()},k.parseImportSpecifier=function(){if(this.ts_isContextual(d.type)){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(t,!0,"type"===this.importOrExportOuterKind),this.finishNode(t,"ImportSpecifier")}var r=e.prototype.parseImportSpecifier.call(this);return r.importKind="value",r},k.parseExportSpecifier=function(t){var r=this.ts_isContextual(d.type);if(!this.match(a.string)&&r){var n=this.startNode();return n.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(n,!1,"type"===this.importOrExportOuterKind),this.finishNode(n,"ExportSpecifier"),this.checkExport(t,n.exported,n.exported.start),n}var s=e.prototype.parseExportSpecifier.call(this,t);return s.exportKind="value",s},k.parseTypeOnlyImportExportSpecifier=function(t,r,n){var s,a=r?"imported":"local",i=r?"local":"exported",o=t[a],l=!1,c=!0,u=o.start;if(this.isContextual("as")){var p=this.parseIdent();if(this.isContextual("as")){var d=this.parseIdent();b(this.type)?(l=!0,o=p,s=r?this.parseIdent():this.parseModuleExportName(),c=!1):(s=d,c=!1)}else b(this.type)?(c=!1,s=r?this.parseIdent():this.parseModuleExportName()):(l=!0,o=p)}else b(this.type)&&(l=!0,r?(o=e.prototype.parseIdent.call(this,!0),this.isContextual("as")||this.checkUnreserved(o)):o=this.parseModuleExportName());l&&n&&this.raise(u,r?Dt.TypeModifierIsUsedInTypeImports:Dt.TypeModifierIsUsedInTypeExports),t[a]=o,t[i]=s,t[r?"importKind":"exportKind"]=l?"type":"value",c&&this.eatContextual("as")&&(t[i]=r?this.parseIdent():this.parseModuleExportName()),t[i]||(t[i]=this.copyNode(t[a])),r&&this.checkLValSimple(t[i],9)},k.raiseCommonCheck=function(t,r,n){return"Comma is not permitted after the rest element"===r?this.isAmbientContext&&this.match(a.comma)&&41===this.lookaheadCharCode()?void this.next():e.prototype.raise.call(this,t,r):n?e.prototype.raiseRecoverable.call(this,t,r):e.prototype.raise.call(this,t,r)},k.raiseRecoverable=function(e,t){return this.raiseCommonCheck(e,t,!0)},k.raise=function(e,t){return this.raiseCommonCheck(e,t,!0)},k.updateContext=function(t){var r=this.type;if(r==a.braceL){var n=this.curContext();n==h.tc_oTag?this.context.push(u.b_expr):n==h.tc_expr?this.context.push(u.b_tmpl):e.prototype.updateContext.call(this,t),this.exprAllowed=!0}else{if(r!==a.slash||t!==d.jsxTagStart)return e.prototype.updateContext.call(this,t);this.context.length-=2,this.context.push(h.tc_cTag),this.exprAllowed=!1}},k.jsx_parseOpeningElementAt=function(e,t){var r=this,n=this.startNodeAt(e,t),s=this.jsx_parseElementName();if(s&&(n.name=s),this.match(a.relational)||this.match(a.bitShift)){var i=this.tsTryParseAndCatch((function(){return r.tsParseTypeArgumentsInExpression()}));i&&(n.typeParameters=i)}for(n.attributes=[];this.type!==a.slash&&this.type!==d.jsxTagEnd;)n.attributes.push(this.jsx_parseAttribute());return n.selfClosing=this.eat(a.slash),this.expect(d.jsxTagEnd),this.finishNode(n,s?"JSXOpeningElement":"JSXOpeningFragment")},C=t,P=[{key:"acornTypeScript",get:function(){return s}}],(w=[{key:"acornTypeScript",get:function(){return s}}])&&Ct(C.prototype,w),P&&Ct(C,P),Object.defineProperty(C,"prototype",{writable:!1}),t}(t);return C}}());function Yt(e,t){const r=t?Qt:H,{onComment:n,add_comments:s}=er(e),a=r.parse(e,{onComment:n,sourceType:"module",ecmaVersion:13,locations:!0});return t&&tr(e,a),s(a),a}function Zt(e,t,r){const n=t?Qt:H,{onComment:s,add_comments:a}=er(e),i=n.parseExpressionAt(e,r,{onComment:s,sourceType:"module",ecmaVersion:13,locations:!0});return t&&tr(e,i),a(i),i}function er(e){const t=[];return{onComment:(r,n,s,a)=>{if(r&&/\n/.test(n)){let t=s;for(;t>0&&"\n"!==e[t-1];)t-=1;let r=t;for(;/[ \t]/.test(e[r]);)r+=1;const a=e.slice(t,r);n=n.replace(new RegExp(`^${a}`,"gm"),"")}t.push({type:r?"Block":"Line",value:n,start:s,end:a})},add_comments(r){0!==t.length&&_t(r,null,{_(r,{next:n}){let s;for(;t[0]&&t[0].start<r.start;)s=t.shift(),(r.leadingComments||=[]).push(s);if(n(),t[0]){const n=e.slice(r.end,t[0].start);/^[,) \t]*$/.test(n)&&(r.trailingComments=[t.shift()])}}})}}}function tr(e,t){return _t(t,null,{_(t,r){if(delete t.loc.start.index,delete t.loc.end.index,t.typeAnnotation&&void 0===t.end){let r=t.typeAnnotation.start;for(;/\s/.test(e[r-1]);)r-=1;t.end=r}r.next()}})}function rr(e,t="or"){return 1===e.length?e[0]:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}const nr={TODO:e=>`TODO ${e}`,INTERNAL:e=>`Internal compiler error: ${e}. Please report this to https://github.com/sveltejs/svelte/issues`,"unclosed-element":e=>`<${e}> was left open`,"unclosed-block":()=>"Block was left open","unexpected-block-close":()=>"Unexpected block closing tag","unexpected-eof":e=>"Unexpected end of input"+(e?` (expected ${e})`:""),"js-parse-error":e=>e,"expected-token":e=>`Expected token ${e}`,"unexpected-reserved-word":e=>`'${e}' is a reserved word in JavaScript and cannot be used here`,"missing-whitespace":()=>"Expected whitespace","expected-pattern":()=>"Expected identifier or destructure pattern","invalid-script-context":()=>'If the context attribute is supplied, its value must be "module"',"invalid-elseif":()=>"'elseif' should be 'else if'","invalid-continuing-block-placement":()=>"{:...} block is invalid at this position (did you forget to close the preceeding element or block?)","invalid-block-missing-parent":(e,t)=>`${e} block must be a child of ${t}`,"duplicate-block-part":e=>`${e} cannot appear more than once within a block`,"expected-block-type":()=>"Expected 'if', 'each', 'await', 'key' or 'snippet'","expected-identifier":()=>"Expected an identifier","invalid-debug":()=>"{@debug ...} arguments must be identifiers, not arbitrary expressions","invalid-const":()=>"{@const ...} must be an assignment","invalid-block-placement":(e,t)=>`{#${t} ...} block cannot be ${e}`,"invalid-tag-placement":(e,t)=>`{@${t} ...} tag cannot be ${e}`,"missing-attribute-value":()=>"Expected attribute value","unclosed-attribute-value":e=>`Expected closing ${e} character`,"invalid-directive-value":()=>"Directive value must be a JavaScript expression enclosed in curly braces","empty-directive-name":e=>`${e} name cannot be empty`,"invalid-closing-tag":e=>`</${e}> attempted to close an element that was not open`,"invalid-closing-tag-after-autoclose":(e,t)=>`</${e}> attempted to close element that was already automatically closed by <${t}>`,"invalid-dollar-binding":()=>"The $ name is reserved, and cannot be used for variables and imports","invalid-dollar-prefix":()=>"The $ prefix is reserved, and cannot be used for variables and imports","invalid-dollar-global":()=>"The $ name is reserved. To reference a global variable called $, use globalThis.$","illegal-subscription":()=>'Cannot reference store value inside <script context="module">',"duplicate-style-element":()=>"A component can have a single top-level <style> element","duplicate-script-element":()=>'A component can have a single top-level <script> element and/or a single top-level <script context="module"> element',"css-parse-error":e=>e,"invalid-css-empty-declaration":()=>"Declaration cannot be empty","invalid-css-global-placement":()=>":global(...) can be at the start or end of a selector sequence, but not in the middle","invalid-css-global-selector":()=>":global(...) must contain exactly one selector","invalid-css-global-selector-list":()=>":global(...) cannot be used to modify a selector, or be modified by another selector","invalid-css-selector":()=>"Invalid selector","invalid-css-identifier":()=>"Expected a valid CSS identifier",...{"invalid-svelte-option-attribute":()=>"<svelte:options> can only receive static attributes","invalid-svelte-option-namespace":()=>'Unsupported <svelte:option> value for "namespace". Valid values are "html", "svg" or "foreign".',"tag-option-deprecated":()=>'"tag" option is deprecated — use "customElement" instead',"invalid-svelte-option-runes":()=>'Unsupported <svelte:option> value for "runes". Valid values are true or false.',"invalid-svelte-option-accessors":()=>'Unsupported <svelte:option> value for "accessors". Valid values are true or false.',"invalid-svelte-option-preserveWhitespace":()=>'Unsupported <svelte:option> value for "preserveWhitespace". Valid values are true or false.',"invalid-svelte-option-immutable":()=>'Unsupported <svelte:option> value for "immutable". Valid values are true or false.',"invalid-tag-property":()=>'tag name must be two or more words joined by the "-" character',"invalid-svelte-option-customElement":()=>'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }',"invalid-customElement-props-attribute":()=>'"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"',"invalid-customElement-shadow-attribute":()=>'"shadow" must be either "open" or "none"',"unknown-svelte-option-attribute":e=>`<svelte:options> unknown attribute '${e}'`,"illegal-svelte-head-attribute":()=>"<svelte:head> cannot have attributes nor directives","invalid-svelte-fragment-attribute":()=>"<svelte:fragment> can only have a slot attribute and (optionally) a let: directive","invalid-svelte-fragment-slot":()=>"<svelte:fragment> slot attribute must have a static value","invalid-svelte-fragment-placement":()=>"<svelte:fragment> must be the direct child of a component","invalid-svelte-element-placement":e=>`<${e}> tags cannot be inside elements or blocks`,"duplicate-svelte-element":e=>`A component can only have one <${e}> element`,"invalid-self-placement":()=>"<svelte:self> components can only exist inside {#if} blocks, {#each} blocks, {#snippet} blocks or slots passed to components","missing-svelte-element-definition":()=>"<svelte:element> must have a 'this' attribute","missing-svelte-component-definition":()=>"<svelte:component> must have a 'this' attribute","invalid-svelte-element-definition":()=>"Invalid element definition — must be an {expression}","invalid-svelte-component-definition":()=>"Invalid component definition — must be an {expression}","invalid-svelte-tag":(e,t)=>`Valid <svelte:...> tag names are ${rr(e)}${t?" (did you mean "+t+"?)":""}`},...{"invalid-legacy-props":()=>"Cannot use $$props in runes mode","invalid-legacy-rest-props":()=>"Cannot use $$restProps in runes mode","invalid-legacy-reactive-statement":()=>"$: is not allowed in runes mode, use $derived or $effect instead","invalid-legacy-export":()=>"Cannot use `export let` in runes mode — use $props instead","invalid-rune-usage":e=>`Cannot use ${e} rune in non-runes mode`,"invalid-state-export":()=>"Cannot export state if it is reassigned","invalid-derived-export":()=>"Cannot export derived state","invalid-props-id":()=>"$props() can only be used with an object destructuring pattern","invalid-props-pattern":()=>"$props() assignment must not contain nested properties or computed keys","invalid-props-location":()=>"$props() can only be used at the top level of components as a variable declaration initializer","invalid-derived-location":()=>"$derived() can only be used as a variable declaration initializer or a class field","invalid-state-location":()=>"$state() can only be used as a variable declaration initializer or a class field","invalid-effect-location":()=>"$effect() can only be used as an expression statement","invalid-const-assignment":(e,t)=>`Invalid ${e?"binding":"assignment"} to const variable${t?" ($derived values, let: directives, :then/:catch variables and @const declarations count as const)":""}`,"invalid-derived-assignment":()=>"Invalid assignment to derived state","invalid-derived-binding":()=>"Invalid binding to derived state","invalid-rune-args-length":(e,t)=>`${e} can only be called with ${rr(t,"or")} ${1===t.length&&1===t[0]?"argument":"arguments"}`,"duplicate-props-rune":()=>"Cannot use $props() more than once"},"invalid-textarea-content":()=>"A <textarea> can have either a value attribute or (equivalently) child content, but not both","invalid-void-content":()=>"Void elements cannot have children or closing tags","invalid-element-content":e=>`<${e}> cannot have children`,"invalid-tag-name":()=>"Expected valid tag name","invalid-node-placement":(e,t)=>`${e} is invalid inside <${t}>`,"illegal-title-attribute":()=>"<title> cannot have attributes nor directives","invalid-title-content":()=>"<title> can only contain text and {tags}","invalid-component-directive":()=>"This type of directive is not valid on components","empty-attribute-shorthand":()=>"Attribute shorthand cannot be empty","duplicate-attribute":()=>"Attributes need to be unique","invalid-event-attribute-value":()=>"Event attribute must be a JavaScript expression, not a string","invalid-attribute-name":e=>`'${e}' is not a valid attribute name`,"invalid-animation":e=>"no-each"===e?"An element that uses the animate directive must be the immediate child of a keyed each block":"each-key"===e?"An element that uses the animate directive must be used inside a keyed each block. Did you forget to add a key to your each block?":"An element that uses the animate directive must be the sole child of a keyed each block","duplicate-animation":()=>"An element can only have one 'animate' directive","invalid-event-modifier":e=>e?`Valid event modifiers are ${e.slice(0,-1).join(", ")} or ${e.slice(-1)}`:"Event modifiers other than 'once' can only be used on DOM elements","invalid-event-modifier-combination":(e,t)=>`The '${e}' and '${t}' modifiers cannot be used together`,"duplicate-transition":(e,t)=>{function r(e){return"transition"===e?"a 'transition'":`an '${e}'`}return e===t?`An element can only have one '${e}' directive`:`An element cannot have both ${r(e)} directive and ${r(t)} directive`},"invalid-let-directive-placement":()=>"let directive at invalid position","invalid-slot-element-attribute":()=>"<slot> can only receive attributes, not directives","invalid-slot-attribute":()=>"slot attribute must be a static value","invalid-slot-name":e=>e?"default is a reserved word — it cannot be used as a slot name":"slot attribute must be a static value","invalid-slot-placement":()=>"Element with a slot='...' attribute must be a child of a component or a descendant of a custom element","duplicate-slot-name":(e,t)=>`Duplicate slot name '${e}' in <${t}>`,"invalid-default-slot-content":()=>'Found default slot content alongside an explicit slot="default"',"invalid-binding-expression":()=>"Can only bind to an Identifier or MemberExpression","invalid-binding-value":()=>"Can only bind to state or props","invalid-binding":(e,t,r="")=>(t?`'${e}' binding can only be used with ${t}`:`'${e}' is not a valid binding`)+r,"invalid-type-attribute":()=>"'type' attribute must be a static text value if input uses two-way binding","invalid-multiple-attribute":()=>"'multiple' attribute must be static if select uses two-way binding","missing-contenteditable-attribute":()=>"'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings","dynamic-contenteditable-attribute":()=>"'contenteditable' attribute cannot be dynamic if element uses two-way binding","illegal-global":e=>`${e} is an illegal variable name. To reference a global variable called ${e}, use globalThis.${e}`,"duplicate-declaration":e=>`'${e}' has already been declared`,"default-export":()=>"A component cannot have a default export","invalid-compiler-option":e=>`Invalid compiler option: ${e}`,"removed-compiler-option":e=>`Invalid compiler option: ${e}`,"cyclical-reactive-declaration":e=>`Cyclical dependency detected: ${e.join(" → ")}`,"invalid-const-placement":()=>"{@const} must be the immediate child of {#if}, {:else if}, {:else}, {#each}, {:then}, {:catch}, <svelte:fragment> or <Component>"};class sr extends Error{name="CompileError";filename=void 0;position=void 0;start=void 0;end=void 0;constructor(e,t,r){super(t),this.code=e,this.position=r}toString(){let e=`${this.name}: ${this.message}`;return e+=`\n(${this.code})`,this.filename&&(e+=`\n${this.filename}`,this.start&&(e+=`${this.start.line}:${this.start.column}`)),e}}function ar(e,t,...r){const n=(0,nr[t])(...r),s="number"==typeof e?e:e?.start,a="number"==typeof e?e:e?.end;throw new sr(t,n,void 0!==s&&void 0!==a?[s,a]:void 0)}function ir(e){try{const t=Zt(e.template,e.ts,e.index);let r=0;for(let n=e.index;n<t.start;n+=1)"("===e.template[n]&&(r+=1);let n=t.end;for(;r>0;){const t=e.template[n];")"===t?r-=1:Ge.test(t)||ar(n,"expected-token",")"),n+=1}return e.index=n,t}catch(t){e.acorn_error(t)}}const or=/<\/script\s*>/,lr=/^<\/script\s*>/;function cr(e){const t=e.find((e=>"context"===e.name));if(!t)return"default";1===t.value.length&&"Text"===t.value[0].type||ar(t.start,"invalid-script-context");const r=t.value[0].data;return"module"!==r&&ar(t.start,"invalid-script-context"),r}const ur=/^[~^$*|]?=/,pr=/[\s\]]/,dr=/^[a-zA-Z]+/,hr=/^\s*(\+|~|>|\|\|)\s*/,mr=/^(\+|~|>|\|\|)/,fr=/^\d+(\.\d+)?%/,yr=/^\s*(even|odd|(-?[0-9]?n?(\s*\+\s*[0-9]+)?))(\s*(?=[,)])|\s+of\s+)/,vr=/[\s:]/,gr=/[{;]/,br=/-?\d/,xr=/[a-zA-Z0-9_-]/,_r=/\*\//,Cr=/-->/;function wr(e,t){const r=[];for(;e.index<e.template.length;){if(qr(e),e.match(t))return r;e.match("@")?r.push(Pr(e)):r.push(kr(e))}ar(e.template.length,"expected-token",t)}function Pr(e){const t=e.index;e.eat("@",!0);const r=Ir(e),n=e.read_until(gr).trim();let s=null;if(e.match("{")){if(["color-profile","counter-style","font-face","font-palette-values","page","property"].includes(r))s=Tr(e);else{const t=e.index;e.eat("{",!0);const r=wr(e,"}");e.eat("}",!0),s={type:"Block",start:t,end:e.index,children:r}}}else e.eat(";",!0);return{type:"Atrule",start:t,end:e.index,name:r,prelude:n,block:s}}function kr(e){const t=e.index;return{type:"Rule",prelude:Er(e),block:Tr(e),start:t,end:e.index}}function Er(e,t=!1){const r=[],n=e.index;for(;e.index<e.template.length;){r.push(Sr(e,t));const s=e.index;if(e.allow_whitespace(),t?e.match(")"):e.match("{"))return{type:"SelectorList",start:n,end:s,children:r};e.eat(",",!0),qr(e)}ar(e.template.length,"unexpected-eof")}function Sr(e,t=!1){const r=e.index,n=[];for(;e.index<e.template.length;){const s=e.index;if(e.eat("*")){let t="*";e.match("|")&&(e.index++,t=Ir(e)),n.push({type:"TypeSelector",name:t,start:s,end:e.index})}else if(e.eat("#"))n.push({type:"IdSelector",name:Ir(e),start:s,end:e.index});else if(e.eat("."))n.push({type:"ClassSelector",name:Ir(e),start:s,end:e.index});else if(e.eat("::"))n.push({type:"PseudoElementSelector",name:Ir(e),start:s,end:e.index});else if(e.eat(":")){const t=Ir(e);let r=null;e.eat("(")?(r=Er(e,!0),e.eat(")",!0)):"global"===t&&ar(e.index,"invalid-css-global-selector"),n.push({type:"PseudoClassSelector",name:t,args:r,start:s,end:e.index})}else if(e.eat("[")){e.allow_whitespace();const t=Ir(e);e.allow_whitespace();let r=null;const a=e.read(ur);a&&(e.allow_whitespace(),r=Rr(e)),e.allow_whitespace();const i=e.read(dr);e.allow_whitespace(),e.eat("]",!0),n.push({type:"AttributeSelector",start:s,end:e.index,name:t,matcher:a,value:r,flags:i})}else if(e.match_regex(hr)){e.allow_whitespace();const t=e.index;n.push({type:"Combinator",name:e.read(mr),start:t,end:e.index}),e.allow_whitespace()}else if(e.match_regex(fr))n.push({type:"Percentage",value:e.read(fr),start:s,end:e.index});else if(t&&e.match_regex(yr))n.push({type:"Nth",value:e.read(yr),start:s,end:e.index});else{let t=Ir(e);e.match("|")&&(e.index++,t=Ir(e)),n.push({type:"TypeSelector",name:t,start:s,end:e.index})}const a=e.index;if(e.allow_whitespace(),e.match(",")||(t?e.match(")"):e.match("{")))return e.index=a,{type:"Selector",start:r,end:a,children:n};e.index===a||e.match_regex(mr)||n.push({type:"Combinator",name:" ",start:a,end:e.index})}ar(e.template.length,"unexpected-eof")}function Tr(e){const t=e.index;e.eat("{",!0);const r=[];for(;e.index<e.template.length&&(qr(e),!e.match("}"));)r.push(Ar(e));return e.eat("}",!0),{type:"Block",start:t,end:e.index,children:r}}function Ar(e){const t=e.index,r=e.read_until(vr);e.allow_whitespace(),e.eat(":"),e.allow_whitespace();const n=function(e){let t="",r=!1,n=!1,s=null;for(;e.index<e.template.length;){const a=e.template[e.index];if(r)t+="\\"+a,r=!1;else if("\\"===a)r=!0;else if(a===s)s=null;else if(")"===a)n=!1;else if(null!==s||'"'!==a&&"'"!==a){if("("===a&&"url"===t.slice(-3))n=!0;else if(!(";"!==a&&"}"!==a||n||s))return t.trim()}else s=a;t+=a,e.index++}ar(e.template.length,"unexpected-eof")}(e),s=e.index;return e.match("}")||e.eat(";",!0),{type:"Declaration",start:t,end:s,property:r,value:n}}function Rr(e){let t="",r=!1;const n=e.eat('"')?'"':e.eat("'")?"'":null;for(;e.index<e.template.length;){const s=e.template[e.index];if(r)t+="\\"+s,r=!1;else if("\\"===s)r=!0;else{if(n?s===n:pr.test(s))return n&&e.eat(n,!0),t.trim();t+=s}e.index++}ar(e.template.length,"unexpected-eof")}function Ir(e){const t=e.index;let r="";(e.match("--")||e.match_regex(br))&&ar(t,"invalid-css-identifier");let n=!1;for(;e.index<e.template.length;){const t=e.template[e.index];if(n)r+="\\"+t,n=!1;else if("\\"===t)n=!0;else{if(!(t.codePointAt(0)>=160||xr.test(t)))break;r+=t}e.index++}return""===r&&ar(t,"invalid-css-identifier"),r}function qr(e){for(e.allow_whitespace();e.match("/*")||e.match("\x3c!--");)e.eat("/*")&&(e.read_until(_r),e.eat("*/",!0)),e.eat("\x3c!--")&&(e.read_until(Cr),e.eat("--\x3e",!0)),e.allow_whitespace()}var Lr={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};const Mr=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function Nr(e){const t=Object.keys(Lr).map((t=>function(e,t){return t&&!e.endsWith(";")?`${e}\\b(?!=)`:e}(t,e)));return new RegExp(`&(#(?:x[a-fA-F\\d]+|\\d+)(?:;)?|${t.join("|")})`,"g")}const Or=Nr(!1),$r=Nr(!0);function Dr(e,t){const r=t?$r:Or;return e.replace(r,((e,t)=>{let r;return r="#"!==t[0]?Lr[t]:"x"===t[1]?parseInt(t.substring(2),16):parseInt(t.substring(1),10),r?String.fromCodePoint(function(e){if(10===e)return 32;if(e<128)return e;if(e<=159)return Mr[e-128];if(e<55296)return e;if(e<=57343)return jr;if(e<=65535)return e;if(e>=65536&&e<=131071)return e;if(e>=131072&&e<=196607)return e;return jr}(r)):e}))}const jr=0;const Br={li:new Set(["li"]),dt:new Set(["dt","dd"]),dd:new Set(["dt","dd"]),p:new Set("address article aside blockquote div dl fieldset footer form h1 h2 h3 h4 h5 h6 header hgroup hr main menu nav ol p pre section table ul".split(" ")),rt:new Set(["rt","rp"]),rp:new Set(["rt","rp"]),optgroup:new Set(["optgroup"]),option:new Set(["option","optgroup"]),thead:new Set(["tbody","tfoot"]),tbody:new Set(["tbody","tfoot"]),tfoot:new Set(["tbody"]),tr:new Set(["tr","tbody"]),td:new Set(["td","th","tr"]),th:new Set(["td","th","tr"])};function Fr(e=!1){return{type:"Fragment",nodes:[],transparent:e}}const Vr=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function Hr(e){return Vr.includes(e.type)}function Ur(e){return e.name.includes("-")}function zr(e,t,r,n){return{type:"Attribute",start:t,end:r,name:e,value:n,parent:null,metadata:{dynamic:!1,delegated:null}}}const Wr=/^\!?[a-zA-Z]{1,}:?[a-zA-Z0-9\-]*/,Gr=/^(\/>|[\s"'=<>`])/,Kr=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),Xr=new Map([...Kr,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"]]),Jr=Array.from(Xr.keys()),Qr=/^svelte:self(?=[\s/>])/,Yr=/^svelte:component(?=[\s/>])/,Zr=/^svelte:fragment(?=[\s/>])/,en=/^svelte:element(?=[\s/>])/;const tn=/^<\/textarea(\s[^>]*)?>/i,rn=/-->/,nn=/[A-Z]/;function sn(e){const t=e.index++;let r=e.current();if(e.eat("!--")){const r=e.read_until(rn);return e.eat("--\x3e",!0),void e.append({type:"Comment",start:t,end:e.index,data:r,ignores:ct(r)})}const n=e.eat("/"),s=function(e){const t=e.index;if(e.read(Qr)){let r=e.stack.length,n=!1;for(;r--;){const t=e.stack[r];if("IfBlock"===t.type||"EachBlock"===t.type||"Component"===t.type||"SnippetBlock"===t.type){n=!0;break}}return n||ar(t,"invalid-self-placement"),"svelte:self"}if(e.read(Yr))return"svelte:component";if(e.read(en))return"svelte:element";if(e.read(Zr))return"svelte:fragment";const r=e.read_until(an);if(Xr.has(r))return r;if(r.startsWith("svelte:")){const e=dt(r.slice(7),Jr);ar(t,"invalid-svelte-tag",Jr,e)}Wr.test(r)||ar(t,"invalid-tag-name");return r}(e);Kr.has(s)&&(n?"svelte:window"!==s&&"svelte:body"!==s&&"svelte:document"!==s||!r.fragment.nodes.length||ar(r.fragment.nodes[0].start,"invalid-element-content",s):(s in e.meta_tags&&ar(t,"duplicate-svelte-element",s),"Root"!==r.type&&ar(t,"invalid-svelte-element-placement",s),e.meta_tags[s]=!0));const a=Xr.has(s)?Xr.get(s):nn.test(s[0])||"svelte:self"===s||"svelte:component"===s?"Component":"title"===s&&function(e){let t=e.length;for(;t--;){const{type:r}=e[t];if("SvelteHead"===r)return!0;if("RegularElement"===r||"Component"===r)return!1}return!1}(e.stack)?"TitleElement":"slot"===s?"SlotElement":"RegularElement",i="RegularElement"===a?{type:a,start:t,end:-1,name:s,attributes:[],fragment:Fr(!0),metadata:{svg:!1,has_spread:!1,can_delegate_events:null},parent:null}:{type:a,start:t,end:-1,name:s,attributes:[],fragment:Fr(!0),parent:null};if(e.allow_whitespace(),n){for(xt(s)&&ar(t,"invalid-void-content"),e.eat(">",!0);r.name!==s;)"RegularElement"!==r.type&&(e.last_auto_closed_tag&&e.last_auto_closed_tag.tag===s?ar(t,"invalid-closing-tag-after-autoclose",s,e.last_auto_closed_tag.reason):ar(t,"invalid-closing-tag",s)),r.end=t,e.pop(),r=e.current();return r.end=e.index,e.pop(),void(e.last_auto_closed_tag&&e.stack.length<e.last_auto_closed_tag.depth&&(e.last_auto_closed_tag=void 0))}"RegularElement"===r.type&&function(e,t){return!(!Br[e]||t&&!Br[e].has(t))}(r.name,s)&&(r.end=t,e.pop(),e.last_auto_closed_tag={tag:r.name,reason:s,depth:e.stack.length});const o=[],l=e.current(),c=("script"===s||"style"===s)&&"Root"===l.type,u=c?un:pn;let p;for(;p=u(e);)"Attribute"!==p.type&&"BindDirective"!==p.type||(o.includes(p.name)?ar(p.start,"duplicate-attribute"):"this"!==p.name&&o.push(p.name)),i.attributes.push(p),e.allow_whitespace();if("SvelteComponent"===i.type){const e=i.attributes.findIndex((e=>"Attribute"===e.type&&"this"===e.name));-1===e&&ar(t,"missing-svelte-component-definition");const r=i.attributes.splice(e,1)[0];!0!==r.value&&1===r.value.length&&"Text"!==r.value[0].type||ar(r.start,"invalid-svelte-component-definition"),i.expression=r.value[0].expression}if("SvelteElement"===i.type){const e=i.attributes.findIndex((e=>"Attribute"===e.type&&"this"===e.name));-1===e&&ar(t,"missing-svelte-element-definition");const r=i.attributes.splice(e,1)[0];!0!==r.value&&1===r.value.length||ar(r.start,"invalid-svelte-element-definition");const n=r.value[0];i.tag="Text"===n.type?{type:"Literal",value:n.data,raw:`'${n.raw}'`}:n.expression}if(c){if(e.eat(">",!0),"script"===s){const r=function(e,t,r){const n=e.index,s=e.read_until(or);e.index>=e.template.length&&ar(e.template.length,"unclosed-element","script");const a=e.template.slice(0,n).replace(nt," ")+s;let i;e.read(lr);try{i=Yt(a,e.ts)}catch(t){e.acorn_error(t)}return i.start=n,{type:"Script",start:t,end:e.index,context:cr(r),content:i,parent:null}}(e,t,i.attributes);r&&("module"===r.context?(l.module&&ar(t,"duplicate-script-element"),l.module=r):(l.instance&&ar(t,"duplicate-script-element"),l.instance=r))}else{const r=function(e,t,r){const n=e.index,s=wr(e,"</style"),a=e.index;return e.read(/^<\/style\s*>/),{type:"Style",start:t,end:e.index,attributes:r,children:s,content:{start:n,end:a,styles:e.template.slice(n,a)},parent:null}}(e,t,i.attributes);r&&(l.css&&ar(t,"duplicate-style-element"),l.css=r)}return}e.append(i);const d=e.eat("/")||xt(s);if(e.eat(">",!0),d)i.end=e.index;else if("textarea"===s)i.fragment.nodes=dn(e,(()=>tn.test(e.template.slice(e.index))),"inside <textarea>"),e.read(tn),i.end=e.index;else if("script"===s||"style"===s){const t=e.index,r=e.read_until(new RegExp(`</${s}>`)),n={start:t,end:e.index,type:"Text",data:r,raw:r,parent:null};i.fragment.nodes.push(n),e.eat(`</${s}>`,!0),i.end=e.index}else e.stack.push(i),e.fragments.push(i.fragment)}const an=/(\s|\/|>)/;const on=/[\s=\/>"']/,ln=/^["']/,cn=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/;function un(e){const t=e.index,r=e.read_until(on);if(!r)return null;let n=!0;if(e.eat("=")){e.allow_whitespace();let t=e.match_regex(cn);t||ar(e.index,"missing-attribute-value"),e.index+=t.length;const r='"'===t[0]||"'"===t[0];r&&(t=t.slice(1,-1)),n=[{start:e.index-t.length-(r?1:0),end:r?e.index-1:e.index,type:"Text",raw:t,data:Dr(t,!0),parent:null}]}return e.match_regex(ln)&&ar(e.index,"expected-token","="),zr(r,t,e.index,n)}function pn(e){const t=e.index;if(e.eat("{")){if(e.allow_whitespace(),e.eat("...")){const r=ir(e);e.allow_whitespace(),e.eat("}",!0);return{type:"SpreadAttribute",start:t,end:e.index,expression:r,parent:null,metadata:{contains_call_expression:!1,dynamic:!1}}}{const r=e.index,n=e.read_identifier();null===n&&ar(t,"empty-attribute-shorthand"),e.allow_whitespace(),e.eat("}",!0);const s={type:"ExpressionTag",start:r,end:r+n.length,expression:{start:r,end:r+n.length,type:"Identifier",name:n},parent:null,metadata:{dynamic:!1,contains_call_expression:!1}};return zr(n,t,e.index,[s])}}const r=e.read_until(on);if(!r)return null;let n=e.index;e.allow_whitespace();const s=r.indexOf(":"),a=-1!==s&&function(e){return"use"===e?"UseDirective":"animate"===e?"AnimateDirective":"bind"===e?"BindDirective":"class"===e?"ClassDirective":"style"===e?"StyleDirective":"on"===e?"OnDirective":"let"===e?"LetDirective":("in"===e||"out"===e||"transition"===e)&&"TransitionDirective"}(r.slice(0,s));let i=!0;if(e.eat("=")?(e.allow_whitespace(),i=function(e){const t=e.eat("'")?"'":e.eat('"')?'"':null;if(t&&e.eat(t))return[{start:e.index-1,end:e.index-1,type:"Text",raw:"",data:"",parent:null}];let r;try{r=dn(e,(()=>t?e.match(t):!!e.match_regex(Gr)),"in attribute value")}catch(r){if("js-parse-error"===r.code){const n=r.position?.[0];void 0!==n&&"/>"===e.template.slice(n-1,n+1)&&(e.index=n,ar(n,"unclosed-attribute-value",t||"}"))}throw r}0!==r.length||t||ar(e.index,"missing-attribute-value");t&&(e.index+=1);return r}(e),n=e.index):e.match_regex(ln)&&ar(e.index,"expected-token","="),a){const[e,...o]=r.slice(s+1).split("|");if(""===e&&ar(t+s+1,"empty-directive-name",a),"StyleDirective"===a)return{start:t,end:n,type:a,name:e,modifiers:o,value:i,parent:null,metadata:{dynamic:!1}};const l=!0===i?void 0:i[0];let c=null;if(l){i.length>1||"Text"===l.type?ar(l.start,"invalid-directive-value"):c=l.expression}const u={start:t,end:n,type:a,name:e,modifiers:o,expression:c};if("ClassDirective"===u.type&&(u.metadata={dynamic:!1}),"TransitionDirective"===u.type){const e=r.slice(0,s);u.intro="in"===e||"transition"===e,u.outro="out"===e||"transition"===e}return"BindDirective"!==u.type&&"ClassDirective"!==u.type||u.expression||(u.expression={start:t+s+1,end:n,type:"Identifier",name:u.name}),u}return zr(r,t,n,i)}function dn(e,t,r){let n={start:e.index,end:-1,type:"Text",raw:"",data:"",parent:null};const s=[];function a(e){n.raw&&(n.data=Dr(n.raw,!0),n.end=e,s.push(n))}for(;e.index<e.template.length;){const i=e.index;if(t())return a(e.index),s;if(e.eat("{")){if(e.match("#")){const t=e.index-1;e.eat("#");ar(t,"invalid-block-placement",r,e.read_until(/[^a-z]/))}else if(e.match("@")){const t=e.index-1;e.eat("@");ar(t,"invalid-tag-placement",r,e.read_until(/[^a-z]/))}a(e.index-1),e.allow_whitespace();const t=ir(e);e.allow_whitespace(),e.eat("}",!0);const o={type:"ExpressionTag",start:i,end:e.index,expression:t,parent:null,metadata:{contains_call_expression:!1,dynamic:!1}};s.push(o),n={start:e.index,end:-1,type:"Text",raw:"",data:"",parent:null}}else n.raw+=e.template[e.index++]}ar(e.template.length,"unexpected-eof")}function hn(e,t){const r=e.charCodeAt(t);if(r<=55295||r>=57344)return r;return(r<<10)+e.charCodeAt(t+1)-56613888}const mn="[".charCodeAt(0),fn="]".charCodeAt(0),yn="{".charCodeAt(0),vn="}".charCodeAt(0);function gn(e){return e===mn||e===yn}function bn(e){return e===fn||e===vn}function xn(e,t){return e===mn&&t===fn||e===yn&&t===vn}function _n(e){return e===mn?fn:e===yn?vn:void 0}function Cn(e){const t=e.index;let r=e.index;const n=hn(e.template,r);if(p(n,!0)){const r=e.read_identifier(),n=wn(e);return{type:"Identifier",name:r,start:t,end:e.index,typeAnnotation:n}}gn(n)||ar(r,"expected-pattern");const s=[n];for(r+=n<=65535?1:2;r<e.template.length;){const t=hn(e.template,r);if(gn(t))s.push(t);else if(bn(t)){const e=s.pop();if(xn(e,t)||ar(r,"expected-token",String.fromCharCode(_n(e))),0===s.length){r+=t<=65535?1:2;break}}r+=t<=65535?1:2}e.index=r;const a=e.template.slice(t,r);try{let r=e.template.slice(0,t).replace(nt," ");const n=r.indexOf(" ");r=r.slice(0,n)+r.slice(n+1);const s=Zt(`${r}(${a} = 1)`,e.ts,t-1).left;return s.typeAnnotation=wn(e),s.typeAnnotation&&(s.end=s.typeAnnotation.end),s}catch(t){e.acorn_error(t)}}function wn(e){const t=e.index;if(e.allow_whitespace(),e.eat(":")){const t="_ as ";let r=e.index-t.length;let n=Zt(" ".repeat(r)+t+e.template.slice(e.index),e.ts,r);return"SequenceExpression"===n.type&&(n=n.expressions[0]),e.index=n.end,n.typeAnnotation}e.index=t}const Pn=/^\s*}/;function kn(e){const t=e.index;if(e.index+=1,e.allow_whitespace(),e.eat("#"))return function(e){const t=e.index-2;if(e.eat("if")){e.require_whitespace();const r=e.append({type:"IfBlock",elseif:!1,start:t,end:-1,test:ir(e),consequent:Fr(),alternate:null});return e.allow_whitespace(),e.eat("}",!0),e.stack.push(r),void e.fragments.push(r.consequent)}if(e.eat("each")){e.require_whitespace();const r=e.template;let n,s=e.template.length;for(;!n;)try{n=ir(e)}catch(n){for(s=n.position[0]-2;s>t&&"as"!==e.template.slice(s,s+2);)s-=1;if(s<=t)throw n;e.template=r.slice(0,s)}if(e.template=r,e.allow_whitespace(),!e.match("as")){"SequenceExpression"===n.type&&(n=n.expressions[0]);let t=null,r=n.end;if(n=_t(n,null,{TSAsExpression(e,s){if(e.end===n.end)return t=e,r=e.expression.end,e.expression;s.next()}}),n.end=r,t){let r=t.typeAnnotation.start-2;for(;"as"!==e.template.slice(r,r+2);)r-=1;e.index=r}}e.eat("as",!0),e.require_whitespace();const a=Cn(e);let i,o;e.allow_whitespace(),e.eat(",")&&(e.allow_whitespace(),i=e.read_identifier(),i||ar(e.index,"expected-identifier"),e.allow_whitespace()),e.eat("(")&&(e.allow_whitespace(),o=ir(e),e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace()),e.eat("}",!0);const l=e.append({type:"EachBlock",start:t,end:-1,expression:n,body:Fr(),context:a,index:i,key:o,metadata:null});return e.stack.push(l),void e.fragments.push(l.body)}if(e.eat("await")){e.require_whitespace();const r=ir(e);e.allow_whitespace();const n=e.append({type:"AwaitBlock",start:t,end:-1,expression:r,value:null,error:null,pending:null,then:null,catch:null});return e.eat("then")?(e.match_regex(Pn)||(e.require_whitespace(),n.value=Cn(e)),e.allow_whitespace(),n.then=Fr(),e.fragments.push(n.then)):e.eat("catch")?(e.match_regex(Pn)||(e.require_whitespace(),n.error=Cn(e)),e.allow_whitespace(),n.catch=Fr(),e.fragments.push(n.catch)):(n.pending=Fr(),e.fragments.push(n.pending)),e.eat("}",!0),void e.stack.push(n)}if(e.eat("key")){e.require_whitespace();const r=ir(e);e.allow_whitespace(),e.eat("}",!0);const n=e.append({type:"KeyBlock",start:t,end:-1,expression:r,fragment:Fr()});return e.stack.push(n),void e.fragments.push(n.fragment)}if(e.eat("snippet")){e.require_whitespace();const r=e.index,n=e.read_identifier(),s=e.index;e.eat("(",!0),e.allow_whitespace();const a=e.match(")")?null:Cn(e);e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace(),e.eat("}",!0);const i=e.append({type:"SnippetBlock",start:t,end:-1,expression:{type:"Identifier",start:r,end:s,name:n},context:a,body:Fr()});return e.stack.push(i),void e.fragments.push(i.body)}ar(e.index,"expected-block-type")}(e);if(e.eat("/"))return function(e){const t=e.index-1;let r=e.current();switch(r.type){case"IfBlock":for(e.eat("if",!0),e.allow_whitespace(),e.eat("}",!0);r.elseif;)r.end=e.index,e.stack.pop(),r=e.current();return r.end=e.index,void e.pop();case"EachBlock":e.eat("each",!0);break;case"KeyBlock":e.eat("key",!0);break;case"AwaitBlock":e.eat("await",!0);break;case"SnippetBlock":e.eat("snippet",!0);break;default:ar(t,"unexpected-block-close")}e.allow_whitespace(),e.eat("}",!0),r.end=e.index,e.pop()}(e);if(e.eat(":"))return function(e){const t=e.index-1,r=e.current();if("IfBlock"===r.type){if(e.eat("else")||ar(t,"expected-token","{:else} or {:else if}"),e.eat("if")&&ar(t,"invalid-elseif"),e.allow_whitespace(),e.fragments.pop(),r.alternate=Fr(),e.fragments.push(r.alternate),e.eat("if")){e.require_whitespace();const t=ir(e);e.allow_whitespace(),e.eat("}",!0);const r=e.append({start:e.index,end:-1,type:"IfBlock",elseif:!0,test:t,consequent:Fr(),alternate:null});e.stack.push(r),e.fragments.pop(),e.fragments.push(r.consequent)}else e.allow_whitespace(),e.eat("}",!0);return}if("EachBlock"===r.type)return e.eat("else")||ar(t,"expected-token","{:else}"),e.allow_whitespace(),e.eat("}",!0),r.fallback=Fr(),e.fragments.pop(),void e.fragments.push(r.fallback);if("AwaitBlock"===r.type){if(e.eat("then"))return r.then&&ar(t,"duplicate-block-part","{:then}"),e.eat("}")||(e.require_whitespace(),r.value=Cn(e),e.allow_whitespace(),e.eat("}",!0)),r.then=Fr(),e.fragments.pop(),void e.fragments.push(r.then);if(e.eat("catch"))return r.catch&&ar(t,"duplicate-block-part","{:catch}"),e.eat("}")||(e.require_whitespace(),r.error=Cn(e),e.allow_whitespace(),e.eat("}",!0)),r.catch=Fr(),e.fragments.pop(),void e.fragments.push(r.catch);ar(t,"expected-token","{:then ...} or {:catch ...}")}ar(t,"invalid-continuing-block-placement")}(e);if(e.eat("@"))return function(e){let t=e.index;for(;"{"!==e.template[t];)t-=1;if(e.eat("html")){e.require_whitespace();const r=ir(e);return e.allow_whitespace(),e.eat("}",!0),void e.append({type:"HtmlTag",start:t,end:e.index,expression:r})}if(e.eat("debug")){let r;if(e.read(Pn))r=[];else{const t=ir(e);r="SequenceExpression"===t.type?t.expressions:[t],r.forEach((e=>{"Identifier"!==e.type&&ar(e.start,"invalid-debug")})),e.allow_whitespace(),e.eat("}",!0)}return void e.append({type:"DebugTag",start:t,end:e.index,identifiers:r})}if(e.eat("const")){const r=e.index-5;e.require_whitespace();let n,s=e.index;const a=e.template.substring(0,r).replace(/[^\n]/g," ");for(;s=e.template.indexOf("}",s+1),-1!==s;)try{const t=Yt(a+e.template.substring(r,s),e.ts).body[0];if("VariableDeclaration"===t?.type){n=t;break}}catch(e){continue}void 0!==n&&1===n.declarations.length&&void 0!==n.declarations[0].init||ar(t,"invalid-const"),e.index=s,e.eat("}",!0),e.append({type:"ConstTag",start:t,end:e.index,declaration:n})}if(e.eat("render")){e.require_whitespace();const r=ir(e);"CallExpression"===r.type&&"Identifier"===r.callee.type||ar(r,"TODO","expected an identifier followed by (...)"),r.arguments.length>1&&ar(r.arguments[1],"TODO","expected at most one argument"),e.allow_whitespace(),e.eat("}",!0),e.append({type:"RenderTag",start:t,end:e.index,expression:r.callee,argument:r.arguments[0]??null})}}(e);const r=ir(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"ExpressionTag",start:t,end:e.index,expression:r,metadata:{contains_call_expression:!1,dynamic:!1}})}function En(e){const t=e.index;let r="";for(;e.index<e.template.length&&!e.match("<")&&!e.match("{");)r+=e.template[e.index++];e.append({type:"Text",start:t,end:e.index,raw:r,data:Dr(r,!1)})}function Sn(e){return e.match("<")?sn:e.match("{")?kn:En}const Tn=/^[a-zA-Z][a-zA-Z0-9]*-[a-zA-Z0-9-]+$/;function An(e,t){const{value:r}=e,n=r[0];return!n||(r.length>1&&t(e),"Text"===n.type?n.data:("Literal"!==n.expression.type&&t(e),n.expression.value))}function Rn(e,t){"string"!=typeof t&&null!==t&&ar(e,"invalid-tag-property"),t&&!Tn.test(t)&&ar(e,"invalid-tag-property")}const In=/ \(\d+:\d+\)$/,qn=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/;class Ln{template;index=0;ts=!1;stack=[];fragments=[];root;meta_tags={};last_auto_closed_tag;constructor(e){if("string"!=typeof e)throw new TypeError("Template must be a string");this.template=e.trimRight(),this.ts="ts"===qn.exec(e)?.[2],this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:Fr(),options:null},this.stack.push(this.root),this.fragments.push(this.root.fragment);let t=Sn;for(;this.index<this.template.length;)t=t(this)||Sn;if(this.stack.length>1){const e=this.current();"RegularElement"===e.type?(e.end=e.start+1,ar(e,"unclosed-element",e.name)):(e.end=e.start+1,ar(e,"unclosed-block"))}if(t!==Sn&&ar(this.index,"unexpected-eof"),this.root.fragment.nodes.length){let t=this.root.fragment.nodes[0].start;for(;Ge.test(e[t]);)t+=1;let r=this.root.fragment.nodes[this.root.fragment.nodes.length-1].end;for(;Ge.test(e[r-1]);)r-=1;this.root.start=t,this.root.end=r}else this.root.start=this.root.end=null;const r=this.root.fragment.nodes.findIndex((e=>"SvelteOptions"===e.type));if(-1!==r){const e=this.root.fragment.nodes[r];this.root.fragment.nodes.splice(r,1),this.root.options=function(e){const t={start:e.start,end:e.end};if(!e)return t;for(const r of e.attributes){"Attribute"!==r.type&&ar(r,"invalid-svelte-option-attribute");const{name:e}=r;switch(e){case"runes":{const e=An(r,(()=>ar(r,"invalid-svelte-option-runes")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-runes"),t.runes=e;break}case"tag":ar(r,"tag-option-deprecated");break;case"customElement":{const e={tag:""},{value:n}=r;if(!0===n)ar(r,"invalid-svelte-option-customElement");else{if("Text"===n[0].type){const n=An(r,(()=>ar(r,"invalid-tag-property")));Rn(r,n),e.tag=n,t.customElement=e;break}"ObjectExpression"!==n[0].expression.type&&ar(r,"invalid-svelte-option-customElement")}const s=[];for(const e of n[0].expression.properties)("Property"!==e.type||e.computed||"Identifier"!==e.key.type)&&ar(r,"invalid-svelte-option-customElement"),s.push([e.key.name,e.value]);const a=s.find((([e])=>"tag"===e));if(a){const t=a[1]?.value;Rn(a,t),e.tag=t}else ar(r,"invalid-svelte-option-customElement");const i=s.find((([e])=>"props"===e))?.[1];if(i){"ObjectExpression"!==i.type&&ar(r,"invalid-customElement-props-attribute"),e.props={};for(const t of i.properties){("Property"!==t.type||t.computed||"Identifier"!==t.key.type||"ObjectExpression"!==t.value.type)&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name]={};for(const n of t.value.properties)("Property"!==n.type||n.computed||"Identifier"!==n.key.type||"Literal"!==n.value.type)&&ar(r,"invalid-customElement-props-attribute"),"type"===n.key.name?(-1===["String","Number","Boolean","Array","Object"].indexOf(n.value.value)&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].type=n.value.value):"reflect"===n.key.name?("boolean"!=typeof n.value.value&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].reflect=n.value.value):"attribute"===n.key.name?("string"!=typeof n.value.value&&ar(r,"invalid-customElement-props-attribute"),e.props[t.key.name].attribute=n.value.value):ar(r,"invalid-customElement-props-attribute")}}const o=s.find((([e])=>"shadow"===e))?.[1];if(o){const t=o?.value;"open"!==t&&"none"!==t&&ar(o,"invalid-customElement-shadow-attribute"),e.shadow=t}const l=s.find((([e])=>"extend"===e))?.[1];l&&(e.extend=l),t.customElement=e;break}case"namespace":{const e=An(r,(()=>ar(r,"invalid-svelte-option-namespace")));"string"!=typeof e&&ar(r,"invalid-svelte-option-namespace"),"http://www.w3.org/2000/svg"===e?t.namespace="svg":"html"===e||"svg"===e||"foreign"===e?t.namespace=e:ar(r,"invalid-svelte-option-namespace");break}case"immutable":{const e=An(r,(()=>ar(r,"invalid-svelte-option-immutable")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-immutable"),t.immutable=e;break}case"preserveWhitespace":{const e=An(r,(()=>ar(r,"invalid-svelte-option-preserveWhitespace")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-preserveWhitespace"),t.preserveWhitespace=e;break}case"accessors":{const e=An(r,(()=>ar(r,"invalid-svelte-option-accessors")));"boolean"!=typeof e&&ar(r,"invalid-svelte-option-accessors"),t.accessors=e;break}default:ar(r,"unknown-svelte-option-attribute",e)}}return t}(e),Object.defineProperty(this.root.options,"__raw__",{value:e,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}acorn_error(e){ar(e.pos,"js-parse-error",e.message.replace(In,""))}eat(e,t){return this.match(e)?(this.index+=e.length,!0):(t&&(this.index===this.template.length?ar(this.index,"unexpected-eof",e):ar(this.index,"expected-token",e)),!1)}match(e){const t=e.length;return 1===t?this.template[this.index]===e:this.template.slice(this.index,this.index+t)===e}match_regex(e){const t=e.exec(this.template.slice(this.index));return t&&0===t.index?t[0]:null}allow_whitespace(){for(;this.index<this.template.length&&Ge.test(this.template[this.index]);)this.index++}read(e){const t=this.match_regex(e);return t&&(this.index+=t.length),t}read_identifier(e=!1){const t=this.index;let r=this.index;const n=hn(this.template,r);if(!p(n,!0))return null;for(r+=n<=65535?1:2;r<this.template.length;){const e=hn(this.template,r);if(!d(e,!0))break;r+=e<=65535?1:2}const s=this.template.slice(this.index,this.index=r);return!e&>.includes(s)&&ar(t,"unexpected-reserved-word",s),s}read_until(e){this.index>=this.template.length&&ar(this.template.length,"unexpected-eof");const t=this.index,r=e.exec(this.template.slice(t));return r?(this.index=t+r.index,this.template.slice(t,this.index)):(this.index=this.template.length,this.template.slice(t))}require_whitespace(){Ge.test(this.template[this.index])||ar(this.index,"missing-whitespace"),this.allow_whitespace()}pop(){return this.fragments.pop(),this.stack.pop()}append(e){const t=this.current(),r=this.fragments.at(-1);return Object.defineProperties(e,{prev:{enumerable:!1,value:r?.nodes.at(-1)??null},parent:{enumerable:!1,configurable:!0,value:t}}),r.nodes.push(e),e}}function Mn(e){return new Ln(e).root}function Nn(e,t){if("MemberExpression"===e.type)return!e.computed&&Nn(e.object,e);if("Identifier"===e.type){if(!t)return!0;switch(t.type){case"MemberExpression":return t.computed||e===t.object;case"MethodDefinition":return t.computed;case"PropertyDefinition":case"Property":return t.computed||e===t.value;case"ExportSpecifier":case"ImportSpecifier":return e===t.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function On(e,t){e!==t&&ar(null,"INTERNAL","Assertion failed")}function $n(e=[]){return{type:"ArrayExpression",elements:e}}function Dn(e){return{type:"ArrayPattern",elements:e}}function jn(e,t){return{type:"ArrowFunctionExpression",params:e,body:t,expression:"BlockStatement"!==t.type,generator:!1,async:!1,metadata:null}}function Bn(e,t,r){return{type:"AssignmentExpression",operator:e,left:t,right:r}}function Fn(e,t,r){return{type:"BinaryExpression",operator:e,left:t,right:r}}function Vn(e){return{type:"BlockStatement",body:e}}function Hn(e,...t){for("string"==typeof e&&(e=Zn(e)),t=t.slice();t.length>0&&!t.at(-1);)t.pop();return{type:"CallExpression",callee:e,arguments:t,optional:!1}}function Un(e,...t){const r=Hn(e,...t);return r.optional=!0,{type:"ChainExpression",expression:r}}function zn(e,t){return{type:"UnaryExpression",argument:t,operator:e,prefix:!0}}function Wn(e,t,r){return{type:"ConditionalExpression",test:e,consequent:t,alternate:r}}function Gn(e,t,r){return"string"==typeof t&&(t=Zn(t)),{type:"VariableDeclaration",kind:e,declarations:[r?Kn(t,r):Kn(t)]}}function Kn(e,t){return{type:"VariableDeclarator",id:e,init:t}}const Xn={type:"EmptyStatement"};function Jn(e){return{type:"ExportDefaultDeclaration",declaration:e}}function Qn(e,t,r){return{type:"FunctionDeclaration",id:e,params:t,body:r,generator:!1,async:!1,metadata:null}}function Yn(e,t){return os("get",Is(e),ks(null,[],Vn(t)))}function Zn(e){return{type:"Identifier",name:e}}function es(e){return{type:"PrivateIdentifier",name:e}}function ts(e,t){return os("init",Is(e),t)}function rs(e){return{type:"Literal",value:e}}function ns(e,t,r=!1,n=!1){return{type:"MemberExpression",object:e,property:t,computed:r,optional:n}}function ss(e){const t=e.split(".");let r=Zn(t[0]);for(let e=1;e<t.length;e+=1)r=ns(r,Zn(t[e]));return r}function as(e){return{type:"ObjectExpression",properties:e}}function is(e){return{type:"ObjectPattern",properties:e}}function os(e,t,r,n=!1){return{type:"Property",kind:e,key:t,value:r,method:!1,shorthand:!1,computed:n}}function ls(e,t,r=!1,n=!1){return{type:"PropertyDefinition",key:e,value:t,computed:r,static:n}}function cs(e,t=!1){return{type:"TemplateElement",value:{raw:e.replace(/\\/g,"\\\\").replace(/`/g,"\\`").replace(/\$/g,"\\$"),cooked:e},tail:t}}function us(e){return{type:"SequenceExpression",expressions:e}}function ps(e,t){return os("set",Is(e),ks(null,[Zn("$$value")],Vn(t)))}function ds(e){return{type:"ExpressionStatement",expression:e}}function hs(e,t){return{type:"TemplateLiteral",quasis:e,expressions:t}}function ms(e){return"CallExpression"===e.type&&"Super"!==e.callee.type&&"MemberExpression"!==e.callee.type&&0===e.arguments.length?e.callee:jn([],e)}function fs(e,...t){return"string"==typeof e&&(e=Zn(e)),{callee:e,arguments:t,type:"NewExpression"}}function ys(e,t){return{type:"DoWhileStatement",test:e,body:t}}const vs=rs(!0),gs=rs(!1),bs={type:"DebuggerStatement"},xs={type:"ThisExpression"};function _s(e,t){return Gn("let",e,t)}function Cs(e,t){return Gn("const",e,t)}function ws(e,t){return Gn("var",e,t)}function Ps(e,t,r,n,s=!1,a=!1){return{type:"MethodDefinition",key:t,kind:e,value:ks(null,r,Vn(n)),computed:s,static:a}}function ks(e,t,r){return{type:"FunctionExpression",id:e,params:t,body:r,generator:!1,async:!1,metadata:null}}function Es(e,t,r){return{type:"IfStatement",test:e,consequent:t,alternate:r}}function Ss(e,t){return{type:"ImportDeclaration",source:rs(t),specifiers:[(r=e,{type:"ImportNamespaceSpecifier",local:Zn(r)})]};var r}function Ts(e,t){return{type:"ImportDeclaration",source:rs(t),specifiers:e.map((e=>({type:"ImportSpecifier",imported:Zn(e[0]),local:Zn(e[1])})))}}function As(e=null){return{type:"ReturnStatement",argument:e}}function Rs(e){return{type:"ThrowStatement",argument:fs("Error",rs(e))}}function Is(e){return st.test(e)?Zn(e):rs(e)}function qs(e){for(;"MemberExpression"===e.type;)e=e.object;return"Identifier"!==e.type?null:e}function Ls(e){return!0!==e.value&&1===e.value.length&&"Text"===e.value[0].type}function Ms(e){return function(e){return!0!==e.value&&1===e.value.length&&"ExpressionTag"===e.value[0].type}(e)&&e.name.startsWith("on")}function Ns(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?Ns(r.argument,t):Ns(r.value,t);break;case"ArrayPattern":for(const r of e.elements)r&&Ns(r,t);break;case"RestElement":Ns(e.argument,t);break;case"AssignmentPattern":Ns(e.left,t)}return t}function Os(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"ObjectExpression":for(const r of e.properties)"Property"===r.type?Os(r.value,t):Os(r.argument,t);break;case"ArrayExpression":for(const r of e.elements)r&&Os(r,t)}return t}function $s(e){return Ds([],e,(e=>e),(e=>e))}function Ds(e=[],t,r,n){switch(t.type){case"Identifier":case"MemberExpression":e.push({node:t,is_rest:!1,expression:r,update_expression:n});break;case"ObjectPattern":for(const n of t.properties)if("RestElement"===n.type){const s=e=>{const n=[];for(const e of t.properties)"Property"===e.type&&"PrivateIdentifier"!==e.key.type&&("Identifier"!==e.key.type||e.computed?n.push(e.key):n.push(rs(e.key.name)));return Hn("$.exclude_from_object",r(e),$n(n))};"Identifier"===n.argument.type?e.push({node:n.argument,is_rest:!0,expression:s,update_expression:s}):Ds(e,n.argument,s,s)}else{const t=e=>ns(r(e),n.key,n.computed||"Identifier"!==n.key.type);Ds(e,n.value,t,t)}break;case"ArrayPattern":for(let n=0;n<t.elements.length;n+=1){const s=t.elements[n];if(s)if("RestElement"===s.type){const t=e=>Hn(ns(r(e),Zn("slice")),rs(n));"Identifier"===s.argument.type?e.push({node:s.argument,is_rest:!0,expression:t,update_expression:t}):Ds(e,s.argument,t,t)}else{const t=e=>ns(r(e),rs(n),!0);Ds(e,s,t,t)}}break;case"AssignmentPattern":{const s=e=>Hn("$.value_or_fallback",r(e),t.right);"Identifier"===t.left.type?e.push({node:t.left,is_rest:!1,expression:s,update_expression:n}):Ds(e,t.left,s,n);break}}return e}function js(e){return e&&("TSNonNullExpression"===e.type||"TSAsExpression"===e.type)?e.expression:e}function Bs(e){return"Literal"===e.type||"Identifier"===e.type||"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||("ConditionalExpression"===e.type?Bs(e.test)&&Bs(e.consequent)&&Bs(e.alternate):("BinaryExpression"===e.type||"LogicalExpression"===e.type)&&(Bs(e.left)&&Bs(e.right)))}const Fs=["beforeinput","click","dblclick","contextmenu","focusin","focusout","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"],Vs={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"},Hs=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected"],Us=[...Object.values(Vs),"value","inert",...Hs],zs=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],Ws=["wheel","touchstart","touchmove","touchend","touchcancel"],Gs=["$state","$props","$derived","$effect","$effect.pre","$effect.active","$effect.root","$inspect","$inspect().with"],Ks=["$$props","$$restProps","$$slots"],Xs=["class","style"],Js=["textContent","innerHTML","innerText"],Qs=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"],Ys=["preventDefault","stopPropagation","stopImmediatePropagation","capture","once","passive","nonpassive","self","trusted"],Zs=["class","break","const","let","var","continue","if","for","while","do","new","static","true","false","void","with","yield","await","typeof","throw","throws","null","delete","default","catch","debugger","case","arguments","else","extends","export","import","extends","switch","instanceof","return","this"];class ea{root;#e;#t;declarations=new Map;declarators=new Map;references=new Map;function_depth=0;constructor(e,t,r){this.root=e,this.#e=t,this.#t=r,this.function_depth=t?t.function_depth+(r?0:1):0}declare(e,t,r,n=null){if("$"===e.name&&ar(e,"invalid-dollar-binding"),e.name.startsWith("$")&&"synthetic"!==r&&"param"!==r&&"rest_param"!==r&&this.function_depth<=1&&ar(e,"invalid-dollar-prefix"),this.#e){if("var"===r&&this.#t)return this.#e.declare(e,t,r);if("import"===r)return this.#e.declare(e,t,r,n)}this.declarations.has(e.name)&&ar(e,"duplicate-declaration",e.name);const s={node:e,references:[],legacy_dependencies:[],initial:n,mutated:!1,scope:this,kind:t,declaration_kind:r,is_called:!1,prop_alias:null,expression:null,mutation:null,reassigned:!1};return this.declarations.set(e.name,s),this.root.conflicts.add(e.name),s}child(e=!1){return new ea(this.root,this,e)}generate(e){if(this.#t)return this.#e.generate(e);let t=e=e.replace(/[^a-zA-Z0-9_$]/g,"_").replace(/^[0-9]/,"_"),r=1;for(;this.references.has(t)||this.declarations.has(t)||this.root.conflicts.has(t)||Zs.includes(t);)t=`${e}_${r++}`;return this.references.set(t,[]),this.root.conflicts.add(t),t}get(e){return this.declarations.get(e)??this.#e?.get(e)??null}get_bindings(e){const t=this.declarators.get(e);return t||ar(e,"INTERNAL","No binding found for declarator"),t}owner(e){return this.declarations.has(e)?this:this.#e&&this.#e.owner(e)}reference(e,t){t=[...t];let r=this.references.get(e.name);r||this.references.set(e.name,r=[]),r.push({node:e,path:t});const n=this.declarations.get(e.name);n?n.references.push({node:e,path:t}):this.#e?this.#e.reference(e,t):this.root.conflicts.add(e.name)}}class ta{conflicts=new Set;unique(e){let t=e=e.replace(/[^a-zA-Z0-9_$]/g,"_"),r=1;for(;this.conflicts.has(t);)t=`${e}_${r++}`;this.conflicts.add(t);return Zn(t)}}function ra(e,t,r,n){const s=new Map,a=new ea(t,n,!1);s.set(e,a);const i={scope:a},o=[],l=[],c=[];function u(e,t){for(const r of t)for(const t of Ns(r))e.declare(t,"normal","RestElement"===r.type?"rest_param":"param")}const p=(e,{state:t,next:r})=>{const n=t.scope.child(!0);s.set(e,n),r({scope:n})},d=(e,{state:t,next:r})=>{const n=h(e,t.scope);s.set(e,n),r({scope:n})};function h(e,t){const r=t.child();for(const t of e.attributes){if("LetDirective"!==t.type)continue;const e=[];if(r.declarators.set(t,e),s.set(t,r),t.expression)for(const n of Os(t.expression)){const t=r.declare(n,"derived","const");e.push(t)}else{const n={name:t.name,type:"Identifier",start:t.start,end:t.end},s=r.declare(n,"derived","const");e.push(s)}}return r}_t(e,i,{Identifier(e,{path:t,state:r}){const n=t.at(-1);n&&Nn(e,n)&&o.push([r.scope,{node:e,path:t.slice()}])},LabeledStatement(e,{path:t,next:n}){if(t.length>1||!r)return n();if("$"!==e.label.name)return n();const a=i.scope.child();if(s.set(e,a),"ExpressionStatement"===e.body.type&&"AssignmentExpression"===e.body.expression.type)for(const t of Ns(e.body.expression.left))t.name.startsWith("$")||c.push(t);n({scope:a})},SvelteFragment:d,SvelteElement:d,RegularElement:d,Component(e,{state:t,visit:r,path:n}){t.scope.reference(Zn(e.name),n);for(const t of e.attributes)r(t);const a=h(e,t.scope);for(const n of e.fragment.nodes)Hr(n)&&n.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name))?(s.set(n,t.scope),r(n)):("ExpressionTag"===n.type?s.set(n.expression,a):s.set(n,a),r(n,{scope:a}))},AssignmentExpression(e,{state:t,next:r}){l.push([t.scope,e.left]),r()},UpdateExpression(e,{state:t,next:r}){l.push([t.scope,e.argument]),r()},ImportDeclaration(e,{state:t}){for(const r of e.specifiers)t.scope.declare(r.local,"normal","import",e)},FunctionExpression(e,{state:t,next:r}){const n=t.scope.child();s.set(e,n),e.id&&n.declare(e.id,"normal","function"),u(n,e.params),r({scope:n})},FunctionDeclaration(e,{state:t,next:r}){e.id&&t.scope.declare(e.id,"normal","function",e);const n=t.scope.child();s.set(e,n),u(n,e.params),r({scope:n})},ArrowFunctionExpression(e,{state:t,next:r}){const n=t.scope.child();s.set(e,n),u(n,e.params),r({scope:n})},ForStatement:p,ForInStatement:p,ForOfStatement:p,BlockStatement:p,SwitchStatement:p,ClassDeclaration(e,{state:t,next:r}){e.id&&t.scope.declare(e.id,"normal","const",e),r()},VariableDeclaration(e,{state:t,path:r,next:n}){const s="ConstTag"===r.at(-1)?.type;for(const r of e.declarations){const n=[];t.scope.declarators.set(r,n);for(const a of Ns(r.id)){const i=t.scope.declare(a,s?"derived":"normal",e.kind,r.init);n.push(i)}}n()},CatchClause(e,{state:t,next:r}){if(e.param){const n=t.scope.child(!0);s.set(e,n);for(const r of Ns(e.param))t.scope.declare(r,"normal","let");r({scope:n})}else r()},EachBlock(e,{state:t,visit:r}){const n=new Set,a=o.length;r(e.expression);for(let e=a;e<o.length;e++){const[r,{node:s}]=o[e];r===t.scope&&n.add(s)}s.set(e.expression,t.scope);const i=t.scope.child();s.set(e,i);for(const t of Ns(e.context))i.declare(t,"each","const");if("Identifier"!==e.context.type&&i.declare(Zn("$$item"),"derived","synthetic"),e.index){const t=e.key&&("Identifier"!==e.key.type||!e.index||e.key.name!==e.index);i.declare(Zn(e.index),t?"derived":"normal","const")}e.key&&r(e.key,{scope:i});for(const t of e.body.nodes)r(t,{scope:i});e.fallback&&r(e.fallback,{scope:i});let l=!1;for(const[e]of i.declarations)null!==t.scope.get(e)&&(l=!0);e.metadata={contains_group_binding:!1,array_name:l?t.scope.root.unique("$$array"):null,index:i.root.unique("$$index"),item_name:"Identifier"===e.context.type?e.context.name:"$$item",references:[...n].map((e=>t.scope.get(e.name))).filter(Boolean),is_controlled:!1}},AwaitBlock(e,t){if(t.next(),e.then&&null!==e.value){const r=s.get(e.then),n=t.state.scope.child();for(const t of Ns(e.value))r.declare(t,"normal","const"),n.declare(t,"normal","const");s.set(e.value,n)}if(e.catch&&null!==e.error){const r=s.get(e.catch),n=t.state.scope.child();for(const t of Ns(e.error))r.declare(t,"normal","const"),n.declare(t,"normal","const");s.set(e.error,n)}},SnippetBlock(e,t){const r=t.state,a=!t.path.at(-2);let i=r.scope;a&&(i=n),i.declare(e.expression,"normal","function",e.expression);const o=r.scope.child();if(s.set(e,o),e.context)for(const t of Ns(e.context))o.declare(t,"each","let");t.next({scope:o})},Fragment:(e,t)=>{const r=t.state.scope.child(e.transparent);s.set(e,r),t.next({scope:r})},BindDirective(e,t){l.push([t.state.scope,e.expression]),t.next()}});for(const e of c){a.get(e.name)||a.declare(e,"legacy_reactive","let")}for(const[e,{node:t,path:r}]of o)e.reference(t,r);for(const[e,t]of l)if("MemberExpression"===t.type){let r=t.object;for(;"MemberExpression"===r.type;)r=r.object;const n=e.get(r.name);n&&(n.mutated=!0)}else Ns(t).forEach((t=>{const r=e.get(t.name);r&&(r.mutated=!0,r.reassigned=!0)}));return{scope:a,scopes:s}}function na(e){return{_(t,{next:r,state:n}){const s=e.get(t);r(void 0!==s&&s!==n.scope?{...n,scope:s}:n)}}}function sa(e,t){if(!e)return null;if("CallExpression"!==e.type)return null;let r=e.callee,n="";for(;"MemberExpression"===r.type;){if(r.computed)return null;if("Identifier"!==r.property.type)return null;n="."+r.property.name+n,r=r.object}if("CallExpression"===r.type&&"Identifier"===r.callee.type&&(n="()"+n,r=r.callee),"Identifier"!==r.type)return null;if(n=r.name+n,!Gs.includes(n))return null;return null!==t.get(r.name)?null:n}const aa={visit(){throw new Error("Cannot call visit() during analysis")},stop(){throw new Error("Cannot call stop() during analysis")}};function ia(...e){const t={};for(const n of e)for(const s in n)t[s]||(t[s]=[]),t[s].push(n[s]);const r={};for(const a in t){const i=t[a];function o(e,t){!function r(n,s){const a=i[n];if(!a)return t.next(s);let o=!1;a(e,{...t,...aa,state:s,next(e=s){o=!0,r(n+1,e)}}),o||r(n+1,s)}(0,t.state)}r[a]=o}return r}const oa=",".charCodeAt(0),la=";".charCodeAt(0),ca="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ua=new Uint8Array(64),pa=new Uint8Array(128);for(let e=0;e<64;e++){const t=ca.charCodeAt(e);ua[e]=t,pa[t]=e}const da="undefined"!=typeof TextDecoder?new TextDecoder:"undefined"!=typeof Buffer?{decode:e=>Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}};function ha(e){const t=new Int32Array(5),r=[];let n=0;do{const s=ma(e,n),a=[];let i=!0,o=0;t[0]=0;for(let r=n;r<s;r++){let n;r=fa(e,r,t,0);const l=t[0];l<o&&(i=!1),o=l,ya(e,r,s)?(r=fa(e,r,t,1),r=fa(e,r,t,2),r=fa(e,r,t,3),ya(e,r,s)?(r=fa(e,r,t,4),n=[l,t[1],t[2],t[3],t[4]]):n=[l,t[1],t[2],t[3]]):n=[l],a.push(n)}i||va(a),r.push(a),n=s+1}while(n<=e.length);return r}function ma(e,t){const r=e.indexOf(";",t);return-1===r?e.length:r}function fa(e,t,r,n){let s=0,a=0,i=0;do{const r=e.charCodeAt(t++);i=pa[r],s|=(31&i)<<a,a+=5}while(32&i);const o=1&s;return s>>>=1,o&&(s=-2147483648|-s),r[n]+=s,t}function ya(e,t,r){return!(t>=r)&&e.charCodeAt(t)!==oa}function va(e){e.sort(ga)}function ga(e,t){return e[0]-t[0]}function ba(e){const t=new Int32Array(5),r=16384,n=16348,s=new Uint8Array(r),a=s.subarray(0,n);let i=0,o="";for(let l=0;l<e.length;l++){const c=e[l];if(l>0&&(i===r&&(o+=da.decode(s),i=0),s[i++]=la),0!==c.length){t[0]=0;for(let e=0;e<c.length;e++){const r=c[e];i>n&&(o+=da.decode(a),s.copyWithin(0,n,i),i-=n),e>0&&(s[i++]=oa),i=xa(s,i,t,r,0),1!==r.length&&(i=xa(s,i,t,r,1),i=xa(s,i,t,r,2),i=xa(s,i,t,r,3),4!==r.length&&(i=xa(s,i,t,r,4)))}}}return o+da.decode(s.subarray(0,i))}function xa(e,t,r,n,s){const a=n[s];let i=a-r[s];r[s]=a,i=i<0?-i<<1|1:i<<1;do{let r=31&i;i>>>=5,i>0&&(r|=32),e[t++]=ua[r]}while(i>0);return t}class _a{constructor(e){this.bits=e instanceof _a?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class Ca{constructor(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Ca(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}split(e){const t=e-this.start,r=this.original.slice(0,t),n=this.original.slice(t);this.original=r;const s=new Ca(e,this.end,n);return s.outro=this.outro,this.outro="",this.end=e,this.edited?(s.edit("",!1),this.content=""):this.content=r,s.next=this.next,s.next&&(s.next.previous=s),s.previous=this,this.next=s,s}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.start+t.length).edit("",void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");if(t.length){if(t!==this.content){const e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0}}function wa(){return"undefined"!=typeof window&&"function"==typeof window.btoa?e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Pa=wa();let ka=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ba(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Pa(this.toString())}};function Ea(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let e=r.length;for(;e--;)r[e]=".."}return r.concat(n).join("/")}const Sa=Object.prototype.toString;function Ta(e){const t=e.split("\n"),r=[];for(let e=0,n=0;e<t.length;e++)r.push(n),n+=t[e].length+1;return function(e){let t=0,n=r.length;for(;t<n;){const s=t+n>>1;e<r[s]?n=s:t=s+1}const s=t-1;return{line:s,column:e-r[s]}}}const Aa=/\w/;class Ra{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,r,n){if(t.length){let s=t.indexOf("\n",0),a=-1;for(;s>=0;){const i=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=t.indexOf("\n",s+1)}const i=[this.generatedCodeColumn,e,r.line,r.column];n>=0&&i.push(n),this.rawSegments.push(i),this.advance(t.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,r,n,s){let a=t.start,i=!0,o=!1;for(;a<t.end;){if(this.hires||i||s.has(a)){const t=[this.generatedCodeColumn,e,n.line,n.column];"boundary"===this.hires?Aa.test(r[a])?o||(this.rawSegments.push(t),o=!0):(this.rawSegments.push(t),o=!1):this.rawSegments.push(t)}"\n"===r[a]?(n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,i=!0):(n.column+=1,this.generatedCodeColumn+=1,i=!1),a+=1}this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const Ia="\n",qa={insertLeft:!1,insertRight:!1,storeName:!1};class La{constructor(e,t={}){const r=new Ca(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new _a},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList}}),this.byStart[0]=r,this.byEnd[e.length]=r}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this}appendRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this}clone(){const e=new La(this.original,{filename:this.filename});let t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;const n=t.next,s=n&&n.clone();s&&(r.next=s,s.previous=r,r=s),t=n}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new _a(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),r=new Ra(e.hires),n=Ta(this.original);return this.intro&&r.advance(this.intro),this.firstChunk.eachNext((e=>{const s=n(e.start);e.intro.length&&r.advance(e.intro),e.edited?r.addEdit(0,e.content,s,e.storeName?t.indexOf(e.original):-1):r.addUneditedChunk(0,e,this.original,s,this.sourcemapLocations),e.outro.length&&r.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Ea(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:r.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new ka(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),r=t.filter((e=>/^\t+/.test(e))),n=t.filter((e=>/^ {2,}/.test(e)));if(0===r.length&&0===n.length)return null;if(r.length>=n.length)return"\t";const s=n.reduce(((e,t)=>{const r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(s+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const r=/^[^\r\n]/gm;var n;if(n=e,"[object Object]"===Sa.call(n)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;const s={};if((t=t||{}).exclude){("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((e=>{for(let t=e[0];t<e[1];t+=1)s[t]=!0}))}let a=!1!==t.indentStart;const i=t=>a?`${e}${t}`:(a=!0,t);this.intro=this.intro.replace(r,i);let o=0,l=this.firstChunk;for(;l;){const t=l.end;if(l.edited)s[o]||(l.content=l.content.replace(r,i),l.content.length&&(a="\n"===l.content[l.content.length-1]));else for(o=l.start;o<t;){if(!s[o]){const t=this.original[o];"\n"===t?a=!0:"\r"!==t&&a&&(a=!1,o===l.start||(this._splitChunk(l,o),l=l.next),l.prependRight(e))}o+=1}o=l.end,l=l.next}return this.outro=this.outro.replace(r,i),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return qa.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),qa.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return qa.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),qa.insertRight=!0),this.prependRight(e,t)}move(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);const n=this.byStart[e],s=this.byEnd[t],a=n.previous,i=s.next,o=this.byStart[r];if(!o&&s===this.lastChunk)return this;const l=o?o.previous:this.lastChunk;return a&&(a.next=i),i&&(i.previous=a),l&&(l.next=n),o&&(o.previous=s),n.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=l,s.next=o||null,l||(this.firstChunk=n),o||(this.lastChunk=s),this}overwrite(e,t,r,n){return n=n||{},this.update(e,t,r,{...n,overwrite:!n.contentOnly})}update(e,t,r,n){if("string"!=typeof r)throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===n&&(qa.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),qa.storeName=!0),n={storeName:!0});const s=void 0!==n&&n.storeName,a=void 0!==n&&n.overwrite;if(s){const r=this.original.slice(e,t);Object.defineProperty(this.storedNames,r,{writable:!0,value:!0,enumerable:!0})}const i=this.byStart[e],o=this.byEnd[t];if(i){let e=i;for(;e!==o;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}i.edit(r,s,!a)}else{const n=new Ca(e,t,"").edit(r,s);o.next=n,n.previous=o}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this}remove(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let r=this.byStart[e];for(;r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(Ia);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(Ia),-1!==e)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(Ia),-1!==e)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(Ia),-1!==e)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(Ia),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;let r="",n=this.firstChunk;for(;n&&(n.start>e||n.end<=e);){if(n.start<t&&n.end>=t)return r;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const s=n;for(;n;){!n.intro||s===n&&n.start!==e||(r+=n.intro);const a=n.start<t&&n.end>=t;if(a&&n.edited&&n.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const i=s===n?e-n.start:0,o=a?n.content.length+t-n.end:n.content.length;if(r+=n.content.slice(i,o),!n.outro||a&&n.end!==t||(r+=n.outro),a)break;n=n.next}return r}snip(e,t){const r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}}_splitChunk(e,t){if(e.edited&&e.content.length){const r=Ta(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${r.line}:${r.column} – "${e.original}")`)}const r=e.split(t);return this.byEnd[t]=e,this.byStart[t]=r,this.byEnd[r.end]=r,e===this.lastChunk&&(this.lastChunk=r),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.lastChunk;do{const e=r.end,n=r.trimEnd(t);if(r.end!==e&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.firstChunk;do{const e=r.end,n=r.trimStart(t);if(r.end!==e&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function r(e,r){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,((t,r)=>{if("$"===r)return"$";if("&"===r)return e[0];return+r<e.length?e[+r]:`$${r}`})):t(...e,e.index,r,e.groups)}if(e.global){(function(e,t){let r;const n=[];for(;r=e.exec(t);)n.push(r);return n})(e,this.original).forEach((e=>{null!=e.index&&this.overwrite(e.index,e.index+e[0].length,r(e,this.original))}))}else{const t=this.original.match(e);t&&null!=t.index&&this.overwrite(t.index,t.index+t[0].length,r(t,this.original))}return this}_replaceString(e,t){const{original:r}=this,n=r.indexOf(e);return-1!==n&&this.overwrite(n,n+e.length,t),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:r}=this,n=e.length;for(let s=r.indexOf(e);-1!==s;s=r.indexOf(e,s+n))this.overwrite(s,s+n,t);return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}const Ma={};function Na(e,t){"Literal"===e.type?t.add(String(e.value)):"ConditionalExpression"===e.type?(Na(e.consequent,t),Na(e.alternate,t)):t.add(Ma)}function Oa(e){const t=new Set;return"Text"===e.type?t.add(e.data):Na(e.expression,t),t.has(Ma)?null:t}const $a="NO_MATCH",Da="POSSIBLE_MATCH",ja="UNKNOWN_SELECTOR",Ba={Probably:0,Definitely:1},Fa=new Map([["details",new Set(["open"])],["dialog",new Set(["open"])]]);class Va{node;stylesheet;blocks;local_blocks;used;constructor(e,t){this.node=e,this.stylesheet=t,this.blocks=function(e){let t=new ni(null);const r=[t];return e.children.forEach((e=>{"Combinator"===e.type?(t=new ni(e),r.push(t)):t.add(e)})),r}(e);let r=this.blocks.length;for(;r>0&&this.blocks[r-1].global;)r-=1;this.local_blocks=this.blocks.slice(0,r);const n=1===this.blocks.length&&this.blocks[0].host,s=1===this.blocks.length&&this.blocks[0].root;this.used=0===this.local_blocks.length||n||s}apply(e){const t=[];Ha(this.local_blocks.slice(),e,t),t.length>0&&(t.forEach((({node:e,block:t})=>{this.stylesheet.nodes_with_css_class.add(e),t.should_encapsulate=!0})),this.used=!0)}transform(e,t,r){const n=r-this.blocks.filter((e=>e.should_encapsulate)).length;function s(t){e.remove(t.start,t.start+8).remove(t.end-1,t.end)}this.blocks.forEach(((r,a)=>{r.global&&s(r.selectors[0]),r.should_encapsulate&&function(t,r){for(const e of t.selectors)"PseudoClassSelector"===e.type&&"global"===e.name&&s(e);let n=t.selectors.length;for(;n--;){const s=t.selectors[n];if("PseudoElementSelector"!==s.type&&"PseudoClassSelector"!==s.type){"TypeSelector"===s.type&&"*"===s.name?e.update(s.start,s.end,r):e.appendLeft(s.end,r);break}"root"!==s.name&&"host"!==s.name&&0===n&&e.prependRight(s.start,r)}}(r,a===this.blocks.length-1?t.repeat(n+1):t)}))}validate(e){let t=0,r=this.blocks.length;for(;t<r&&this.blocks[t].global;t+=1);for(;r>t&&this.blocks[r-1].global;r-=1);for(let e=t;e<r;e+=1)this.blocks[e].global&&ar(this.blocks[e].selectors[0],"invalid-css-global-placement");this.validate_global_with_multiple_selectors(),this.validate_global_compound_selector(),this.validate_invalid_combinator_without_selector(e)}validate_global_with_multiple_selectors(){if(1!==this.blocks.length||1!==this.blocks[0].selectors.length)for(const e of this.blocks)for(const t of e.selectors)"PseudoClassSelector"===t.type&&"global"===t.name&&null!==t.args&&t.args.children.length>1&&ar(t,"invalid-css-global-selector")}validate_invalid_combinator_without_selector(e){for(let e=0;e<this.blocks.length;e++){0===this.blocks[e].selectors.length&&ar(this.node,"invalid-css-selector")}}validate_global_compound_selector(){for(const e of this.blocks)for(let t=0;t<e.selectors.length;t++){const r=e.selectors[t];"PseudoClassSelector"!==r.type||"global"!==r.name||1===e.selectors.length||t!==e.selectors.length-1&&!e.selectors.slice(t+1).some((e=>"PseudoElementSelector"!==e.type))||ar(r,"invalid-css-global-selector-list")}}get_amount_class_specificity_increased(){return this.blocks.filter((e=>e.should_encapsulate)).length}}function Ha(e,t,r){const n=e.pop();if(!n)return!1;if(!t)return n.global&&e.every((e=>e.global))||n.host&&0===e.length;const s=za(n,t);if(s===$a)return!1;if(s===ja)return r.push({node:t,block:n}),!0;if(n.combinator){if("Combinator"===n.combinator.type&&" "===n.combinator.name){for(const s of e){if(s.global)continue;if(s.host)return r.push({node:t,block:n}),!0;let e=t;for(;e=Xa(e);)za(s,e)!==$a&&r.push({node:e,block:s});if(r.length)return r.push({node:t,block:n}),!0}return!!e.every((e=>e.global))&&(r.push({node:t,block:n}),!0)}if(">"===n.combinator.name){const s=e.every((e=>e.global));return!(!s&&!Ha(e,Xa(t),r))&&(r.push({node:t,block:n}),!0)}if("+"===n.combinator.name||"~"===n.combinator.name){const s=Qa(t,"+"===n.combinator.name);let a=!1;const i=e.some((e=>e.global));if(i)return(0!==s.size||null===Xa(t))&&(r.push({node:t,block:n}),!0);for(const i of s.keys())Ha(e.slice(),i,r)&&(r.push({node:t,block:n}),a=!0);return a}return r.push({node:t,block:n}),!0}return r.push({node:t,block:n}),!0}const Ua=/\\(.)/g;function za(e,t){if(e.host||e.root)return $a;let r=e.selectors.length;for(;r--;){const n=e.selectors[r];if("Percentage"===n.type||"Nth"===n.type)continue;const s=n.name.replace(Ua,"$1");if("PseudoClassSelector"===n.type&&("host"===s||"root"===s))return $a;if(1===e.selectors.length&&"PseudoClassSelector"===n.type&&"global"===s)return $a;if("PseudoClassSelector"!==n.type&&"PseudoElementSelector"!==n.type)if("AttributeSelector"===n.type){const e=Fa.get(t.name.toLowerCase());if(!e?.has(n.name.toLowerCase())&&!Ga(t,n.name,n.value&&Ka(n.value),n.matcher,n.flags?.includes("i")??!1))return $a}else if("ClassSelector"===n.type){if(!Ga(t,"class",s,"~=",!1)&&!t.attributes.some((e=>"ClassDirective"===e.type&&e.name===s)))return $a}else if("IdSelector"===n.type){if(!Ga(t,"id",s,"=",!1))return $a}else{if("TypeSelector"!==n.type)return ja;if(t.name.toLowerCase()!==s.toLowerCase()&&"*"!==s&&"SvelteElement"!==t.type)return $a}}return Da}function Wa(e,t,r,n){switch(r&&(t=t.toLowerCase(),n=n.toLowerCase()),e){case"=":return n===t;case"~=":return n.split(/\s/).includes(t);case"|=":return`${n}-`.startsWith(`${t}-`);case"^=":return n.startsWith(t);case"$=":return n.endsWith(t);case"*=":return n.includes(t);default:throw new Error("this shouldn't happen")}}function Ga(e,t,r,n,s){for(const a of e.attributes){if("SpreadAttribute"===a.type)return!0;if("BindDirective"===a.type&&a.name===t)return!0;if("Attribute"!==a.type)continue;if(a.name.toLowerCase()!==t.toLowerCase())continue;if(!0===a.value)return null===n;if(null===r)return!0;const e=a.value;if(1===e.length){const t=e[0];if("Text"===t.type)return Wa(n,r,s,t.data)}const i=new Set;let o=[];for(const t of e){const e=Oa(t);if(!e)return!0;if(o.length>0){const t=[],r=[];if(e.forEach((e=>{Je.test(e)?t.push(e):r.push(e)})),r.length>0){t.length>0&&o.forEach((e=>i.add(e)));const e=[];o.forEach((t=>{r.forEach((r=>{e.push(t+r)}))})),o=e,t.forEach((e=>{Ye.test(e)?i.add(e):o.push(e)}));continue}o.forEach((e=>i.add(e))),o=[]}if(e.forEach((e=>{Ye.test(e)?i.add(e):o.push(e)})),o.length<e.size&&o.push(" "),o.length>20)return!0}o.forEach((e=>i.add(e)));for(const e of i)if(Wa(n,r,s,e))return!0}return!1}function Ka(e){return e[0]===e[e.length-1]&&"'"===e[0]||'"'===e[0]?e.slice(1,e.length-1):e}function Xa(e){let t=e;for(;(t=t.parent)&&"RegularElement"!==t.type&&"SvelteElement"!==t.type;);return t??null}function Ja(e){let t=e;do{if("SlotElement"===t.type){const e=t.fragment.nodes;if(e.length>0){t=e.slice(-1)[0];continue}}for(;!t.prev&&t.parent&&"SlotElement"===t.parent.type;)t=t.parent;t=t.prev}while(t&&"SlotElement"===t.type);return t}function Qa(e,t){const r=new Map;let n=e;for(;n=Ja(n);)if("RegularElement"===n.type){if(n.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name.toLowerCase()))||r.set(n,Ba.Definitely),t)break}else if("EachBlock"===n.type||"IfBlock"===n.type||"AwaitBlock"===n.type){const e=Ya(n,t);if(ei(e,r),t&&Za(e))return r}if(!n||!t){let n=e;for(;(n=n?.parent)&&("EachBlock"===n.type||"IfBlock"===n.type||"AwaitBlock"===n.type);){const s=Qa(n,t);if(ei(s,r),"EachBlock"!==n.type||n.fallback?.nodes.includes(e)||ei(Ya(n,t),r),t&&Za(s))break}}return r}function Ya(e,t){const r=new Map;if("EachBlock"===e.type){const n=ri(e.body.nodes,t),s=e.fallback?ri(e.fallback.nodes,t):new Map;!Za(s)&&(ti(n),ti(s)),ei(n,r),ei(s,r)}else if("IfBlock"===e.type){const n=ri(e.consequent.nodes,t),s=e.alternate?ri(e.alternate.nodes,t):new Map;(!Za(n)||!Za(s))&&(ti(n),ti(s)),ei(n,r),ei(s,r)}else if("AwaitBlock"===e.type){const n=e.pending?ri(e.pending.nodes,t):new Map,s=e.then?ri(e.then.nodes,t):new Map,a=e.catch?ri(e.catch.nodes,t):new Map;(!Za(n)||!Za(s)||!Za(a))&&(ti(n),ti(s),ti(a)),ei(n,r),ei(s,r),ei(a,r)}return r}function Za(e){if(0===e.size)return!1;for(const t of e.values())if(t===Ba.Definitely)return!0;return!1}function ei(e,t){e.forEach(((e,r)=>{var n,s;t.set(r,(n=e,s=t.get(r),void 0===n||void 0===s?n||s:n>s?n:s))}))}function ti(e){for(const t of e.keys())e.set(t,Ba.Probably)}function ri(e,t){const r=new Map;for(let n=e.length-1;n>=0;n--){const s=e[n];if("RegularElement"===s.type){if(r.set(s,Ba.Definitely),t)break}else if("EachBlock"===s.type||"IfBlock"===s.type||"AwaitBlock"===s.type){const e=Ya(s,t);if(ei(e,r),t&&Za(e))break}}return r}class ni{host;root;combinator;selectors;start;end;should_encapsulate;constructor(e){this.combinator=e,this.host=!1,this.root=!1,this.selectors=[],this.start=-1,this.end=-1,this.should_encapsulate=!1}add(e){0===this.selectors.length&&(this.start=e.start,this.host="PseudoClassSelector"===e.type&&"host"===e.name),this.root=this.root||"PseudoClassSelector"===e.type&&"root"===e.name,this.selectors.push(e),this.end=e.end}get global(){return this.selectors.length>=1&&"PseudoClassSelector"===this.selectors[0].type&&"global"===this.selectors[0].name&&this.selectors.every((e=>"PseudoClassSelector"===e.type||"PseudoElementSelector"===e.type))}}const si=/\r/g;function ai(e){let t=5381,r=(e=e.replace(si,"")).length;for(;r--;)t=(t<<5)-t^e.charCodeAt(r);return(t>>>0).toString(36)}const ii=/^-((webkit)|(moz)|(o)|(ms))-/;function oi(e){return e.replace(ii,"")}const li=e=>"keyframes"===oi(e.name);function ci(e,t){let r=!1,n=!1;for(let s=e.start;s<e.end;s++)if(r)r=!1;else{const e=t.original[s];n?"*"===e&&"/"===t.original[s+1]&&(t.prependRight(++s,"\\"),n=!1):"\\"===e?r=!0:"/"===e&&"*"===t.original[++s]&&(n=!0)}}class ui{selectors;declarations;node;parent;constructor(e,t,r){this.node=e,this.parent=r,this.selectors=e.prelude.children.map((e=>new Va(e,t))),this.declarations=e.block.children.map((e=>new pi(e)))}apply(e){this.selectors.forEach((t=>t.apply(e)))}is_used(e){return!(!this.parent||"Atrule"!==this.parent.node.type||!li(this.parent.node))||(0===this.declarations.length?e:this.selectors.some((e=>e.used)))}transform(e,t,r,n){if(this.parent&&"Atrule"===this.parent.node.type&&li(this.parent.node))return;const s=`.${t}`;this.selectors.forEach((t=>t.transform(e,s,n))),this.declarations.forEach((t=>t.transform(e,r)))}validate(e){this.selectors.forEach((t=>{t.validate(e)}))}warn_on_unused_selector(e){this.selectors.forEach((t=>{t.used||e(t)}))}get_max_amount_class_specificity_increased(){return Math.max(...this.selectors.map((e=>e.get_amount_class_specificity_increased())))}prune(e,t){if(this.parent&&"Atrule"===this.parent.node.type&&li(this.parent.node))return;if(0===this.declarations.length)return void(t||(e.prependRight(this.node.start,"/* (empty) "),e.appendLeft(this.node.end,"*/"),ci(this.node,e)));const r=this.selectors.filter((e=>e.used));if(0===r.length)return e.prependRight(this.node.start,"/* (unused) "),e.appendLeft(this.node.end,"*/"),void ci(this.node,e);if(r.length<this.selectors.length){let t=!1,r=this.selectors[0].node.start;for(let n=0;n<this.selectors.length;n+=1){const s=this.selectors[n];if(s.used===t){if(t){let t=s.node.start;for(;","!==e.original[t];)t--;e.overwrite(t,t+1,"*/")}else 0===n?e.prependRight(s.node.start,"/* (unused) "):e.overwrite(r,s.node.start," /* (unused) ");t=!t}r=s.node.end}t&&e.appendLeft(r,"*/")}}}class pi{node;constructor(e){this.node=e}transform(e,t){const r=this.node.property&&oi(this.node.property.toLowerCase());if("animation"===r||"animation-name"===r){const r=this.node.value.split(" ").find((e=>t.has(e)));if(r){const n=e.original.indexOf(r,e.original.indexOf(this.node.property,this.node.start)),s=n+r.length,a=t.get(r);e.update(n,s,a)}}}}class di{node;children;declarations;constructor(e){this.node=e,this.children=[],this.declarations=[]}apply(e){"container"===this.node.name||"media"===this.node.name||"supports"===this.node.name||"layer"===this.node.name?this.children.forEach((t=>{t.apply(e)})):li(this.node)&&this.children.forEach((e=>{e.selectors.forEach((e=>{e.used=!0}))}))}is_used(e){return!0}transform(e,t,r,n){if(li(this.node)){let t=this.node.start+this.node.name.length+1;for(;" "===e.original[t];)t+=1;let n=t;for(;"{"!==e.original[n]&&" "!==e.original[n];)n+=1;if(this.node.prelude.startsWith("-global-"))e.remove(t,t+8),this.children.forEach((e=>{e.selectors.forEach((e=>{e.used=!0}))}));else{const s=r.get(this.node.prelude);e.update(t,n,s)}}this.children.forEach((s=>{s.transform(e,t,r,n)}))}validate(e){this.children.forEach((t=>{t.validate(e)}))}warn_on_unused_selector(e){"media"===this.node.name&&this.children.forEach((t=>{t.warn_on_unused_selector(e)}))}get_max_amount_class_specificity_increased(){return Math.max(...this.children.map((e=>e.get_max_amount_class_specificity_increased())))}prune(e,t){}}class hi{ast;filename;has_styles;id;children=[];keyframes=new Map;nodes_with_css_class=new Set;constructor({ast:e,component_name:t,filename:r,get_css_hash:n}){if(this.ast=e,this.filename=r,!e||0===e.children.length)return this.has_styles=!1,void(this.id="");this.id=n({filename:r,name:t,css:e.content.styles,hash:ai}),this.has_styles=!0;_t(e,{atrule:void 0},{Atrule:(e,t)=>{const r=new di(e);if(t.state.atrule?t.state.atrule.children.push(r):this.children.push(r),li(e))e.prelude.startsWith("-global-")||this.keyframes.set(e.prelude,`${this.id}-${e.prelude}`);else if(e.block){const t=[];for(const r of e.block.children)"Declaration"===r.type&&t.push(new pi(r));t.length>0&&function(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}(r.declarations,t)}t.next({...t.state,atrule:r})},Rule:(e,t)=>{const r=new ui(e,this,t.state.atrule);t.state.atrule?t.state.atrule.children.push(r):this.children.push(r),t.next()}})}apply(e){if(this.has_styles)for(let t=0;t<this.children.length;t+=1){this.children[t].apply(e)}}reify(e){e:for(const t of this.nodes_with_css_class){if("SvelteElement"===t.type&&e)continue;let r;for(const e of t.attributes){if("SpreadAttribute"===e.type)continue e;"Attribute"===e.type&&("class"===e.name.toLowerCase()&&(r=e))}if(r&&!0!==r.value){const e=r.value;1===e.length&&"Text"===e[0].type?e[0].data+=` ${this.id}`:e.push({type:"Text",data:` ${this.id}`,raw:` ${this.id}`,start:-1,end:-1,parent:null})}else t.attributes.push(zr("class",-1,-1,[{type:"Text",data:this.id,raw:this.id,parent:null,start:-1,end:-1}]))}}render(e,t,r){if(!this.ast)throw new Error("Unexpected error");const n=new La(t);_t(this.ast,null,{_:e=>{n.addSourcemapLocation(e.start),n.addSourcemapLocation(e.end)}});const s=Math.max(...this.children.map((e=>e.get_max_amount_class_specificity_increased())));for(const e of this.children)e.transform(n,this.id,this.keyframes,s);n.remove(0,this.ast.content.start);for(const e of this.children)e.prune(n,r);return n.remove(this.ast.content.end,t.length),{code:n.toString(),map:n.generateMap({includeContent:!0,source:this.filename,file:e})}}validate(e){this.children.forEach((t=>{t.validate(e)}))}warn_on_unused_selectors(e){}}const mi={"unused-selector":()=>"Unused CSS selector","avoid-is":()=>'The "is" attribute is not supported cross-browser and should be avoided',"store-with-rune-name":e=>`It looks like you're using the $${e} rune, but there is a local binding called ${e}. Referencing a local variable with a $ prefix will create a store subscription. Please rename ${e} to avoid the ambiguity.`,"non-state-reference":e=>`${e} is updated, but is not declared with $state(...). Changing its value will not correctly trigger updates.`,"a11y-aria-attributes":e=>`A11y: <${e}> should not have aria-* attributes`,"a11y-unknown-aria-attribute":(e,t)=>`A11y: Unknown aria attribute 'aria-${e}'`+(t?` (did you mean '${t}'?)`:""),"a11y-hidden":e=>`A11y: <${e}> element should not be hidden`,"a11y-incorrect-aria-attribute-type":(e,t)=>{let r;switch(e.type){case"boolean":r=`The value of '${t}' must be exactly one of true or false`;break;case"id":r=`The value of '${t}' must be a string that represents a DOM element ID`;break;case"idlist":r=`The value of '${t}' must be a space-separated list of strings that represent DOM element IDs`;break;case"tristate":r=`The value of '${t}' must be exactly one of true, false, or mixed`;break;case"token":r=`The value of '${t}' must be exactly one of ${(e.values||[]).join(", ")}`;break;case"tokenlist":r=`The value of '${t}' must be a space-separated list of one or more of ${(e.values||[]).join(", ")}`;break;default:r=`The value of '${t}' must be of type ${e.type}`}return`A11y: ${r}`},"a11y-aria-activedescendant-has-tabindex":()=>"A11y: Elements with attribute aria-activedescendant should have tabindex value","a11y-misplaced-role":e=>`A11y: <${e}> should not have role attribute`,"a11y-no-abstract-role":e=>`A11y: Abstract role '${e}' is forbidden`,"a11y-unknown-role":(e,t)=>`A11y: Unknown role '${e}'`+(t?` (did you mean '${t}'?)`:""),"a11y-no-redundant-roles":e=>`A11y: Redundant role '${e}'`,"a11y-role-has-required-aria-props":(e,t)=>`A11y: Elements with the ARIA role "${e}" must have the following attributes defined: ${t.map((e=>`"${e}"`)).join(", ")}`,"a11y-interactive-supports-focus":e=>`A11y: Elements with the '${e}' interactive role must have a tabindex value.`,"a11y-no-interactive-element-to-noninteractive-role":(e,t)=>`A11y: <${t}> cannot have role '${e}'`,"a11y-no-noninteractive-element-to-interactive-role":(e,t)=>`A11y: Non-interactive element <${t}> cannot have interactive role '${e}'`,"a11y-accesskey":()=>"A11y: Avoid using accesskey","a11y-autofocus":()=>"A11y: Avoid using autofocus","a11y-misplaced-scope":()=>"A11y: The scope attribute should only be used with <th> elements","a11y-positive-tabindex":()=>"A11y: avoid tabindex values above zero","a11y-click-events-have-key-events":()=>'A11y: visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as <button type="button"> or <a> might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details.',"a11y-no-noninteractive-tabindex":()=>"A11y: noninteractive element cannot have nonnegative tabIndex value","a11y-role-supports-aria-props":(e,t,r,n)=>{let s=`The attribute '${e}' is not supported by the role '${t}'.`;return r&&(s+=` This role is implicit on the element <${n}>.`),`A11y: ${s}`},"a11y-no-noninteractive-element-interactions":e=>`A11y: Non-interactive element <${e}> should not be assigned mouse or keyboard event listeners.`,"a11y-no-static-element-interactions":(e,t)=>`A11y: <${e}> with ${t.join(", ")} ${1===t.length?"handler":"handlers"} must have an ARIA role`,"a11y-invalid-attribute":(e,t)=>`A11y: '${t}' is not a valid ${e} attribute`,"a11y-missing-attribute":(e,t,r)=>`A11y: <${e}> element should have ${t} ${r} attribute`,"a11y-autocomplete-valid":(e,t)=>`A11y: The value '${t}' is not supported by the attribute 'autocomplete' on element <input type="${e||"..."}">`,"a11y-img-redundant-alt":()=>"A11y: Screenreaders already announce <img> elements as an image.","a11y-label-has-associated-control":()=>"A11y: A form label must be associated with a control.","a11y-media-has-caption":()=>'A11y: <video> elements must have a <track kind="captions">',"a11y-distracting-elements":e=>`A11y: Avoid <${e}> elements`,"a11y-structure":e=>e?"A11y: <figcaption> must be an immediate child of <figure>":"A11y: <figcaption> must be first or last child of <figure>","a11y-mouse-events-have-key-events":(e,t)=>`A11y: '${e}' event must be accompanied by '${t}' event`,"a11y-missing-content":e=>`A11y: <${e}> element should have child content`,"avoid-inline-class":()=>"Avoid 'new class' — instead, declare the class at the top level scope","avoid-nested-class":()=>"Avoid declaring classes below the top level scope","static-state-reference":()=>"State referenced in its own scope will never update. Did you mean to reference it inside a closure?","component-name-lowercase":e=>`<${e}> will be treated as an HTML element unless it begins with a capital letter`,"no-reactive-declaration":()=>"Reactive declarations only exist at the top level of the instance script"};function fi(e,t,r,n,...s){const a=mi[n],i=[];for(let e=r.length-1;e>=0;e--){const n=r[e];"leadingComments"in n&&i.push(...ut(n)),"Fragment"===n.type&&i.push(...pt(r[e+1]??t,n.nodes))}if(i.includes(n))return;const o=t?.start,l=t?.end;e.push({code:n,message:a(...s),position:void 0!==o&&void 0!==l?[o,l]:void 0})}const yi={currentTime:{valid_elements:["audio","video"],omit_in_ssr:!0},duration:{valid_elements:["audio","video"],event:"durationchange",omit_in_ssr:!0},paused:{valid_elements:["audio","video"],omit_in_ssr:!0},buffered:{valid_elements:["audio","video"],omit_in_ssr:!0},seekable:{valid_elements:["audio","video"],omit_in_ssr:!0},played:{valid_elements:["audio","video"],omit_in_ssr:!0},volume:{valid_elements:["audio","video"],omit_in_ssr:!0},muted:{valid_elements:["audio","video"],omit_in_ssr:!0},playbackRate:{valid_elements:["audio","video"],omit_in_ssr:!0},seeking:{valid_elements:["audio","video"],omit_in_ssr:!0},ended:{valid_elements:["audio","video"],omit_in_ssr:!0},readyState:{valid_elements:["audio","video"],omit_in_ssr:!0},videoHeight:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},videoWidth:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},naturalWidth:{valid_elements:["img"],event:"load",omit_in_ssr:!0},naturalHeight:{valid_elements:["img"],event:"load",omit_in_ssr:!0},fullscreenElement:{valid_elements:["svelte:document"],event:"fullscreenchange",omit_in_ssr:!0},visibilityState:{valid_elements:["svelte:document"],event:"visibilitychange",omit_in_ssr:!0},innerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},innerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollX:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollY:{valid_elements:["svelte:window"],omit_in_ssr:!0},online:{valid_elements:["svelte:window"],omit_in_ssr:!0},devicePixelRatio:{valid_elements:["svelte:window"],event:"resize",omit_in_ssr:!0},clientWidth:{omit_in_ssr:!0},clientHeight:{omit_in_ssr:!0},offsetWidth:{omit_in_ssr:!0},offsetHeight:{omit_in_ssr:!0},contentRect:{omit_in_ssr:!0},contentBoxSize:{omit_in_ssr:!0},borderBoxSize:{omit_in_ssr:!0},devicePixelContentBoxSize:{omit_in_ssr:!0},indeterminate:{event:"change",type:"set",valid_elements:["input"],omit_in_ssr:!0},checked:{valid_elements:["input"]},group:{valid_elements:["input"]},this:{omit_in_ssr:!0},innerText:{},innerHTML:{},textContent:{},open:{event:"toggle",valid_elements:["details"]},value:{valid_elements:["input","textarea","select"]},files:{event:"change",type:"set",valid_elements:["input"],omit_in_ssr:!0}};var vi={},gi={},bi={},xi={};Object.defineProperty(xi,"__esModule",{value:!0}),xi.default=void 0;var _i=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var r=e[t];return t+=1,{done:!1,value:r}}return{done:!0}}};return r};xi.default=_i,Object.defineProperty(bi,"__esModule",{value:!0}),bi.default=function(e,t){"function"==typeof Symbol&&"symbol"===Pi(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:wi.default.bind(t)});return e};var Ci,wi=(Ci=xi)&&Ci.__esModule?Ci:{default:Ci};function Pi(e){return Pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(e)}Object.defineProperty(gi,"__esModule",{value:!0}),gi.default=void 0;var ki=function(e){return e&&e.__esModule?e:{default:e}}(bi);function Ei(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Si(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Si(e,t){if(e){if("string"==typeof e)return Ti(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ti(e,t):void 0}}function Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Ai=[["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"}]],Ri={entries:function(){return Ai},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Si(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(Ai);try{for(n.s();!(t=n.n()).done;){var s=Ei(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Ai)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Ai.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Ri.get(e)},keys:function(){return Ai.map((function(e){return Ei(e,1)[0]}))},values:function(){return Ai.map((function(e){return Ei(e,2)[1]}))}},Ii=(0,ki.default)(Ri,Ri.entries());gi.default=Ii;var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi.default=void 0;var Li=function(e){return e&&e.__esModule?e:{default:e}}(bi);function Mi(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Ni(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ni(e,t){if(e){if("string"==typeof e)return Oi(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oi(e,t):void 0}}function Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $i=[["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}]],Di={entries:function(){return $i},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Ni(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}($i);try{for(n.s();!(t=n.n()).done;){var s=Mi(t.value,2),a=s[0],i=s[1];e.call(r,i,a,$i)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=$i.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Di.get(e)},keys:function(){return $i.map((function(e){return Mi(e,1)[0]}))},values:function(){return $i.map((function(e){return Mi(e,2)[1]}))}},ji=(0,Li.default)(Di,Di.entries());qi.default=ji;var Bi={},Fi={},Vi={};Object.defineProperty(Vi,"__esModule",{value:!0}),Vi.default=void 0;var Hi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Vi.default=Hi;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0}),Ui.default=void 0;var zi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Ui.default=zi;var Wi={};Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.default=void 0;var Gi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};Wi.default=Gi;var Ki={};Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.default=void 0;var Xi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ki.default=Xi;var Ji={};Object.defineProperty(Ji,"__esModule",{value:!0}),Ji.default=void 0;var Qi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Ji.default=Qi;var Yi={};Object.defineProperty(Yi,"__esModule",{value:!0}),Yi.default=void 0;var Zi={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};Yi.default=Zi;var eo={};Object.defineProperty(eo,"__esModule",{value:!0}),eo.default=void 0;var to={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};eo.default=to;var ro={};Object.defineProperty(ro,"__esModule",{value:!0}),ro.default=void 0;var no={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};ro.default=no;var so={};Object.defineProperty(so,"__esModule",{value:!0}),so.default=void 0;var ao={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};so.default=ao;var io={};Object.defineProperty(io,"__esModule",{value:!0}),io.default=void 0;var oo={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};io.default=oo;var lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=void 0;var co={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};lo.default=co;var uo={};Object.defineProperty(uo,"__esModule",{value:!0}),uo.default=void 0;var po={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};uo.default=po,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.default=void 0;var ho=ko(Vi),mo=ko(Ui),fo=ko(Wi),yo=ko(Ki),vo=ko(Ji),go=ko(Yi),bo=ko(eo),xo=ko(ro),_o=ko(so),Co=ko(io),wo=ko(lo),Po=ko(uo);function ko(e){return e&&e.__esModule?e:{default:e}}var Eo=[["command",ho.default],["composite",mo.default],["input",fo.default],["landmark",yo.default],["range",vo.default],["roletype",go.default],["section",bo.default],["sectionhead",xo.default],["select",_o.default],["structure",Co.default],["widget",wo.default],["window",Po.default]];Fi.default=Eo;var So={},To={};Object.defineProperty(To,"__esModule",{value:!0}),To.default=void 0;var Ao={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};To.default=Ao;var Ro={};Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.default=void 0;var Io={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};Ro.default=Io;var qo={};Object.defineProperty(qo,"__esModule",{value:!0}),qo.default=void 0;var Lo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};qo.default=Lo;var Mo={};Object.defineProperty(Mo,"__esModule",{value:!0}),Mo.default=void 0;var No={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Mo.default=No;var Oo={};Object.defineProperty(Oo,"__esModule",{value:!0}),Oo.default=void 0;var $o={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Oo.default=$o;var Do={};Object.defineProperty(Do,"__esModule",{value:!0}),Do.default=void 0;var jo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Do.default=jo;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.default=void 0;var Fo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};Bo.default=Fo;var Vo={};Object.defineProperty(Vo,"__esModule",{value:!0}),Vo.default=void 0;var Ho={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Vo.default=Ho;var Uo={};Object.defineProperty(Uo,"__esModule",{value:!0}),Uo.default=void 0;var zo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Uo.default=zo;var Wo={};Object.defineProperty(Wo,"__esModule",{value:!0}),Wo.default=void 0;var Go={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Wo.default=Go;var Ko={};Object.defineProperty(Ko,"__esModule",{value:!0}),Ko.default=void 0;var Xo={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ko.default=Xo;var Jo={};Object.defineProperty(Jo,"__esModule",{value:!0}),Jo.default=void 0;var Qo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Jo.default=Qo;var Yo={};Object.defineProperty(Yo,"__esModule",{value:!0}),Yo.default=void 0;var Zo={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};Yo.default=Zo;var el={};Object.defineProperty(el,"__esModule",{value:!0}),el.default=void 0;var tl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};el.default=tl;var rl={};Object.defineProperty(rl,"__esModule",{value:!0}),rl.default=void 0;var nl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};rl.default=nl;var sl={};Object.defineProperty(sl,"__esModule",{value:!0}),sl.default=void 0;var al={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};sl.default=al;var il={};Object.defineProperty(il,"__esModule",{value:!0}),il.default=void 0;var ol={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};il.default=ol;var ll={};Object.defineProperty(ll,"__esModule",{value:!0}),ll.default=void 0;var cl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};ll.default=cl;var ul={};Object.defineProperty(ul,"__esModule",{value:!0}),ul.default=void 0;var pl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};ul.default=pl;var dl={};Object.defineProperty(dl,"__esModule",{value:!0}),dl.default=void 0;var hl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};dl.default=hl;var ml={};Object.defineProperty(ml,"__esModule",{value:!0}),ml.default=void 0;var fl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ml.default=fl;var yl={};Object.defineProperty(yl,"__esModule",{value:!0}),yl.default=void 0;var vl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};yl.default=vl;var gl={};Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=void 0;var bl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gl.default=bl;var xl={};Object.defineProperty(xl,"__esModule",{value:!0}),xl.default=void 0;var _l={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};xl.default=_l;var Cl={};Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.default=void 0;var wl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Cl.default=wl;var Pl={};Object.defineProperty(Pl,"__esModule",{value:!0}),Pl.default=void 0;var kl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};Pl.default=kl;var El={};Object.defineProperty(El,"__esModule",{value:!0}),El.default=void 0;var Sl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};El.default=Sl;var Tl={};Object.defineProperty(Tl,"__esModule",{value:!0}),Tl.default=void 0;var Al={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Tl.default=Al;var Rl={};Object.defineProperty(Rl,"__esModule",{value:!0}),Rl.default=void 0;var Il={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};Rl.default=Il;var ql={};Object.defineProperty(ql,"__esModule",{value:!0}),ql.default=void 0;var Ll={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ql.default=Ll;var Ml={};Object.defineProperty(Ml,"__esModule",{value:!0}),Ml.default=void 0;var Nl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ml.default=Nl;var Ol={};Object.defineProperty(Ol,"__esModule",{value:!0}),Ol.default=void 0;var $l={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};Ol.default=$l;var Dl={};Object.defineProperty(Dl,"__esModule",{value:!0}),Dl.default=void 0;var jl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};Dl.default=jl;var Bl={};Object.defineProperty(Bl,"__esModule",{value:!0}),Bl.default=void 0;var Fl={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Bl.default=Fl;var Vl={};Object.defineProperty(Vl,"__esModule",{value:!0}),Vl.default=void 0;var Hl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Vl.default=Hl;var Ul={};Object.defineProperty(Ul,"__esModule",{value:!0}),Ul.default=void 0;var zl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ul.default=zl;var Wl={};Object.defineProperty(Wl,"__esModule",{value:!0}),Wl.default=void 0;var Gl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Wl.default=Gl;var Kl={};Object.defineProperty(Kl,"__esModule",{value:!0}),Kl.default=void 0;var Xl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Kl.default=Xl;var Jl={};Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.default=void 0;var Ql={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jl.default=Ql;var Yl={};Object.defineProperty(Yl,"__esModule",{value:!0}),Yl.default=void 0;var Zl={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yl.default=Zl;var ec={};Object.defineProperty(ec,"__esModule",{value:!0}),ec.default=void 0;var tc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};ec.default=tc;var rc={};Object.defineProperty(rc,"__esModule",{value:!0}),rc.default=void 0;var nc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};rc.default=nc;var sc={};Object.defineProperty(sc,"__esModule",{value:!0}),sc.default=void 0;var ac={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};sc.default=ac;var ic={};Object.defineProperty(ic,"__esModule",{value:!0}),ic.default=void 0;var oc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};ic.default=oc;var lc={};Object.defineProperty(lc,"__esModule",{value:!0}),lc.default=void 0;var cc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};lc.default=cc;var uc={};Object.defineProperty(uc,"__esModule",{value:!0}),uc.default=void 0;var pc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};uc.default=pc;var dc={};Object.defineProperty(dc,"__esModule",{value:!0}),dc.default=void 0;var hc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};dc.default=hc;var mc={};Object.defineProperty(mc,"__esModule",{value:!0}),mc.default=void 0;var fc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};mc.default=fc;var yc={};Object.defineProperty(yc,"__esModule",{value:!0}),yc.default=void 0;var vc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};yc.default=vc;var gc={};Object.defineProperty(gc,"__esModule",{value:!0}),gc.default=void 0;var bc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};gc.default=bc;var xc={};Object.defineProperty(xc,"__esModule",{value:!0}),xc.default=void 0;var _c={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};xc.default=_c;var Cc={};Object.defineProperty(Cc,"__esModule",{value:!0}),Cc.default=void 0;var wc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Cc.default=wc;var Pc={};Object.defineProperty(Pc,"__esModule",{value:!0}),Pc.default=void 0;var kc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};Pc.default=kc;var Ec={};Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.default=void 0;var Sc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};Ec.default=Sc;var Tc={};Object.defineProperty(Tc,"__esModule",{value:!0}),Tc.default=void 0;var Ac={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Tc.default=Ac;var Rc={};Object.defineProperty(Rc,"__esModule",{value:!0}),Rc.default=void 0;var Ic={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Rc.default=Ic;var qc={};Object.defineProperty(qc,"__esModule",{value:!0}),qc.default=void 0;var Lc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};qc.default=Lc;var Mc={};Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.default=void 0;var Nc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};Mc.default=Nc;var Oc={};Object.defineProperty(Oc,"__esModule",{value:!0}),Oc.default=void 0;var $c={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};Oc.default=$c;var Dc={};Object.defineProperty(Dc,"__esModule",{value:!0}),Dc.default=void 0;var jc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};Dc.default=jc;var Bc={};Object.defineProperty(Bc,"__esModule",{value:!0}),Bc.default=void 0;var Fc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Bc.default=Fc;var Vc={};Object.defineProperty(Vc,"__esModule",{value:!0}),Vc.default=void 0;var Hc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};Vc.default=Hc;var Uc={};Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.default=void 0;var zc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};Uc.default=zc;var Wc={};Object.defineProperty(Wc,"__esModule",{value:!0}),Wc.default=void 0;var Gc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};Wc.default=Gc;var Kc={};Object.defineProperty(Kc,"__esModule",{value:!0}),Kc.default=void 0;var Xc={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};Kc.default=Xc;var Jc={};Object.defineProperty(Jc,"__esModule",{value:!0}),Jc.default=void 0;var Qc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jc.default=Qc;var Yc={};Object.defineProperty(Yc,"__esModule",{value:!0}),Yc.default=void 0;var Zc={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yc.default=Zc;var eu={};Object.defineProperty(eu,"__esModule",{value:!0}),eu.default=void 0;var tu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};eu.default=tu;var ru={};Object.defineProperty(ru,"__esModule",{value:!0}),ru.default=void 0;var nu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ru.default=nu;var su={};Object.defineProperty(su,"__esModule",{value:!0}),su.default=void 0;var au={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};su.default=au;var iu={};Object.defineProperty(iu,"__esModule",{value:!0}),iu.default=void 0;var ou={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};iu.default=ou;var lu={};Object.defineProperty(lu,"__esModule",{value:!0}),lu.default=void 0;var cu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};lu.default=cu;var uu={};Object.defineProperty(uu,"__esModule",{value:!0}),uu.default=void 0;var pu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};uu.default=pu;var du={};Object.defineProperty(du,"__esModule",{value:!0}),du.default=void 0;var hu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};du.default=hu;var mu={};Object.defineProperty(mu,"__esModule",{value:!0}),mu.default=void 0;var fu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};mu.default=fu;var yu={};Object.defineProperty(yu,"__esModule",{value:!0}),yu.default=void 0;var vu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};yu.default=vu;var gu={};Object.defineProperty(gu,"__esModule",{value:!0}),gu.default=void 0;var bu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};gu.default=bu;var xu={};Object.defineProperty(xu,"__esModule",{value:!0}),xu.default=void 0;var _u={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};xu.default=_u;var Cu={};Object.defineProperty(Cu,"__esModule",{value:!0}),Cu.default=void 0;var wu={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Cu.default=wu;var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0}),Pu.default=void 0;var ku={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Pu.default=ku;var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0}),Eu.default=void 0;var Su={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};Eu.default=Su;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0}),Tu.default=void 0;var Au={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};Tu.default=Au;var Ru={};Object.defineProperty(Ru,"__esModule",{value:!0}),Ru.default=void 0;var Iu={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};Ru.default=Iu,Object.defineProperty(So,"__esModule",{value:!0}),So.default=void 0;var qu=od(To),Lu=od(Ro),Mu=od(qo),Nu=od(Mo),Ou=od(Oo),$u=od(Do),Du=od(Bo),ju=od(Vo),Bu=od(Uo),Fu=od(Wo),Vu=od(Ko),Hu=od(Jo),Uu=od(Yo),zu=od(el),Wu=od(rl),Gu=od(sl),Ku=od(il),Xu=od(ll),Ju=od(ul),Qu=od(dl),Yu=od(ml),Zu=od(yl),ep=od(gl),tp=od(xl),rp=od(Cl),np=od(Pl),sp=od(El),ap=od(Tl),ip=od(Rl),op=od(ql),lp=od(Ml),cp=od(Ol),up=od(Dl),pp=od(Bl),dp=od(Vl),hp=od(Ul),mp=od(Wl),fp=od(Kl),yp=od(Jl),vp=od(Yl),gp=od(ec),bp=od(rc),xp=od(sc),_p=od(ic),Cp=od(lc),wp=od(uc),Pp=od(dc),kp=od(mc),Ep=od(yc),Sp=od(gc),Tp=od(xc),Ap=od(Cc),Rp=od(Pc),Ip=od(Ec),qp=od(Tc),Lp=od(Rc),Mp=od(qc),Np=od(Mc),Op=od(Oc),$p=od(Dc),Dp=od(Bc),jp=od(Vc),Bp=od(Uc),Fp=od(Wc),Vp=od(Kc),Hp=od(Jc),Up=od(Yc),zp=od(eu),Wp=od(ru),Gp=od(su),Kp=od(iu),Xp=od(lu),Jp=od(uu),Qp=od(du),Yp=od(mu),Zp=od(yu),ed=od(gu),td=od(xu),rd=od(Cu),nd=od(Pu),sd=od(Eu),ad=od(Tu),id=od(Ru);function od(e){return e&&e.__esModule?e:{default:e}}var ld=[["alert",qu.default],["alertdialog",Lu.default],["application",Mu.default],["article",Nu.default],["banner",Ou.default],["blockquote",$u.default],["button",Du.default],["caption",ju.default],["cell",Bu.default],["checkbox",Fu.default],["code",Vu.default],["columnheader",Hu.default],["combobox",Uu.default],["complementary",zu.default],["contentinfo",Wu.default],["definition",Gu.default],["deletion",Ku.default],["dialog",Xu.default],["directory",Ju.default],["document",Qu.default],["emphasis",Yu.default],["feed",Zu.default],["figure",ep.default],["form",tp.default],["generic",rp.default],["grid",np.default],["gridcell",sp.default],["group",ap.default],["heading",ip.default],["img",op.default],["insertion",lp.default],["link",cp.default],["list",up.default],["listbox",pp.default],["listitem",dp.default],["log",hp.default],["main",mp.default],["mark",fp.default],["marquee",yp.default],["math",vp.default],["menu",gp.default],["menubar",bp.default],["menuitem",xp.default],["menuitemcheckbox",_p.default],["menuitemradio",Cp.default],["meter",wp.default],["navigation",Pp.default],["none",kp.default],["note",Ep.default],["option",Sp.default],["paragraph",Tp.default],["presentation",Ap.default],["progressbar",Rp.default],["radio",Ip.default],["radiogroup",qp.default],["region",Lp.default],["row",Mp.default],["rowgroup",Np.default],["rowheader",Op.default],["scrollbar",$p.default],["search",Dp.default],["searchbox",jp.default],["separator",Bp.default],["slider",Fp.default],["spinbutton",Vp.default],["status",Hp.default],["strong",Up.default],["subscript",zp.default],["superscript",Wp.default],["switch",Gp.default],["tab",Kp.default],["table",Xp.default],["tablist",Jp.default],["tabpanel",Qp.default],["term",Yp.default],["textbox",Zp.default],["time",ed.default],["timer",td.default],["toolbar",rd.default],["tooltip",nd.default],["tree",sd.default],["treegrid",ad.default],["treeitem",id.default]];So.default=ld;var cd={},ud={};Object.defineProperty(ud,"__esModule",{value:!0}),ud.default=void 0;var pd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};ud.default=pd;var dd={};Object.defineProperty(dd,"__esModule",{value:!0}),dd.default=void 0;var hd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};dd.default=hd;var md={};Object.defineProperty(md,"__esModule",{value:!0}),md.default=void 0;var fd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};md.default=fd;var yd={};Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=void 0;var vd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};yd.default=vd;var gd={};Object.defineProperty(gd,"__esModule",{value:!0}),gd.default=void 0;var bd={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};gd.default=bd;var xd={};Object.defineProperty(xd,"__esModule",{value:!0}),xd.default=void 0;var _d={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};xd.default=_d;var Cd={};Object.defineProperty(Cd,"__esModule",{value:!0}),Cd.default=void 0;var wd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Cd.default=wd;var Pd={};Object.defineProperty(Pd,"__esModule",{value:!0}),Pd.default=void 0;var kd={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};Pd.default=kd;var Ed={};Object.defineProperty(Ed,"__esModule",{value:!0}),Ed.default=void 0;var Sd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ed.default=Sd;var Td={};Object.defineProperty(Td,"__esModule",{value:!0}),Td.default=void 0;var Ad={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Td.default=Ad;var Rd={};Object.defineProperty(Rd,"__esModule",{value:!0}),Rd.default=void 0;var Id={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Rd.default=Id;var qd={};Object.defineProperty(qd,"__esModule",{value:!0}),qd.default=void 0;var Ld={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};qd.default=Ld;var Md={};Object.defineProperty(Md,"__esModule",{value:!0}),Md.default=void 0;var Nd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Md.default=Nd;var Od={};Object.defineProperty(Od,"__esModule",{value:!0}),Od.default=void 0;var $d={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Od.default=$d;var Dd={};Object.defineProperty(Dd,"__esModule",{value:!0}),Dd.default=void 0;var jd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Dd.default=jd;var Bd={};Object.defineProperty(Bd,"__esModule",{value:!0}),Bd.default=void 0;var Fd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};Bd.default=Fd;var Vd={};Object.defineProperty(Vd,"__esModule",{value:!0}),Vd.default=void 0;var Hd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Vd.default=Hd;var Ud={};Object.defineProperty(Ud,"__esModule",{value:!0}),Ud.default=void 0;var zd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Ud.default=zd;var Wd={};Object.defineProperty(Wd,"__esModule",{value:!0}),Wd.default=void 0;var Gd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Wd.default=Gd;var Kd={};Object.defineProperty(Kd,"__esModule",{value:!0}),Kd.default=void 0;var Xd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Kd.default=Xd;var Jd={};Object.defineProperty(Jd,"__esModule",{value:!0}),Jd.default=void 0;var Qd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Jd.default=Qd;var Yd={};Object.defineProperty(Yd,"__esModule",{value:!0}),Yd.default=void 0;var Zd={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Yd.default=Zd;var eh={};Object.defineProperty(eh,"__esModule",{value:!0}),eh.default=void 0;var th={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};eh.default=th;var rh={};Object.defineProperty(rh,"__esModule",{value:!0}),rh.default=void 0;var nh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};rh.default=nh;var sh={};Object.defineProperty(sh,"__esModule",{value:!0}),sh.default=void 0;var ah={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};sh.default=ah;var ih={};Object.defineProperty(ih,"__esModule",{value:!0}),ih.default=void 0;var oh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};ih.default=oh;var lh={};Object.defineProperty(lh,"__esModule",{value:!0}),lh.default=void 0;var ch={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};lh.default=ch;var uh={};Object.defineProperty(uh,"__esModule",{value:!0}),uh.default=void 0;var ph={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};uh.default=ph;var dh={};Object.defineProperty(dh,"__esModule",{value:!0}),dh.default=void 0;var hh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};dh.default=hh;var mh={};Object.defineProperty(mh,"__esModule",{value:!0}),mh.default=void 0;var fh={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};mh.default=fh;var yh={};Object.defineProperty(yh,"__esModule",{value:!0}),yh.default=void 0;var vh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};yh.default=vh;var gh={};Object.defineProperty(gh,"__esModule",{value:!0}),gh.default=void 0;var bh={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};gh.default=bh;var xh={};Object.defineProperty(xh,"__esModule",{value:!0}),xh.default=void 0;var _h={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};xh.default=_h;var Ch={};Object.defineProperty(Ch,"__esModule",{value:!0}),Ch.default=void 0;var wh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};Ch.default=wh;var Ph={};Object.defineProperty(Ph,"__esModule",{value:!0}),Ph.default=void 0;var kh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};Ph.default=kh;var Eh={};Object.defineProperty(Eh,"__esModule",{value:!0}),Eh.default=void 0;var Sh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};Eh.default=Sh;var Th={};Object.defineProperty(Th,"__esModule",{value:!0}),Th.default=void 0;var Ah={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};Th.default=Ah;var Rh={};Object.defineProperty(Rh,"__esModule",{value:!0}),Rh.default=void 0;var Ih={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};Rh.default=Ih;var qh={};Object.defineProperty(qh,"__esModule",{value:!0}),qh.default=void 0;var Lh={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};qh.default=Lh,Object.defineProperty(cd,"__esModule",{value:!0}),cd.default=void 0;var Mh=bm(ud),Nh=bm(dd),Oh=bm(md),$h=bm(yd),Dh=bm(gd),jh=bm(xd),Bh=bm(Cd),Fh=bm(Pd),Vh=bm(Ed),Hh=bm(Td),Uh=bm(Rd),zh=bm(qd),Wh=bm(Md),Gh=bm(Od),Kh=bm(Dd),Xh=bm(Bd),Jh=bm(Vd),Qh=bm(Ud),Yh=bm(Wd),Zh=bm(Kd),em=bm(Jd),tm=bm(Yd),rm=bm(eh),nm=bm(rh),sm=bm(sh),am=bm(ih),im=bm(lh),om=bm(uh),lm=bm(dh),cm=bm(mh),um=bm(yh),pm=bm(gh),dm=bm(xh),hm=bm(Ch),mm=bm(Ph),fm=bm(Eh),ym=bm(Th),vm=bm(Rh),gm=bm(qh);function bm(e){return e&&e.__esModule?e:{default:e}}var xm=[["doc-abstract",Mh.default],["doc-acknowledgments",Nh.default],["doc-afterword",Oh.default],["doc-appendix",$h.default],["doc-backlink",Dh.default],["doc-biblioentry",jh.default],["doc-bibliography",Bh.default],["doc-biblioref",Fh.default],["doc-chapter",Vh.default],["doc-colophon",Hh.default],["doc-conclusion",Uh.default],["doc-cover",zh.default],["doc-credit",Wh.default],["doc-credits",Gh.default],["doc-dedication",Kh.default],["doc-endnote",Xh.default],["doc-endnotes",Jh.default],["doc-epigraph",Qh.default],["doc-epilogue",Yh.default],["doc-errata",Zh.default],["doc-example",em.default],["doc-footnote",tm.default],["doc-foreword",rm.default],["doc-glossary",nm.default],["doc-glossref",sm.default],["doc-index",am.default],["doc-introduction",im.default],["doc-noteref",om.default],["doc-notice",lm.default],["doc-pagebreak",cm.default],["doc-pagelist",um.default],["doc-part",pm.default],["doc-preface",dm.default],["doc-prologue",hm.default],["doc-pullquote",mm.default],["doc-qna",fm.default],["doc-subtitle",ym.default],["doc-tip",vm.default],["doc-toc",gm.default]];cd.default=xm;var _m={},Cm={};Object.defineProperty(Cm,"__esModule",{value:!0}),Cm.default=void 0;var wm={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};Cm.default=wm;var Pm={};Object.defineProperty(Pm,"__esModule",{value:!0}),Pm.default=void 0;var km={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};Pm.default=km;var Em={};Object.defineProperty(Em,"__esModule",{value:!0}),Em.default=void 0;var Sm={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};Em.default=Sm,Object.defineProperty(_m,"__esModule",{value:!0}),_m.default=void 0;var Tm=Im(Cm),Am=Im(Pm),Rm=Im(Em);function Im(e){return e&&e.__esModule?e:{default:e}}var qm=[["graphics-document",Tm.default],["graphics-object",Am.default],["graphics-symbol",Rm.default]];_m.default=qm,Object.defineProperty(Bi,"__esModule",{value:!0}),Bi.default=void 0;var Lm=Dm(Fi),Mm=Dm(So),Nm=Dm(cd),Om=Dm(_m),$m=Dm(bi);function Dm(e){return e&&e.__esModule?e:{default:e}}function jm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bm(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vm(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function Fm(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Vm(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vm(e,t){if(e){if("string"==typeof e)return Hm(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hm(e,t):void 0}}function Hm(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Um=[].concat(Lm.default,Mm.default,Nm.default,Om.default);Um.forEach((function(e){var t,r=Fm(e,2)[1],n=Bm(r.superClass);try{for(n.s();!(t=n.n()).done;){var s,a=Bm(t.value);try{var i=function(){var e=s.value,t=Um.find((function(t){return Fm(t,1)[0]===e}));if(t)for(var n=t[1],a=0,i=Object.keys(n.props);a<i.length;a++){var o=i[a];Object.prototype.hasOwnProperty.call(r.props,o)||Object.assign(r.props,jm({},o,n.props[o]))}};for(a.s();!(s=a.n()).done;)i()}catch(e){a.e(e)}finally{a.f()}}}catch(e){n.e(e)}finally{n.f()}}));var zm={entries:function(){return Um},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Bm(Um);try{for(n.s();!(t=n.n()).done;){var s=Fm(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Um)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Um.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!zm.get(e)},keys:function(){return Um.map((function(e){return Fm(e,1)[0]}))},values:function(){return Um.map((function(e){return Fm(e,2)[1]}))}},Wm=(0,$m.default)(zm,zm.entries());Bi.default=Wm;var Gm={},Km={},Xm=Object.prototype.hasOwnProperty;Km.dequal=function e(t,r){var n,s;if(t===r)return!0;if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((s=t.length)===r.length)for(;s--&&e(t[s],r[s]););return-1===s}if(!n||"object"==typeof t){for(n in s=0,t){if(Xm.call(t,n)&&++s&&!Xm.call(r,n))return!1;if(!(n in r)||!e(t[n],r[n]))return!1}return Object.keys(r).length===s}}return t!=t&&r!=r},Object.defineProperty(Gm,"__esModule",{value:!0}),Gm.default=void 0;var Jm=Km,Qm=Zm(bi),Ym=Zm(Bi);function Zm(e){return e&&e.__esModule?e:{default:e}}function ef(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||tf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tf(e,t){if(e){if("string"==typeof e)return rf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rf(e,t):void 0}}function rf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}for(var nf=[],sf=Ym.default.keys(),af=0;af<sf.length;af++){var of=sf[af],lf=Ym.default.get(of);if(lf)for(var cf=[].concat(lf.baseConcepts,lf.relatedConcepts),uf=0;uf<cf.length;uf++){var pf=cf[uf];"HTML"===pf.module&&function(){var e=pf.concept;if(e){var t,r=nf.find((function(t){return(0,Jm.dequal)(t,e)}));t=r?r[1]:[];for(var n=!0,s=0;s<t.length;s++)if(t[s]===of){n=!1;break}n&&t.push(of),nf.push([e,t])}}()}}var df={entries:function(){return nf},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=tf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(nf);try{for(n.s();!(t=n.n()).done;){var s=ef(t.value,2),a=s[0],i=s[1];e.call(r,i,a,nf)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=nf.find((function(t){return e.name===t[0].name&&(0,Jm.dequal)(e.attributes,t[0].attributes)}));return t&&t[1]},has:function(e){return!!df.get(e)},keys:function(){return nf.map((function(e){return ef(e,1)[0]}))},values:function(){return nf.map((function(e){return ef(e,2)[1]}))}},hf=(0,Qm.default)(df,df.entries());Gm.default=hf;var mf={};Object.defineProperty(mf,"__esModule",{value:!0}),mf.default=void 0;var ff=vf(bi),yf=vf(Bi);function vf(e){return e&&e.__esModule?e:{default:e}}function gf(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||bf(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bf(e,t){if(e){if("string"==typeof e)return xf(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xf(e,t):void 0}}function xf(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}for(var _f=[],Cf=yf.default.keys(),wf=0;wf<Cf.length;wf++){var Pf=Cf[wf],kf=yf.default.get(Pf),Ef=[];if(kf){for(var Sf=[].concat(kf.baseConcepts,kf.relatedConcepts),Tf=0;Tf<Sf.length;Tf++){var Af=Sf[Tf];if("HTML"===Af.module){var Rf=Af.concept;null!=Rf&&Ef.push(Rf)}}Ef.length>0&&_f.push([Pf,Ef])}}var If={entries:function(){return _f},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bf(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(_f);try{for(n.s();!(t=n.n()).done;){var s=gf(t.value,2),a=s[0],i=s[1];e.call(r,i,a,_f)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=_f.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!If.get(e)},keys:function(){return _f.map((function(e){return gf(e,1)[0]}))},values:function(){return _f.map((function(e){return gf(e,2)[1]}))}},qf=(0,ff.default)(If,If.entries());mf.default=qf,Object.defineProperty(vi,"__esModule",{value:!0});var Lf=vi.roles=vi.roleElements=zf=vi.elementRoles=vi.dom=Ff=vi.aria=void 0,Mf=jf(gi),Nf=jf(qi),Of=jf(Bi),$f=jf(Gm),Df=jf(mf);function jf(e){return e&&e.__esModule?e:{default:e}}var Bf=Mf.default,Ff=vi.aria=Bf,Vf=Nf.default;vi.dom=Vf;var Hf=Of.default;Lf=vi.roles=Hf;var Uf=$f.default,zf=vi.elementRoles=Uf,Wf=Df.default;vi.roleElements=Wf;var Gf={},Kf={},Xf={},Jf={};Object.defineProperty(Jf,"__esModule",{value:!0}),Jf.default=void 0;var Qf=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var r=e[t];return t+=1,{done:!1,value:r}}return{done:!0}}};return r};Jf.default=Qf,Object.defineProperty(Xf,"__esModule",{value:!0}),Xf.default=function(e,t){"function"==typeof Symbol&&"symbol"===Zf(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:Yf.default.bind(t)});return e};var Yf=function(e){return e&&e.__esModule?e:{default:e}}(Jf);function Zf(e){return Zf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zf(e)}var ey={},ty={};Object.defineProperty(ty,"__esModule",{value:!0}),ty.default=void 0;var ry={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"};ty.default=ry;var ny={};Object.defineProperty(ny,"__esModule",{value:!0}),ny.default=void 0;var sy={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"};ny.default=sy;var ay={};Object.defineProperty(ay,"__esModule",{value:!0}),ay.default=void 0;var iy={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"};ay.default=iy;var oy={};Object.defineProperty(oy,"__esModule",{value:!0}),oy.default=void 0;var ly={relatedConcepts:[],type:"structure"};oy.default=ly;var cy={};Object.defineProperty(cy,"__esModule",{value:!0}),cy.default=void 0;var uy={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"};cy.default=uy;var py={};Object.defineProperty(py,"__esModule",{value:!0}),py.default=void 0;var dy={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"};py.default=dy;var hy={};Object.defineProperty(hy,"__esModule",{value:!0}),hy.default=void 0;var my={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"};hy.default=my;var fy={};Object.defineProperty(fy,"__esModule",{value:!0}),fy.default=void 0;var yy={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"};fy.default=yy;var vy={};Object.defineProperty(vy,"__esModule",{value:!0}),vy.default=void 0;var gy={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"};vy.default=gy;var by={};Object.defineProperty(by,"__esModule",{value:!0}),by.default=void 0;var xy={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"};by.default=xy;var _y={};Object.defineProperty(_y,"__esModule",{value:!0}),_y.default=void 0;var Cy={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"};_y.default=Cy;var wy={};Object.defineProperty(wy,"__esModule",{value:!0}),wy.default=void 0;var Py={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"};wy.default=Py;var ky={};Object.defineProperty(ky,"__esModule",{value:!0}),ky.default=void 0;var Ey={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"};ky.default=Ey;var Sy={};Object.defineProperty(Sy,"__esModule",{value:!0}),Sy.default=void 0;var Ty={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"};Sy.default=Ty;var Ay={};Object.defineProperty(Ay,"__esModule",{value:!0}),Ay.default=void 0;var Ry={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"};Ay.default=Ry;var Iy={};Object.defineProperty(Iy,"__esModule",{value:!0}),Iy.default=void 0;var qy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"};Iy.default=qy;var Ly={};Object.defineProperty(Ly,"__esModule",{value:!0}),Ly.default=void 0;var My={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"};Ly.default=My;var Ny={};Object.defineProperty(Ny,"__esModule",{value:!0}),Ny.default=void 0;var Oy={relatedConcepts:[],type:"structure"};Ny.default=Oy;var $y={};Object.defineProperty($y,"__esModule",{value:!0}),$y.default=void 0;var Dy={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"};$y.default=Dy;var jy={};Object.defineProperty(jy,"__esModule",{value:!0}),jy.default=void 0;var By={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"};jy.default=By;var Fy={};Object.defineProperty(Fy,"__esModule",{value:!0}),Fy.default=void 0;var Vy={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"};Fy.default=Vy;var Hy={};Object.defineProperty(Hy,"__esModule",{value:!0}),Hy.default=void 0;var Uy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"};Hy.default=Uy;var zy={};Object.defineProperty(zy,"__esModule",{value:!0}),zy.default=void 0;var Wy={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"};zy.default=Wy;var Gy={};Object.defineProperty(Gy,"__esModule",{value:!0}),Gy.default=void 0;var Ky={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"};Gy.default=Ky;var Xy={};Object.defineProperty(Xy,"__esModule",{value:!0}),Xy.default=void 0;var Jy={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"};Xy.default=Jy;var Qy={};Object.defineProperty(Qy,"__esModule",{value:!0}),Qy.default=void 0;var Yy={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"};Qy.default=Yy;var Zy={};Object.defineProperty(Zy,"__esModule",{value:!0}),Zy.default=void 0;var ev={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"};Zy.default=ev;var tv={};Object.defineProperty(tv,"__esModule",{value:!0}),tv.default=void 0;var rv={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"};tv.default=rv;var nv={};Object.defineProperty(nv,"__esModule",{value:!0}),nv.default=void 0;var sv={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"};nv.default=sv;var av={};Object.defineProperty(av,"__esModule",{value:!0}),av.default=void 0;var iv={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"};av.default=iv;var ov={};Object.defineProperty(ov,"__esModule",{value:!0}),ov.default=void 0;var lv={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"};ov.default=lv;var cv={};Object.defineProperty(cv,"__esModule",{value:!0}),cv.default=void 0;var uv={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"};cv.default=uv;var pv={};Object.defineProperty(pv,"__esModule",{value:!0}),pv.default=void 0;var dv={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"};pv.default=dv;var hv={};Object.defineProperty(hv,"__esModule",{value:!0}),hv.default=void 0;var mv={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"};hv.default=mv;var fv={};Object.defineProperty(fv,"__esModule",{value:!0}),fv.default=void 0;var yv={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"};fv.default=yv;var vv={};Object.defineProperty(vv,"__esModule",{value:!0}),vv.default=void 0;var gv={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"};vv.default=gv;var bv={};Object.defineProperty(bv,"__esModule",{value:!0}),bv.default=void 0;var xv={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"};bv.default=xv;var _v={};Object.defineProperty(_v,"__esModule",{value:!0}),_v.default=void 0;var Cv={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"};_v.default=Cv;var wv={};Object.defineProperty(wv,"__esModule",{value:!0}),wv.default=void 0;var Pv={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"};wv.default=Pv;var kv={};Object.defineProperty(kv,"__esModule",{value:!0}),kv.default=void 0;var Ev={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"};kv.default=Ev;var Sv={};Object.defineProperty(Sv,"__esModule",{value:!0}),Sv.default=void 0;var Tv={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"};Sv.default=Tv;var Av={};Object.defineProperty(Av,"__esModule",{value:!0}),Av.default=void 0;var Rv={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"};Av.default=Rv;var Iv={};Object.defineProperty(Iv,"__esModule",{value:!0}),Iv.default=void 0;var qv={relatedConcepts:[],type:"window"};Iv.default=qv;var Lv={};Object.defineProperty(Lv,"__esModule",{value:!0}),Lv.default=void 0;var Mv={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"};Lv.default=Mv;var Nv={};Object.defineProperty(Nv,"__esModule",{value:!0}),Nv.default=void 0;var Ov={relatedConcepts:[],type:"structure"};Nv.default=Ov;var $v={};Object.defineProperty($v,"__esModule",{value:!0}),$v.default=void 0;var Dv={relatedConcepts:[],type:"widget"};$v.default=Dv;var jv={};Object.defineProperty(jv,"__esModule",{value:!0}),jv.default=void 0;var Bv={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"};jv.default=Bv;var Fv={};Object.defineProperty(Fv,"__esModule",{value:!0}),Fv.default=void 0;var Vv={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"};Fv.default=Vv;var Hv={};Object.defineProperty(Hv,"__esModule",{value:!0}),Hv.default=void 0;var Uv={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"};Hv.default=Uv;var zv={};Object.defineProperty(zv,"__esModule",{value:!0}),zv.default=void 0;var Wv={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"};zv.default=Wv;var Gv={};Object.defineProperty(Gv,"__esModule",{value:!0}),Gv.default=void 0;var Kv={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"};Gv.default=Kv;var Xv={};Object.defineProperty(Xv,"__esModule",{value:!0}),Xv.default=void 0;var Jv={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"};Xv.default=Jv;var Qv={};Object.defineProperty(Qv,"__esModule",{value:!0}),Qv.default=void 0;var Yv={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"};Qv.default=Yv;var Zv={};Object.defineProperty(Zv,"__esModule",{value:!0}),Zv.default=void 0;var eg={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"};Zv.default=eg;var tg={};Object.defineProperty(tg,"__esModule",{value:!0}),tg.default=void 0;var rg={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"};tg.default=rg;var ng={};Object.defineProperty(ng,"__esModule",{value:!0}),ng.default=void 0;var sg={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"};ng.default=sg;var ag={};Object.defineProperty(ag,"__esModule",{value:!0}),ag.default=void 0;var ig={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"};ag.default=ig;var og={};Object.defineProperty(og,"__esModule",{value:!0}),og.default=void 0;var lg={relatedConcepts:[],type:"structure"};og.default=lg;var cg={};Object.defineProperty(cg,"__esModule",{value:!0}),cg.default=void 0;var ug={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"};cg.default=ug;var pg={};Object.defineProperty(pg,"__esModule",{value:!0}),pg.default=void 0;var dg={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"};pg.default=dg;var hg={};Object.defineProperty(hg,"__esModule",{value:!0}),hg.default=void 0;var mg={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"};hg.default=mg;var fg={};Object.defineProperty(fg,"__esModule",{value:!0}),fg.default=void 0;var yg={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"};fg.default=yg;var vg={};Object.defineProperty(vg,"__esModule",{value:!0}),vg.default=void 0;var gg={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"};vg.default=gg;var bg={};Object.defineProperty(bg,"__esModule",{value:!0}),bg.default=void 0;var xg={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"};bg.default=xg;var _g={};Object.defineProperty(_g,"__esModule",{value:!0}),_g.default=void 0;var Cg={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"};_g.default=Cg;var wg={};Object.defineProperty(wg,"__esModule",{value:!0}),wg.default=void 0;var Pg={relatedConcepts:[],type:"widget"};wg.default=Pg;var kg={};Object.defineProperty(kg,"__esModule",{value:!0}),kg.default=void 0;var Eg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"};kg.default=Eg;var Sg={};Object.defineProperty(Sg,"__esModule",{value:!0}),Sg.default=void 0;var Tg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"};Sg.default=Tg;var Ag={};Object.defineProperty(Ag,"__esModule",{value:!0}),Ag.default=void 0;var Rg={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"};Ag.default=Rg;var Ig={};Object.defineProperty(Ig,"__esModule",{value:!0}),Ig.default=void 0;var qg={relatedConcepts:[],type:"widget"};Ig.default=qg;var Lg={};Object.defineProperty(Lg,"__esModule",{value:!0}),Lg.default=void 0;var Mg={relatedConcepts:[],type:"widget"};Lg.default=Mg;var Ng={};Object.defineProperty(Ng,"__esModule",{value:!0}),Ng.default=void 0;var Og={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"};Ng.default=Og;var $g={};Object.defineProperty($g,"__esModule",{value:!0}),$g.default=void 0;var Dg={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"};$g.default=Dg;var jg={};Object.defineProperty(jg,"__esModule",{value:!0}),jg.default=void 0;var Bg={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"};jg.default=Bg;var Fg={};Object.defineProperty(Fg,"__esModule",{value:!0}),Fg.default=void 0;var Vg={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"};Fg.default=Vg;var Hg={};Object.defineProperty(Hg,"__esModule",{value:!0}),Hg.default=void 0;var Ug={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"};Hg.default=Ug;var zg={};Object.defineProperty(zg,"__esModule",{value:!0}),zg.default=void 0;var Wg={relatedConcepts:[],type:"structure"};zg.default=Wg;var Gg={};Object.defineProperty(Gg,"__esModule",{value:!0}),Gg.default=void 0;var Kg={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"};Gg.default=Kg;var Xg={};Object.defineProperty(Xg,"__esModule",{value:!0}),Xg.default=void 0;var Jg={relatedConcepts:[],type:"widget"};Xg.default=Jg;var Qg={};Object.defineProperty(Qg,"__esModule",{value:!0}),Qg.default=void 0;var Yg={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"};Qg.default=Yg;var Zg={};Object.defineProperty(Zg,"__esModule",{value:!0}),Zg.default=void 0;var eb={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"};Zg.default=eb;var tb={};Object.defineProperty(tb,"__esModule",{value:!0}),tb.default=void 0;var rb={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"};tb.default=rb;var nb={};Object.defineProperty(nb,"__esModule",{value:!0}),nb.default=void 0;var sb={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"};nb.default=sb;var ab={};Object.defineProperty(ab,"__esModule",{value:!0}),ab.default=void 0;var ib={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"};ab.default=ib;var ob={};Object.defineProperty(ob,"__esModule",{value:!0}),ob.default=void 0;var lb={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"};ob.default=lb;var cb={};Object.defineProperty(cb,"__esModule",{value:!0}),cb.default=void 0;var ub={relatedConcepts:[],type:"structure"};cb.default=ub;var pb={};Object.defineProperty(pb,"__esModule",{value:!0}),pb.default=void 0;var db={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"};pb.default=db;var hb={};Object.defineProperty(hb,"__esModule",{value:!0}),hb.default=void 0;var mb={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"};hb.default=mb;var fb={};Object.defineProperty(fb,"__esModule",{value:!0}),fb.default=void 0;var yb={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"};fb.default=yb;var vb={};Object.defineProperty(vb,"__esModule",{value:!0}),vb.default=void 0;var gb={relatedConcepts:[],type:"structure"};vb.default=gb;var bb={};Object.defineProperty(bb,"__esModule",{value:!0}),bb.default=void 0;var xb={relatedConcepts:[],type:"structure"};bb.default=xb;var _b={};Object.defineProperty(_b,"__esModule",{value:!0}),_b.default=void 0;var Cb={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"};_b.default=Cb;var wb={};Object.defineProperty(wb,"__esModule",{value:!0}),wb.default=void 0;var Pb={relatedConcepts:[],type:"structure"};wb.default=Pb;var kb={};Object.defineProperty(kb,"__esModule",{value:!0}),kb.default=void 0;var Eb={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"};kb.default=Eb;var Sb={};Object.defineProperty(Sb,"__esModule",{value:!0}),Sb.default=void 0;var Tb={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"};Sb.default=Tb;var Ab={};Object.defineProperty(Ab,"__esModule",{value:!0}),Ab.default=void 0;var Rb={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"};Ab.default=Rb;var Ib={};Object.defineProperty(Ib,"__esModule",{value:!0}),Ib.default=void 0;var qb={relatedConcepts:[],type:"structure"};Ib.default=qb;var Lb={};Object.defineProperty(Lb,"__esModule",{value:!0}),Lb.default=void 0;var Mb={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"};Lb.default=Mb;var Nb={};Object.defineProperty(Nb,"__esModule",{value:!0}),Nb.default=void 0;var Ob={relatedConcepts:[],type:"structure"};Nb.default=Ob;var $b={};Object.defineProperty($b,"__esModule",{value:!0}),$b.default=void 0;var Db={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"};$b.default=Db;var jb={};Object.defineProperty(jb,"__esModule",{value:!0}),jb.default=void 0;var Bb={relatedConcepts:[],type:"structure"};jb.default=Bb;var Fb={};Object.defineProperty(Fb,"__esModule",{value:!0}),Fb.default=void 0;var Vb={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"};Fb.default=Vb;var Hb={};Object.defineProperty(Hb,"__esModule",{value:!0}),Hb.default=void 0;var Ub={relatedConcepts:[],type:"structure"};Hb.default=Ub;var zb={};Object.defineProperty(zb,"__esModule",{value:!0}),zb.default=void 0;var Wb={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"};zb.default=Wb;var Gb={};Object.defineProperty(Gb,"__esModule",{value:!0}),Gb.default=void 0;var Kb={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"};Gb.default=Kb;var Xb={};Object.defineProperty(Xb,"__esModule",{value:!0}),Xb.default=void 0;var Jb={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"};Xb.default=Jb;var Qb={};Object.defineProperty(Qb,"__esModule",{value:!0}),Qb.default=void 0;var Yb={relatedConcepts:[],type:"structure"};Qb.default=Yb;var Zb={};Object.defineProperty(Zb,"__esModule",{value:!0}),Zb.default=void 0;var ex={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"};Zb.default=ex;var tx={};Object.defineProperty(tx,"__esModule",{value:!0}),tx.default=void 0;var rx={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"};tx.default=rx;var nx={};Object.defineProperty(nx,"__esModule",{value:!0}),nx.default=void 0;var sx={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"};nx.default=sx;var ax={};Object.defineProperty(ax,"__esModule",{value:!0}),ax.default=void 0;var ix={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"};ax.default=ix;var ox={};Object.defineProperty(ox,"__esModule",{value:!0}),ox.default=void 0;var lx={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"};ox.default=lx;var cx={};Object.defineProperty(cx,"__esModule",{value:!0}),cx.default=void 0;var ux={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"};cx.default=ux;var px={};Object.defineProperty(px,"__esModule",{value:!0}),px.default=void 0;var dx={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"};px.default=dx;var hx={};Object.defineProperty(hx,"__esModule",{value:!0}),hx.default=void 0;var mx={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"};hx.default=mx;var fx={};Object.defineProperty(fx,"__esModule",{value:!0}),fx.default=void 0;var yx={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"};fx.default=yx;var vx={};Object.defineProperty(vx,"__esModule",{value:!0}),vx.default=void 0;var gx={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"};vx.default=gx;var bx={};Object.defineProperty(bx,"__esModule",{value:!0}),bx.default=void 0;var xx={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"};bx.default=xx;var _x={};Object.defineProperty(_x,"__esModule",{value:!0}),_x.default=void 0;var Cx={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"};_x.default=Cx;var wx={};Object.defineProperty(wx,"__esModule",{value:!0}),wx.default=void 0;var Px={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"};wx.default=Px;var kx={};Object.defineProperty(kx,"__esModule",{value:!0}),kx.default=void 0;var Ex={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"};kx.default=Ex;var Sx={};Object.defineProperty(Sx,"__esModule",{value:!0}),Sx.default=void 0;var Tx={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"};Sx.default=Tx;var Ax={};Object.defineProperty(Ax,"__esModule",{value:!0}),Ax.default=void 0;var Rx={relatedConcepts:[],type:"structure"};Ax.default=Rx;var Ix={};Object.defineProperty(Ix,"__esModule",{value:!0}),Ix.default=void 0;var qx={relatedConcepts:[],type:"window"};Ix.default=qx,Object.defineProperty(ey,"__esModule",{value:!0}),ey.default=void 0;var Lx=JC(Xf),Mx=JC(ty),Nx=JC(ny),Ox=JC(ay),$x=JC(oy),Dx=JC(cy),jx=JC(py),Bx=JC(hy),Fx=JC(fy),Vx=JC(vy),Hx=JC(by),Ux=JC(_y),zx=JC(wy),Wx=JC(ky),Gx=JC(Sy),Kx=JC(Ay),Xx=JC(Iy),Jx=JC(Ly),Qx=JC(Ny),Yx=JC($y),Zx=JC(jy),e_=JC(Fy),t_=JC(Hy),r_=JC(zy),n_=JC(Gy),s_=JC(Xy),a_=JC(Qy),i_=JC(Zy),o_=JC(tv),l_=JC(nv),c_=JC(av),u_=JC(ov),p_=JC(cv),d_=JC(pv),h_=JC(hv),m_=JC(fv),f_=JC(vv),y_=JC(bv),v_=JC(_v),g_=JC(wv),b_=JC(kv),x_=JC(Sv),__=JC(Av),C_=JC(Iv),w_=JC(Lv),P_=JC(Nv),k_=JC($v),E_=JC(jv),S_=JC(Fv),T_=JC(Hv),A_=JC(zv),R_=JC(Gv),I_=JC(Xv),q_=JC(Qv),L_=JC(Zv),M_=JC(tg),N_=JC(ng),O_=JC(ag),$_=JC(og),D_=JC(cg),j_=JC(pg),B_=JC(hg),F_=JC(fg),V_=JC(vg),H_=JC(bg),U_=JC(_g),z_=JC(wg),W_=JC(kg),G_=JC(Sg),K_=JC(Ag),X_=JC(Ig),J_=JC(Lg),Q_=JC(Ng),Y_=JC($g),Z_=JC(jg),eC=JC(Fg),tC=JC(Hg),rC=JC(zg),nC=JC(Gg),sC=JC(Xg),aC=JC(Qg),iC=JC(Zg),oC=JC(tb),lC=JC(nb),cC=JC(ab),uC=JC(ob),pC=JC(cb),dC=JC(pb),hC=JC(hb),mC=JC(fb),fC=JC(vb),yC=JC(bb),vC=JC(_b),gC=JC(wb),bC=JC(kb),xC=JC(Sb),_C=JC(Ab),CC=JC(Ib),wC=JC(Lb),PC=JC(Nb),kC=JC($b),EC=JC(jb),SC=JC(Fb),TC=JC(Hb),AC=JC(zb),RC=JC(Gb),IC=JC(Xb),qC=JC(Qb),LC=JC(Zb),MC=JC(tx),NC=JC(nx),OC=JC(ax),$C=JC(ox),DC=JC(cx),jC=JC(px),BC=JC(hx),FC=JC(fx),VC=JC(vx),HC=JC(bx),UC=JC(_x),zC=JC(wx),WC=JC(kx),GC=JC(Sx),KC=JC(Ax),XC=JC(Ix);function JC(e){return e&&e.__esModule?e:{default:e}}function QC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||YC(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function YC(e,t){if(e){if("string"==typeof e)return ZC(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ZC(e,t):void 0}}function ZC(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ew=[["AbbrRole",Mx.default],["AlertDialogRole",Nx.default],["AlertRole",Ox.default],["AnnotationRole",$x.default],["ApplicationRole",Dx.default],["ArticleRole",jx.default],["AudioRole",Bx.default],["BannerRole",Fx.default],["BlockquoteRole",Vx.default],["BusyIndicatorRole",Hx.default],["ButtonRole",Ux.default],["CanvasRole",zx.default],["CaptionRole",Wx.default],["CellRole",Gx.default],["CheckBoxRole",Kx.default],["ColorWellRole",Xx.default],["ColumnHeaderRole",Jx.default],["ColumnRole",Qx.default],["ComboBoxRole",Yx.default],["ComplementaryRole",Zx.default],["ContentInfoRole",e_.default],["DateRole",t_.default],["DateTimeRole",r_.default],["DefinitionRole",n_.default],["DescriptionListDetailRole",s_.default],["DescriptionListRole",a_.default],["DescriptionListTermRole",i_.default],["DetailsRole",o_.default],["DialogRole",l_.default],["DirectoryRole",c_.default],["DisclosureTriangleRole",u_.default],["DivRole",p_.default],["DocumentRole",d_.default],["EmbeddedObjectRole",h_.default],["FeedRole",m_.default],["FigcaptionRole",f_.default],["FigureRole",y_.default],["FooterRole",v_.default],["FormRole",g_.default],["GridRole",b_.default],["GroupRole",x_.default],["HeadingRole",__.default],["IframePresentationalRole",C_.default],["IframeRole",w_.default],["IgnoredRole",P_.default],["ImageMapLinkRole",k_.default],["ImageMapRole",E_.default],["ImageRole",S_.default],["InlineTextBoxRole",T_.default],["InputTimeRole",A_.default],["LabelRole",R_.default],["LegendRole",I_.default],["LineBreakRole",q_.default],["LinkRole",L_.default],["ListBoxOptionRole",M_.default],["ListBoxRole",N_.default],["ListItemRole",O_.default],["ListMarkerRole",$_.default],["ListRole",D_.default],["LogRole",j_.default],["MainRole",B_.default],["MarkRole",F_.default],["MarqueeRole",V_.default],["MathRole",H_.default],["MenuBarRole",U_.default],["MenuButtonRole",z_.default],["MenuItemRole",W_.default],["MenuItemCheckBoxRole",G_.default],["MenuItemRadioRole",K_.default],["MenuListOptionRole",X_.default],["MenuListPopupRole",J_.default],["MenuRole",Q_.default],["MeterRole",Y_.default],["NavigationRole",Z_.default],["NoneRole",eC.default],["NoteRole",tC.default],["OutlineRole",rC.default],["ParagraphRole",nC.default],["PopUpButtonRole",sC.default],["PreRole",aC.default],["PresentationalRole",iC.default],["ProgressIndicatorRole",oC.default],["RadioButtonRole",lC.default],["RadioGroupRole",cC.default],["RegionRole",uC.default],["RootWebAreaRole",pC.default],["RowHeaderRole",dC.default],["RowRole",hC.default],["RubyRole",mC.default],["RulerRole",fC.default],["ScrollAreaRole",yC.default],["ScrollBarRole",vC.default],["SeamlessWebAreaRole",gC.default],["SearchRole",bC.default],["SearchBoxRole",xC.default],["SliderRole",_C.default],["SliderThumbRole",CC.default],["SpinButtonRole",wC.default],["SpinButtonPartRole",PC.default],["SplitterRole",kC.default],["StaticTextRole",EC.default],["StatusRole",SC.default],["SVGRootRole",TC.default],["SwitchRole",AC.default],["TabGroupRole",RC.default],["TabRole",IC.default],["TableHeaderContainerRole",qC.default],["TableRole",LC.default],["TabListRole",MC.default],["TabPanelRole",NC.default],["TermRole",OC.default],["TextAreaRole",$C.default],["TextFieldRole",DC.default],["TimeRole",jC.default],["TimerRole",BC.default],["ToggleButtonRole",FC.default],["ToolbarRole",VC.default],["TreeRole",HC.default],["TreeGridRole",UC.default],["TreeItemRole",zC.default],["UserInterfaceTooltipRole",WC.default],["VideoRole",GC.default],["WebAreaRole",KC.default],["WindowRole",XC.default]],tw={entries:function(){return ew},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=YC(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}(ew);try{for(n.s();!(t=n.n()).done;){var s=QC(t.value,2),a=s[0],i=s[1];e.call(r,i,a,ew)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=ew.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!tw.get(e)},keys:function(){return ew.map((function(e){return QC(e,1)[0]}))},values:function(){return ew.map((function(e){return QC(e,2)[1]}))}},rw=(0,Lx.default)(tw,tw.entries());ey.default=rw,Object.defineProperty(Kf,"__esModule",{value:!0}),Kf.default=void 0;var nw=aw(Xf),sw=aw(ey);function aw(e){return e&&e.__esModule?e:{default:e}}function iw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||lw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ow(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function lw(e,t){if(e){if("string"==typeof e)return cw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cw(e,t):void 0}}function cw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var uw,pw=[],dw=ow(sw.default.entries());try{var hw=function(){var e=iw(uw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("HTML"===e.module){var r=e.concept;if(r){var n=pw.findIndex((function(e){return iw(e,1)[0]===t}));-1===n&&(pw.push([t,[]]),n=pw.length-1),pw[n][1].push(r)}}}))};for(dw.s();!(uw=dw.n()).done;)hw()}catch(e){dw.e(e)}finally{dw.f()}var mw={entries:function(){return pw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=ow(pw);try{for(n.s();!(t=n.n()).done;){var s=iw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,pw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=pw.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!mw.get(e)},keys:function(){return pw.map((function(e){return iw(e,1)[0]}))},values:function(){return pw.map((function(e){return iw(e,2)[1]}))}},fw=(0,nw.default)(mw,mw.entries());Kf.default=fw;var yw={};Object.defineProperty(yw,"__esModule",{value:!0}),yw.default=void 0;var vw=bw(Xf),gw=bw(ey);function bw(e){return e&&e.__esModule?e:{default:e}}function xw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||Cw(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _w(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Cw(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function Cw(e,t){if(e){if("string"==typeof e)return ww(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ww(e,t):void 0}}function ww(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Pw,kw=[],Ew=_w(gw.default.entries());try{var Sw=function(){var e=xw(Pw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("ARIA"===e.module){var r=e.concept;if(r){var n=kw.findIndex((function(e){return xw(e,1)[0]===t}));-1===n&&(kw.push([t,[]]),n=kw.length-1),kw[n][1].push(r)}}}))};for(Ew.s();!(Pw=Ew.n()).done;)Sw()}catch(e){Ew.e(e)}finally{Ew.f()}var Tw={entries:function(){return kw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=_w(kw);try{for(n.s();!(t=n.n()).done;){var s=xw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,kw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=kw.find((function(t){return t[0]===e}));return t&&t[1]},has:function(e){return!!Tw.get(e)},keys:function(){return kw.map((function(e){return xw(e,1)[0]}))},values:function(){return kw.map((function(e){return xw(e,2)[1]}))}},Aw=(0,vw.default)(Tw,Tw.entries());yw.default=Aw;var Rw={};Object.defineProperty(Rw,"__esModule",{value:!0}),Rw.default=void 0;var Iw=Km,qw=Mw(ey),Lw=Mw(Xf);function Mw(e){return e&&e.__esModule?e:{default:e}}function Nw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||$w(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ow(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=$w(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s:s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){o=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(o)throw a}}}}function $w(e,t){if(e){if("string"==typeof e)return Dw(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dw(e,t):void 0}}function Dw(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var jw,Bw=[],Fw=Ow(qw.default.entries());try{var Vw=function(){var e=Nw(jw.value,2),t=e[0],r=e[1].relatedConcepts;Array.isArray(r)&&r.forEach((function(e){if("HTML"===e.module){var r=e.concept;if(null!=r){for(var n,s=JSON.stringify(r),a=0;a<Bw.length;a++){var i=Bw[a][0];if(JSON.stringify(i)===s){n=Bw[a][1];break}}Array.isArray(n)||(n=[]),-1===n.findIndex((function(e){return e===t}))&&n.push(t),a<Bw.length?Bw.splice(a,1,[r,n]):Bw.push([r,n])}}}))};for(Fw.s();!(jw=Fw.n()).done;)Vw()}catch(e){Fw.e(e)}finally{Fw.f()}var Hw={entries:function(){return Bw},forEach:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Ow(Bw);try{for(n.s();!(t=n.n()).done;){var s=Nw(t.value,2),a=s[0],i=s[1];e.call(r,i,a,Bw)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=Bw.find((function(t){return e.name===t[0].name&&(0,Iw.dequal)(e.attributes,t[0].attributes)}));return t&&t[1]},has:function(e){return!!Hw.get(e)},keys:function(){return Bw.map((function(e){return Nw(e,1)[0]}))},values:function(){return Bw.map((function(e){return Nw(e,2)[1]}))}},Uw=(0,Lw.default)(Hw,Hw.entries());Rw.default=Uw,Object.defineProperty(Gf,"__esModule",{value:!0});var zw=Gf.elementAXObjects=tP=Gf.AXObjects=Zw=Gf.AXObjectRoles=Gf.AXObjectElements=void 0,Ww=Jw(Kf),Gw=Jw(yw),Kw=Jw(ey),Xw=Jw(Rw);function Jw(e){return e&&e.__esModule?e:{default:e}}var Qw=Ww.default;Gf.AXObjectElements=Qw;var Yw=Gw.default,Zw=Gf.AXObjectRoles=Yw,eP=Kw.default,tP=Gf.AXObjects=eP,rP=Xw.default;zw=Gf.elementAXObjects=rP;const nP=Lf.keys(),sP=nP.filter((e=>Lf.get(e)?.abstract)),aP=nP.filter((e=>!sP.includes(e))),iP=aP.filter((e=>{const t=Lf.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t?.superClass.some((e=>e.includes("widget")))})).concat("progressbar"),oP=aP.filter((e=>!iP.includes(e)&&"generic"!==e));function lP(e){return iP.includes(e)}function cP(e){return oP.includes(e)}function uP(e){return sP.includes(e)}const pP=["presentation","none"];function dP(e){return pP.includes(e)}function hP(e,t){if("input"===e){if("hidden"===JP(t.get("type")))return!0}const r=t.get("aria-hidden");if(!r)return!1;const n=JP(r);return null===n||(!0===n||"true"===n)}function mP(e){if(JP(e.get("disabled")))return!0;const t=e.get("aria-disabled");if(t){if(!0===JP(t))return!0}return!1}const fP=[];zf.entries().forEach((([e,t])=>{[...t].every((e=>"generic"!==e&&iP.includes(e)))&&fP.push(e)}));const yP=[];zf.entries().forEach((([e,t])=>{[...t].every((e=>oP.includes(e)))&&yP.push(e)}));const vP=[...tP.keys()].filter((e=>"widget"===tP.get(e).type)),gP=[...tP.keys()].filter((e=>["windows","structure"].includes(tP.get(e).type))),bP=[];zw.entries().forEach((([e,t])=>{[...t].every((e=>vP.includes(e)))&&bP.push(e)}));const xP=[];function _P(e,t,r){return e.name===t&&(!e.attributes||e.attributes.every((e=>{const t=r.get(e.name);return!!t&&(!e.value||e.value===QP(t))})))}zw.entries().forEach((([e,t])=>{[...t].every((e=>gP.includes(e)))&&xP.push(e)}));const CP={Interactive:"interactive",NonInteractive:"non-interactive",Static:"static"};function wP(e,t){return yP.some((r=>_P(r,e,t)))?CP.Interactive:"header"!==e&&fP.some((r=>_P(r,e,t)))?CP.NonInteractive:bP.some((r=>_P(r,e,t)))?CP.Interactive:xP.some((r=>_P(r,e,t)))?CP.NonInteractive:CP.Static}function PP(e,t){return wP(e,t)===CP.Interactive}function kP(e,t){return wP(e,t)===CP.NonInteractive}function EP(e,t){return wP(e,t)===CP.Static}function SP(e,t,r){for(const[n,s]of zw.entries())if(n.name===t&&(!n.attributes||n.attributes.every((e=>r.has(e.name)&&JP(r.get(e.name))===e.value))))for(const t of s){const r=Zw.get(t);if(r)for(const{name:t}of r)if(t===e)return!0}return!1}const TP=["shipping","billing"],AP=["","on","off","name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","one-time-code","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo"],RP=["home","work","mobile","fax","pager"],IP=["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"];const qP="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(" "),LP={a:["href"],area:["alt","aria-label","aria-labelledby"],html:["lang"],iframe:["title"],img:["alt"],object:["title","aria-label","aria-labelledby"]},MP=["blink","marquee"],NP=["a","h1","h2","h3","h4","h5","h6"],OP=["button","input","keygen","meter","output","progress","select","textarea"],$P=["keypress","keydown","keyup","click","contextmenu","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","dragstart","drop","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup"],DP=["click","mousedown","mouseup","keypress","keydown","keyup"],jP=new Map([["header","banner"],["footer","contentinfo"]]),BP=new Map([["a","link"],["area","link"],["article","article"],["aside","complementary"],["body","document"],["button","button"],["datalist","listbox"],["dd","definition"],["dfn","term"],["dialog","dialog"],["details","group"],["dt","term"],["fieldset","group"],["figure","figure"],["form","form"],["h1","heading"],["h2","heading"],["h3","heading"],["h4","heading"],["h5","heading"],["h6","heading"],["hr","separator"],["img","img"],["li","listitem"],["link","link"],["main","main"],["menu","list"],["meter","progressbar"],["nav","navigation"],["ol","list"],["option","option"],["optgroup","group"],["output","status"],["progress","progressbar"],["section","region"],["summary","button"],["table","table"],["tbody","rowgroup"],["textarea","textbox"],["tfoot","rowgroup"],["thead","rowgroup"],["tr","row"],["ul","list"]]),FP=new Map([["command","menuitem"],["checkbox","menuitemcheckbox"],["radio","menuitemradio"]]),VP=new Map([["button","button"],["image","button"],["reset","button"],["submit","button"],["checkbox","checkbox"],["radio","radio"],["range","slider"],["number","spinbutton"],["email","textbox"],["search","searchbox"],["tel","textbox"],["text","textbox"],["url","textbox"]]),HP={ul:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],ol:["listbox","menu","menubar","radiogroup","tablist","tree","treegrid"],li:["menuitem","option","row","tab","treeitem"],table:["grid"],td:["gridcell"],fieldset:["radiogroup","presentation"]},UP=["email","search","tel","text","url"];function zP(e,t){return"menuitem"===e?function(e){const t=e.get("type");if(!t)return;const r=QP(t);return r?FP.get(r):void 0}(t):"input"===e?function(e){const t=e.get("type");if(!t)return;const r=QP(t);if(!r)return;return e.has("list")&&UP.includes(r)?"combobox":VP.get(r)}(t):BP.get(e)}const WP=["meta","html","script","style"];function GP(e,t){for(;e;){if("SvelteElement"===e.type)return!0;if("RegularElement"===e.type)return t.includes(e.name);e=e.parent}return!1}function KP(e,t){switch(e.type){case"boolean":return"boolean"==typeof t;case"string":case"id":return"string"==typeof t;case"tristate":return"boolean"==typeof t||"mixed"===t;case"integer":case"number":return"boolean"!=typeof t&&!1===isNaN(Number(t));case"token":return(e.values||[]).indexOf("string"==typeof t?t.toLowerCase():t)>-1;case"idlist":return"string"==typeof t&&t.split(Ke).every((e=>"string"==typeof e));case"tokenlist":return"string"==typeof t&&t.split(Ke).every((t=>(e.values||[]).indexOf(t.toLowerCase())>-1));default:return!1}}function XP(e,t,r=e.name){return[e,"a11y-missing-attribute",r,at.test(t[0])||"href"===t[0]?"an":"a",t.length>1?t.slice(0,-1).join(", ")+` or ${t[t.length-1]}`:t[0]]}function JP(e){return e?!0===e.value||(Ls(e)?e.value[0].data:null):null}function QP(e){const t=JP(e);return!0===t?null:t}function YP(e,t,r){if("foreign"===t.options.namespace)return;const n=(e,n,...s)=>fi(t.analysis.warnings,e,r,n,...s),s=new Map,a=new Set,i=[],o="SvelteElement"===e.type;let l=!1,c=!1,u=!1;for(const t of e.attributes)"SpreadAttribute"===t.type?l=!0:"OnDirective"===t.type?a.add(t.name):"Attribute"===t.type?Ms(t)?a.add(t.name.slice(2)):(i.push(t),s.set(t.name,t),"contenteditable"===t.name&&(c=!0)):"BindDirective"===t.type&&Js.includes(t.name)&&(u=!0);for(const t of e.attributes){if("Attribute"!==t.type)continue;const r=t.name.toLowerCase();if(r.startsWith("aria-")){WP.includes(e.name)&&n(t,"a11y-aria-attributes",e.name);const a=r.slice(5);if(!qP.includes(a)){n(t,"a11y-unknown-aria-attribute",a,dt(a,qP))}"aria-hidden"===r&&it.test(e.name)&&n(t,"a11y-hidden",e.name);let i=JP(t);if("true"===i&&(i=!0),"false"===i&&(i=!1),null!=i){const e=Ff.get(r);void 0===e||KP(e,i)||n(t,"a11y-incorrect-aria-attribute-type",e,r)}"aria-activedescendant"!==r||o||PP(e.name,s)||s.has("tabindex")||n(t,"a11y-aria-activedescendant-has-tabindex")}if("role"===r){WP.includes(e.name)&&n(t,"a11y-misplaced-role",e.name);const r=JP(t);if("string"==typeof r)for(const l of r.split(Ke)){const r=l;if(r&&uP(r))n(t,"a11y-no-abstract-role",r);else if(r&&!nP.includes(r)){n(t,"a11y-unknown-role",r,dt(r,nP))}r!==zP(e.name,s)||["ul","ol","li"].includes(e.name)||n(t,"a11y-no-redundant-roles",r);if(!GP(e.parent,["section","article"])){r===jP.get(e.name)&&n(t,"a11y-no-redundant-roles",r)}if(!o&&!SP(r,e.name,s)){const e=Lf.get(r);if(e){const s=Object.keys(e.requiredProps),a=s.some((e=>!i.find((t=>t.name===e))));a&&n(t,"a11y-role-has-required-aria-props",r,s)}}if(!mP(s)&&!hP(e.name,s)&&!dP(r)&&cP(r)&&EP(e.name,s)&&!s.get("tabindex")){[...a].some((e=>$P.includes(e)))&&n(e,"a11y-interactive-supports-focus",r)}PP(e.name,s)&&(lP(r)||dP(r))&&n(e,"a11y-no-interactive-element-to-noninteractive-role",r,e.name),kP(e.name,s)&&cP(r)&&!HP[e.name]?.includes(r)&&n(e,"a11y-no-noninteractive-element-to-interactive-role",r,e.name)}}if("accesskey"===r&&n(t,"a11y-accesskey"),"autofocus"===r&&n(t,"a11y-autofocus"),"scope"!==r||o||"th"===e.name||n(t,"a11y-misplaced-scope"),"tabindex"===r){const e=JP(t);!isNaN(e)&&+e>0&&n(t,"a11y-positive-tabindex")}}const p=s.get("role"),d=QP(p);if(a.has("click")){const t=null!==d&&!dP(d);if(!o&&!hP(e.name,s)&&(!p||t)&&!PP(e.name,s)&&!l){a.has("keydown")||a.has("keyup")||a.has("keypress")||n(e,"a11y-click-events-have-key-events")}}const h=p?d:zP(e.name,s);if(!o&&!PP(e.name,s)&&!cP(d)){const t=s.get("tabindex"),r=QP(t);t&&(null===r||Number(r)>=0)&&n(e,"a11y-no-noninteractive-tabindex")}if("string"==typeof h&&Lf.has(h)){const{props:t}=Lf.get(h),r=Ff.keys().filter((e=>!(e in t))),s=h&&void 0===p;for(const t of i)r.includes(t.name)&&n(t,"a11y-role-supports-aria-props",t.name,h,s,e.name)}if(!c&&!hP(e.name,s)&&!dP(d)&&(!PP(e.name,s)&&lP(d)||kP(e.name,s)&&!p)){[...a].some((e=>DP.includes(e)))&&n(e,"a11y-no-noninteractive-element-interactions",e.name)}if(!(p&&null===d||hP(e.name,s)||dP(d)||PP(e.name,s)||cP(d)||kP(e.name,s)||lP(d)||uP(d))){const t=[...a].filter((e=>$P.includes(e)));t.length>0&&n(e,"a11y-no-static-element-interactions",e.name,t)}a.has("mouseover")&&!a.has("focus")&&n(e,"a11y-mouse-events-have-key-events","mouseover","focus"),a.has("mouseout")&&!a.has("blur")&&n(e,"a11y-mouse-events-have-key-events","mouseout","blur");let m=!1;if("a"===e.name){const t=s.get("aria-label");t&&""!==JP(t)&&(m=!0);const r=s.get("href")||s.get("xlink:href");if(r){const e=QP(r);null!==e&&(""===e||"#"===e||/^\W*javascript:/i.test(e))&&n(r,"a11y-invalid-attribute",r.name,e)}else if(!l){const t=JP(s.get("id")),r=JP(s.get("name"));t||r||n(...XP(e,["href"]))}}else if(!l){const t=LP[e.name];if(t){t.some((e=>s.has(e)))||n(...XP(e,t))}}if("input"===e.name){const t=s.get("type"),r=QP(t);if("image"===r&&!l){const t=["alt","aria-label","aria-labelledby"];t.some((e=>s.has(e)))||n(...XP(e,t,'input type="image"'))}const a=s.get("autocomplete");if(t&&a){const e=JP(a);(function(e){if(!0===e)return!1;if(!e)return!0;const t=e.trim().toLowerCase().split(Ke);if("string"==typeof t[0]&&t[0].startsWith("section-")&&t.shift(),TP.includes(t[0])&&t.shift(),AP.includes(t[0]))t.shift();else{if(RP.includes(t[0])&&t.shift(),!IP.includes(t[0]))return!1;t.shift()}return"webauthn"===t[0]&&t.shift(),0===t.length})(e)||n(a,"a11y-autocomplete-valid",r,e)}}if("img"===e.name){const t=QP(s.get("alt")),r=JP(s.get("aria-hidden"));t&&!r&&/\b(image|picture|photo)\b/i.test(t)&&n(e,"a11y-img-redundant-alt")}if("label"===e.name){const t=e=>{let t=!1;return _t(e,{},{_(e,{next:r}){"SvelteElement"===e.type||"SlotElement"===e.type||"RegularElement"===e.type&&(OP.includes(e.name)||"slot"===e.name)?t=!0:r()}}),t};s.has("for")||t(e)||n(e,"a11y-label-has-associated-control")}if("video"===e.name){const t=s.get("aria-hidden"),r=t&&JP(t);if(s.has("muted")||"true"===r)return;let a=!1;const i=e.fragment.nodes.find((e=>"RegularElement"===e.type&&"track"===e.name));i&&(a=i.attributes.some((e=>"SpreadAttribute"===e.type||"Attribute"===e.type&&"kind"===e.name&&"captions"===JP(e)))),a||n(e,"a11y-media-has-caption")}if("figcaption"===e.name&&(GP(e.parent,["figure"])||n(e,"a11y-structure",!0)),"figure"===e.name){const t=e.fragment.nodes.filter((e=>"Comment"!==e.type&&("Text"!==e.type||et.test(e.data)))),r=t.findIndex((e=>"RegularElement"===e.type&&"figcaption"===e.name));-1!==r&&0!==r&&r!==t.length-1&&n(t[r],"a11y-structure",!1)}MP.includes(e.name)&&n(e,"a11y-distracting-elements",e.name),m||u||!NP.includes(e.name)||0!==e.fragment.nodes.length||n(e,"a11y-missing-content",e.name)}const ZP={RegularElement(e,t){YP(e,t.state,t.path)},SvelteElement(e,t){YP(e,t.state,t.path)}};function ek(e,t){for(const t of e.attributes)"Attribute"!==t.type&&"SpreadAttribute"!==t.type&&"LetDirective"!==t.type&&"OnDirective"!==t.type&&"BindDirective"!==t.type&&ar(t,"invalid-component-directive"),"OnDirective"===t.type&&(t.modifiers.length>1||t.modifiers.some((e=>"once"!==e)))&&ar(t,"invalid-event-modifier");t.next({...t.state,parent_element:null,component_slots:new Set})}function tk(e,t){let r=!1,n=!1,s=!1;for(const a of e.attributes)if("Attribute"===a.type)ot.test(a.name)&&ar(a,"invalid-attribute-name",a.name),a.name.startsWith("on")&&a.name.length>2&&(!0===a.value||Ls(a)||a.value.length>1)&&ar(a,"invalid-event-attribute-value"),"slot"===a.name&&rk(t,a),"is"===a.name&&"foreign"!==t.state.options.namespace&&fi(t.state.analysis.warnings,a,t.path,"avoid-is");else if("AnimateDirective"===a.type){const e=t.path.at(-2);"EachBlock"!==e?.type?ar(a,"invalid-animation","no-each"):e.key?e.body.nodes.filter((e=>"Comment"!==e.type&&"ConstTag"!==e.type&&("Text"!==e.type||""!==e.data.trim()))).length>1&&ar(a,"invalid-animation","child"):ar(a,"invalid-animation","each-key"),r?ar(a,"duplicate-animation"):r=!0}else if("TransitionDirective"===a.type){if(a.outro&&s||a.intro&&n){const e=(e,t)=>e&&t?"transition":e?"in":"out";ar(a,"duplicate-transition",e(n,s),e(a.intro,a.outro))}n=n||a.intro,s=s||a.outro}else if("OnDirective"===a.type){let e=!1,t="";for(const r of a.modifiers)Ys.includes(r)||ar(a,"invalid-event-modifier",Ys),"passive"===r?e=!0:"nonpassive"!==r&&"preventDefault"!==r||(t=r),e&&t&&ar(a,"invalid-event-modifier-combination","passive",t)}}function rk(e,t){let r,n=e.path.length;for(;n--;){const t=e.path[n];!r&&("Component"===t.type||"SvelteComponent"===t.type||"SvelteSelf"===t.type||"SvelteElement"===t.type||"RegularElement"===t.type&&Ur(t))&&(r=t)}if(r){Ls(t)||ar(t,"invalid-slot-attribute"),"Component"!==r.type&&"SvelteComponent"!==r.type||r!==e.path.at(-2)&&ar(t,"invalid-slot-placement");const n=t.value[0].data;if(e.state.component_slots.has(n)&&ar(t,"duplicate-slot-name",n,r.name),e.state.component_slots.add(n),"default"===n)for(const e of r.fragment.nodes)"Text"===e.type&&rt.test(e.data)||("RegularElement"!==e.type&&"SvelteFragment"!==e.type||!e.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name)))&&ar(e,"invalid-default-slot-content")}else ar(t,"invalid-slot-placement")}const nk=["dd","dt","li","option","optgroup","p","rp","rt"];function sk(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===nk.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}const ak={BindDirective(e,t){uk(e,e.expression,t.state.scope,!0);let r=e.expression;for(;"MemberExpression"===r.type;)r=r.object;if("Identifier"!==r.type&&ar(e,"invalid-binding-expression"),"Identifier"===e.expression.type&&"this"!==e.name){const n=t.state.scope.get(r.name);n&&("state"===n.kind||"prop"===n.kind||"each"===n.kind||"store_sub"===n.kind||n.mutated)||ar(e.expression,"invalid-binding-value"),"derived"===n.kind&&ar(e.expression,"invalid-derived-binding")}if("group"===e.name){t.state.scope.get(r.name)||ar(e,"INTERNAL","Cannot find declaration for bind:group")}const n=t.path.at(-1);if("RegularElement"===n?.type||"SvelteElement"===n?.type||"SvelteWindow"===n?.type||"SvelteDocument"===n?.type||"SvelteBody"===n?.type)if("foreign"===t.state.options.namespace&&"this"!==e.name&&ar(e,"invalid-binding",e.name,void 0,". Foreign elements only support bind:this"),e.name in yi){const t=yi[e.name];if(t.valid_elements&&!t.valid_elements.includes(n.name)&&ar(e,"invalid-binding",e.name,t.valid_elements.map((e=>`<${e}>`)).join(", ")),"input"===n.name&&"this"!==e.name){const t=n.attributes.find((e=>"Attribute"===e.type&&"type"===e.name));t&&!Ls(t)&&ar(t,"invalid-type-attribute"),"checked"===e.name&&"checkbox"!==t?.value[0].data&&ar(e,"invalid-binding",e.name,'<input type="checkbox">'),"files"===e.name&&"file"!==t?.value[0].data&&ar(e,"invalid-binding",e.name,'<input type="file">')}if("select"===n.name){const e=n.attributes.find((e=>"Attribute"===e.type&&"multiple"===e.name&&!Ls(e)&&!0!==e.value));e&&ar(e,"invalid-multiple-attribute")}if("offsetWidth"===e.name&&Qs.includes(n.name)&&ar(e,"invalid-binding",e.name,"non-<svg> elements. Use 'clientWidth' for <svg> instead"),Js.includes(e.name)){const t=n.attributes.find((e=>"Attribute"===e.type&&"contenteditable"===e.name));t?Ls(t)||ar(t,"dynamic-contenteditable-attribute"):ar(e,"missing-contenteditable-attribute")}}else{const t=dt(e.name,Object.keys(yi));if(t){const r=yi[t];r.valid_elements&&!r.valid_elements.includes(n.name)||ar(e,"invalid-binding",e.name,void 0,` (did you mean '${t}'?)`)}ar(e,"invalid-binding",e.name)}},ExportDefaultDeclaration(e){ar(e,"default-export")},ConstTag(e,t){const r=t.path.at(-1),n=t.path.at(-2);("Fragment"!==r?.type||"IfBlock"!==n?.type&&"SvelteFragment"!==n?.type&&"Component"!==n?.type&&"SvelteComponent"!==n?.type&&"EachBlock"!==n?.type&&"AwaitBlock"!==n?.type&&("RegularElement"!==n?.type&&"SvelteElement"!==n?.type||!n.attributes.some((e=>"Attribute"===e.type&&"slot"===e.name))))&&ar(e,"invalid-const-placement")},LetDirective(e,t){const r=t.path.at(-1);(void 0===r||"Component"!==r.type&&"RegularElement"!==r.type&&"SvelteElement"!==r.type&&"SvelteComponent"!==r.type&&"SvelteSelf"!==r.type&&"SvelteFragment"!==r.type)&&ar(e,"invalid-let-directive-placement")},RegularElement(e,t){if("textarea"===e.name&&e.fragment.nodes.length>0)for(const t of e.attributes)"Attribute"===t.type&&"value"===t.name&&ar(e,"invalid-textarea-content");const r=t.state.scope.get(e.name);null!==r&&"import"===r.declaration_kind&&0===r.references.length&&fi(t.state.analysis.warnings,e,t.path,"component-name-lowercase",e.name),tk(e,t),t.state.parent_element&&(sk(e.name,t.state.parent_element)||ar(e,"invalid-node-placement",`<${e.name}>`,t.state.parent_element)),t.next({...t.state,parent_element:e.name})},SvelteHead(e){const t=e.attributes[0];t&&ar(t,"illegal-svelte-head-attribute")},SvelteElement(e,t){tk(e,t),t.next({...t.state,parent_element:null})},SvelteFragment(e,t){const r=t.path.at(-2);"Component"!==r?.type&&"SvelteComponent"!==r?.type&&ar(e,"invalid-svelte-fragment-placement");for(const r of e.attributes)"Attribute"===r.type?"slot"===r.name&&rk(t,r):"LetDirective"!==r.type&&ar(r,"invalid-svelte-fragment-attribute")},SlotElement(e){for(const t of e.attributes)if("Attribute"===t.type){if("name"===t.name){Ls(t)||ar(t,"invalid-slot-name",!1);"default"===t.value[0].data&&ar(t,"invalid-slot-name",!0)}}else"SpreadAttribute"!==t.type&&ar(t,"invalid-slot-element-attribute")},Component:ek,SvelteComponent:ek,SvelteSelf:ek,Text(e,t){e.parent&&t.state.parent_element&&et.test(e.data)&&(sk("#text",t.state.parent_element)||ar(e,"invalid-node-placement","Text node",t.state.parent_element))},TitleElement(e){const t=e.attributes[0];t&&ar(t,"illegal-title-attribute");const r=e.fragment.nodes.find((e=>"Text"!==e.type&&"ExpressionTag"!==e.type));r&&ar(r,"invalid-title-content")},ExpressionTag(e,t){e.parent&&t.state.parent_element&&(sk("#text",t.state.parent_element)||ar(e,"invalid-node-placement","{expression}",t.state.parent_element))}},ik=ia(ak,ZP,{VariableDeclarator(e,{state:t}){if("CallExpression"!==e.init?.type)return;const r=e.init.callee;"Identifier"!==r.type||"$state"!==r.name&&"$derived"!==r.name&&"$props"!==r.name||"store_sub"!==t.scope.get(r.name)?.kind&&ar(e.init,"invalid-rune-usage",r.name)},AssignmentExpression(e,{state:t,path:r}){const n=r.at(-1);n&&"ConstTag"===n.type||pk(e,e.left,t)},LabeledStatement(e,{path:t,state:r}){"$"!==e.label.name||"instance"===r.ast_type&&"Program"===t.at(-1).type||fi(r.analysis.warnings,e,t,"no-reactive-declaration")},UpdateExpression(e,{state:t}){pk(e,e.argument,t)}});function ok(e,t,r){const n=t.get(r);n&&("derived"===n.kind&&ar(e,"invalid-derived-export"),"state"===n.kind&&n.reassigned&&ar(e,"invalid-state-export"))}function lk(e,t,r){const n=sa(e,t);if(null===n)return;const s=function(e,t){let r=e.at(t);return"TSNonNullExpression"===r.type||"TSAsExpression"===r.type?e.at(t<0?t-1:t+1):r}(r,-1);if("$props"===n){if("VariableDeclarator"===s.type)return;ar(e,"invalid-props-location")}if("$state"===n||"$derived"===n){if("VariableDeclarator"===s.type)return;if("PropertyDefinition"===s.type&&!s.static&&!s.computed)return;ar(e,"$derived"===n?"invalid-derived-location":"invalid-state-location")}"$effect"!==n&&"$effect.pre"!==n||("ExpressionStatement"!==s.type&&ar(e,"invalid-effect-location"),1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1])),"$effect.active"===n&&0!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[0]),"$effect.root"===n&&1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1]),"$inspect"===n&&e.arguments.length<1&&ar(e,"invalid-rune-args-length",n,[1,"more"]),"$inspect().with"===n&&1!==e.arguments.length&&ar(e,"invalid-rune-args-length",n,[1])}const ck={ExportSpecifier(e,{state:t}){ok(e,t.scope,e.local.name)},ExportNamedDeclaration(e,{state:t,next:r}){if("VariableDeclaration"===e.declaration?.type){r();for(const r of e.declaration.declarations)for(const n of Ns(r.id))ok(e,t.scope,n.name)}},CallExpression(e,{state:t,path:r}){lk(e,t.scope,r)},VariableDeclarator(e,{state:t}){const r=e.init,n=sa(r,t.scope);if(null===n)return;const s=r.arguments;"$derived"===n&&1!==s.length?ar(e,"invalid-rune-args-length","$derived",[1]):"$state"===n&&s.length>1?ar(e,"invalid-rune-args-length","$state",[0,1]):"$props"===n&&ar(e,"invalid-props-location")},AssignmentExpression(e,{state:t}){pk(e,e.left,t)},UpdateExpression(e,{state:t}){pk(e,e.argument,t)},ClassBody(e,t){const r=[];for(const n of e.body)if("PropertyDefinition"===n.type&&"PrivateIdentifier"===n.key.type&&"CallExpression"===n.value?.type){"$derived"===sa(n.value,t.state.scope)&&r.push(n.key.name)}t.next({...t.state,private_derived_state:r})},ClassDeclaration(e,t){const r="module"===t.state.ast_type?0:1;t.state.scope.function_depth>r&&fi(t.state.analysis.warnings,e,t.path,"avoid-nested-class")},NewExpression(e,t){"ClassExpression"===e.callee.type&&t.state.scope.function_depth>0&&fi(t.state.analysis.warnings,e,t.path,"avoid-inline-class")}};function uk(e,t,r,n){if("ArrayPattern"===t.type)for(const s of t.elements)s&&uk(e,s,r,n);else if("ObjectPattern"===t.type)for(const s of t.properties)"Property"===s.type&&uk(e,s.value,r,n);else if("Identifier"===t.type){const s=r.get(t.name);"const"===s?.declaration_kind&&"each"!==s.kind&&ar(e,"invalid-const-assignment",n,"state"!==s.kind&&("normal"!==s.kind||!s.initial))}}function pk(e,t,r){uk(e,t,r.scope,!1);let n=t,s=null;for(;"MemberExpression"===n.type;)s=n.property,n=n.object;if("Identifier"===n.type){const t=r.scope.get(n.name);"derived"===t?.kind&&ar(e,"invalid-derived-assignment")}"ThisExpression"===n.type&&"PrivateIdentifier"===s?.type&&r.private_derived_state.includes(s.name)&&ar(e,"invalid-derived-assignment")}const dk=ia(ak,ZP,{AssignmentExpression(e,{state:t,path:r}){const n=r.at(-1);n&&"ConstTag"===n.type||pk(e,e.left,t)},UpdateExpression(e,{state:t}){pk(e,e.argument,t)},LabeledStatement(e,{path:t}){"$"===e.label.name&&"Program"===t.at(-1)?.type&&ar(e,"invalid-legacy-reactive-statement")},ExportNamedDeclaration(e,{state:t}){"VariableDeclaration"===e.declaration?.type&&"let"===e.declaration.kind&&t.analysis.instance.scope===t.scope&&ar(e,"invalid-legacy-export")},ExportSpecifier(e,{state:t}){ok(e,t.scope,e.local.name)},CallExpression(e,{state:t,path:r}){lk(e,t.scope,r)},EachBlock(e,{next:t,state:r}){const n=e.context;"Identifier"!==n.type||"$state"!==n.name&&"$derived"!==n.name||ar(e,"$derived"===n.name?"invalid-derived-location":"invalid-state-location"),t({...r})},VariableDeclarator(e,{state:t}){const r=js(e.init),n=sa(r,t.scope);if(null===n)return;const s=r.arguments;if("$derived"===n&&1!==s.length)ar(e,"invalid-rune-args-length","$derived",[1]);else if("$state"===n&&s.length>1)ar(e,"invalid-rune-args-length","$state",[0,1]);else if("$props"===n){t.has_props_rune&&ar(e,"duplicate-props-rune"),t.has_props_rune=!0,s.length>0&&ar(e,"invalid-rune-args-length","$props",[0]),"ObjectPattern"!==e.id.type&&ar(e,"invalid-props-id"),t.scope!==t.analysis.instance.scope&&ar(e,"invalid-props-location");for(const t of e.id.properties)if("Property"===t.type){t.computed&&ar(t,"invalid-props-pattern");"Identifier"!==("AssignmentPattern"===t.value.type?t.value.left:t.value).type&&ar(t,"invalid-props-pattern")}}},ClassBody:ck.ClassBody,ClassDeclaration:ck.ClassDeclaration,NewExpression:ck.NewExpression});function hk(e){const t=e.reduce(((e,t)=>{const[r,n]=t;return e.has(r)||e.set(r,[]),e.has(n)||e.set(n,[]),e.get(r).push(n),e}),new Map),r=new Set,n=new Set,s=[];function a(e){r.add(e),n.add(e),t.get(e)?.forEach((e=>{r.has(e)?n.has(e)&&s.push([...n,e]):a(e)})),n.delete(e)}return t.forEach(((e,t)=>{r.has(t)||a(t)})),s[0]}function mk(e,t,r,n){const s=e?.content??{type:"Program",sourceType:"module",start:-1,end:-1,body:[]},{scope:a,scopes:i}=ra(s,t,r,n);return{ast:s,scope:a,scopes:i}}function fk(e,t){const r=e.expression,n=e.name;if(!r||e.modifiers.includes("capture")||!Fs.includes(n))return null;const s=t.path.at(-1);if("RegularElement"!==s?.type)return null;if(!s.metadata.can_delegate_events)return null;const a={type:"non-hoistable"};let i=null,o=null;if("Attribute"===e.type&&s.metadata.has_spread)return a;if("ArrowFunctionExpression"===r.type||"FunctionExpression"===r.type)i=r;else if("Identifier"===r.type){if(o=t.state.scope.get(r.name),null!=o)for(const{path:t}of o.references){const r=t.at(-1);if(null==r)return a;let n=null,s=null;if("OnDirective"===r.type)n=t.at(-2),s=r.name;else if("ExpressionTag"===r.type&&Ms(t.at(-2))){n=t.at(-3);s=wk(t.at(-2).name)}if(n&&s){if("RegularElement"!==n.type||!Ck(n).metadata.can_delegate_events||n.metadata.has_spread&&"Attribute"===e.type||!Fs.includes(s))return a}else if("FunctionDeclaration"!==r.type&&"VariableDeclarator"!==r.type)return a}if(t.state.analysis.exports.find((e=>e.name===r.name)))return a;if(null!==o&&null!==o.initial&&!o.mutated&&!o.is_called){const e=o.initial.type;"ArrowFunctionExpression"!==e&&"FunctionDeclaration"!==e&&"FunctionExpression"!==e||(i=o.initial)}}if(null==i)return a;if("impossible"===i.metadata.hoistable)return a;if(i.params.length>1)return a;const l=i.metadata.scope;for(const[e]of l.references){if("arguments"===e)return a;const r=l.get(e);if(null!==r&&("rest_param"===r.declaration_kind||(!t.state.analysis.runes&&"each"===r.kind||"normal"===r.kind||"legacy_reactive_import"===r.kind)&&r.mutated))return a}return{type:"hoistable",function:i}}function yk(e,t){const r=new ta,n=mk(e.module,r,!1,null),s=mk(e.instance,r,!0,n.scope),{scope:a,scopes:i}=ra(e.fragment,r,!1,s.scope),o={ast:e.fragment,scope:a,scopes:i},l=[];for(const[e,r]of n.scope.references){if("$"!==e[0]||Ks.includes(e))continue;"$"!==e&&"$"!==e[1]||ar(r[0].node,"illegal-global",e);const a=e.slice(1),i=s.scope.get(a);if(!1===t.runes||!Gs.includes(e)||null!==i&&null===sa(i.initial,s.scope)&&("$derived"!==e||"ImportDeclaration"!==i.initial?.type||"svelte/store"!==i.initial.source.value)){if(!1!==t.runes)if(null===i&&/[a-z]/.test(a[0]))ar(r[0].node,"illegal-global",e);else if(null!==i&&Gs.includes(e))for(const{node:e,path:t}of r)"CallExpression"===t.at(-1)?.type&&fi(l,e,[],"store-with-rune-name",a);if(n.ast)for(const{node:e}of r)e.start>n.ast.start&&e.end<n.ast.end&&ar(e,"illegal-subscription");s.scope.declare(Zn(e),"store_sub","synthetic").references=r,s.scope.references.set(e,r),n.scope.references.delete(e)}}const c=function(e){const t=e.split(/[/\\]/),r=t.pop(),n=t.at(-1);let s=r.replace(".svelte","");return"index"===s&&n&&"src"!==n&&(s=n),s[0].toUpperCase()+s.slice(1)}(t.filename??"Component"),u=t.runes??Array.from(n.scope.references).some((([e])=>Gs.includes(e))),p={name:n.scope.generate(t.name??c),root:r,module:n,instance:s,template:o,elements:[],stylesheet:new hi({ast:e.css,filename:t.filename??"<unknown>",component_name:c,get_css_hash:t.cssHash}),runes:u,immutable:u||t.immutable,exports:[],uses_props:!1,uses_rest_props:!1,uses_slots:!1,uses_component_bindings:!1,custom_element:t.customElement,inject_styles:"injected"===t.css||!!t.customElement,accessors:!!t.customElement||!!t.accessors,reactive_statements:new Map,binding_groups:new Map,slot_names:new Set,warnings:l};if(p.runes){const e=n.scope.references.get("$$props");e&&ar(e[0].node,"invalid-legacy-props");const r=n.scope.references.get("$$restProps");r&&ar(r[0].node,"invalid-legacy-rest-props");for(const{ast:e,scope:r,scopes:a}of[n,s,o]){_t(e,{scope:r,analysis:p,options:t,ast_type:e===s.ast?"instance":e===o.ast?"template":"module",parent_element:null,has_props_rune:!1,component_slots:new Set,expression:null,private_derived_state:[],function_depth:r.function_depth},ia(na(a),dk,bk,_k))}}else{s.scope.declare(Zn("$$props"),"prop","synthetic"),s.scope.declare(Zn("$$restProps"),"rest_prop","synthetic");for(const{ast:e,scope:r,scopes:a}of[n,s,o]){_t(e,{scope:r,analysis:p,options:t,parent_element:null,has_props_rune:!1,ast_type:e===s.ast?"instance":e===o.ast?"template":"module",instance_scope:s.scope,reactive_statement:null,reactive_statements:p.reactive_statements,component_slots:new Set,expression:null,private_derived_state:[],function_depth:r.function_depth},ia(na(a),ik,vk,_k))}p.reactive_statements=function(e){const t=new Map;for(const[r,n]of e)n.assignments.forEach((({name:e})=>{const s=t.get(e)??[];s.push([r,n]),t.set(e,s)}));const r=[];for(const[,{assignments:t,dependencies:n}]of e)for(const{name:e}of t)for(const{node:s}of n)[...t].find((({name:e})=>s.name===e))||r.push([e,s.name]);const n=hk(r);if(n?.length){ar(t.get(n[0])[0][0],"cyclical-reactive-declaration",n)}const s=new Map,a=(e,r)=>{[...s.values()].includes(r)||(r.dependencies.forEach((({node:{name:e}})=>{if(![...r.assignments].some((t=>t.name===e)))for(const[r,n]of t.get(e)??[])a(r,n)})),s.set(e,r))};for(const[t,r]of e)a(t,r);return s}(p.reactive_statements)}for(const e of[n.scope,s.scope])e:for(const[t,r]of e.declarations)if("normal"===r.kind&&r.reassigned)for(const{path:e}of r.references)if("Fragment"===e[0].type){for(let t=1;t<e.length;t+=1){e[t].type}fi(l,r.node,[],"non-state-reference",t);continue e}p.stylesheet.validate(p);for(const e of p.elements)p.stylesheet.apply(e);return p.stylesheet.reify("client"===t.generate),p}const vk={LabeledStatement(e,{next:t,path:r,state:n}){if("instance"!==n.ast_type||"$"!==e.label.name||"Program"!==r.at(-1).type)return t();const s={assignments:new Set,dependencies:new Set};t({...n,reactive_statement:s,function_depth:n.scope.function_depth+1});for(const[e,t]of n.scope.references){const r=n.scope.get(e);null!==r&&(t.some((e=>e.node!==r.node&&!s.assignments.has(e.node)))&&s.dependencies.add(r))}if(n.reactive_statements.set(e,s),"ExpressionStatement"===e.body.type&&"AssignmentExpression"===e.body.expression.type)for(const t of Ns(e.body.expression.left)){const e=n.scope.get(t.name);"legacy_reactive"===e?.kind&&(e.legacy_dependencies=Array.from(s.dependencies))}},AssignmentExpression(e,{state:t,next:r}){if(t.reactive_statement&&"="===e.operator)for(const r of Ns(e.left))t.reactive_statement.assignments.add(r);r()},Identifier(e,{state:t,path:r}){const n=r.at(-1);if(Nn(e,n)){"$$props"===e.name&&(t.analysis.uses_props=!0),"$$restProps"===e.name&&(t.analysis.uses_rest_props=!0),"$$slots"===e.name&&(t.analysis.uses_slots=!0);let s=t.scope.get(e.name);if("store_sub"===s?.kind&&(s=t.scope.get(e.name.slice(1))),null!==s&&"normal"===s.kind&&(s.scope===t.instance_scope&&"function"!==s.declaration_kind||"import"===s.declaration_kind))if("import"===s.declaration_kind)s.mutated&&(t.reactive_statement||"template"===t.ast_type)&&"MemberExpression"===n.type&&(s.kind="legacy_reactive_import");else if(s.mutated&&(t.reactive_statement||"template"===t.ast_type))s.kind="state";else if(t.reactive_statement&&"AssignmentExpression"===n.type&&n.left===s.node)s.kind="derived";else{let t=-1,n=r.at(t);for(;n;){if("EachBlock"===n.type&&n.expression===(-1===t?e:r.at(t+1))){s.kind="state";break}n=r.at(--t)}}}},ExportNamedDeclaration(e,{next:t,state:r}){if("instance"!==r.ast_type)return t();if(!e.declaration){for(const t of e.specifiers){const e=r.scope.get(t.local.name);"state"===e.kind||"normal"===e.kind&&"let"===e.declaration_kind?(e.kind="prop",t.exported.name!==t.local.name&&(e.prop_alias=t.exported.name)):r.analysis.exports.push({name:t.local.name,alias:t.exported.name})}return t()}if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)return r.analysis.exports.push({name:e.declaration.id.name,alias:null}),t();if("VariableDeclaration"===e.declaration.type){if("const"===e.declaration.kind){for(const t of e.declaration.declarations)for(const e of Ns(t.id))r.analysis.exports.push({name:e.name,alias:null});return t()}for(const t of e.declaration.declarations)for(const e of Ns(t.id)){r.scope.get(e.name).kind="prop"}}}},gk={VariableDeclarator(e,{state:t}){if("CallExpression"!==e.init?.type)return;if(null===sa(e.init,t.scope))return;const r=e.init.callee;if("Identifier"!==r.type)return;const n=r.name;if("$state"===n||"$derived"===n)for(const r of $s(e.id)){t.scope.get(r.node.name).kind="$state"===n?"state":"derived"}}},bk={CallExpression(e,{state:t,next:r}){"$inspect"===sa(e,t.scope)&&r({...t,function_depth:t.function_depth+1})},VariableDeclarator(e,{state:t}){const r=js(e.init);if(!r||"CallExpression"!==r.type)return;if(null===sa(r,t.scope))return;const n=r.callee;if("Identifier"!==n.type)return;const s=n.name;if("$state"===s||"$derived"===s||"$props"===s){for(const r of $s(e.id)){t.scope.get(r.node.name).kind="$state"===s?"state":"$derived"===s?"derived":r.is_rest?"rest_prop":"prop"}if("$props"===s)for(const r of e.id.properties){if("Property"!==r.type)continue;const e="AssignmentPattern"===r.value.type?r.value.left.name:r.value.name,n="Identifier"===r.key.type?r.key.name:r.key.value,s="AssignmentPattern"===r.value.type?r.value.right:null,a=t.scope.get(e);a.prop_alias=n,a.initial=s}}},ExportSpecifier(e,{state:t}){"instance"===t.ast_type&&t.analysis.exports.push({name:e.local.name,alias:e.exported.name})},ExportNamedDeclaration(e,{next:t,state:r}){if(!e.declaration||"instance"!==r.ast_type)return t();if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)return r.analysis.exports.push({name:e.declaration.id.name,alias:null}),t();if("VariableDeclaration"===e.declaration.type&&"const"===e.declaration.kind)for(const t of e.declaration.declarations)for(const e of Ns(t.id))r.analysis.exports.push({name:e.name,alias:null})}};const xk=(e,t)=>{e.metadata={hoistable:"module"===t.state.ast_type&&"impossible",hoistable_params:[],scope:t.state.scope},t.next({...t.state,function_depth:t.state.function_depth+1})},_k={Attribute(e,t){if(!0!==e.value&&(t.next(),e.metadata.dynamic=e.value.some((e=>"ExpressionTag"===e.type&&("FunctionExpression"!==e.expression.type&&"ArrowFunctionExpression"!==e.expression.type&&(e.metadata.dynamic||e.metadata.contains_call_expression)))),Ms(e))){const r=[],n=e.value[0].expression;let s=e.name.slice(2);Pk(s)&&(s=s.slice(0,-7),r.push("capture"));const a=fk({type:e.type,name:s,expression:n,modifiers:r},t);null!==a&&("hoistable"===a.type&&(a.function.metadata.hoistable=!0),e.metadata.delegated=a)}},ClassDirective(e,t){t.next({...t.state,expression:e})},SpreadAttribute(e,t){t.next({...t.state,expression:e})},SlotElement(e,t){let r="default";for(const t of e.attributes)if("Attribute"===t.type&&"name"===t.name&&Ls(t)){r=t.value[0].data;break}t.state.analysis.slot_names.add(r)},StyleDirective(e,t){if(!0===e.value){const r=t.state.scope.get(e.name);"normal"!==r?.kind&&(e.metadata.dynamic=!0)}else t.next(),e.metadata.dynamic=e.value.some((e=>"ExpressionTag"===e.type&&e.metadata.dynamic))},ExpressionTag(e,t){t.next({...t.state,expression:e})},Identifier(e,t){if(!Nn(e,t.path.at(-1)))return;if("$$slots"===e.name)return void(t.state.analysis.uses_slots=!0);const r=t.state.scope.get(e.name);r&&"normal"!==r.kind&&(t.state.expression&&(t.state.expression.metadata.dynamic=!0),e===r.node||"state"!==r.kind&&"derived"!==r.kind||t.state.function_depth!==r.scope.function_depth||fi(t.state.analysis.warnings,e,t.path,"static-state-reference"))},CallExpression(e,t){("ExpressionTag"===t.state.expression?.type||"SpreadAttribute"===t.state.expression?.type&&!function(e,t){const r=e.callee;if("MemberExpression"===r.type&&"Identifier"===r.object.type){const e=t.state.scope.get(r.object.name),n=t.state.scope.get("selector");if(null!==n&&"import"===n.declaration_kind&&null!==n.initial&&"ImportDeclaration"===n.initial.type&&"svelte"===n.initial.source.value&&null!==e&&null!==e.initial&&"CallExpression"===e.initial.type&&"Identifier"===e.initial.callee.type&&"selector"===e.initial.callee.name)return!0}if("Identifier"===r.type){const e=r.name;if(null===t.state.scope.get(e)&&("BigInt"===e||"String"===e||"Number"===e||"Boolean"===e))return!0}return!1}(e,t))&&(t.state.expression.metadata.contains_call_expression=!0);const r=e.callee;if("Identifier"===r.type){const n=t.state.scope.get(r.name);if(null!==n&&(n.is_called=!0),"$derived"===sa(e,t.state.scope))return void t.next({...t.state,function_depth:t.state.function_depth+1})}t.next()},MemberExpression(e,t){t.state.expression&&(t.state.expression.metadata.dynamic=!0),t.next()},BindDirective(e,t){let r=t.path.length;for(;r--;){const e=t.path[r];if("Component"===e.type||"SvelteComponent"===e.type||"SvelteSelf"===e.type){t.state.analysis.uses_component_bindings=!0;break}if(Hr(e))break}if("group"!==e.name)return;for(r=t.path.length;r--;){const e=t.path[r];if("EachBlock"===e.type){e.metadata.contains_group_binding=!0;for(const t of e.metadata.references)t.mutated=!0}}const n=qs(e.expression),s=null===n?null:t.state.scope.get(n.name);s||ar(null,"INTERNAL","Assertion failed");let a=t.state.analysis.binding_groups.get(s);a||(a={name:t.state.scope.root.unique("binding_group"),directives:[]},t.state.analysis.binding_groups.set(s,a)),a.directives.push(e),e.metadata={binding_group_name:a.name,parent_each_blocks:t.path.filter((e=>"EachBlock"===e.type))}},OnDirective(e,t){e.metadata={delegated:null},t.next();const r=fk(e,t);null!==r&&("hoistable"===r.type&&(r.function.metadata.hoistable=!0),e.metadata.delegated=r)},ArrowFunctionExpression:xk,FunctionExpression:xk,FunctionDeclaration:xk,RegularElement(e,t){if("foreign"!==t.state.options.namespace&&Qs.includes(e.name)&&(e.metadata.svg=!0),Ck(e),"foreign"!==t.state.options.namespace&&"textarea"===e.name&&e.fragment.nodes.length>0&&(e.fragment.nodes.length>1||"Text"!==e.fragment.nodes[0].type)){const t=e.fragment.nodes[0];"Text"===t.type&&(t.data=t.data.replace(Xe,""),t.raw=t.raw.replace(Xe,"")),e.attributes.push(zr("value",e.fragment.nodes.at(0).start,e.fragment.nodes.at(-1).end,e.fragment.nodes)),e.fragment.nodes=[]}if("foreign"!==t.state.options.namespace&&"option"===e.name&&1===e.fragment.nodes?.length&&"ExpressionTag"===e.fragment.nodes[0].type&&!e.attributes.some((e=>"Attribute"===e.type&&"value"===e.name))){const t=e.fragment.nodes[0];e.attributes.push(zr("value",t.start,t.end,[t]))}t.state.analysis.elements.push(e)},SvelteElement(e,{state:t}){t.analysis.elements.push(e)}};function Ck(e){if("boolean"==typeof e.metadata.can_delegate_events)return e;let t=new Map,r=!1,n=!1,s=!1;for(const a of e.attributes)if("OnDirective"===a.type||"Attribute"===a.type&&Ms(a)){let e=a.name;"Attribute"===a.type&&(e=wk(e)),t.set(e,(t.get(e)||0)+1),n||"OnDirective"!==a.type||(n=!0)}else r||"SpreadAttribute"!==a.type?s||("BindDirective"!==a.type||"this"===a.name)&&"UseDirective"!==a.type||(s=!0):r=!0;return e.metadata.can_delegate_events=!(s||r&&n||[...t.values()].some((e=>e>1))),e.metadata.has_spread=r,e}function wk(e){return Pk(e)&&(e=e.slice(0,-7)),e=e.slice(2)}function Pk(e){return e.endsWith("capture")&&"ongotpointercapture"!==e&&"onlostpointercapture"!==e}const kk={type:"Newline"},Ek={type:"Indent"},Sk={type:"Dedent"};function Tk(...e){return{type:"Sequence",children:e}}function Ak(e,t,r=e.length){let n=0;for(let s=t;s<r;s+=1){const t=e[s];"string"==typeof t?n+=t.length:"Chunk"===t.type?n+=t.content.length:"Sequence"===t.type&&(n+=2)}return n}function Rk(e,t){const r=Fk[e.type];if(!r)throw new Error(`Not implemented ${e.type}`);e.leadingComments&&qk(e.leadingComments,t,!1),r(e,t),e.trailingComments&&t.comments.push(e.trailingComments[0])}function Ik(e,t){return{type:"Chunk",content:e,loc:t?.loc??null}}function qk(e,t,r){for(const n of e)t.commands.push({type:"Comment",comment:n}),r||"Line"===n.type||/\n/.test(n.value)?t.commands.push(kk):t.commands.push(" ")}const Lk={"||":2,"&&":3,"??":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Mk={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,Literal:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,MetaProperty:19,CallExpression:19,ChainExpression:19,ImportExpression:19,NewExpression:19,AwaitExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,ArrowFunctionExpression:3,AssignmentExpression:3,YieldExpression:2,RestElement:1};function Nk(e,t,r){if("LogicalExpression"===e.type&&"LogicalExpression"===t.type&&("??"===t.operator&&"??"!==e.operator||"??"!==t.operator&&"??"===e.operator))return!0;const n=Mk[e.type],s=Mk[t.type];return n!==s?!r&&15===n&&14===s&&"**"===t.operator||n<s:(13===n||14===n)&&("**"===e.operator&&"**"===t.operator?!r:r?Lk[e.operator]<=Lk[t.operator]:Lk[e.operator]<Lk[t.operator])}const Ok=["ImportDeclaration","VariableDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration"],$k=(e,t)=>{let r={type:"EmptyStatement"},n=!0,s=!1;for(const a of e){if("EmptyStatement"===a.type)continue;const e=Tk();n||t.commands.push(e,kk),n=!1;const i=a.leadingComments;delete a.leadingComments,i&&i.length>0&&qk(i,t,!0);const o={...t,multiline:!1};Rk(a,o),(o.multiline||s||(Ok.includes(a.type)||Ok.includes(r.type))&&r.type!==a.type)&&e.children.push("\n");let l=!1;for(;t.comments.length;){const e=t.comments.shift();t.commands.push(l?kk:" ",{type:"Comment",comment:e}),l="Line"===e.type}s=o.multiline,r=a}},Dk=(e,t)=>{const r=t.commands.length,n=Tk(),s=Tk(),a={...t,multiline:!1};t.commands.push(`${e.kind} `,n);let i=!0;for(const r of e.declarations)i||t.commands.push(s),i=!1,Rk(r,a);a.multiline||e.declarations.length>1&&Ak(t.commands,r)>50?(t.multiline=!0,e.declarations.length>1&&n.children.push(Ek),s.children.push(",",kk),e.declarations.length>1&&t.commands.push(Sk)):s.children.push(", ")};function jk(e,t,r,n){if(0===e.length)return;const s=t.commands.length,a=Tk(),i=Tk(),o=Tk();t.commands.push(a);const l={...t,multiline:!1};let c;for(let r=0;r<e.length;r+=1){const s=e[r],a=0===r,o=r===e.length-1;if(s)if(a||c||t.commands.push(i),n(s,l),o||t.commands.push(","),t.comments.length>0){for(t.commands.push(" ");t.comments.length;){const e=t.comments.shift();t.commands.push({type:"Comment",comment:e}),o||t.commands.push(i)}l.multiline=!0}else o||t.commands.push(i);else t.commands.push(",");c=s}t.commands.push(o);l.multiline||Ak(t.commands,s)>50?(t.multiline=!0,a.children.push(Ek,kk),i.children.push(kk),o.children.push(Sk,kk)):(r&&a.children.push(" "),i.children.push(" "),r&&o.children.push(" "))}const Bk={"ArrayExpression|ArrayPattern":(e,t)=>{t.commands.push("["),jk(e.elements,t,!1,Rk),t.commands.push("]")},"BinaryExpression|LogicalExpression":(e,t)=>{Nk(e.left,e,!1)?(t.commands.push("("),Rk(e.left,t),t.commands.push(")")):Rk(e.left,t),t.commands.push(` ${e.operator} `),Nk(e.right,e,!0)?(t.commands.push("("),Rk(e.right,t),t.commands.push(")")):Rk(e.right,t)},"BlockStatement|ClassBody":(e,t)=>{0!==e.body.length?(t.multiline=!0,t.commands.push("{",Ek,kk),$k(e.body,t),t.commands.push(Sk,kk,"}")):t.commands.push("{}")},"CallExpression|NewExpression":(e,t)=>{t.commands.length,"NewExpression"===e.type&&t.commands.push("new ");const r=Mk[e.callee.type]<Mk.CallExpression||"NewExpression"===e.type&&function(e){for(;e;){if("CallExpression"===e.type)return!0;if("MemberExpression"!==e.type)return!1;e=e.object}}(e.callee);r?(t.commands.push("("),Rk(e.callee,t),t.commands.push(")")):Rk(e.callee,t),e.optional&&t.commands.push("?.");const n=Tk(),s=Tk(),a=Tk();t.commands.push("(",n);const i={...t,multiline:!1},o={...t,multiline:!1};for(let r=0;r<e.arguments.length;r+=1){if(r>0)if(t.comments.length>0)for(t.commands.push(", ");t.comments.length;){const e=t.comments.shift();t.commands.push({type:"Comment",comment:e}),"Line"===e.type?(i.multiline=!0,t.commands.push(kk)):t.commands.push(" ")}else t.commands.push(s);Rk(e.arguments[r],r===e.arguments.length-1?o:i)}t.commands.push(a,")");const l=i.multiline;(l||o.multiline)&&(t.multiline=!0),l?(n.children.push(Ek,kk),s.children.push(",",kk),a.children.push(Sk,kk)):s.children.push(", ")},"ClassDeclaration|ClassExpression":(e,t)=>{t.commands.push("class "),e.id&&(Rk(e.id,t),t.commands.push(" ")),e.superClass&&(t.commands.push("extends "),Rk(e.superClass,t),t.commands.push(" ")),Rk(e.body,t)},"ForInStatement|ForOfStatement":(e,t)=>{t.commands.push("for "),"ForOfStatement"===e.type&&e.await&&t.commands.push("await "),t.commands.push("("),"VariableDeclaration"===e.left.type?Dk(e.left,t):Rk(e.left,t),t.commands.push("ForInStatement"===e.type?" in ":" of "),Rk(e.right,t),t.commands.push(") "),Rk(e.body,t)},"FunctionDeclaration|FunctionExpression":(e,t)=>{e.async&&t.commands.push("async "),t.commands.push(e.generator?"function* ":"function "),e.id&&Rk(e.id,t),t.commands.push("("),jk(e.params,t,!1,Rk),t.commands.push(") "),Rk(e.body,t)},"RestElement|SpreadElement":(e,t)=>{t.commands.push("..."),Rk(e.argument,t)}},Fk={ArrayExpression:Bk["ArrayExpression|ArrayPattern"],ArrayPattern:Bk["ArrayExpression|ArrayPattern"],ArrowFunctionExpression:(e,t)=>{e.async&&t.commands.push("async "),t.commands.push("("),jk(e.params,t,!1,Rk),t.commands.push(") => "),"ObjectExpression"===e.body.type||"AssignmentExpression"===e.body.type&&"ObjectPattern"===e.body.left.type?(t.commands.push("("),Rk(e.body,t),t.commands.push(")")):Rk(e.body,t)},AssignmentExpression(e,t){Rk(e.left,t),t.commands.push(` ${e.operator} `),Rk(e.right,t)},AssignmentPattern(e,t){Rk(e.left,t),t.commands.push(" = "),Rk(e.right,t)},AwaitExpression(e,t){if(e.argument){const r=Mk[e.argument.type];r&&r<Mk.AwaitExpression?(t.commands.push("await ("),Rk(e.argument,t),t.commands.push(")")):(t.commands.push("await "),Rk(e.argument,t))}else t.commands.push("await")},BinaryExpression:Bk["BinaryExpression|LogicalExpression"],BlockStatement:Bk["BlockStatement|ClassBody"],BreakStatement(e,t){e.label?(t.commands.push("break "),Rk(e.label,t),t.commands.push(";")):t.commands.push("break;")},CallExpression:Bk["CallExpression|NewExpression"],ChainExpression(e,t){Rk(e.expression,t)},ClassBody:Bk["BlockStatement|ClassBody"],ClassDeclaration:Bk["ClassDeclaration|ClassExpression"],ClassExpression:Bk["ClassDeclaration|ClassExpression"],ConditionalExpression(e,t){Mk[e.test.type]>Mk.ConditionalExpression?Rk(e.test,t):(t.commands.push("("),Rk(e.test,t),t.commands.push(")"));const r=Tk(),n=Tk(),s={...t,multiline:!1};t.commands.push(r),Rk(e.consequent,s),t.commands.push(n),Rk(e.alternate,s);s.multiline?(r.children.push(Ek,kk,"? "),n.children.push(kk,": "),t.commands.push(Sk)):(r.children.push(" ? "),n.children.push(" : "))},ContinueStatement(e,t){e.label?(t.commands.push("continue "),Rk(e.label,t),t.commands.push(";")):t.commands.push("continue;")},DebuggerStatement(e,t){t.commands.push(Ik("debugger",e),";")},DoWhileStatement(e,t){t.commands.push("do "),Rk(e.body,t),t.commands.push(" while ("),Rk(e.test,t),t.commands.push(");")},EmptyStatement(e,t){t.commands.push(";")},ExportAllDeclaration(e,t){t.commands.push("export * from "),Rk(e.source,t),t.commands.push(";")},ExportDefaultDeclaration(e,t){t.commands.push("export default "),Rk(e.declaration,t),"FunctionDeclaration"!==e.declaration.type&&t.commands.push(";")},ExportNamedDeclaration(e,t){t.commands.push("export "),e.declaration?Rk(e.declaration,t):(t.commands.push("{"),jk(e.specifiers,t,!0,((e,t)=>{Rk(e.local,t),e.local.name!==e.exported.name&&(t.commands.push(" as "),Rk(e.exported,t))})),t.commands.push("}"),e.source&&(t.commands.push(" from "),Rk(e.source,t)),t.commands.push(";"))},ExpressionStatement(e,t){if("AssignmentExpression"===e.expression.type&&"ObjectPattern"===e.expression.left.type)return t.commands.push("("),Rk(e.expression,t),void t.commands.push(");");Rk(e.expression,t),t.commands.push(";")},ForStatement:(e,t)=>{t.commands.push("for ("),e.init&&("VariableDeclaration"===e.init.type?Dk(e.init,t):Rk(e.init,t)),t.commands.push("; "),e.test&&Rk(e.test,t),t.commands.push("; "),e.update&&Rk(e.update,t),t.commands.push(") "),Rk(e.body,t)},ForInStatement:Bk["ForInStatement|ForOfStatement"],ForOfStatement:Bk["ForInStatement|ForOfStatement"],FunctionDeclaration:Bk["FunctionDeclaration|FunctionExpression"],FunctionExpression:Bk["FunctionDeclaration|FunctionExpression"],Identifier(e,t){let r=e.name;t.commands.push(Ik(r,e))},IfStatement(e,t){t.commands.push("if ("),Rk(e.test,t),t.commands.push(") "),Rk(e.consequent,t),e.alternate&&(t.commands.push(" else "),Rk(e.alternate,t))},ImportDeclaration(e,t){if(0===e.specifiers.length)return t.commands.push("import "),Rk(e.source,t),void t.commands.push(";");let r=null,n=null;const s=[];for(const t of e.specifiers)"ImportNamespaceSpecifier"===t.type?r=t:"ImportDefaultSpecifier"===t.type?n=t:s.push(t);t.commands.push("import "),n&&(t.commands.push(Ik(n.local.name,n)),(r||s.length>0)&&t.commands.push(", ")),r&&t.commands.push(Ik("* as "+r.local.name,r)),s.length>0&&(t.commands.push("{"),jk(s,t,!0,((e,t)=>{e.local.name!==e.imported.name&&(Rk(e.imported,t),t.commands.push(" as ")),Rk(e.local,t)})),t.commands.push("}")),t.commands.push(" from "),Rk(e.source,t),t.commands.push(";")},ImportExpression(e,t){t.commands.push("import("),Rk(e.source,t),t.commands.push(")")},LabeledStatement(e,t){Rk(e.label,t),t.commands.push(": "),Rk(e.body,t)},Literal(e,t){const r=e.raw??("string"==typeof e.value?JSON.stringify(e.value):String(e.value));t.commands.push(Ik(r,e))},LogicalExpression:Bk["BinaryExpression|LogicalExpression"],MemberExpression(e,t){Mk[e.object.type]<Mk.MemberExpression?(t.commands.push("("),Rk(e.object,t),t.commands.push(")")):Rk(e.object,t),e.computed?(e.optional&&t.commands.push("?."),t.commands.push("["),Rk(e.property,t),t.commands.push("]")):(t.commands.push(e.optional?"?.":"."),Rk(e.property,t))},MetaProperty(e,t){Rk(e.meta,t),t.commands.push("."),Rk(e.property,t)},MethodDefinition(e,t){e.static&&t.commands.push("static "),"get"!==e.kind&&"set"!==e.kind||t.commands.push(e.kind+" "),e.value.async&&t.commands.push("async "),e.value.generator&&t.commands.push("*"),e.computed&&t.commands.push("["),Rk(e.key,t),e.computed&&t.commands.push("]"),t.commands.push("("),jk(e.value.params,t,!1,Rk),t.commands.push(") "),Rk(e.value.body,t)},NewExpression:Bk["CallExpression|NewExpression"],ObjectExpression(e,t){t.commands.push("{"),jk(e.properties,t,!0,((e,t)=>{if("Property"===e.type&&"FunctionExpression"===e.value.type){const r=e.value;"get"===e.kind||"set"===e.kind?t.commands.push(e.kind+" "):(r.async&&t.commands.push("async "),r.generator&&t.commands.push("*")),e.computed&&t.commands.push("["),Rk(e.key,t),e.computed&&t.commands.push("]"),t.commands.push("("),jk(r.params,t,!1,Rk),t.commands.push(") "),Rk(r.body,t)}else Rk(e,t)})),t.commands.push("}")},ObjectPattern(e,t){t.commands.push("{"),jk(e.properties,t,!0,Rk),t.commands.push("}")},ParenthesizedExpression:(e,t)=>Rk(e.expression,t),PrivateIdentifier(e,t){t.commands.push("#",Ik(e.name,e))},Program(e,t){$k(e.body,t)},Property(e,t){const r="AssignmentPattern"===e.value.type?e.value.left:e.value;e.computed||"init"!==e.kind||"Identifier"!==e.key.type||"Identifier"!==r.type||e.key.name!==r.name?(e.computed&&t.commands.push("["),Rk(e.key,t),t.commands.push(e.computed?"]: ":": "),Rk(e.value,t)):Rk(e.value,t)},PropertyDefinition(e,t){e.static&&t.commands.push("static "),e.computed?(t.commands.push("["),Rk(e.key,t),t.commands.push("]")):Rk(e.key,t),e.value&&(t.commands.push(" = "),Rk(e.value,t)),t.commands.push(";")},RestElement:Bk["RestElement|SpreadElement"],ReturnStatement(e,t){if(e.argument){const r=e.argument.leadingComments&&e.argument.leadingComments.some((e=>"Line"===e.type));t.commands.push(r?"return (":"return "),Rk(e.argument,t),t.commands.push(r?");":";")}else t.commands.push("return;")},SequenceExpression(e,t){t.commands.push("("),jk(e.expressions,t,!1,Rk),t.commands.push(")")},SpreadElement:Bk["RestElement|SpreadElement"],StaticBlock(e,t){t.commands.push(Ek,"static {",kk),$k(e.body,t),t.commands.push(Sk,kk,"}")},Super(e,t){t.commands.push(Ik("super",e))},SwitchStatement(e,t){t.commands.push("switch ("),Rk(e.discriminant,t),t.commands.push(") {",Ek);let r=!0;for(const n of e.cases){r||t.commands.push("\n"),r=!1,n.test?(t.commands.push(kk,"case "),Rk(n.test,t),t.commands.push(":")):t.commands.push(kk,"default:"),t.commands.push(Ek);for(const e of n.consequent)t.commands.push(kk),Rk(e,t);t.commands.push(Sk)}t.commands.push(Sk,kk,"}")},TaggedTemplateExpression(e,t){Rk(e.tag,t),Rk(e.quasi,t)},TemplateLiteral(e,t){t.commands.push("`");const{quasis:r,expressions:n}=e;for(let e=0;e<n.length;e++){const s=r[e].value.raw;t.commands.push(s,"${"),Rk(n[e],t),t.commands.push("}"),/\n/.test(s)&&(t.multiline=!0)}const s=r[r.length-1].value.raw;t.commands.push(s,"`"),/\n/.test(s)&&(t.multiline=!0)},ThisExpression(e,t){t.commands.push(Ik("this",e))},ThrowStatement(e,t){t.commands.push("throw "),Rk(e.argument,t),t.commands.push(";")},TryStatement(e,t){t.commands.push("try "),Rk(e.block,t),e.handler&&(e.handler.param?(t.commands.push(" catch("),Rk(e.handler.param,t),t.commands.push(") ")):t.commands.push(" catch "),Rk(e.handler.body,t)),e.finalizer&&(t.commands.push(" finally "),Rk(e.finalizer,t))},UnaryExpression(e,t){t.commands.push(e.operator),e.operator.length>1&&t.commands.push(" "),Mk[e.argument.type]<Mk.UnaryExpression?(t.commands.push("("),Rk(e.argument,t),t.commands.push(")")):Rk(e.argument,t)},UpdateExpression(e,t){e.prefix?(t.commands.push(e.operator),Rk(e.argument,t)):(Rk(e.argument,t),t.commands.push(e.operator))},VariableDeclaration(e,t){Dk(e,t),t.commands.push(";")},VariableDeclarator(e,t){Rk(e.id,t),e.init&&(t.commands.push(" = "),Rk(e.init,t))},WhileStatement(e,t){t.commands.push("while ("),Rk(e.test,t),t.commands.push(") "),Rk(e.body,t)},WithStatement(e,t){t.commands.push("with ("),Rk(e.object,t),t.commands.push(") "),Rk(e.body,t)},YieldExpression(e,t){e.argument?(t.commands.push(e.delegate?"yield* ":"yield "),Rk(e.argument,t)):t.commands.push(e.delegate?"yield*":"yield")}};let Vk=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};function Hk(e,t={}){if(Array.isArray(e))return Hk({type:"Program",body:e,sourceType:"module"},t);const r={commands:[],comments:[],multiline:!1};Rk(e,r);let n="",s=0,a=[],i=[];function o(e){n+=e;for(let t=0;t<e.length;t+=1)"\n"===e[t]?(a.push(i),i=[],s=0):s+=1}let l="\n";function c(e){if("string"!=typeof e)switch(e.type){case"Chunk":const t=e.loc;t&&i.push([s,0,t.start.line-1,t.start.column]),o(e.content),t&&i.push([s,0,t.end.line-1,t.end.column]);break;case"Newline":o(l);break;case"Indent":l+="\t";break;case"Dedent":l=l.slice(0,-1);break;case"Sequence":for(let t=0;t<e.children.length;t+=1)c(e.children[t]);break;case"Comment":"Line"===e.comment.type?o(`//${e.comment.value}`):o(`/*${e.comment.value.replace(/\n/g,l)}*/`)}else o(e)}for(let e=0;e<r.commands.length;e+=1)c(r.commands[e]);a.push(i);const u={version:3,names:[],sources:[t.sourceMapSource||null],sourcesContent:[t.sourceMapContent||null],mappings:null==t.sourceMapEncodeMappings||t.sourceMapEncodeMappings?ba(a):a};return Object.defineProperties(u,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){return"data:application/json;charset=utf-8;base64,"+Vk(this.toString())}}}),{code:n,map:u}}"undefined"!=typeof window&&"function"==typeof window.btoa?Vk=e=>window.btoa(unescape(encodeURIComponent(e))):"function"==typeof Buffer&&(Vk=e=>Buffer.from(e,"utf-8").toString("base64"));const Uk="5.0.0-next.23";function zk(e,t){if("string"!=typeof e)return e;const r=t?'"':"<",n=t?""":"<";let s=e.indexOf(r),a=e.indexOf("&");if(s<0&&a<0)return e;let i=0,o="";for(;s>=0&&a>=0;)s<a?(i<s&&(o+=e.substring(i,s)),o+=n,i=s+1,s=e.indexOf(r,i)):(i<a&&(o+=e.substring(i,a)),o+="&",i=a+1,a=e.indexOf("&",i));if(s>=0)do{i<s&&(o+=e.substring(i,s)),o+=n,i=s+1,s=e.indexOf(r,i)}while(s>=0);else if(!t)for(;a>=0;)i<a&&(o+=e.substring(i,a)),o+="&",i=a+1,a=e.indexOf("&",i);return i<e.length?o+e.substring(i):o}function Wk(e){return("ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"FunctionDeclaration"===e.type)&&!0===e.metadata?.hoistable}function Gk(e,t,r,n="html",s,a,i){const o=[],l=[];for(const e of t)("Comment"!==e.type||a)&&("RegularElement"!==e.type||"noscript"!==e.name||i)&&("ConstTag"===e.type||"DebugTag"===e.type||"SvelteBody"===e.type||"SvelteWindow"===e.type||"SvelteDocument"===e.type||"SvelteHead"===e.type||"TitleElement"===e.type||"SnippetBlock"===e.type?o.push(e):l.push(e));if(s)return{hoisted:o,trimmed:l};let c,u;for(;(c=l[0])&&"Text"===c.type&&!et.test(c.data);)l.shift();for("Text"===c?.type&&(c.raw=c.raw.replace(Qe,""),c.data=c.data.replace(Qe,""));(u=l.at(-1))&&"Text"===u.type&&!et.test(u.data);)l.pop();"Text"===u?.type&&(u.raw=u.raw.replace(Ze,""),u.data=u.data.replace(Ze,""));const p="svg"===n&&("RegularElement"!==e.type||"text"!==e.name)&&!r.some((e=>"RegularElement"===e.type&&"text"===e.name))||"RegularElement"===e.type&&("select"===e.name||"tr"===e.name||"table"===e.name||"tbody"===e.name||"thead"===e.name||"tfoot"===e.name||"colgroup"===e.name||"datalist"===e.name),d=[];let h=null;for(const e of l)"Text"===e.type?(e.data=e.data.replace(tt," "),e.raw=e.raw.replace(tt," "),null!==h&&Ze.test(h.data)||p&&" "===e.data||d.push(e),h=e):(h=null,d.push(e));return{hoisted:o,trimmed:d}}function Kk(e,t,r,n){const s="Fragment"===t.type?n.at(-1):t;if("foreign"!==e&&(void 0===s||"Root"===s.type||"Component"===s.type||"SvelteComponent"===s.type||"SvelteFragment"===s.type||"SnippetBlock"===s.type)){let t=!0;for(const n of r)if("RegularElement"===n.type){if(!n.metadata.svg){e="html",t=!1;break}}else"Text"===n.type&&""===n.data.trim()||(t=!1);t&&(e="svg")}return e}function Xk(e,t,r){if("foreign"!==t){let n=r.at(-1);if("Fragment"===n?.type&&(n=r.at(-2)),"foreignObject"===e.name)return"html";if("svg"!==t||"Component"===n?.type||"SvelteComponent"===n?.type||"SvelteFragment"===n?.type||"SnippetBlock"===n?.type)return e.metadata.svg?"svg":"html"}return t}function Jk(e,t){const{state:r,visit:n}=t,s="client"===r.options.generate;if(!r.options.dev)return zn("void",rs(0));if("MemberExpression"===e.callee.type){const t=e.callee.object.arguments.map((e=>n(e))),r=n(e.arguments[0]);return Hn("$.inspect",s?ms($n(t)):$n(t),r)}{const t=e.arguments.map((e=>n(e)));return Hn("$.inspect",s?ms($n(t)):$n(t))}}const Qk={ImportDeclaration(e){if("type"===e.importKind)return Xn;if(e.specifiers?.length>0){const t=e.specifiers.filter((e=>"type"!==e.importKind));return 0===t.length?Xn:{...e,specifiers:t}}return e},ExportNamedDeclaration(e,t){if("type"===e.exportKind)return Xn;if(e.declaration)return t.next();if(e.specifiers){const t=e.specifiers.filter((e=>"type"!==e.exportKind));return 0===t.length?Xn:{...e,specifiers:t}}return e},ExportDefaultDeclaration:e=>"type"===e.exportKind?Xn:e,ExportAllDeclaration:e=>"type"===e.exportKind?Xn:e,TSAsExpression:(e,t)=>t.visit(e.expression),TSNonNullExpression:(e,t)=>t.visit(e.expression),TSInterfaceDeclaration:(e,t)=>Xn,TSTypeAliasDeclaration:(e,t)=>Xn};function Yk(e){return{type:"string",value:e}}function Zk(e){return{type:"expression",value:e}}function eE(e){return{type:"statement",value:e}}function tE(e){const t=e.scope.root.unique("anchor");return[Cs(t,Hn("$.create_anchor",Zn("$$payload"))),t]}function rE(e,t=Zn("out")){let r=[],n=[];const s=[],a=()=>{s.push(ds(Bn("+=",ns(Zn("$$payload"),t),hs(r,n)))),r=[],n=[]};for(let t=0;t<e.length;t++){const i=e[t];if("statement"===i.type)0!==r.length&&a(),s.push(i.value);else{let s=r.at(-1);if(s||r.push(s=cs("",!1)),"string"===i.type)s.value.raw+=nE(i.value);else if("expression"===i.type){const a=i.value;if("TemplateLiteral"===a.type){s.value.raw+=nE(a.quasis[0].value.raw),r.push(...a.quasis.slice(1)),n.push(...a.expressions);continue}n.push(a),r.push(cs("",t+1===e.length||"statement"===e[t+1].type))}}}return 0!==r.length&&a(),s}function nE(e){return e.replace(/(`|\${|\\)/g,"\\$1")}function sE(e,t,{visit:r,state:n}){let s=[],a=!1;function i(e,s){const i=!a&&s;if(a=!0,1===e.length){const s=e[0];if("Text"===s.type)return void(!i||"RegularElement"!==t.type||"script"!==t.name&&"style"!==t.name?n.template.push(Yk(zk(s.data))):n.template.push(Yk(s.data)));if("Comment"===s.type)return void n.template.push(Yk(`\x3c!--${zk(s.data)}--\x3e`));if("Anchor"===s.type)return void n.template.push(Zk(s.id));const a=Hn("$.escape_text",r(s.expression));return void n.template.push(Zk(a))}const o=[],l=[];o.push(cs("",!1));for(let t=0;t<e.length;t++){const n=e[t];if("Text"===n.type||"Comment"===n.type){o.at(-1).value.raw+="Comment"===n.type?`\x3c!--${n.data}--\x3e`:zk(n.data)}else"Anchor"===n.type?(l.push(n.id),o.push(cs("",t+1===e.length))):(l.push(Hn("$.escape",r(n.expression))),o.push(cs("",t+1===e.length)))}n.template.push(Zk(hs(o,l)))}for(let t=0;t<e.length;t+=1){const a=e[t];"Text"===a.type||"Comment"===a.type||"ExpressionTag"===a.type||"Anchor"===a.type?s.push(a):(s.length>0&&(i(s,!1),s=[]),r(a,{...n}))}s.length>0&&i(s,!0)}function aE(e,t,r,n){const s=Kk(r.state.metadata.namespace,e,t,r.path),{hoisted:a,trimmed:i}=Gk(e,t,r.path,s,r.state.preserve_whitespace,r.state.options.preserveComments,!0);if(0===a.length&&0===i.length&&!n)return[];const o={...r.state,init:[],template:[],metadata:{namespace:s}};for(const e of a)r.visit(e,o);sE(n?[n,...i,n]:i,e,{...r,state:o});const l=[];return o.template.length>0?(l.push(...o.init),l.push(...rE(o.template))):l.push(...o.init),l}function iE(e,t,r){if("Identifier"===e.id.type)return[Kn(e.id,r)];const n=t.generate("tmp"),s=$s(e.id);return[Kn(Zn(n),r),...s.map((e=>{const t=e.expression?.(Zn(n));return Kn(e.node,t)}))]}function oE(e,t){const r=t.scope.get(e.name);if(null===r||e===r.node)return e;if("store_sub"===r.kind){const r=Zn(e.name.slice(1));return Hn(t.options.dev?"$.store_get_dev":"$.store_get",Zn("$$store_subs"),rs(e.name),oE(r,t))}return r.expression?r.expression:e}function lE(e,t,r){const{state:n,visit:s}=t;if("ArrayPattern"===e.left.type||"ObjectPattern"===e.left.type||"RestElement"===e.left.type){const n=t.state.scope.generate("tmp"),a=[],i=[],o=$s(e.left);for(const e of o){const r=e.expression?.(Zn(n)),s=Bn("=",e.node,r);a.push(s),i.push(lE(s,t,(()=>s)))}return i.every(((e,t)=>e===a[t]))?r():Hn(ms(Vn([Cs(n,s(e.right)),ds(us(i)),As(Zn(n))])))}"Identifier"!==e.left.type&&"MemberExpression"!==e.left.type&&ar(e,"INTERNAL",`Unexpected assignment type ${e.left.type}`);let a=e.left;for(;"MemberExpression"===a.type;)a=a.object;if("Identifier"!==a.type)return r();const i="$"===(o=a.name)[0]&&/[A-Za-z_]/.test(o[1]);var o;const l=i?a.name.slice(1):a.name,c=n.scope.get(l);if(!c)return r();if(null!==c.mutation)return c.mutation(e,t);if("state"!==c.kind&&"prop"!==c.kind&&"each"!==c.kind&&"legacy_reactive"!==c.kind&&!i)return r();const u=function(e,{state:t,visit:r}){if("Identifier"===e.left.type){const n=e.operator;return"="===n?r(e.right):Fn(n.slice(0,-1),oE(e.left,t),r(e.right))}return r(e.right)}(e,{state:n,visit:s});return a===e.left?i?Hn("$.store_set",Zn(l),s(e.right)):r():i?Hn("$.mutate_store",Zn("$$store_subs"),rs(a.name),Zn(l),Bn(e.operator,s(e.left),u)):r()}function cE(e,t,r){let n=t.name;return"RegularElement"!==e.type||e.metadata.svg||"foreign"===r.state.metadata.namespace||(n=n.toLowerCase()),n}const uE={Identifier(e,{path:t,state:r}){if(Nn(e,t.at(-1)))return"$$props"===e.name?Zn("$$sanitized_props"):oE(e,r)},AssignmentExpression:(e,t)=>lE(e,t,t.next),UpdateExpression(e,t){const{state:r,next:n}=t,s=e.argument;if("Identifier"===s.type){const t=r.scope.get(s.name),a="store_sub"===t?.kind,i=a?s.name.slice(1):s.name;if(a){let t="++"===e.operator?"$.increment":"$.decrement";return e.prefix&&(t+="_pre"),a?(t+="_store",Hn(t,oE(Zn(i),r),Hn("$"+i))):Hn(t,Zn(i))}return n()}return n()}},pE={Program:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),BlockStatement:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))})},dE={PropertyDefinition(e,{state:t,next:r,visit:n}){if(null!=e.value&&"CallExpression"===e.value.type){const r=sa(e.value,t.scope);if("$state"===r||"$derived"===r)return{...e,value:0===e.value.arguments.length?null:n(e.value.arguments[0])}}r()},VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=js(s.init),a=sa(e,t.scope);if(!a||"$effect.active"===a||"$inspect"===a){n.push(r(s));continue}if("$props"===a){n.push(Kn(s.id,Zn("$$props")));continue}const i=e.arguments,o=0===i.length?Zn("undefined"):r(i[0]);"Identifier"!==s.id.type?"$derived"!==a?n.push(...iE(s,t.scope,o)):n.push(Kn(r(s.id),o)):n.push(Kn(s.id,o))}return{...e,declarations:n}},ExpressionStatement(e,t){const r=e.expression;if("CallExpression"===r.type){const e=r.callee;if("Identifier"===e.type&&"$effect"===e.name)return Xn;if("MemberExpression"===e.type&&"Identifier"===e.object.type&&"$effect"===e.object.name)return Xn}t.next()},CallExpression(e,t){const r=sa(e,t.state.scope);return"$effect.active"===r?rs(!1):"$inspect"===r||"$inspect().with"===r?Jk(e,t):void t.next()}};function hE(e,t,r=!1,n=!1){if(!0===e)return vs;if(0===e.length)return rs("");if(1===e.length){const s=e[0];if("Text"===s.type){let e=s.data;return r&&(e=e.replace(tt," ").trim()),rs(n?e:zk(e,!0))}return t.visit(s.expression)}const s=[],a=[];"Text"!==e[0].type&&s.push(cs("",!1));let i=0;for(const n of e)if(i++,"Text"===n.type){let t=n.data;r&&(t=t.replace(tt," ")),s.push(cs(t,i===e.length))}else a.push(Hn("$.stringify",t.visit(n.expression))),i===e.length&&s.push(cs("",!0));return hs(s,a)}function mE(e,t,r){const n=[],s=[],a=[],i={};function o(e){const t=n.at(-1),r=Array.isArray(t),s=r?t:[];s.push(e),r||n.push(s)}for(const t of e.attributes)if("LetDirective"===t.type)a.push(r.visit(t));else if("SpreadAttribute"===t.type)n.push(r.visit(t));else if("Attribute"===t.type){if(t.name.startsWith("--")){const e=hE(t.value,r,!1,!0);s.push(ts(t.name,e));continue}const e=hE(t.value,r,!1,!0);o(os("init",Is(t.name),e))}else"BindDirective"===t.type&&(o(Yn(t.name,[As(r.visit(t.expression))])),o(ps(t.name,[ds(r.visit(Bn("=",t.expression,Zn("$$value")))),ds(Bn("=",Zn("$$settled"),gs))])));const l=[];for(const t of e.fragment.nodes){if("SnippetBlock"===t.type){r.visit(t,{...r.state,init:l}),o(os("init",t.expression,t.expression));continue}let e="default";if(Hr(t)){const r=t.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name));void 0!==r&&(e=r.value[0].data)}i[e]=i[e]||[],i[e].push(t)}const c=[];for(const t of Object.keys(i)){const n=aE(e,i[t],r);if(0===n.length)continue;const s=jn([Zn("$$payload"),Zn("$$slotProps")],Vn([..."default"===t?a:[],...n]));if("default"===t)o(os("init",Zn("children"),r.state.options.dev?Hn("$.add_snippet_symbol",s):s));else{const e=os("init",rs(t),s);c.push(e)}}c.length>0&&o(os("init",Zn("$$slots"),as(c)));const u=0===n.length||1===n.length&&Array.isArray(n[0])?as(n[0]||[]):Hn("$.spread_props",$n(n.map((e=>Array.isArray(e)?as(e):e))));let p=ds(("string"==typeof t?Hn:Un)(r.state.options.dev?Hn("$.validate_component","string"==typeof t?Zn(t):t):t,Zn("$$payload"),u));return s.length>0&&(p=ds(Hn("$.css_props",Zn("$$payload"),rs("svg"!==r.state.metadata.namespace),as(s),ms(Vn([p]))))),l.length>0&&(p=Vn([...l,p])),p}function fE(e){return!0!==e.value&&1===e.value.length&&"Text"===e.value[0].type}const yE={VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=t.scope.get_bindings(s),a=e.some((e=>"state"===e.kind)),i=e.some((e=>"prop"===e.kind));if(a||i)if(i){if("Identifier"!==s.id.type){const e=t.scope.generate("tmp"),a=$s(s.id);n.push(Kn(Zn(e),r(s.init)));for(const r of a){const s=r.expression?.(Zn(e)),a=r.node.name,i=t.scope.get(a),o=ns(Zn("$$props"),rs(i.prop_alias??a),!0);n.push(Kn(r.node,Hn("$.value_or_fallback",o,s)))}continue}const e=t.scope.get(s.id.name),a=ns(Zn("$$props"),rs(e.prop_alias??s.id.name),!0),i=s.init?Hn("$.value_or_fallback",a,r(s.init)):a;n.push(Kn(s.id,i))}else n.push(...iE(s,t.scope,s.init&&r(s.init)));else n.push(r(s))}return{...e,declarations:n}},LabeledStatement(e,t){var r,n;if(!(t.path.length>1)&&"$"===e.label.name)return t.state.legacy_reactive_statements.set(e,(r="$",n=t.visit(e.body),{type:"LabeledStatement",label:Zn(r),body:n})),Xn}},vE={Fragment:(e,t)=>Vn(aE(e,e.nodes,t)),HtmlTag(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=t.visit(e.expression);t.state.template.push(Zk(a)),r.template.push(Zk(s))},ConstTag(e,{state:t,visit:r}){const n=e.declaration.declarations[0],s=r(n.id),a=r(n.init);t.init.push(Gn("const",s,a))},DebugTag(e,{state:t,visit:r}){t.template.push(eE(ds(Hn("console.log",as(e.identifiers.map((e=>os("init",e,r(e)))))))),eE(bs))},RenderTag(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=r.options.dev?Hn("$.validate_snippet",e.expression):e.expression;e.argument?r.template.push(eE(ds(Hn(a,Zn("$$payload"),t.visit(e.argument))))):r.template.push(eE(ds(Hn(a,Zn("$$payload"))))),r.template.push(Zk(s))},ClassDirective(e){ar(e,"INTERNAL","Node should have been handled elsewhere")},StyleDirective(e){ar(e,"INTERNAL","Node should have been handled elsewhere")},RegularElement(e,t){const r={...t.state.metadata,namespace:Xk(e,t.state.metadata.namespace,t.path)};t.state.template.push(Yk(`<${e.name}`));const n=gE(e,t);t.state.template.push(Yk(">"));const s={...t.state,metadata:r,preserve_whitespace:t.state.preserve_whitespace||("pre"===e.name||"textarea"===e.name)&&"foreign"!==r.namespace},a=null!==n?{...t,state:{...s,template:[],init:[]}}:{...t,state:s},{hoisted:i,trimmed:o}=Gk(e,e.fragment.nodes,a.path,r.namespace,s.preserve_whitespace,s.options.preserveComments,!0);for(const e of i)a.visit(e,s);if(sE(o,e,a),null!==n){let e;const r=n.escape?Hn("$.escape",n.expression):n.expression;"Identifier"===r.type?e=r:(e=Zn(t.state.scope.generate("$$body")),t.state.template.push(eE(Cs(e,r)))),t.state.template.push(eE(Es(e,Vn(rE([Zk(e)])),Vn([...a.state.init,...rE(a.state.template)]))))}zs.includes(e.name)||"foreign"===r.namespace||t.state.template.push(Yk(`</${e.name}>`))},SvelteElement(e,t){let r=t.visit(e.tag);if("Identifier"!==r.type){const e=t.state.scope.generate("$$tag");t.state.init.push(Cs(e,r)),r=Zn(e)}t.state.options.dev&&(e.fragment.nodes.length>0&&t.state.init.push(ds(Hn("$.validate_void_dynamic_element",ms(r)))),t.state.init.push(ds(Hn("$.validate_dynamic_element_tag",ms(r)))));const n={...t,state:{...t.state,template:[],init:[]}},[s,a]=tE(t.state);t.state.init.push(s),t.state.template.push(Zk(a));const[i,o]=tE(t.state);n.state.init.push(i),n.state.template.push(Yk("<"),Zk(r)),gE(e,n),n.state.template.push(Yk(">"));const l=rE(n.state.template),c=aE(e,e.fragment.nodes,t),u=rE([Zk(o),Yk("</"),Zk(r),Yk(">")]);t.state.template.push(eE(Es(r,Vn([...n.state.init,...l,Es(zn("!",Hn("$.VoidElements.has",r)),Vn([...rE([Zk(o)]),...c,...u]))]))),Zk(a))},EachBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=e.metadata,i=t.visit(e.expression),o=Zn(a.item_name),l=a.contains_group_binding||!e.index?a.index:Zn(e.index),c=e.body.nodes,[u,p]=tE(r),d={type:"Anchor",id:p},h=r.scope.root.unique("each_array");r.init.push(Cs(h,Hn("$.ensure_array_like",i)));const m=[Cs(o,ns(h,l,!0))];"Identifier"!==e.context.type&&m.push(Cs(e.context,o)),l.name!==e.index&&null!=e.index&&m.push(_s(e.index,l)),m.push(u,...aE(e,c,t,d));const f=function(e,t,r,n){return{type:"ForStatement",init:e,test:t,update:r,body:n}}(_s(l,rs(0)),Fn("<",l,ns(h,Zn("length"))),function(e,t,r=!1){return{type:"UpdateExpression",operator:e,argument:t,prefix:r}}("++",l,!1),Vn(m));e.fallback?r.template.push(eE(Es(Fn("!==",ns(h,Zn("length")),rs(0)),f,Vn(aE(e,e.fallback.nodes,t))))):r.template.push(eE(f)),r.template.push(Zk(s))},IfBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=aE(e,e.consequent.nodes,t);a.unshift(ds(Bn("+=",Zn("$$payload.out"),rs("\x3c!--ssr:if:true--\x3e"))));const i=e.alternate?t.visit(e.alternate):Vn([]);i.body.unshift(ds(Bn("+=",Zn("$$payload.out"),rs("\x3c!--ssr:if:false--\x3e")))),r.template.push(eE(Es(t.visit(e.test),Vn(a),i))),r.template.push(Zk(s))},AwaitBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s)),r.template.push(eE(ds(Hn("$.await",t.visit(e.expression),ms(e.pending?t.visit(e.pending):Vn([])),jn(e.value?[t.visit(e.value)]:[],e.then?t.visit(e.then):Vn([])),jn(e.error?[t.visit(e.error)]:[],e.catch?t.visit(e.catch):Vn([])))))),r.template.push(Zk(s))},KeyBlock(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=aE(e,e.fragment.nodes,t);r.template.push(eE(Vn(a))),r.template.push(Zk(s))},SnippetBlock(e,t){const r=[Zn("$$payload")];e.context&&r.push(e.context),t.state.init.push(Qn(e.expression,r,t.visit(e.body))),t.state.options.dev&&t.state.init.push(ds(Hn("$.add_snippet_symbol",e.expression)))},BindDirective(e,t){},Component(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,e.name,t);r.template.push(eE(a)),r.template.push(Zk(s))},SvelteSelf(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,t.state.analysis.name,t);r.template.push(eE(a)),r.template.push(Zk(s))},SvelteComponent(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=mE(e,t.visit(e.expression),t);r.template.push(eE(a)),r.template.push(Zk(s))},LetDirective(e,{state:t}){if(e.expression&&"Identifier"!==e.expression.type){const r=t.scope.generate(e.name),n=t.scope.get_bindings(e);for(const e of n)e.expression=ns(Zn(r),Zn(e.node.name));return Cs(r,Hn(ms(Vn([_s("ObjectExpression"===e.expression.type?is(e.expression.properties):Dn(e.expression.elements),ns(Zn("$$slotProps"),Zn(e.name))),As(as(n.map((e=>ts(e.node.name,e.node)))))]))))}return Cs(null===e.expression?e.name:e.expression.name,ns(Zn("$$slotProps"),Zn(e.name)))},SpreadAttribute:(e,{visit:t})=>t(e.expression),SvelteFragment(e,t){for(const r of e.attributes)"LetDirective"===r.type&&t.state.template.push(eE(t.visit(r)));const r={...t.state,scope:t.state.scopes.get(e.fragment)},n=aE(e,e.fragment.nodes,{...t,state:r});t.state.template.push(eE(Vn(n)))},TitleElement(e,t){const r=t.state,n={...r,init:[],template:[]};sE(e.fragment.nodes,e,{...t,state:n}),r.init.push(ds(Bn("=",Zn("$$payload.title"),rs("<title>")))),n.template.push(Yk("</title>")),r.init.push(...rE(n.template,Zn("title")))},SlotElement(e,t){const r=t.state,[n,s]=tE(r);r.init.push(n),r.template.push(Zk(s));const a=[],i=[];let o=ss("$$props.children");for(const r of e.attributes)if("SpreadAttribute"===r.type)i.push(t.visit(r));else if("Attribute"===r.type){const e=hE(r.value,t);"name"===r.name?o=ns(ss("$$props.$$slots"),e,!0,!0):r.metadata.dynamic?a.push(Yn(r.name,[As(e)])):a.push(ts(r.name,e))}const l=0===i.length?as(a):Hn("$.spread_props",$n([as(a),...i])),c=0===e.fragment.nodes.length?rs(null):ms(Vn(aE(e,e.fragment.nodes,t))),u=Hn("$.slot",Zn("$$payload"),o,l,c);r.template.push(eE(ds(u))),r.template.push(Zk(s))},SvelteHead(e,t){const r=t.state,n=aE(e,e.fragment.nodes,t);r.template.push(eE(ds(Hn("$.head",Zn("$$payload"),jn([Zn("$$payload")],Vn(n))))))},CallExpression:dE.CallExpression};function gE(e,t){const r=[],n=[],s=[],a=[];let i=null,o=!1,l=-1,c=-1;for(const u of e.attributes)if("Attribute"===u.type)"value"===u.name&&"textarea"===e.name?(!0!==u.value&&"Text"===u.value[0].type&&Xe.test(u.value[0].data)&&(u.value[0].data="\n"+u.value[0].data),i={escape:!0,expression:hE(u.value,t)}):Ms(u)||("class"===u.name?l=r.length:"style"===u.name&&(c=r.length),r.push(u));else if("BindDirective"===u.type){if("value"===u.name&&"select"===e.name)continue;if("value"===u.name&&r.some((e=>"Attribute"===e.type&&"type"===e.name&&fE(e)&&"file"===e.value[0].data)))continue;if("this"===u.name)continue;const n=yi[u.name];if(n?.omit_in_ssr)continue;if(Js.includes(u.name))i={escape:!1,expression:u.expression};else if("value"===u.name&&"textarea"===e.name)i={escape:!0,expression:u.expression};else if("group"===u.name){const n=e.attributes.find((e=>"Attribute"===e.type&&"value"===e.name));if(!n)continue;const s=e.attributes.some((e=>"Attribute"===e.type&&"type"===e.name&&fE(e)&&"checkbox"===e.value[0].data));r.push(zr("checked",-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:u,expression:s?Hn(ns(u.expression,Zn("includes")),hE(n.value,t)):Fn("===",u.expression,hE(n.value,t)),metadata:{contains_call_expression:!1,dynamic:!1}}]))}else r.push(zr(u.name,-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:u,expression:u.expression,metadata:{contains_call_expression:!1,dynamic:!1}}]))}else"SpreadAttribute"===u.type?(r.push(u),o=!0):"ClassDirective"===u.type?n.push(u):"StyleDirective"===u.type?s.push(u):"LetDirective"===u.type?a.push(t.visit(u)):t.visit(u);if(n.length>0&&!o){const e=function(e,t){const r=e.map((e=>Wn(e.expression,rs(e.name),rs(""))));null===t&&(t=zr("class",-1,-1,[]));const n=t.value.at(-1);"Text"===n?.type?(n.data+=" ",n.raw+=" "):n&&t.value.push({type:"Text",start:-1,end:-1,parent:t,data:" ",raw:" "});return t.value.push({type:"ExpressionTag",start:-1,end:-1,parent:t,expression:Hn(ns(Hn(ns($n(r),Zn("filter")),Zn("Boolean")),Zn("join")),rs(" ")),metadata:{contains_call_expression:!1,dynamic:!1}}),t}(n,r[l]??null);-1===l&&r.push(e)}if(s.length>0&&!o&&(!function(e,t,r){const n=e.map((e=>{let t=!0===e.value?Zn(e.name):hE(e.value,r,!0);return e.modifiers.includes("important")&&(t=Fn("+",t,rs(" !important"))),ts(e.name,t)}));null===t?r.state.template.push(Zk(Hn("$.add_styles",as(n)))):r.state.template.push(Zk(Hn("$.add_styles",Hn("$.merge_styles",hE(t.value,r,!0),as(n)))))}(s,r[c]??null,t),c>-1&&r.splice(c,1)),t.state.init.push(...a),o)!function(e,t,r,n,s){const a=[];for(const r of t)if("Attribute"===r.type){const t=cE(e,r,s),n=hE(r.value,s,Xs.includes(t));a.push(as([os("init",rs(t),n)]))}else a.push(s.visit(r));const i="RegularElement"!==e.type||e.metadata.svg||Ur(e)?gs:vs,o="RegularElement"===e.type&&e.metadata.svg?vs:gs,l=[$n(a),i,o,rs(s.state.analysis.stylesheet.id)];if(r.length>0||n.length>0){const e=r.map((e=>ts(e.name,!0===e.value?Zn(e.name):hE(e.value,s,!0)))),t=n.map((e=>Wn(e.expression,rs(e.name),rs("")))),a=t.length?Hn(ns(Hn(ns($n(t),Zn("filter")),Zn("Boolean")),Zn("join")),rs(" ")):rs("");l.push(as([ts("styles",0===e.length?rs(null):as(e)),ts("classes",a)]))}s.state.template.push(Zk(Hn("$.spread_attributes",...l)))}(e,r,s,n,t);else for(const n of r){if(!0===n.value||fE(n)){const r=cE(e,n,t),s=hE(n.value,t,Xs.includes(r)).value;("class"!==r||s)&&t.state.template.push(Yk(` ${n.name}${Hs.includes(r)&&!0===s?"":`="${!0===s?"":String(s)}"`}`));continue}const r=cE(e,n,t),s=Hs.includes(r),a=hE(n.value,t,Xs.includes(r));t.state.template.push(Zk(Hn("$.attr",rs(r),a,rs(s))))}return i}function bE(e,{state:t,visit:r}){if("Identifier"===e.left.type){const n=e.operator;return"="===n?r(e.right):Fn(n.slice(0,-1),xE(e.left,t),r(e.right))}if("MemberExpression"===e.left.type&&"ThisExpression"===e.left.object.type&&"PrivateIdentifier"===e.left.property.type&&t.private_state.has(e.left.property.name)){const t=e.operator;return"="===t?r(e.right):Fn(t.slice(0,-1),r(e.left),r(e.right))}return r(e.right)}function xE(e,t){const r=t.scope.get(e.name);return null===r||e===r.node?e:"store_sub"===r.kind?Hn(e):r.expression?r.expression:"prop"===r.kind?"$$props"===r.node.name?e:t.analysis.accessors||(t.analysis.immutable?r.reassigned:r.mutated)||r.initial?Hn(e):ns(Zn("$$props"),e):"legacy_reactive_import"===r.kind?Hn("$$_import_"+e.name):"state"===r.kind&&(!t.analysis.immutable||t.analysis.accessors||r.reassigned)||"derived"===r.kind||"legacy_reactive"===r.kind?Hn("$.get",e):e}function _E(e,t,r){const{state:n,visit:s}=t;if("ArrayPattern"===e.left.type||"ObjectPattern"===e.left.type||"RestElement"===e.left.type){const n=t.state.scope.generate("tmp"),a=[],i=[],o=$s(e.left);for(const e of o){const r=e.expression?.(Zn(n)),s=Bn("=",e.node,r);a.push(s),i.push(_E(s,t,(()=>s)))}return i.every(((e,t)=>e===a[t]))?r():Hn(ms(Vn([Cs(n,s(e.right)),ds(us(i)),As(Zn(n))])))}"Identifier"!==e.left.type&&"MemberExpression"!==e.left.type&&ar(e,"INTERNAL",`Unexpected assignment type ${e.left.type}`);let a=e.left;for(;"MemberExpression"===a.type;){if("ThisExpression"===a.object.type&&"PrivateIdentifier"===a.property.type&&t.state.private_state.has(a.property.name)){const s=bE(e,t);if(!n.in_constructor)return Hn("$.set",a,t.state.analysis.runes&&EE(s)?Hn("$.proxy",s):s);if(t.state.analysis.runes&&EE(s)){const e=r();if("AssignmentExpression"===e.type)return e.right=Hn("$.proxy",s),e}}else if("ThisExpression"===a.object.type&&"Identifier"===a.property.type&&t.state.public_state.has(a.property.name)&&n.in_constructor){const n=bE(e,t);if(t.state.analysis.runes&&EE(n)){const e=r();if("AssignmentExpression"===e.type)return e.right=Hn("$.proxy",n),e}}a=a.object}if("Identifier"!==a.type)return r();const i=n.scope.get(a.name);if(!i)return r();if(null!==i.mutation)return i.mutation(e,t);if("legacy_reactive_import"===i.kind)return Hn("$$_import_"+i.node.name,Bn(e.operator,s(e.left),s(e.right)));const o="store_sub"===i.kind,l=o?a.name.slice(1):a.name;if("state"!==i.kind&&"prop"!==i.kind&&"each"!==i.kind&&"legacy_reactive"!==i.kind&&!o)return r();const c=bE(e,t),u=()=>a===e.left?"prop"===i.kind?Hn(a,c):o?Hn("$.store_set",xE(Zn(l),n),c):Hn("$.set",Zn(l),t.state.analysis.runes&&EE(c)?Hn("$.proxy",c):c):o?Hn("$.mutate_store",xE(Zn(l),n),Bn(e.operator,s(e.left),c),Hn("$"+l)):n.analysis.runes?Bn(e.operator,s(e.left),s(e.right)):"prop"===i.kind?Hn(a,Bn(e.operator,s(e.left),c),rs(!0)):Hn("$.mutate",Zn(l),Bn(e.operator,s(e.left),c));return"BinaryExpression"===c.type&&"??"===c.operator?function(e,t,r){return{type:"LogicalExpression",operator:e,left:t,right:r}}("??",xE(Zn(l),n),u()):u()}const CE=(e,t)=>{const r=e.metadata;let n=t.state;if("FunctionExpression"===e.type){const e=t.path.at(-1),r="MethodDefinition"===e.type&&"constructor"===e.kind;n={...t.state,in_constructor:r}}else n={...t.state,in_constructor:!1};if(!0===r?.hoistable){const r=wE(e,t);return{...e,params:r,body:t.visit(e.body,n)}}t.next(n)};function wE(e,t){const r=function(e,t){const r=t.state.scope,n=[];let s=!1;for(const[a]of r.references){const i=r.get(a);null===i||r.declarations.has(a)||i.initial===e||("store_sub"===i.kind?(n.push(Zn(i.node.name.slice(1))),n.push(Zn(i.node.name))):"prop"!==i.kind||i.reassigned||null!==i.initial||t.state.analysis.accessors||!t.state.analysis.runes?n.push(Zn(i.node.name)):s||(s=!0,n.push(Zn("$$props"))))}return n}(e,t);e.metadata.hoistable_params=r;const n=[];if(0===e.params.length)r.length>0&&n.push(Zn("_"));else for(const r of e.params)n.push(t.visit(r));return n.push(...r),n}function PE(e,t,r,n){const s=[Zn("$$props"),rs(r)];let a,i=0;return t.analysis.immutable&&(i|=1),t.analysis.runes&&(i|=2),(t.analysis.accessors||(t.analysis.immutable?e.reassigned:e.mutated))&&(i|=4),n&&(Bs(n)?a=n:(a="CallExpression"===n.type&&"Identifier"===n.callee.type&&0===n.arguments.length?n.callee:ms(n),i|=8)),(i||a)&&(s.push(rs(i)),a&&s.push(a)),Hn("$.prop",...s)}function kE(e,t,r){if("Identifier"===e.id.type)return[Kn(e.id,Hn("$.mutable_source",r))];const n=t.generate("tmp"),s=$s(e.id);return[Kn(Zn(n),r),...s.map((e=>{const r=e.expression?.(Zn(n)),s=t.get(e.node.name);return Kn(e.node,"state"===s?.kind?Hn("$.mutable_source",r):r)}))]}function EE(e){return!(!e||"Literal"===e.type||"ArrowFunctionExpression"===e.type||"FunctionExpression"===e.type||"Identifier"===e.type&&"undefined"===e.name)}const SE={ClassBody(e,{state:t,visit:r}){const n=new Map,s=new Map,a=[];for(const r of e.body)if("PropertyDefinition"===r.type&&("Identifier"===r.key.type||"PrivateIdentifier"===r.key.type)){const{type:e,name:i}=r.key,o="PrivateIdentifier"===e;if(o&&a.push(i),"CallExpression"===r.value?.type){const e=sa(r.value,t.scope);if("$state"===e||"$derived"===e){const t={kind:"$state"===e?"state":"derived",id:o?r.key:null};o?s.set(i,t):n.set(i,t)}}}for(const[e,t]of n){let r=e;for(;a.includes(r);)r="_"+r;a.push(r),t.id=es(r)}const i=[],o={...t,public_state:n,private_state:s};for(const a of e.body){if("PropertyDefinition"===a.type&&("Identifier"===a.key.type||"PrivateIdentifier"===a.key.type)){const e=a.key.name,l="PrivateIdentifier"===a.key.type,c=(l?s:n).get(e);if("CallExpression"===a.value?.type&&void 0!==c){let n=null;if(a.value.arguments.length>0){const e=r(a.value.arguments[0],o);n="state"===c.kind?Hn("$.source",EE(e)?Hn("$.proxy",e):e):Hn("$.derived",ms(e))}else n=Hn("$.source");if(l)i.push(ls(c.id,n));else{const r=ns(xs,c.id);if(i.push(ls(c.id,n)),i.push(Ps("get",a.key,[],[As(Hn("$.get",r))])),"state"===c.kind){const e=Zn("value");i.push(Ps("set",a.key,[e],[ds(Hn("$.set",r,Hn("$.proxy",e)))]))}"derived"===c.kind&&t.options.dev&&i.push(Ps("set",a.key,[Zn("_")],[Rs(`Cannot update a derived property ('${e}')`)]))}continue}}i.push(r(a,o))}return{...e,body:i}},VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=js(s.init),a=sa(e,t.scope);if(!a||"$effect.active"===a||"$effect.root"===a||"$inspect"===a){if(null!=e&&Wk(e)){const n=r(e);t.hoisted.push(Gn("const",s.id,n));continue}n.push(r(s));continue}if("$props"===a){On(s.id.type,"ObjectPattern");const e=[];for(const r of s.id.properties)if("Property"===r.type){const s=r.key,a="Identifier"===s.type?s.name:s.value;e.push(a);let i,o=r.value;"AssignmentPattern"===r.value.type&&(o=r.value.left,i=r.value.right),On(o.type,"Identifier");const l=t.scope.get(o.name);(l.reassigned||t.analysis.accessors||i)&&n.push(Kn(o,PE(l,t,a,i)))}else n.push(Kn(r.argument,Hn("$.rest_props",Zn("$$props"),$n(e.map((e=>rs(e)))))));continue}const i=e.arguments;let o=0===i.length?Zn("undefined"):r(i[0]);if("Identifier"!==s.id.type)if("$derived"!==a)n.push(...kE(s,t.scope,o));else{const e=t.scope.get_bindings(s),r=t.scope.generate("derived_value");n.push(Kn(Zn(r),Hn("$.derived",ms(Vn([_s(s.id,o),As($n(e.map((e=>e.node))))])))));for(let t=0;t<e.length;t++)e[t].expression=ns(Hn("$.get",Zn(r)),rs(t),!0)}else{if("$state"===a){const e=t.scope.get(s.id.name);EE(o)&&(o=Hn("$.proxy",o)),(!t.analysis.immutable||t.analysis.accessors||e.reassigned)&&(o=Hn("$.source",o))}else o=Hn("$.derived",ms(o));n.push(Kn(s.id,o))}}return 0===n.length?Xn:{...e,declarations:n}},ExpressionStatement(e,t){if("CallExpression"===e.expression.type){const r=e.expression.callee;if("Identifier"===r.type&&"$effect"===r.name&&!t.state.scope.get("$effect")){const r=t.visit(e.expression.arguments[0]);return{...e,expression:Hn("$.user_effect",r)}}if("MemberExpression"===r.type&&"Identifier"===r.object.type&&"$effect"===r.object.name&&"Identifier"===r.property.type&&"pre"===r.property.name&&!t.state.scope.get("$effect")){const r=t.visit(e.expression.arguments[0]);return{...e,expression:Hn("$.pre_effect",r)}}}t.next()},CallExpression(e,t){const r=sa(e,t.state.scope);if("$effect.active"===r)return Hn("$.effect_active");if("$effect.root"===r){return Hn("$.user_root_effect",...e.arguments.map((e=>t.visit(e))))}if("$inspect"===r||"$inspect().with"===r)return Jk(e,t);t.next()}};function TE(e,t,r){let n=t.name;return"RegularElement"!==e.type||e.metadata.svg||"foreign"===r.state.metadata.namespace||(n=n.toLowerCase(),n in Vs&&(n=Vs[n])),n}function AE(e,t,r,n){if(e.length>0){const s=e.map((e=>{let n=!0===e.value?xE({name:e.name,type:"Identifier"},r.state):GE(e.value,r)[1];return ds(Hn("$.style",t,rs(e.name),n,e.modifiers.includes("important")?vs:void 0))}));n||e.some((e=>e.metadata.dynamic))?r.state.update.push(...s.map((e=>({grouped:e})))):r.state.init.push(...s)}}function RE(e){const t=e.split(".");let r=t.shift(),n=Zn(r);for(;r=t.shift();){const e=!st.test(r);n=ns(n,e?rs(r):Zn(r),e)}return n}function IE(e,t,r,n){if(e.length>0){const s=e.map((e=>{const n=r.visit(e.expression);return ds(Hn("$.class_toggle",t,rs(e.name),n))}));n||e.some((e=>e.metadata.dynamic))?r.state.update.push(...s.map((e=>({grouped:e})))):r.state.init.push(...s)}}function qE(e,t){const r=new Set;for(const t of e){const e=LE(t);for(const t of e)r.add(t)}return[...r].map((e=>xE({...e.node},t.state)))}function LE(e,t=new Set){if("legacy_reactive"!==e.kind)return[];for(const r of e.legacy_dependencies)if(!t.has(r)){t.add(r);for(const e of LE(r,t))t.add(e)}return[...t]}function ME(e,t,r,n){const s=n.state,a=TE(e,r,n);let[i,o]=GE(r.value,n);if("foreign"===n.state.metadata.namespace){const e={grouped:ds(Hn("$.attr",t,rs(a),o))};if(r.metadata.dynamic){const r=s.scope.generate(`${t.name}_${a}`);return $E(s,r,void 0,o,e,i),!0}return s.init.push(e.grouped),!1}let l=o;if("autofocus"===a)return s.init.push(ds(Hn("$.auto_focus",t,o))),!1;"class"===a&&(l=Hn("$.to_class",o));const c=(e,r)=>"class"===a?r?{singular:ds(Hn("$.class_name_effect",t,ms(r))),grouped:ds(Hn("$.class_name",t,r)),skip_condition:!0}:{grouped:ds(Hn("$.class_name",t,o)),skip_condition:!0}:Us.includes(a)?{grouped:ds(Bn("=",ns(t,Zn(a)),e))}:r?{singular:ds(Hn(a.startsWith("xlink")?"$.xlink_attr_effect":"$.attr_effect",t,rs(a),ms(r))),grouped:ds(Hn(a.startsWith("xlink")?"$.xlink_attr":"$.attr",t,rs(a),e))}:{grouped:ds(Hn(a.startsWith("xlink")?"$.xlink_attr":"$.attr",t,rs(a),e))};if(r.metadata.dynamic){const e=s.scope.generate(`${t.name}_${a}`);return $E(s,e,"class"===a?rs(""):void 0,l,c(Zn(e),o),i),!0}return s.init.push(c(l).grouped),!1}function NE(e,t,r){const n=r.state,s=t.name;let[a,i]=GE(t.value,r),o=i;const l=(t,r)=>r?{singular:ds(Hn("$.set_custom_element_data_effect",e,rs(s),ms(r))),grouped:ds(Hn("$.set_custom_element_data",e,rs(s),t))}:{grouped:ds(Hn("$.set_custom_element_data",e,rs(s),t))};if(t.metadata.dynamic){const t=n.scope.generate(`${e.name}_${s}`);return $E(n,t,void 0,o,l(Zn(t),i),a),!0}return n.init.push(l(o).grouped),!1}function OE(e,t,r,n){const s=n.state,[a,i]=GE(r.value,n),o=Bn("=",ns(t,Zn("value")),Wn(Fn("==",rs(null),Bn("=",ns(t,Zn("__value")),i)),rs(""),i)),l=r.metadata.dynamic,c="select"===e&&l,u=ds("option"===e&&(l||DE(n).length>0)?us([o,Hn("$.selected",t)]):c?us([o,Hn("$.select_option",t,i)]):o);if(l){const e=s.scope.generate(`${t.name}_value`);return $E(s,e,void 0,i,{grouped:u},a),!0}return s.init.push(u),!1}function $E(e,t,r,n,s,a){const i=Es(Fn("!==",Zn(t),Bn("=",Zn(t),n)),Vn([s.grouped]));a&&s.singular?e.update_effects.push(s.singular):s.skip_condition?s.singular?e.update.push({singular:s.singular,grouped:s.grouped}):e.update.push({init:ws(t,r),grouped:i}):s.singular?e.update.push({init:ws(t,r),singular:s.singular,grouped:i}):e.update.push({init:ws(t,r),grouped:i})}function DE(e){return e.path.filter((e=>"EachBlock"===e.type))}function jE(e,t,r){const n=[],s=[],a={},i={},o=[];let l=null;function c(e){const t=n.at(-1),r=Array.isArray(t),s=r?t:[];s.push(e),r||n.push(s)}for(const t of e.attributes)if("LetDirective"===t.type)s.push(r.visit(t));else if("OnDirective"===t.type){i[t.name]||=[];let e=VE(t,r);t.modifiers.includes("once")&&(e=Hn("$.once",e)),i[t.name].push(e)}else if("SpreadAttribute"===t.type){const e=r.visit(t);if(t.metadata.dynamic){let s=e;if(t.metadata.contains_call_expression){const e=Zn(r.state.scope.generate("spread_element"));r.state.init.push(ws(e,Hn("$.derived",ms(s)))),s=Hn("$.get",e)}n.push(ms(s))}else n.push(e)}else if("Attribute"===t.type){if(t.name.startsWith("--")){o.push(ts(t.name,GE(t.value,r)[1]));continue}const[,e]=GE(t.value,r);if(t.metadata.dynamic){let n=e;const s=Array.isArray(t.value)&&t.value.some((e=>"ExpressionTag"===e.type&&"Identifier"!==e.expression.type&&"MemberExpression"!==e.expression.type));if(s){const s=Zn(r.state.scope.generate(t.name));r.state.init.push(ws(s,Hn("$.derived",ms(e)))),n=Hn("$.get",s)}r.state.options.dev&&(n=Hn("$.readonly",n)),c(Yn(t.name,[As(n)]))}else c(ts(t.name,e))}else if("BindDirective"===t.type)if("this"===t.name)l=t.expression;else{c(Yn(t.name,[As(r.visit(t.expression))]));const e=Bn("=",t.expression,Zn("$$value"));c(ps(t.name,[ds(_E(e,r,(()=>r.visit(e))))]))}if(Object.keys(i).length>0){const e=as(Object.keys(i).map((e=>os("init",Zn(e),i[e].length>1?$n(i[e]):i[e][0]))));c(os("init",Zn("$$events"),e))}const u=[];for(const t of e.fragment.nodes){if("SnippetBlock"===t.type){r.visit(t,{...r.state,init:u}),c(os("init",t.expression,t.expression));continue}let e="default";if(Hr(t)){const r=t.attributes.find((e=>"Attribute"===e.type&&"slot"===e.name));void 0!==r&&(e=r.value[0].data)}a[e]=a[e]||[],a[e].push(t)}const p=[];for(const t of Object.keys(a)){const n=BE(e,`${e.name}_${t}`,a[t],r);if(0===n.length)continue;const i=jn([Zn("$$anchor"),Zn("$$slotProps")],Vn([..."default"===t?s:[],...n]));"default"===t?c(os("init",Zn("children"),r.state.options.dev?Hn("$.add_snippet_symbol",i):i)):p.push(os("init",Is(t),i))}p.length>0&&c(os("init",Zn("$$slots"),as(p)));const d=0===n.length||1===n.length&&Array.isArray(n[0])?as(n[0]||[]):Hn("$.spread_props",...n.map((e=>Array.isArray(e)?as(e):e)));let h=e=>Hn(r.state.options.dev?Hn("$.validate_component",Zn(t)):t,e,d);if(null!==l){const e=h,t=Bn("=",l,Zn("$$value")),n="Identifier"===l.type?l:void 0;h=s=>Hn("$.bind_this",e(s),jn([Zn("$$value")],_E(t,r,(()=>r.visit(t)))),n)}if(Object.keys(o).length>0){const e=h;h=t=>Hn("$.cssProps",t,"svg"===r.state.metadata.namespace?gs:vs,ms(as(o)),jn([Zn("$$node")],e(Zn("$$node"))))}let m=ds(h(r.state.node));return u.length>0&&(m=Vn([...u,m])),m}function BE(e,t,r,n){const s=Kk(n.state.metadata.namespace,e,r,n.path),{hoisted:a,trimmed:i}=Gk(e,r,n.path,s,n.state.preserve_whitespace,n.state.options.preserveComments,!1);if(0===a.length&&0===i.length)return[];const o=1===i.length&&"RegularElement"===i[0].type,l=1===i.length&&("SvelteFragment"===i[0].type||"TitleElement"===i[0].type),c=n.state.scope.root.unique(t),u=[];let p;const d={...n.state,init:[],update:[],update_effects:[],after_update:[],template:[],metadata:{template_needs_import_node:!1,namespace:s,bound_contenteditable:n.state.metadata.bound_contenteditable}};for(const e of a)n.visit(e,d);if(o){const e=i[0],t=Zn(n.state.scope.generate(e.name));n.visit(e,{...d,node:t});const r="svg"===s?"$.svg_template":"$.template";n.state.hoisted.push(ws(c,Hn(r,hs([cs(d.template.join(""),!0)],[])))),u.push(ws(t,Hn("$.open",Zn("$$anchor"),rs(!d.metadata.template_needs_import_node),c)),...d.init),p=ds(Hn("$.close",Zn("$$anchor"),t))}else if(l)n.visit(i[0],d),u.push(...d.init);else if(i.length>0){const e=Zn(n.state.scope.generate("fragment")),t=Zn(n.state.scope.generate("node"));zE(i,t,{...n,state:d});const r=d.template[0];if(1!==d.template.length||" "!==r&&"<!>"!==r){const r="svg"===s?"$.svg_template":"$.template";d.hoisted.push(ws(c,Hn(r,hs([cs(d.template.join(""),!0)],[]),vs))),u.push(ws(e,Hn("$.open_frag",Zn("$$anchor"),rs(!d.metadata.template_needs_import_node),c)),ws(t,Hn("$.child_frag",e)),...d.init),p=ds(Hn("$.close_frag",Zn("$$anchor"),e))}else" "===r?(u.push(ws(t,Hn("$.space",Zn("$$anchor"))),...d.init),p=ds(Hn("$.close",Zn("$$anchor"),t))):(u.push(ws(e,Hn("$.comment",Zn("$$anchor"))),ws(t,Hn("$.child_frag",e)),...d.init),p=ds(Hn("$.close_frag",Zn("$$anchor"),e)))}else u.push(...d.init);if(d.update.length>0||d.update_effects.length>0){let e;if(d.update_effects.length>0)for(const t of d.update_effects)e||(e=t),u.push(t);if(d.update.length>0){const t=FE(d,u);e||(e=t),u.push(t)}e.leadingComments=[{type:"Block",value:" Update "}]}return u.push(...d.after_update),void 0!==p&&u.push(p),u[0]&&(u[0].leadingComments=[{type:"Block",value:" Init "}]),u}function FE(e,t){let r;return r=1===e.update.length&&e.update[0].singular?e.update[0].singular:ds(Hn("$.render_effect",ms(Vn(e.update.map((e=>(e.init&&t.push(e.init),e.grouped))))))),r}function VE(e,{state:t,visit:r}){if(e.expression){let n=e.expression;const s=()=>{return ks(null,[(e=Zn("$$args"),{type:"RestElement",argument:e})],Vn([Cs("$$callback",r(n)),As(Hn(ns(Zn("$$callback"),Zn("apply"),!1,!0),xs,Zn("$$args")))]));var e};if("Identifier"===n.type||"MemberExpression"===n.type){const e=qs(n),a=null===e?null:t.scope.get(e.name);n=null===a||"state"!==a.kind&&"legacy_reactive"!==a.kind&&"derived"!==a.kind&&"prop"!==a.kind&&"store_sub"!==a.kind?r(n):s()}else n="ConditionalExpression"===n.type||"LogicalExpression"===n.type?s():r(n);return e.modifiers.includes("stopPropagation")&&(n=Hn("$.stopPropagation",n)),e.modifiers.includes("stopImmediatePropagation")&&(n=Hn("$.stopImmediatePropagation",n)),e.modifiers.includes("preventDefault")&&(n=Hn("$.preventDefault",n)),e.modifiers.includes("self")&&(n=Hn("$.self",n)),e.modifiers.includes("trusted")&&(n=Hn("$.trusted",n)),n}return ks(null,[Zn("$$arg")],Vn([ds(Hn("$.bubble_event.call",xs,Zn("$$props"),Zn("$$arg")))]))}function HE(e,t){const r=t.state;if(e.expression){let n=VE(e,t);const s=e.name,a=e.metadata.delegated;if(null!==a){let i;if(r.events.has(s)||r.events.add(s),"hoistable"===a.type){if(a.function===e.expression){const e=t.state.scope.root.unique("on_"+s);r.hoisted.push(ws(e,n)),n=e}e.modifiers.includes("once")&&(n=Hn("$.once",n));i=$n([n,...a.function.metadata.hoistable_params])}else e.modifiers.includes("once")&&(n=Hn("$.once",n)),i=n;return void r.after_update.push(ds(Bn("=",ns(t.state.node,Zn("__"+s)),i)))}e.modifiers.includes("once")&&(n=Hn("$.once",n));const i=[rs(s),t.state.node,n,rs(e.modifiers.includes("capture"))];e.modifiers.includes("passive")?i.push(rs(!0)):e.modifiers.includes("nonpassive")?i.push(rs(!1)):Ws.includes(e.name)&&i.push(rs(!0)),r.after_update.push(ds(Hn("$.event",...i)))}else r.after_update.push(ds(Hn("$.event",rs(e.name),r.node,VE(e,t))))}function UE(e,t){const r=[];let n=e.name.slice(2);n.endsWith("capture")&&"ongotpointercapture"!==n&&"onlostpointercapture"!==n&&(n=n.slice(0,-7),r.push("capture")),HE({name:n,expression:e.value[0].expression,modifiers:r,metadata:e.metadata},t)}function zE(e,t,{visit:r,state:n}){const s=n.metadata.bound_contenteditable;let a=[],i=t;function o(e,t){if(1===e.length){const a=e[0];if((t&&"ExpressionTag"===a.type||"Text"===a.type)&&(i=Hn("$.sibling",i)),"Text"===a.type)return void n.template.push(a.raw);n.template.push(" ");const o=WE(i,n,"text"),l=ds(Hn("$.text_effect",o,ms(r(a.expression))));return void(a.metadata.contains_call_expression&&!s?n.update_effects.push(l):a.metadata.dynamic&&!s?n.update.push({singular:l,grouped:ds(Hn("$.text",o,r(a.expression)))}):n.init.push(ds(Bn("=",ns(o,Zn("nodeValue")),Hn("$.stringify",r(a.expression))))))}n.template.push(" ");const a=WE(i,n,"text"),o=e.some((e=>"ExpressionTag"===e.type&&e.metadata.contains_call_expression)),l=KE(e,r,n)[1],c=ds(Bn("=",ns(a,Zn("nodeValue")),l)),u=ds(Hn("$.text_effect",a,ms(KE(e,r,n)[1])));o&&!s?n.update_effects.push(u):e.some((e=>"ExpressionTag"===e.type&&e.metadata.dynamic))&&!s?n.update.push({singular:u,grouped:ds(Hn("$.text",a,l))}):n.init.push(c),i=Hn("$.sibling",a)}for(let s=0;s<e.length;s+=1){const l=e[s];if("Text"===l.type||"ExpressionTag"===l.type)a.push(l);else if(a.length>0&&(o(a,!0),a=[]),"SvelteHead"===l.type||"TitleElement"===l.type||"SnippetBlock"===l.type)r(l,n);else if("EachBlock"===l.type&&1===e.length&&"CallExpression"===t.type&&"Identifier"===t.callee.type&&"$.child"===t.callee.name)l.metadata.is_controlled=!0,r(l,n);else{const e=WE(i,n,"RegularElement"===l.type?l.name:"node");i=Hn("$.sibling",e),r(l,{...n,node:e})}}a.length>0&&o(a,!1)}function WE(e,t,r){let n=e;return"Identifier"!==n.type&&(n=Zn(t.scope.generate(r)),t.init.push(ws(n,e))),n}function GE(e,t){let r=!1;if(!0===e)return[r,rs(!0)];if(0===e.length)return[r,rs("")];if(1===e.length){const n=e[0];return"Text"===n.type?[r,rs(n.data)]:("ExpressionTag"===n.type&&(r=n.metadata.contains_call_expression),[r,t.visit(n.expression)])}return KE(e,t.visit,t.state)}function KE(e,t,r){const n=[],s=[];r.scope;let a=!1;n.push(cs(""));for(let r=0;r<e.length;r++){const i=e[r];if("Text"===i.type){n.at(-1).value.raw+=i.data}else"ExpressionTag"===i.type&&i.metadata.contains_call_expression&&(a=!0),s.push(Hn("$.stringify",t(i.expression))),n.push(cs("",r+1===e.length))}return[a,hs(n,s)]}const XE={Fragment:(e,t)=>Vn(BE(e,"frag",e.nodes,t)),Comment(e,t){t.state.template.push(`\x3c!--${e.data}--\x3e`)},HtmlTag(e,t){t.state.template.push("<!>"),t.state.init.push(ds(Hn("$.html",t.state.node,ms(t.visit(e.expression)),rs("svg"===t.state.metadata.namespace))))},ConstTag(e,{state:t,visit:r}){const n=e.declaration.declarations[0];if("Identifier"===n.id.type)t.init.push(Cs(n.id,Hn("$.derived",ms(r(n.init)))));else{const e=Ns(n.id),s=Zn(t.scope.generate("computed_const"));for(const r of e){t.scope.get(r.name).expression=r}const a=jn([],Vn([Cs(r(n.id),r(n.init)),As(as(e.map((e=>os("init",e,e)))))]));t.init.push(Cs(s,Hn("$.derived",a)));for(const r of e){t.scope.get(r.name).expression=ns(Hn("$.get",s),r)}}},DebugTag(e,{state:t,visit:r}){t.init.push(ds(Hn("$.render_effect",ms(Vn([ds(Hn("console.log",as(e.identifiers.map((e=>os("init",e,r(e))))))),bs])))))},RenderTag(e,t){t.state.template.push("<!>");const r=t.state.scope.get(e.expression.name),n="normal"!==r?.kind||"Identifier"!==e.expression.type,s=[t.state.node];e.argument&&s.push(ms(t.visit(e.argument)));let a=t.visit(e.expression);t.state.options.dev&&(a=Hn("$.validate_snippet",a)),n?t.state.init.push(ds(Hn("$.snippet_effect",ms(a),...s))):t.state.init.push(ds(Hn(a,...s)))},AnimateDirective(e,{state:t,visit:r}){const n=null===e.expression?rs(null):ms(r(e.expression));t.init.push(ds(Hn("$.animate",t.node,ms(r(RE(e.name))),n)))},ClassDirective(e,{state:t,next:r}){ar(e,"INTERNAL","Node should have been handled elsewhere")},StyleDirective(e,{state:t,next:r}){ar(e,"INTERNAL","Node should have been handled elsewhere")},TransitionDirective(e,{state:t,visit:r}){const n=e.intro&&e.outro?"$.transition":e.intro?"$.in":"$.out",s=null===e.expression?rs(null):ms(r(e.expression));t.init.push(ds(Hn(n,t.node,ms(r(RE(e.name))),s,e.modifiers.includes("global")?vs:gs)))},RegularElement(e,t){const r=t.state.metadata,n={...t.state.metadata,namespace:Xk(e,t.state.metadata.namespace,t.path)};t.state.template.push(`<${e.name}`);const s=[],a=[],i=[],o=[],l=Ur(e);let c=!1,u=!1,p=null,d="option"===e.name||"select"===e.name,h=!1,m=!1;l&&(r.template_needs_import_node=!0);for(const r of e.attributes)"Attribute"===r.type?(s.push(r),"value"!==r.name&&"checked"!==r.name||Ls(r)?"contenteditable"===r.name&&(!0===r.value||Ls(r)&&"true"===r.value[0].data)&&(h=!0):(c=!0,u=!0)):"SpreadAttribute"===r.type?(s.push(r),c=!0,u=!0):"ClassDirective"===r.type?a.push(r):"StyleDirective"===r.type?i.push(r):"LetDirective"===r.type?o.push(t.visit(r)):("BindDirective"===r.type&&("group"===r.name||"checked"===r.name?(d=!0,c=!0):"value"===r.name?(p=r,u=!0,c=!0):"innerHTML"!==r.name&&"innerText"!==r.name&&"textContent"!==r.name||(m=!0)),t.visit(r));"foreign"===n.namespace&&(u=!1,c=!1,d=!1,p=null),h&&m&&(n.bound_contenteditable=!0),!c||"input"!==e.name&&"select"!==e.name||t.state.init.push(ds(Hn("$.remove_input_attr_defaults",t.state.node))),u&&"textarea"===e.name&&t.state.init.push(ds(Hn("$.remove_textarea_child",t.state.node))),null!==p&&"select"===e.name&&function(e,t){let r=e.expression;for(;"MemberExpression"===r.type;)r=r.object;const n=[];for(const[e,s]of t.state.scope.references)s.length>0&&e!==r.name&&n.push(e);if(!t.state.analysis.runes){const r=Hn("$.invalidate_inner_signals",ms(Vn(n.map((e=>ds(xE(Zn(e),t.state)))))));t.state.init.push(ds(Hn("$.invalidate_effect",ms(Vn([ds(t.visit(e.expression)),ds(r)])))))}}(p,t);const f=t.state.node;t.state.init.push(...o);let y=!1;if(e.metadata.has_spread){const r=function(e,t,r,n){let s=!1;const a=[];for(const n of e){if("Attribute"===n.type){const e=TE(r,n,t),[,s]=GE(n.value,t);a.push(as([ts(e,s)]))}else a.push(t.visit(n));s||=n.metadata.dynamic}const i=r.metadata.svg||Ur(r)?gs:vs;if(s){const e=t.state.scope.generate("spread_attributes");return t.state.init.push(_s(e,void 0)),t.state.update.push({grouped:ds(Bn("=",Zn(e),Hn("$.spread_attributes",n,Zn(e),$n(a),i,rs(t.state.analysis.stylesheet.id))))}),e}return t.state.init.push(ds(Hn("$.spread_attributes",n,rs(null),$n(a),i,rs(t.state.analysis.stylesheet.id)))),null}(s,t,e,f);"foreign"!==n.namespace&&function(e,t,r,n){null!==e&&"select"===t.name&&r.state.update.push({grouped:Es(Fn("in",rs("value"),Zn(e)),Vn([ds(Hn("$.select_option",n,ns(Zn(e),Zn("value"))))]))})}(r,e,t,f),y=null!==r}else for(const r of s){if(Ms(r)){UE(r,t);continue}if(d&&"value"===r.name){OE(e.name,f,r,t);continue}if("autofocus"!==r.name&&(!0===r.value||Ls(r))){const n=TE(e,r,t),s=GE(r.value,t)[1].value;if("class"!==n||s){t.state.template.push(` ${r.name}${Hs.includes(n)&&!0===s?"":`="${!0===s?"":zk(String(s),!0)}"`}`);continue}}(l&&"foreign"!==n.namespace?NE(f,r,t):ME(e,f,r,t))&&(y=!0)}IE(a,f,t,y),AE(i,f,t,y),t.state.template.push(">");const v={...t.state,metadata:n,scope:t.state.scopes.get(e.fragment),preserve_whitespace:t.state.preserve_whitespace||("pre"===e.name||"textarea"===e.name)&&"foreign"!==n.namespace},{hoisted:g,trimmed:b}=Gk(e,e.fragment.nodes,t.path,n.namespace,v.preserve_whitespace,v.options.preserveComments,!1);for(const e of g)t.visit(e,v);zE(b,Hn("$.child","template"===e.name?ns(t.state.node,Zn("content")):t.state.node),{...t,state:v}),zs.includes(e.name)||t.state.template.push(`</${e.name}>`)},SvelteElement(e,t){t.state.template.push("<!>");const r=[],n=[],s=[],a=[];let i=null;const o=Zn(t.state.scope.generate("$$element")),l={...t,state:{...t.state,node:o,init:[],update:[],update_effects:[],after_update:[]}};for(const o of e.attributes)"Attribute"===o.type?(r.push(o),"xmlns"===o.name&&Ls(o)&&(i=o.value[0].data)):"SpreadAttribute"===o.type?r.push(o):"ClassDirective"===o.type?n.push(o):"StyleDirective"===o.type?s.push(o):"LetDirective"===o.type?a.push(t.visit(o)):t.visit(o,l.state);t.state.init.push(...a);const c=null!==function(e,t,r){if(0===e.length)return t.state.analysis.stylesheet.id&&t.state.init.push(ds(Hn("$.class_name",r,rs(t.state.analysis.stylesheet.id)))),!1;let n=!1;const s=[];for(const r of e){if("Attribute"===r.type){const[,e]=GE(r.value,t);s.push(as([ts(r.name,e)]))}else s.push(t.visit(r));n||=r.metadata.dynamic}if(n){const e=t.state.scope.generate("spread_attributes");return t.state.init.push(_s(e)),t.state.update.push({grouped:ds(Bn("=",Zn(e),Hn("$.spread_dynamic_element_attributes",r,Zn(e),$n(s),rs(t.state.analysis.stylesheet.id))))}),!0}return t.state.init.push(ds(Hn("$.spread_dynamic_element_attributes",r,rs(null),$n(s),rs(t.state.analysis.stylesheet.id)))),!1}(r,l,o);IE(n,o,l,c),AE(s,o,l,c);const u=ms(t.visit(e.tag));t.state.options.dev&&"foreign"!==t.state.metadata.namespace&&(e.fragment.nodes.length>0&&t.state.init.push(ds(Hn("$.validate_void_dynamic_element",u))),t.state.init.push(ds(Hn("$.validate_dynamic_element_tag",u))));const p=l.state.init;if(l.state.update.length>0||l.state.update_effects.length>0){if(l.state.update_effects.length>0)for(const e of l.state.update_effects)p.push(e);l.state.update.length>0&&p.push(FE(l.state,p))}p.push(...l.state.after_update),p.push(...BE(e,"dynamic_element",e.fragment.nodes,t)),t.state.after_update.push(ds(Hn("$.element",t.state.node,u,0===p.length?void 0:jn([o,Zn("$$anchor")],Vn(p)),"http://www.w3.org/2000/svg"===i?rs(!0):void 0)))},EachBlock(e,t){const r=e.metadata,n=t.visit(e.expression);let s=!0;r.is_controlled||t.state.template.push("<!>"),null!==r.array_name&&t.state.init.push(Cs(r.array_name,ms(n)));let a=0;!e.key||"Identifier"===e.key.type&&e.index&&e.key.name===e.index?a|=1:(a|=4,(e.index||"Identifier"!==e.context.type)&&(a|=2),t.state.analysis.runes&&"Identifier"===e.key.type&&"Identifier"===e.context.type&&e.context.name===e.key.name&&0==(2&a)?s=!1:a|=1),r.is_controlled&&(a|=8),t.state.analysis.immutable&&(a|=64);const i=DE(t).flatMap((e=>[t.visit(e.expression),...qE(e.metadata.references,t)]));if(r.array_name)i.push(Hn(r.array_name));else{i.push(n);const e=qE(r.references,t);i.push(...e)}const o=e=>(t,r)=>{if("Identifier"!==t.left.type&&"MemberExpression"!==t.left.type)return _E(t,r,(()=>t));const n=qs(t.left),s=bE(t,r),a=Hn("$.invalidate_inner_signals",ms(us(i)));if(n===t.left){const t=Bn("=",e,s);return r.state.analysis.runes?t:us([t,a])}{const e=t.left,n=r.visit(e),i=Bn(t.operator,n,s);return r.state.analysis.runes?i:us([i,a])}},l=r.contains_group_binding||!e.index?r.index:Zn(e.index),c=Zn(r.item_name),u=t.state.scope.get(c.name);if(u.expression=s?Hn("$.unwrap",c):c,e.index){t.state.scope.get(e.index).expression=s?Hn("$.unwrap",l):l}const p=[];if("Identifier"===e.context.type)u.mutation=o(ns(r.array_name?Hn(r.array_name):n,l,!0));else{const r=u.expression,n=$s(e.context);for(const e of n){const n=e.node.name,s=t.state.scope.get(n);p.push(_s(e.node,ms(t.visit(e.expression?.(r))))),t.state.options.dev&&p.push(ds(Hn(n))),s.expression=Hn(n),s.mutation=o(e.update_expression(r))}}const d=BE(e,"each_block",e.body.nodes,t),h=e.fallback?jn([Zn("$$anchor")],t.visit(e.fallback)):rs(null),m=e.key&&(0!=(1&a)||t.state.options.dev)?jn(["Identifier"===e.context.type?e.context:Zn("$$item"),l],Vn(p.concat(As(t.visit(e.key))))):rs(null);e.index&&r.contains_group_binding&&p.push(_s(e.index,l)),0!=(4&a)?(t.state.options.dev&&"Literal"!==m.type&&t.state.init.push(ds(Hn("$.validate_each_keys",ms(n),m))),t.state.after_update.push(ds(Hn("$.each_keyed",t.state.node,r.array_name?r.array_name:ms(n),rs(a),m,jn([Zn("$$anchor"),c,l],Vn(p.concat(d))),h)))):t.state.after_update.push(ds(Hn("$.each_indexed",t.state.node,r.array_name?r.array_name:ms(n),rs(a),jn([Zn("$$anchor"),c,l],Vn(p.concat(d))),h)))},IfBlock(e,t){t.state.template.push("<!>");const r=t.visit(e.consequent);t.state.after_update.push(ds(Hn("$.if",t.state.node,ms(t.visit(e.test)),jn([Zn("$$anchor")],r),e.alternate?jn([Zn("$$anchor")],t.visit(e.alternate)):rs(null))))},AwaitBlock(e,t){t.state.template.push("<!>"),t.state.after_update.push(ds(Hn("$.await",t.state.node,ms(t.visit(e.expression)),e.pending?jn([Zn("$$anchor")],t.visit(e.pending)):rs(null),e.then?jn(e.value?[Zn("$$anchor"),t.visit(e.value)]:[Zn("$$anchor")],t.visit(e.then)):rs(null),e.catch?jn(e.error?[Zn("$$anchor"),t.visit(e.error)]:[Zn("$$anchor")],t.visit(e.catch)):rs(null))))},KeyBlock(e,t){t.state.template.push("<!>");const r=t.visit(e.expression),n=t.visit(e.fragment);t.state.after_update.push(ds(Hn("$.key",t.state.node,ms(r),jn([Zn("$$anchor")],n))))},SnippetBlock(e,t){const r=[Zn("$$anchor")];let n;if(e.context){const s="Identifier"===e.context.type?e.context:Zn("$$context");r.push(s);const a=[];if("Identifier"===e.context.type){t.state.scope.get(s.name).expression=Hn(s)}else{const r=$s(e.context);for(const e of r){const r=e.node.name,n=t.state.scope.get(r);a.push(_s(e.node,ms(t.visit(e.expression?.(Hn("$$context")))))),t.state.options.dev&&a.push(ds(Hn(r))),n.expression=Hn(r)}}n=Vn([...a,...t.visit(e.body).body])}else n=t.visit(e.body);t.state.init.push(Cs(e.expression,jn(r,n))),t.state.options.dev&&t.state.init.push(ds(Hn("$.add_snippet_symbol",e.expression)))},FunctionExpression:CE,ArrowFunctionExpression:CE,FunctionDeclaration(e,t){t.next({...t.state,in_constructor:!1})},OnDirective(e,t){HE(e,t)},UseDirective(e,{state:t,next:r,visit:n}){const s=[Zn("$$node")];e.expression&&s.push(Zn("$$props"));const a=[t.node,jn(s,Hn(n(RE(e.name)),...s))];e.expression&&a.push(ms(n(e.expression))),t.after_update.push(ds(Hn("$.action",...a))),r()},BindDirective(e,t){const{state:r,path:n,visit:s}=t,a=[];let i=e.expression;for(;"MemberExpression"===i.type;)a.unshift(i.computed?i.property:rs(i.property.name)),i=i.object;const o=ms(t.visit(e.expression)),l=Bn("=",e.expression,Zn("$$value")),c=jn([Zn("$$value")],_E(l,t,(()=>t.visit(l))));let u;const p=yi[e.name];if(p&&p.event)u=Hn("$.bind_property",rs(e.name),rs(p.event),rs(p.type??"get"),r.node,o,c);else switch(e.name){case"online":u=Hn("$.bind_online",c);break;case"scrollX":case"scrollY":u=Hn("$.bind_window_scroll",rs("scrollX"===e.name?"x":"y"),o,c);break;case"innerWidth":case"innerHeight":case"outerWidth":case"outerHeight":u=Hn("$.bind_window_size",rs(e.name),c);break;case"muted":u=Hn("$.bind_muted",r.node,o,c);break;case"paused":u=Hn("$.bind_paused",r.node,o,c);break;case"volume":u=Hn("$.bind_volume",r.node,o,c);break;case"playbackRate":u=Hn("$.bind_playback_rate",r.node,o,c);break;case"currentTime":u=Hn("$.bind_current_time",r.node,o,c);break;case"buffered":u=Hn("$.bind_buffered",r.node,c);break;case"played":u=Hn("$.bind_played",r.node,c);break;case"seekable":u=Hn("$.bind_seekable",r.node,c);break;case"seeking":u=Hn("$.bind_seeking",r.node,c);break;case"ended":u=Hn("$.bind_ended",r.node,c);break;case"readyState":u=Hn("$.bind_ready_state",r.node,c);break;case"contentRect":case"contentBoxSize":case"borderBoxSize":case"devicePixelContentBoxSize":u=Hn("$.bind_resize_observer",r.node,rs(e.name),c);break;case"clientWidth":case"clientHeight":case"offsetWidth":case"offsetHeight":u=Hn("$.bind_element_size",r.node,rs(e.name),c);break;case"value":{const e=n.at(-1);u="RegularElement"===e?.type&&"select"===e.name?Hn("$.bind_select_value",r.node,o,c):Hn("$.bind_value",r.node,o,c);break}case"this":u=Hn("$.bind_this",r.node,c,"Identifier"===e.expression.type?e.expression:void 0);break;case"textContent":case"innerHTML":case"innerText":u=Hn("$.bind_content_editable",rs(e.name),r.node,o,c);break;case"checked":u=Hn("$.bind_checked",r.node,o,c);break;case"group":{const s=[];for(const t of e.metadata.parent_each_blocks.slice(0,-1))s.push(Hn("$.unwrap",t.metadata.index));let a=o;const i=n.at(-1);if("RegularElement"===i?.type){const r=i.attributes.find((e=>"Attribute"===e.type&&"value"===e.name&&!Ls(e)&&!0!==e.value))?.value;void 0!==r&&(a=ms(Vn([ds(GE(r,t)[1]),As(t.visit(e.expression))])))}u=Hn("$.bind_group",e.metadata.binding_group_name,$n(s),r.node,a,c);break}default:ar(e,"INTERNAL","unknown binding "+e.name)}"this"===e.name?r.init.push(ds(u)):r.after_update.push(ds(u))},Component(e,t){t.state.template.push("<!>");const r=t.state.scope.get(e.name.includes(".")?e.name.slice(0,e.name.indexOf(".")):e.name);if(null!==r&&"normal"!==r.kind){const r=jE(e,"$$component",t);return void t.state.after_update.push(ds(Hn("$.component",t.state.node,ms(t.visit(ss(e.name))),jn([Zn("$$component")],Vn([r])))))}const n=jE(e,e.name,t);t.state.after_update.push(n)},SvelteSelf(e,t){t.state.template.push("<!>");const r=jE(e,t.state.analysis.name,t);t.state.after_update.push(r)},SvelteComponent(e,t){t.state.template.push("<!>");let r=jE(e,"$$component",t);t.state.options.dev&&(r=ds(Hn("$.validate_dynamic_component",ms(Vn([r]))))),t.state.after_update.push(ds(Hn("$.component",t.state.node,ms(t.visit(e.expression)),jn([Zn("$$component")],Vn([r])))))},Attribute(e,t){Ms(e)&&UE(e,t)},LetDirective(e,{state:t}){if(e.expression&&"Identifier"!==e.expression.type){const r=t.scope.generate(e.name),n=t.scope.get_bindings(e);for(const e of n)e.expression=ns(Hn("$.get",Zn(r)),Zn(e.node.name));return Cs(r,Hn("$.derived",ms(Vn([_s("ObjectExpression"===e.expression.type?is(e.expression.properties):Dn(e.expression.elements),ns(Zn("$$slotProps"),Zn(e.name))),As(as(n.map((e=>ts(e.node.name,e.node)))))]))))}return Cs(null===e.expression?e.name:e.expression.name,Hn("$.derived",ms(ns(Zn("$$slotProps"),Zn(e.name)))))},SpreadAttribute:(e,{visit:t})=>t(e.expression),SvelteFragment(e,t){const r=[];for(const n of e.attributes)"LetDirective"===n.type&&r.push(t.visit(n));const n={...t.state,scope:t.state.scopes.get(e.fragment)};t.state.init.push(...r),t.state.init.push(...BE(e,"slot_template",e.fragment.nodes,{...t,state:n}))},SlotElement(e,t){t.state.template.push("<!>");const r=[],n=[];let s=!0,a=rs("default");for(const i of e.attributes)if("SpreadAttribute"===i.type)n.push(ms(t.visit(i)));else if("Attribute"===i.type){const[,e]=GE(i.value,t);"name"===i.name?(a=e,s=!1):i.metadata.dynamic?r.push(Yn(i.name,[As(e)])):r.push(ts(i.name,e))}const i=0===n.length?as(r):Hn("$.spread_props",as(r),...n),o=0===e.fragment.nodes.length?rs(null):jn([Zn("$$anchor")],Vn(BE(e,"fallback",e.fragment.nodes,t))),l=s?ns(Zn("$$props"),Zn("children")):ns(ns(Zn("$$props"),Zn("$$slots")),a,!0,!0),c=Hn("$.slot",t.state.node,l,i,o);t.state.init.push(ds(c))},SvelteHead(e,t){t.state.init.push(ds(Hn("$.head",jn([Zn("$$anchor")],Vn(BE(e,"head",e.fragment.nodes,t))))))},TitleElement(e,{state:t,visit:r}){1===e.fragment.nodes.length&&"Text"===e.fragment.nodes[0].type?t.init.push(ds(Bn("=",ns(Zn("$.document"),Zn("title")),rs(e.fragment.nodes[0].data)))):t.update.push({grouped:ds(Bn("=",ns(Zn("$.document"),Zn("title")),KE(e.fragment.nodes,r,t)[1]))})},SvelteBody(e,t){t.next({...t.state,node:Zn("$.document.body")})},SvelteWindow(e,t){t.next({...t.state,node:Zn("$.window")})},SvelteDocument(e,t){t.next({...t.state,node:Zn("$.document")})},CallExpression:SE.CallExpression},JE={Identifier(e,{path:t,state:r}){if(Nn(e,t.at(-1)))return"$$props"===e.name?Zn("$$sanitized_props"):xE(e,r)},MemberExpression(e,{state:t,next:r}){if("ThisExpression"===e.object.type){if("PrivateIdentifier"===e.property.type){if(t.private_state.get(e.property.name))return t.in_constructor?ns(e,Zn("v")):Hn("$.get",e)}if("Identifier"===e.property.type&&!e.computed){const r=t.public_state.get(e.property.name);if(r&&t.in_constructor)return ns(ns(xs,r.id),Zn("v"))}}r()},AssignmentExpression:(e,t)=>_E(e,t,t.next),UpdateExpression(e,t){const{state:r,next:n,visit:s}=t,a=e.argument;if("Identifier"===a.type){const t=r.scope.get(a.name),s="store_sub"===t?.kind,i=s?a.name.slice(1):a.name;if("state"===t?.kind||"each"===t?.kind||"legacy_reactive"===t?.kind||"prop"===t?.kind||s){const n=[];let a="$.update";return e.prefix&&(a+="_pre"),s?(a+="_store",n.push(xE(Zn(i),r),Hn("$"+i))):("prop"===t.kind&&(a+="_prop"),n.push(Zn(i))),"--"===e.operator&&n.push(rs(-1)),Hn(a,...n)}return n()}if("MemberExpression"===a.type&&"ThisExpression"===a.object.type&&"PrivateIdentifier"===a.property.type&&t.state.private_state.has(a.property.name)){return Hn("++"===e.operator?"$.increment":"$.decrement",a)}{const i=Bn("++"===e.operator?"+=":"-=",a,rs(1)),o=_E(i,t,(()=>i)),l=s(a);if(o===i)return n();{let t;if(e.prefix)t=[ds(o),As(l)];else{const e=r.scope.generate("$$value");t=[Cs(e,l),ds(o),As(Zn(e))]}return Hn(ms(Vn(t)))}}}},QE={Program:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),BlockStatement:(e,{visit:t})=>({...e,body:e.body.map((e=>t(e)))}),FunctionExpression:CE,ArrowFunctionExpression:CE,FunctionDeclaration(e,t){const r=e.metadata,n={...t.state,in_constructor:!1};if(!0===r?.hoistable){const r=wE(e,t);return t.state.hoisted.push({...e,id:null!==e.id?t.visit(e.id,n):null,params:r,body:t.visit(e.body,n)}),Xn}t.next(n)}},YE={VariableDeclaration(e,{state:t,visit:r}){const n=[];for(const s of e.declarations){const e=t.scope.get_bindings(s),a=e.some((e=>"state"===e.kind)),i=e.some((e=>"prop"===e.kind));if(a||i)if(i){if("Identifier"!==s.id.type){const e=t.scope.generate("tmp"),a=$s(s.id);n.push(Kn(Zn(e),r(s.init)));for(const r of a){const s=r.node.name,a=t.scope.get(s),i=r.expression?.(Zn(e));n.push(Kn(r.node,"prop"===a.kind?PE(a,t,a.prop_alias??s,i):i))}continue}const e=t.scope.get(s.id.name);(t.analysis.accessors||(t.analysis.immutable?e.reassigned:e.mutated)||s.init)&&n.push(Kn(s.id,PE(e,t,e.prop_alias??s.id.name,s.init&&r(s.init))))}else n.push(...kE(s,t.scope,s.init&&r(s.init)));else{const e=s.init;if(null!=e&&Wk(e)){const n=r(e);t.hoisted.push(Gn("const",s.id,n));continue}n.push(r(s))}}return 0===n.length?Xn:{...e,declarations:n}},LabeledStatement(e,t){if(t.path.length>1||"$"!==e.label.name)return void t.next();const r=t.state,n=r.analysis.reactive_statements.get(e);if(!n)return;const{dependencies:s}=n;let a=t.visit(e.body);"BlockStatement"!==a.type&&(a=Vn([a]));const i=a.body,o=[],l=[];for(const e of s){if("normal"===e.kind)continue;const t=e.node.name;let n=xE(Zn(t),r);"$$props"!==t&&"$$restProps"!==t||(n=Hn("$.access_props",n)),l.push(n)}return l.length>0&&o.push(ds(us(l))),o.push(ds(Hn("$.untrack",ms(Vn(i))))),a.body=o,r.legacy_reactive_statements.set(e,ds(Hn("$.pre_effect",ms(a)))),Xn},BreakStatement(e,t){if(!e.label||"$"!==e.label.name)return;return"LabeledStatement"===t.path[1].type&&"$"===t.path[1].label.name?As():void 0}};function ZE(...e){const t={};for(const r of e)for(const e in r){if(t[e])throw new Error(`Duplicate visitor: ${e}`);t[e]=r[e]}return t}function eS(e,t){return e.start<=t&&t<e.end}function tS(e,t={}){const{offsetLine:r=0,offsetColumn:n=0}=t;let s=0;const a=e.split("\n").map(((e,t)=>{const r=s+e.length+1,n={start:s,end:r,line:t};return s=r,n}));let i=0;return function(t,s){if("string"==typeof t&&(t=e.indexOf(t,s??0)),-1===t)return;let o=a[i];const l=t>=o.end?1:-1;for(;o;){if(eS(o,t))return{line:r+o.line,column:n+t-o.start,character:t};i+=l,o=a[i]}}}function rS(e,t,r){if(!1===r.generate)return{js:null,css:null,warnings:sS(t,r.filename,e.warnings),metadata:{runes:e.runes}};const n="server"===r.generate?function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.template.scopes,hoisted:[Ss("$","svelte/internal/server")],legacy_reactive_statements:new Map,get init(){const e=[];return e.push=()=>ar(null,"INTERNAL","init.push should not be called outside create_block"),e},get template(){const e=[];return e.push=()=>ar(null,"INTERNAL","template.push should not be called outside create_block"),e},metadata:{namespace:t.namespace},preserve_whitespace:t.preserveWhitespace},n=_t(e.module.ast,r,{...na(e.module.scopes),...uE,...Qk,...pE,...e.runes?dE:yE}),s=_t(e.instance.ast,{...r,scope:e.instance.scope},{...na(e.instance.scopes),...uE,...{...Qk,ImportDeclaration:void 0,ExportNamedDeclaration:void 0},...pE,...e.runes?dE:yE,ImportDeclaration:(e,t)=>(r.hoisted.push(Qk.ImportDeclaration(e,t)),Xn),ExportNamedDeclaration:(e,t)=>e.declaration?Qk.ExportNamedDeclaration(t.visit(e.declaration),t):Xn}),a=_t(e.template.ast,{...r,scope:e.template.scope},{...na(e.template.scopes),...uE,...Qk,...vE}),i=[];for(const[t]of e.reactive_statements){const n=[...r.legacy_reactive_statements].find((([e])=>e===t));if(void 0===n&&ar(t,"INTERNAL","Could not find reactive statement"),"ExpressionStatement"===t.body.type&&"AssignmentExpression"===t.body.expression.type)for(const r of Ns(t.body.expression.left)){const t=e.instance.scope.get(r.name);"legacy_reactive"===t?.kind&&i.push(Kn(r))}s.body.push(n[1])}i.length>0&&s.body.unshift({type:"VariableDeclaration",kind:"let",declarations:i}),e.uses_component_bindings&&(a.body=[_s("$$settled",vs),_s("$$inner_payload"),ds(ks(Zn("$$render_inner"),[Zn("$$payload")],Vn(a.body))),ys(zn("!",Zn("$$settled")),Vn([ds(Bn("=",Zn("$$settled"),vs)),ds(Bn("=",Zn("$$inner_payload"),Hn("$.copy_payload",Zn("$$payload")))),ds(Hn("$$render_inner",Zn("$$inner_payload")))])),ds(Hn("$.assign_payload",Zn("$$payload"),Zn("$$inner_payload")))]),[...e.instance.scope.declarations.values()].some((e=>"store_sub"===e.kind))&&(s.body.unshift(Cs("$$store_subs",as([]))),a.body.push(ds(Hn("$.unsubscribe_stores",Zn("$$store_subs")))));const o=[];for(const[t,r]of e.instance.scope.declarations)"prop"!==r.kind||t.startsWith("$$")||o.push(ts(r.prop_alias??t,Zn(t)));for(const{name:t,alias:r}of e.exports)o.push(ts(r??t,Zn(t)));o.length>0&&a.body.push(ds(Hn("$.bind_props",Zn("$$props"),as(o))));const l=Vn([ds(Hn("$.push",rs(e.runes))),...s.body,...a.body,ds(Hn("$.pop"))]);if(e.uses_rest_props){const t=e.exports.map((({name:e,alias:t})=>t??e));for(const[r,n]of e.instance.scope.declarations)"prop"===n.kind&&t.push(n.prop_alias??r);l.body.unshift(Cs("$$restProps",Hn("$.rest_props",Zn("$$sanitized_props"),$n(t.map((e=>rs(e)))))))}(e.uses_props||e.uses_rest_props)&&l.body.unshift(Cs("$$sanitized_props",Hn("$.sanitize_props",Zn("$$props")))),e.uses_slots&&l.body.unshift(Cs("$$slots",Hn("$.sanitize_slots",Zn("$$props"))));const c=[...r.hoisted,...n.body],u=Qn(Zn(e.name),[Zn("$$payload"),Zn("$$props")],l);return t.legacy.componentApi?(c.unshift(Ts([["render","$$_render"]],"svelte/server")),c.push(u,ds(Bn("=",ss(`${e.name}.render`),ks(null,[Zn("$$props"),Zn("$$opts")],Vn([As(Hn("$$_render",Zn(e.name),as([ts("props",Zn("$$props")),ts("context",ns(Zn("$$opts"),Zn("context"),!1,!0))])))])))),Jn(Zn(e.name)))):t.dev?c.push(u,ds(Bn("=",ss(`${e.name}.render`),ks(null,[],Vn([Rs("Component.render(...) is no longer valid in Svelte 5. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information")])))),Jn(Zn(e.name))):c.push(Jn(u)),{type:"Program",sourceType:"module",body:c}}(e,r):function(e,t,r){const n={analysis:t,options:r,scope:t.module.scope,scopes:t.template.scopes,hoisted:[Ss("$","svelte/internal")],node:null,get init(){const e=[];return e.push=()=>ar(null,"INTERNAL","init.push should not be called outside create_block"),e},get update(){const e=[];return e.push=()=>ar(null,"INTERNAL","update.push should not be called outside create_block"),e},get update_effects(){const e=[];return e.push=()=>ar(null,"INTERNAL","update_effects.push should not be called outside create_block"),e},get after_update(){const e=[];return e.push=()=>ar(null,"INTERNAL","after_update.push should not be called outside create_block"),e},get template(){const e=[];return e.push=()=>ar(null,"INTERNAL","template.push should not be called outside create_block"),e},legacy_reactive_statements:new Map,metadata:{template_needs_import_node:!1,namespace:r.namespace,bound_contenteditable:!1},events:new Set,preserve_whitespace:r.preserveWhitespace,public_state:new Map,private_state:new Map,in_constructor:!1},s=_t(t.module.ast,n,ZE(na(t.module.scopes),Qk,JE,QE,t.runes?SE:YE)),a={...n,scope:t.instance.scope},i=_t(t.instance.ast,a,ZE(na(t.instance.scopes),{...Qk,ImportDeclaration:void 0,ExportNamedDeclaration:void 0},JE,QE,t.runes?SE:YE,{ImportDeclaration:(e,t)=>(n.hoisted.push(Qk.ImportDeclaration(e,t)),Xn),ExportNamedDeclaration:(e,t)=>e.declaration?Qk.ExportNamedDeclaration(t.visit(e.declaration),t):Xn})),o=_t(t.template.ast,{...n,scope:t.instance.scope},ZE(na(t.template.scopes),Qk,JE,XE));if(!t.runes)for(const[e,r]of t.module.scope.declarations)"legacy_reactive_import"===r.kind&&i.body.unshift(ws("$$_import_"+e,Hn("$.reactive_import",ms(Zn(e)))));const l=[],c=[];for(const[e,n]of t.instance.scope.declarations)if("legacy_reactive"===n.kind&&c.push(Cs(e,Hn("$.mutable_source"))),"store_sub"===n.kind){0===l.length&&l.push(Cs("$$subscriptions",as([])),ds(Hn("$.unsubscribe_on_destroy",Zn("$$subscriptions"))));const t=xE(Zn(e.slice(1)),a),s=Hn("$.store_get",t,rs(e),Zn("$$subscriptions"));l.push(Cs(n.node,r.dev?ms(us([Hn("$.validate_store",t,rs(e.slice(1))),s])):ms(s)))}for(const[e]of t.reactive_statements){const t=[...n.legacy_reactive_statements].find((([t])=>t===e));void 0===t&&ar(e,"INTERNAL","Could not find reactive statement"),i.body.push(t[1])}const u=[];for(const e of t.binding_groups.values())u.push(Cs(e.name,$n([])));const p=t.exports.map((({name:e,alias:r})=>{const n=t.instance.scope.get(e);return ds(Hn("$.bind_prop",Zn("$$props"),rs(r??e),"state"===n?.kind?Hn("$.get",Zn(e)):Zn(e)))})),d=t.exports.map((({name:e,alias:r})=>{const s=t.instance.scope.get(e);return Yn(r??e,[As("state"!==s?.kind||n.analysis.immutable&&!s.reassigned?Zn(e):Hn("$.get",Zn(e)))])}));if(t.accessors)for(const[e,r]of t.instance.scope.declarations){if("prop"!==r.kind||e.startsWith("$$"))continue;const t=r.prop_alias??e;d.push(Yn(t,[As(Hn(Zn(e)))]),ps(t,[ds(Hn(Zn(e),Zn("$$value"))),ds(Hn("$.flushSync"))]))}const h=Vn([ds(Hn("$.push",Zn("$$props"),rs(t.runes))),...l,...c,...u,...i.body,...o.body,...p]),m=t.inject_styles&&t.stylesheet.has_styles?()=>h.body.push(ds(Hn("$.append_styles",Zn("$$anchor"),rs(t.stylesheet.id),rs(t.stylesheet.render(t.name,e,r.dev).code)))):()=>{};if(d.length>0?(h.body.push(ws("$$accessors",as(d)),ds(Hn("$.pop",Zn("$$accessors")))),m(),h.body.push(As(Zn("$$accessors")))):(h.body.push(ds(Hn("$.pop"))),m()),t.uses_rest_props){const e=t.exports.map((({name:e,alias:t})=>t??e));for(const[r,n]of t.instance.scope.declarations)"prop"===n.kind&&e.push(n.prop_alias??r);h.body.unshift(Cs("$$restProps",Hn("$.rest_props",Zn("$$sanitized_props"),$n(e.map((e=>rs(e)))))))}(t.uses_props||t.uses_rest_props)&&h.body.unshift(Cs("$$sanitized_props",Hn("$.rest_props",Zn("$$props"),$n([rs("children"),rs("$$slots"),rs("$$events")])))),t.uses_slots&&h.body.unshift(Cs("$$slots",Hn("$.sanitize_slots",Zn("$$props"))));const f=[...n.hoisted,...s.body,Jn(Qn(Zn(t.name),[Zn("$$anchor"),Zn("$$props")],h))];var y;if(r.discloseVersion&&f.unshift(Ts([],"svelte/internal/disclose-version")),r.legacy.componentApi?(f.unshift(Ts([["createClassComponent","$$_createClassComponent"]],"svelte/legacy")),h.body.unshift(Es(Fn("===",Zn("new.target"),Zn(t.name)),As(Hn("$$_createClassComponent",as([ts("component",Zn(t.name)),(y=Zn("$$anchor"),{type:"SpreadElement",argument:y})])))))):r.dev&&h.body.unshift(Es(Fn("===",Zn("new.target"),Zn(t.name)),Rs("Instantiating a component with `new` is no longer valid in Svelte 5. See https://svelte-5-preview.vercel.app/docs/breaking-changes#components-are-no-longer-classes for more information"))),n.events.size>0&&f.push(ds(Hn("$.delegate",$n(Array.from(n.events).map((e=>rs(e))))))),t.custom_element){const e=t.custom_element,r=[];for(const[n,s]of t.instance.scope.declarations){if("prop"!==s.kind||n.startsWith("$$"))continue;const t=s.prop_alias??n,a="boolean"==typeof e?{}:e.props?.[t]||{};a.type||"Literal"!==s.initial?.type||"boolean"!=typeof s.initial.value||(a.type="Boolean");const i=as([a.attribute?ts("attribute",rs(a.attribute)):void 0,a.reflect?ts("reflect",rs(!0)):void 0,a.type?ts("type",rs(a.type)):void 0].filter(Boolean));r.push(ts(t,i))}const n=$n([...t.slot_names.keys()].map((e=>rs(e)))),s=$n(t.exports.map((({name:e,alias:t})=>rs(t??e)))),a="boolean"==typeof e||"none"!==e.shadow,i=Hn("$.create_custom_element",Zn(t.name),as(r),n,s,rs(a),"boolean"!=typeof e?e.extend:void 0);"boolean"!=typeof e?f.push(ds(Hn("customElements.define",rs(e.tag),i))):f.push(ds(i))}return{type:"Program",sourceType:"module",body:f}}(t,e,r),s=(r.filename??"Component").split(/[/\\]/).at(-1);return n.body.length>0&&(n.body[0].leadingComments=[{type:"Line",value:` ${s} (Svelte v${Uk})`},{type:"Line",value:" Note: compiler output will change before 5.0 is released!"}]),{js:Hk(n,{sourceMapSource:r.filename}),css:e.stylesheet.has_styles&&!e.inject_styles?e.stylesheet.render(r.filename??"TODO",t,r.dev):null,warnings:sS(t,r.filename,e.warnings),metadata:{runes:e.runes}}}function nS(e,t,r){if(!1===r.generate)return{js:null,css:null,warnings:sS(t,e.name,e.warnings),metadata:{runes:!0}};const n="server"===r.generate?function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,legacy_reactive_statements:new Map},n=_t(e.module.ast,r,{...na(e.module.scopes),...uE,...pE,...dE});return{type:"Program",sourceType:"module",body:[Ss("$","svelte/internal/server"),...n.body]}}(e,r):function(e,t){const r={analysis:e,options:t,scope:e.module.scope,scopes:e.module.scopes,legacy_reactive_statements:new Map,public_state:new Map,private_state:new Map,in_constructor:!1},n=_t(e.module.ast,r,ZE(na(e.module.scopes),JE,QE,SE));return{type:"Program",sourceType:"module",body:[Ss("$","svelte/internal"),...n.body]}}(e,r),s=(r.filename??"Module").split(/[/\\]/).at(-1);return n.body.length>0&&(n.body[0].leadingComments=[{type:"Block",value:` ${s} generated by Svelte v${Uk} `}]),{js:Hk(n,{}),css:null,warnings:sS(t,e.name,e.warnings),metadata:{runes:!0}}}function sS(e,t,r){if(0===r.length)return[];const n=tS(e,{offsetLine:1}),s=[];for(const e of r){const r=e.position&&n(e.position[0]),a=e.position&&n(e.position[1]);s.push({start:r,end:a,filename:t,message:e.message,code:e.code})}return s}const aS={filename:fS(void 0),dev:yS(!1),generate:mS("client",((e,t)=>"dom"===e||"ssr"===e?(pS('`generate: "dom"` and `generate: "ssr"` options have been renamed to "client" and "server" respectively'),"dom"===e?"client":"server"):("client"!==e&&"server"!==e&&!1!==e&&vS(`${t} must be "client", "server" or false`),e)))},iS=hS({...aS}),oS=hS({...aS,accessors:yS(!1),css:mS("external",(e=>(!0!==e&&!1!==e||vS('The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true'),"none"===e&&vS('css: "none" is no longer a valid option. If this was crucial for you, please open an issue on GitHub with your use case.'),"external"!==e&&"injected"!==e&&vS('css should be either "external" (default, recommended) or "injected"'),e))),cssHash:(lS=({css:e,hash:t})=>`svelte-${t(e)}`,mS(lS,((e,t)=>("function"!=typeof e&&vS(`${t} should be a function, if specified`),e)))),cssOutputFilename:fS(void 0),customElement:yS(!1),discloseVersion:yS(!0),immutable:function(e,t){return(r,n)=>(void 0!==r&&pS(e),t(r,n))}("The immutable option has been deprecated. It has no effect in runes mode.",yS(!1)),legacy:hS({componentApi:yS(!1)}),loopGuardTimeout:dS("The loopGuardTimeout option has been removed."),name:fS(void 0),namespace:function(e,t=e[0]){return mS(t,((t,r)=>{if(!e.includes(t)){const t=e.length>2?`${r} should be one of ${e.slice(0,-1).map((e=>`"${e}"`)).join(", ")} or "${e[e.length-1]}"`:`${r} should be either "${e[0]}" or "${e[1]}"`;vS(t)}return t}))}(["html","svg","foreign"]),outputFilename:fS(void 0),preserveComments:yS(!1),preserveWhitespace:yS(!1),runes:yS(void 0),sourcemap:mS(void 0,((e,t)=>e)),enableSourcemap:mS(void 0,((e,t)=>e)),hydratable:dS("The hydratable option has been removed. Svelte components are always hydratable now."),format:cS('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)'),tag:cS('The tag option has been removed in Svelte 5. Use `<svelte:options customElement="tag-name" />` inside the component instead. If that does not solve your use case, please open an issue on GitHub with details.'),sveltePath:cS("The sveltePath option has been removed in Svelte 5. If this option was crucial for you, please open an issue on GitHub with your use case."),errorMode:cS("The errorMode option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead"),varsReport:cS("The vars option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead")});var lS;function cS(e){return t=>{void 0!==t&&ar(null,"removed-compiler-option",e)}}const uS=new Set;function pS(e){uS.has(e)||(uS.add(e),console.warn(e))}function dS(e){return t=>{void 0!==t&&pS(e)}}function hS(e,t=!1){return(r,n)=>{const s={};(r&&"object"!=typeof r||Array.isArray(r))&&vS(`${n} should be an object`);for(const a in r)a in e||(t?s[a]=r[a]:ar(null,"invalid-compiler-option",`Unexpected option ${n?`${n}.${a}`:a}`));for(const t in e){const a=e[t];s[t]=a(r&&r[t],n?`${n}.${t}`:t)}return s}}function mS(e,t){return(r,n)=>void 0===r?e:t(r,n)}function fS(e,t=!0){return mS(e,((e,r)=>("string"!=typeof e&&vS(`${r} should be a string, if specified`),t||""!==e||vS(`${r} cannot be empty`),e)))}function yS(e){return mS(e,((e,t)=>("boolean"!=typeof e&&vS(`${t} should be true or false, if specified`),e)))}function vS(e){ar(null,"invalid-compiler-option",e)}function gS(e){const t=e.at(0),r=e.at(-1);"Text"===t?.type&&(et.test(t.data)?t.data=t.data.replace(Qe,""):e.shift()),"Text"===r?.type&&(et.test(r.data)?r.data=r.data.replace(Ze,""):e.pop())}const bS=/^[\w+.-]+:\/\//,xS=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,_S=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var CS;function wS(e){return e.startsWith("/")}function PS(e){return/^[.?#]/.test(e)}function kS(e){const t=xS.exec(e);return ES(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function ES(e,t,r,n,s,a,i){return{scheme:e,user:t,host:r,port:n,path:s,query:a,hash:i,type:CS.Absolute}}function SS(e){if(function(e){return e.startsWith("//")}(e)){const t=kS("http:"+e);return t.scheme="",t.type=CS.SchemeRelative,t}if(wS(e)){const t=kS("http://foo.com"+e);return t.scheme="",t.host="",t.type=CS.AbsolutePath,t}if(function(e){return e.startsWith("file:")}(e))return function(e){const t=_S.exec(e),r=t[2];return ES("file:","",t[1]||"","",wS(r)?r:"/"+r,t[3]||"",t[4]||"")}(e);if(function(e){return bS.test(e)}(e))return kS(e);const t=kS("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?CS.Query:e.startsWith("#")?CS.Hash:CS.RelativePath:CS.Empty,t}function TS(e,t){const r=t<=CS.RelativePath,n=e.path.split("/");let s=1,a=0,i=!1;for(let e=1;e<n.length;e++){const t=n[e];t?(i=!1,"."!==t&&(".."!==t?(n[s++]=t,a++):a?(i=!0,a--,s--):r&&(n[s++]=t))):i=!0}let o="";for(let e=1;e<s;e++)o+="/"+n[e];(!o||i&&!o.endsWith("/.."))&&(o+="/"),e.path=o}function AS(e,t){if(!e&&!t)return"";const r=SS(e);let n=r.type;if(t&&n!==CS.Absolute){const e=SS(t),s=e.type;switch(n){case CS.Empty:r.hash=e.hash;case CS.Hash:r.query=e.query;case CS.Query:case CS.RelativePath:!function(e,t){TS(t,t.type),"/"===e.path?e.path=t.path:e.path=function(e){if(e.endsWith("/.."))return e;const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t.path)+e.path}(r,e);case CS.AbsolutePath:r.user=e.user,r.host=e.host,r.port=e.port;case CS.SchemeRelative:r.scheme=e.scheme}s>n&&(n=s)}TS(r,n);const s=r.query+r.hash;switch(n){case CS.Hash:case CS.Query:return s;case CS.RelativePath:{const n=r.path.slice(1);return n?PS(t||e)&&!PS(n)?"./"+n+s:n+s:s||"."}case CS.AbsolutePath:return r.path+s;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+s}}function RS(e,t){return t&&!t.endsWith("/")&&(t+="/"),AS(e,t)}!function(e){e[e.Empty=1]="Empty",e[e.Hash=2]="Hash",e[e.Query=3]="Query",e[e.RelativePath=4]="RelativePath",e[e.AbsolutePath=5]="AbsolutePath",e[e.SchemeRelative=6]="SchemeRelative",e[e.Absolute=7]="Absolute"}(CS||(CS={}));const IS=0;function qS(e,t){for(let r=t;r<e.length;r++)if(!LS(e[r]))return r;return e.length}function LS(e){for(let t=1;t<e.length;t++)if(e[t][IS]<e[t-1][IS])return!1;return!0}function MS(e,t){return t||(e=e.slice()),e.sort(NS)}function NS(e,t){return e[IS]-t[IS]}let OS=!1;function $S(e,t,r){for(let n=r+1;n<e.length&&e[n][IS]===t;r=n++);return r}function DS(e,t,r){for(let n=r-1;n>=0&&e[n][IS]===t;r=n--);return r}function jS(e,t,r,n){const{lastKey:s,lastNeedle:a,lastIndex:i}=r;let o=0,l=e.length-1;if(n===s){if(t===a)return OS=-1!==i&&e[i][IS]===t,i;t>=a?o=-1===i?0:i:l=i}return r.lastKey=n,r.lastNeedle=t,r.lastIndex=function(e,t,r,n){for(;r<=n;){const s=r+(n-r>>1),a=e[s][IS]-t;if(0===a)return OS=!0,s;a<0?r=s+1:n=s-1}return OS=!1,r-1}(e,t,o,l)}let BS,FS,VS,HS;class US{constructor(e,t){const r="string"==typeof e;if(!r&&e._decodedMemo)return e;const n=r?JSON.parse(e):e,{version:s,file:a,names:i,sourceRoot:o,sources:l,sourcesContent:c}=n;this.version=s,this.file=a,this.names=i||[],this.sourceRoot=o,this.sources=l,this.sourcesContent=c;const u=RS(o||"",function(e){if(!e)return"";const t=e.lastIndexOf("/");return e.slice(0,t+1)}(t));this.resolvedSources=l.map((e=>RS(e||"",u)));const{mappings:p}=n;"string"==typeof p?(this._encoded=p,this._decoded=void 0):(this._encoded=void 0,this._decoded=function(e,t){const r=qS(e,0);if(r===e.length)return e;t||(e=e.slice());for(let n=r;n<e.length;n=qS(e,n+1))e[n]=MS(e[n],t);return e}(p,r)),this._decodedMemo={lastKey:-1,lastNeedle:-1,lastIndex:-1},this._bySources=void 0,this._bySourceMemos=void 0}}BS=e=>e._decoded||(e._decoded=ha(e._encoded)),FS=(e,t,r)=>{const n=BS(e);if(t>=n.length)return null;const s=n[t],a=function(e,t,r,n,s){let a=jS(e,n,t,r);return OS?a=(-1===s?$S:DS)(e,n,a):-1===s&&a++,-1===a||a===e.length?-1:a}(s,e._decodedMemo,t,r,1);return-1===a?null:s[a]};class zS{constructor(){this._indexes={__proto__:null},this.array=[]}}VS=(e,t)=>e._indexes[t],HS=(e,t)=>{const r=VS(e,t);if(void 0!==r)return r;const{array:n,_indexes:s}=e;return s[t]=n.push(t)-1};let WS,GS,KS,XS,JS;class QS{constructor({file:e,sourceRoot:t}={}){this._names=new zS,this._sources=new zS,this._sourcesContent=[],this._mappings=[],this.file=e,this.sourceRoot=t}}function YS(e,t,r){for(let r=e.length;r>t;r--)e[r]=e[r-1];e[t]=r}WS=(e,t,r,n,s,a,i,o)=>JS(!0,e,t,r,n,s,a,i,o),GS=(e,t,r)=>{const{_sources:n,_sourcesContent:s}=e;s[HS(n,t)]=r},KS=e=>{const{file:t,sourceRoot:r,_mappings:n,_sources:s,_sourcesContent:a,_names:i}=e;return function(e){const{length:t}=e;let r=t;for(let t=r-1;t>=0&&!(e[t].length>0);r=t,t--);r<t&&(e.length=r)}(n),{version:3,file:t||void 0,names:i.array,sourceRoot:r||void 0,sources:s.array,sourcesContent:a,mappings:n}},XS=e=>{const t=KS(e);return Object.assign(Object.assign({},t),{mappings:ba(t.mappings)})},JS=(e,t,r,n,s,a,i,o,l)=>{const{_mappings:c,_sources:u,_sourcesContent:p,_names:d}=t,h=function(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}(c,r),m=function(e,t){let r=e.length;for(let n=r-1;n>=0&&!(t>=e[n][0]);r=n--);return r}(h,n);if(!s){if(e&&function(e,t){if(0===t)return!0;const r=e[t-1];return 1===r.length}(h,m))return;return YS(h,m,[n])}const f=HS(u,s),y=o?HS(d,o):-1;if(f===p.length&&(p[f]=null!=l?l:null),!e||!function(e,t,r,n,s,a){if(0===t)return!1;const i=e[t-1];return 1!==i.length&&r===i[1]&&n===i[2]&&s===i[3]&&a===(5===i.length?i[4]:-1)}(h,m,f,a,i,y))return YS(h,m,o?[n,f,a,i,y]:[n,f,a,i])};const ZS=tT("",-1,-1,"",null),eT=[];function tT(e,t,r,n,s){return{source:e,line:t,column:r,name:n,content:s}}function rT(e,t,r,n){return{map:e,sources:t,source:r,content:n}}function nT(e,t){return rT(e,t,"",null)}function sT(e,t,r,n){if(!e.map)return tT(e.source,t,r,n,e.content);const s=FS(e.map,t,r);return null==s?null:1===s.length?ZS:sT(e.sources[s[1]],s[2],s[3],5===s.length?e.map.names[s[4]]:n)}function aT(e,t){const r=(n=e,Array.isArray(n)?n:[n]).map((e=>new US(e,"")));var n;const s=r.pop();for(let e=0;e<r.length;e++)if(r[e].sources.length>1)throw new Error(`Transformation map ${e} must have exactly one source file.\nDid you specify these with the most recent transformation maps first?`);let a=iT(s,t,"",0);for(let e=r.length-1;e>=0;e--)a=nT(r[e],[a]);return a}function iT(e,t,r,n){const{resolvedSources:s,sourcesContent:a}=e,i=n+1,o=s.map(((e,n)=>{const s={importer:r,depth:i,source:e||"",content:void 0},o=t(s.source,s),{source:l,content:c}=s;if(o)return iT(new US(o,l),t,l,i);return function(e,t){return rT(null,eT,e,t)}(l,void 0!==c?c:a?a[n]:null)}));return nT(e,o)}class oT{constructor(e,t){const r=t.decodedMappings?KS(e):XS(e);this.version=r.version,this.file=r.file,this.mappings=r.mappings,this.names=r.names,this.sourceRoot=r.sourceRoot,this.sources=r.sources,t.excludeContent||(this.sourcesContent=r.sourcesContent)}toString(){return JSON.stringify(this)}}function lT(e,t,r){const n="object"==typeof r?r:{excludeContent:!!r,decodedMappings:!1},s=aT(e,t);return new oT(function(e){const t=new QS({file:e.map.file}),{sources:r,map:n}=e,s=n.names,a=BS(n);for(let e=0;e<a.length;e++){const n=a[e];for(let a=0;a<n.length;a++){const i=n[a],o=i[0];let l=ZS;if(1!==i.length&&(l=sT(r[i[1]],i[2],i[3],5===i.length?s[i[4]]:""),null==l))continue;const{column:c,line:u,name:p,content:d,source:h}=l;WS(t,e,o,h,u,c,p),h&&null!=d&&GS(t,h,d)}}return t}(s),n)}function cT(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function uT(e,t,r){if(0!=e.mappings.length)for(let n=0;n<e.mappings.length;n++){const s=e.mappings[n];for(let e=0;e<s.length;e++){const n=s[e];n[1]===r&&(0===n[2]&&(n[3]+=t.column),n[2]+=t.line)}}}function pT(e,t){const r=e.slice(),n=[];t=t||[];let s=!1;for(const[a,i]of t.entries()){const t=e.indexOf(i);if(t>=0)n[a]=t;else{const e=r.length;r[e]=i,n[a]=e,s=!0}}let a=s;return s&&void 0===n.find(((e,t)=>e!=t))&&(a=!1),[r,n,s,a]}const dT=/([^\d\w\s]|\s+)/g;class hT{string=void 0;map=void 0;constructor(e="",t=null){this.string=e,this.map=t||{version:3,mappings:[],sources:[],names:[]}}concat(e){if(""==e.string)return this;if(""==this.string)return this.string=e.string,this.map=e.map,this;const t=(r=this.string).length-r.lastIndexOf("\n")-1;var r;this.string+=e.string;const n=this.map,s=e.map;if(0==s.mappings.length)return this;const[a,i,o,l]=pT(n.sources,s.sources),[c,u,p,d]=pT(n.names,s.names);if(o&&(n.sources=a),p&&(n.names=c),l&&d)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[1]>=0&&(r[1]=i[r[1]]),r[4]>=0&&(r[4]=u[r[4]])}}else if(l)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[1]>=0&&(r[1]=i[r[1]])}}else if(d)for(let e=0;e<s.mappings.length;e++){const t=s.mappings[e];for(let e=0;e<t.length;e++){const r=t[e];r[4]>=0&&(r[4]=u[r[4]])}}if(s.mappings.length>0&&t>0){const e=s.mappings[0];for(let r=0;r<e.length;r++)e[r][0]+=t}return cT(n.mappings[n.mappings.length-1],s.mappings.shift()),cT(n.mappings,s.mappings),this}static from_processed(e,t){const r=e.split("\n").length;if(t){const n=r-t.mappings.length;for(let e=0;e<n;e++)t.mappings.push([]);return new hT(e,t)}if(""==e)return new hT;t={version:3,names:[],sources:[],mappings:[]};for(let e=0;e<r;e++)t.mappings.push([]);return new hT(e,t)}static from_source({source:e,file_basename:t,get_location:r}){let n=r(0);n||(n={line:0,column:0});const s={version:3,names:[],sources:[t],mappings:[]};if(""==e)return new hT(e,s);const a=e.split("\n");for(let e=0;e<a.length;e++){s.mappings.push([]);const t=a[e].split(dT);for(let r=0,a=0;r<t.length;r++)""!=t[r]&&(s.mappings[e].push([a,0,n.line+e,a]),a+=t[r].length)}const i=s.mappings[0];for(let e=0;e<i.length;e++)i[e][3]+=n.column;return new hT(e,s)}}const mT=/data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(\S*)/;function fT(e,t,{file_basename:r,filename:n,get_location:s}){return{source:e,get_location:e=>s(e+t),file_basename:r,filename:n}}async function yT(e,t,r){const n=await function(e,t,r){const n=[];return r.replace(e,((...e)=>(n.push(t(...e).then((t=>{const r=e[0];return{offset:e[e.length-2],length:r.length,replacement:t}}))),""))),Promise.all(n)}(e,t,r.source);return function(e,t){const r=new hT;let n=0;for(const{offset:s,length:a,replacement:i}of e){const e=hT.from_source(fT(t.source.slice(n,s),n,t));r.concat(e).concat(i),n=s+a}const s=hT.from_source(fT(t.source.slice(n),n,t));return r.concat(s)}(n,r)}const vT=/[/\\]/;class gT{source;filename;sourcemap_list=[];dependencies=[];file_basename=void 0;get_location=void 0;constructor(e,t){this.source=e,this.filename=t,this.update_source({string:e}),this.file_basename=null==t?null:function(e){return e.split(vT).pop()}(t)}update_source({string:e,map:t,dependencies:r}){null!=e&&(this.source=e,this.get_location=tS(e)),t&&this.sourcemap_list.unshift(t),r&&this.dependencies.push(...r)}to_processed(){const e=function(e,t){if(0==t.length)return null;let r=1;const n=void 0===t.slice(0,-1).find((e=>1!==e.sources.length))?lT(t,(()=>null),!0):lT(t[0],(n=>n===e&&t[r]?t[r++]:null),!0);return n.file||delete n.file,n.sources.length||(n.sources=[e]),n}(this.file_basename,this.sourcemap_list);return{code:this.source,dependencies:[...new Set(this.dependencies)],map:e,toString:()=>this.source}}}function bT(e,t,r){let n;if(e.map&&(n=function(e){let t="string"==typeof e.map?JSON.parse(e.map):e.map;return"string"==typeof t.mappings&&(t.mappings=ha(t.mappings)),t._mappings&&"SourceMapGenerator"===t.constructor.name&&(t=function(e){let t=1;const r=[[]];let n,s,a=r[0];const i=e._sources.toArray().reduce(((e,t,r)=>(e[t]=r,e)),{}),o=e._names.toArray().reduce(((e,t,r)=>(e[t]=r,e)),{}),l=e._mappings.toArray();for(let e=0,c=l.length;e<c;e++){if(s=l[e],s.generatedLine>t){for(;s.generatedLine>t;)r.push([]),t++;a=r[s.generatedLine-1]}else if(e>0){const t=l[e-1];if(s.generatedColumn===t.generatedColumn&&s.originalColumn===t.originalColumn&&s.name===t.name&&s.generatedLine===t.generatedLine&&s.originalLine===t.originalLine&&s.source===t.source)continue}a.push([s.generatedColumn]),n=a[a.length-1],null!=s.source&&(n.push(i[s.source],s.originalLine-1,s.originalColumn),null!=s.name&&n.push(o[s.name]))}const c={version:e._version,sources:e._sources.toArray(),names:e._names.toArray(),mappings:r};return null!=e._file&&(c.file=e._file),c}(t)),t}(e),n?.sources)){const e=n.sources.indexOf(r);-1!==e&&uT(n,t,e)}return hT.from_processed(e.code,n)}function xT(e,t,r,n,s){const{file_basename:a,get_location:i}=s,o=(e,t)=>hT.from_source(fT(e,t,s)),l=`<${t}${r}>`,c=`<${t}${n}>`;let u;if(l.length!==c.length){const e=[[[0,0,0,0],[`<${t}`.length,0,0,`<${t}`.length]]],r=c.split("\n").length-1,n=c.length-(0===r?0:c.lastIndexOf("\n"))-1;for(;e.length<=r;)e.push([[0,0,0,`<${t}`.length]]);e[r].push([n,0,l.split("\n").length-1,l.length-l.lastIndexOf("\n")-1]);const s={version:3,names:[],sources:[a],mappings:e};uT(s,i(0),0),u=hT.from_processed(c,s)}else u=o(c,0);const p=o(`</${t}>`,l.length+s.source.length);!function(e,t){const r="[#@]\\s*sourceMappingURL\\s*=\\s*(\\S*)",n="script"==t?new RegExp("(?://"+r+")|(?:/\\*"+r+"\\s*\\*/)$"):new RegExp("/\\*"+r+"\\s*\\*/$");function s(t){const r=e.code.length<100?e.code:e.code.slice(0,100)+" [...]";console.warn(`warning: ${t}. processed.code = ${JSON.stringify(r)}`)}e.code=e.code.replace(n,((r,n,a)=>{const i="script"==t?n||a:n,o=(i.match(mT)||[])[1];return o?e.map?(s("Not implemented. Found sourcemap in both processed.code and processed.map. Please update your preprocessor to return only one sourcemap."),""):(e.map=atob(o),""):(e.map||s(`Found sourcemap path ${JSON.stringify(i)} in processed.code, but no sourcemap data. Please update your preprocessor to return sourcemap data directly.`),"")}))}(e,t);const d=bT(e,i(l.length),a);return u.concat(d).concat(p)}const _T=/([\w-$]+\b)(?:=(?:"([^"]*)"|'([^']*)'|(\S+)))?/g;function CT(e){const t={};let r;for(;null!==(r=_T.exec(e));){const e=r[1],n=r[2]||r[3]||r[4];t[e]=!n||n}return t}const wT=/<!--[^]*?-->|<style((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g,PT=/<!--[^]*?-->|<script((?:\s+[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;async function kT(e,t,r){const{filename:n,source:s}=r,a="style"===e?wT:PT,i=[];const{string:o,map:l}=await yT(a,(async function(a,o="",l="",c){const u=()=>hT.from_source(fT(a,c,r));if(!o&&!l)return u();const p=await t({content:l||"",attributes:CT(o||""),markup:s,filename:n});return p?(p.dependencies&&i.push(...p.dependencies),p.map||p.code!==l?xT(p,e,o,function(e){if(!e)return;let t=Object.entries(e).map((([e,t])=>!0===t?e:`${e}="${t}"`)).join(" ");return t&&(t=" "+t),t}(p.attributes)??o,fT(l,c,r)):u()):u()}),r);return{string:o,map:l,dependencies:i}}async function ET(e,t){const r=await e({content:t.source,filename:t.filename});return r?{string:r.code,map:r.map?"string"==typeof r.map?JSON.parse(r.map):r.map:void 0,dependencies:r.dependencies}:{}}function ST(e,t,r){if(e.filename=t,e.position){const t=tS(r,{offsetLine:1}),n=t(e.position[0]),s=t(e.position[1]);e.start=n,e.end=s}throw e}e.CompileError=sr,e.VERSION=Uk,e.compile=function(e,t){try{const r=oS(t,""),n=Mn(e),s={...r,...n.options},a=yk(n,s);return rS(a,e,s)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}},e.compileModule=function(e,t){try{const r=iS(t,""),n=function(e,t){const{scope:r,scopes:n}=ra(e,new ta,!1,null);for(const[e,t]of r.references)"$"!==e[0]||Ks.includes(e)||"$"!==e&&"$"!==e[1]||ar(t[0].node,"illegal-global",e);const s=[];return _t(e,{scope:r,analysis:{warnings:s}},ia(na(n),ck,gk)),{module:{ast:e,scope:r,scopes:n},name:t.filename||"module",warnings:s,accessors:!1,runes:!0,immutable:!0}}(Yt(e,!1),r);return nS(n,e,r)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}},e.parse=function(e,t={}){let r;try{r=Mn(e)}catch(r){throw"CompileError"===r.name&&ST(r,t.filename,e),r}return t.modern?_t(r,null,{_(e,{next:t}){delete e.parent,delete e.metadata,t()}}):function(e,t){return _t(t,null,{_(e,{next:t}){delete e.parent,delete e.metadata,t()},Root(r,{visit:n}){const{instance:s,module:a,options:i}=r;if(i?.__raw__){let e=r.fragment.nodes.findIndex((e=>i.end<=e.start));-1===e&&(e=r.fragment.nodes.length),delete i.__raw__.parent,r.fragment.nodes.splice(e,0,i.__raw__)}let o=null,l=null;if(r.fragment.nodes.length>0){const t=r.fragment.nodes.at(0),n=r.fragment.nodes.at(-1);for(o=t.start,l=n.end;/\s/.test(e[o]);)o+=1;for(;/\s/.test(e[l-1]);)l-=1}return s&&delete s.parent,a&&delete a.parent,{html:{type:"Fragment",start:o,end:l,children:r.fragment.nodes.map((e=>n(e)))},instance:s,module:a,css:t.css?_t(t.css,null,{_(e){delete e.parent}}):void 0}},AnimateDirective:e=>({...e,type:"Animation"}),AwaitBlock(e,{visit:t}){let r={type:"PendingBlock",start:null,end:null,children:e.pending?.nodes.map((e=>t(e)))??[],skip:!0},n={type:"ThenBlock",start:null,end:null,children:e.then?.nodes.map((e=>t(e)))??[],skip:!0},s={type:"CatchBlock",start:null,end:null,children:e.catch?.nodes.map((e=>t(e)))??[],skip:!0};if(e.pending){const t=e.pending.nodes.at(0),n=e.pending.nodes.at(-1);r.start=t.start,r.end=n.end,r.skip=!1}if(e.then){const t=e.then.nodes.at(0),s=e.then.nodes.at(-1);n.start=r.end??t.start,n.end=s.end,n.skip=!1}if(e.catch){const t=e.catch.nodes.at(0),a=e.catch.nodes.at(-1);s.start=n.end??r.end??t.start,s.end=a.end,s.skip=!1}return{type:"AwaitBlock",start:e.start,end:e.end,expression:e.expression,value:e.value,error:e.error,pending:r,then:n,catch:s}},BindDirective:e=>({...e,type:"Binding"}),ClassDirective:e=>({...e,type:"Class"}),Component:(e,{visit:t})=>({type:"InlineComponent",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),ConstTag(e){if(void 0!==e.expression)return e;const t=e,{id:r}={...t.declaration.declarations[0]};return delete r.typeAnnotation,{type:"ConstTag",start:t.start,end:e.end,expression:{type:"AssignmentExpression",start:(t.declaration.start??0)+6,end:t.declaration.end??0,operator:"=",left:r,right:t.declaration.declarations[0].init}}},KeyBlock:(e,{visit:t})=>(gS(e.fragment.nodes),{type:"KeyBlock",start:e.start,end:e.end,expression:e.expression,children:e.fragment.nodes.map((e=>t(e)))}),EachBlock(t,{visit:r}){let n;if(t.fallback){const s=t.fallback.nodes.at(0),a=e.lastIndexOf("{",t.end-1),i=s?.start??a;gS(t.fallback.nodes),n={type:"ElseBlock",start:i,end:a,children:t.fallback.nodes.map((e=>r(e)))}}return gS(t.body.nodes),{type:"EachBlock",start:t.start,end:t.end,children:t.body.nodes.map((e=>r(e))),context:t.context,expression:t.expression,index:t.index,key:t.key,else:n}},ExpressionTag(t,{path:r}){const n=r.at(-1);return"Attribute"===n?.type&&"{"===e[n.start]?{type:"AttributeShorthand",start:t.start,end:t.end,expression:t.expression}:{type:"MustacheTag",start:t.start,end:t.end,expression:t.expression}},HtmlTag:e=>({...e,type:"RawMustacheTag"}),IfBlock(t,{visit:r}){let n;if(t.alternate){let s=t.alternate.nodes;1===s.length&&"IfBlock"===s[0].type&&s[0].elseif&&(s=s[0].consequent.nodes);const a=e.lastIndexOf("{",t.end-1),i=s.at(0)?.start??a;gS(t.alternate.nodes),n={type:"ElseBlock",start:i,end:a,children:t.alternate.nodes.map((e=>r(e)))}}return gS(t.consequent.nodes),{type:"IfBlock",start:t.start,end:t.end,expression:t.test,children:t.consequent.nodes.map((e=>r(e))),else:n,elseif:!!t.elseif||void 0}},OnDirective:e=>({...e,type:"EventHandler"}),SnippetBlock:(e,{visit:t})=>(gS(e.body.nodes),{type:"SnippetBlock",start:e.start,end:e.end,expression:e.expression,context:e.context,children:e.body.nodes.map((e=>t(e)))}),RegularElement:(e,{visit:t})=>({type:"Element",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SlotElement:(e,{visit:t})=>({type:"Slot",start:e.start,end:e.end,name:e.name,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SpreadAttribute:e=>({...e,type:"Spread"}),SvelteBody:(e,{visit:t})=>({type:"Body",name:"svelte:body",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteComponent:(e,{visit:t})=>({type:"InlineComponent",name:"svelte:component",start:e.start,end:e.end,expression:e.expression,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteDocument:(e,{visit:t})=>({type:"Document",name:"svelte:document",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteElement(e,{visit:t}){let r=e.tag;return"Literal"===r.type&&"string"==typeof r.value&&(r=r.value),{type:"Element",name:"svelte:element",start:e.start,end:e.end,tag:r,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}},SvelteFragment:(e,{visit:t})=>({type:"SlotTemplate",name:"svelte:fragment",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteHead:(e,{visit:t})=>({type:"Head",name:"svelte:head",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteOptions:(e,{visit:t})=>({type:"Options",name:"svelte:options",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e)))}),SvelteSelf:(e,{visit:t})=>({type:"InlineComponent",name:"svelte:self",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),SvelteWindow:(e,{visit:t})=>({type:"Window",name:"svelte:window",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),Text(e,{path:t}){const r=t.at(-1);if("RegularElement"===r?.type&&"style"===r.name)return{type:"Text",start:e.start,end:e.end,data:e.data}},TitleElement:(e,{visit:t})=>({type:"Title",name:"title",start:e.start,end:e.end,attributes:e.attributes.map((e=>t(e))),children:e.fragment.nodes.map((e=>t(e)))}),TransitionDirective:e=>({...e,type:"Transition"}),UseDirective:e=>({...e,type:"Action"}),LetDirective:e=>({...e,type:"Let"})})}(e,r)},e.preprocess=async function(e,t,r){const n=r&&r.filename||t.filename,s=t?Array.isArray(t)?t:[t]:[],a=new gT(e,n);for(const e of s)e.markup&&a.update_source(await ET(e.markup,a)),e.script&&a.update_source(await kT("script",e.script,a)),e.style&&a.update_source(await kT("style",e.style,a));return a.to_processed()},e.walk=function(){throw new Error("'svelte/compiler' no longer exports a `walk` utility — please import it directly from 'estree-walker' instead")}}));
|