@appthen/cli 1.0.18 → 1.0.20
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/bin/main.js +4 -1
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/bin/main.js
CHANGED
|
@@ -7,9 +7,12 @@ var pkg = require('../package.json');
|
|
|
7
7
|
|
|
8
8
|
var program = require('commander');
|
|
9
9
|
|
|
10
|
+
program
|
|
11
|
+
.version(pkg.version, '-v, --version', 'display version information');
|
|
12
|
+
|
|
10
13
|
program
|
|
11
14
|
.command('generate', { isDefault: true })
|
|
12
|
-
.description('Generate code from
|
|
15
|
+
.description('Generate code from appthen')
|
|
13
16
|
.requiredOption('-p, --id <id>', 'project id')
|
|
14
17
|
.requiredOption('-a, --auth <auth>', 'auth token')
|
|
15
18
|
.option('-cc, --clear <clear>', 'clear cache')
|
package/dist/index.js
CHANGED
|
@@ -72,4 +72,4 @@ var ep=function(e){for(var t=arguments.length,s=0;++s<t;)e=tp(e,arguments[s]);re
|
|
|
72
72
|
`,cliCategory:i},requirePragma:{since:"1.7.0",category:u,type:"boolean",default:!1,description:s`
|
|
73
73
|
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
74
74
|
in order for it to be formatted.
|
|
75
|
-
`,cliCategory:a},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:n,CATEGORY_OTHER:a,CATEGORY_OUTPUT:o,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:u,options:l}}}),z=d({"src/main/support.js"(e,t){x();var i={compare:B(),lt:j(),gte:M()},n=R(),a=U().version,o=$().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=a.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),o),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(y).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let s=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:s})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return c||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){return l?e:r(e,s)}}function u(e,t,s){let r=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let n=s.find((e=>e.parsers&&e.parsers[t])),a=i.name;n&&n.name&&(a+=` (plugin: ${n.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:c}}}),H=d({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}x(),t.exports=s}});function V(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){x()}});function W(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(V(),"")}var J=h({"node_modules/strip-ansi/index.js"(){x(),G()}});function X(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var K=h({"node_modules/is-fullwidth-code-point/index.js"(){x()}}),Y=d({"node_modules/emoji-regex/index.js"(e,t){x(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Z={};function Q(e){if("string"!=typeof e||0===e.length||0===(e=W(e)).length)return 0;e=e.replace((0,ee.default)()," ");let t=0;for(let s=0;s<e.length;s++){let r=e.codePointAt(s);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&s++,t+=X(r)?2:1)}return t}f(Z,{default:()=>Q});var ee,te=h({"node_modules/string-width/index.js"(){x(),J(),K(),ee=y(Y())}}),se=d({"src/utils/get-string-width.js"(e,t){x();var s=(te(),g(Z)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?s(e):e.length:0}t.exports=i}}),re=d({"src/utils/text/skip.js"(e,t){function s(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}x();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),ie=d({"src/utils/text/skip-inline-comment.js"(e,t){function s(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let s=t+2;s<e.length;++s)if("*"===e.charAt(s)&&"/"===e.charAt(s+1))return s+2;return t}x(),t.exports=s}}),ne=d({"src/utils/text/skip-trailing-comment.js"(e,t){x();var{skipEverythingButNewLine:s}=re();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),ae=d({"src/utils/text/skip-newline.js"(e,t){function s(e,t,s){let r=s&&s.backwards;if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}x(),t.exports=s}}),oe=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){x();var s=ie(),r=ae(),i=ne(),{skipSpaces:n}=re();function a(e,t){let a=null,o=t;for(;o!==a;)a=o,o=n(e,o),o=s(e,o),o=i(e,o),o=r(e,o);return o}t.exports=a}}),ce=d({"src/common/util.js"(e,t){x();var{default:s}=(k(),g(S)),r=D(),{getSupportInfo:i}=z(),n=H(),a=se(),{skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=re(),p=ie(),h=ne(),d=ae(),f=oe(),m=e=>e[e.length-2];function y(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}function v(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=c(e,s.backwards?t-1:t,s);return r!==d(e,r,s)}function b(e,t,s){for(let r=t;r<s;++r)if("\n"===e.charAt(r))return!0;return!1}function E(e,t,s){let r=s(t)-1;return r=c(e,r,{backwards:!0}),r=d(e,r,{backwards:!0}),r=c(e,r,{backwards:!0}),r!==d(e,r,{backwards:!0})}function C(e,t){let s=null,r=t;for(;r!==s;)s=r,r=u(e,r),r=p(e,r),r=c(e,r);return r=h(e,r),r=d(e,r),!1!==r&&v(e,r)}function A(e,t,s){return C(e,s(t))}function w(e,t,s){return f(e,s(t))}function T(e,t,s){return e.charAt(w(e,t,s))}function P(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,s.backwards?t-1:t,s)!==t}function N(e,t){let s=0;for(let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?s=s+t-s%t:s++;return s}function I(e,t){let s=e.lastIndexOf("\n");return-1===s?0:N(e.slice(s+1).match(/^[\t ]*/)[0],t)}function _(e,t){let s={quote:'"',regex:/"/g,escaped:"""},r={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?r:s,n=i===r?s:r,a=i;return(e.includes(i.quote)||e.includes(n.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(n.regex)||[]).length?n:i),a}function F(e,t){let s=e.slice(1,-1);return O(s,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(s,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function O(e,t,s){let r='"'===t?"'":'"',i=/\\(.)|(["'])/gs,n=e.replace(i,((e,i,n)=>i===r?i:n===t?"\\"+n:n||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+n+t}function L(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function B(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));return null===r?0:r.reduce(((e,s)=>Math.max(e,s.length/t.length)),0)}function j(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));if(null===r)return 0;let i=new Map,n=0;for(let e of r){let s=e.length/t.length;i.set(s,!0),s>n&&(n=s)}for(let e=1;e<n;e++)if(!i.get(e))return e;return n+1}function M(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=W(e)}function R(e,t){t.leading=!0,t.trailing=!1,M(e,t)}function U(e,t,s){t.leading=!1,t.trailing=!1,s&&(t.marker=s),M(e,t)}function q(e,t){t.leading=!1,t.trailing=!0,M(e,t)}function $(e,t){let{languages:s}=i({plugins:t.plugins}),r=s.find((t=>{let{name:s}=t;return s.toLowerCase()===e}))||s.find((t=>{let{aliases:s}=t;return Array.isArray(s)&&s.includes(e)}))||s.find((t=>{let{extensions:s}=t;return Array.isArray(s)&&s.includes(`.${e}`)}));return r&&r.parsers[0]}function V(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(s){return t.has(s)||t.set(s,Symbol(e)),t.get(s)}}function W(e){let t=e.type||e.kind||"(unknown type)",s=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return s.length>20&&(s=s.slice(0,19)+"…"),t+(s?" "+s:"")}t.exports={inferParserByLanguage:$,getStringWidth:a,getMaxContinuousCount:B,getMinNotPresentContinuousCount:j,getPenultimate:m,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:T,skip:y,skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:C,isNextLineEmpty:A,isPreviousLineEmpty:E,hasNewline:v,hasNewlineInRange:b,hasSpaces:P,getAlignmentSize:N,getIndentSize:I,getPreferredQuote:_,printString:F,printNumber:L,makeString:O,addLeadingComment:R,addDanglingComment:U,addTrailingComment:q,isFrontMatterNode:V,isNonEmptyArray:n,createGroupIdMapper:G}}}),ue=d({"vendors/html-tag-names.json"(e,t){t.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),le=d({"src/language-html/utils/array-to-map.js"(e,t){function s(e){let t=Object.create(null);for(let s of e)t[s]=!0;return t}x(),t.exports=s}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){x();var{htmlTagNames:s}=ue(),r=le()(s);t.exports=r}}),he=d({"vendors/html-element-attributes.json"(e,t){t.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),de=d({"src/language-html/utils/map-object.js"(e,t){function s(e,t){let s=Object.create(null);for(let[r,i]of Object.entries(e))s[r]=t(i,r);return s}x(),t.exports=s}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){x();var{htmlElementAttributes:s}=he(),r=de()(s,le());t.exports=r}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function s(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}x(),t.exports=s}}),ge=d({"src/language-html/pragma.js"(e,t){function s(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function r(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}x(),t.exports={hasPragma:s,insertPragma:r}}}),xe=d({"src/language-html/ast.js"(e,t){x();var s={attrs:!0,children:!0},r=new Set(["parent"]),i=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let t of new Set([...r,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in s&&(t=t.map((e=>this.createChild(e)))),!r.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in s){let s=this[r];if(s){let a=n(s,(t=>t.map(e)));t!==s&&(t||(t=new i({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let e in this)e in s||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in s){let s=this[t];if(s)for(let t=0;t<s.length;t++)s[t].walk(e)}e(this)}createChild(e){let t=e instanceof i?e.clone():new i(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new i(this)}get firstChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}get lastChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[this.children.length-1]}get prev(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)-1]}get next(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map((e=>[e.fullName,e.value])))}};function n(e,t){let s=e.map(t);return s.some(((t,s)=>t!==e[s]))?s:e}t.exports={Node:i}}}),ve=d({"src/language-html/conditional-comment.js"(e,t){x();var{ParseSourceSpan:s}=A(),r=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:n},{regex:/^\[if([^\]]*)]><!$/,parse:a},{regex:/^<!\s*\[endif]$/,parse:o}];function i(e,t){if(e.value)for(let{regex:s,parse:i}of r){let r=e.value.match(s);if(r)return i(e,t,r)}return null}function n(e,t,r){let[,i,n,a]=r,o=4+i.length,c=e.sourceSpan.start.moveBy(o),u=c.moveBy(a.length),[l,p]=(()=>{try{return[!0,t(a,c).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new s(c,u)}]]}})();return{type:"ieConditionalComment",complete:l,children:p,condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new s(e.sourceSpan.start,c),endSourceSpan:new s(u,e.sourceSpan.end)}}function a(e,t,s){let[,r]=s;return{type:"ieConditionalStartComment",condition:r.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}function o(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),be=d({"src/language-html/loc.js"(e,t){function s(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}x(),t.exports={locStart:s,locEnd:r}}}),Ee=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function s(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function r(e){return"ng-container"===s(e)[1]}function i(e){return"ng-content"===s(e)[1]}function n(e){return"ng-template"===s(e)[1]}function a(e){return null===e?null:s(e)[0]}function o(e,t){return e?`:${e}:${t}`:t}x(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=s,e.isNgContainer=r,e.isNgContent=i,e.isNgTemplate=n,e.getNsPrefix=a,e.mergeNsAndName=o,e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},e.NGSP_UNICODE="",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=Ee(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:s=r.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:n=!1,ignoreFirstLf:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=n,this.closedByParent=i||n,this.implicitNamespacePrefix=t||null,this.contentType=s,this.ignoreFirstLf=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};function n(e){return s||(t=new i,s={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:r.TagContentType.RAW_TEXT}),script:new i({contentType:r.TagContentType.RAW_TEXT}),title:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),s[e]||t}e.HtmlTagDefinition=i,e.getHtmlTagDefinition=n}}),Ae=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let s=this.path[t];if(s instanceof e)return s}}push(e){this.path.push(e)}pop(){return this.path.pop()}};e.AstPath=t}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),s=class{constructor(e,t,s){this.value=e,this.sourceSpan=t,this.i18n=s,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.Text=s;var r=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.CDATA=r;var i=class{constructor(e,t,s,r,i,n){this.switchValue=e,this.type=t,this.cases=s,this.sourceSpan=r,this.switchValueSourceSpan=i,this.i18n=n}visit(e,t){return e.visitExpansion(this,t)}};e.Expansion=i;var n=class{constructor(e,t,s,r,i){this.value=e,this.expression=t,this.sourceSpan=s,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.ExpansionCase=n;var a=class{constructor(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=s,this.valueSpan=r,this.nameSpan=i,this.i18n=n,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};e.Attribute=a;var o=class{constructor(e,t,s,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=s,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=n,this.nameSpan=a,this.i18n=o,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=o;var c=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};e.Comment=c;var u=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}};function l(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=[],i=e.visit?t=>e.visit(t,s)||t.visit(e,s):t=>t.visit(e,s);return t.forEach((e=>{let t=i(e);t&&r.push(t)})),r}e.DocType=u,e.visitAll=l;var p=class{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let s=[],r=this;function i(t){t&&s.push(l(r,t,e))}return t(i),Array.prototype.concat.apply([],s)}};function h(e){let t=e.sourceSpan.start.offset,s=e.sourceSpan.end.offset;return e instanceof o&&(e.endSourceSpan?s=e.endSourceSpan.end.offset:e.children&&e.children.length&&(s=h(e.children[e.children.length-1]).end)),{start:t,end:s}}function d(e,s){let r=[];return l(new class extends p{visit(e,t){let i=h(e);if(!(i.start<=s&&s<i.end))return!0;r.push(e)}},e),new t.AstPath(r,s)}e.RecursiveVisitor=p,e.findNode=d}}),De=d({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){function t(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let s=0;s<t.length;s+=1)if("string"!=typeof t[s])throw new Error(`Expected '${e}' to be an array of strings.`)}}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=t;var s=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function r(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let e=t[0],r=t[1];s.forEach((t=>{if(t.test(e)||t.test(r))throw new Error(`['${e}', '${r}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=r}}),Se=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=De(),s=class{constructor(e,t){this.start=e,this.end=t}static fromArray(r){return r?(t.assertInterpolationSymbols("interpolation",r),new s(r[0],r[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=s,e.DEFAULT_INTERPOLATION_CONFIG=new s("{{","}}")}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s=v(),r=A(),i=Se(),n=Ee();!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(t=e.TokenType||(e.TokenType={}));var a=class{constructor(e,t,s){this.type=e,this.parts=t,this.sourceSpan=s}};e.Token=a;var o=class extends r.ParseError{constructor(e,t,s){super(s,e),this.tokenType=t}};e.TokenError=o;var c=class{constructor(e,t){this.tokens=e,this.errors=t}};function u(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new r.ParseSourceFile(e,t),s,i).tokenize()}e.TokenizeResult=c,e.tokenize=u;var l=/\r\n?/g;function p(e){return`Unexpected character "${e===s.$EOF?"EOF":String.fromCharCode(e)}"`}function h(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var d=class{constructor(e){this.error=e}},f=class{constructor(e,t,s){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=s.tokenizeExpansionForms||!1,this._interpolationConfig=s.interpolationConfig||i.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=s.leadingTriviaChars&&s.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=s.canSelfClose||!1,this._allowHtmComponentClosingTags=s.allowHtmComponentClosingTags||!1;let r=s.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=s.escapedString?new P(e,r):new S(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(l,"\n")}tokenize(){for(;this._cursor.peek()!==s.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(s.$LT))if(this._attemptCharCode(s.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(s.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(s.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new c(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(C(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===s.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new o("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let s=new a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(s),this._currentTokenStart=null,this._currentTokenType=null,s}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let s=new o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new d(s)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof d))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!w(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let s=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=s,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let s=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(s)<t)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(s))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===s.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(s.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=s.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=n.NAMED_ENTITIES[r];if(!i)throw this._createError(h(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(s.$x)||this._attemptCharCode(s.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=s.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(h(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,s){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let r=[];for(;;){let t=this._cursor.clone(),i=s();if(this._cursor=t,i)break;r.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===s.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===s.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==s.$COLON&&!g(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===s.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(y,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,a,o=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!s.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(a=this._consumeTagOpenStart(e),i=a.parts[0],r=a.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==s.$SLASH&&this._cursor.peek()!==s.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$EQ)){this._attemptCharCodeUntilFn(m);let s=this._consumeAttributeValue();u.push({prefix:e,name:t,value:s})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(s){if(s instanceof d)return this._cursor=c,a&&(this.tokens.length=o),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw s}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let l=this._getTagContentType(r,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,r),l===n.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):l===n.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(s.$LT)&&this._attemptCharCode(s.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===s.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let s=this._consumePrefixAndName();return this._endToken(s)}_consumeAttributeName(){let e=this._cursor.peek();if(e===s.$SQ||e===s.$DQ)throw this._createError(p(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===s.$SQ||this._cursor.peek()===s.$DQ){this._beginToken(t.ATTR_QUOTE);let s=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(s)]),this._beginToken(t.ATTR_VALUE);let r=[];for(;this._cursor.peek()!==s;)r.push(this._readChar(!0));e=this._processCarriageReturns(r.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(s)])}else{this._beginToken(t.ATTR_VALUE);let s=this._cursor.clone();this._requireCharCodeUntilFn(y,1),e=this._processCarriageReturns(this._cursor.getChars(s)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(s.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(s.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(s.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(s.$COMMA);this._endToken([e]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(s.$COMMA);this._endToken([r]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(s.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let s=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(s.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(s.push(this._interpolationConfig.end),this._inInterpolation=!1):s.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(s.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===s.$LT||this._cursor.peek()===s.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===s.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==s.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let s=n.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===s)&&this._fullNameStack.push(s)}_handleFullNameStackForTagClose(e,t){let s=n.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===s&&this._fullNameStack.pop()}};function m(e){return!s.isWhitespace(e)||e===s.$EOF}function y(e){return s.isWhitespace(e)||e===s.$GT||e===s.$SLASH||e===s.$SQ||e===s.$DQ||e===s.$EQ}function g(e){return(e<s.$a||s.$z<e)&&(e<s.$A||s.$Z<e)&&(e<s.$0||e>s.$9)}function b(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiHexDigit(e)}function E(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiLetter(e)}function C(e){return e===s.$EQ||s.isAsciiLetter(e)||s.isDigit(e)}function w(e,t){return D(e)==D(t)}function D(e){return e>=s.$a&&e<=s.$z?e-s.$a+s.$A:e}function T(e){let s,r=[];for(let i=0;i<e.length;i++){let n=e[i];s&&s.type==t.TEXT&&n.type==t.TEXT?(s.parts[0]+=n.parts[0],s.sourceSpan.end=n.sourceSpan.end):(s=n,r.push(s))}return r}var S=class{constructor(e,t){if(e instanceof S)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new S(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new r.ParseSourceSpan(new r.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new r.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new k('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===s.$LF?(e.line++,e.column=0):s.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?s.$EOF:this.charAt(e.offset)}},P=class extends S{constructor(e,t){e instanceof P?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new P(this)}getChars(e){let t=e.clone(),s="";for(;t.internalState.offset<this.internalState.offset;)s+=String.fromCodePoint(t.peek()),t.advance();return s}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===s.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===s.$n)this.state.peek=s.$LF;else if(e()===s.$r)this.state.peek=s.$CR;else if(e()===s.$v)this.state.peek=s.$VTAB;else if(e()===s.$t)this.state.peek=s.$TAB;else if(e()===s.$b)this.state.peek=s.$BSPACE;else if(e()===s.$f)this.state.peek=s.$FF;else if(e()===s.$u)if(this.advanceState(this.internalState),e()===s.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==s.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===s.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(s.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;s.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else s.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let s=this.input.substr(e.internalState.offset,t),r=parseInt(s,16);if(isNaN(r))throw e.state=e.internalState,new k("Invalid hexadecimal escape sequence",e);return r}},k=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=k}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=A(),s=we(),r=Pe(),i=Ee(),n=class extends t.ParseError{constructor(e,t,s){super(t,s),this.elementName=e}static create(e,t,s){return new n(e,t,s)}};e.TreeError=n;var a=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=a;var o=class{constructor(e){this.getTagDefinition=e}parse(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4?arguments[4]:void 0,o=e=>function(t){for(var s=arguments.length,r=new Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];return e(t.toLowerCase(),...r)},u=i?this.getTagDefinition:o(this.getTagDefinition),l=e=>u(e).contentType,p=i?n:o(n),h=n?(e,t,s,r)=>{let i=p(e,t,s,r);return void 0!==i?i:l(e)}:l,d=r.tokenize(e,t,h,s),f=s&&s.canSelfClose||!1,m=s&&s.allowHtmComponentClosingTags||!1,y=new c(d.tokens,u,f,m,i).build();return new a(y.rootNodes,d.errors.concat(y.errors))}};e.Parser=o;var c=class{constructor(e,t,s,r,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=s,this.allowHtmComponentClosingTags=r,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==r.TokenType.EOF;)this._peek.type===r.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===r.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===r.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===r.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===r.TokenType.TEXT||this._peek.type===r.TokenType.RAW_TEXT||this._peek.type===r.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===r.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===r.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new a(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),n=this._getText(i),a=this._advanceIf(r.TokenType.CDATA_END);this._addToParent(new s.CDATA(n,new t.ParseSourceSpan(e.sourceSpan.start,(a||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.COMMENT_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.Comment(a,o))}_consumeDocType(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.DOC_TYPE_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.DocType(a,o))}_consumeExpansion(e){let i=this._advance(),a=this._advance(),o=[];for(;this._peek.type===r.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;o.push(e)}if(this._peek.type!==r.TokenType.EXPANSION_FORM_END)return void this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let c=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new s.Expansion(i.parts[0],a.parts[0],o,c,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==r.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),a=this._collectExpansionExpTokens(i);if(!a)return null;let o=this._advance();a.push(new r.Token(r.TokenType.EOF,[],o.sourceSpan));let u=new c(a,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(u.errors.length>0)return this._errors=this._errors.concat(u.errors),null;let l=new t.ParseSourceSpan(e.sourceSpan.start,o.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,o.sourceSpan.end);return new s.ExpansionCase(e.parts[0],u.rootNodes,l,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],s=[r.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===r.TokenType.EXPANSION_FORM_START||this._peek.type===r.TokenType.EXPANSION_CASE_EXP_START)&&s.push(this._peek.type),this._peek.type===r.TokenType.EXPANSION_CASE_EXP_END){if(!u(s,r.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(s.pop(),0==s.length)return t}if(this._peek.type===r.TokenType.EXPANSION_FORM_END){if(!u(s,r.TokenType.EXPANSION_FORM_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;s.pop()}if(this._peek.type===r.TokenType.EOF)return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new s.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let a=e.parts[0],o=e.parts[1],c=[];for(;this._peek.type===r.TokenType.ATTR_NAME;)c.push(this._consumeAttr(this._advance()));let u=this._getElementFullName(a,o,this._getParentElement()),l=!1;if(this._peek.type===r.TokenType.TAG_OPEN_END_VOID){this._advance(),l=!0;let t=this.getTagDefinition(u);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(u)||t.isVoid||this._errors.push(n.create(u,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===r.TokenType.TAG_OPEN_END&&(this._advance(),l=!1);let p=this._peek.sourceSpan.start,h=new t.ParseSourceSpan(e.sourceSpan.start,p),d=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new s.Element(u,c,[],h,h,void 0,d);this._pushElement(f),l&&(this._popElement(u),f.endSourceSpan=h)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(n.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t)){let s=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(n.create(t,e.sourceSpan,s))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let s=this._elementStack[t];if(!e||(i.getNsPrefix(s.name)?s.name==e:s.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(s.name).closedByParent)return!1}return!1}_consumeAttr(e){let n,a,o=i.mergeNsAndName(e.parts[0],e.parts[1]),c=e.sourceSpan.end,u="";if(this._peek.type===r.TokenType.ATTR_QUOTE&&(a=this._advance().sourceSpan.start),this._peek.type===r.TokenType.ATTR_VALUE){let e=this._advance();u=e.parts[0],c=e.sourceSpan.end,n=e.sourceSpan}return this._peek.type===r.TokenType.ATTR_QUOTE&&(c=this._advance().sourceSpan.end,n=new t.ParseSourceSpan(a,c)),new s.Attribute(o,u,new t.ParseSourceSpan(e.sourceSpan.start,c),n,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,s){if(t){if(e){let r=e.children.indexOf(t);e.children[r]=s}else this._rootNodes.push(s);s.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,s)}else this._addToParent(s),this._elementStack.push(s)}_getElementFullName(e,t,s){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=s&&(e=i.getNsPrefix(s.name)),i.mergeNsAndName(e,t)}};function u(e,t){return e.length>0&&e[e.length-1]===t}}}),Ne=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),s=ke(),r=ke();e.ParseTreeResult=r.ParseTreeResult,e.TreeError=r.TreeError;var i=class extends s.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,s,r,i)}};e.HtmlParser=i}}),Ie=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),s=Ee();e.TagContentType=s.TagContentType;var r=null,i=()=>(r||(r=new t.HtmlParser),r);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:s=!1,allowHtmComponentClosingTags:r=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:s,allowHtmComponentClosingTags:r},n,a)}e.parse=n}});x();var{ParseSourceSpan:_e,ParseLocation:Fe,ParseSourceFile:Le}=A(),Be=w(),je=D(),Me=T(),{inferParserByLanguage:Re}=ce(),Ue=pe(),qe=fe(),$e=ye(),{hasPragma:ze}=ge(),{Node:He}=xe(),{parseIeConditionalComment:Ve}=ve(),{locStart:Ge,locEnd:We}=be();function Je(e,t,s){let{canSelfClose:r,normalizeTagName:i,normalizeAttributeName:n,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c}=t,u=Ie(),{RecursiveVisitor:l,visitAll:p}=we(),{ParseSourceSpan:h}=A(),{getHtmlTagDefinition:d}=Ce(),{rootNodes:f,errors:m}=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c});if("vue"===s.parser)if(f.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){r=!0,i=!0,n=!0,a=!0,o=!1;let t=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o});f=t.rootNodes,m=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),r=t&&t.value;return!r||"html"===Re(r,s)};if(f.some(t)){let s,i=()=>u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o}),n=()=>s||(s=i()),c=e=>n().rootNodes.find((t=>{let{startSourceSpan:s}=t;return s&&s.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<f.length;e++){let s=f[e],{endSourceSpan:r,startSourceSpan:i}=s;if(null===r)m=n().errors,f[e]=c(s)||s;else if(t(s)){let t=n(),a=i.end.offset,o=r.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(a<t&&t<o){m=[e];break}}f[e]=c(s)||s}}}}if(m.length>0){let{msg:e,span:{start:t,end:s}}=m[0];throw Me(e,{start:{line:t.line+1,column:t.col+1},end:{line:s.line+1,column:s.col+1}})}let y=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,s=e.nameSpan.toString(),r=null!==t&&s.startsWith(`${t}:`),i=r?s.slice(t.length+1):s;e.name=i,e.namespace=t,e.hasExplicitNamespace=r},g=e=>{switch(e.type){case"element":y(e);for(let t of e.attrs)y(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}},x=(e,t)=>{let s=e.toLowerCase();return t(s)?s:e},v=e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||$e(e))&&(e.name=x(e.name,(e=>e in Ue))),n)){let t=qe[e.name]||Object.create(null);for(let s of e.attrs)s.namespace||(s.name=x(s.name,(s=>e.name in qe&&(s in qe["*"]||s in t))))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))},E=e=>{if("element"===e.type){let t=d(o?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||$e(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends l{visit(e){g(e),E(e),v(e),b(e)}},f),f}function Xe(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:n}=r?Be(e):{frontMatter:null,content:e},a=new Le(e,t.filepath),o=new Fe(a,0,0,0),c=o.moveBy(e.length),u={type:"root",sourceSpan:new _e(o,c),children:Je(n,s,t)};if(i){let e=new Fe(a,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),u.children.unshift(i)}let l=new He(u),p=(r,i)=>{let{offset:n}=i,a=Xe(e.slice(0,n).replace(/[^\n\r]/g," ")+r,t,s,!1);a.sourceSpan=new _e(i,je(a.children).sourceSpan.end);let o=a.children[0];return o.length===n?a.children.shift():(o.sourceSpan=new _e(o.sourceSpan.start.moveBy(n),o.sourceSpan.end),o.value=o.value.slice(n)),a};return l.walk((e=>{if("comment"===e.type){let t=Ve(e,p);t&&e.parent.replaceChild(e,t)}})),l}function Ke(){let{name:e,canSelfClose:t=!1,normalizeTagName:s=!1,normalizeAttributeName:r=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(o,c,u)=>Xe(o,Object.assign({parser:e},u),{canSelfClose:t,normalizeTagName:s,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:n,getTagContentType:a}),hasPragma:ze,astFormat:"html",locStart:Ge,locEnd:We}}t.exports={parsers:{html:Ke({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:"angular",canSelfClose:!0}),vue:Ke({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,s,r)=>{if("html"!==e.toLowerCase()&&!s&&("template"!==e||r.some((e=>{let{name:t,value:s}=e;return"lang"===t&&"html"!==s&&""!==s&&void 0!==s}))))return Ie().TagContentType.RAW_TEXT}}),lwc:Ke({name:"lwc"})}}}));return Le()}()})),yd=te(md),gd=["css","scss","less","json","html","vue"],xd=function(e){var t=X({customFileTypeParser:{}},e);return function(e,s){var r;if("js"===s||"jsx"===s)r="babel";else if(gd.indexOf(s)>=0)r=s;else{if(!t.customFileTypeParser[s])return e;r=t.customFileTypeParser[s]}return H.default.format(e,{parser:r,plugins:Q([hd,fd,yd],Z(t.plugins||[]),!1),singleQuote:!0,jsxSingleQuote:!0})}},vd=function(e){return function(t){return K(void 0,void 0,void 0,(function(){var s,r,i;return Y(this,(function(n){return s=e||"react",r=X({},t),i=r.ir,r.chunks.push({type:ja.STRING,fileType:Ba.JS,name:Fp,content:"\n import { createRef } from '".concat(s,"';\n "),linkAfter:[]}),i.utils&&i.utils.forEach((function(e){"function"===e.type&&r.chunks.push({type:ja.STRING,fileType:Ba.JS,name:Bp,content:"\n export const ".concat(e.name," = ").concat(e.content.value,";\n "),linkAfter:[Fp,Op,Lp]})})),[2,r]}))}))}};var bd=function(e){var t,s=e.schema.router;if(s&&0!==(null===(t=s.routes)||void 0===t?void 0:t.length)){var r=[],i=function(e){e.forEach((function(e){e.page&&-1===r.indexOf(e.page)&&r.push(e.page),e.children&&e.children.length>0&&i(e.children)}))};i(s.routes);var n=s.routes.map((function(e){return Ed(e)})),a=r.map((function(e){return function(e,t){var s=e.slice(0,1).toUpperCase()+e.slice(1);return I.variableDeclaration("const",[I.variableDeclarator(I.identifier(s),I.callExpression(I.identifier("lazy"),[I.arrowFunctionExpression([],I.callExpression(I.identifier("import"),[I.stringLiteral(t)]))]))])}(e,"./pages/".concat(e))}));return{fileLazyImports:a,routeElements:n}}};function Ed(e){var t=[];return e.children&&(t=e.children.map((function(e){return Ed(e)}))),e.redirect?function(e){var t;try{var s=st(e,{sourceType:"module",plugins:["jsx"]});return null===(t=null==s?void 0:s.program)||void 0===t?void 0:t.body[0]}catch(e){return console.error("解析错误:",e),null}}('<Route path="'.concat(e.path,'" element={<Navigate to="').concat(e.redirect,'"/>}></Route>')):function(e,t,s,r){void 0===s&&(s=!1),void 0===r&&(r=null);var i=[I.jsxAttribute(I.jsxIdentifier("path"),I.stringLiteral(e))];s&&i.push(I.jsxAttribute(I.jsxIdentifier("exact")));var n=I.jsxOpeningElement(I.jsxIdentifier("Route"),i,!r);return t||r?(t&&i.push(I.jsxAttribute(I.jsxIdentifier("element"),I.jsxExpressionContainer(I.jsxElement(I.jsxOpeningElement(I.jsxIdentifier(t.slice(0,1).toUpperCase()+t.slice(1)),[],!0),null,[],!1)))),I.jsxElement(n,I.jsxClosingElement(I.jsxIdentifier("Route")),r||[],!1)):I.jsxElement(n,I.jsxClosingElement(I.jsxIdentifier("Route")),[],!1)}(e.path,e.page,e.exact,t)}var Cd=require("fs-extra");function Ad(e){var t,s;return K(this,void 0,void 0,(function(){var r,i;return Y(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Pa("/editor/getExportDetail",{_id:e.projectId,auth:e.auth,count:!1,folders:null===(t=null==e?void 0:e.folder)||void 0===t?void 0:t.split(","),fileNames:null===(s=e.filter)||void 0===s?void 0:s.split(","),frame:e.frame,afterTime:e.afterTime})];case 1:return"string"==typeof(r=n.sent()).data.schema&&(r.data.schema=JSON.parse(r.data.schema)),[2,r.data];case 2:throw i=n.sent(),console.log("[e] ",i),i;case 3:return[2]}}))}))}var wd=function(e){var t=e,s=null==e?void 0:e.__enable;return s&&(Object.keys(e).forEach((function(e){s.includes(e)||delete t[e]})),null==t||delete t.__enable),e},Dd=function(e,t){return K(void 0,void 0,void 0,(function(){var e;return Y(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,Pa("/file/getUploadToken",X({},t))];case 1:return[2,s.sent().data];case 2:return e=s.sent(),console.log("getUpToken error: ",e),[3,3];case 3:return[2]}}))}))},Td=function(e,t){return K(void 0,void 0,void 0,(function(){var s,r,i,n,a,o,c;return Y(this,(function(u){switch(u.label){case 0:return[4,Dd(0,t)];case 1:s=u.sent(),r=s.token,i=s.key,(n=new mn).append("file",P.createReadStream(e.path+"/"+e.fileName)),n.append("key",i),n.append("token",r),u.label=2;case 2:return u.trys.push([2,4,,5]),[4,Un.post("https://up-z0.qiniup.com/",n,{headers:n.getHeaders()})];case 3:if(a=u.sent(),null===(c=a.data)||void 0===c?void 0:c.hash)return[2,a.data];throw console.log("File upload failed.",a.data),new Error("File upload failed.");case 4:throw o=u.sent(),console.error("Error uploading file:",o),new Error("Error uploading file");case 5:return[2]}}))}))},Sd=function(e){var t=/exports\.(\w+)/.exec(e);return t?t[1]:""};function Pd(e){return K(this,void 0,void 0,(function(){var t;return Y(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,V.mkdir(e,{recursive:!0})];case 1:return s.sent(),[3,3];case 2:if("EEXIST"===(t=s.sent()).code)return[2];throw t;case 3:return[2]}}))}))}var kd=re(C({__proto__:null,default:k.default},[P])),Nd=function(){if("object"==typeof process&&process.versions&&process.versions.electron)try{const e=kd;if(Object.keys(e).length>0)return e}catch(e){}return k.default},Id={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24},_d={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed",FILE_IN_THE_WAY:"There is a file in the way: %s",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:"File not found: %s",NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found"};_d.INVALID_LOC,_d.INVALID_CEN,_d.INVALID_END,_d.NO_DATA,_d.BAD_CRC,_d.FILE_IN_THE_WAY,_d.UNKNOWN_METHOD,_d.AVAIL_DATA,_d.INVALID_DISTANCE,_d.TO_MANY_CODES,_d.INVALID_REPEAT_LEN,_d.INVALID_REPEAT_FIRST,_d.INCOMPLETE_CODES,_d.INVALID_DYN_DISTANCE,_d.INVALID_CODES_LEN,_d.INVALID_STORE_BLOCK,_d.INVALID_BLOCK_TYPE,_d.CANT_EXTRACT_FILE,_d.CANT_OVERRIDE,_d.NO_ZIP,_d.NO_ENTRY,_d.DIRECTORY_CONTENT_ERROR,_d.FILE_NOT_FOUND,_d.NOT_IMPLEMENTED,_d.INVALID_FILENAME,_d.INVALID_FORMAT;const Fd=Nd(),Od="object"==typeof process&&"win32"===process.platform,Ld=e=>e&&"object"==typeof e,Bd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;return t>>>0}));function jd(e){this.sep=D.default.sep,this.fs=Fd,Ld(e)&&Ld(e.fs)&&"function"==typeof e.fs.statSync&&(this.fs=e.fs)}var Md=jd;jd.prototype.makeDir=function(e){const t=this;!function(e){let s=e.split(t.sep)[0];e.split(t.sep).forEach((function(e){if(e&&":"!==e.substr(-1,1)){var r;s+=t.sep+e;try{r=t.fs.statSync(s)}catch(e){t.fs.mkdirSync(s)}if(r&&r.isFile())throw _d.FILE_IN_THE_WAY.replace("%s",s)}}))}(e)},jd.prototype.writeFileTo=function(e,t,s,r){const i=this;if(i.fs.existsSync(e)){if(!s)return!1;if(i.fs.statSync(e).isDirectory())return!1}var n,a=D.default.dirname(e);i.fs.existsSync(a)||i.makeDir(a);try{n=i.fs.openSync(e,"w",438)}catch(t){i.fs.chmodSync(e,438),n=i.fs.openSync(e,"w",438)}if(n)try{i.fs.writeSync(n,t,0,t.length,0)}finally{i.fs.closeSync(n)}return i.fs.chmodSync(e,r||438),!0},jd.prototype.writeFileToAsync=function(e,t,s,r,i){"function"==typeof r&&(i=r,r=void 0);const n=this;n.fs.exists(e,(function(a){if(a&&!s)return i(!1);n.fs.stat(e,(function(s,o){if(a&&o.isDirectory())return i(!1);var c=D.default.dirname(e);n.fs.exists(c,(function(s){s||n.makeDir(c),n.fs.open(e,"w",438,(function(s,a){s?n.fs.chmod(e,438,(function(){n.fs.open(e,"w",438,(function(s,a){n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))})):a?n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))})):n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))}))},jd.prototype.findFiles=function(e){const t=this;return function e(s,r,i){"boolean"==typeof r&&(i=r,r=void 0);let n=[];return t.fs.readdirSync(s).forEach((function(a){var o=D.default.join(s,a);t.fs.statSync(o).isDirectory()&&i&&(n=n.concat(e(o,r,i))),r&&!r.test(o)||n.push(D.default.normalize(o)+(t.fs.statSync(o).isDirectory()?t.sep:""))})),n}(e,void 0,!0)},jd.prototype.getAttributes=function(){},jd.prototype.setAttributes=function(){},jd.crc32update=function(e,t){return Bd[255&(e^t)]^e>>>8},jd.crc32=function(e){"string"==typeof e&&(e=Buffer.from(e,"utf8")),Bd.length||genCRCTable();let t=e.length,s=-1;for(let r=0;r<t;)s=jd.crc32update(s,e[r++]);return~s>>>0},jd.methodToString=function(e){switch(e){case Id.STORED:return"STORED ("+e+")";case Id.DEFLATED:return"DEFLATED ("+e+")";default:return"UNSUPPORTED ("+e+")"}},jd.canonical=function(e){if(!e)return"";var t=D.default.posix.normalize("/"+e.split("\\").join("/"));return D.default.join(".",t)},jd.sanitize=function(e,t){e=D.default.resolve(D.default.normalize(e));for(var s=t.split("/"),r=0,i=s.length;r<i;r++){var n=D.default.normalize(D.default.join(e,s.slice(r,i).join(D.default.sep)));if(0===n.indexOf(e))return n}return D.default.normalize(D.default.join(e,D.default.basename(t)))},jd.toBuffer=function(e){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):"string"==typeof e?Buffer.from(e,"utf8"):Buffer.alloc(0)},jd.readBigUInt64LE=function(e,t){var s=Buffer.from(e.slice(t,t+8));return s.swap64(),parseInt(`0x${s.toString("hex")}`)},jd.isWin=Od,jd.crcTable=Bd;const Rd=Nd();Rd.existsSync=Rd.existsSync||D.default.existsSync;var Ud=Md,qd=Id,$d=_d,zd=function(e){var t=e||"",s={directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0},r=null;return t&&Rd.existsSync(t)?(r=Rd.statSync(t),s.directory=r.isDirectory(),s.mtime=r.mtime,s.atime=r.atime,s.executable=!!(73&r.mode),s.readonly=!(128&r.mode),s.hidden="."===D.default.basename(t)[0]):console.warn("Invalid path: "+t),{get directory(){return s.directory},get readOnly(){return s.readonly},get hidden(){return s.hidden},get mtime(){return s.mtime},get atime(){return s.atime},get executable(){return s.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:t,isDirectory:s.directory,isReadOnly:s.readonly,isHidden:s.hidden,isExecutable:s.executable,mTime:s.mtime,aTime:s.atime}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}};Ud.Constants=qd,Ud.Errors=$d,Ud.FileAttr=zd;var Hd=Ud.Constants,Vd=Ud.Constants,Gd=function(){var e=20,t=10,s=0,r=0,i=0,n=0,a=0,o=0,c=0,u=0,l=0,p=0,h=0,d=0,f=0;e|=Ud.isWin?2560:768,s|=Hd.FLG_EFS;var m={};function y(e){e=new Date(e),i=(e.getFullYear()-1980&127)<<25|e.getMonth()+1<<21|e.getDate()<<16|e.getHours()<<11|e.getMinutes()<<5|e.getSeconds()>>1}return y(+new Date),{get made(){return e},set made(t){e=t},get version(){return t},set version(e){t=e},get flags(){return s},set flags(e){s=e},get method(){return r},set method(e){switch(e){case Hd.STORED:this.version=10;case Hd.DEFLATED:default:this.version=20}r=e},get time(){return new Date(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1)},set time(e){y(e)},get timeHighByte(){return i>>>8&255},get crc(){return n},set crc(e){n=Math.max(0,e)>>>0},get compressedSize(){return a},set compressedSize(e){a=Math.max(0,e)>>>0},get size(){return o},set size(e){o=Math.max(0,e)>>>0},get fileNameLength(){return c},set fileNameLength(e){c=e},get extraLength(){return u},set extraLength(e){u=e},get commentLength(){return l},set commentLength(e){l=e},get diskNumStart(){return p},set diskNumStart(e){p=Math.max(0,e)>>>0},get inAttr(){return h},set inAttr(e){h=Math.max(0,e)>>>0},get attr(){return d},set attr(e){d=Math.max(0,e)>>>0},get fileAttr(){return d?d>>>0>>16&4095:0},get offset(){return f},set offset(e){f=Math.max(0,e)>>>0},get encripted(){return!(1&~s)},get entryHeaderSize(){return Hd.CENHDR+c+u+l},get realDataOffset(){return f+Hd.LOCHDR+m.fnameLen+m.extraLen},get dataHeader(){return m},loadDataHeaderFromBinary:function(e){var t=e.slice(f,f+Hd.LOCHDR);if(t.readUInt32LE(0)!==Hd.LOCSIG)throw new Error(Ud.Errors.INVALID_LOC);m={version:t.readUInt16LE(Hd.LOCVER),flags:t.readUInt16LE(Hd.LOCFLG),method:t.readUInt16LE(Hd.LOCHOW),time:t.readUInt32LE(Hd.LOCTIM),crc:t.readUInt32LE(Hd.LOCCRC),compressedSize:t.readUInt32LE(Hd.LOCSIZ),size:t.readUInt32LE(Hd.LOCLEN),fnameLen:t.readUInt16LE(Hd.LOCNAM),extraLen:t.readUInt16LE(Hd.LOCEXT)}},loadFromBinary:function(m){if(m.length!==Hd.CENHDR||m.readUInt32LE(0)!==Hd.CENSIG)throw new Error(Ud.Errors.INVALID_CEN);e=m.readUInt16LE(Hd.CENVEM),t=m.readUInt16LE(Hd.CENVER),s=m.readUInt16LE(Hd.CENFLG),r=m.readUInt16LE(Hd.CENHOW),i=m.readUInt32LE(Hd.CENTIM),n=m.readUInt32LE(Hd.CENCRC),a=m.readUInt32LE(Hd.CENSIZ),o=m.readUInt32LE(Hd.CENLEN),c=m.readUInt16LE(Hd.CENNAM),u=m.readUInt16LE(Hd.CENEXT),l=m.readUInt16LE(Hd.CENCOM),p=m.readUInt16LE(Hd.CENDSK),h=m.readUInt16LE(Hd.CENATT),d=m.readUInt32LE(Hd.CENATX),f=m.readUInt32LE(Hd.CENOFF)},dataHeaderToBinary:function(){var e=Buffer.alloc(Hd.LOCHDR);return e.writeUInt32LE(Hd.LOCSIG,0),e.writeUInt16LE(t,Hd.LOCVER),e.writeUInt16LE(s,Hd.LOCFLG),e.writeUInt16LE(r,Hd.LOCHOW),e.writeUInt32LE(i,Hd.LOCTIM),e.writeUInt32LE(n,Hd.LOCCRC),e.writeUInt32LE(a,Hd.LOCSIZ),e.writeUInt32LE(o,Hd.LOCLEN),e.writeUInt16LE(c,Hd.LOCNAM),e.writeUInt16LE(u,Hd.LOCEXT),e},entryHeaderToBinary:function(){var m=Buffer.alloc(Hd.CENHDR+c+u+l);return m.writeUInt32LE(Hd.CENSIG,0),m.writeUInt16LE(e,Hd.CENVEM),m.writeUInt16LE(t,Hd.CENVER),m.writeUInt16LE(s,Hd.CENFLG),m.writeUInt16LE(r,Hd.CENHOW),m.writeUInt32LE(i,Hd.CENTIM),m.writeUInt32LE(n,Hd.CENCRC),m.writeUInt32LE(a,Hd.CENSIZ),m.writeUInt32LE(o,Hd.CENLEN),m.writeUInt16LE(c,Hd.CENNAM),m.writeUInt16LE(u,Hd.CENEXT),m.writeUInt16LE(l,Hd.CENCOM),m.writeUInt16LE(p,Hd.CENDSK),m.writeUInt16LE(h,Hd.CENATT),m.writeUInt32LE(d,Hd.CENATX),m.writeUInt32LE(f,Hd.CENOFF),m.fill(0,Hd.CENHDR),m},toJSON:function(){const i=function(e){return e+" bytes"};return{made:e,version:t,flags:s,method:Ud.methodToString(r),time:this.time,crc:"0x"+n.toString(16).toUpperCase(),compressedSize:i(a),size:i(o),fileNameLength:i(c),extraLength:i(u),commentLength:i(l),diskNumStart:p,inAttr:h,attr:d,offset:f,entryHeaderSize:i(Hd.CENHDR+c+u+l)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Wd=function(){var e=0,t=0,s=0,r=0,i=0;return{get diskEntries(){return e},set diskEntries(s){e=t=s},get totalEntries(){return t},set totalEntries(s){t=e=s},get size(){return s},set size(e){s=e},get offset(){return r},set offset(e){r=e},get commentLength(){return i},set commentLength(e){i=e},get mainHeaderSize(){return Vd.ENDHDR+i},loadFromBinary:function(n){if((n.length!==Vd.ENDHDR||n.readUInt32LE(0)!==Vd.ENDSIG)&&(n.length<Vd.ZIP64HDR||n.readUInt32LE(0)!==Vd.ZIP64SIG))throw new Error(Ud.Errors.INVALID_END);n.readUInt32LE(0)===Vd.ENDSIG?(e=n.readUInt16LE(Vd.ENDSUB),t=n.readUInt16LE(Vd.ENDTOT),s=n.readUInt32LE(Vd.ENDSIZ),r=n.readUInt32LE(Vd.ENDOFF),i=n.readUInt16LE(Vd.ENDCOM)):(e=Ud.readBigUInt64LE(n,Vd.ZIP64SUB),t=Ud.readBigUInt64LE(n,Vd.ZIP64TOT),s=Ud.readBigUInt64LE(n,Vd.ZIP64SIZE),r=Ud.readBigUInt64LE(n,Vd.ZIP64OFF),i=0)},toBinary:function(){var n=Buffer.alloc(Vd.ENDHDR+i);return n.writeUInt32LE(Vd.ENDSIG,0),n.writeUInt32LE(0,4),n.writeUInt16LE(e,Vd.ENDSUB),n.writeUInt16LE(t,Vd.ENDTOT),n.writeUInt32LE(s,Vd.ENDSIZ),n.writeUInt32LE(r,Vd.ENDOFF),n.writeUInt16LE(i,Vd.ENDCOM),n.fill(" ",Vd.ENDHDR),n},toJSON:function(){return{diskEntries:e,totalEntries:t,size:s+" bytes",offset:function(e,t){let s=e.toString(16).toUpperCase();for(;s.length<t;)s="0"+s;return"0x"+s}(r,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Jd={EntryHeader:Gd,MainHeader:Wd};const{randomFillSync:Xd}=F.default,Kd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;return t>>>0})),Yd=(e,t)=>Math.imul(e,t)>>>0,Zd=(e,t)=>Kd[255&(e^t)]^e>>>8,Qd=()=>"function"==typeof Xd?Xd(Buffer.alloc(12)):Qd.node();Qd.node=()=>{const e=Buffer.alloc(12),t=e.length;for(let s=0;s<t;s++)e[s]=256*Math.random()&255;return e};const ef={genSalt:Qd};function tf(e){const t=Buffer.isBuffer(e)?e:Buffer.from(e);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let e=0;e<t.length;e++)this.updateKeys(t[e])}tf.prototype.updateKeys=function(e){const t=this.keys;return t[0]=Zd(t[0],e),t[1]+=255&t[0],t[1]=Yd(t[1],134775813)+1,t[2]=Zd(t[2],t[1]>>>24),e},tf.prototype.next=function(){const e=(2|this.keys[2])>>>0;return Yd(e,1^e)>>8&255};var sf={decrypt:function(e,t,s){if(!e||!Buffer.isBuffer(e)||e.length<12)return Buffer.alloc(0);const r=function(e){const t=new tf(e);return function(e){const s=Buffer.alloc(e.length);let r=0;for(let i of e)s[r++]=t.updateKeys(i^t.next());return s}}(s),i=r(e.slice(0,12)),n=8&~t.flags?t.crc>>>24:t.timeHighByte;if(i[11]!==n)throw"ADM-ZIP: Wrong Password";return r(e.slice(12))},encrypt:function(e,t,s,r=!1){null==e&&(e=Buffer.alloc(0)),Buffer.isBuffer(e)||(e=Buffer.from(e.toString()));const i=function(e){const t=new tf(e);return function(e,s,r=0){s||(s=Buffer.alloc(e.length));for(let i of e){const e=t.next();s[r++]=i^e,t.updateKeys(i)}return s}}(s),n=ef.genSalt();n[11]=t.crc>>>24&255,r&&(n[10]=t.crc>>>16&255);const a=Buffer.alloc(e.length+12);return i(n,a),i(e,a,12)},_salter:function(e){Buffer.isBuffer(e)&&e.length>=12?ef.genSalt=function(){return e.slice(0,12)}:ef.genSalt="node"===e?Qd.node:Qd}},rf=function(e){var t=U.default,s={chunkSize:1024*(parseInt(e.length/1024)+1)};return{deflate:function(){return t.deflateRawSync(e,s)},deflateAsync:function(r){var i=t.createDeflateRaw(s),n=[],a=0;i.on("data",(function(e){n.push(e),a+=e.length})),i.on("end",(function(){var e=Buffer.alloc(a),t=0;e.fill(0);for(var s=0;s<n.length;s++){var i=n[s];i.copy(e,t),t+=i.length}r&&r(e)})),i.end(e)}}},nf=function(e){var t=U.default;return{inflate:function(){return t.inflateRawSync(e)},inflateAsync:function(s){var r=t.createInflateRaw(),i=[],n=0;r.on("data",(function(e){i.push(e),n+=e.length})),r.on("end",(function(){var e=Buffer.alloc(n),t=0;e.fill(0);for(var r=0;r<i.length;r++){var a=i[r];a.copy(e,t),t+=a.length}s&&s(e)})),r.end(e)}}},af={Deflater:rf,Inflater:nf,ZipCrypto:sf},of=Ud.Constants,cf=function(e){var t=new Jd.EntryHeader,s=Buffer.alloc(0),r=Buffer.alloc(0),i=!1,n=null,a=Buffer.alloc(0);function o(){return e&&Buffer.isBuffer(e)?(t.loadDataHeaderFromBinary(e),e.slice(t.realDataOffset,t.realDataOffset+t.compressedSize)):Buffer.alloc(0)}function c(e){return!(8&~t.flags&&Ud.crc32(e)!==t.dataHeader.crc)}function u(e,r,n){if(void 0===r&&"string"==typeof e&&(n=e,e=void 0),i)return e&&r&&r(Buffer.alloc(0),Ud.Errors.DIRECTORY_CONTENT_ERROR),Buffer.alloc(0);var a=o();if(0===a.length)return e&&r&&r(a),a;if(t.encripted){if("string"!=typeof n&&!Buffer.isBuffer(n))throw new Error("ADM-ZIP: Incompatible password parameter");a=af.ZipCrypto.decrypt(a,t,n)}var u=Buffer.alloc(t.size);switch(t.method){case Ud.Constants.STORED:if(a.copy(u),c(u))return e&&r&&r(u),u;throw e&&r&&r(u,Ud.Errors.BAD_CRC),new Error(Ud.Errors.BAD_CRC);case Ud.Constants.DEFLATED:var l=new af.Inflater(a);if(!e){if(l.inflate(u).copy(u,0),!c(u))throw new Error(Ud.Errors.BAD_CRC+" "+s.toString());return u}l.inflateAsync((function(e){e.copy(e,0),r&&(c(e)?r(e):r(e,Ud.Errors.BAD_CRC))}));break;default:throw e&&r&&r(Buffer.alloc(0),Ud.Errors.UNKNOWN_METHOD),new Error(Ud.Errors.UNKNOWN_METHOD)}}function l(s,r){if((!n||!n.length)&&Buffer.isBuffer(e))return s&&r&&r(o()),o();if(n.length&&!i){var a;switch(t.method){case Ud.Constants.STORED:return t.compressedSize=t.size,a=Buffer.alloc(n.length),n.copy(a),s&&r&&r(a),a;default:case Ud.Constants.DEFLATED:var c=new af.Deflater(n);if(!s){var u=c.deflate();return t.compressedSize=u.length,u}c.deflateAsync((function(e){a=Buffer.alloc(e.length),t.compressedSize=e.length,e.copy(a),r&&r(a)})),c=null}}else{if(!s||!r)return Buffer.alloc(0);r(Buffer.alloc(0))}}function p(e,t){return(e.readUInt32LE(t+4)<<4)+e.readUInt32LE(t)}function h(e){var s,r,i,n;e.length>=of.EF_ZIP64_SCOMP&&(s=p(e,of.EF_ZIP64_SUNCOMP),t.size===of.EF_ZIP64_OR_32&&(t.size=s)),e.length>=of.EF_ZIP64_RHO&&(r=p(e,of.EF_ZIP64_SCOMP),t.compressedSize===of.EF_ZIP64_OR_32&&(t.compressedSize=r)),e.length>=of.EF_ZIP64_DSN&&(i=p(e,of.EF_ZIP64_RHO),t.offset===of.EF_ZIP64_OR_32&&(t.offset=i)),e.length>=of.EF_ZIP64_DSN+4&&(n=e.readUInt32LE(of.EF_ZIP64_DSN),t.diskNumStart===of.EF_ZIP64_OR_16&&(t.diskNumStart=n))}return{get entryName(){return s.toString()},get rawEntryName(){return s},set entryName(e){var r=(s=Ud.toBuffer(e))[s.length-1];i=47===r||92===r,t.fileNameLength=s.length},get extra(){return a},set extra(e){a=e,t.extraLength=e.length,function(e){for(var t,s,r,i=0;i<e.length;)t=e.readUInt16LE(i),i+=2,s=e.readUInt16LE(i),i+=2,r=e.slice(i,i+s),i+=s,of.ID_ZIP64===t&&h(r)}(e)},get comment(){return r.toString()},set comment(e){r=Ud.toBuffer(e),t.commentLength=r.length},get name(){var e=s.toString();return i?e.substr(e.length-1).split("/").pop():e.split("/").pop()},get isDirectory(){return i},getCompressedData:function(){return l(!1,null)},getCompressedDataAsync:function(e){l(!0,e)},setData:function(e){n=Ud.toBuffer(e),!i&&n.length?(t.size=n.length,t.method=Ud.Constants.DEFLATED,t.crc=Ud.crc32(e),t.changed=!0):t.method=Ud.Constants.STORED},getData:function(e){return t.changed?n:u(!1,null,e)},getDataAsync:function(e,s){t.changed?e(n):u(!0,e,s)},set attr(e){t.attr=e},get attr(){return t.attr},set header(e){t.loadFromBinary(e)},get header(){return t},packHeader:function(){var e=t.entryHeaderToBinary(),i=Ud.Constants.CENHDR;return s.copy(e,i),i+=s.length,t.extraLength&&(a.copy(e,i),i+=t.extraLength),t.commentLength&&r.copy(e,i),e},toJSON:function(){const s=function(e){return"<"+(e&&e.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:t.toJSON(),compressedData:s(e),data:s(n)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},uf=function(e,t){var s=[],r={},i=Buffer.alloc(0),n=new Jd.MainHeader,a=!1;const o=Object.assign(Object.create(null),t),{noSort:c}=o;function u(){a=!0,r={},s=new Array(n.diskEntries);for(var t=n.offset,i=0;i<s.length;i++){var o=t,c=new cf(e);c.header=e.slice(o,o+=Ud.Constants.CENHDR),c.entryName=e.slice(o,o+=c.header.fileNameLength),c.header.extraLength&&(c.extra=e.slice(o,o+=c.header.extraLength)),c.header.commentLength&&(c.comment=e.slice(o,o+c.header.commentLength)),t+=c.header.entryHeaderSize,s[i]=c,r[c.entryName]=c}}function l(){s.length>1&&!c&&s.sort(((e,t)=>e.entryName.toLowerCase().localeCompare(t.entryName.toLowerCase())))}return e?function(t){var s=e.length-Ud.Constants.ENDHDR,r=Math.max(0,s-65535),a=r,o=e.length,c=-1,l=0;for(;s>=a;s--)if(80===e[s])if(e.readUInt32LE(s)!==Ud.Constants.ENDSIG)if(e.readUInt32LE(s)!==Ud.Constants.END64SIG){if(e.readUInt32LE(s)===Ud.Constants.ZIP64SIG){c=s,o=s+Ud.readBigUInt64LE(e,s+Ud.Constants.ZIP64SIZE)+Ud.Constants.ZIP64LEAD;break}}else a=r;else c=s,l=s,o=s+Ud.Constants.ENDHDR,a=s-Ud.Constants.END64HDR;if(!~c)throw new Error(Ud.Errors.INVALID_FORMAT);n.loadFromBinary(e.slice(c,o)),n.commentLength&&(i=e.slice(l+Ud.Constants.ENDHDR));t&&u()}(o.readEntries):a=!0,{get entries(){return a||u(),s},get comment(){return i.toString()},set comment(e){i=Ud.toBuffer(e),n.commentLength=i.length},getEntryCount:function(){return a?s.length:n.diskEntries},forEach:function(t){a?s.forEach(t):function(t){const s=n.diskEntries;let r=n.offset;for(let i=0;i<s;i++){let s=r;const i=new cf(e);i.header=e.slice(s,s+=Ud.Constants.CENHDR),i.entryName=e.slice(s,s+=i.header.fileNameLength),r+=i.header.entryHeaderSize,t(i)}}(t)},getEntry:function(e){return a||u(),r[e]||null},setEntry:function(e){a||u(),s.push(e),r[e.entryName]=e,n.totalEntries=s.length},deleteEntry:function(e){a||u();var t=r[e];if(t&&t.isDirectory){var i=this;this.getEntryChildren(t).forEach((function(t){t.entryName!==e&&i.deleteEntry(t.entryName)}))}s.splice(s.indexOf(t),1),delete r[e],n.totalEntries=s.length},getEntryChildren:function(e){if(a||u(),e&&e.isDirectory){const t=[],r=e.entryName,i=r.length;return s.forEach((function(e){e.entryName.substr(0,i)===r&&t.push(e)})),t}return[]},compressToBuffer:function(){a||u(),l();const e=[],t=[];let r=0,o=0;n.size=0,n.offset=0;for(const i of s){const s=i.getCompressedData();i.header.offset=o;const a=i.header.dataHeaderToBinary(),c=i.rawEntryName.length,u=Buffer.alloc(c+i.extra.length);i.rawEntryName.copy(u,0),i.extra.copy(u,c);const l=a.length+u.length+s.length;o+=l,e.push(a),e.push(u),e.push(s);const p=i.packHeader();t.push(p),n.size+=p.length,r+=l+p.length}r+=n.mainHeaderSize,n.offset=o,o=0;const c=Buffer.alloc(r);for(const t of e)t.copy(c,o),o+=t.length;for(const e of t)e.copy(c,o),o+=e.length;const p=n.toBinary();return i&&i.copy(p,Ud.Constants.ENDHDR),p.copy(c,o),c},toAsyncBuffer:function(e,t,r,o){try{a||u(),l();const t=[],c=[];let p=0,h=0;n.size=0,n.offset=0;const d=function(s){if(s.length){const e=s.pop(),i=e.entryName+e.extra.toString();r&&r(i),e.getCompressedDataAsync((function(r){o&&o(i),e.header.offset=h;const a=e.header.dataHeaderToBinary(),u=Buffer.alloc(i.length,i),l=a.length+u.length+r.length;h+=l,t.push(a),t.push(u),t.push(r);const f=e.packHeader();c.push(f),n.size+=f.length,p+=l+f.length,d(s)}))}else{p+=n.mainHeaderSize,n.offset=h,h=0;const s=Buffer.alloc(p);t.forEach((function(e){e.copy(s,h),h+=e.length})),c.forEach((function(e){e.copy(s,h),h+=e.length}));const r=n.toBinary();i&&i.copy(r,Ud.Constants.ENDHDR),r.copy(s,h),e(s)}};d(s)}catch(e){t(e)}}}};const lf=(e,t)=>"boolean"==typeof e?e:t,pf=(e,t)=>"string"==typeof e?e:t,hf={noSort:!1,readEntries:!1,method:Ud.Constants.NONE,fs:null};var df=function(e,t){let s=null;const r=Object.assign(Object.create(null),hf);e&&"object"==typeof e&&(e instanceof Uint8Array||(Object.assign(r,e),e=r.input?r.input:void 0,r.input&&delete r.input),Buffer.isBuffer(e)&&(s=e,r.method=Ud.Constants.BUFFER,e=void 0)),Object.assign(r,t);const i=new Ud(r);if(e&&"string"==typeof e){if(!i.fs.existsSync(e))throw new Error(Ud.Errors.INVALID_FILENAME);r.method=Ud.Constants.FILE,r.filename=e,s=i.fs.readFileSync(e)}const n=new uf(s,r),{canonical:a,sanitize:o}=Ud;function c(e){var t;if(e&&n&&("string"==typeof e&&(t=n.getEntry(e)),"object"==typeof e&&void 0!==e.entryName&&void 0!==e.header&&(t=n.getEntry(e.entryName)),t))return t;return null}function u(e){const{join:t,normalize:s,sep:r}=D.default.posix;return t(".",s(r+e.split("\\").join(r)+r))}return{readFile:function(e,t){var s=c(e);return s&&s.getData(t)||null},readFileAsync:function(e,t){var s=c(e);s?s.getDataAsync(t):t(null,"getEntry failed for:"+e)},readAsText:function(e,t){var s=c(e);if(s){var r=s.getData();if(r&&r.length)return r.toString(t||"utf8")}return""},readAsTextAsync:function(e,t,s){var r=c(e);r?r.getDataAsync((function(e,r){r?t(e,r):e&&e.length?t(e.toString(s||"utf8")):t("")})):t("")},deleteFile:function(e){var t=c(e);t&&n.deleteEntry(t.entryName)},addZipComment:function(e){n.comment=e},getZipComment:function(){return n.comment||""},addZipEntryComment:function(e,t){var s=c(e);s&&(s.comment=t)},getZipEntryComment:function(e){var t=c(e);return t&&t.comment||""},updateFile:function(e,t){var s=c(e);s&&s.setData(t)},addLocalFile:function(e,t,s,r){if(!i.fs.existsSync(e))throw new Error(Ud.Errors.FILE_NOT_FOUND.replace("%s",e));{t=t?u(t):"";var n=e.split("\\").join("/").split("/").pop();t+=s||n;const a=i.fs.statSync(e);this.addFile(t,i.fs.readFileSync(e),r,a)}},addLocalFolder:function(e,t,s,r){var n;if(s instanceof RegExp?(n=s,s=function(e){return n.test(e)}):"function"!=typeof s&&(s=function(){return!0}),t=t?u(t):"",e=D.default.normalize(e),!i.fs.existsSync(e))throw new Error(Ud.Errors.FILE_NOT_FOUND.replace("%s",e));{const n=i.findFiles(e),a=this;n.length&&n.forEach((function(n){var o=D.default.relative(e,n).split("\\").join("/");if(s(o)){var c=i.fs.statSync(n);c.isFile()?a.addFile(t+o,i.fs.readFileSync(n),"",r||c):a.addFile(t+o+"/",Buffer.alloc(0),"",r||c)}}))}},addLocalFolderAsync:function(e,t,s,r){var n;r instanceof RegExp?(n=r,r=function(e){return n.test(e)}):"function"!=typeof r&&(r=function(){return!0}),s=s?u(s):"",e=D.default.normalize(e);var a=this;i.fs.open(e,"r",(function(n){if(n&&"ENOENT"===n.code)t(void 0,Ud.Errors.FILE_NOT_FOUND.replace("%s",e));else if(n)t(void 0,n);else{var o=i.findFiles(e),c=-1,u=function(){if((c+=1)<o.length){var n=o[c],l=D.default.relative(e,n).split("\\").join("/");l=l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),r(l)?i.fs.stat(n,(function(e,r){e&&t(void 0,e),r.isFile()?i.fs.readFile(n,(function(e,i){e?t(void 0,e):(a.addFile(s+l,i,"",r),u())})):(a.addFile(s+l+"/",Buffer.alloc(0),"",r),u())})):process.nextTick((()=>{u()}))}else t(!0,void 0)};u()}}))},addLocalFolderPromise:function(e,t){return new Promise(((s,r)=>{const{filter:i,zipPath:n}=Object.assign({},t);this.addLocalFolderAsync(e,((e,t)=>{t&&r(t),e&&s(this)}),n,i)}))},addFile:function(e,t,s,r){let a=c(e);const o=null!=a;o||(a=new cf,a.entryName=e),a.comment=s||"";const u="object"==typeof r&&r instanceof i.fs.Stats;u&&(a.header.time=r.mtime);var l=a.isDirectory?16:0;let p=a.isDirectory?16384:32768;p|=u?4095&r.mode:"number"==typeof r?4095&r:a.isDirectory?493:420,l=(l|p<<16)>>>0,a.attr=l,a.setData(t),o||n.setEntry(a)},getEntries:function(e){return n.password=e,n?n.entries:[]},getEntry:function(e){return c(e)},getEntryCount:function(){return n.getEntryCount()},forEach:function(e){return n.forEach(e)},extractEntryTo:function(e,t,s,r,u,l){r=lf(r,!1),u=lf(u,!1),s=lf(s,!0),l=pf(l,pf(u,void 0));var p=c(e);if(!p)throw new Error(Ud.Errors.NO_ENTRY);var h=a(p.entryName),d=o(t,l&&!p.isDirectory?l:s?h:D.default.basename(h));if(p.isDirectory)return n.getEntryChildren(p).forEach((function(e){if(e.isDirectory)return;var n=e.getData();if(!n)throw new Error(Ud.Errors.CANT_EXTRACT_FILE);var c=a(e.entryName),l=o(t,s?c:D.default.basename(c));const p=u?e.header.fileAttr:void 0;i.writeFileTo(l,n,r,p)})),!0;var f=p.getData(n.password);if(!f)throw new Error(Ud.Errors.CANT_EXTRACT_FILE);if(i.fs.existsSync(d)&&!r)throw new Error(Ud.Errors.CANT_OVERRIDE);const m=u?e.header.fileAttr:void 0;return i.writeFileTo(d,f,r,m),!0},test:function(e){if(!n)return!1;for(var t in n.entries)try{if(t.isDirectory)continue;if(!n.entries[t].getData(e))return!1}catch(e){return!1}return!0},extractAllTo:function(e,t,s,r){if(t=lf(t,!1),r=pf(s,r),s=lf(s,!1),!n)throw new Error(Ud.Errors.NO_ZIP);n.entries.forEach((function(n){var c=o(e,a(n.entryName.toString()));if(n.isDirectory)return void i.makeDir(c);var u=n.getData(r);if(!u)throw new Error(Ud.Errors.CANT_EXTRACT_FILE);const l=s?n.header.fileAttr:void 0;i.writeFileTo(c,u,t,l);try{i.fs.utimesSync(c,n.header.time,n.header.time)}catch(e){throw new Error(Ud.Errors.CANT_EXTRACT_FILE)}}))},extractAllToAsync:function(e,t,s,r){if(t=lf(t,!1),"function"!=typeof s||r||(r=s),s=lf(s,!1),r||(r=function(e){throw new Error(e)}),!n)return void r(new Error(Ud.Errors.NO_ZIP));e=D.default.resolve(e);const c=t=>o(e,D.default.normalize(a(t.entryName.toString()))),u=(e,t)=>new Error(e+': "'+t+'"'),l=[],p=new Set;n.entries.forEach((e=>{e.isDirectory?l.push(e):p.add(e)}));for(const e of l){const t=c(e),n=s?e.header.fileAttr:void 0;try{i.makeDir(t),n&&i.fs.chmodSync(t,n),i.fs.utimesSync(t,e.header.time,e.header.time)}catch(e){r(u("Unable to create folder",t))}}const h=()=>{0===p.size&&r()};for(const n of p.values()){const c=D.default.normalize(a(n.entryName.toString())),l=o(e,c);n.getDataAsync((function(e,a){if(a)r(new Error(a));else if(e){const a=s?n.header.fileAttr:void 0;i.writeFileToAsync(l,e,t,a,(function(e){e?i.fs.utimes(l,n.header.time,n.header.time,(function(e){e?r(u("Unable to set times",l)):(h(),p.delete(n))})):r(u("Unable to write file",l))}))}else r(new Error(Ud.Errors.CANT_EXTRACT_FILE))}))}h()},writeZip:function(e,t){if(1===arguments.length&&"function"==typeof e&&(t=e,e=""),!e&&r.filename&&(e=r.filename),e){var s=n.compressToBuffer();if(s){var a=i.writeFileTo(e,s,!0);"function"==typeof t&&t(a?null:new Error("failed"),"")}}},writeZipPromise:function(e,t){const{overwrite:s,perm:n}=Object.assign({overwrite:!0},t);return new Promise(((t,a)=>{!e&&r.filename&&(e=r.filename),e||a("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then((r=>{i.writeFileToAsync(e,r,s,n,(e=>e?t(e):a("ADM-ZIP: Wasn't able to write zip file")))}),a)}))},toBufferPromise:function(){return new Promise(((e,t)=>{n.toAsyncBuffer(e,t)}))},toBuffer:function(e,t,s,r){return this.valueOf=2,"function"==typeof e?(n.toAsyncBuffer(e,t,s,r),null):n.compressToBuffer()}}};function ff(e,t){return K(this,void 0,void 0,(function(){return Y(this,(function(s){try{new df(e).extractAllTo(t,!0),k.default.unlinkSync(e)}catch(e){throw console.error("Error extracting template:",e),e}return[2]}))}))}function mf(e,t){return K(this,void 0,void 0,(function(){var s,r;return Y(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),console.log("Downloading template from ".concat(e,"...")),[4,G.default.ensureDir(t)];case 1:return i.sent(),s="".concat(t,"/template").concat(Date.now(),".zip"),[4,zn(e,s)];case 2:return i.sent(),console.log("Template downloaded."),[4,ff(s,t)];case 3:return i.sent(),[3,5];case 4:throw r=i.sent(),console.error("Error downloading or extracting template:"),r;case 5:return[2]}}))}))}function yf(e,t,s){return K(this,void 0,void 0,(function(){var r,i,n,a,o,c;return Y(this,(function(u){switch(u.label){case 0:return r=process.cwd(),i="".concat(r,"/").concat(s),[4,mf(t,r)];case 1:return u.sent(),[4,G.default.readdir(r,{withFileTypes:!0})];case 2:if(n=u.sent(),!(a=n.find((function(t){return t.isDirectory()&&t.name.startsWith(e.zipName||"---")}))))throw new Error("Failed to find the extracted template directory.");return o="".concat(r,"/").concat(a.name),console.log("oldPath",o),[4,G.default.pathExists(o)];case 3:return c=u.sent(),console.log("isExist: ",c),[4,G.default.rename("".concat(r,"/").concat(a.name),i)];case 4:return u.sent(),console.log('Project "'.concat(s,'" created successfully from template.')),[2]}}))}))}exports.create=function(e){return K(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u;return Y(this,(function(l){switch(l.label){case 0:s=(t=e||{}).template,r=void 0===s?"vite":s,i=t.folder,n=void 0===i?"appthen-assets-starter":i,console.log("template: ",r),l.label=1;case 1:return l.trys.push([1,6,,7]),[4,Pa("/material/templates",{},{method:"GET"})];case 2:return a=l.sent(),o=a.data,c=o.find((function(e){return e.name===r})),c?[4,yf(c,c.url,n)]:[3,4];case 3:return l.sent(),[3,5];case 4:console.log("[ERROR] ","template not found"),l.label=5;case 5:return[3,7];case 6:throw u=l.sent(),console.log("[e] ",u),u;case 7:return[2,1]}}))}))},exports.getPureValue=wd,exports.initSolution=function(e,t){return K(this,void 0,void 0,(function(){var s,r,i,n,a,o,c,u,l,p,h,d,f;return Y(this,(function(m){switch(m.label){case 0:return m.trys.push([0,11,,12]),s=process.cwd(),r=e[0]||"hello",i=T.resolve(s,r),"."===r&&(r=T.basename(s),i=s),n=function(e){return e.replace(/hello-world/g,Sh(r)).replace(/HelloWorld/g,Ph(r)).replace(/Hello World/g,Th(r))},[4,Pd(i)];case 1:m.sent(),a=[{file:".editorconfig",content:"root = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\nquote_type = single\n\n[*.md]\ntrim_trailing_whitespace = false\n"},{file:".eslintignore",content:"# 忽略目录\nnode_modules/\nbuild/\ndist/\ntest-cases/\ntest/\ntests/\noutput/\nes/\nlib/\ncoverage/\n\n# 忽略文件\n**/*.min.js\n**/*-min.js\n**/*.bundle.js\n"},{file:".eslintrc.js",content:"module.exports = {\n extends: 'eslint-config-ali/typescript/react',\n rules: {\n 'max-len': ['error', { code: 200 }],\n 'comma-dangle': 0,\n },\n};\n"},{file:".gitignore",content:"# project custom\nbuild\nes\nlib\ndist\noutput\npackage-lock.json\ndeploy-space/packages\ndeploy-space/.env\ngenerated\n\n# IDE\n.vscode\n.idea\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\nlib\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# next.js build output\n.next\n\n# nuxt.js build output\n.nuxt\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# mac config files\n.DS_Store\n\n# codealike\ncodealike.json\n.node\n"},{file:".prettierignore",content:"/test-cases/"},{file:".prettierrc",content:'{\n "tabWidth": 2,\n "singleQuote": true,\n "trailingComma": "es5"\n}\n'},{file:"CHANGELOG.md",content:""},{file:"CONTRIBUTING.md",content:"# 欢迎共建\n\n# 注意\n\n- 注意解决 eslint 问题\n- 注意代码格式化 -- 建议安装 prettier 插件\n- 发布前注意要跑通 demo 和所有的单测\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n\n## 本地跑单测\n\n```sh\n> npm test\n```\n"},{file:"README.md",content:"# 低代码出码自定义方案之 Hello World\n\n## 直接执行\n\n```sh\n> npx ali-lowcode-solution-hello-world demo-schema.json\n```\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n"},{file:"demo-schema.json",content:'{\n "version": "1.0.0",\n "componentsMap": [\n {\n "componentName": "Button",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button"\n },\n {\n "componentName": "Button.Group",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button",\n "subName": "Group"\n },\n {\n "componentName": "Input",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Input"\n },\n {\n "componentName": "Form",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form"\n },\n {\n "componentName": "Form.Item",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form",\n "subName": "Item"\n },\n {\n "componentName": "NumberPicker",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "NumberPicker"\n },\n {\n "componentName": "Select",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Select"\n }\n ],\n "componentsTree": [\n {\n "componentName": "Page",\n "id": "node$1",\n "meta": {\n "title": "测试",\n "router": "/"\n },\n "props": {\n "ref": "outterView",\n "autoLoading": true\n },\n "fileName": "test",\n "state": {\n "text": "outter"\n },\n "lifeCycles": {\n "componentDidMount": {\n "type": "IPublicTypeJSExpression",\n "value": "function() { console.log(\'componentDidMount\'); }"\n }\n },\n "methodsModule": {\n "type": "JSModule",\n "source": "export function helloWorld() {\\n console.log(\'Hello world!\');\\n}\\n"\n },\n "dataSource": {\n "list": [\n {\n "id": "urlParams",\n "type": "urlParams"\n },\n\n {\n "id": "user",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/user",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data;\\n}"\n }\n },\n\n {\n "id": "orders",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/orders",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data.result;\\n}"\n }\n }\n ],\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (dataMap) {\\n console.info(\\"All datasources loaded:\\", dataMap);\\n}"\n }\n },\n "children": [\n {\n "componentName": "Form",\n "id": "node$2",\n "props": {\n "labelCol": {\n "type": "IPublicTypeJSExpression",\n "value": "this.state.colNum"\n },\n "style": {},\n "ref": "testForm"\n },\n "children": [\n {\n "componentName": "Form.Item",\n "id": "node$3",\n "props": {\n "label": "姓名:",\n "name": "name",\n "initValue": "李雷"\n },\n "children": [\n {\n "componentName": "Input",\n "id": "node$4",\n "props": {\n "placeholder": "请输入",\n "size": "medium",\n "style": {\n "width": 320\n }\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$5",\n "props": {\n "label": "年龄:",\n "name": "age",\n "initValue": "22"\n },\n "children": [\n {\n "componentName": "NumberPicker",\n "id": "node$6",\n "props": {\n "size": "medium",\n "type": "normal"\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$7",\n "props": {\n "label": "职业:",\n "name": "profession"\n },\n "children": [\n {\n "componentName": "Select",\n "id": "node$8",\n "props": {\n "dataSource": [\n {\n "label": "教师",\n "value": "t"\n },\n {\n "label": "医生",\n "value": "d"\n },\n {\n "label": "歌手",\n "value": "s"\n }\n ]\n }\n }\n ]\n },\n {\n "componentName": "Div",\n "id": "node$9",\n "props": {\n "style": {\n "textAlign": "center"\n }\n },\n "children": [\n {\n "componentName": "Button.Group",\n "id": "node$a",\n "props": {},\n "children": [\n {\n "componentName": "Button",\n "id": "node$b",\n "condition": {\n "type": "IPublicTypeJSExpression",\n "value": "this.index >= 1"\n },\n "loop": ["a", "b", "c"],\n "props": {\n "type": "primary",\n "style": {\n "margin": "0 5px 0 5px"\n }\n },\n "children": [\n {\n "type": "IPublicTypeJSExpression",\n "value": "this.item"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n "constants": {\n "ENV": "prod",\n "DOMAIN": "xxx.xxx.com"\n },\n "css": "body {font-size: 12px;} .table { width: 100px;}",\n "config": {\n "sdkVersion": "1.0.3",\n "historyMode": "hash",\n "targetRootID": "J_Container",\n "layout": {\n "componentName": "BasicLayout",\n "props": {\n "logo": "...",\n "name": "测试网站"\n }\n },\n "theme": {\n "package": "@alife/theme-fusion",\n "version": "^0.1.0",\n "primary": "#ff9966"\n }\n },\n "meta": {\n "name": "demo应用",\n "git_group": "appGroup",\n "project_name": "app_demo",\n "description": "这是一个测试应用",\n "spma": "spa23d",\n "creator": "月飞"\n }\n}\n'},{file:"jest.config.js",content:"module.exports = {\n preset: 'ts-jest',\n testEnvironment: 'node',\n testPathIgnorePatterns: ['/node_modules/', '/test-cases/', '/static-files/', '/lib/'],\n};\n"},{file:"package.json",content:'{\n "name": "ali-lowcode-solution-hello-world",\n "version": "1.0.0",\n "description": "AlLowCode Code Generate Solution - Hello World",\n "files": [\n "src",\n "lib",\n "tests",\n "jest.config.js",\n ".editorconfig",\n ".eslintignore",\n ".eslintrc.js",\n ".gitignore",\n ".prettierignore",\n ".prettierrc",\n "CHANGELOG.md",\n "CONTRIBUTING.md",\n "demo-schema.json",\n "package.json",\n "README.md",\n "tsconfig.json"\n ],\n "main": "lib/index.js",\n "scripts": {\n "start": "jest --watch",\n "build": "npm run clean && concurrently \'npm run build:ts\' \'npm run lint\'",\n "build:ts": "tsc",\n "check:type": "tsc -p . --noEmit",\n "clean": "rm -rf build dist lib generated",\n "dev": "build-scripts start",\n "lint": "eslint --ext .tsx,.ts,.js,.jsx src",\n "lintfix": "eslint --fix --color --ext .tsx,.ts,.js,.jsx src",\n "lint-staged": "lint-staged",\n "prepublishOnly": "npm run build",\n "postpublish": "git push origin master --tags",\n "test": "jest",\n "test:watch": "jest --watch",\n "test:update-snapshots": "cross-env UPDATE_EXPECTED=true npx jest",\n "demo": "npm run build && npx @alilc/lowcode-code-generator --solution . --output generated demo-schema.json"\n },\n "repository": {\n "type": "git",\n "url": "git@github.com:your-name/ali-lowcode-solution-hello-world.git"\n },\n "author": "",\n "license": "ISC",\n "publishConfig": {\n "registry": "https://registry.npm.xxx.com"\n },\n "dependencies": {\n "@alilc/lowcode-code-generator": "^1.0.0-beta.16",\n "@alilc/lowcode-types": "^1.0.0-beta.21",\n "tslib": "^2.3.0"\n },\n "devDependencies": {\n "@types/async": "^3.2.3",\n "@types/jest": "^26.0.17",\n "@typescript-eslint/eslint-plugin": "^4.28.4",\n "@typescript-eslint/parser": "^4.28.4",\n "async": "^3.2.0",\n "babel-runtime": "^6.26.0",\n "concurrently": "^5.2.0",\n "cross-env": "^7.0.0",\n "debug": "^4.1.1",\n "eslint": "^7.31.0",\n "eslint-config-ali": "^12.1.0",\n "eslint-plugin-import": "^2.23.4",\n "eslint-plugin-react": "^7.24.0",\n "eslint-plugin-react-hooks": "^4.2.0",\n "glob": "^7.2.0",\n "husky": "4.2.5",\n "jest": "^26.6.3",\n "json5": "^2.2.0",\n "lint-staged": "10.1.x",\n "lodash": "^4.17.21",\n "md5": "^2.2.1",\n "prettier": "^2.3.2",\n "ts-jest": "^26.4.4",\n "ts-node": "^9.0.0",\n "typescript": "4.x"\n }\n}\n'},{file:"tsconfig.json",content:'{\n "compilerOptions": {\n "esModuleInterop": true,\n "declaration": true,\n "experimentalDecorators": true,\n "forceConsistentCasingInFileNames": true,\n "importHelpers": true,\n "incremental": false,\n "jsx": "react",\n "moduleResolution": "node",\n "resolveJsonModule": true,\n "skipLibCheck": true,\n "sourceMap": true,\n "strict": true,\n "stripInternal": true,\n "outDir": "./lib",\n "declarationDir": "./lib",\n "rootDirs": ["./src"],\n "target": "es6",\n "module": "commonjs",\n "lib": ["esnext"],\n "types": ["jest", "node"],\n "noUnusedLocals": false,\n "noUnusedParameters": false\n },\n "include": ["src/**/*", "typings/**/*"]\n}\n'},{file:"src/index.ts",content:"import CodeGen from '@alilc/lowcode-code-generator';\n\nimport examplePlugin from './plugins/example';\n\nexport default function createHelloWorldProjectBuilder() {\n return CodeGen.createProjectBuilder({\n template: CodeGen.solutionParts.icejs.template,\n plugins: {\n components: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n pages: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n router: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.solutionParts.icejs.plugins.router(),\n ],\n entry: [CodeGen.solutionParts.icejs.plugins.entry()],\n constants: [CodeGen.plugins.project.constants()],\n utils: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.plugins.project.utils('react'),\n ],\n i18n: [CodeGen.plugins.project.i18n()],\n globalStyle: [CodeGen.solutionParts.icejs.plugins.globalStyle()],\n htmlEntry: [CodeGen.solutionParts.icejs.plugins.entryHtml()],\n packageJSON: [CodeGen.solutionParts.icejs.plugins.packageJSON()],\n },\n postProcessors: [CodeGen.postprocessor.prettier()],\n });\n}\n"},{file:"src/plugins/example.ts",content:"import {\n ICodeStruct,\n BuilderComponentPlugin,\n BuilderComponentPluginFactory,\n FileType,\n ChunkType,\n IContainerInfo,\n COMMON_CHUNK_NAME,\n CLASS_DEFINE_CHUNK_NAME,\n DEFAULT_LINK_AFTER,\n} from '@alilc/lowcode-code-generator';\n\nexport interface PluginConfig {\n fileType: string;\n}\n\nconst pluginFactory: BuilderComponentPluginFactory<PluginConfig> = (\n config?\n) => {\n const cfg: PluginConfig = {\n fileType: FileType.JSX,\n ...config,\n };\n\n const plugin: BuilderComponentPlugin = async (pre: ICodeStruct) => {\n const next: ICodeStruct = {\n ...pre,\n };\n\n const ir = next.ir as IContainerInfo & {\n methodsModule?: {\n type?: 'JSModule';\n source?: string;\n };\n };\n\n if (ir.methodsModule?.type !== 'JSModule' || !ir.methodsModule?.source) {\n return next;\n }\n\n // 创建 methods.jsx\n next.chunks.push({\n type: ChunkType.STRING,\n subModule: 'methods',\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.CustomContent,\n content: ir.methodsModule.source,\n linkAfter: [],\n });\n\n // 引入对应的模块\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.InternalDepsImport,\n content: \"import __$$methodsModule from './methods';\",\n linkAfter: [...DEFAULT_LINK_AFTER[COMMON_CHUNK_NAME.InternalDepsImport]],\n });\n\n // 将导出的东东都放到 class 上实例方法部分\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: CLASS_DEFINE_CHUNK_NAME.ConstructorContent,\n content: 'Object.assign(this, __$$methodsModule);',\n linkAfter: [\n ...DEFAULT_LINK_AFTER[CLASS_DEFINE_CHUNK_NAME.ConstructorContent],\n ],\n });\n\n return next;\n };\n\n return plugin;\n};\n\nexport default pluginFactory;\n"},{file:"tests/basic.test.ts",content:"test('basic functions should be ok', () => {\n // 这里放一些单元测试\n expect(0).toBe(0);\n});\n"}],m.label=2;case 2:m.trys.push([2,8,9,10]),o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,s=t&&e[t],r=0;if(s)return s.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(a),c=o.next(),m.label=3;case 3:return c.done?[3,7]:(u=c.value,t.verbose&&console.log("%s",Ke.gray("creating file ".concat(u.file))),l=T.join(i,u.file),[4,Pd(T.dirname(l))]);case 4:return m.sent(),[4,V.writeFile(l,n(u.content),{encoding:"utf-8"})];case 5:m.sent(),m.label=6;case 6:return c=o.next(),[3,3];case 7:return[3,10];case 8:return p=m.sent(),d={error:p},[3,10];case 9:try{c&&!c.done&&(f=o.return)&&f.call(o)}finally{if(d)throw d.error}return[7];case 10:return t.quiet||console.log("%s",Ke.green("solution ".concat(r," created successfully"))),[2,0];case 11:return h=m.sent(),console.log(Ke.red(Ye(h)||"Unexpected error: ".concat(h))),"object"==typeof h&&(null==h?void 0:h.stack)&&t.verbose&&console.log(Ke.gray(h.stack)),[2,1];case 12:return[2]}}))}))},exports.releaseMaterial=function(e){return K(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,C,A;return Y(this,(function(w){switch(w.label){case 0:return(t=e.auth)&&Sa(t),s=process.cwd(),r="build/lowcode",i=D.default.resolve(process.cwd(),r),(n=P.existsSync(i))||(i=D.default.resolve(process.cwd(),"dist")),[4,function(e){return Promise.resolve().then((function(){return E(require(e))}))}(D.default.resolve(process.cwd(),"package.json"))];case 1:return a=w.sent(),o=a.name,c=a.version,n&&(console.log("lceViewJS: ",D.default.resolve(process.cwd(),r,"view.js")),p=P.readFileSync(D.default.resolve(process.cwd(),r,"view.js"),"utf-8"),u=Sd(p),h=P.readFileSync(D.default.resolve(process.cwd(),r,"meta.js"),"utf-8"),l=Sd(h)),console.log("Uploading material..."),[4,Qe(i+"/")];case 2:d=w.sent(),f=[],m=0,w.label=3;case 3:return m<d.length?(y=d[m],(g=P.readFileSync(y.path+"/"+y.fileName,"utf-8"))&&0!==g.trim().length?[3,4]:(console.log("File is empty Do not Upload: ",y.path+"/"+y.fileName),[3,6])):[3,7];case 4:return x="".concat(o,"/").concat(c,"/")+(y.path.split("".concat(s,"/").concat(r,"/"))[1]||"")+y.fileName,[4,Td(y,{t:1,route:"material",path:x})];case 5:v=w.sent(),f.push(v),w.label=6;case 6:return m++,[3,3];case 7:return console.log("Npm Name: ",o),console.log("Npm Version: ",c),n?(b=f.find((function(e){return e.key.includes("".concat(c,"/view.js"))})),C=f.find((function(e){return e.key.includes("".concat(c,"/view.css"))})),A=f.find((function(e){return e.key.includes("".concat(c,"/meta.js"))})),console.log("Npm Export Name: ",u),console.log("Npm Js Url: ",null==b?void 0:b.url),console.log("Npm Css Url: ",null==C?void 0:C.url),console.log("Meta Export Name: ",l),console.log("Meta Url: ",null==A?void 0:A.url)):f.length>0&&f.forEach((function(e){console.log("File Name: ",e.key),console.log("File Url: ",e.url)})),[2,1]}}))}))},exports.run=function(e,t){var s,r,i;return K(this,void 0,void 0,(function(){var e,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,C,w,T,k,N,F,O,L,B,j,M,R,U,q,$;return Y(this,(function(z){switch(z.label){case 0:e=D.default.join(A.default.homedir(),".cache","mengti_temp"),n=D.default.join(A.default.homedir(),".cache","mengti_translate"),t.clear&&et(n),a=D.default.join(process.cwd()+"/"+(t.output||""))+"$__cacheTime",z.label=1;case 1:return z.trys.push([1,11,,12]),o=Ia.getKey(a),console.log("[最后同步时间] ",o?new Date(Number(o)).toLocaleString():"无"),c=o&&!t.clear?Number(o):0,Sa(t.auth),[4,Ad({projectId:t.id,auth:t.auth,filter:t.filter,folder:t.folder,frame:t.frame,afterTime:c})];case 2:return u=z.sent(),l=u.schema,p=u.project,h=u.documents,d=u.componentDocs,f=u.packageJSON,m=p.documents||[],y=m.map((function(e){return e.fileName})),p&&0!==h.length?(g=t.frame||p.type,v=(x="web"===g)?"vite":"taro",b=t.output,E=function(e){return S.default.createProjectBuilder({template:Nh.template,plugins:{components:[qh(),Kh({fileType:"jsx"}),zh(e),Hh(e),Rh(),S.default.plugins.react.containerInitState(),S.default.plugins.react.containerLifeCycle(),Vh(),Ih(),ld({nodeTypeMapping:{Div:"View",Component:"React.Fragment",Page:"View",Block:"React.Fragment"}}),S.default.plugins.style.css()],pages:[qh(),Kh({fileType:"jsx"}),zh(e),Hh(e),Rh(),S.default.plugins.react.containerInitState(),S.default.plugins.react.containerLifeCycle(),Vh(),Ih(),ld({nodeTypeMapping:{Div:"div",Component:"React.Fragment",Page:"Page",Block:"React.Fragment"}}),S.default.plugins.style.css()],router:[S.default.plugins.common.esmodule(),Nh.plugins.router()],entry:[Nh.plugins.entry()],constants:[S.default.plugins.project.constants()],utils:[S.default.plugins.common.esmodule(),vd("react")],i18n:[S.default.plugins.project.i18n()],globalStyle:[Nh.plugins.globalStyle()],htmlEntry:[Nh.plugins.entryHtml()],packageJSON:[Nh.plugins.packageJSON()]},postProcessors:[xd()]})}({type:g,solution:v}),t.env&&(C=null===(r=null===(s=p.envInfo)||void 0===s?void 0:s.list)||void 0===r?void 0:r.find((function(e){return e.alias===t.env})),C&&(l.constants=X(X({},l.constants),wd(C.data)))),[4,E.generateProject(l)]):(console.log(Ke.yellow("提示:无文件更新,请确认是否保存!如需更新全部,请勾选清除缓存")),[2,0]);case 3:return(w=z.sent()).files=w.files.filter((function(e){return"css"===e.ext||"jsx"===e.ext})),T=S.default.publishers.disk(),et(e),[4,T.publish({project:w,outputPath:e,projectSlug:"example",createProjectFolder:!1})];case 4:return z.sent(),Cd.existsSync("./".concat(b,"/"))||Cd.mkdirSync("./".concat(b,"/"),{recursive:!0}),k=function(e){return e.path==="./".concat(b,"/")?"".concat(null==b?void 0:b.replace("src/",""),"/").concat(e.fileName.split(".")[0]):"".concat(null==b?void 0:b.replace("src/",""),"/").concat(e.name,"/index")},[4,Qe("./".concat(b,"/"))];case 5:return N=z.sent(),[4,Qe(e+"/")];case 6:F=z.sent(),O={components:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return y.includes(e)})),pages:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return y.includes(e)})),pageUrls:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).filter((function(e){return y.includes(e.name)})).map((function(e){return k(e)}))},L=function(t){var s,r,i,n,a,o,c,u,f,m,y,g,E,C,A,w,D,T;return Y(this,(function(S){switch(S.label){case 0:return(s=F[t]).path.includes("/BasicLayout/")?[3,10]:(r=s.name,"js"!==(i=s.ext)||"utils.js"!==s.fileName?[3,2]:[4,fo(s,l,p,v)]);case 1:S.sent(),S.label=2;case 2:return"css"!==i&&"scss"!==i||(n=s.path+"/"+s.fileName,"taro"===v?(Cd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("css","scss")),n=s.path+"/"+s.fileName.replace("css","scss")):"scss"===i&&(Cd.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("scss","css")),n=s.path+"/"+s.fileName.replace("scss","css")),(a=Cd.readFileSync(n,"utf8"))&&a.includes("calc")&&Cd.writeFileSync(n,a.replace(/ /g," "),"utf8")),"jsx"!==i&&"tsx"!==i?[3,10]:(o=h.concat(d).find((function(e){return e.fileName.toLowerCase()===r.toLowerCase()})),"Page"===(null==o?void 0:o.type)&&(O.pages.includes(r)||(O.pages.push(r),O.pageUrls.push(k(s)))),"Component"===(null==o?void 0:o.type)&&(O.components.includes(r)||O.components.push(r)),console.log("TRANSFORM_TSX ===> ",s.name),[4,hr(s,v,b)]);case 3:for(c=S.sent(),u=c.code,f=c.images,m=c.svgs,Cd.writeFileSync(s.path+"/"+s.fileName,u),Cd.renameSync(s.path+"/"+s.fileName,s.path+"/"+(x?s.fileName:s.fileName.replace("jsx","tsx"))),x||"Page"!==(null==o?void 0:o.type)||((y=["export default definePageConfig({"]).push(" navigationBarTitleText: '".concat(o.title,"',")),y.push(" navigationStyle: '".concat("custom","',")),y.push(" disableScroll: true,"),y.push("})"),Cd.writeFileSync(s.path+"/index.config.ts",y.join("\n"))),g=[],E=[],A=0;A<m.length;A++)if((C=m[A]).svgStr&&C.fileName)try{Cd.existsSync(s.path+"/icons")||Cd.mkdirSync(s.path+"/icons"),Cd.writeFileSync(s.path+"/icons/"+C.fileName+".svg",C.svgStr),g.push("import ".concat(C.fileName," from './").concat(C.fileName,".svg").concat("vite"===v?"?raw":"","';")),E.push(" ".concat(C.fileName,","))}catch(e){console.log("[saveSvg Error] ",e)}g.length>0&&Cd.writeFileSync(s.path+"/icons/index.ts",g.concat(["const ICONS = {"]).concat(E).concat(["}"]).concat("export default ICONS;").join("\n")),A=0,S.label=4;case 4:if(!(A<f.length))return[3,9];if(!(w=f[A]).url||!w.fileName)return[3,8];S.label=5;case 5:return S.trys.push([5,7,,8]),Cd.existsSync(s.path+"/images")||Cd.mkdirSync(s.path+"/images"),[4,zn(w.url,s.path+"/images/"+w.fileName)];case 6:return S.sent(),[3,8];case 7:return D=S.sent(),console.log("[downloadFile Error] ",D),[3,8];case 8:return A++,[3,4];case 9:T="./".concat(b,"/").concat(s.name),"Component"===(null==o?void 0:o.type)&&(T="./".concat(b,"/components/").concat(s.name)),Cd.existsSync(T)&&et(T),"Page"===(null==o?void 0:o.type)&&Cd.copySync("".concat(e,"/src/pages/").concat(s.name),T),"Component"===(null==o?void 0:o.type)&&Cd.copySync("".concat(e,"/src/components/").concat(s.name),T),S.label=10;case 10:return[2]}}))},B=0,z.label=7;case 7:return B<F.length?[5,L(B)]:[3,10];case 8:z.sent(),z.label=9;case 9:return B++,[3,7];case 10:return Ia.setKey(a,String(Date.now())),(j=null===(i=p.appConfig)||void 0===i?void 0:i.indexPage)&&(O.pages=O.pages.sort((function(e,t){return e===j?-1:t===j?1:0})),M=O.pageUrls.find((function(e){return e.includes("/".concat(j,"/"))})),O.pageUrls=O.pageUrls.sort((function(e,t){return e===M?-1:t===M?1:0}))),Cd.writeFileSync("./".concat(b,"/map.json"),JSON.stringify(O)),"vite"===v?(R=Cd.readFileSync("".concat(e,"/src/global.css"),"utf-8"),U=R.split("\n").slice(6).join("\n"),Cd.writeFileSync("./src/App.css",U)):console.log("Taro 端全局样式需要适配..."),Cd.copyFileSync("".concat(e,"/src/utils.js"),"./src/utils/utils.js"),Cd.copyFileSync("".concat(e,"/src/constants.js"),"./src/utils/constants.js"),q=function(e,t,s){var r,i='import { registerPartalComponent } from "'.concat("vite"===s?"@appthen/react/lib/utils/index.js":"cross-ui/utils",'";\n'),n="const partalComponentMaps = {\n",a=null===(r=e.documents)||void 0===r?void 0:r.filter((function(e){return e.portal}));return a.forEach((function(e){i="".concat(i,"import ").concat(e.fileName," from '../").concat(null==t?void 0:t.replace("src/",""),"/components/").concat(e.fileName,"';\n"),n="".concat(n," ").concat(e.fileName,",\n")})),n="".concat(n,"};"),i?"".concat(i,"\n").concat(n,"\nregisterPartalComponent(partalComponentMaps);"):""}(p,b,v),Cd.writeFileSync("./src/utils/portal.js",q),x?(function(e,t,s){var r=P.readFileSync("./src/App.jsx","utf8"),i=st("".concat(r),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});i.program.body=i.program.body.filter((function(e){var t,s,r,i;return!("VariableDeclaration"===e.type&&"lazy"===(null===(i=null===(r=null===(s=null===(t=e.declarations)||void 0===t?void 0:t[0])||void 0===s?void 0:s.init)||void 0===r?void 0:r.callee)||void 0===i?void 0:i.name))}));var n=bd(e);if(n){var a=n.fileLazyImports,o=n.routeElements;_.default(i,{Program:function(e){var t=e.node.body,s=t.findIndex((function(e){return"ExportDefaultDeclaration"===e.type}));t.splice.apply(t,Q([s,0],Z(a),!1))},JSXElement:function(e){var t,s,r=e.node;"Routes"===(null===(s=null===(t=r.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)&&(r.children=o)}});var c=or(i).code;P.writeFileSync("./src/App.jsx",c,"utf8")}}(p),function(e){var t=P.readFileSync("./package.json","utf8"),s=JSON.parse(t);s.dependencies=e.dependencies,P.writeFileSync("./package.json",JSON.stringify(s),"utf8")}(f)):function(e,t,s){if("web"!==e){var r=t.appConfig||{};r.pages||(r.pages=s.pageUrls),r.window||(r.window={backgroundTextStyle:"light",navigationBarBackgroundColor:"#fff",navigationBarTitleText:t.title,navigationBarTextStyle:"black"});var i="./src/app.config.ts",n=P.readFileSync(i,"utf-8"),a=st("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}),o=new Set;_.default(a,{ObjectExpression:function(e){var t,s;"defineAppConfig"!==(null===(t=e.parent.callee)||void 0===t?void 0:t.name)||o.has("defineAppConfig")||((null===(s=e.node.properties)||void 0===s?void 0:s.length)>0&&Object.keys(r).filter((function(e){return!["indexPage"].includes(e)})).forEach((function(t){var s,i,n,a,o,c=e.node.properties.findIndex((function(e){return e.key.name===t})),u=mo(r[t]);if(c>=0){var l=e.node.properties[c];if("pages"===(null===(s=null==l?void 0:l.key)||void 0===s?void 0:s.name)&&"ArrayExpression"!==(null===(i=l.value)||void 0===i?void 0:i.type)){var p=I.program([I.variableDeclaration("const",[I.variableDeclarator(I.identifier("name"),I.objectExpression([l]))])]);_.default(p,{ArrayExpression:function(e){e.replaceWith(u)}}),I.isVariableDeclaration(p.body[0])&&(e.node.properties[c].value=null===(o=null===(a=null===(n=p.body[0].declarations[0].init)||void 0===n?void 0:n.properties)||void 0===a?void 0:a[0])||void 0===o?void 0:o.value)}else e.node.properties[c].value=u}else e.node.properties.push(I.objectProperty(I.identifier(t),u))})),o.add("defineAppConfig"))}});var c=or(a,{jsescOption:{minimal:!0}}).code;P.writeFileSync(i,c)}}(t.frame||p.type,p,O),Ia.save(),[2,0];case 11:return $=z.sent(),console.log(Ke.red(Ye($)||"Unexpected error: ".concat($))),Ia.removeKey(a),Ia.save(),"object"==typeof $&&(null==$?void 0:$.stack)&&t.verbose&&console.log(Ke.gray($.stack)),[2,1];case 12:return[2]}}))}))};
|
|
75
|
+
`,cliCategory:a},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:n,CATEGORY_OTHER:a,CATEGORY_OUTPUT:o,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:u,options:l}}}),z=d({"src/main/support.js"(e,t){x();var i={compare:B(),lt:j(),gte:M()},n=R(),a=U().version,o=$().options;function c(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:c=!1,showInternal:l=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},p=a.split("-",1)[0],h=e.flatMap((e=>e.languages||[])).filter(f),d=n(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),o),"name").filter((e=>f(e)&&m(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(y).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort(((e,t)=>i.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>f(e)&&m(e))),"parser"===t.name&&u(t,h,e));let s=Object.fromEntries(e.filter((e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name])).map((e=>[e.name,e.defaultOptions[t.name]])));return Object.assign(Object.assign({},t),{},{pluginDefaults:s})}));return{languages:h,options:d};function f(e){return t||!("since"in e)||e.since&&i.gte(p,e.since)}function m(e){return c||!("deprecated"in e)||e.deprecated&&i.lt(p,e.deprecated)}function y(e){return l?e:r(e,s)}}function u(e,t,s){let r=new Set(e.choices.map((e=>e.value)));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let n=s.find((e=>e.parsers&&e.parsers[t])),a=i.name;n&&n.name&&(a+=` (plugin: ${n.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:c}}}),H=d({"src/utils/is-non-empty-array.js"(e,t){function s(e){return Array.isArray(e)&&e.length>0}x(),t.exports=s}});function V(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var G=h({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){x()}});function W(e){if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(V(),"")}var J=h({"node_modules/strip-ansi/index.js"(){x(),G()}});function X(e){return!!Number.isInteger(e)&&e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)}var K=h({"node_modules/is-fullwidth-code-point/index.js"(){x()}}),Y=d({"node_modules/emoji-regex/index.js"(e,t){x(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Z={};function Q(e){if("string"!=typeof e||0===e.length||0===(e=W(e)).length)return 0;e=e.replace((0,ee.default)()," ");let t=0;for(let s=0;s<e.length;s++){let r=e.codePointAt(s);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&s++,t+=X(r)?2:1)}return t}f(Z,{default:()=>Q});var ee,te=h({"node_modules/string-width/index.js"(){x(),J(),K(),ee=y(Y())}}),se=d({"src/utils/get-string-width.js"(e,t){x();var s=(te(),g(Z)).default,r=/[^\x20-\x7F]/;function i(e){return e?r.test(e)?s(e):e.length:0}t.exports=i}}),re=d({"src/utils/text/skip.js"(e,t){function s(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}x();var r=s(/\s/),i=s(" \t"),n=s(",; \t"),a=s(/[^\n\r]/);t.exports={skipWhitespace:r,skipSpaces:i,skipToLineEnd:n,skipEverythingButNewLine:a}}}),ie=d({"src/utils/text/skip-inline-comment.js"(e,t){function s(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let s=t+2;s<e.length;++s)if("*"===e.charAt(s)&&"/"===e.charAt(s+1))return s+2;return t}x(),t.exports=s}}),ne=d({"src/utils/text/skip-trailing-comment.js"(e,t){x();var{skipEverythingButNewLine:s}=re();function r(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?s(e,t):t)}t.exports=r}}),ae=d({"src/utils/text/skip-newline.js"(e,t){function s(e,t,s){let r=s&&s.backwards;if(!1===t)return!1;let i=e.charAt(t);if(r){if("\r"===e.charAt(t-1)&&"\n"===i)return t-2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t-1}else{if("\r"===i&&"\n"===e.charAt(t+1))return t+2;if("\n"===i||"\r"===i||"\u2028"===i||"\u2029"===i)return t+1}return t}x(),t.exports=s}}),oe=d({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,t){x();var s=ie(),r=ae(),i=ne(),{skipSpaces:n}=re();function a(e,t){let a=null,o=t;for(;o!==a;)a=o,o=n(e,o),o=s(e,o),o=i(e,o),o=r(e,o);return o}t.exports=a}}),ce=d({"src/common/util.js"(e,t){x();var{default:s}=(k(),g(S)),r=D(),{getSupportInfo:i}=z(),n=H(),a=se(),{skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l}=re(),p=ie(),h=ne(),d=ae(),f=oe(),m=e=>e[e.length-2];function y(e){return(t,s,r)=>{let i=r&&r.backwards;if(!1===s)return!1;let{length:n}=t,a=s;for(;a>=0&&a<n;){let s=t.charAt(a);if(e instanceof RegExp){if(!e.test(s))return a}else if(!e.includes(s))return a;i?a--:a++}return(-1===a||a===n)&&a}}function v(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=c(e,s.backwards?t-1:t,s);return r!==d(e,r,s)}function b(e,t,s){for(let r=t;r<s;++r)if("\n"===e.charAt(r))return!0;return!1}function E(e,t,s){let r=s(t)-1;return r=c(e,r,{backwards:!0}),r=d(e,r,{backwards:!0}),r=c(e,r,{backwards:!0}),r!==d(e,r,{backwards:!0})}function C(e,t){let s=null,r=t;for(;r!==s;)s=r,r=u(e,r),r=p(e,r),r=c(e,r);return r=h(e,r),r=d(e,r),!1!==r&&v(e,r)}function A(e,t,s){return C(e,s(t))}function w(e,t,s){return f(e,s(t))}function T(e,t,s){return e.charAt(w(e,t,s))}function P(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return c(e,s.backwards?t-1:t,s)!==t}function N(e,t){let s=0;for(let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r<e.length;++r)"\t"===e[r]?s=s+t-s%t:s++;return s}function I(e,t){let s=e.lastIndexOf("\n");return-1===s?0:N(e.slice(s+1).match(/^[\t ]*/)[0],t)}function _(e,t){let s={quote:'"',regex:/"/g,escaped:"""},r={quote:"'",regex:/'/g,escaped:"'"},i="'"===t?r:s,n=i===r?s:r,a=i;return(e.includes(i.quote)||e.includes(n.quote))&&(a=(e.match(i.regex)||[]).length>(e.match(n.regex)||[]).length?n:i),a}function F(e,t){let s=e.slice(1,-1);return O(s,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":_(s,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))}function O(e,t,s){let r='"'===t?"'":'"',i=/\\(.)|(["'])/gs,n=e.replace(i,((e,i,n)=>i===r?i:n===t?"\\"+n:n||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+n+t}function L(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function B(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));return null===r?0:r.reduce(((e,s)=>Math.max(e,s.length/t.length)),0)}function j(e,t){let r=e.match(new RegExp(`(${s(t)})+`,"g"));if(null===r)return 0;let i=new Map,n=0;for(let e of r){let s=e.length/t.length;i.set(s,!0),s>n&&(n=s)}for(let e=1;e<n;e++)if(!i.get(e))return e;return n+1}function M(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=W(e)}function R(e,t){t.leading=!0,t.trailing=!1,M(e,t)}function U(e,t,s){t.leading=!1,t.trailing=!1,s&&(t.marker=s),M(e,t)}function q(e,t){t.leading=!1,t.trailing=!0,M(e,t)}function $(e,t){let{languages:s}=i({plugins:t.plugins}),r=s.find((t=>{let{name:s}=t;return s.toLowerCase()===e}))||s.find((t=>{let{aliases:s}=t;return Array.isArray(s)&&s.includes(e)}))||s.find((t=>{let{extensions:s}=t;return Array.isArray(s)&&s.includes(`.${e}`)}));return r&&r.parsers[0]}function V(e){return e&&"front-matter"===e.type}function G(e){let t=new WeakMap;return function(s){return t.has(s)||t.set(s,Symbol(e)),t.get(s)}}function W(e){let t=e.type||e.kind||"(unknown type)",s=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return s.length>20&&(s=s.slice(0,19)+"…"),t+(s?" "+s:"")}t.exports={inferParserByLanguage:$,getStringWidth:a,getMaxContinuousCount:B,getMinNotPresentContinuousCount:j,getPenultimate:m,getLast:r,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:w,getNextNonSpaceNonCommentCharacter:T,skip:y,skipWhitespace:o,skipSpaces:c,skipToLineEnd:u,skipEverythingButNewLine:l,skipInlineComment:p,skipTrailingComment:h,skipNewline:d,isNextLineEmptyAfterIndex:C,isNextLineEmpty:A,isPreviousLineEmpty:E,hasNewline:v,hasNewlineInRange:b,hasSpaces:P,getAlignmentSize:N,getIndentSize:I,getPreferredQuote:_,printString:F,printNumber:L,makeString:O,addLeadingComment:R,addDanglingComment:U,addTrailingComment:q,isFrontMatterNode:V,isNonEmptyArray:n,createGroupIdMapper:G}}}),ue=d({"vendors/html-tag-names.json"(e,t){t.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),le=d({"src/language-html/utils/array-to-map.js"(e,t){function s(e){let t=Object.create(null);for(let s of e)t[s]=!0;return t}x(),t.exports=s}}),pe=d({"src/language-html/utils/html-tag-names.js"(e,t){x();var{htmlTagNames:s}=ue(),r=le()(s);t.exports=r}}),he=d({"vendors/html-element-attributes.json"(e,t){t.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),de=d({"src/language-html/utils/map-object.js"(e,t){function s(e,t){let s=Object.create(null);for(let[r,i]of Object.entries(e))s[r]=t(i,r);return s}x(),t.exports=s}}),fe=d({"src/language-html/utils/html-elements-attributes.js"(e,t){x();var{htmlElementAttributes:s}=he(),r=de()(s,le());t.exports=r}}),ye=d({"src/language-html/utils/is-unknown-namespace.js"(e,t){function s(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}x(),t.exports=s}}),ge=d({"src/language-html/pragma.js"(e,t){function s(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}function r(e){return"\x3c!-- @format --\x3e\n\n"+e.replace(/^\s*\n/,"")}x(),t.exports={hasPragma:s,insertPragma:r}}}),xe=d({"src/language-html/ast.js"(e,t){x();var s={attrs:!0,children:!0},r=new Set(["parent"]),i=class{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(let t of new Set([...r,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in s&&(t=t.map((e=>this.createChild(e)))),!r.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in s){let s=this[r];if(s){let a=n(s,(t=>t.map(e)));t!==s&&(t||(t=new i({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let e in this)e in s||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in s){let s=this[t];if(s)for(let t=0;t<s.length;t++)s[t].walk(e)}e(this)}createChild(e){let t=e instanceof i?e.clone():new i(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new i(this)}get firstChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[0]}get lastChild(){var e;return null===(e=this.children)||void 0===e?void 0:e[this.children.length-1]}get prev(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)-1]}get next(){var e;return null===(e=this.parent)||void 0===e?void 0:e.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map((e=>[e.fullName,e.value])))}};function n(e,t){let s=e.map(t);return s.some(((t,s)=>t!==e[s]))?s:e}t.exports={Node:i}}}),ve=d({"src/language-html/conditional-comment.js"(e,t){x();var{ParseSourceSpan:s}=A(),r=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:n},{regex:/^\[if([^\]]*)]><!$/,parse:a},{regex:/^<!\s*\[endif]$/,parse:o}];function i(e,t){if(e.value)for(let{regex:s,parse:i}of r){let r=e.value.match(s);if(r)return i(e,t,r)}return null}function n(e,t,r){let[,i,n,a]=r,o=4+i.length,c=e.sourceSpan.start.moveBy(o),u=c.moveBy(a.length),[l,p]=(()=>{try{return[!0,t(a,c).children]}catch{return[!1,[{type:"text",value:a,sourceSpan:new s(c,u)}]]}})();return{type:"ieConditionalComment",complete:l,children:p,condition:n.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new s(e.sourceSpan.start,c),endSourceSpan:new s(u,e.sourceSpan.end)}}function a(e,t,s){let[,r]=s;return{type:"ieConditionalStartComment",condition:r.trim().replace(/\s+/g," "),sourceSpan:e.sourceSpan}}function o(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}t.exports={parseIeConditionalComment:i}}}),be=d({"src/language-html/loc.js"(e,t){function s(e){return e.sourceSpan.start.offset}function r(e){return e.sourceSpan.end.offset}x(),t.exports={locStart:s,locEnd:r}}}),Ee=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){var t;function s(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1==t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function r(e){return"ng-container"===s(e)[1]}function i(e){return"ng-content"===s(e)[1]}function n(e){return"ng-template"===s(e)[1]}function a(e){return null===e?null:s(e)[0]}function o(e,t){return e?`:${e}:${t}`:t}x(),Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=s,e.isNgContainer=r,e.isNgContent=i,e.isNgTemplate=n,e.getNsPrefix=a,e.mergeNsAndName=o,e.NAMED_ENTITIES={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},e.NGSP_UNICODE="",e.NAMED_ENTITIES.ngsp=e.NGSP_UNICODE}}),Ce=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s,r=Ee(),i=class{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:s=r.TagContentType.PARSABLE_DATA,closedByParent:i=!1,isVoid:n=!1,ignoreFirstLf:a=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=n,this.closedByParent=i||n,this.implicitNamespacePrefix=t||null,this.contentType=s,this.ignoreFirstLf=a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}};function n(e){return s||(t=new i,s={base:new i({isVoid:!0}),meta:new i({isVoid:!0}),area:new i({isVoid:!0}),embed:new i({isVoid:!0}),link:new i({isVoid:!0}),img:new i({isVoid:!0}),input:new i({isVoid:!0}),param:new i({isVoid:!0}),hr:new i({isVoid:!0}),br:new i({isVoid:!0}),source:new i({isVoid:!0}),track:new i({isVoid:!0}),wbr:new i({isVoid:!0}),p:new i({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new i({closedByChildren:["tbody","tfoot"]}),tbody:new i({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new i({closedByChildren:["tbody"],closedByParent:!0}),tr:new i({closedByChildren:["tr"],closedByParent:!0}),td:new i({closedByChildren:["td","th"],closedByParent:!0}),th:new i({closedByChildren:["td","th"],closedByParent:!0}),col:new i({isVoid:!0}),svg:new i({implicitNamespacePrefix:"svg"}),math:new i({implicitNamespacePrefix:"math"}),li:new i({closedByChildren:["li"],closedByParent:!0}),dt:new i({closedByChildren:["dt","dd"]}),dd:new i({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new i({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new i({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new i({closedByChildren:["optgroup"],closedByParent:!0}),option:new i({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new i({ignoreFirstLf:!0}),listing:new i({ignoreFirstLf:!0}),style:new i({contentType:r.TagContentType.RAW_TEXT}),script:new i({contentType:r.TagContentType.RAW_TEXT}),title:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new i({contentType:r.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),s[e]||t}e.HtmlTagDefinition=i,e.getHtmlTagDefinition=n}}),Ae=d({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let s=this.path[t];if(s instanceof e)return s}}push(e){this.path.push(e)}pop(){return this.path.pop()}};e.AstPath=t}}),we=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ae(),s=class{constructor(e,t,s){this.value=e,this.sourceSpan=t,this.i18n=s,this.type="text"}visit(e,t){return e.visitText(this,t)}};e.Text=s;var r=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};e.CDATA=r;var i=class{constructor(e,t,s,r,i,n){this.switchValue=e,this.type=t,this.cases=s,this.sourceSpan=r,this.switchValueSourceSpan=i,this.i18n=n}visit(e,t){return e.visitExpansion(this,t)}};e.Expansion=i;var n=class{constructor(e,t,s,r,i){this.value=e,this.expression=t,this.sourceSpan=s,this.valueSourceSpan=r,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};e.ExpansionCase=n;var a=class{constructor(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=s,this.valueSpan=r,this.nameSpan=i,this.i18n=n,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};e.Attribute=a;var o=class{constructor(e,t,s,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,o=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=s,this.sourceSpan=r,this.startSourceSpan=i,this.endSourceSpan=n,this.nameSpan=a,this.i18n=o,this.type="element"}visit(e,t){return e.visitElement(this,t)}};e.Element=o;var c=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};e.Comment=c;var u=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}};function l(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=[],i=e.visit?t=>e.visit(t,s)||t.visit(e,s):t=>t.visit(e,s);return t.forEach((e=>{let t=i(e);t&&r.push(t)})),r}e.DocType=u,e.visitAll=l;var p=class{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let s=[],r=this;function i(t){t&&s.push(l(r,t,e))}return t(i),Array.prototype.concat.apply([],s)}};function h(e){let t=e.sourceSpan.start.offset,s=e.sourceSpan.end.offset;return e instanceof o&&(e.endSourceSpan?s=e.endSourceSpan.end.offset:e.children&&e.children.length&&(s=h(e.children[e.children.length-1]).end)),{start:t,end:s}}function d(e,s){let r=[];return l(new class extends p{visit(e,t){let i=h(e);if(!(i.start<=s&&s<i.end))return!0;r.push(e)}},e),new t.AstPath(r,s)}e.RecursiveVisitor=p,e.findNode=d}}),De=d({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(e){function t(e,t){if(null!=t){if(!Array.isArray(t))throw new Error(`Expected '${e}' to be an array of strings.`);for(let s=0;s<t.length;s+=1)if("string"!=typeof t[s])throw new Error(`Expected '${e}' to be an array of strings.`)}}x(),Object.defineProperty(e,"__esModule",{value:!0}),e.assertArrayOfStrings=t;var s=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function r(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let e=t[0],r=t[1];s.forEach((t=>{if(t.test(e)||t.test(r))throw new Error(`['${e}', '${r}'] contains unusable interpolation symbol.`)}))}}e.assertInterpolationSymbols=r}}),Se=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=De(),s=class{constructor(e,t){this.start=e,this.end=t}static fromArray(r){return r?(t.assertInterpolationSymbols("interpolation",r),new s(r[0],r[1])):e.DEFAULT_INTERPOLATION_CONFIG}};e.InterpolationConfig=s,e.DEFAULT_INTERPOLATION_CONFIG=new s("{{","}}")}}),Pe=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t,s=v(),r=A(),i=Se(),n=Ee();!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(t=e.TokenType||(e.TokenType={}));var a=class{constructor(e,t,s){this.type=e,this.parts=t,this.sourceSpan=s}};e.Token=a;var o=class extends r.ParseError{constructor(e,t,s){super(s,e),this.tokenType=t}};e.TokenError=o;var c=class{constructor(e,t){this.tokens=e,this.errors=t}};function u(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new r.ParseSourceFile(e,t),s,i).tokenize()}e.TokenizeResult=c,e.tokenize=u;var l=/\r\n?/g;function p(e){return`Unexpected character "${e===s.$EOF?"EOF":String.fromCharCode(e)}"`}function h(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var d=class{constructor(e){this.error=e}},f=class{constructor(e,t,s){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=s.tokenizeExpansionForms||!1,this._interpolationConfig=s.interpolationConfig||i.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=s.leadingTriviaChars&&s.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=s.canSelfClose||!1,this._allowHtmComponentClosingTags=s.allowHtmComponentClosingTags||!1;let r=s.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=s.escapedString?new P(e,r):new S(e,r);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(l,"\n")}tokenize(){for(;this._cursor.peek()!==s.$EOF;){let e=this._cursor.clone();try{if(this._attemptCharCode(s.$LT))if(this._attemptCharCode(s.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(s.$SLASH))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(s.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(t.EOF),this._endToken([]),new c(T(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(C(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===s.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new o("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new o("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let s=new a(this._currentTokenType,e,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(s),this._currentTokenStart=null,this._currentTokenType=null,s}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let s=new o(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new d(s)}handleError(e){if(e instanceof k&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof d))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!w(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let s=this._cursor.clone();for(let r=0;r<t;r++)if(!this._attemptCharCode(e.charCodeAt(r)))return this._cursor=s,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let s=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.clone().diff(s)<t)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(s))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(e){if(e&&this._cursor.peek()===s.$AMPERSAND)return this._decodeEntity();{let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}}_decodeEntity(){let e=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(s.$HASH)){let t=this._cursor.clone();if(this._attemptCharCodeUntilFn(E),this._cursor.peek()!=s.$SEMICOLON)return this._cursor=t,"&";let r=this._cursor.getChars(t);this._cursor.advance();let i=n.NAMED_ENTITIES[r];if(!i)throw this._createError(h(r),this._cursor.getSpan(e));return i}{let t=this._attemptCharCode(s.$x)||this._attemptCharCode(s.$X),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(b),this._cursor.peek()!=s.$SEMICOLON)throw this._createError(p(this._cursor.peek()),this._cursor.getSpan());let i=this._cursor.getChars(r);this._cursor.advance();try{let e=parseInt(i,t?16:10);return String.fromCharCode(e)}catch{throw this._createError(h(this._cursor.getChars(e)),this._cursor.getSpan())}}}_consumeRawText(e,s){this._beginToken(e?t.ESCAPABLE_RAW_TEXT:t.RAW_TEXT);let r=[];for(;;){let t=this._cursor.clone(),i=s();if(this._cursor=t,i)break;r.push(this._readChar(e))}return this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(t.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(t.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===s.$GT)),this._beginToken(t.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(t.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(t.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(t.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,(()=>this._cursor.peek()===s.$GT)),this._beginToken(t.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;this._cursor.peek()!==s.$COLON&&!g(this._cursor.peek());)this._cursor.advance();return this._cursor.peek()===s.$COLON?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(y,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let r,i,a,o=this.tokens.length,c=this._cursor.clone(),u=[];try{if(!s.isAsciiLetter(this._cursor.peek()))throw this._createError(p(this._cursor.peek()),this._cursor.getSpan(e));for(a=this._consumeTagOpenStart(e),i=a.parts[0],r=a.parts[1],this._attemptCharCodeUntilFn(m);this._cursor.peek()!==s.$SLASH&&this._cursor.peek()!==s.$GT;){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$EQ)){this._attemptCharCodeUntilFn(m);let s=this._consumeAttributeValue();u.push({prefix:e,name:t,value:s})}else u.push({prefix:e,name:t});this._attemptCharCodeUntilFn(m)}this._consumeTagOpenEnd()}catch(s){if(s instanceof d)return this._cursor=c,a&&(this.tokens.length=o),this._beginToken(t.TEXT,e),void this._endToken(["<"]);throw s}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===t.TAG_OPEN_END_VOID)return;let l=this._getTagContentType(r,i,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(i,r),l===n.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(i,r,!1):l===n.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(i,r,!0)}_consumeRawTextWithTagClose(e,r,i){this._consumeRawText(i,(()=>!!(this._attemptCharCode(s.$LT)&&this._attemptCharCode(s.$SLASH)&&(this._attemptCharCodeUntilFn(m),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(m),this._attemptCharCode(s.$GT)))),this._beginToken(t.TAG_CLOSE),this._requireCharCodeUntilFn((e=>e===s.$GT),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(t.TAG_OPEN_START,e);let s=this._consumePrefixAndName();return this._endToken(s)}_consumeAttributeName(){let e=this._cursor.peek();if(e===s.$SQ||e===s.$DQ)throw this._createError(p(e),this._cursor.getSpan());this._beginToken(t.ATTR_NAME);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===s.$SQ||this._cursor.peek()===s.$DQ){this._beginToken(t.ATTR_QUOTE);let s=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(s)]),this._beginToken(t.ATTR_VALUE);let r=[];for(;this._cursor.peek()!==s;)r.push(this._readChar(!0));e=this._processCarriageReturns(r.join("")),this._endToken([e]),this._beginToken(t.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(s)])}else{this._beginToken(t.ATTR_VALUE);let s=this._cursor.clone();this._requireCharCodeUntilFn(y,1),e=this._processCarriageReturns(this._cursor.getChars(s)),this._endToken([e])}return e}_consumeTagOpenEnd(){let e=this._attemptCharCode(s.$SLASH)?t.TAG_OPEN_END_VOID:t.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(s.$GT),this._endToken([])}_consumeTagClose(e){if(this._beginToken(t.TAG_CLOSE,e),this._attemptCharCodeUntilFn(m),this._allowHtmComponentClosingTags&&this._attemptCharCode(s.$SLASH))this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(m),this._requireCharCode(s.$GT),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(t.EXPANSION_FORM_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._expansionCaseStack.push(t.EXPANSION_FORM_START),this._beginToken(t.RAW_TEXT);let e=this._readUntil(s.$COMMA);this._endToken([e]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m),this._beginToken(t.RAW_TEXT);let r=this._readUntil(s.$COMMA);this._endToken([r]),this._requireCharCode(s.$COMMA),this._attemptCharCodeUntilFn(m)}_consumeExpansionCaseStart(){this._beginToken(t.EXPANSION_CASE_VALUE);let e=this._readUntil(s.$LBRACE).trim();this._endToken([e]),this._attemptCharCodeUntilFn(m),this._beginToken(t.EXPANSION_CASE_EXP_START),this._requireCharCode(s.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.push(t.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(t.EXPANSION_CASE_EXP_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(m),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(t.EXPANSION_FORM_END),this._requireCharCode(s.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let e=this._cursor.clone();this._beginToken(t.TEXT,e);let s=[];do{this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(s.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(s.push(this._interpolationConfig.end),this._inInterpolation=!1):s.push(this._readChar(!0))}while(!this._isTextEnd());this._endToken([this._processCarriageReturns(s.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===s.$LT||this._cursor.peek()===s.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===s.$RBRACE&&this._isInExpansionCase()))}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===t.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==s.$LBRACE)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let s=n.mergeNsAndName(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===s)&&this._fullNameStack.push(s)}_handleFullNameStackForTagClose(e,t){let s=n.mergeNsAndName(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===s&&this._fullNameStack.pop()}};function m(e){return!s.isWhitespace(e)||e===s.$EOF}function y(e){return s.isWhitespace(e)||e===s.$GT||e===s.$SLASH||e===s.$SQ||e===s.$DQ||e===s.$EQ}function g(e){return(e<s.$a||s.$z<e)&&(e<s.$A||s.$Z<e)&&(e<s.$0||e>s.$9)}function b(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiHexDigit(e)}function E(e){return e==s.$SEMICOLON||e==s.$EOF||!s.isAsciiLetter(e)}function C(e){return e===s.$EQ||s.isAsciiLetter(e)||s.isDigit(e)}function w(e,t){return D(e)==D(t)}function D(e){return e>=s.$a&&e<=s.$z?e-s.$a+s.$A:e}function T(e){let s,r=[];for(let i=0;i<e.length;i++){let n=e[i];s&&s.type==t.TEXT&&n.type==t.TEXT?(s.parts[0]+=n.parts[0],s.sourceSpan.end=n.sourceSpan.end):(s=n,r.push(s))}return r}var S=class{constructor(e,t){if(e instanceof S)this.file=e.file,this.input=e.input,this.end=e.end,this.state=Object.assign({},e.state);else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new S(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){if(e=e||this,t)for(e=e.clone();this.diff(e)>0&&-1!==t.indexOf(e.peek());)e.advance();return new r.ParseSourceSpan(new r.ParseLocation(e.file,e.state.offset,e.state.line,e.state.column),new r.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new k('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===s.$LF?(e.line++,e.column=0):s.isNewLine(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?s.$EOF:this.charAt(e.offset)}},P=class extends S{constructor(e,t){e instanceof P?(super(e),this.internalState=Object.assign({},e.internalState)):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new P(this)}getChars(e){let t=e.clone(),s="";for(;t.internalState.offset<this.internalState.offset;)s+=String.fromCodePoint(t.peek()),t.advance();return s}processEscapeSequence(){let e=()=>this.internalState.peek;if(e()===s.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),e()===s.$n)this.state.peek=s.$LF;else if(e()===s.$r)this.state.peek=s.$CR;else if(e()===s.$v)this.state.peek=s.$VTAB;else if(e()===s.$t)this.state.peek=s.$TAB;else if(e()===s.$b)this.state.peek=s.$BSPACE;else if(e()===s.$f)this.state.peek=s.$FF;else if(e()===s.$u)if(this.advanceState(this.internalState),e()===s.$LBRACE){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==s.$RBRACE;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(e()===s.$x){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(s.isOctalDigit(e())){let t="",r=0,i=this.clone();for(;s.isOctalDigit(e())&&r<3;)i=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=i.internalState}else s.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let s=this.input.substr(e.internalState.offset,t),r=parseInt(s,16);if(isNaN(r))throw e.state=e.internalState,new k("Invalid hexadecimal escape sequence",e);return r}},k=class{constructor(e,t){this.msg=e,this.cursor=t}};e.CursorError=k}}),ke=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=A(),s=we(),r=Pe(),i=Ee(),n=class extends t.ParseError{constructor(e,t,s){super(t,s),this.elementName=e}static create(e,t,s){return new n(e,t,s)}};e.TreeError=n;var a=class{constructor(e,t){this.rootNodes=e,this.errors=t}};e.ParseTreeResult=a;var o=class{constructor(e){this.getTagDefinition=e}parse(e,t,s){let i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],n=arguments.length>4?arguments[4]:void 0,o=e=>function(t){for(var s=arguments.length,r=new Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];return e(t.toLowerCase(),...r)},u=i?this.getTagDefinition:o(this.getTagDefinition),l=e=>u(e).contentType,p=i?n:o(n),h=n?(e,t,s,r)=>{let i=p(e,t,s,r);return void 0!==i?i:l(e)}:l,d=r.tokenize(e,t,h,s),f=s&&s.canSelfClose||!1,m=s&&s.allowHtmComponentClosingTags||!1,y=new c(d.tokens,u,f,m,i).build();return new a(y.rootNodes,d.errors.concat(y.errors))}};e.Parser=o;var c=class{constructor(e,t,s,r,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=s,this.allowHtmComponentClosingTags=r,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==r.TokenType.EOF;)this._peek.type===r.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===r.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===r.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===r.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===r.TokenType.TEXT||this._peek.type===r.TokenType.RAW_TEXT||this._peek.type===r.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===r.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===r.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new a(this._rootNodes,this._errors)}_advance(){let e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){let i=this._advance(),n=this._getText(i),a=this._advanceIf(r.TokenType.CDATA_END);this._addToParent(new s.CDATA(n,new t.ParseSourceSpan(e.sourceSpan.start,(a||i).sourceSpan.end)))}_consumeComment(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.COMMENT_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.Comment(a,o))}_consumeDocType(e){let i=this._advanceIf(r.TokenType.RAW_TEXT),n=this._advanceIf(r.TokenType.DOC_TYPE_END),a=null!=i?i.parts[0].trim():null,o=new t.ParseSourceSpan(e.sourceSpan.start,(n||i||e).sourceSpan.end);this._addToParent(new s.DocType(a,o))}_consumeExpansion(e){let i=this._advance(),a=this._advance(),o=[];for(;this._peek.type===r.TokenType.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;o.push(e)}if(this._peek.type!==r.TokenType.EXPANSION_FORM_END)return void this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let c=new t.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new s.Expansion(i.parts[0],a.parts[0],o,c,i.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==r.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(n.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let i=this._advance(),a=this._collectExpansionExpTokens(i);if(!a)return null;let o=this._advance();a.push(new r.Token(r.TokenType.EOF,[],o.sourceSpan));let u=new c(a,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(u.errors.length>0)return this._errors=this._errors.concat(u.errors),null;let l=new t.ParseSourceSpan(e.sourceSpan.start,o.sourceSpan.end),p=new t.ParseSourceSpan(i.sourceSpan.start,o.sourceSpan.end);return new s.ExpansionCase(e.parts[0],u.rootNodes,l,e.sourceSpan,p)}_collectExpansionExpTokens(e){let t=[],s=[r.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===r.TokenType.EXPANSION_FORM_START||this._peek.type===r.TokenType.EXPANSION_CASE_EXP_START)&&s.push(this._peek.type),this._peek.type===r.TokenType.EXPANSION_CASE_EXP_END){if(!u(s,r.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(s.pop(),0==s.length)return t}if(this._peek.type===r.TokenType.EXPANSION_FORM_END){if(!u(s,r.TokenType.EXPANSION_FORM_START))return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;s.pop()}if(this._peek.type===r.TokenType.EOF)return this._errors.push(n.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=this._getText(e);t.length>0&&this._addToParent(new s.Text(t,e.sourceSpan))}_closeVoidElement(){let e=this._getParentElement();e&&this.getTagDefinition(e.name).isVoid&&this._elementStack.pop()}_consumeStartTag(e){let a=e.parts[0],o=e.parts[1],c=[];for(;this._peek.type===r.TokenType.ATTR_NAME;)c.push(this._consumeAttr(this._advance()));let u=this._getElementFullName(a,o,this._getParentElement()),l=!1;if(this._peek.type===r.TokenType.TAG_OPEN_END_VOID){this._advance(),l=!0;let t=this.getTagDefinition(u);this.canSelfClose||t.canSelfClose||null!==i.getNsPrefix(u)||t.isVoid||this._errors.push(n.create(u,e.sourceSpan,`Only void and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===r.TokenType.TAG_OPEN_END&&(this._advance(),l=!1);let p=this._peek.sourceSpan.start,h=new t.ParseSourceSpan(e.sourceSpan.start,p),d=new t.ParseSourceSpan(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new s.Element(u,c,[],h,h,void 0,d);this._pushElement(f),l&&(this._popElement(u),f.endSourceSpan=h)}_pushElement(e){let t=this._getParentElement();t&&this.getTagDefinition(t.name).isClosedByChild(e.name)&&this._elementStack.pop(),this._addToParent(e),this._elementStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=e.sourceSpan),t&&this.getTagDefinition(t).isVoid)this._errors.push(n.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popElement(t)){let s=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this._errors.push(n.create(t,e.sourceSpan,s))}}_popElement(e){for(let t=this._elementStack.length-1;t>=0;t--){let s=this._elementStack[t];if(!e||(i.getNsPrefix(s.name)?s.name==e:s.name.toLowerCase()==e.toLowerCase()))return this._elementStack.splice(t,this._elementStack.length-t),!0;if(!this.getTagDefinition(s.name).closedByParent)return!1}return!1}_consumeAttr(e){let n,a,o=i.mergeNsAndName(e.parts[0],e.parts[1]),c=e.sourceSpan.end,u="";if(this._peek.type===r.TokenType.ATTR_QUOTE&&(a=this._advance().sourceSpan.start),this._peek.type===r.TokenType.ATTR_VALUE){let e=this._advance();u=e.parts[0],c=e.sourceSpan.end,n=e.sourceSpan}return this._peek.type===r.TokenType.ATTR_QUOTE&&(c=this._advance().sourceSpan.end,n=new t.ParseSourceSpan(a,c)),new s.Attribute(o,u,new t.ParseSourceSpan(e.sourceSpan.start,c),n,e.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let e=null;for(let t=this._elementStack.length-1;t>=0;t--){if(!i.isNgContainer(this._elementStack[t].name))return{parent:this._elementStack[t],container:e};e=this._elementStack[t]}return{parent:null,container:e}}_addToParent(e){let t=this._getParentElement();null!=t?t.children.push(e):this._rootNodes.push(e)}_insertBeforeContainer(e,t,s){if(t){if(e){let r=e.children.indexOf(t);e.children[r]=s}else this._rootNodes.push(s);s.children.push(t),this._elementStack.splice(this._elementStack.indexOf(t),0,s)}else this._addToParent(s),this._elementStack.push(s)}_getElementFullName(e,t,s){return""===e&&""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=s&&(e=i.getNsPrefix(s.name)),i.mergeNsAndName(e,t)}};function u(e,t){return e.length>0&&e[e.length-1]===t}}}),Ne=d({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ce(),s=ke(),r=ke();e.ParseTreeResult=r.ParseTreeResult,e.TreeError=r.TreeError;var i=class extends s.Parser{constructor(){super(t.getHtmlTagDefinition)}parse(e,t,s){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,s,r,i)}};e.HtmlParser=i}}),Ie=d({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(e){x(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ne(),s=Ee();e.TagContentType=s.TagContentType;var r=null,i=()=>(r||(r=new t.HtmlParser),r);function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{canSelfClose:s=!1,allowHtmComponentClosingTags:r=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=t;return i().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:s,allowHtmComponentClosingTags:r},n,a)}e.parse=n}});x();var{ParseSourceSpan:_e,ParseLocation:Fe,ParseSourceFile:Le}=A(),Be=w(),je=D(),Me=T(),{inferParserByLanguage:Re}=ce(),Ue=pe(),qe=fe(),$e=ye(),{hasPragma:ze}=ge(),{Node:He}=xe(),{parseIeConditionalComment:Ve}=ve(),{locStart:Ge,locEnd:We}=be();function Je(e,t,s){let{canSelfClose:r,normalizeTagName:i,normalizeAttributeName:n,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c}=t,u=Ie(),{RecursiveVisitor:l,visitAll:p}=we(),{ParseSourceSpan:h}=A(),{getHtmlTagDefinition:d}=Ce(),{rootNodes:f,errors:m}=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o,getTagContentType:c});if("vue"===s.parser)if(f.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){r=!0,i=!0,n=!0,a=!0,o=!1;let t=u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o});f=t.rootNodes,m=t.errors}else{let t=e=>{if(!e||"element"!==e.type||"template"!==e.name)return!1;let t=e.attrs.find((e=>"lang"===e.name)),r=t&&t.value;return!r||"html"===Re(r,s)};if(f.some(t)){let s,i=()=>u.parse(e,{canSelfClose:r,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:o}),n=()=>s||(s=i()),c=e=>n().rootNodes.find((t=>{let{startSourceSpan:s}=t;return s&&s.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<f.length;e++){let s=f[e],{endSourceSpan:r,startSourceSpan:i}=s;if(null===r)m=n().errors,f[e]=c(s)||s;else if(t(s)){let t=n(),a=i.end.offset,o=r.start.offset;for(let e of t.errors){let{offset:t}=e.span.start;if(a<t&&t<o){m=[e];break}}f[e]=c(s)||s}}}}if(m.length>0){let{msg:e,span:{start:t,end:s}}=m[0];throw Me(e,{start:{line:t.line+1,column:t.col+1},end:{line:s.line+1,column:s.col+1}})}let y=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,s=e.nameSpan.toString(),r=null!==t&&s.startsWith(`${t}:`),i=r?s.slice(t.length+1):s;e.name=i,e.namespace=t,e.hasExplicitNamespace=r},g=e=>{switch(e.type){case"element":y(e);for(let t of e.attrs)y(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}},x=(e,t)=>{let s=e.toLowerCase();return t(s)?s:e},v=e=>{if("element"===e.type&&(i&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||$e(e))&&(e.name=x(e.name,(e=>e in Ue))),n)){let t=qe[e.name]||Object.create(null);for(let s of e.attrs)s.namespace||(s.name=x(s.name,(s=>e.name in qe&&(s in qe["*"]||s in t))))}},b=e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))},E=e=>{if("element"===e.type){let t=d(o?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||$e(e)?e.tagDefinition=t:e.tagDefinition=d("")}};return p(new class extends l{visit(e){g(e),E(e),v(e),b(e)}},f),f}function Xe(e,t,s){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],{frontMatter:i,content:n}=r?Be(e):{frontMatter:null,content:e},a=new Le(e,t.filepath),o=new Fe(a,0,0,0),c=o.moveBy(e.length),u={type:"root",sourceSpan:new _e(o,c),children:Je(n,s,t)};if(i){let e=new Fe(a,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new _e(e,t),u.children.unshift(i)}let l=new He(u),p=(r,i)=>{let{offset:n}=i,a=Xe(e.slice(0,n).replace(/[^\n\r]/g," ")+r,t,s,!1);a.sourceSpan=new _e(i,je(a.children).sourceSpan.end);let o=a.children[0];return o.length===n?a.children.shift():(o.sourceSpan=new _e(o.sourceSpan.start.moveBy(n),o.sourceSpan.end),o.value=o.value.slice(n)),a};return l.walk((e=>{if("comment"===e.type){let t=Ve(e,p);t&&e.parent.replaceChild(e,t)}})),l}function Ke(){let{name:e,canSelfClose:t=!1,normalizeTagName:s=!1,normalizeAttributeName:r=!1,allowHtmComponentClosingTags:i=!1,isTagNameCaseSensitive:n=!1,getTagContentType:a}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{parse:(o,c,u)=>Xe(o,Object.assign({parser:e},u),{canSelfClose:t,normalizeTagName:s,normalizeAttributeName:r,allowHtmComponentClosingTags:i,isTagNameCaseSensitive:n,getTagContentType:a}),hasPragma:ze,astFormat:"html",locStart:Ge,locEnd:We}}t.exports={parsers:{html:Ke({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:Ke({name:"angular",canSelfClose:!0}),vue:Ke({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(e,t,s,r)=>{if("html"!==e.toLowerCase()&&!s&&("template"!==e||r.some((e=>{let{name:t,value:s}=e;return"lang"===t&&"html"!==s&&""!==s&&void 0!==s}))))return Ie().TagContentType.RAW_TEXT}}),lwc:Ke({name:"lwc"})}}}));return Le()}()})),yd=te(md),gd=["css","scss","less","json","html","vue"],xd=function(e){var t=X({customFileTypeParser:{}},e);return function(e,s){var r;if("js"===s||"jsx"===s)r="babel";else if(gd.indexOf(s)>=0)r=s;else{if(!t.customFileTypeParser[s])return e;r=t.customFileTypeParser[s]}return H.default.format(e,{parser:r,plugins:Q([hd,fd,yd],Z(t.plugins||[]),!1),singleQuote:!0,jsxSingleQuote:!0})}},vd=function(e){return function(t){return K(void 0,void 0,void 0,(function(){var s,r,i;return Y(this,(function(n){return s=e||"react",r=X({},t),i=r.ir,r.chunks.push({type:ja.STRING,fileType:Ba.JS,name:Fp,content:"\n import { createRef } from '".concat(s,"';\n "),linkAfter:[]}),i.utils&&i.utils.forEach((function(e){"function"===e.type&&r.chunks.push({type:ja.STRING,fileType:Ba.JS,name:Bp,content:"\n export const ".concat(e.name," = ").concat(e.content.value,";\n "),linkAfter:[Fp,Op,Lp]})})),[2,r]}))}))}};var bd=function(e){var t,s=e.schema.router;if(s&&0!==(null===(t=s.routes)||void 0===t?void 0:t.length)){var r=[],i=function(e){e.forEach((function(e){e.page&&-1===r.indexOf(e.page)&&r.push(e.page),e.children&&e.children.length>0&&i(e.children)}))};i(s.routes);var n=s.routes.map((function(e){return Cd(e)})),a=r.map((function(e){return function(e,t){var s=e.slice(0,1).toUpperCase()+e.slice(1);return I.variableDeclaration("const",[I.variableDeclarator(I.identifier(s),I.callExpression(I.identifier("lazy"),[I.arrowFunctionExpression([],I.callExpression(I.identifier("import"),[I.stringLiteral(t)]))]))])}(e,"./pages/".concat(e))}));return{fileLazyImports:a,routeElements:n}}};function Ed(e){var t;try{var s=st(e,{sourceType:"module",plugins:["jsx"]});return null===(t=null==s?void 0:s.program)||void 0===t?void 0:t.body[0]}catch(e){return console.error("解析错误:",e),null}}function Cd(e){var t=[];return e.children&&(t=e.children.map((function(e){return Cd(e)}))),e.redirect?Ed('<Route path="'.concat(e.path,'" element={<Navigate to="').concat(e.redirect,'"/>}></Route>')):function(e,t,s,r){void 0===s&&(s=!1),void 0===r&&(r=null);var i=[I.jsxAttribute(I.jsxIdentifier("path"),I.stringLiteral(e))];s&&i.push(I.jsxAttribute(I.jsxIdentifier("exact")));var n=I.jsxOpeningElement(I.jsxIdentifier("Route"),i,!r);return t||r?(t&&i.push(I.jsxAttribute(I.jsxIdentifier("element"),I.jsxExpressionContainer(I.jsxElement(I.jsxOpeningElement(I.jsxIdentifier(t.slice(0,1).toUpperCase()+t.slice(1)),[],!0),null,[],!1)))),I.jsxElement(n,I.jsxClosingElement(I.jsxIdentifier("Route")),r||[],!1)):I.jsxElement(n,I.jsxClosingElement(I.jsxIdentifier("Route")),[],!1)}(e.path,e.page,e.exact,t)}var Ad=require("fs-extra");function wd(e){var t,s;return K(this,void 0,void 0,(function(){var r,i;return Y(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,Pa("/editor/getExportDetail",{_id:e.projectId,auth:e.auth,count:!1,folders:null===(t=null==e?void 0:e.folder)||void 0===t?void 0:t.split(","),fileNames:null===(s=e.filter)||void 0===s?void 0:s.split(","),frame:e.frame,afterTime:e.afterTime})];case 1:return"string"==typeof(r=n.sent()).data.schema&&(r.data.schema=JSON.parse(r.data.schema)),[2,r.data];case 2:throw i=n.sent(),console.log("[e] ",i),i;case 3:return[2]}}))}))}var Dd=function(e){var t=e,s=null==e?void 0:e.__enable;return s&&(Object.keys(e).forEach((function(e){s.includes(e)||delete t[e]})),null==t||delete t.__enable),e},Td=function(e,t){return K(void 0,void 0,void 0,(function(){var e;return Y(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,Pa("/file/getUploadToken",X({},t))];case 1:return[2,s.sent().data];case 2:return e=s.sent(),console.log("getUpToken error: ",e),[3,3];case 3:return[2]}}))}))},Sd=function(e,t){return K(void 0,void 0,void 0,(function(){var s,r,i,n,a,o,c;return Y(this,(function(u){switch(u.label){case 0:return[4,Td(0,t)];case 1:s=u.sent(),r=s.token,i=s.key,(n=new mn).append("file",P.createReadStream(e.path+"/"+e.fileName)),n.append("key",i),n.append("token",r),u.label=2;case 2:return u.trys.push([2,4,,5]),[4,Un.post("https://up-z0.qiniup.com/",n,{headers:n.getHeaders()})];case 3:if(a=u.sent(),null===(c=a.data)||void 0===c?void 0:c.hash)return[2,a.data];throw console.log("File upload failed.",a.data),new Error("File upload failed.");case 4:throw o=u.sent(),console.error("Error uploading file:",o),new Error("Error uploading file");case 5:return[2]}}))}))},Pd=function(e){var t=/exports\.(\w+)/.exec(e);return t?t[1]:""};function kd(e){return K(this,void 0,void 0,(function(){var t;return Y(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,,3]),[4,V.mkdir(e,{recursive:!0})];case 1:return s.sent(),[3,3];case 2:if("EEXIST"===(t=s.sent()).code)return[2];throw t;case 3:return[2]}}))}))}var Nd=re(C({__proto__:null,default:k.default},[P])),Id=function(){if("object"==typeof process&&process.versions&&process.versions.electron)try{const e=Nd;if(Object.keys(e).length>0)return e}catch(e){}return k.default},_d={LOCHDR:30,LOCSIG:67324752,LOCVER:4,LOCFLG:6,LOCHOW:8,LOCTIM:10,LOCCRC:14,LOCSIZ:18,LOCLEN:22,LOCNAM:26,LOCEXT:28,EXTSIG:134695760,EXTHDR:16,EXTCRC:4,EXTSIZ:8,EXTLEN:12,CENHDR:46,CENSIG:33639248,CENVEM:4,CENVER:6,CENFLG:8,CENHOW:10,CENTIM:12,CENCRC:16,CENSIZ:20,CENLEN:24,CENNAM:28,CENEXT:30,CENCOM:32,CENDSK:34,CENATT:36,CENATX:38,CENOFF:42,ENDHDR:22,ENDSIG:101010256,ENDSUB:8,ENDTOT:10,ENDSIZ:12,ENDOFF:16,ENDCOM:20,END64HDR:20,END64SIG:117853008,END64START:4,END64OFF:8,END64NUMDISKS:16,ZIP64SIG:101075792,ZIP64HDR:56,ZIP64LEAD:12,ZIP64SIZE:4,ZIP64VEM:12,ZIP64VER:14,ZIP64DSK:16,ZIP64DSKDIR:20,ZIP64SUB:24,ZIP64TOT:32,ZIP64SIZB:40,ZIP64OFF:48,ZIP64EXTRA:56,STORED:0,SHRUNK:1,REDUCED1:2,REDUCED2:3,REDUCED3:4,REDUCED4:5,IMPLODED:6,DEFLATED:8,ENHANCED_DEFLATED:9,PKWARE:10,BZIP2:12,LZMA:14,IBM_TERSE:18,IBM_LZ77:19,AES_ENCRYPT:99,FLG_ENC:1,FLG_COMP1:2,FLG_COMP2:4,FLG_DESC:8,FLG_ENH:16,FLG_PATCH:32,FLG_STR:64,FLG_EFS:2048,FLG_MSK:4096,FILE:2,BUFFER:1,NONE:0,EF_ID:0,EF_SIZE:2,ID_ZIP64:1,ID_AVINFO:7,ID_PFS:8,ID_OS2:9,ID_NTFS:10,ID_OPENVMS:12,ID_UNIX:13,ID_FORK:14,ID_PATCH:15,ID_X509_PKCS7:20,ID_X509_CERTID_F:21,ID_X509_CERTID_C:22,ID_STRONGENC:23,ID_RECORD_MGT:24,ID_X509_PKCS7_RL:25,ID_IBM1:101,ID_IBM2:102,ID_POSZIP:18064,EF_ZIP64_OR_32:4294967295,EF_ZIP64_OR_16:65535,EF_ZIP64_SUNCOMP:0,EF_ZIP64_SCOMP:8,EF_ZIP64_RHO:16,EF_ZIP64_DSN:24},Fd={INVALID_LOC:"Invalid LOC header (bad signature)",INVALID_CEN:"Invalid CEN header (bad signature)",INVALID_END:"Invalid END header (bad signature)",NO_DATA:"Nothing to decompress",BAD_CRC:"CRC32 checksum failed",FILE_IN_THE_WAY:"There is a file in the way: %s",UNKNOWN_METHOD:"Invalid/unsupported compression method",AVAIL_DATA:"inflate::Available inflate data did not terminate",INVALID_DISTANCE:"inflate::Invalid literal/length or distance code in fixed or dynamic block",TO_MANY_CODES:"inflate::Dynamic block code description: too many length or distance codes",INVALID_REPEAT_LEN:"inflate::Dynamic block code description: repeat more than specified lengths",INVALID_REPEAT_FIRST:"inflate::Dynamic block code description: repeat lengths with no first length",INCOMPLETE_CODES:"inflate::Dynamic block code description: code lengths codes incomplete",INVALID_DYN_DISTANCE:"inflate::Dynamic block code description: invalid distance code lengths",INVALID_CODES_LEN:"inflate::Dynamic block code description: invalid literal/length code lengths",INVALID_STORE_BLOCK:"inflate::Stored block length did not match one's complement",INVALID_BLOCK_TYPE:"inflate::Invalid block type (type == 3)",CANT_EXTRACT_FILE:"Could not extract the file",CANT_OVERRIDE:"Target file already exists",NO_ZIP:"No zip file was loaded",NO_ENTRY:"Entry doesn't exist",DIRECTORY_CONTENT_ERROR:"A directory cannot have content",FILE_NOT_FOUND:"File not found: %s",NOT_IMPLEMENTED:"Not implemented",INVALID_FILENAME:"Invalid filename",INVALID_FORMAT:"Invalid or unsupported zip format. No END header found"};Fd.INVALID_LOC,Fd.INVALID_CEN,Fd.INVALID_END,Fd.NO_DATA,Fd.BAD_CRC,Fd.FILE_IN_THE_WAY,Fd.UNKNOWN_METHOD,Fd.AVAIL_DATA,Fd.INVALID_DISTANCE,Fd.TO_MANY_CODES,Fd.INVALID_REPEAT_LEN,Fd.INVALID_REPEAT_FIRST,Fd.INCOMPLETE_CODES,Fd.INVALID_DYN_DISTANCE,Fd.INVALID_CODES_LEN,Fd.INVALID_STORE_BLOCK,Fd.INVALID_BLOCK_TYPE,Fd.CANT_EXTRACT_FILE,Fd.CANT_OVERRIDE,Fd.NO_ZIP,Fd.NO_ENTRY,Fd.DIRECTORY_CONTENT_ERROR,Fd.FILE_NOT_FOUND,Fd.NOT_IMPLEMENTED,Fd.INVALID_FILENAME,Fd.INVALID_FORMAT;const Od=Id(),Ld="object"==typeof process&&"win32"===process.platform,Bd=e=>e&&"object"==typeof e,jd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=3988292384^t>>>1:t>>>=1;return t>>>0}));function Md(e){this.sep=D.default.sep,this.fs=Od,Bd(e)&&Bd(e.fs)&&"function"==typeof e.fs.statSync&&(this.fs=e.fs)}var Rd=Md;Md.prototype.makeDir=function(e){const t=this;!function(e){let s=e.split(t.sep)[0];e.split(t.sep).forEach((function(e){if(e&&":"!==e.substr(-1,1)){var r;s+=t.sep+e;try{r=t.fs.statSync(s)}catch(e){t.fs.mkdirSync(s)}if(r&&r.isFile())throw Fd.FILE_IN_THE_WAY.replace("%s",s)}}))}(e)},Md.prototype.writeFileTo=function(e,t,s,r){const i=this;if(i.fs.existsSync(e)){if(!s)return!1;if(i.fs.statSync(e).isDirectory())return!1}var n,a=D.default.dirname(e);i.fs.existsSync(a)||i.makeDir(a);try{n=i.fs.openSync(e,"w",438)}catch(t){i.fs.chmodSync(e,438),n=i.fs.openSync(e,"w",438)}if(n)try{i.fs.writeSync(n,t,0,t.length,0)}finally{i.fs.closeSync(n)}return i.fs.chmodSync(e,r||438),!0},Md.prototype.writeFileToAsync=function(e,t,s,r,i){"function"==typeof r&&(i=r,r=void 0);const n=this;n.fs.exists(e,(function(a){if(a&&!s)return i(!1);n.fs.stat(e,(function(s,o){if(a&&o.isDirectory())return i(!1);var c=D.default.dirname(e);n.fs.exists(c,(function(s){s||n.makeDir(c),n.fs.open(e,"w",438,(function(s,a){s?n.fs.chmod(e,438,(function(){n.fs.open(e,"w",438,(function(s,a){n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))})):a?n.fs.write(a,t,0,t.length,0,(function(){n.fs.close(a,(function(){n.fs.chmod(e,r||438,(function(){i(!0)}))}))})):n.fs.chmod(e,r||438,(function(){i(!0)}))}))}))}))}))},Md.prototype.findFiles=function(e){const t=this;return function e(s,r,i){"boolean"==typeof r&&(i=r,r=void 0);let n=[];return t.fs.readdirSync(s).forEach((function(a){var o=D.default.join(s,a);t.fs.statSync(o).isDirectory()&&i&&(n=n.concat(e(o,r,i))),r&&!r.test(o)||n.push(D.default.normalize(o)+(t.fs.statSync(o).isDirectory()?t.sep:""))})),n}(e,void 0,!0)},Md.prototype.getAttributes=function(){},Md.prototype.setAttributes=function(){},Md.crc32update=function(e,t){return jd[255&(e^t)]^e>>>8},Md.crc32=function(e){"string"==typeof e&&(e=Buffer.from(e,"utf8")),jd.length||genCRCTable();let t=e.length,s=-1;for(let r=0;r<t;)s=Md.crc32update(s,e[r++]);return~s>>>0},Md.methodToString=function(e){switch(e){case _d.STORED:return"STORED ("+e+")";case _d.DEFLATED:return"DEFLATED ("+e+")";default:return"UNSUPPORTED ("+e+")"}},Md.canonical=function(e){if(!e)return"";var t=D.default.posix.normalize("/"+e.split("\\").join("/"));return D.default.join(".",t)},Md.sanitize=function(e,t){e=D.default.resolve(D.default.normalize(e));for(var s=t.split("/"),r=0,i=s.length;r<i;r++){var n=D.default.normalize(D.default.join(e,s.slice(r,i).join(D.default.sep)));if(0===n.indexOf(e))return n}return D.default.normalize(D.default.join(e,D.default.basename(t)))},Md.toBuffer=function(e){return Buffer.isBuffer(e)?e:e instanceof Uint8Array?Buffer.from(e):"string"==typeof e?Buffer.from(e,"utf8"):Buffer.alloc(0)},Md.readBigUInt64LE=function(e,t){var s=Buffer.from(e.slice(t,t+8));return s.swap64(),parseInt(`0x${s.toString("hex")}`)},Md.isWin=Ld,Md.crcTable=jd;const Ud=Id();Ud.existsSync=Ud.existsSync||D.default.existsSync;var qd=Rd,$d=_d,zd=Fd,Hd=function(e){var t=e||"",s={directory:!1,readonly:!1,hidden:!1,executable:!1,mtime:0,atime:0},r=null;return t&&Ud.existsSync(t)?(r=Ud.statSync(t),s.directory=r.isDirectory(),s.mtime=r.mtime,s.atime=r.atime,s.executable=!!(73&r.mode),s.readonly=!(128&r.mode),s.hidden="."===D.default.basename(t)[0]):console.warn("Invalid path: "+t),{get directory(){return s.directory},get readOnly(){return s.readonly},get hidden(){return s.hidden},get mtime(){return s.mtime},get atime(){return s.atime},get executable(){return s.executable},decodeAttributes:function(){},encodeAttributes:function(){},toJSON:function(){return{path:t,isDirectory:s.directory,isReadOnly:s.readonly,isHidden:s.hidden,isExecutable:s.executable,mTime:s.mtime,aTime:s.atime}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}};qd.Constants=$d,qd.Errors=zd,qd.FileAttr=Hd;var Vd=qd.Constants,Gd=qd.Constants,Wd=function(){var e=20,t=10,s=0,r=0,i=0,n=0,a=0,o=0,c=0,u=0,l=0,p=0,h=0,d=0,f=0;e|=qd.isWin?2560:768,s|=Vd.FLG_EFS;var m={};function y(e){e=new Date(e),i=(e.getFullYear()-1980&127)<<25|e.getMonth()+1<<21|e.getDate()<<16|e.getHours()<<11|e.getMinutes()<<5|e.getSeconds()>>1}return y(+new Date),{get made(){return e},set made(t){e=t},get version(){return t},set version(e){t=e},get flags(){return s},set flags(e){s=e},get method(){return r},set method(e){switch(e){case Vd.STORED:this.version=10;case Vd.DEFLATED:default:this.version=20}r=e},get time(){return new Date(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1)},set time(e){y(e)},get timeHighByte(){return i>>>8&255},get crc(){return n},set crc(e){n=Math.max(0,e)>>>0},get compressedSize(){return a},set compressedSize(e){a=Math.max(0,e)>>>0},get size(){return o},set size(e){o=Math.max(0,e)>>>0},get fileNameLength(){return c},set fileNameLength(e){c=e},get extraLength(){return u},set extraLength(e){u=e},get commentLength(){return l},set commentLength(e){l=e},get diskNumStart(){return p},set diskNumStart(e){p=Math.max(0,e)>>>0},get inAttr(){return h},set inAttr(e){h=Math.max(0,e)>>>0},get attr(){return d},set attr(e){d=Math.max(0,e)>>>0},get fileAttr(){return d?d>>>0>>16&4095:0},get offset(){return f},set offset(e){f=Math.max(0,e)>>>0},get encripted(){return!(1&~s)},get entryHeaderSize(){return Vd.CENHDR+c+u+l},get realDataOffset(){return f+Vd.LOCHDR+m.fnameLen+m.extraLen},get dataHeader(){return m},loadDataHeaderFromBinary:function(e){var t=e.slice(f,f+Vd.LOCHDR);if(t.readUInt32LE(0)!==Vd.LOCSIG)throw new Error(qd.Errors.INVALID_LOC);m={version:t.readUInt16LE(Vd.LOCVER),flags:t.readUInt16LE(Vd.LOCFLG),method:t.readUInt16LE(Vd.LOCHOW),time:t.readUInt32LE(Vd.LOCTIM),crc:t.readUInt32LE(Vd.LOCCRC),compressedSize:t.readUInt32LE(Vd.LOCSIZ),size:t.readUInt32LE(Vd.LOCLEN),fnameLen:t.readUInt16LE(Vd.LOCNAM),extraLen:t.readUInt16LE(Vd.LOCEXT)}},loadFromBinary:function(m){if(m.length!==Vd.CENHDR||m.readUInt32LE(0)!==Vd.CENSIG)throw new Error(qd.Errors.INVALID_CEN);e=m.readUInt16LE(Vd.CENVEM),t=m.readUInt16LE(Vd.CENVER),s=m.readUInt16LE(Vd.CENFLG),r=m.readUInt16LE(Vd.CENHOW),i=m.readUInt32LE(Vd.CENTIM),n=m.readUInt32LE(Vd.CENCRC),a=m.readUInt32LE(Vd.CENSIZ),o=m.readUInt32LE(Vd.CENLEN),c=m.readUInt16LE(Vd.CENNAM),u=m.readUInt16LE(Vd.CENEXT),l=m.readUInt16LE(Vd.CENCOM),p=m.readUInt16LE(Vd.CENDSK),h=m.readUInt16LE(Vd.CENATT),d=m.readUInt32LE(Vd.CENATX),f=m.readUInt32LE(Vd.CENOFF)},dataHeaderToBinary:function(){var e=Buffer.alloc(Vd.LOCHDR);return e.writeUInt32LE(Vd.LOCSIG,0),e.writeUInt16LE(t,Vd.LOCVER),e.writeUInt16LE(s,Vd.LOCFLG),e.writeUInt16LE(r,Vd.LOCHOW),e.writeUInt32LE(i,Vd.LOCTIM),e.writeUInt32LE(n,Vd.LOCCRC),e.writeUInt32LE(a,Vd.LOCSIZ),e.writeUInt32LE(o,Vd.LOCLEN),e.writeUInt16LE(c,Vd.LOCNAM),e.writeUInt16LE(u,Vd.LOCEXT),e},entryHeaderToBinary:function(){var m=Buffer.alloc(Vd.CENHDR+c+u+l);return m.writeUInt32LE(Vd.CENSIG,0),m.writeUInt16LE(e,Vd.CENVEM),m.writeUInt16LE(t,Vd.CENVER),m.writeUInt16LE(s,Vd.CENFLG),m.writeUInt16LE(r,Vd.CENHOW),m.writeUInt32LE(i,Vd.CENTIM),m.writeUInt32LE(n,Vd.CENCRC),m.writeUInt32LE(a,Vd.CENSIZ),m.writeUInt32LE(o,Vd.CENLEN),m.writeUInt16LE(c,Vd.CENNAM),m.writeUInt16LE(u,Vd.CENEXT),m.writeUInt16LE(l,Vd.CENCOM),m.writeUInt16LE(p,Vd.CENDSK),m.writeUInt16LE(h,Vd.CENATT),m.writeUInt32LE(d,Vd.CENATX),m.writeUInt32LE(f,Vd.CENOFF),m.fill(0,Vd.CENHDR),m},toJSON:function(){const i=function(e){return e+" bytes"};return{made:e,version:t,flags:s,method:qd.methodToString(r),time:this.time,crc:"0x"+n.toString(16).toUpperCase(),compressedSize:i(a),size:i(o),fileNameLength:i(c),extraLength:i(u),commentLength:i(l),diskNumStart:p,inAttr:h,attr:d,offset:f,entryHeaderSize:i(Vd.CENHDR+c+u+l)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Jd=function(){var e=0,t=0,s=0,r=0,i=0;return{get diskEntries(){return e},set diskEntries(s){e=t=s},get totalEntries(){return t},set totalEntries(s){t=e=s},get size(){return s},set size(e){s=e},get offset(){return r},set offset(e){r=e},get commentLength(){return i},set commentLength(e){i=e},get mainHeaderSize(){return Gd.ENDHDR+i},loadFromBinary:function(n){if((n.length!==Gd.ENDHDR||n.readUInt32LE(0)!==Gd.ENDSIG)&&(n.length<Gd.ZIP64HDR||n.readUInt32LE(0)!==Gd.ZIP64SIG))throw new Error(qd.Errors.INVALID_END);n.readUInt32LE(0)===Gd.ENDSIG?(e=n.readUInt16LE(Gd.ENDSUB),t=n.readUInt16LE(Gd.ENDTOT),s=n.readUInt32LE(Gd.ENDSIZ),r=n.readUInt32LE(Gd.ENDOFF),i=n.readUInt16LE(Gd.ENDCOM)):(e=qd.readBigUInt64LE(n,Gd.ZIP64SUB),t=qd.readBigUInt64LE(n,Gd.ZIP64TOT),s=qd.readBigUInt64LE(n,Gd.ZIP64SIZE),r=qd.readBigUInt64LE(n,Gd.ZIP64OFF),i=0)},toBinary:function(){var n=Buffer.alloc(Gd.ENDHDR+i);return n.writeUInt32LE(Gd.ENDSIG,0),n.writeUInt32LE(0,4),n.writeUInt16LE(e,Gd.ENDSUB),n.writeUInt16LE(t,Gd.ENDTOT),n.writeUInt32LE(s,Gd.ENDSIZ),n.writeUInt32LE(r,Gd.ENDOFF),n.writeUInt16LE(i,Gd.ENDCOM),n.fill(" ",Gd.ENDHDR),n},toJSON:function(){return{diskEntries:e,totalEntries:t,size:s+" bytes",offset:function(e,t){let s=e.toString(16).toUpperCase();for(;s.length<t;)s="0"+s;return"0x"+s}(r,4),commentLength:i}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},Xd={EntryHeader:Wd,MainHeader:Jd};const{randomFillSync:Kd}=F.default,Yd=new Uint32Array(256).map(((e,t)=>{for(let e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;return t>>>0})),Zd=(e,t)=>Math.imul(e,t)>>>0,Qd=(e,t)=>Yd[255&(e^t)]^e>>>8,ef=()=>"function"==typeof Kd?Kd(Buffer.alloc(12)):ef.node();ef.node=()=>{const e=Buffer.alloc(12),t=e.length;for(let s=0;s<t;s++)e[s]=256*Math.random()&255;return e};const tf={genSalt:ef};function sf(e){const t=Buffer.isBuffer(e)?e:Buffer.from(e);this.keys=new Uint32Array([305419896,591751049,878082192]);for(let e=0;e<t.length;e++)this.updateKeys(t[e])}sf.prototype.updateKeys=function(e){const t=this.keys;return t[0]=Qd(t[0],e),t[1]+=255&t[0],t[1]=Zd(t[1],134775813)+1,t[2]=Qd(t[2],t[1]>>>24),e},sf.prototype.next=function(){const e=(2|this.keys[2])>>>0;return Zd(e,1^e)>>8&255};var rf={decrypt:function(e,t,s){if(!e||!Buffer.isBuffer(e)||e.length<12)return Buffer.alloc(0);const r=function(e){const t=new sf(e);return function(e){const s=Buffer.alloc(e.length);let r=0;for(let i of e)s[r++]=t.updateKeys(i^t.next());return s}}(s),i=r(e.slice(0,12)),n=8&~t.flags?t.crc>>>24:t.timeHighByte;if(i[11]!==n)throw"ADM-ZIP: Wrong Password";return r(e.slice(12))},encrypt:function(e,t,s,r=!1){null==e&&(e=Buffer.alloc(0)),Buffer.isBuffer(e)||(e=Buffer.from(e.toString()));const i=function(e){const t=new sf(e);return function(e,s,r=0){s||(s=Buffer.alloc(e.length));for(let i of e){const e=t.next();s[r++]=i^e,t.updateKeys(i)}return s}}(s),n=tf.genSalt();n[11]=t.crc>>>24&255,r&&(n[10]=t.crc>>>16&255);const a=Buffer.alloc(e.length+12);return i(n,a),i(e,a,12)},_salter:function(e){Buffer.isBuffer(e)&&e.length>=12?tf.genSalt=function(){return e.slice(0,12)}:tf.genSalt="node"===e?ef.node:ef}},nf=function(e){var t=U.default,s={chunkSize:1024*(parseInt(e.length/1024)+1)};return{deflate:function(){return t.deflateRawSync(e,s)},deflateAsync:function(r){var i=t.createDeflateRaw(s),n=[],a=0;i.on("data",(function(e){n.push(e),a+=e.length})),i.on("end",(function(){var e=Buffer.alloc(a),t=0;e.fill(0);for(var s=0;s<n.length;s++){var i=n[s];i.copy(e,t),t+=i.length}r&&r(e)})),i.end(e)}}},af=function(e){var t=U.default;return{inflate:function(){return t.inflateRawSync(e)},inflateAsync:function(s){var r=t.createInflateRaw(),i=[],n=0;r.on("data",(function(e){i.push(e),n+=e.length})),r.on("end",(function(){var e=Buffer.alloc(n),t=0;e.fill(0);for(var r=0;r<i.length;r++){var a=i[r];a.copy(e,t),t+=a.length}s&&s(e)})),r.end(e)}}},of={Deflater:nf,Inflater:af,ZipCrypto:rf},cf=qd.Constants,uf=function(e){var t=new Xd.EntryHeader,s=Buffer.alloc(0),r=Buffer.alloc(0),i=!1,n=null,a=Buffer.alloc(0);function o(){return e&&Buffer.isBuffer(e)?(t.loadDataHeaderFromBinary(e),e.slice(t.realDataOffset,t.realDataOffset+t.compressedSize)):Buffer.alloc(0)}function c(e){return!(8&~t.flags&&qd.crc32(e)!==t.dataHeader.crc)}function u(e,r,n){if(void 0===r&&"string"==typeof e&&(n=e,e=void 0),i)return e&&r&&r(Buffer.alloc(0),qd.Errors.DIRECTORY_CONTENT_ERROR),Buffer.alloc(0);var a=o();if(0===a.length)return e&&r&&r(a),a;if(t.encripted){if("string"!=typeof n&&!Buffer.isBuffer(n))throw new Error("ADM-ZIP: Incompatible password parameter");a=of.ZipCrypto.decrypt(a,t,n)}var u=Buffer.alloc(t.size);switch(t.method){case qd.Constants.STORED:if(a.copy(u),c(u))return e&&r&&r(u),u;throw e&&r&&r(u,qd.Errors.BAD_CRC),new Error(qd.Errors.BAD_CRC);case qd.Constants.DEFLATED:var l=new of.Inflater(a);if(!e){if(l.inflate(u).copy(u,0),!c(u))throw new Error(qd.Errors.BAD_CRC+" "+s.toString());return u}l.inflateAsync((function(e){e.copy(e,0),r&&(c(e)?r(e):r(e,qd.Errors.BAD_CRC))}));break;default:throw e&&r&&r(Buffer.alloc(0),qd.Errors.UNKNOWN_METHOD),new Error(qd.Errors.UNKNOWN_METHOD)}}function l(s,r){if((!n||!n.length)&&Buffer.isBuffer(e))return s&&r&&r(o()),o();if(n.length&&!i){var a;switch(t.method){case qd.Constants.STORED:return t.compressedSize=t.size,a=Buffer.alloc(n.length),n.copy(a),s&&r&&r(a),a;default:case qd.Constants.DEFLATED:var c=new of.Deflater(n);if(!s){var u=c.deflate();return t.compressedSize=u.length,u}c.deflateAsync((function(e){a=Buffer.alloc(e.length),t.compressedSize=e.length,e.copy(a),r&&r(a)})),c=null}}else{if(!s||!r)return Buffer.alloc(0);r(Buffer.alloc(0))}}function p(e,t){return(e.readUInt32LE(t+4)<<4)+e.readUInt32LE(t)}function h(e){var s,r,i,n;e.length>=cf.EF_ZIP64_SCOMP&&(s=p(e,cf.EF_ZIP64_SUNCOMP),t.size===cf.EF_ZIP64_OR_32&&(t.size=s)),e.length>=cf.EF_ZIP64_RHO&&(r=p(e,cf.EF_ZIP64_SCOMP),t.compressedSize===cf.EF_ZIP64_OR_32&&(t.compressedSize=r)),e.length>=cf.EF_ZIP64_DSN&&(i=p(e,cf.EF_ZIP64_RHO),t.offset===cf.EF_ZIP64_OR_32&&(t.offset=i)),e.length>=cf.EF_ZIP64_DSN+4&&(n=e.readUInt32LE(cf.EF_ZIP64_DSN),t.diskNumStart===cf.EF_ZIP64_OR_16&&(t.diskNumStart=n))}return{get entryName(){return s.toString()},get rawEntryName(){return s},set entryName(e){var r=(s=qd.toBuffer(e))[s.length-1];i=47===r||92===r,t.fileNameLength=s.length},get extra(){return a},set extra(e){a=e,t.extraLength=e.length,function(e){for(var t,s,r,i=0;i<e.length;)t=e.readUInt16LE(i),i+=2,s=e.readUInt16LE(i),i+=2,r=e.slice(i,i+s),i+=s,cf.ID_ZIP64===t&&h(r)}(e)},get comment(){return r.toString()},set comment(e){r=qd.toBuffer(e),t.commentLength=r.length},get name(){var e=s.toString();return i?e.substr(e.length-1).split("/").pop():e.split("/").pop()},get isDirectory(){return i},getCompressedData:function(){return l(!1,null)},getCompressedDataAsync:function(e){l(!0,e)},setData:function(e){n=qd.toBuffer(e),!i&&n.length?(t.size=n.length,t.method=qd.Constants.DEFLATED,t.crc=qd.crc32(e),t.changed=!0):t.method=qd.Constants.STORED},getData:function(e){return t.changed?n:u(!1,null,e)},getDataAsync:function(e,s){t.changed?e(n):u(!0,e,s)},set attr(e){t.attr=e},get attr(){return t.attr},set header(e){t.loadFromBinary(e)},get header(){return t},packHeader:function(){var e=t.entryHeaderToBinary(),i=qd.Constants.CENHDR;return s.copy(e,i),i+=s.length,t.extraLength&&(a.copy(e,i),i+=t.extraLength),t.commentLength&&r.copy(e,i),e},toJSON:function(){const s=function(e){return"<"+(e&&e.length+" bytes buffer"||"null")+">"};return{entryName:this.entryName,name:this.name,comment:this.comment,isDirectory:this.isDirectory,header:t.toJSON(),compressedData:s(e),data:s(n)}},toString:function(){return JSON.stringify(this.toJSON(),null,"\t")}}},lf=function(e,t){var s=[],r={},i=Buffer.alloc(0),n=new Xd.MainHeader,a=!1;const o=Object.assign(Object.create(null),t),{noSort:c}=o;function u(){a=!0,r={},s=new Array(n.diskEntries);for(var t=n.offset,i=0;i<s.length;i++){var o=t,c=new uf(e);c.header=e.slice(o,o+=qd.Constants.CENHDR),c.entryName=e.slice(o,o+=c.header.fileNameLength),c.header.extraLength&&(c.extra=e.slice(o,o+=c.header.extraLength)),c.header.commentLength&&(c.comment=e.slice(o,o+c.header.commentLength)),t+=c.header.entryHeaderSize,s[i]=c,r[c.entryName]=c}}function l(){s.length>1&&!c&&s.sort(((e,t)=>e.entryName.toLowerCase().localeCompare(t.entryName.toLowerCase())))}return e?function(t){var s=e.length-qd.Constants.ENDHDR,r=Math.max(0,s-65535),a=r,o=e.length,c=-1,l=0;for(;s>=a;s--)if(80===e[s])if(e.readUInt32LE(s)!==qd.Constants.ENDSIG)if(e.readUInt32LE(s)!==qd.Constants.END64SIG){if(e.readUInt32LE(s)===qd.Constants.ZIP64SIG){c=s,o=s+qd.readBigUInt64LE(e,s+qd.Constants.ZIP64SIZE)+qd.Constants.ZIP64LEAD;break}}else a=r;else c=s,l=s,o=s+qd.Constants.ENDHDR,a=s-qd.Constants.END64HDR;if(!~c)throw new Error(qd.Errors.INVALID_FORMAT);n.loadFromBinary(e.slice(c,o)),n.commentLength&&(i=e.slice(l+qd.Constants.ENDHDR));t&&u()}(o.readEntries):a=!0,{get entries(){return a||u(),s},get comment(){return i.toString()},set comment(e){i=qd.toBuffer(e),n.commentLength=i.length},getEntryCount:function(){return a?s.length:n.diskEntries},forEach:function(t){a?s.forEach(t):function(t){const s=n.diskEntries;let r=n.offset;for(let i=0;i<s;i++){let s=r;const i=new uf(e);i.header=e.slice(s,s+=qd.Constants.CENHDR),i.entryName=e.slice(s,s+=i.header.fileNameLength),r+=i.header.entryHeaderSize,t(i)}}(t)},getEntry:function(e){return a||u(),r[e]||null},setEntry:function(e){a||u(),s.push(e),r[e.entryName]=e,n.totalEntries=s.length},deleteEntry:function(e){a||u();var t=r[e];if(t&&t.isDirectory){var i=this;this.getEntryChildren(t).forEach((function(t){t.entryName!==e&&i.deleteEntry(t.entryName)}))}s.splice(s.indexOf(t),1),delete r[e],n.totalEntries=s.length},getEntryChildren:function(e){if(a||u(),e&&e.isDirectory){const t=[],r=e.entryName,i=r.length;return s.forEach((function(e){e.entryName.substr(0,i)===r&&t.push(e)})),t}return[]},compressToBuffer:function(){a||u(),l();const e=[],t=[];let r=0,o=0;n.size=0,n.offset=0;for(const i of s){const s=i.getCompressedData();i.header.offset=o;const a=i.header.dataHeaderToBinary(),c=i.rawEntryName.length,u=Buffer.alloc(c+i.extra.length);i.rawEntryName.copy(u,0),i.extra.copy(u,c);const l=a.length+u.length+s.length;o+=l,e.push(a),e.push(u),e.push(s);const p=i.packHeader();t.push(p),n.size+=p.length,r+=l+p.length}r+=n.mainHeaderSize,n.offset=o,o=0;const c=Buffer.alloc(r);for(const t of e)t.copy(c,o),o+=t.length;for(const e of t)e.copy(c,o),o+=e.length;const p=n.toBinary();return i&&i.copy(p,qd.Constants.ENDHDR),p.copy(c,o),c},toAsyncBuffer:function(e,t,r,o){try{a||u(),l();const t=[],c=[];let p=0,h=0;n.size=0,n.offset=0;const d=function(s){if(s.length){const e=s.pop(),i=e.entryName+e.extra.toString();r&&r(i),e.getCompressedDataAsync((function(r){o&&o(i),e.header.offset=h;const a=e.header.dataHeaderToBinary(),u=Buffer.alloc(i.length,i),l=a.length+u.length+r.length;h+=l,t.push(a),t.push(u),t.push(r);const f=e.packHeader();c.push(f),n.size+=f.length,p+=l+f.length,d(s)}))}else{p+=n.mainHeaderSize,n.offset=h,h=0;const s=Buffer.alloc(p);t.forEach((function(e){e.copy(s,h),h+=e.length})),c.forEach((function(e){e.copy(s,h),h+=e.length}));const r=n.toBinary();i&&i.copy(r,qd.Constants.ENDHDR),r.copy(s,h),e(s)}};d(s)}catch(e){t(e)}}}};const pf=(e,t)=>"boolean"==typeof e?e:t,hf=(e,t)=>"string"==typeof e?e:t,df={noSort:!1,readEntries:!1,method:qd.Constants.NONE,fs:null};var ff=function(e,t){let s=null;const r=Object.assign(Object.create(null),df);e&&"object"==typeof e&&(e instanceof Uint8Array||(Object.assign(r,e),e=r.input?r.input:void 0,r.input&&delete r.input),Buffer.isBuffer(e)&&(s=e,r.method=qd.Constants.BUFFER,e=void 0)),Object.assign(r,t);const i=new qd(r);if(e&&"string"==typeof e){if(!i.fs.existsSync(e))throw new Error(qd.Errors.INVALID_FILENAME);r.method=qd.Constants.FILE,r.filename=e,s=i.fs.readFileSync(e)}const n=new lf(s,r),{canonical:a,sanitize:o}=qd;function c(e){var t;if(e&&n&&("string"==typeof e&&(t=n.getEntry(e)),"object"==typeof e&&void 0!==e.entryName&&void 0!==e.header&&(t=n.getEntry(e.entryName)),t))return t;return null}function u(e){const{join:t,normalize:s,sep:r}=D.default.posix;return t(".",s(r+e.split("\\").join(r)+r))}return{readFile:function(e,t){var s=c(e);return s&&s.getData(t)||null},readFileAsync:function(e,t){var s=c(e);s?s.getDataAsync(t):t(null,"getEntry failed for:"+e)},readAsText:function(e,t){var s=c(e);if(s){var r=s.getData();if(r&&r.length)return r.toString(t||"utf8")}return""},readAsTextAsync:function(e,t,s){var r=c(e);r?r.getDataAsync((function(e,r){r?t(e,r):e&&e.length?t(e.toString(s||"utf8")):t("")})):t("")},deleteFile:function(e){var t=c(e);t&&n.deleteEntry(t.entryName)},addZipComment:function(e){n.comment=e},getZipComment:function(){return n.comment||""},addZipEntryComment:function(e,t){var s=c(e);s&&(s.comment=t)},getZipEntryComment:function(e){var t=c(e);return t&&t.comment||""},updateFile:function(e,t){var s=c(e);s&&s.setData(t)},addLocalFile:function(e,t,s,r){if(!i.fs.existsSync(e))throw new Error(qd.Errors.FILE_NOT_FOUND.replace("%s",e));{t=t?u(t):"";var n=e.split("\\").join("/").split("/").pop();t+=s||n;const a=i.fs.statSync(e);this.addFile(t,i.fs.readFileSync(e),r,a)}},addLocalFolder:function(e,t,s,r){var n;if(s instanceof RegExp?(n=s,s=function(e){return n.test(e)}):"function"!=typeof s&&(s=function(){return!0}),t=t?u(t):"",e=D.default.normalize(e),!i.fs.existsSync(e))throw new Error(qd.Errors.FILE_NOT_FOUND.replace("%s",e));{const n=i.findFiles(e),a=this;n.length&&n.forEach((function(n){var o=D.default.relative(e,n).split("\\").join("/");if(s(o)){var c=i.fs.statSync(n);c.isFile()?a.addFile(t+o,i.fs.readFileSync(n),"",r||c):a.addFile(t+o+"/",Buffer.alloc(0),"",r||c)}}))}},addLocalFolderAsync:function(e,t,s,r){var n;r instanceof RegExp?(n=r,r=function(e){return n.test(e)}):"function"!=typeof r&&(r=function(){return!0}),s=s?u(s):"",e=D.default.normalize(e);var a=this;i.fs.open(e,"r",(function(n){if(n&&"ENOENT"===n.code)t(void 0,qd.Errors.FILE_NOT_FOUND.replace("%s",e));else if(n)t(void 0,n);else{var o=i.findFiles(e),c=-1,u=function(){if((c+=1)<o.length){var n=o[c],l=D.default.relative(e,n).split("\\").join("/");l=l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x20-\x7E]/g,""),r(l)?i.fs.stat(n,(function(e,r){e&&t(void 0,e),r.isFile()?i.fs.readFile(n,(function(e,i){e?t(void 0,e):(a.addFile(s+l,i,"",r),u())})):(a.addFile(s+l+"/",Buffer.alloc(0),"",r),u())})):process.nextTick((()=>{u()}))}else t(!0,void 0)};u()}}))},addLocalFolderPromise:function(e,t){return new Promise(((s,r)=>{const{filter:i,zipPath:n}=Object.assign({},t);this.addLocalFolderAsync(e,((e,t)=>{t&&r(t),e&&s(this)}),n,i)}))},addFile:function(e,t,s,r){let a=c(e);const o=null!=a;o||(a=new uf,a.entryName=e),a.comment=s||"";const u="object"==typeof r&&r instanceof i.fs.Stats;u&&(a.header.time=r.mtime);var l=a.isDirectory?16:0;let p=a.isDirectory?16384:32768;p|=u?4095&r.mode:"number"==typeof r?4095&r:a.isDirectory?493:420,l=(l|p<<16)>>>0,a.attr=l,a.setData(t),o||n.setEntry(a)},getEntries:function(e){return n.password=e,n?n.entries:[]},getEntry:function(e){return c(e)},getEntryCount:function(){return n.getEntryCount()},forEach:function(e){return n.forEach(e)},extractEntryTo:function(e,t,s,r,u,l){r=pf(r,!1),u=pf(u,!1),s=pf(s,!0),l=hf(l,hf(u,void 0));var p=c(e);if(!p)throw new Error(qd.Errors.NO_ENTRY);var h=a(p.entryName),d=o(t,l&&!p.isDirectory?l:s?h:D.default.basename(h));if(p.isDirectory)return n.getEntryChildren(p).forEach((function(e){if(e.isDirectory)return;var n=e.getData();if(!n)throw new Error(qd.Errors.CANT_EXTRACT_FILE);var c=a(e.entryName),l=o(t,s?c:D.default.basename(c));const p=u?e.header.fileAttr:void 0;i.writeFileTo(l,n,r,p)})),!0;var f=p.getData(n.password);if(!f)throw new Error(qd.Errors.CANT_EXTRACT_FILE);if(i.fs.existsSync(d)&&!r)throw new Error(qd.Errors.CANT_OVERRIDE);const m=u?e.header.fileAttr:void 0;return i.writeFileTo(d,f,r,m),!0},test:function(e){if(!n)return!1;for(var t in n.entries)try{if(t.isDirectory)continue;if(!n.entries[t].getData(e))return!1}catch(e){return!1}return!0},extractAllTo:function(e,t,s,r){if(t=pf(t,!1),r=hf(s,r),s=pf(s,!1),!n)throw new Error(qd.Errors.NO_ZIP);n.entries.forEach((function(n){var c=o(e,a(n.entryName.toString()));if(n.isDirectory)return void i.makeDir(c);var u=n.getData(r);if(!u)throw new Error(qd.Errors.CANT_EXTRACT_FILE);const l=s?n.header.fileAttr:void 0;i.writeFileTo(c,u,t,l);try{i.fs.utimesSync(c,n.header.time,n.header.time)}catch(e){throw new Error(qd.Errors.CANT_EXTRACT_FILE)}}))},extractAllToAsync:function(e,t,s,r){if(t=pf(t,!1),"function"!=typeof s||r||(r=s),s=pf(s,!1),r||(r=function(e){throw new Error(e)}),!n)return void r(new Error(qd.Errors.NO_ZIP));e=D.default.resolve(e);const c=t=>o(e,D.default.normalize(a(t.entryName.toString()))),u=(e,t)=>new Error(e+': "'+t+'"'),l=[],p=new Set;n.entries.forEach((e=>{e.isDirectory?l.push(e):p.add(e)}));for(const e of l){const t=c(e),n=s?e.header.fileAttr:void 0;try{i.makeDir(t),n&&i.fs.chmodSync(t,n),i.fs.utimesSync(t,e.header.time,e.header.time)}catch(e){r(u("Unable to create folder",t))}}const h=()=>{0===p.size&&r()};for(const n of p.values()){const c=D.default.normalize(a(n.entryName.toString())),l=o(e,c);n.getDataAsync((function(e,a){if(a)r(new Error(a));else if(e){const a=s?n.header.fileAttr:void 0;i.writeFileToAsync(l,e,t,a,(function(e){e?i.fs.utimes(l,n.header.time,n.header.time,(function(e){e?r(u("Unable to set times",l)):(h(),p.delete(n))})):r(u("Unable to write file",l))}))}else r(new Error(qd.Errors.CANT_EXTRACT_FILE))}))}h()},writeZip:function(e,t){if(1===arguments.length&&"function"==typeof e&&(t=e,e=""),!e&&r.filename&&(e=r.filename),e){var s=n.compressToBuffer();if(s){var a=i.writeFileTo(e,s,!0);"function"==typeof t&&t(a?null:new Error("failed"),"")}}},writeZipPromise:function(e,t){const{overwrite:s,perm:n}=Object.assign({overwrite:!0},t);return new Promise(((t,a)=>{!e&&r.filename&&(e=r.filename),e||a("ADM-ZIP: ZIP File Name Missing"),this.toBufferPromise().then((r=>{i.writeFileToAsync(e,r,s,n,(e=>e?t(e):a("ADM-ZIP: Wasn't able to write zip file")))}),a)}))},toBufferPromise:function(){return new Promise(((e,t)=>{n.toAsyncBuffer(e,t)}))},toBuffer:function(e,t,s,r){return this.valueOf=2,"function"==typeof e?(n.toAsyncBuffer(e,t,s,r),null):n.compressToBuffer()}}};function mf(e,t){return K(this,void 0,void 0,(function(){return Y(this,(function(s){try{new ff(e).extractAllTo(t,!0),k.default.unlinkSync(e)}catch(e){throw console.error("Error extracting template:",e),e}return[2]}))}))}function yf(e,t){return K(this,void 0,void 0,(function(){var s,r;return Y(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),console.log("Downloading template from ".concat(e,"...")),[4,G.default.ensureDir(t)];case 1:return i.sent(),s="".concat(t,"/template").concat(Date.now(),".zip"),[4,zn(e,s)];case 2:return i.sent(),console.log("Template downloaded."),[4,mf(s,t)];case 3:return i.sent(),[3,5];case 4:throw r=i.sent(),console.error("Error downloading or extracting template:"),r;case 5:return[2]}}))}))}function gf(e,t,s){return K(this,void 0,void 0,(function(){var r,i,n,a,o,c;return Y(this,(function(u){switch(u.label){case 0:return r=process.cwd(),i="".concat(r,"/").concat(s),[4,yf(t,r)];case 1:return u.sent(),[4,G.default.readdir(r,{withFileTypes:!0})];case 2:if(n=u.sent(),!(a=n.find((function(t){return t.isDirectory()&&t.name.startsWith(e.zipName||"---")}))))throw new Error("Failed to find the extracted template directory.");return o="".concat(r,"/").concat(a.name),console.log("oldPath",o),[4,G.default.pathExists(o)];case 3:return c=u.sent(),console.log("isExist: ",c),[4,G.default.rename("".concat(r,"/").concat(a.name),i)];case 4:return u.sent(),console.log('Project "'.concat(s,'" created successfully from template.')),[2]}}))}))}exports.create=function(e){return K(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u;return Y(this,(function(l){switch(l.label){case 0:s=(t=e||{}).template,r=void 0===s?"vite":s,i=t.folder,n=void 0===i?"appthen-assets-starter":i,console.log("template: ",r),l.label=1;case 1:return l.trys.push([1,6,,7]),[4,Pa("/material/templates",{},{method:"GET"})];case 2:return a=l.sent(),o=a.data,c=o.find((function(e){return e.name===r})),c?[4,gf(c,c.url,n)]:[3,4];case 3:return l.sent(),[3,5];case 4:console.log("[ERROR] ","template not found"),l.label=5;case 5:return[3,7];case 6:throw u=l.sent(),console.log("[e] ",u),u;case 7:return[2,1]}}))}))},exports.getPureValue=Dd,exports.initSolution=function(e,t){return K(this,void 0,void 0,(function(){var s,r,i,n,a,o,c,u,l,p,h,d,f;return Y(this,(function(m){switch(m.label){case 0:return m.trys.push([0,11,,12]),s=process.cwd(),r=e[0]||"hello",i=T.resolve(s,r),"."===r&&(r=T.basename(s),i=s),n=function(e){return e.replace(/hello-world/g,Sh(r)).replace(/HelloWorld/g,Ph(r)).replace(/Hello World/g,Th(r))},[4,kd(i)];case 1:m.sent(),a=[{file:".editorconfig",content:"root = true\n\n[*]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\nquote_type = single\n\n[*.md]\ntrim_trailing_whitespace = false\n"},{file:".eslintignore",content:"# 忽略目录\nnode_modules/\nbuild/\ndist/\ntest-cases/\ntest/\ntests/\noutput/\nes/\nlib/\ncoverage/\n\n# 忽略文件\n**/*.min.js\n**/*-min.js\n**/*.bundle.js\n"},{file:".eslintrc.js",content:"module.exports = {\n extends: 'eslint-config-ali/typescript/react',\n rules: {\n 'max-len': ['error', { code: 200 }],\n 'comma-dangle': 0,\n },\n};\n"},{file:".gitignore",content:"# project custom\nbuild\nes\nlib\ndist\noutput\npackage-lock.json\ndeploy-space/packages\ndeploy-space/.env\ngenerated\n\n# IDE\n.vscode\n.idea\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\nlib\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# next.js build output\n.next\n\n# nuxt.js build output\n.nuxt\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# mac config files\n.DS_Store\n\n# codealike\ncodealike.json\n.node\n"},{file:".prettierignore",content:"/test-cases/"},{file:".prettierrc",content:'{\n "tabWidth": 2,\n "singleQuote": true,\n "trailingComma": "es5"\n}\n'},{file:"CHANGELOG.md",content:""},{file:"CONTRIBUTING.md",content:"# 欢迎共建\n\n# 注意\n\n- 注意解决 eslint 问题\n- 注意代码格式化 -- 建议安装 prettier 插件\n- 发布前注意要跑通 demo 和所有的单测\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n\n## 本地跑单测\n\n```sh\n> npm test\n```\n"},{file:"README.md",content:"# 低代码出码自定义方案之 Hello World\n\n## 直接执行\n\n```sh\n> npx ali-lowcode-solution-hello-world demo-schema.json\n```\n\n## 本地调试运行 Demo\n\n```sh\n> npm run demo\n```\n"},{file:"demo-schema.json",content:'{\n "version": "1.0.0",\n "componentsMap": [\n {\n "componentName": "Button",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button"\n },\n {\n "componentName": "Button.Group",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Button",\n "subName": "Group"\n },\n {\n "componentName": "Input",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Input"\n },\n {\n "componentName": "Form",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form"\n },\n {\n "componentName": "Form.Item",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Form",\n "subName": "Item"\n },\n {\n "componentName": "NumberPicker",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "NumberPicker"\n },\n {\n "componentName": "Select",\n "package": "@alifd/next",\n "version": "1.19.18",\n "destructuring": true,\n "exportName": "Select"\n }\n ],\n "componentsTree": [\n {\n "componentName": "Page",\n "id": "node$1",\n "meta": {\n "title": "测试",\n "router": "/"\n },\n "props": {\n "ref": "outterView",\n "autoLoading": true\n },\n "fileName": "test",\n "state": {\n "text": "outter"\n },\n "lifeCycles": {\n "componentDidMount": {\n "type": "IPublicTypeJSExpression",\n "value": "function() { console.log(\'componentDidMount\'); }"\n }\n },\n "methodsModule": {\n "type": "JSModule",\n "source": "export function helloWorld() {\\n console.log(\'Hello world!\');\\n}\\n"\n },\n "dataSource": {\n "list": [\n {\n "id": "urlParams",\n "type": "urlParams"\n },\n\n {\n "id": "user",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/user",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data;\\n}"\n }\n },\n\n {\n "id": "orders",\n "type": "fetch",\n "options": {\n "method": "GET",\n "uri": "https://shs.xxx.com/mock/1458/demo/orders",\n "isSync": true\n },\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (response) {\\nif (!response.data.success){\\n throw new Error(response.data.message);\\n }\\n return response.data.data.result;\\n}"\n }\n }\n ],\n "dataHandler": {\n "type": "IPublicTypeJSExpression",\n "value": "function (dataMap) {\\n console.info(\\"All datasources loaded:\\", dataMap);\\n}"\n }\n },\n "children": [\n {\n "componentName": "Form",\n "id": "node$2",\n "props": {\n "labelCol": {\n "type": "IPublicTypeJSExpression",\n "value": "this.state.colNum"\n },\n "style": {},\n "ref": "testForm"\n },\n "children": [\n {\n "componentName": "Form.Item",\n "id": "node$3",\n "props": {\n "label": "姓名:",\n "name": "name",\n "initValue": "李雷"\n },\n "children": [\n {\n "componentName": "Input",\n "id": "node$4",\n "props": {\n "placeholder": "请输入",\n "size": "medium",\n "style": {\n "width": 320\n }\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$5",\n "props": {\n "label": "年龄:",\n "name": "age",\n "initValue": "22"\n },\n "children": [\n {\n "componentName": "NumberPicker",\n "id": "node$6",\n "props": {\n "size": "medium",\n "type": "normal"\n }\n }\n ]\n },\n {\n "componentName": "Form.Item",\n "id": "node$7",\n "props": {\n "label": "职业:",\n "name": "profession"\n },\n "children": [\n {\n "componentName": "Select",\n "id": "node$8",\n "props": {\n "dataSource": [\n {\n "label": "教师",\n "value": "t"\n },\n {\n "label": "医生",\n "value": "d"\n },\n {\n "label": "歌手",\n "value": "s"\n }\n ]\n }\n }\n ]\n },\n {\n "componentName": "Div",\n "id": "node$9",\n "props": {\n "style": {\n "textAlign": "center"\n }\n },\n "children": [\n {\n "componentName": "Button.Group",\n "id": "node$a",\n "props": {},\n "children": [\n {\n "componentName": "Button",\n "id": "node$b",\n "condition": {\n "type": "IPublicTypeJSExpression",\n "value": "this.index >= 1"\n },\n "loop": ["a", "b", "c"],\n "props": {\n "type": "primary",\n "style": {\n "margin": "0 5px 0 5px"\n }\n },\n "children": [\n {\n "type": "IPublicTypeJSExpression",\n "value": "this.item"\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ],\n "constants": {\n "ENV": "prod",\n "DOMAIN": "xxx.xxx.com"\n },\n "css": "body {font-size: 12px;} .table { width: 100px;}",\n "config": {\n "sdkVersion": "1.0.3",\n "historyMode": "hash",\n "targetRootID": "J_Container",\n "layout": {\n "componentName": "BasicLayout",\n "props": {\n "logo": "...",\n "name": "测试网站"\n }\n },\n "theme": {\n "package": "@alife/theme-fusion",\n "version": "^0.1.0",\n "primary": "#ff9966"\n }\n },\n "meta": {\n "name": "demo应用",\n "git_group": "appGroup",\n "project_name": "app_demo",\n "description": "这是一个测试应用",\n "spma": "spa23d",\n "creator": "月飞"\n }\n}\n'},{file:"jest.config.js",content:"module.exports = {\n preset: 'ts-jest',\n testEnvironment: 'node',\n testPathIgnorePatterns: ['/node_modules/', '/test-cases/', '/static-files/', '/lib/'],\n};\n"},{file:"package.json",content:'{\n "name": "ali-lowcode-solution-hello-world",\n "version": "1.0.0",\n "description": "AlLowCode Code Generate Solution - Hello World",\n "files": [\n "src",\n "lib",\n "tests",\n "jest.config.js",\n ".editorconfig",\n ".eslintignore",\n ".eslintrc.js",\n ".gitignore",\n ".prettierignore",\n ".prettierrc",\n "CHANGELOG.md",\n "CONTRIBUTING.md",\n "demo-schema.json",\n "package.json",\n "README.md",\n "tsconfig.json"\n ],\n "main": "lib/index.js",\n "scripts": {\n "start": "jest --watch",\n "build": "npm run clean && concurrently \'npm run build:ts\' \'npm run lint\'",\n "build:ts": "tsc",\n "check:type": "tsc -p . --noEmit",\n "clean": "rm -rf build dist lib generated",\n "dev": "build-scripts start",\n "lint": "eslint --ext .tsx,.ts,.js,.jsx src",\n "lintfix": "eslint --fix --color --ext .tsx,.ts,.js,.jsx src",\n "lint-staged": "lint-staged",\n "prepublishOnly": "npm run build",\n "postpublish": "git push origin master --tags",\n "test": "jest",\n "test:watch": "jest --watch",\n "test:update-snapshots": "cross-env UPDATE_EXPECTED=true npx jest",\n "demo": "npm run build && npx @alilc/lowcode-code-generator --solution . --output generated demo-schema.json"\n },\n "repository": {\n "type": "git",\n "url": "git@github.com:your-name/ali-lowcode-solution-hello-world.git"\n },\n "author": "",\n "license": "ISC",\n "publishConfig": {\n "registry": "https://registry.npm.xxx.com"\n },\n "dependencies": {\n "@alilc/lowcode-code-generator": "^1.0.0-beta.16",\n "@alilc/lowcode-types": "^1.0.0-beta.21",\n "tslib": "^2.3.0"\n },\n "devDependencies": {\n "@types/async": "^3.2.3",\n "@types/jest": "^26.0.17",\n "@typescript-eslint/eslint-plugin": "^4.28.4",\n "@typescript-eslint/parser": "^4.28.4",\n "async": "^3.2.0",\n "babel-runtime": "^6.26.0",\n "concurrently": "^5.2.0",\n "cross-env": "^7.0.0",\n "debug": "^4.1.1",\n "eslint": "^7.31.0",\n "eslint-config-ali": "^12.1.0",\n "eslint-plugin-import": "^2.23.4",\n "eslint-plugin-react": "^7.24.0",\n "eslint-plugin-react-hooks": "^4.2.0",\n "glob": "^7.2.0",\n "husky": "4.2.5",\n "jest": "^26.6.3",\n "json5": "^2.2.0",\n "lint-staged": "10.1.x",\n "lodash": "^4.17.21",\n "md5": "^2.2.1",\n "prettier": "^2.3.2",\n "ts-jest": "^26.4.4",\n "ts-node": "^9.0.0",\n "typescript": "4.x"\n }\n}\n'},{file:"tsconfig.json",content:'{\n "compilerOptions": {\n "esModuleInterop": true,\n "declaration": true,\n "experimentalDecorators": true,\n "forceConsistentCasingInFileNames": true,\n "importHelpers": true,\n "incremental": false,\n "jsx": "react",\n "moduleResolution": "node",\n "resolveJsonModule": true,\n "skipLibCheck": true,\n "sourceMap": true,\n "strict": true,\n "stripInternal": true,\n "outDir": "./lib",\n "declarationDir": "./lib",\n "rootDirs": ["./src"],\n "target": "es6",\n "module": "commonjs",\n "lib": ["esnext"],\n "types": ["jest", "node"],\n "noUnusedLocals": false,\n "noUnusedParameters": false\n },\n "include": ["src/**/*", "typings/**/*"]\n}\n'},{file:"src/index.ts",content:"import CodeGen from '@alilc/lowcode-code-generator';\n\nimport examplePlugin from './plugins/example';\n\nexport default function createHelloWorldProjectBuilder() {\n return CodeGen.createProjectBuilder({\n template: CodeGen.solutionParts.icejs.template,\n plugins: {\n components: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n pages: [\n CodeGen.plugins.react.reactCommonDeps(),\n CodeGen.plugins.common.esmodule({ fileType: 'jsx' }),\n CodeGen.plugins.react.containerClass(),\n CodeGen.plugins.react.containerInjectContext(),\n CodeGen.plugins.react.containerInjectUtils(),\n CodeGen.plugins.react.containerInjectDataSourceEngine(),\n CodeGen.plugins.react.containerInjectI18n(),\n CodeGen.plugins.react.containerInitState(),\n CodeGen.plugins.react.containerLifeCycle(),\n CodeGen.plugins.react.containerMethod(),\n examplePlugin(),\n CodeGen.plugins.react.jsx({\n nodeTypeMapping: {\n Div: 'div',\n Component: 'div',\n Page: 'div',\n Block: 'div',\n },\n }),\n CodeGen.plugins.style.css(),\n ],\n router: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.solutionParts.icejs.plugins.router(),\n ],\n entry: [CodeGen.solutionParts.icejs.plugins.entry()],\n constants: [CodeGen.plugins.project.constants()],\n utils: [\n CodeGen.plugins.common.esmodule(),\n CodeGen.plugins.project.utils('react'),\n ],\n i18n: [CodeGen.plugins.project.i18n()],\n globalStyle: [CodeGen.solutionParts.icejs.plugins.globalStyle()],\n htmlEntry: [CodeGen.solutionParts.icejs.plugins.entryHtml()],\n packageJSON: [CodeGen.solutionParts.icejs.plugins.packageJSON()],\n },\n postProcessors: [CodeGen.postprocessor.prettier()],\n });\n}\n"},{file:"src/plugins/example.ts",content:"import {\n ICodeStruct,\n BuilderComponentPlugin,\n BuilderComponentPluginFactory,\n FileType,\n ChunkType,\n IContainerInfo,\n COMMON_CHUNK_NAME,\n CLASS_DEFINE_CHUNK_NAME,\n DEFAULT_LINK_AFTER,\n} from '@alilc/lowcode-code-generator';\n\nexport interface PluginConfig {\n fileType: string;\n}\n\nconst pluginFactory: BuilderComponentPluginFactory<PluginConfig> = (\n config?\n) => {\n const cfg: PluginConfig = {\n fileType: FileType.JSX,\n ...config,\n };\n\n const plugin: BuilderComponentPlugin = async (pre: ICodeStruct) => {\n const next: ICodeStruct = {\n ...pre,\n };\n\n const ir = next.ir as IContainerInfo & {\n methodsModule?: {\n type?: 'JSModule';\n source?: string;\n };\n };\n\n if (ir.methodsModule?.type !== 'JSModule' || !ir.methodsModule?.source) {\n return next;\n }\n\n // 创建 methods.jsx\n next.chunks.push({\n type: ChunkType.STRING,\n subModule: 'methods',\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.CustomContent,\n content: ir.methodsModule.source,\n linkAfter: [],\n });\n\n // 引入对应的模块\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: COMMON_CHUNK_NAME.InternalDepsImport,\n content: \"import __$$methodsModule from './methods';\",\n linkAfter: [...DEFAULT_LINK_AFTER[COMMON_CHUNK_NAME.InternalDepsImport]],\n });\n\n // 将导出的东东都放到 class 上实例方法部分\n next.chunks.push({\n type: ChunkType.STRING,\n fileType: cfg.fileType,\n name: CLASS_DEFINE_CHUNK_NAME.ConstructorContent,\n content: 'Object.assign(this, __$$methodsModule);',\n linkAfter: [\n ...DEFAULT_LINK_AFTER[CLASS_DEFINE_CHUNK_NAME.ConstructorContent],\n ],\n });\n\n return next;\n };\n\n return plugin;\n};\n\nexport default pluginFactory;\n"},{file:"tests/basic.test.ts",content:"test('basic functions should be ok', () => {\n // 这里放一些单元测试\n expect(0).toBe(0);\n});\n"}],m.label=2;case 2:m.trys.push([2,8,9,10]),o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,s=t&&e[t],r=0;if(s)return s.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(a),c=o.next(),m.label=3;case 3:return c.done?[3,7]:(u=c.value,t.verbose&&console.log("%s",Ke.gray("creating file ".concat(u.file))),l=T.join(i,u.file),[4,kd(T.dirname(l))]);case 4:return m.sent(),[4,V.writeFile(l,n(u.content),{encoding:"utf-8"})];case 5:m.sent(),m.label=6;case 6:return c=o.next(),[3,3];case 7:return[3,10];case 8:return p=m.sent(),d={error:p},[3,10];case 9:try{c&&!c.done&&(f=o.return)&&f.call(o)}finally{if(d)throw d.error}return[7];case 10:return t.quiet||console.log("%s",Ke.green("solution ".concat(r," created successfully"))),[2,0];case 11:return h=m.sent(),console.log(Ke.red(Ye(h)||"Unexpected error: ".concat(h))),"object"==typeof h&&(null==h?void 0:h.stack)&&t.verbose&&console.log(Ke.gray(h.stack)),[2,1];case 12:return[2]}}))}))},exports.releaseMaterial=function(e){return K(this,void 0,void 0,(function(){var t,s,r,i,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,C,A;return Y(this,(function(w){switch(w.label){case 0:return(t=e.auth)&&Sa(t),s=process.cwd(),r="build/lowcode",i=D.default.resolve(process.cwd(),r),(n=P.existsSync(i))||(i=D.default.resolve(process.cwd(),"dist")),[4,function(e){return Promise.resolve().then((function(){return E(require(e))}))}(D.default.resolve(process.cwd(),"package.json"))];case 1:return a=w.sent(),o=a.name,c=a.version,n&&(console.log("lceViewJS: ",D.default.resolve(process.cwd(),r,"view.js")),p=P.readFileSync(D.default.resolve(process.cwd(),r,"view.js"),"utf-8"),u=Pd(p),h=P.readFileSync(D.default.resolve(process.cwd(),r,"meta.js"),"utf-8"),l=Pd(h)),console.log("Uploading material..."),[4,Qe(i+"/")];case 2:d=w.sent(),f=[],m=0,w.label=3;case 3:return m<d.length?(y=d[m],(g=P.readFileSync(y.path+"/"+y.fileName,"utf-8"))&&0!==g.trim().length?[3,4]:(console.log("File is empty Do not Upload: ",y.path+"/"+y.fileName),[3,6])):[3,7];case 4:return x="".concat(o,"/").concat(c,"/")+(y.path.split("".concat(s,"/").concat(r,"/"))[1]||"")+y.fileName,[4,Sd(y,{t:1,route:"material",path:x})];case 5:v=w.sent(),f.push(v),w.label=6;case 6:return m++,[3,3];case 7:return console.log("Npm Name: ",o),console.log("Npm Version: ",c),n?(b=f.find((function(e){return e.key.includes("".concat(c,"/view.js"))})),C=f.find((function(e){return e.key.includes("".concat(c,"/view.css"))})),A=f.find((function(e){return e.key.includes("".concat(c,"/meta.js"))})),console.log("Npm Export Name: ",u),console.log("Npm Js Url: ",null==b?void 0:b.url),console.log("Npm Css Url: ",null==C?void 0:C.url),console.log("Meta Export Name: ",l),console.log("Meta Url: ",null==A?void 0:A.url)):f.length>0&&f.forEach((function(e){console.log("File Name: ",e.key),console.log("File Url: ",e.url)})),[2,1]}}))}))},exports.run=function(e,t){var s,r,i;return K(this,void 0,void 0,(function(){var e,n,a,o,c,u,l,p,h,d,f,m,y,g,x,v,b,E,C,w,T,k,N,F,O,L,B,j,M,R,U,q,$;return Y(this,(function(z){switch(z.label){case 0:e=D.default.join(A.default.homedir(),".cache","mengti_temp"),n=D.default.join(A.default.homedir(),".cache","mengti_translate"),t.clear&&et(n),a=D.default.join(process.cwd()+"/"+(t.output||""))+"$__cacheTime",z.label=1;case 1:return z.trys.push([1,11,,12]),o=Ia.getKey(a),console.log("[最后同步时间] ",o?new Date(Number(o)).toLocaleString():"无"),c=o&&!t.clear?Number(o):0,Sa(t.auth),[4,wd({projectId:t.id,auth:t.auth,filter:t.filter,folder:t.folder,frame:t.frame,afterTime:c})];case 2:return u=z.sent(),l=u.schema,p=u.project,h=u.documents,d=u.componentDocs,f=u.packageJSON,m=p.documents||[],y=m.map((function(e){return e.fileName})),p&&0!==h.length?(g=t.frame||p.type,v=(x="web"===g)?"vite":"taro",b=t.output,E=function(e){return S.default.createProjectBuilder({template:Nh.template,plugins:{components:[qh(),Kh({fileType:"jsx"}),zh(e),Hh(e),Rh(),S.default.plugins.react.containerInitState(),S.default.plugins.react.containerLifeCycle(),Vh(),Ih(),ld({nodeTypeMapping:{Div:"View",Component:"React.Fragment",Page:"View",Block:"React.Fragment"}}),S.default.plugins.style.css()],pages:[qh(),Kh({fileType:"jsx"}),zh(e),Hh(e),Rh(),S.default.plugins.react.containerInitState(),S.default.plugins.react.containerLifeCycle(),Vh(),Ih(),ld({nodeTypeMapping:{Div:"div",Component:"React.Fragment",Page:"Page",Block:"React.Fragment"}}),S.default.plugins.style.css()],router:[S.default.plugins.common.esmodule(),Nh.plugins.router()],entry:[Nh.plugins.entry()],constants:[S.default.plugins.project.constants()],utils:[S.default.plugins.common.esmodule(),vd("react")],i18n:[S.default.plugins.project.i18n()],globalStyle:[Nh.plugins.globalStyle()],htmlEntry:[Nh.plugins.entryHtml()],packageJSON:[Nh.plugins.packageJSON()]},postProcessors:[xd()]})}({type:g,solution:v}),t.env&&(C=null===(r=null===(s=p.envInfo)||void 0===s?void 0:s.list)||void 0===r?void 0:r.find((function(e){return e.alias===t.env})),C&&(l.constants=X(X({},l.constants),Dd(C.data)))),[4,E.generateProject(l)]):(console.log(Ke.yellow("提示:无文件更新,请确认是否保存!如需更新全部,请勾选清除缓存")),[2,0]);case 3:return(w=z.sent()).files=w.files.filter((function(e){return"css"===e.ext||"jsx"===e.ext})),T=S.default.publishers.disk(),et(e),[4,T.publish({project:w,outputPath:e,projectSlug:"example",createProjectFolder:!1})];case 4:return z.sent(),Ad.existsSync("./".concat(b,"/"))||Ad.mkdirSync("./".concat(b,"/"),{recursive:!0}),k=function(e){return e.path==="./".concat(b,"/")?"".concat(null==b?void 0:b.replace("src/",""),"/").concat(e.fileName.split(".")[0]):"".concat(null==b?void 0:b.replace("src/",""),"/").concat(e.name,"/index")},[4,Qe("./".concat(b,"/"))];case 5:return N=z.sent(),[4,Qe(e+"/")];case 6:F=z.sent(),O={components:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return y.includes(e)})),pages:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).map((function(e){return e.name})).filter((function(e){return y.includes(e)})),pageUrls:N.filter((function(e){return["tsx","jsx"].includes(e.ext)&&e.path.includes("pages")&&!e.path.includes("components")})).filter((function(e){return y.includes(e.name)})).map((function(e){return k(e)}))},L=function(t){var s,r,i,n,a,o,c,u,f,m,y,g,E,C,A,w,D,T;return Y(this,(function(S){switch(S.label){case 0:return(s=F[t]).path.includes("/BasicLayout/")?[3,10]:(r=s.name,"js"!==(i=s.ext)||"utils.js"!==s.fileName?[3,2]:[4,fo(s,l,p,v)]);case 1:S.sent(),S.label=2;case 2:return"css"!==i&&"scss"!==i||(n=s.path+"/"+s.fileName,"taro"===v?(Ad.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("css","scss")),n=s.path+"/"+s.fileName.replace("css","scss")):"scss"===i&&(Ad.renameSync(s.path+"/"+s.fileName,s.path+"/"+s.fileName.replace("scss","css")),n=s.path+"/"+s.fileName.replace("scss","css")),(a=Ad.readFileSync(n,"utf8"))&&a.includes("calc")&&Ad.writeFileSync(n,a.replace(/ /g," "),"utf8")),"jsx"!==i&&"tsx"!==i?[3,10]:(o=h.concat(d).find((function(e){return e.fileName.toLowerCase()===r.toLowerCase()})),"Page"===(null==o?void 0:o.type)&&(O.pages.includes(r)||(O.pages.push(r),O.pageUrls.push(k(s)))),"Component"===(null==o?void 0:o.type)&&(O.components.includes(r)||O.components.push(r)),console.log("TRANSFORM_TSX ===> ",s.name),[4,hr(s,v,b)]);case 3:for(c=S.sent(),u=c.code,f=c.images,m=c.svgs,Ad.writeFileSync(s.path+"/"+s.fileName,u),Ad.renameSync(s.path+"/"+s.fileName,s.path+"/"+(x?s.fileName:s.fileName.replace("jsx","tsx"))),x||"Page"!==(null==o?void 0:o.type)||((y=["export default definePageConfig({"]).push(" navigationBarTitleText: '".concat(o.title,"',")),y.push(" navigationStyle: '".concat("custom","',")),y.push(" disableScroll: true,"),y.push("})"),Ad.writeFileSync(s.path+"/index.config.ts",y.join("\n"))),g=[],E=[],A=0;A<m.length;A++)if((C=m[A]).svgStr&&C.fileName)try{Ad.existsSync(s.path+"/icons")||Ad.mkdirSync(s.path+"/icons"),Ad.writeFileSync(s.path+"/icons/"+C.fileName+".svg",C.svgStr),g.push("import ".concat(C.fileName," from './").concat(C.fileName,".svg").concat("vite"===v?"?raw":"","';")),E.push(" ".concat(C.fileName,","))}catch(e){console.log("[saveSvg Error] ",e)}g.length>0&&Ad.writeFileSync(s.path+"/icons/index.ts",g.concat(["const ICONS = {"]).concat(E).concat(["}"]).concat("export default ICONS;").join("\n")),A=0,S.label=4;case 4:if(!(A<f.length))return[3,9];if(!(w=f[A]).url||!w.fileName)return[3,8];S.label=5;case 5:return S.trys.push([5,7,,8]),Ad.existsSync(s.path+"/images")||Ad.mkdirSync(s.path+"/images"),[4,zn(w.url,s.path+"/images/"+w.fileName)];case 6:return S.sent(),[3,8];case 7:return D=S.sent(),console.log("[downloadFile Error] ",D),[3,8];case 8:return A++,[3,4];case 9:T="./".concat(b,"/").concat(s.name),"Component"===(null==o?void 0:o.type)&&(T="./".concat(b,"/components/").concat(s.name)),Ad.existsSync(T)&&et(T),"Page"===(null==o?void 0:o.type)&&Ad.copySync("".concat(e,"/src/pages/").concat(s.name),T),"Component"===(null==o?void 0:o.type)&&Ad.copySync("".concat(e,"/src/components/").concat(s.name),T),S.label=10;case 10:return[2]}}))},B=0,z.label=7;case 7:return B<F.length?[5,L(B)]:[3,10];case 8:z.sent(),z.label=9;case 9:return B++,[3,7];case 10:return Ia.setKey(a,String(Date.now())),(j=null===(i=p.appConfig)||void 0===i?void 0:i.indexPage)&&(O.pages=O.pages.sort((function(e,t){return e===j?-1:t===j?1:0})),M=O.pageUrls.find((function(e){return e.includes("/".concat(j,"/"))})),O.pageUrls=O.pageUrls.sort((function(e,t){return e===M?-1:t===M?1:0}))),Ad.writeFileSync("./".concat(b,"/map.json"),JSON.stringify(O)),"vite"===v?(R=Ad.readFileSync("".concat(e,"/src/global.css"),"utf-8"),U=R.split("\n").slice(6).join("\n"),Ad.writeFileSync("./src/App.css",U)):console.log("Taro 端全局样式需要适配..."),Ad.copyFileSync("".concat(e,"/src/utils.js"),"./src/utils/utils.js"),Ad.copyFileSync("".concat(e,"/src/constants.js"),"./src/utils/constants.js"),q=function(e,t,s){var r,i='import { registerPartalComponent } from "'.concat("vite"===s?"@appthen/react/lib/utils/index.js":"cross-ui/utils",'";\n'),n="const partalComponentMaps = {\n",a=null===(r=e.documents)||void 0===r?void 0:r.filter((function(e){return e.portal}));return a.forEach((function(e){i="".concat(i,"import ").concat(e.fileName," from '../").concat(null==t?void 0:t.replace("src/",""),"/components/").concat(e.fileName,"';\n"),n="".concat(n," ").concat(e.fileName,",\n")})),n="".concat(n,"};"),i?"".concat(i,"\n").concat(n,"\nregisterPartalComponent(partalComponentMaps);"):""}(p,b,v),Ad.writeFileSync("./src/utils/portal.js",q),x?(function(e,t,s){var r,i,n,a,o=P.readFileSync("./src/App.jsx","utf8"),c=st("".concat(o),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]});c.program.body=c.program.body.filter((function(e){var t,s,r,i;return!("VariableDeclaration"===e.type&&"lazy"===(null===(i=null===(r=null===(s=null===(t=e.declarations)||void 0===t?void 0:t[0])||void 0===s?void 0:s.init)||void 0===r?void 0:r.callee)||void 0===i?void 0:i.name))}));var u=bd(e);if(u){var l=u.fileLazyImports,p=u.routeElements;_.default(c,{Program:function(e){var t=e.node.body,s=t.findIndex((function(e){return"ExportDefaultDeclaration"===e.type}));t.splice.apply(t,Q([s,0],Z(l),!1))},JSXElement:function(e){var t,s,r=e.node;"Routes"===(null===(s=null===(t=r.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)&&(r.children=p)}})}var h=e.schema.config;if(null===(r=null==h?void 0:h.layout)||void 0===r?void 0:r.componentName){var d=h.layout,f=d.componentName,m=d.props,y=Ed("\n <".concat(f,"\n ").concat(Object.keys(m||{}).map((function(e){var t="";return"string"==typeof m[e]?t="'".concat(m[e],"'"):"number"==typeof m[e]?t="".concat(m[e]):"object"==typeof m[e]&&(t="{".concat(JSON.stringify(m[e]),"}")),"".concat(e,"=").concat(t)})).join("\n"),"\n ><AntdApp></AntdApp></").concat(f,">\n ")).expression,g=!1;_.default(c,{JSXElement:function(e){var t,s,r,i,n=e.node;"ConfigProvider"!==(null===(s=null===(t=n.openingElement)||void 0===t?void 0:t.name)||void 0===s?void 0:s.name)||g||(y.children[0].children=n.children,e.replaceWith(y),g=!0),"HashRouter"!==(null===(i=null===(r=n.openingElement)||void 0===r?void 0:r.name)||void 0===i?void 0:i.name)||g||(y.children[0].children=[n],e.replaceWith(y),g=!0)}})}var x=or(c).code;!(null===(a=null===(n=null===(i=e.schema)||void 0===i?void 0:i.config)||void 0===n?void 0:n.layout)||void 0===a?void 0:a.componentName)||x.includes("from 'antd'")||x.includes('from "antd"')||(x="import { ConfigProvider, App as AntdApp } from 'antd';\n".concat(x)),P.writeFileSync("./src/App.jsx",x,"utf8")}(p),function(e){var t=P.readFileSync("./package.json","utf8"),s=JSON.parse(t);s.dependencies=e.dependencies,P.writeFileSync("./package.json",JSON.stringify(s),"utf8")}(f)):function(e,t,s){if("web"!==e){var r=t.appConfig||{};r.pages||(r.pages=s.pageUrls),r.window||(r.window={backgroundTextStyle:"light",navigationBarBackgroundColor:"#fff",navigationBarTitleText:t.title,navigationBarTextStyle:"black"});var i="./src/app.config.ts",n=P.readFileSync(i,"utf-8"),a=st("".concat(n),{sourceType:"module",plugins:["jsx","typescript","decorators-legacy"]}),o=new Set;_.default(a,{ObjectExpression:function(e){var t,s;"defineAppConfig"!==(null===(t=e.parent.callee)||void 0===t?void 0:t.name)||o.has("defineAppConfig")||((null===(s=e.node.properties)||void 0===s?void 0:s.length)>0&&Object.keys(r).filter((function(e){return!["indexPage"].includes(e)})).forEach((function(t){var s,i,n,a,o,c=e.node.properties.findIndex((function(e){return e.key.name===t})),u=mo(r[t]);if(c>=0){var l=e.node.properties[c];if("pages"===(null===(s=null==l?void 0:l.key)||void 0===s?void 0:s.name)&&"ArrayExpression"!==(null===(i=l.value)||void 0===i?void 0:i.type)){var p=I.program([I.variableDeclaration("const",[I.variableDeclarator(I.identifier("name"),I.objectExpression([l]))])]);_.default(p,{ArrayExpression:function(e){e.replaceWith(u)}}),I.isVariableDeclaration(p.body[0])&&(e.node.properties[c].value=null===(o=null===(a=null===(n=p.body[0].declarations[0].init)||void 0===n?void 0:n.properties)||void 0===a?void 0:a[0])||void 0===o?void 0:o.value)}else e.node.properties[c].value=u}else e.node.properties.push(I.objectProperty(I.identifier(t),u))})),o.add("defineAppConfig"))}});var c=or(a,{jsescOption:{minimal:!0}}).code;P.writeFileSync(i,c)}}(t.frame||p.type,p,O),Ia.save(),[2,0];case 11:return $=z.sent(),console.log(Ke.red(Ye($)||"Unexpected error: ".concat($))),Ia.removeKey(a),Ia.save(),"object"==typeof $&&(null==$?void 0:$.stack)&&t.verbose&&console.log(Ke.gray($.stack)),[2,1];case 12:return[2]}}))}))};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appthen/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.20",
|
|
4
4
|
"description": "Appthen Cli Tool",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"build:old": "npm run clean && concurrently 'npm run build:ts' 'npm run lint'",
|
|
28
28
|
"build:ts": "tsc",
|
|
29
29
|
"build": "rollup --config rollup.config.js",
|
|
30
|
+
"publish": "npm publish --access public --registry https://registry.npmjs.org && cnpm sync @appthen/cli",
|
|
30
31
|
"check:type": "tsc -p . --noEmit",
|
|
31
32
|
"clean": "rm -rf build dist lib generated",
|
|
32
33
|
"dev": "build-scripts start",
|