vue hello world项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

45 lines
105 KiB

var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t={exports:{}};const n=function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const 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 r={exports:{}};const i=e=>!Number.isNaN(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));r.exports=i,r.exports.default=i;const s=e=>"string"==typeof e?e.replace(n(),""):e,u=r.exports,a=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\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\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])|\uD83C[\uDF3E\uDF73\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])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\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])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\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\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\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\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*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\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\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\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[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},o=e=>{if("string"!=typeof e||0===e.length)return 0;if(0===(e=s(e)).length)return 0;e=e.replace(a()," ");let t=0;for(let n=0;n<e.length;n++){const r=e.codePointAt(n);r<=31||r>=127&&r<=159||(r>=768&&r<=879||(r>65535&&n++,t+=u(r)?2:1))}return t};t.exports=o,t.exports.default=o;var c=e=>e[e.length-1];function D(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var p=function(e){return e&&e.Math==Math&&e},h=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof e&&e)||function(){return this}()||Function("return this")(),d={},f=function(e){try{return!!e()}catch(e){return!0}},E=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=Function.prototype.call,C=v.bind?v.bind(v):function(){return v.apply(v,arguments)},g={},F={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,y=m&&!F.call({1:2},1);g.f=y?function(e){var t=m(this,e);return!!t&&t.enumerable}:F;var x,A,S=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},w=Function.prototype,I=w.bind,O=w.call,b=I&&I.bind(O),N=I?function(e){return e&&b(O,e)}:function(e){return e&&function(){return O.apply(e,arguments)}},B=N,P=B({}.toString),T=B("".slice),R=function(e){return T(P(e),8,-1)},L=N,k=f,_=R,M=h.Object,j=L("".split),G=k((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==_(e)?j(e,""):M(e)}:M,K=h.TypeError,U=function(e){if(null==e)throw K("Can't call method on "+e);return e},W=G,$=U,V=function(e){return W($(e))},X=function(e){return"function"==typeof e},z=X,q=function(e){return"object"==typeof e?null!==e:z(e)},Q=h,Y=X,H=function(e){return Y(e)?e:void 0},J=function(e,t){return arguments.length<2?H(Q[e]):Q[e]&&Q[e][t]},Z=N({}.isPrototypeOf),ee=J("navigator","userAgent")||"",te=h,ne=ee,re=te.process,ie=te.Deno,se=re&&re.versions||ie&&ie.version,ue=se&&se.v8;ue&&(A=(x=ue.split("."))[0]>0&&x[0]<4?1:+(x[0]+x[1])),!A&&ne&&(!(x=ne.match(/Edge\/(\d+)/))||x[1]>=74)&&(x=ne.match(/Chrome\/(\d+)/))&&(A=+x[1]);var ae=A,oe=ae,ce=f,De=!!Object.getOwnPropertySymbols&&!ce((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&oe&&oe<41})),le=De&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pe=J,he=X,de=Z,fe=le,Ee=h.Object,ve=fe?function(e){return"symbol"==typeof e}:function(e){var t=pe("Symbol");return he(t)&&de(t.prototype,Ee(e))},Ce=h.String,ge=function(e){try{return Ce(e)}catch(e){return"Object"}},Fe=X,me=ge,ye=h.TypeError,xe=function(e){if(Fe(e))return e;throw ye(me(e)+" is not a function")},Ae=xe,Se=function(e,t){var n=e[t];return null==n?void 0:Ae(n)},we=C,Ie=X,Oe=q,be=h.TypeError,Ne={exports:{}},Be=h,Pe=Object.defineProperty,Te=function(e,t){try{Pe(Be,e,{value:t,configurable:!0,writable:!0})}catch(n){Be[e]=t}return t},Re=Te,Le=h["__core-js_shared__"]||Re("__core-js_shared__",{}),ke=Le;(Ne.exports=function(e,t){return ke[e]||(ke[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.1",mode:"global",copyright:"\xa9 2021 Denis Pushkarev (zloirock.ru)"});var _e=U,Me=h.Object,je=function(e){return Me(_e(e))},Ge=je,Ke=N({}.hasOwnProperty),Ue=Object.hasOwn||function(e,t){return Ke(Ge(e),t)},We=N,$e=0,Ve=Math.random(),Xe=We(1..toString),ze=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Xe(++$e+Ve,36)},qe=h,Qe=Ne.exports,Ye=Ue,He=ze,Je=De,Ze=le,et=Qe("wks"),tt=qe.Symbol,nt=tt&&tt.for,rt=Ze?tt:tt&&tt.withoutSetter||He,it=function(e){if(!Ye(et,e)||!Je&&"string"!=typeof et[e]){var t="Symbol."+e;Je&&Ye(tt,e)?et[e]=tt[e]:et[e]=Ze&&nt?nt(t):rt(t)}return et[e]},st=C,ut=q,at=ve,ot=Se,ct=function(e,t){var n,r;if("string"===t&&Ie(n=e.toString)&&!Oe(r=we(n,e)))return r;if(Ie(n=e.valueOf)&&!Oe(r=we(n,e)))return r;if("string"!==t&&Ie(n=e.toString)&&!Oe(r=we(n,e)))return r;throw be("Can't convert object to primitive value")},Dt=it,lt=h.TypeError,pt=Dt("toPrimitive"),ht=function(e,t){if(!ut(e)||at(e))return e;var n,r=ot(e,pt);if(r){if(void 0===t&&(t="default"),n=st(r,e,t),!ut(n)||at(n))return n;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},dt=ve,ft=function(e){var t=ht(e,"string");return dt(t)?t:t+""},Et=q,vt=h.document,Ct=Et(vt)&&Et(vt.createElement),gt=function(e){return Ct?vt.createElement(e):{}},Ft=!E&&!f((function(){return 7!=Object.defineProperty(gt("div"),"a",{get:function(){return 7}}).a})),mt=E,yt=C,xt=g,At=S,St=V,wt=ft,It=Ue,Ot=Ft,bt=Object.getOwnPropertyDescriptor;d.f=mt?bt:function(e,t){if(e=St(e),t=wt(t),Ot)try{return bt(e,t)}catch(e){}if(It(e,t))return At(!yt(xt.f,e,t),e[t])};var Nt={},Bt=h,Pt=q,Tt=Bt.String,Rt=Bt.TypeError,Lt=function(e){if(Pt(e))return e;throw Rt(Tt(e)+" is not an object")},kt=E,_t=Ft,Mt=Lt,jt=ft,Gt=h.TypeError,Kt=Object.defineProperty;Nt.f=kt?Kt:function(e,t,n){if(Mt(e),t=jt(t),Mt(n),_t)try{return Kt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw Gt("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var Ut=Nt,Wt=S,$t=E?function(e,t,n){return Ut.f(e,t,Wt(1,n))}:function(e,t,n){return e[t]=n,e},Vt={exports:{}},Xt=X,zt=Le,qt=N(Function.toString);Xt(zt.inspectSource)||(zt.inspectSource=function(e){return qt(e)});var Qt,Yt,Ht,Jt=zt.inspectSource,Zt=X,en=Jt,tn=h.WeakMap,nn=Zt(tn)&&/native code/.test(en(tn)),rn=Ne.exports,sn=ze,un=rn("keys"),an={},on=nn,cn=h,Dn=N,ln=q,pn=$t,hn=Ue,dn=Le,fn=function(e){return un[e]||(un[e]=sn(e))},En=an,vn=cn.TypeError,Cn=cn.WeakMap;if(on||dn.state){var gn=dn.state||(dn.state=new Cn),Fn=Dn(gn.get),mn=Dn(gn.has),yn=Dn(gn.set);Qt=function(e,t){if(mn(gn,e))throw new vn("Object already initialized");return t.facade=e,yn(gn,e,t),t},Yt=function(e){return Fn(gn,e)||{}},Ht=function(e){return mn(gn,e)}}else{var xn=fn("state");En[xn]=!0,Qt=function(e,t){if(hn(e,xn))throw new vn("Object already initialized");return t.facade=e,pn(e,xn,t),t},Yt=function(e){return hn(e,xn)?e[xn]:{}},Ht=function(e){return hn(e,xn)}}var An={set:Qt,get:Yt,has:Ht,enforce:function(e){return Ht(e)?Yt(e):Qt(e,{})},getterFor:function(e){return function(t){var n;if(!ln(t)||(n=Yt(t)).type!==e)throw vn("Incompatible receiver, "+e+" required");return n}}},Sn=E,wn=Ue,In=Function.prototype,On=Sn&&Object.getOwnPropertyDescriptor,bn=wn(In,"name"),Nn=bn&&"something"===function(){}.name,Bn=bn&&(!Sn||Sn&&On(In,"name").configurable),Pn=h,Tn=X,Rn=Ue,Ln=$t,kn=Te,_n=Jt,Mn={EXISTS:bn,PROPER:Nn,CONFIGURABLE:Bn}.CONFIGURABLE,jn=An.get,Gn=An.enforce,Kn=String(String).split("String");(Vt.exports=function(e,t,n,r){var i,s=!!r&&!!r.unsafe,u=!!r&&!!r.enumerable,a=!!r&&!!r.noTargetGet,o=r&&void 0!==r.name?r.name:t;Tn(n)&&("Symbol("===String(o).slice(0,7)&&(o="["+String(o).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Rn(n,"name")||Mn&&n.name!==o)&&Ln(n,"name",o),(i=Gn(n)).source||(i.source=Kn.join("string"==typeof o?o:""))),e!==Pn?(s?!a&&e[t]&&(u=!0):delete e[t],u?e[t]=n:Ln(e,t,n)):u?e[t]=n:kn(t,n)})(Function.prototype,"toString",(function(){return Tn(this)&&jn(this).source||_n(this)}));var Un={},Wn=Math.ceil,$n=Math.floor,Vn=function(e){var t=+e;return t!=t||0===t?0:(t>0?$n:Wn)(t)},Xn=Vn,zn=Math.max,qn=Math.min,Qn=Vn,Yn=Math.min,Hn=function(e){return e>0?Yn(Qn(e),9007199254740991):0},Jn=function(e){return Hn(e.length)},Zn=V,er=function(e,t){var n=Xn(e);return n<0?zn(n+t,0):qn(n,t)},tr=Jn,nr=function(e){return function(t,n,r){var i,s=Zn(t),u=tr(s),a=er(r,u);if(e&&n!=n){for(;u>a;)if((i=s[a++])!=i)return!0}else for(;u>a;a++)if((e||a in s)&&s[a]===n)return e||a||0;return!e&&-1}},rr={includes:nr(!0),indexOf:nr(!1)},ir=Ue,sr=V,ur=rr.indexOf,ar=an,or=N([].push),cr=function(e,t){var n,r=sr(e),i=0,s=[];for(n in r)!ir(ar,n)&&ir(r,n)&&or(s,n);for(;t.length>i;)ir(r,n=t[i++])&&(~ur(s,n)||or(s,n));return s},Dr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"].concat("length","prototype");Un.f=Object.getOwnPropertyNames||function(e){return cr(e,Dr)};var lr={};lr.f=Object.getOwnPropertySymbols;var pr=J,hr=Un,dr=lr,fr=Lt,Er=N([].concat),vr=pr("Reflect","ownKeys")||function(e){var t=hr.f(fr(e)),n=dr.f;return n?Er(t,n(e)):t},Cr=Ue,gr=vr,Fr=d,mr=Nt,yr=f,xr=X,Ar=/#|\.prototype\./,Sr=function(e,t){var n=Ir[wr(e)];return n==br||n!=Or&&(xr(t)?yr(t):!!t)},wr=Sr.normalize=function(e){return String(e).replace(Ar,".").toLowerCase()},Ir=Sr.data={},Or=Sr.NATIVE="N",br=Sr.POLYFILL="P",Nr=Sr,Br=h,Pr=d.f,Tr=$t,Rr=Vt.exports,Lr=Te,kr=function(e,t){for(var n=gr(t),r=mr.f,i=Fr.f,s=0;s<n.length;s++){var u=n[s];Cr(e,u)||r(e,u,i(t,u))}},_r=Nr,Mr=function(e,t){var n,r,i,s,u,a=e.target,o=e.global,c=e.stat;if(n=o?Br:c?Br[a]||Lr(a,{}):(Br[a]||{}).prototype)for(r in t){if(s=t[r],i=e.noTargetGet?(u=Pr(n,r))&&u.value:n[r],!_r(o?r:a+(c?".":"#")+r,e.forced)&&void 0!==i){if(typeof s==typeof i)continue;kr(s,i)}(e.sham||i&&i.sham)&&Tr(s,"sham",!0),Rr(n,r,s,e)}},jr=R,Gr=Array.isArray||function(e){return"Array"==jr(e)},Kr=xe,Ur=N(N.bind),Wr=function(e,t){return Kr(e),void 0===t?e:Ur?Ur(e,t):function(){return e.apply(t,arguments)}},$r=Gr,Vr=Jn,Xr=Wr,zr=h.TypeError,qr=function(e,t,n,r,i,s,u,a){for(var o,c,D=i,l=0,p=!!u&&Xr(u,a);l<r;){if(l in n){if(o=p?p(n[l],l,t):n[l],s>0&&$r(o))c=Vr(o),D=qr(e,t,o,c,D,s-1)-1;else{if(D>=9007199254740991)throw zr("Exceed the acceptable array length");e[D]=o}D++}l++}return D},Qr=qr,Yr={};Yr[it("toStringTag")]="z";var Hr=h,Jr="[object z]"===String(Yr),Zr=X,ei=R,ti=it("toStringTag"),ni=Hr.Object,ri="Arguments"==ei(function(){return arguments}()),ii=Jr?ei:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=ni(e),ti))?n:ri?ei(t):"Object"==(r=ei(t))&&Zr(t.callee)?"Arguments":r},si=N,ui=f,ai=X,oi=ii,ci=Jt,Di=function(){},li=[],pi=J("Reflect","construct"),hi=/^\s*(?:class|function)\b/,di=si(hi.exec),fi=!hi.exec(Di),Ei=function(e){if(!ai(e))return!1;try{return pi(Di,li,e),!0}catch(e){return!1}},vi=!pi||ui((function(){var e;return Ei(Ei.call)||!Ei(Object)||!Ei((function(){e=!0}))||e}))?function(e){if(!ai(e))return!1;switch(oi(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return fi||!!di(hi,ci(e))}:Ei,Ci=h,gi=Gr,Fi=vi,mi=q,yi=it("species"),xi=Ci.Array,Ai=function(e){var t;return gi(e)&&(t=e.constructor,(Fi(t)&&(t===xi||gi(t.prototype))||mi(t)&&null===(t=t[yi]))&&(t=void 0)),void 0===t?xi:t},Si=Qr,wi=xe,Ii=je,Oi=Jn,bi=function(e,t){return new(Ai(e))(0===t?0:t)};Mr({target:"Array",proto:!0},{flatMap:function(e){var t,n=Ii(this),r=Oi(n);return wi(e),(t=bi(n,0)).length=Si(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}});var Ni=ii,Bi=h.String,Pi=N([].slice),Ti=Math.floor,Ri=function(e,t){var n=e.length,r=Ti(n/2);return n<8?Li(e,t):ki(e,Ri(Pi(e,0,r),t),Ri(Pi(e,r),t),t)},Li=function(e,t){for(var n,r,i=e.length,s=1;s<i;){for(r=s,n=e[s];r&&t(e[r-1],n)>0;)e[r]=e[--r];r!==s++&&(e[r]=n)}return e},ki=function(e,t,n,r){for(var i=t.length,s=n.length,u=0,a=0;u<i||a<s;)e[u+a]=u<i&&a<s?r(t[u],n[a])<=0?t[u++]:n[a++]:u<i?t[u++]:n[a++];return e},_i=Ri,Mi=f,ji=ee.match(/firefox\/(\d+)/i),Gi=!!ji&&+ji[1],Ki=/MSIE|Trident/.test(ee),Ui=ee.match(/AppleWebKit\/(\d+)\./),Wi=!!Ui&&+Ui[1],$i=Mr,Vi=N,Xi=xe,zi=je,qi=Jn,Qi=function(e){if("Symbol"===Ni(e))throw TypeError("Cannot convert a Symbol value to a string");return Bi(e)},Yi=f,Hi=_i,Ji=function(e,t){var n=[][e];return!!n&&Mi((function(){n.call(null,t||function(){throw 1},1)}))},Zi=Gi,es=Ki,ts=ae,ns=Wi,rs=[],is=Vi(rs.sort),ss=Vi(rs.push),us=Yi((function(){rs.sort(void 0)})),as=Yi((function(){rs.sort(null)})),os=Ji("sort"),cs=!Yi((function(){if(ts)return ts<70;if(!(Zi&&Zi>3)){if(es)return!0;if(ns)return ns<603;var e,t,n,r,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)rs.push({k:t+r,v:n})}for(rs.sort((function(e,t){return t.v-e.v})),r=0;r<rs.length;r++)t=rs[r].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));$i({target:"Array",proto:!0,forced:us||!as||!os||!cs},{sort:function(e){void 0!==e&&Xi(e);var t=zi(this);if(cs)return void 0===e?is(t):is(t,e);var n,r,i=[],s=qi(t);for(r=0;r<s;r++)r in t&&ss(i,t[r]);for(Hi(i,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:Qi(t)>Qi(n)?1:-1}}(e)),n=i.length,r=0;r<n;)t[r]=i[r++];for(;r<s;)delete t[r++];return t}});var Ds={},ls=Ds,ps=it("iterator"),hs=Array.prototype,ds=ii,fs=Se,Es=Ds,vs=it("iterator"),Cs=function(e){if(null!=e)return fs(e,vs)||fs(e,"@@iterator")||Es[ds(e)]},gs=C,Fs=xe,ms=Lt,ys=ge,xs=Cs,As=h.TypeError,Ss=C,ws=Lt,Is=Se,Os=Wr,bs=C,Ns=Lt,Bs=ge,Ps=function(e){return void 0!==e&&(ls.Array===e||hs[ps]===e)},Ts=Jn,Rs=Z,Ls=function(e,t){var n=arguments.length<2?xs(e):t;if(Fs(n))return ms(gs(n,e));throw As(ys(e)+" is not iterable")},ks=Cs,_s=function(e,t,n){var r,i;ws(e);try{if(!(r=Is(e,"return"))){if("throw"===t)throw n;return n}r=Ss(r,e)}catch(e){i=!0,r=e}if("throw"===t)throw n;if(i)throw r;return ws(r),n},Ms=h.TypeError,js=function(e,t){this.stopped=e,this.result=t},Gs=js.prototype,Ks=ft,Us=Nt,Ws=S,$s=function(e,t,n){var r,i,s,u,a,o,c,D=n&&n.that,l=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),d=Os(t,D),f=function(e){return r&&_s(r,"normal",e),new js(!0,e)},E=function(e){return l?(Ns(e),h?d(e[0],e[1],f):d(e[0],e[1])):h?d(e,f):d(e)};if(p)r=e;else{if(!(i=ks(e)))throw Ms(Bs(e)+" is not iterable");if(Ps(i)){for(s=0,u=Ts(e);u>s;s++)if((a=E(e[s]))&&Rs(Gs,a))return a;return new js(!1)}r=Ls(e,i)}for(o=r.next;!(c=bs(o,r)).done;){try{a=E(c.value)}catch(e){_s(r,"throw",e)}if("object"==typeof a&&a&&Rs(Gs,a))return a}return new js(!1)},Vs=function(e,t,n){var r=Ks(t);r in e?Us.f(e,r,Ws(0,n)):e[r]=n};Mr({target:"Object",stat:!0},{fromEntries:function(e){var t={};return $s(e,(function(e,n){Vs(t,e,n)}),{AS_ENTRIES:!0}),t}});var Xs=void 0!==Xs?Xs:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function zs(){throw new Error("setTimeout has not been defined")}function qs(){throw new Error("clearTimeout has not been defined")}var Qs=zs,Ys=qs;function Hs(e){if(Qs===setTimeout)return setTimeout(e,0);if((Qs===zs||!Qs)&&setTimeout)return Qs=setTimeout,setTimeout(e,0);try{return Qs(e,0)}catch(t){try{return Qs.call(null,e,0)}catch(t){return Qs.call(this,e,0)}}}"function"==typeof Xs.setTimeout&&(Qs=setTimeout),"function"==typeof Xs.clearTimeout&&(Ys=clearTimeout);var Js,Zs=[],eu=!1,tu=-1;function nu(){eu&&Js&&(eu=!1,Js.length?Zs=Js.concat(Zs):tu=-1,Zs.length&&ru())}function ru(){if(!eu){var e=Hs(nu);eu=!0;for(var t=Zs.length;t;){for(Js=Zs,Zs=[];++tu<t;)Js&&Js[tu].run();tu=-1,t=Zs.length}Js=null,eu=!1,function(e){if(Ys===clearTimeout)return clearTimeout(e);if((Ys===qs||!Ys)&&clearTimeout)return Ys=clearTimeout,clearTimeout(e);try{Ys(e)}catch(t){try{return Ys.call(null,e)}catch(t){return Ys.call(this,e)}}}(e)}}function iu(e,t){this.fun=e,this.array=t}iu.prototype.run=function(){this.fun.apply(null,this.array)};function su(){}var uu=su,au=su,ou=su,cu=su,Du=su,lu=su,pu=su;var hu=Xs.performance||{},du=hu.now||hu.mozNow||hu.msNow||hu.oNow||hu.webkitNow||function(){return(new Date).getTime()};var fu=new Date;var Eu={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];Zs.push(new iu(e,t)),1!==Zs.length||eu||Hs(ru)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:uu,addListener:au,once:ou,off:cu,removeListener:Du,removeAllListeners:lu,emit:pu,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*du.call(hu),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-fu)/1e3}};var vu="object"==typeof Eu&&Eu.env&&Eu.env.NODE_DEBUG&&/\bsemver\b/i.test(Eu.env.NODE_DEBUG)?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return console.error("SEMVER",...t)}:()=>{};var Cu={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},gu={exports:{}};!function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n}=Cu,r=vu,i=(t=e.exports={}).re=[],s=t.src=[],u=t.t={};let a=0;const o=(e,t,n)=>{const o=a++;r(o,t),u[e]=o,s[o]=t,i[o]=new RegExp(t,n?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(s[u.NUMERICIDENTIFIER],")\\.")+"(".concat(s[u.NUMERICIDENTIFIER],")\\.")+"(".concat(s[u.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(s[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[u.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(s[u.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(s[u.NUMERICIDENTIFIER],"|").concat(s[u.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(s[u.NUMERICIDENTIFIERLOOSE],"|").concat(s[u.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(s[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(s[u.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(s[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(s[u.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(s[u.BUILDIDENTIFIER],"(?:\\.").concat(s[u.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(s[u.MAINVERSION]).concat(s[u.PRERELEASE],"?").concat(s[u.BUILD],"?")),o("FULL","^".concat(s[u.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(s[u.MAINVERSIONLOOSE]).concat(s[u.PRERELEASELOOSE],"?").concat(s[u.BUILD],"?")),o("LOOSE","^".concat(s[u.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(s[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(s[u.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(s[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[u.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(s[u.XRANGEIDENTIFIER],")")+"(?:".concat(s[u.PRERELEASE],")?").concat(s[u.BUILD],"?")+")?)?"),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(s[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[u.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(s[u.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(s[u.PRERELEASELOOSE],")?").concat(s[u.BUILD],"?")+")?)?"),o("XRANGE","^".concat(s[u.GTLT],"\\s*").concat(s[u.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(s[u.GTLT],"\\s*").concat(s[u.XRANGEPLAINLOOSE],"$")),o("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),o("COERCERTL",s[u.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(s[u.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",o("TILDE","^".concat(s[u.LONETILDE]).concat(s[u.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(s[u.LONETILDE]).concat(s[u.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(s[u.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",o("CARET","^".concat(s[u.LONECARET]).concat(s[u.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(s[u.LONECARET]).concat(s[u.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(s[u.GTLT],"\\s*(").concat(s[u.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(s[u.GTLT],"\\s*(").concat(s[u.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(s[u.GTLT],"\\s*(").concat(s[u.LOOSEPLAIN],"|").concat(s[u.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(s[u.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(s[u.XRANGEPLAIN],")")+"\\s*$"),o("HYPHENRANGELOOSE","^\\s*(".concat(s[u.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(s[u.XRANGEPLAINLOOSE],")")+"\\s*$"),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0.0.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")}(gu,gu.exports);const Fu=["includePrerelease","loose","rtl"];var mu=e=>e?"object"!=typeof e?{loose:!0}:Fu.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{};const yu=/^[0-9]+$/,xu=(e,t)=>{const n=yu.test(e),r=yu.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1};var Au={compareIdentifiers:xu,rcompareIdentifiers:(e,t)=>xu(t,e)};const Su=vu,{MAX_LENGTH:wu,MAX_SAFE_INTEGER:Iu}=Cu,{re:Ou,t:bu}=gu.exports,Nu=mu,{compareIdentifiers:Bu}=Au;class Pu{constructor(e,t){if(t=Nu(t),e instanceof Pu){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: ".concat(e));if(e.length>wu)throw new TypeError("version is longer than ".concat(wu," characters"));Su("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?Ou[bu.LOOSE]:Ou[bu.FULL]);if(!n)throw new TypeError("Invalid Version: ".concat(e));if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Iu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Iu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Iu||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t<Iu)return t}return e})):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(e){if(Su("SemVer.compare",this.version,this.options,e),!(e instanceof Pu)){if("string"==typeof e&&e===this.version)return 0;e=new Pu(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof Pu||(e=new Pu(e,this.options)),Bu(this.major,e.major)||Bu(this.minor,e.minor)||Bu(this.patch,e.patch)}comparePre(e){if(e instanceof Pu||(e=new Pu(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const n=this.prerelease[t],r=e.prerelease[t];if(Su("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Bu(n,r)}while(++t)}compareBuild(e){e instanceof Pu||(e=new Pu(e,this.options));let t=0;do{const n=this.build[t],r=e.build[t];if(Su("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return Bu(n,r)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: ".concat(e))}return this.format(),this.raw=this.version,this}}const Tu=Pu;var Ru=(e,t,n)=>new Tu(e,n).compare(new Tu(t,n));const Lu=Ru;var ku=(e,t,n)=>Lu(e,t,n)<0;const _u=Ru;var Mu,ju,Gu,Ku,Uu,Wu,$u=(e,t,n)=>_u(e,t,n)>=0,Vu={exports:{}};!function(e,t){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function r(){return"undefined"!=typeof WeakMap?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(e){return!1}}}Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var i=Object.prototype.hasOwnProperty,s=function(e,t){return i.call(e,t)};function u(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return e}var a=/^[ \t]*(?:\r\n|\r|\n)/,o=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,D=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,l=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(e,t,n){var r=0,i=e[0].match(D);i&&(r=i[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var u=n.newline,c=n.trimLeadingNewline,l=n.trimTrailingNewline,p="string"==typeof u,h=e.length;return e.map((function(e,t){return e=e.replace(s,"$1"),0===t&&c&&(e=e.replace(a,"")),t===h-1&&l&&(e=e.replace(o,"")),p&&(e=e.replace(/\r\n|\n|\r/g,(function(e){return u}))),e}))}function h(e,t){for(var n="",r=0,i=e.length;r<i;r++)n+=e[r],r<i-1&&(n+=t[r]);return n}function d(e){return s(e,"raw")&&s(e,"length")}var f=function e(t){var n=r(),i=r(),s=u((function r(s){for(var a=[],o=1;o<arguments.length;o++)a[o-1]=arguments[o];if(d(s)){var D=s,E=(a[0]===r||a[0]===f)&&l.test(D[0])&&c.test(D[1]),v=E?i:n,C=v.get(D);if(C||(C=p(D,E,t),v.set(D,C)),0===a.length)return C[0];var g=h(C,E?a.slice(1):a);return g}return e(u(u({},t),s||{}))}),{string:function(e){return p([e],!1,t)[0]}});return s}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=f,t.default=f;try{e.exports=f,Object.defineProperty(f,"__esModule",{value:!0}),f.default=f,f.outdent=f}catch(e){}}(Vu,Vu.exports);const{outdent:Xu}=Vu.exports,zu={cursorOffset:{since:"1.4.0",category:"Special",type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Xu(Mu||(Mu=l(["\n Print (to stderr) where a cursor at the given position would move to after formatting.\n This option cannot be used with --range-start and --range-end.\n "]))),cliCategory:"Editor"},endOfLine:{since:"1.15.0",category:"Global",type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Xu(ju||(ju=l(["\n Maintain existing\n (mixed values within one file are normalised by looking at what's used after the first line)\n "])))}]},filepath:{since:"1.4.0",category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{since:"0.0.10",category:"Global",type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:"Global",description:Xu(Gu||(Gu=l(["\n Custom directory that contains prettier plugins in node_modules subdirectory.\n Overrides default behavior when plugins are searched relatively to the location of Prettier.\n Multiple values are accepted.\n "]))),exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:"Config"},printWidth:{since:"0.0.0",category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:"Special",type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Xu(Ku||(Ku=l(["\n Format code ending at a given character offset (exclusive).\n The range will extend forwards to the end of the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:"Editor"},rangeStart:{since:"1.4.0",category:"Special",type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Xu(Uu||(Uu=l(["\n Format code starting at a given character offset.\n The range will extend backwards to the start of the first line containing the selected statement.\n This option cannot be used with --cursor-offset.\n "]))),cliCategory:"Editor"},requirePragma:{since:"1.7.0",category:"Special",type:"boolean",default:!1,description:Xu(Wu||(Wu=l(["\n Require either '@prettier' or '@format' to be present in the file's first docblock comment\n in order for it to be formatted.\n "]))),cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:"Global",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."}]}};const qu=["cliName","cliCategory","cliDescription"],Qu={compare:Ru,lt:ku,gte:$u},Yu=(e,t)=>Object.entries(e).map((e=>{let[n,r]=e;return Object.assign({[t]:n},r)})),Hu="2.5.1",Ju={CATEGORY_CONFIG:"Config",CATEGORY_EDITOR:"Editor",CATEGORY_FORMAT:"Format",CATEGORY_OTHER:"Other",CATEGORY_OUTPUT:"Output",CATEGORY_GLOBAL:"Global",CATEGORY_SPECIAL:"Special",options:zu}.options;function Zu(e,t,n){const r=new Set(e.choices.map((e=>e.value)));for(const i of t)if(i.parsers)for(const t of i.parsers)if(!r.has(t)){r.add(t);const s=n.find((e=>e.parsers&&e.parsers[t]));let u=i.name;s&&s.name&&(u+=" (plugin: ".concat(s.name,")")),e.choices.push({value:t,description:u})}}var ea={getSupportInfo:function(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const i=Hu.split("-",1)[0],s=e.flatMap((e=>e.languages||[])).filter(a),u=Yu(Object.assign({},...e.map((e=>{let{options:t}=e;return t})),Ju),"name").filter((e=>a(e)&&o(e))).sort(((e,t)=>e.name===t.name?0:e.name<t.name?-1:1)).map(c).map((t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(a).sort(((e,t)=>Qu.compare(t.since,e.since)))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter((e=>a(e)&&o(e))),"parser"===t.name&&Zu(t,s,e));const n=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:n})}));return{languages:s,options:u};function a(e){return t||!("since"in e)||e.since&&Qu.gte(i,e.since)}function o(e){return n||!("deprecated"in e)||e.deprecated&&Qu.lt(i,e.deprecated)}function c(e){if(r)return e;return D(e,qu)}}};const ta=t.exports,na=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},ra=c,{getSupportInfo:ia}=ea,sa=/[^\x20-\x7F]/;function ua(e){return(t,n,r)=>{const i=r&&r.backwards;if(!1===n)return!1;const{length:s}=t;let u=n;for(;u>=0&&u<s;){const n=t.charAt(u);if(e instanceof RegExp){if(!e.test(n))return u}else if(!e.includes(n))return u;i?u--:u++}return(-1===u||u===s)&&u}}const aa=ua(/\s/),oa=ua(" \t"),ca=ua(",; \t"),Da=ua(/[^\n\r]/);function la(e,t){if(!1===t)return!1;if("/"===e.charAt(t)&&"*"===e.charAt(t+1))for(let n=t+2;n<e.length;++n)if("*"===e.charAt(n)&&"/"===e.charAt(n+1))return n+2;return t}function pa(e,t){return!1!==t&&("/"===e.charAt(t)&&"/"===e.charAt(t+1)?Da(e,t):t)}function ha(e,t,n){const r=n&&n.backwards;if(!1===t)return!1;const 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}function da(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=oa(e,n.backwards?t-1:t,n),i=ha(e,r,n);return r!==i}function fa(e,t){let n=null,r=t;for(;r!==n;)n=r,r=ca(e,r),r=la(e,r),r=oa(e,r);return r=pa(e,r),r=ha(e,r),!1!==r&&da(e,r)}function Ea(e,t){let n=null,r=t;for(;r!==n;)n=r,r=oa(e,r),r=la(e,r),r=pa(e,r),r=ha(e,r);return r}function va(e,t,n){return Ea(e,n(t))}function Ca(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=0;for(let i=n;i<e.length;++i)"\t"===e[i]?r=r+t-r%t:r++;return r}function ga(e,t){const n={quote:'"',regex:/"/g,escaped:"&quot;"},r={quote:"'",regex:/'/g,escaped:"&apos;"},i="'"===t?r:n,s=i===r?n:r;let u=i;if(e.includes(i.quote)||e.includes(s.quote)){u=(e.match(i.regex)||[]).length>(e.match(s.regex)||[]).length?s:i}return u}function Fa(e,t,n){const r='"'===t?"'":'"',i=e.replace(/\\(.)|(["'])/gs,((e,i,s)=>i===r?i:s===t?"\\"+s:s||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i)));return t+i+t}function ma(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(e){const t=e.type||e.kind||"(unknown type)";let n=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||"");n.length>20&&(n=n.slice(0,19)+"\u2026");return t+(n?" "+n:"")}(e)}var ya={inferParserByLanguage:function(e,t){const{languages:n}=ia({plugins:t.plugins}),r=n.find((t=>{let{name:n}=t;return n.toLowerCase()===e}))||n.find((t=>{let{aliases:n}=t;return Array.isArray(n)&&n.includes(e)}))||n.find((t=>{let{extensions:n}=t;return Array.isArray(n)&&n.includes(".".concat(e))}));return r&&r.parsers[0]},getStringWidth:function(e){return e?sa.test(e)?ta(e):e.length:0},getMaxContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(na(t),")+"),"g"));return null===n?0:n.reduce(((e,n)=>Math.max(e,n.length/t.length)),0)},getMinNotPresentContinuousCount:function(e,t){const n=e.match(new RegExp("(".concat(na(t),")+"),"g"));if(null===n)return 0;const r=new Map;let i=0;for(const e of n){const n=e.length/t.length;r.set(n,!0),n>i&&(i=n)}for(let e=1;e<i;e++)if(!r.get(e))return e;return i+1},getPenultimate:e=>e[e.length-2],getLast:ra,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Ea,getNextNonSpaceNonCommentCharacterIndex:va,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(va(e,t,n))},skip:ua,skipWhitespace:aa,skipSpaces:oa,skipToLineEnd:ca,skipEverythingButNewLine:Da,skipInlineComment:la,skipTrailingComment:pa,skipNewline:ha,isNextLineEmptyAfterIndex:fa,isNextLineEmpty:function(e,t,n){return fa(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=oa(e,r,{backwards:!0}),r=ha(e,r,{backwards:!0}),r=oa(e,r,{backwards:!0}),r!==ha(e,r,{backwards:!0})},hasNewline:da,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if("\n"===e.charAt(r))return!0;return!1},hasSpaces:function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=oa(e,n.backwards?t-1:t,n);return r!==t},getAlignmentSize:Ca,getIndentSize:function(e,t){const n=e.lastIndexOf("\n");return-1===n?0:Ca(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:ga,printString:function(e,t){const n=e.slice(1,-1);return Fa(n,"json"===t.parser||"json5"===t.parser&&"preserve"===t.quoteProps&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":ga(n,t.singleQuote?"'":'"').quote,!("css"===t.parser||"less"===t.parser||"scss"===t.parser||t.__embeddedInHtml))},printNumber:function(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|$)/,"")},makeString:Fa,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,ma(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),ma(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,ma(e,t)},isFrontMatterNode:function(e){return e&&"front-matter"===e.type},getShebang:function(e){if(!e.startsWith("#!"))return"";const t=e.indexOf("\n");return-1===t?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){const t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}};const{isNonEmptyArray:xa}=ya;function Aa(e,t){const{ignoreDecorators:n}=t||{};if(!n){const t=e.declaration&&e.declaration.decorators||e.decorators;if(xa(t))return Aa(t[0])}return e.range?e.range[0]:e.start}function Sa(e){return e.range?e.range[1]:e.end}function wa(e,t){return Aa(e)===Aa(t)}var Ia,Oa,ba,Na={locStart:Aa,locEnd:Sa,hasSameLocStart:wa,hasSameLoc:function(e,t){return wa(e,t)&&function(e,t){return Sa(e)===Sa(t)}(e,t)}},Ba={},Pa={},Ta={};Ia=Ta,Oa="\n",ba=function(){function e(e){this.string=e;for(var t=[0],n=0;n<e.length;)switch(e[n]){case Oa:n+=Oa.length,t.push(n);break;case"\r":e[n+="\r".length]===Oa&&(n+=Oa.length),t.push(n);break;default:n++}this.offsets=t}return e.prototype.locationForIndex=function(e){if(e<0||e>this.string.length)return null;for(var t=0,n=this.offsets;n[t+1]<=e;)t++;return{line:t,column:e-n[t]}},e.prototype.indexForLocation=function(e){var t=e.line,n=e.column;return t<0||t>=this.offsets.length||n<0||n>this.lengthOfLine(t)?null:this.offsets[t]+n},e.prototype.lengthOfLine=function(e){var t=this.offsets[e];return(e===this.offsets.length-1?this.string.length:this.offsets[e+1])-t},e}(),Ia.__esModule=!0,Ia.default=ba,Object.defineProperty(Pa,"__esModule",{value:!0}),Pa.Context=void 0;const Ra=Ta;Pa.Context=class{constructor(e){this.text=e,this.locator=new La(this.text)}};class La{constructor(e){this._lineAndColumn=new Ra.default(e)}locationForIndex(e){const{line:t,column:n}=this._lineAndColumn.locationForIndex(e);return{line:t+1,column:n}}}var ka,_a={},Ma={};
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
class ja{constructor(e,t,n,r){this.input=t,this.errLocation=n,this.ctxLocation=r,this.message="Parser Error: ".concat(e," ").concat(n," [").concat(t,"] in ").concat(r)}}class Ga{constructor(e,t){this.start=e,this.end=t}toAbsolute(e){return new ho(e+this.start,e+this.end)}}class Ka{constructor(e,t){this.span=e,this.sourceSpan=t}toString(){return"AST"}}class Ua extends Ka{constructor(e,t,n){super(e,t),this.nameSpan=n}}class Wa extends Ka{constructor(e,t,n,r,i){super(e,t),this.prefix=n,this.uninterpretedExpression=r,this.location=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitQuote(this,t)}toString(){return"Quote"}}class $a extends Ka{visit(e){}}class Va extends Ka{visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitImplicitReceiver(this,t)}}class Xa extends Va{visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;var n;return null===(n=e.visitThisReceiver)||void 0===n?void 0:n.call(e,this,t)}}class za extends Ka{constructor(e,t,n){super(e,t),this.expressions=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitChain(this,t)}}class qa extends Ka{constructor(e,t,n,r,i){super(e,t),this.condition=n,this.trueExp=r,this.falseExp=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitConditional(this,t)}}class Qa extends Ua{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPropertyRead(this,t)}}class Ya extends Ua{constructor(e,t,n,r,i,s){super(e,t,n),this.receiver=r,this.name=i,this.value=s}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPropertyWrite(this,t)}}class Ha extends Ua{constructor(e,t,n,r,i){super(e,t,n),this.receiver=r,this.name=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafePropertyRead(this,t)}}class Ja extends Ka{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitKeyedRead(this,t)}}class Za extends Ka{constructor(e,t,n,r){super(e,t),this.receiver=n,this.key=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafeKeyedRead(this,t)}}class eo extends Ka{constructor(e,t,n,r,i){super(e,t),this.receiver=n,this.key=r,this.value=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitKeyedWrite(this,t)}}class to extends Ua{constructor(e,t,n,r,i,s){super(e,t,s),this.exp=n,this.name=r,this.args=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPipe(this,t)}}class no extends Ka{constructor(e,t,n){super(e,t),this.value=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralPrimitive(this,t)}}class ro extends Ka{constructor(e,t,n){super(e,t),this.expressions=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralArray(this,t)}}class io extends Ka{constructor(e,t,n,r){super(e,t),this.keys=n,this.values=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitLiteralMap(this,t)}}class so extends Ka{constructor(e,t,n,r){super(e,t),this.strings=n,this.expressions=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitInterpolation(this,t)}}class uo extends Ka{constructor(e,t,n,r,i){super(e,t),this.operation=n,this.left=r,this.right=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitBinary(this,t)}}class ao extends uo{constructor(e,t,n,r,i,s,u){super(e,t,i,s,u),this.operator=n,this.expr=r}static createMinus(e,t,n){return new ao(e,t,"-",n,"-",new no(e,t,0),n)}static createPlus(e,t,n){return new ao(e,t,"+",n,"-",n,new no(e,t,0))}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return void 0!==e.visitUnary?e.visitUnary(this,t):e.visitBinary(this,t)}}class oo extends Ka{constructor(e,t,n){super(e,t),this.expression=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitPrefixNot(this,t)}}class co extends Ka{constructor(e,t,n){super(e,t),this.expression=n}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitNonNullAssert(this,t)}}class Do extends Ua{constructor(e,t,n,r,i,s,u){super(e,t,n),this.receiver=r,this.name=i,this.args=s,this.argumentSpan=u}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitMethodCall(this,t)}}class lo extends Ua{constructor(e,t,n,r,i,s,u){super(e,t,n),this.receiver=r,this.name=i,this.args=s,this.argumentSpan=u}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitSafeMethodCall(this,t)}}class po extends Ka{constructor(e,t,n,r){super(e,t),this.target=n,this.args=r}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitFunctionCall(this,t)}}class ho{constructor(e,t){this.start=e,this.end=t}}class fo extends Ka{constructor(e,t,n,r,i){super(new Ga(0,null===t?0:t.length),new ho(r,null===t?r:r+t.length)),this.ast=e,this.source=t,this.location=n,this.errors=i}visit(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.visitASTWithSource?e.visitASTWithSource(this,t):this.ast.visit(e,t)}toString(){return"".concat(this.source," in ").concat(this.location)}}class Eo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class vo{constructor(e,t,n){this.sourceSpan=e,this.key=t,this.value=n}}class Co{visit(e,t){e.visit(this,t)}visitUnary(e,t){this.visit(e.expr,t)}visitBinary(e,t){this.visit(e.left,t),this.visit(e.right,t)}visitChain(e,t){this.visitAll(e.expressions,t)}visitConditional(e,t){this.visit(e.condition,t),this.visit(e.trueExp,t),this.visit(e.falseExp,t)}visitPipe(e,t){this.visit(e.exp,t),this.visitAll(e.args,t)}visitFunctionCall(e,t){e.target&&this.visit(e.target,t),this.visitAll(e.args,t)}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){this.visitAll(e.expressions,t)}visitKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitKeyedWrite(e,t){this.visit(e.receiver,t),this.visit(e.key,t),this.visit(e.value,t)}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitLiteralPrimitive(e,t){}visitMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitPrefixNot(e,t){this.visit(e.expression,t)}visitNonNullAssert(e,t){this.visit(e.expression,t)}visitPropertyRead(e,t){this.visit(e.receiver,t)}visitPropertyWrite(e,t){this.visit(e.receiver,t),this.visit(e.value,t)}visitSafePropertyRead(e,t){this.visit(e.receiver,t)}visitSafeMethodCall(e,t){this.visit(e.receiver,t),this.visitAll(e.args,t)}visitSafeKeyedRead(e,t){this.visit(e.receiver,t),this.visit(e.key,t)}visitQuote(e,t){}visitAll(e,t){for(const n of e)this.visit(n,t)}}!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LITERAL_ATTR=1]="LITERAL_ATTR",e[e.ANIMATION=2]="ANIMATION"}(ka||(ka={}));var go=Object.freeze({__proto__:null,ParserError:ja,ParseSpan:Ga,AST:Ka,ASTWithName:Ua,Quote:Wa,EmptyExpr:$a,ImplicitReceiver:Va,ThisReceiver:Xa,Chain:za,Conditional:qa,PropertyRead:Qa,PropertyWrite:Ya,SafePropertyRead:Ha,KeyedRead:Ja,SafeKeyedRead:Za,KeyedWrite:eo,BindingPipe:to,LiteralPrimitive:no,LiteralArray:ro,LiteralMap:io,Interpolation:so,Binary:uo,Unary:ao,PrefixNot:oo,NonNullAssert:co,MethodCall:Do,SafeMethodCall:lo,FunctionCall:po,AbsoluteSourceSpan:ho,ASTWithSource:fo,VariableBinding:Eo,ExpressionBinding:vo,RecursiveAstVisitor:Co,AstTransformer:class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){return new so(e.span,e.sourceSpan,e.strings,this.visitAll(e.expressions))}visitLiteralPrimitive(e,t){return new no(e.span,e.sourceSpan,e.value)}visitPropertyRead(e,t){return new Qa(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitPropertyWrite(e,t){return new Ya(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,e.value.visit(this))}visitSafePropertyRead(e,t){return new Ha(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name)}visitMethodCall(e,t){return new Do(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitSafeMethodCall(e,t){return new lo(e.span,e.sourceSpan,e.nameSpan,e.receiver.visit(this),e.name,this.visitAll(e.args),e.argumentSpan)}visitFunctionCall(e,t){return new po(e.span,e.sourceSpan,e.target.visit(this),this.visitAll(e.args))}visitLiteralArray(e,t){return new ro(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitLiteralMap(e,t){return new io(e.span,e.sourceSpan,e.keys,this.visitAll(e.values))}visitUnary(e,t){switch(e.operator){case"+":return ao.createPlus(e.span,e.sourceSpan,e.expr.visit(this));case"-":return ao.createMinus(e.span,e.sourceSpan,e.expr.visit(this));default:throw new Error("Unknown unary operator ".concat(e.operator))}}visitBinary(e,t){return new uo(e.span,e.sourceSpan,e.operation,e.left.visit(this),e.right.visit(this))}visitPrefixNot(e,t){return new oo(e.span,e.sourceSpan,e.expression.visit(this))}visitNonNullAssert(e,t){return new co(e.span,e.sourceSpan,e.expression.visit(this))}visitConditional(e,t){return new qa(e.span,e.sourceSpan,e.condition.visit(this),e.trueExp.visit(this),e.falseExp.visit(this))}visitPipe(e,t){return new to(e.span,e.sourceSpan,e.exp.visit(this),e.name,this.visitAll(e.args),e.nameSpan)}visitKeyedRead(e,t){return new Ja(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}visitKeyedWrite(e,t){return new eo(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this),e.value.visit(this))}visitAll(e){const t=[];for(let n=0;n<e.length;++n)t[n]=e[n].visit(this);return t}visitChain(e,t){return new za(e.span,e.sourceSpan,this.visitAll(e.expressions))}visitQuote(e,t){return new Wa(e.span,e.sourceSpan,e.prefix,e.uninterpretedExpression,e.location)}visitSafeKeyedRead(e,t){return new Za(e.span,e.sourceSpan,e.receiver.visit(this),e.key.visit(this))}},AstMemoryEfficientTransformer:class{visitImplicitReceiver(e,t){return e}visitThisReceiver(e,t){return e}visitInterpolation(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new so(e.span,e.sourceSpan,e.strings,n):e}visitLiteralPrimitive(e,t){return e}visitPropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new Qa(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitPropertyWrite(e,t){const n=e.receiver.visit(this),r=e.value.visit(this);return n!==e.receiver||r!==e.value?new Ya(e.span,e.sourceSpan,e.nameSpan,n,e.name,r):e}visitSafePropertyRead(e,t){const n=e.receiver.visit(this);return n!==e.receiver?new Ha(e.span,e.sourceSpan,e.nameSpan,n,e.name):e}visitMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new Do(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitSafeMethodCall(e,t){const n=e.receiver.visit(this),r=this.visitAll(e.args);return n!==e.receiver||r!==e.args?new lo(e.span,e.sourceSpan,e.nameSpan,n,e.name,r,e.argumentSpan):e}visitFunctionCall(e,t){const n=e.target&&e.target.visit(this),r=this.visitAll(e.args);return n!==e.target||r!==e.args?new po(e.span,e.sourceSpan,n,r):e}visitLiteralArray(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new ro(e.span,e.sourceSpan,n):e}visitLiteralMap(e,t){const n=this.visitAll(e.values);return n!==e.values?new io(e.span,e.sourceSpan,e.keys,n):e}visitUnary(e,t){const n=e.expr.visit(this);if(n!==e.expr)switch(e.operator){case"+":return ao.createPlus(e.span,e.sourceSpan,n);case"-":return ao.createMinus(e.span,e.sourceSpan,n);default:throw new Error("Unknown unary operator ".concat(e.operator))}return e}visitBinary(e,t){const n=e.left.visit(this),r=e.right.visit(this);return n!==e.left||r!==e.right?new uo(e.span,e.sourceSpan,e.operation,n,r):e}visitPrefixNot(e,t){const n=e.expression.visit(this);return n!==e.expression?new oo(e.span,e.sourceSpan,n):e}visitNonNullAssert(e,t){const n=e.expression.visit(this);return n!==e.expression?new co(e.span,e.sourceSpan,n):e}visitConditional(e,t){const n=e.condition.visit(this),r=e.trueExp.visit(this),i=e.falseExp.visit(this);return n!==e.condition||r!==e.trueExp||i!==e.falseExp?new qa(e.span,e.sourceSpan,n,r,i):e}visitPipe(e,t){const n=e.exp.visit(this),r=this.visitAll(e.args);return n!==e.exp||r!==e.args?new to(e.span,e.sourceSpan,n,e.name,r,e.nameSpan):e}visitKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new Ja(e.span,e.sourceSpan,n,r):e}visitKeyedWrite(e,t){const n=e.receiver.visit(this),r=e.key.visit(this),i=e.value.visit(this);return n!==e.receiver||r!==e.key||i!==e.value?new eo(e.span,e.sourceSpan,n,r,i):e}visitAll(e){const t=[];let n=!1;for(let r=0;r<e.length;++r){const i=e[r],s=i.visit(this);t[r]=s,n=n||s!==i}return n?t:e}visitChain(e,t){const n=this.visitAll(e.expressions);return n!==e.expressions?new za(e.span,e.sourceSpan,n):e}visitQuote(e,t){return e}visitSafeKeyedRead(e,t){const n=e.receiver.visit(this),r=e.key.visit(this);return n!==e.receiver||r!==e.key?new Za(e.span,e.sourceSpan,n,r):e}},ParsedProperty:class{constructor(e,t,n,r,i,s){this.name=e,this.expression=t,this.type=n,this.sourceSpan=r,this.keySpan=i,this.valueSpan=s,this.isLiteral=this.type===ka.LITERAL_ATTR,this.isAnimation=this.type===ka.ANIMATION}},get ParsedPropertyType(){return ka},ParsedEvent:class{constructor(e,t,n,r,i,s,u){this.name=e,this.targetOrPhase=t,this.type=n,this.handler=r,this.sourceSpan=i,this.handlerSpan=s,this.keySpan=u}},ParsedVariable:class{constructor(e,t,n,r,i){this.name=e,this.value=t,this.sourceSpan=n,this.keySpan=r,this.valueSpan=i}},BoundElementProperty:class{constructor(e,t,n,r,i,s,u,a){this.name=e,this.type=t,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=s,this.keySpan=u,this.valueSpan=a}}});
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Fo(e){return 48<=e&&e<=57}function mo(e){return 39===e||34===e||96===e}
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var yo;!function(e){e[e.Character=0]="Character",e[e.Identifier=1]="Identifier",e[e.PrivateIdentifier=2]="PrivateIdentifier",e[e.Keyword=3]="Keyword",e[e.String=4]="String",e[e.Operator=5]="Operator",e[e.Number=6]="Number",e[e.Error=7]="Error"}(yo||(yo={}));const xo=["var","let","as","null","undefined","true","false","if","else","this"];class Ao{constructor(e,t,n,r,i){this.index=e,this.end=t,this.type=n,this.numValue=r,this.strValue=i}isCharacter(e){return this.type==yo.Character&&this.numValue==e}isNumber(){return this.type==yo.Number}isString(){return this.type==yo.String}isOperator(e){return this.type==yo.Operator&&this.strValue==e}isIdentifier(){return this.type==yo.Identifier}isPrivateIdentifier(){return this.type==yo.PrivateIdentifier}isKeyword(){return this.type==yo.Keyword}isKeywordLet(){return this.type==yo.Keyword&&"let"==this.strValue}isKeywordAs(){return this.type==yo.Keyword&&"as"==this.strValue}isKeywordNull(){return this.type==yo.Keyword&&"null"==this.strValue}isKeywordUndefined(){return this.type==yo.Keyword&&"undefined"==this.strValue}isKeywordTrue(){return this.type==yo.Keyword&&"true"==this.strValue}isKeywordFalse(){return this.type==yo.Keyword&&"false"==this.strValue}isKeywordThis(){return this.type==yo.Keyword&&"this"==this.strValue}isError(){return this.type==yo.Error}toNumber(){return this.type==yo.Number?this.numValue:-1}toString(){switch(this.type){case yo.Character:case yo.Identifier:case yo.Keyword:case yo.Operator:case yo.PrivateIdentifier:case yo.String:case yo.Error:return this.strValue;case yo.Number:return this.numValue.toString();default:return null}}}function So(e,t,n){return new Ao(e,t,yo.Character,n,String.fromCharCode(n))}function wo(e,t,n){return new Ao(e,t,yo.Operator,0,n)}const Io=new Ao(-1,-1,yo.Character,0,"");class Oo{constructor(e){this.input=e,this.peek=0,this.index=-1,this.length=e.length,this.advance()}advance(){this.peek=++this.index>=this.length?0:this.input.charCodeAt(this.index)}scanToken(){const e=this.input,t=this.length;let n=this.peek,r=this.index;for(;n<=32;){if(++r>=t){n=0;break}n=e.charCodeAt(r)}if(this.peek=n,this.index=r,r>=t)return null;if(bo(n))return this.scanIdentifier();if(Fo(n))return this.scanNumber(r);const i=r;switch(n){case 46:return this.advance(),Fo(this.peek)?this.scanNumber(i):So(i,this.index,46);case 40:case 41:case 123:case 125:case 91:case 93:case 44:case 58:case 59:return this.scanCharacter(i,n);case 39:case 34:return this.scanString();case 35:return this.scanPrivateIdentifier();case 43:case 45:case 42:case 47:case 37:case 94:return this.scanOperator(i,String.fromCharCode(n));case 63:return this.scanQuestion(i);case 60:case 62:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=");case 33:case 61:return this.scanComplexOperator(i,String.fromCharCode(n),61,"=",61,"=");case 38:return this.scanComplexOperator(i,"&",38,"&");case 124:return this.scanComplexOperator(i,"|",124,"|");case 160:for(;(s=this.peek)>=9&&s<=32||160==s;)this.advance();return this.scanToken()}var s;return this.advance(),this.error("Unexpected character [".concat(String.fromCharCode(n),"]"),0)}scanCharacter(e,t){return this.advance(),So(e,this.index,t)}scanOperator(e,t){return this.advance(),wo(e,this.index,t)}scanComplexOperator(e,t,n,r,i,s){this.advance();let u=t;return this.peek==n&&(this.advance(),u+=r),null!=i&&this.peek==i&&(this.advance(),u+=s),wo(e,this.index,u)}scanIdentifier(){const e=this.index;for(this.advance();Bo(this.peek);)this.advance();const t=this.input.substring(e,this.index);return xo.indexOf(t)>-1?(n=e,r=this.index,i=t,new Ao(n,r,yo.Keyword,0,i)):function(e,t,n){return new Ao(e,t,yo.Identifier,0,n)}(e,this.index,t);var n,r,i}scanPrivateIdentifier(){const e=this.index;if(this.advance(),!bo(this.peek))return this.error("Invalid character [#]",-1);for(;Bo(this.peek);)this.advance();const t=this.input.substring(e,this.index);return n=e,r=this.index,i=t,new Ao(n,r,yo.PrivateIdentifier,0,i);var n,r,i}scanNumber(e){let t=this.index===e,n=!1;for(this.advance();;){if(Fo(this.peek));else if(95===this.peek){if(!Fo(this.input.charCodeAt(this.index-1))||!Fo(this.input.charCodeAt(this.index+1)))return this.error("Invalid numeric separator",0);n=!0}else if(46===this.peek)t=!1;else{if(101!=(r=this.peek)&&69!=r)break;if(this.advance(),Po(this.peek)&&this.advance(),!Fo(this.peek))return this.error("Invalid exponent",-1);t=!1}this.advance()}var r;let i=this.input.substring(e,this.index);n&&(i=i.replace(/_/g,""));const s=t?function(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}(i):parseFloat(i);return u=e,a=this.index,o=s,new Ao(u,a,yo.Number,o,"");var u,a,o}scanString(){const e=this.index,t=this.peek;this.advance();let n="",r=this.index;const i=this.input;for(;this.peek!=t;)if(92==this.peek){let e;if(n+=i.substring(r,this.index),this.advance(),this.peek=this.peek,117==this.peek){const t=i.substring(this.index+1,this.index+5);if(!/^[0-9a-f]+$/i.test(t))return this.error("Invalid unicode escape [\\u".concat(t,"]"),0);e=parseInt(t,16);for(let e=0;e<5;e++)this.advance()}else e=To(this.peek),this.advance();n+=String.fromCharCode(e),r=this.index}else{if(0==this.peek)return this.error("Unterminated quote",0);this.advance()}const s=i.substring(r,this.index);return this.advance(),u=e,a=this.index,o=n+s,new Ao(u,a,yo.String,0,o);var u,a,o}scanQuestion(e){this.advance();let t="?";return 63!==this.peek&&46!==this.peek||(t+=46===this.peek?".":"?",this.advance()),wo(e,this.index,t)}error(e,t){const n=this.index+t;return function(e,t,n){return new Ao(e,t,yo.Error,0,n)}(n,this.index,"Lexer Error: ".concat(e," at column ").concat(n," in expression [").concat(this.input,"]"))}}function bo(e){return 97<=e&&e<=122||65<=e&&e<=90||95==e||36==e}function No(e){if(0==e.length)return!1;const t=new Oo(e);if(!bo(t.peek))return!1;for(t.advance();0!==t.peek;){if(!Bo(t.peek))return!1;t.advance()}return!0}function Bo(e){return function(e){return e>=97&&e<=122||e>=65&&e<=90}(e)||Fo(e)||95==e||36==e}function Po(e){return 45==e||43==e}function To(e){switch(e){case 110:return 10;case 102:return 12;case 114:return 13;case 116:return 9;case 118:return 11;default:return e}}var Ro=Object.freeze({__proto__:null,get TokenType(){return yo},Lexer:class{tokenize(e){const t=new Oo(e),n=[];let r=t.scanToken();for(;null!=r;)n.push(r),r=t.scanToken();return n}},Token:Ao,EOF:Io,isIdentifier:No});
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/const Lo=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
class ko{constructor(e,t){this.start=e,this.end=t}static fromArray(e){return e?(function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){const e=t[0],n=t[1];Lo.forEach((t=>{if(t.test(e)||t.test(n))throw new Error("['".concat(e,"', '").concat(n,"'] contains unusable interpolation symbol."))}))}}("interpolation",e),new ko(e[0],e[1])):_o}}const _o=new ko("{{","}}");
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/class Mo{constructor(e,t,n){this.strings=e,this.expressions=t,this.offsets=n}}class jo{constructor(e,t,n){this.templateBindings=e,this.warnings=t,this.errors=n}}class Go{constructor(e){this._lexer=e,this.errors=[],this.simpleExpressionChecker=Wo}parseAction(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_o;this._checkNoInterpolation(e,t,r);const i=this._stripComments(e),s=this._lexer.tokenize(this._stripComments(e)),u=new Uo(e,t,n,s,i.length,!0,this.errors,e.length-i.length).parseChain();return new fo(u,e,t,n,this.errors)}parseBinding(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_o;const i=this._parseBindingAst(e,t,n,r);return new fo(i,e,t,n,this.errors)}checkSimpleExpression(e){const t=new this.simpleExpressionChecker;return e.visit(t),t.errors}parseSimpleBinding(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_o;const i=this._parseBindingAst(e,t,n,r),s=this.checkSimpleExpression(i);return s.length>0&&this._reportError("Host binding expression cannot contain ".concat(s.join(" ")),e,t),new fo(i,e,t,n,this.errors)}_reportError(e,t,n,r){this.errors.push(new ja(e,t,n,r))}_parseBindingAst(e,t,n,r){const i=this._parseQuote(e,t,n);if(null!=i)return i;this._checkNoInterpolation(e,t,r);const s=this._stripComments(e),u=this._lexer.tokenize(s);return new Uo(e,t,n,u,s.length,!1,this.errors,e.length-s.length).parseChain()}_parseQuote(e,t,n){if(null==e)return null;const r=e.indexOf(":");if(-1==r)return null;const i=e.substring(0,r).trim();if(!No(i))return null;const s=e.substring(r+1),u=new Ga(0,e.length);return new Wa(u,u.toAbsolute(n),i,s,t)}parseTemplateBindings(e,t,n,r,i){const s=this._lexer.tokenize(t);return new Uo(t,n,i,s,t.length,!1,this.errors,0).parseTemplateBindings({source:e,span:new ho(r,r+e.length)})}parseInterpolation(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_o;const{strings:i,expressions:s,offsets:u}=this.splitInterpolation(e,t,r);if(0===s.length)return null;const a=[];for(let r=0;r<s.length;++r){const i=s[r].text,o=this._stripComments(i),c=this._lexer.tokenize(o),D=new Uo(e,t,n,c,o.length,!1,this.errors,u[r]+(i.length-o.length)).parseChain();a.push(D)}return this.createInterpolationAst(i.map((e=>e.text)),a,e,t,n)}parseInterpolationExpression(e,t,n){const r=this._stripComments(e),i=this._lexer.tokenize(r),s=new Uo(e,t,n,i,r.length,!1,this.errors,0).parseChain();return this.createInterpolationAst(["",""],[s],e,t,n)}createInterpolationAst(e,t,n,r,i){const s=new Ga(0,n.length),u=new so(s,s.toAbsolute(i),e,t);return new fo(u,n,r,i,this.errors)}splitInterpolation(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_o;const r=[],i=[],s=[];let u=0,a=!1,o=!1,{start:c,end:D}=n;for(;u<e.length;)if(a){const n=u,r=n+c.length,l=this._getInterpolationEndIndex(e,D,r);if(-1===l){a=!1,o=!0;break}const p=l+D.length,h=e.substring(r,l);0===h.trim().length&&this._reportError("Blank expressions are not allowed in interpolated strings",e,"at column ".concat(u," in"),t),i.push({text:h,start:n,end:p}),s.push(r),u=p,a=!1}else{const t=u;u=e.indexOf(c,u),-1===u&&(u=e.length);const n=e.substring(t,u);r.push({text:n,start:t,end:u}),a=!0}if(!a)if(o){const t=r[r.length-1];t.text+=e.substring(u),t.end=e.length}else r.push({text:e.substring(u),start:u,end:e.length});return new Mo(r,i,s)}wrapLiteralPrimitive(e,t,n){const r=new Ga(0,null==e?0:e.length);return new fo(new no(r,r.toAbsolute(n),e),e,t,n,this.errors)}_stripComments(e){const t=this._commentStart(e);return null!=t?e.substring(0,t).trim():e}_commentStart(e){let t=null;for(let n=0;n<e.length-1;n++){const r=e.charCodeAt(n),i=e.charCodeAt(n+1);if(47===r&&47==i&&null==t)return n;t===r?t=null:null==t&&mo(r)&&(t=r)}return null}_checkNoInterpolation(e,t,n){let{start:r,end:i}=n,s=-1,u=-1;for(const t of this._forEachUnquotedChar(e,0))if(-1===s)e.startsWith(r)&&(s=t);else if(u=this._getInterpolationEndIndex(e,i,t),u>-1)break;s>-1&&u>-1&&this._reportError("Got interpolation (".concat(r).concat(i,") where expression was expected"),e,"at column ".concat(s," in"),t)}_getInterpolationEndIndex(e,t,n){for(const r of this._forEachUnquotedChar(e,n)){if(e.startsWith(t,r))return r;if(e.startsWith("//",r))return e.indexOf(t,r)}return-1}*_forEachUnquotedChar(e,t){let n=null,r=0;for(let i=t;i<e.length;i++){const t=e[i];!mo(e.charCodeAt(i))||null!==n&&n!==t||r%2!=0?null===n&&(yield i):n=null===n?t:null,r="\\"===t?r+1:0}}}var Ko;!function(e){e[e.None=0]="None",e[e.Writable=1]="Writable"}(Ko||(Ko={}));class Uo{constructor(e,t,n,r,i,s,u,a){this.input=e,this.location=t,this.absoluteOffset=n,this.tokens=r,this.inputLength=i,this.parseAction=s,this.errors=u,this.offset=a,this.rparensExpected=0,this.rbracketsExpected=0,this.rbracesExpected=0,this.context=Ko.None,this.sourceSpanCache=new Map,this.index=0}peek(e){const t=this.index+e;return t<this.tokens.length?this.tokens[t]:Io}get next(){return this.peek(0)}get atEOF(){return this.index>=this.tokens.length}get inputIndex(){return this.atEOF?this.currentEndIndex:this.next.index+this.offset}get currentEndIndex(){if(this.index>0){return this.peek(-1).end+this.offset}return 0===this.tokens.length?this.inputLength+this.offset:this.next.index+this.offset}get currentAbsoluteOffset(){return this.absoluteOffset+this.inputIndex}span(e,t){let n=this.currentEndIndex;if(void 0!==t&&t>this.currentEndIndex&&(n=t),e>n){const t=n;n=e,e=t}return new Ga(e,n)}sourceSpan(e,t){const n="".concat(e,"@").concat(this.inputIndex,":").concat(t);return this.sourceSpanCache.has(n)||this.sourceSpanCache.set(n,this.span(e,t).toAbsolute(this.absoluteOffset)),this.sourceSpanCache.get(n)}advance(){this.index++}withContext(e,t){this.context|=e;const n=t();return this.context^=e,n}consumeOptionalCharacter(e){return!!this.next.isCharacter(e)&&(this.advance(),!0)}peekKeywordLet(){return this.next.isKeywordLet()}peekKeywordAs(){return this.next.isKeywordAs()}expectCharacter(e){this.consumeOptionalCharacter(e)||this.error("Missing expected ".concat(String.fromCharCode(e)))}consumeOptionalOperator(e){return!!this.next.isOperator(e)&&(this.advance(),!0)}expectOperator(e){this.consumeOptionalOperator(e)||this.error("Missing expected operator ".concat(e))}prettyPrintToken(e){return e===Io?"end of input":"token ".concat(e)}expectIdentifierOrKeyword(){const e=this.next;return e.isIdentifier()||e.isKeyword()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier or keyword"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier or keyword")),null)}expectIdentifierOrKeywordOrString(){const e=this.next;return e.isIdentifier()||e.isKeyword()||e.isString()?(this.advance(),e.toString()):(e.isPrivateIdentifier()?this._reportErrorForPrivateIdentifier(e,"expected identifier, keyword or string"):this.error("Unexpected ".concat(this.prettyPrintToken(e),", expected identifier, keyword, or string")),"")}parseChain(){const e=[],t=this.inputIndex;for(;this.index<this.tokens.length;){const t=this.parsePipe();if(e.push(t),this.consumeOptionalCharacter(59))for(this.parseAction||this.error("Binding expression cannot contain chained expression");this.consumeOptionalCharacter(59););else this.index<this.tokens.length&&this.error("Unexpected token '".concat(this.next,"'"))}if(0==e.length){const e=this.offset,t=this.offset+this.inputLength;return new $a(this.span(e,t),this.sourceSpan(e,t))}return 1==e.length?e[0]:new za(this.span(t),this.sourceSpan(t),e)}parsePipe(){const e=this.inputIndex;let t=this.parseExpression();if(this.consumeOptionalOperator("|")){this.parseAction&&this.error("Cannot have a pipe in an action expression");do{const n=this.inputIndex;let r,i,s=this.expectIdentifierOrKeyword();null!==s?r=this.sourceSpan(n):(s="",i=-1!==this.next.index?this.next.index:this.inputLength+this.offset,r=new Ga(i,i).toAbsolute(this.absoluteOffset));const u=[];for(;this.consumeOptionalCharacter(58);)u.push(this.parseExpression());t=new to(this.span(e),this.sourceSpan(e,i),t,s,u,r)}while(this.consumeOptionalOperator("|"))}return t}parseExpression(){return this.parseConditional()}parseConditional(){const e=this.inputIndex,t=this.parseLogicalOr();if(this.consumeOptionalOperator("?")){const n=this.parsePipe();let r;if(this.consumeOptionalCharacter(58))r=this.parsePipe();else{const t=this.inputIndex,n=this.input.substring(e,t);this.error("Conditional expression ".concat(n," requires all 3 expressions")),r=new $a(this.span(e),this.sourceSpan(e))}return new qa(this.span(e),this.sourceSpan(e),t,n,r)}return t}parseLogicalOr(){const e=this.inputIndex;let t=this.parseLogicalAnd();for(;this.consumeOptionalOperator("||");){const n=this.parseLogicalAnd();t=new uo(this.span(e),this.sourceSpan(e),"||",t,n)}return t}parseLogicalAnd(){const e=this.inputIndex;let t=this.parseNullishCoalescing();for(;this.consumeOptionalOperator("&&");){const n=this.parseNullishCoalescing();t=new uo(this.span(e),this.sourceSpan(e),"&&",t,n)}return t}parseNullishCoalescing(){const e=this.inputIndex;let t=this.parseEquality();for(;this.consumeOptionalOperator("??");){const n=this.parseEquality();t=new uo(this.span(e),this.sourceSpan(e),"??",t,n)}return t}parseEquality(){const e=this.inputIndex;let t=this.parseRelational();for(;this.next.type==yo.Operator;){const n=this.next.strValue;switch(n){case"==":case"===":case"!=":case"!==":this.advance();const r=this.parseRelational();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseRelational(){const e=this.inputIndex;let t=this.parseAdditive();for(;this.next.type==yo.Operator;){const n=this.next.strValue;switch(n){case"<":case">":case"<=":case">=":this.advance();const r=this.parseAdditive();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseAdditive(){const e=this.inputIndex;let t=this.parseMultiplicative();for(;this.next.type==yo.Operator;){const n=this.next.strValue;switch(n){case"+":case"-":this.advance();let r=this.parseMultiplicative();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parseMultiplicative(){const e=this.inputIndex;let t=this.parsePrefix();for(;this.next.type==yo.Operator;){const n=this.next.strValue;switch(n){case"*":case"%":case"/":this.advance();let r=this.parsePrefix();t=new uo(this.span(e),this.sourceSpan(e),n,t,r);continue}break}return t}parsePrefix(){if(this.next.type==yo.Operator){const e=this.inputIndex;let t;switch(this.next.strValue){case"+":return this.advance(),t=this.parsePrefix(),ao.createPlus(this.span(e),this.sourceSpan(e),t);case"-":return this.advance(),t=this.parsePrefix(),ao.createMinus(this.span(e),this.sourceSpan(e),t);case"!":return this.advance(),t=this.parsePrefix(),new oo(this.span(e),this.sourceSpan(e),t)}}return this.parseCallChain()}parseCallChain(){const e=this.inputIndex;let t=this.parsePrimary();for(;;)if(this.consumeOptionalCharacter(46))t=this.parseAccessMemberOrMethodCall(t,e,!1);else if(this.consumeOptionalOperator("?."))t=this.consumeOptionalCharacter(91)?this.parseKeyedReadOrWrite(t,e,!0):this.parseAccessMemberOrMethodCall(t,e,!0);else if(this.consumeOptionalCharacter(91))t=this.parseKeyedReadOrWrite(t,e,!1);else if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const n=this.parseCallArguments();this.rparensExpected--,this.expectCharacter(41),t=new po(this.span(e),this.sourceSpan(e),t,n)}else{if(!this.consumeOptionalOperator("!"))return t;t=new co(this.span(e),this.sourceSpan(e),t)}}parsePrimary(){const e=this.inputIndex;if(this.consumeOptionalCharacter(40)){this.rparensExpected++;const e=this.parsePipe();return this.rparensExpected--,this.expectCharacter(41),e}if(this.next.isKeywordNull())return this.advance(),new no(this.span(e),this.sourceSpan(e),null);if(this.next.isKeywordUndefined())return this.advance(),new no(this.span(e),this.sourceSpan(e),void 0);if(this.next.isKeywordTrue())return this.advance(),new no(this.span(e),this.sourceSpan(e),!0);if(this.next.isKeywordFalse())return this.advance(),new no(this.span(e),this.sourceSpan(e),!1);if(this.next.isKeywordThis())return this.advance(),new Xa(this.span(e),this.sourceSpan(e));if(this.consumeOptionalCharacter(91)){this.rbracketsExpected++;const t=this.parseExpressionList(93);return this.rbracketsExpected--,this.expectCharacter(93),new ro(this.span(e),this.sourceSpan(e),t)}if(this.next.isCharacter(123))return this.parseLiteralMap();if(this.next.isIdentifier())return this.parseAccessMemberOrMethodCall(new Va(this.span(e),this.sourceSpan(e)),e,!1);if(this.next.isNumber()){const t=this.next.toNumber();return this.advance(),new no(this.span(e),this.sourceSpan(e),t)}if(this.next.isString()){const t=this.next.toString();return this.advance(),new no(this.span(e),this.sourceSpan(e),t)}return this.next.isPrivateIdentifier()?(this._reportErrorForPrivateIdentifier(this.next,null),new $a(this.span(e),this.sourceSpan(e))):this.index>=this.tokens.length?(this.error("Unexpected end of expression: ".concat(this.input)),new $a(this.span(e),this.sourceSpan(e))):(this.error("Unexpected token ".concat(this.next)),new $a(this.span(e),this.sourceSpan(e)))}parseExpressionList(e){const t=[];do{if(this.next.isCharacter(e))break;t.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return t}parseLiteralMap(){const e=[],t=[],n=this.inputIndex;if(this.expectCharacter(123),!this.consumeOptionalCharacter(125)){this.rbracesExpected++;do{const n=this.inputIndex,r=this.next.isString(),i=this.expectIdentifierOrKeywordOrString();if(e.push({key:i,quoted:r}),r)this.expectCharacter(58),t.push(this.parsePipe());else if(this.consumeOptionalCharacter(58))t.push(this.parsePipe());else{const e=this.span(n),r=this.sourceSpan(n);t.push(new Qa(e,r,r,new Va(e,r),i))}}while(this.consumeOptionalCharacter(44));this.rbracesExpected--,this.expectCharacter(125)}return new io(this.span(n),this.sourceSpan(n),e,t)}parseAccessMemberOrMethodCall(e,t,n){const r=this.inputIndex,i=this.withContext(Ko.Writable,(()=>{var t;const n=null!==(t=this.expectIdentifierOrKeyword())&&void 0!==t?t:"";return 0===n.length&&this.error("Expected identifier for property access",e.span.end),n})),s=this.sourceSpan(r);if(this.consumeOptionalCharacter(40)){const r=this.inputIndex;this.rparensExpected++;const u=this.parseCallArguments(),a=this.span(r,this.inputIndex).toAbsolute(this.absoluteOffset);this.expectCharacter(41),this.rparensExpected--;const o=this.span(t),c=this.sourceSpan(t);return n?new lo(o,c,s,e,i,u,a):new Do(o,c,s,e,i,u,a)}if(n)return this.consumeOptionalOperator("=")?(this.error("The '?.' operator cannot be used in the assignment"),new $a(this.span(t),this.sourceSpan(t))):new Ha(this.span(t),this.sourceSpan(t),s,e,i);if(this.consumeOptionalOperator("=")){if(!this.parseAction)return this.error("Bindings cannot contain assignments"),new $a(this.span(t),this.sourceSpan(t));const n=this.parseConditional();return new Ya(this.span(t),this.sourceSpan(t),s,e,i,n)}return new Qa(this.span(t),this.sourceSpan(t),s,e,i)}parseCallArguments(){if(this.next.isCharacter(41))return[];const e=[];do{e.push(this.parsePipe())}while(this.consumeOptionalCharacter(44));return e}expectTemplateBindingKey(){let e="",t=!1;const n=this.currentAbsoluteOffset;do{e+=this.expectIdentifierOrKeywordOrString(),t=this.consumeOptionalOperator("-"),t&&(e+="-")}while(t);return{source:e,span:new ho(n,n+e.length)}}parseTemplateBindings(e){const t=[];for(t.push(...this.parseDirectiveKeywordBindings(e));this.index<this.tokens.length;){const n=this.parseLetBinding();if(n)t.push(n);else{const n=this.expectTemplateBindingKey(),r=this.parseAsBinding(n);r?t.push(r):(n.source=e.source+n.source.charAt(0).toUpperCase()+n.source.substring(1),t.push(...this.parseDirectiveKeywordBindings(n)))}this.consumeStatementTerminator()}return new jo(t,[],this.errors)}parseKeyedReadOrWrite(e,t,n){return this.withContext(Ko.Writable,(()=>{this.rbracketsExpected++;const r=this.parsePipe();if(r instanceof $a&&this.error("Key access cannot be empty"),this.rbracketsExpected--,this.expectCharacter(93),!this.consumeOptionalOperator("="))return n?new Za(this.span(t),this.sourceSpan(t),e,r):new Ja(this.span(t),this.sourceSpan(t),e,r);if(!n){const n=this.parseConditional();return new eo(this.span(t),this.sourceSpan(t),e,r,n)}return this.error("The '?.' operator cannot be used in the assignment"),new $a(this.span(t),this.sourceSpan(t))}))}parseDirectiveKeywordBindings(e){const t=[];this.consumeOptionalCharacter(58);const n=this.getDirectiveBoundTarget();let r=this.currentAbsoluteOffset;const i=this.parseAsBinding(e);i||(this.consumeStatementTerminator(),r=this.currentAbsoluteOffset);const s=new ho(e.span.start,r);return t.push(new vo(s,e,n)),i&&t.push(i),t}getDirectiveBoundTarget(){if(this.next===Io||this.peekKeywordAs()||this.peekKeywordLet())return null;const e=this.parsePipe(),{start:t,end:n}=e.span,r=this.input.substring(t,n);return new fo(e,r,this.location,this.absoluteOffset+t,this.errors)}parseAsBinding(e){if(!this.peekKeywordAs())return null;this.advance();const t=this.expectTemplateBindingKey();this.consumeStatementTerminator();const n=new ho(e.span.start,this.currentAbsoluteOffset);return new Eo(n,t,e)}parseLetBinding(){if(!this.peekKeywordLet())return null;const e=this.currentAbsoluteOffset;this.advance();const t=this.expectTemplateBindingKey();let n=null;this.consumeOptionalOperator("=")&&(n=this.expectTemplateBindingKey()),this.consumeStatementTerminator();const r=new ho(e,this.currentAbsoluteOffset);return new Eo(r,t,n)}consumeStatementTerminator(){this.consumeOptionalCharacter(59)||this.consumeOptionalCharacter(44)}error(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.errors.push(new ja(e,this.input,this.locationText(t),this.location)),this.skip()}locationText(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=this.index),e<this.tokens.length?"at column ".concat(this.tokens[e].index+1," in"):"at the end of the expression"}_reportErrorForPrivateIdentifier(e,t){let n="Private identifiers are not supported. Unexpected private identifier: ".concat(e);null!==t&&(n+=", ".concat(t)),this.error(n)}skip(){let e=this.next;for(;!(!(this.index<this.tokens.length)||e.isCharacter(59)||e.isOperator("|")||!(this.rparensExpected<=0)&&e.isCharacter(41)||!(this.rbracesExpected<=0)&&e.isCharacter(125)||!(this.rbracketsExpected<=0)&&e.isCharacter(93)||this.context&Ko.Writable&&e.isOperator("="));)this.next.isError()&&this.errors.push(new ja(this.next.toString(),this.input,this.locationText(),this.location)),this.advance(),e=this.next}}class Wo{constructor(){this.errors=[]}visitImplicitReceiver(e,t){}visitThisReceiver(e,t){}visitInterpolation(e,t){}visitLiteralPrimitive(e,t){}visitPropertyRead(e,t){}visitPropertyWrite(e,t){}visitSafePropertyRead(e,t){}visitMethodCall(e,t){}visitSafeMethodCall(e,t){}visitFunctionCall(e,t){}visitLiteralArray(e,t){this.visitAll(e.expressions,t)}visitLiteralMap(e,t){this.visitAll(e.values,t)}visitUnary(e,t){}visitBinary(e,t){}visitPrefixNot(e,t){}visitNonNullAssert(e,t){}visitConditional(e,t){}visitPipe(e,t){this.errors.push("pipes")}visitKeyedRead(e,t){}visitKeyedWrite(e,t){}visitAll(e,t){return e.map((e=>e.visit(this,t)))}visitChain(e,t){}visitQuote(e,t){}visitSafeKeyedRead(e,t){}}class $o extends Co{constructor(){super(...arguments),this.errors=[]}visitPipe(){this.errors.push("pipes")}}var Vo=Object.freeze({__proto__:null,SplitInterpolation:Mo,TemplateBindingParseResult:jo,Parser:Go,IvyParser:class extends Go{constructor(){super(...arguments),this.simpleExpressionChecker=$o}},_ParseAST:Uo});!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.getLast=e.toLowerCamelCase=e.findBackChar=e.findFrontChar=e.fitSpans=e.getNgType=e.parseNgInterpolation=e.parseNgTemplateBindings=e.parseNgAction=e.parseNgSimpleBinding=e.parseNgBinding=e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX=void 0;const t=go,n=Ro,r=Vo,i="angular-estree-parser";e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX="NgEstreeParser";const s=[i,0];function u(){return new r.Parser(new n.Lexer)}function a(e,t){const n=u(),{astInput:r,comments:i}=D(e,n),{ast:s,errors:a}=t(r,n);return c(a),{ast:s,comments:i}}function o(e,t){if(e&&"object"==typeof e){if(Array.isArray(e))return e.forEach((e=>o(e,t)));for(const n of Object.keys(e)){const r=e[n];"span"===n?t(r):o(r,t)}}}function c(e){if(0!==e.length){const[{message:t}]=e;throw new SyntaxError(t.replace(/^Parser Error: | at column \d+ in [^]*$/g,""))}}function D(e,t){const n=t._commentStart(e);return null===n?{astInput:e,comments:[]}:{astInput:e.slice(0,n),comments:[{type:"Comment",value:e.slice(n+"//".length),span:{start:n,end:e.length}}]}}function l(e,t){let{start:n,end:r}=e,i=n,s=r;for(;s!==i&&/\s/.test(t[s-1]);)s--;for(;i!==s&&/\s/.test(t[i]);)i++;return{start:i,end:s}}function p(e,t){let{start:n,end:r}=e,i=n,s=r;for(;s!==t.length&&/\s/.test(t[s]);)s++;for(;0!==i&&/\s/.test(t[i-1]);)i--;return{start:i,end:s}}function h(e,t){return"("===t[e.start-1]&&")"===t[e.end]?{start:e.start-1,end:e.end+1}:e}e.parseNgBinding=function(e){return a(e,((e,t)=>t.parseBinding(e,...s)))},e.parseNgSimpleBinding=function(e){return a(e,((e,t)=>t.parseSimpleBinding(e,...s)))},e.parseNgAction=function(e){return a(e,((e,t)=>t.parseAction(e,...s)))},e.parseNgTemplateBindings=function(t){const n=u(),{templateBindings:r,errors:s}=n.parseTemplateBindings(e.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX,t,i,0,0);return c(s),r},e.parseNgInterpolation=function(e){const t=u(),{astInput:n,comments:r}=D(e,t),i="{{",{ast:a,errors:l}=t.parseInterpolation(i+n+"}}",...s);c(l);const p=a.expressions[0],h=new Set;return o(p,(e=>{h.has(e)||(e.start-=i.length,e.end-=i.length,h.add(e))})),{ast:p,comments:r}},e.getNgType=function(e){return t.Unary&&e instanceof t.Unary?"Unary":e instanceof t.Binary?"Binary":e instanceof t.BindingPipe?"BindingPipe":e instanceof t.Chain?"Chain":e instanceof t.Conditional?"Conditional":e instanceof t.EmptyExpr?"EmptyExpr":e instanceof t.FunctionCall?"FunctionCall":e instanceof t.ImplicitReceiver?"ImplicitReceiver":e instanceof t.KeyedRead?"KeyedRead":e instanceof t.KeyedWrite?"KeyedWrite":e instanceof t.LiteralArray?"LiteralArray":e instanceof t.LiteralMap?"LiteralMap":e instanceof t.LiteralPrimitive?"LiteralPrimitive":e instanceof t.MethodCall?"MethodCall":e instanceof t.NonNullAssert?"NonNullAssert":e instanceof t.PrefixNot?"PrefixNot":e instanceof t.PropertyRead?"PropertyRead":e instanceof t.PropertyWrite?"PropertyWrite":e instanceof t.Quote?"Quote":e instanceof t.SafeMethodCall?"SafeMethodCall":e instanceof t.SafePropertyRead?"SafePropertyRead":e.type},e.fitSpans=function(e,t,n){let r=0;const i={start:e.start,end:e.end};for(;;){const e=p(i,t),n=h(e,t);if(e.start===n.start&&e.end===n.end)break;i.start=n.start,i.end=n.end,r++}return{hasParens:0!==(n?r-1:r),outerSpan:l(n?{start:i.start+1,end:i.end-1}:i,t),innerSpan:l(e,t)}},e.findFrontChar=function(e,t,n){let r=t;for(;!e.test(n[r]);)if(--r<0)throw new Error("Cannot find front char ".concat(e," from index ").concat(t," in ").concat(JSON.stringify(n)));return r},e.findBackChar=function(e,t,n){let r=t;for(;!e.test(n[r]);)if(++r>=n.length)throw new Error("Cannot find back char ".concat(e," from index ").concat(t," in ").concat(JSON.stringify(n)));return r},e.toLowerCamelCase=function(e){return e.slice(0,1).toLowerCase()+e.slice(1)},e.getLast=function(e){return 0===e.length?void 0:e[e.length-1]}}(Ma),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.transformSpan=e.transform=void 0;const t=Ma;function n(e,n){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!r){const{start:t,end:r}=e;return{start:t,end:r,loc:{start:n.locator.locationForIndex(t),end:n.locator.locationForIndex(r)}}}const{outerSpan:s,innerSpan:u,hasParens:a}=t.fitSpans(e,n.text,i);return Object.assign({start:u.start,end:u.end,loc:{start:n.locator.locationForIndex(u.start),end:n.locator.locationForIndex(u.end)}},a&&{extra:{parenthesized:!0,parenStart:s.start,parenEnd:s.end}})}e.transform=function(r,i){let s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const u=t.getNgType(r);switch(u){case"Unary":{const{operator:e,expr:t}=r;return c("UnaryExpression",{prefix:!0,argument:a(t),operator:e},r.span,{hasParentParens:s})}case"Binary":{const{left:e,operation:t,right:n}=r,i=n.span.start===n.span.end,u=e.span.start===e.span.end;if(i||u){const t=e.span.start===e.span.end?a(n):a(e);return c("UnaryExpression",{prefix:!0,argument:t,operator:i?"+":"-"},{start:r.span.start,end:v(t)},{hasParentParens:s})}const o=a(e),D=a(n);return c("&&"===t||"||"===t?"LogicalExpression":"BinaryExpression",{left:o,right:D,operator:t},{start:E(o),end:v(D)},{hasParentParens:s})}case"BindingPipe":{const{exp:e,name:n,args:i}=r,u=a(e),o=p(/\S/,p(/\|/,v(u))+1),D=c("Identifier",{name:n},{start:o,end:o+n.length}),l=i.map(a);return c("NGPipeExpression",{left:u,right:D,arguments:l},{start:E(u),end:v(0===l.length?D:t.getLast(l))},{hasParentParens:s})}case"Chain":{const{expressions:e}=r;return c("NGChainedExpression",{expressions:e.map(a)},r.span,{hasParentParens:s})}case"Comment":{const{value:e}=r;return c("CommentLine",{value:e},r.span,{processSpan:!1})}case"Conditional":{const{condition:e,trueExp:t,falseExp:n}=r,i=a(e),u=a(t),o=a(n);return c("ConditionalExpression",{test:i,consequent:u,alternate:o},{start:E(i),end:v(o)},{hasParentParens:s})}case"EmptyExpr":return c("NGEmptyExpression",{},r.span,{hasParentParens:s});case"FunctionCall":{const{target:e,args:t}=r,n=1===t.length?[o(t[0])]:t.map(a),i=a(e);return c("CallExpression",{callee:i,arguments:n},{start:E(i),end:r.span.end},{hasParentParens:s})}case"ImplicitReceiver":return c("ThisExpression",{},r.span,{hasParentParens:s});case"KeyedRead":{const{key:e}=r;return D(Object.prototype.hasOwnProperty.call(r,"receiver")?r.receiver:r.obj,a(e),{computed:!0,optional:!1},{end:r.span.end,hasParentParens:s})}case"LiteralArray":{const{expressions:e}=r;return c("ArrayExpression",{elements:e.map(a)},r.span,{hasParentParens:s})}case"LiteralMap":{const{keys:e,values:t}=r,n=t.map((e=>a(e))),i=e.map(((e,t)=>{let{key:i,quoted:s}=e;const u=n[t],a={start:p(/\S/,0===t?r.span.start+1:p(/,/,v(n[t-1]))+1),end:l(/\S/,l(/:/,E(u)-1)-1)+1},o=s?c("StringLiteral",{value:i},a):c("Identifier",{name:i},a);return c("ObjectProperty",{key:o,value:u,method:!1,shorthand:!1,computed:!1},{start:E(o),end:v(u)})}));return c("ObjectExpression",{properties:i},r.span,{hasParentParens:s})}case"LiteralPrimitive":{const{value:e}=r;switch(typeof e){case"boolean":return c("BooleanLiteral",{value:e},r.span,{hasParentParens:s});case"number":return c("NumericLiteral",{value:e},r.span,{hasParentParens:s});case"object":return c("NullLiteral",{},r.span,{hasParentParens:s});case"string":return c("StringLiteral",{value:e},r.span,{hasParentParens:s});case"undefined":return c("Identifier",{name:"undefined"},r.span,{hasParentParens:s});default:throw new Error("Unexpected LiteralPrimitive value type ".concat(typeof e))}}case"MethodCall":case"SafeMethodCall":{const e="SafeMethodCall"===u,{receiver:t,name:n,args:i}=r,p=1===i.length?[o(i[0])]:i.map(a),h=l(/\S/,l(/\(/,(0===p.length?l(/\)/,r.span.end-1):E(p[0]))-1)-1)+1,f=D(t,c("Identifier",{name:n},{start:h-n.length,end:h}),{computed:!1,optional:e}),v=d(f);return c(e||v?"OptionalCallExpression":"CallExpression",{callee:f,arguments:p},{start:E(f),end:r.span.end},{hasParentParens:s})}case"NonNullAssert":{const{expression:e}=r,t=a(e);return c("TSNonNullExpression",{expression:t},{start:E(t),end:r.span.end},{hasParentParens:s})}case"PrefixNot":{const{expression:e}=r,t=a(e);return c("UnaryExpression",{prefix:!0,operator:"!",argument:t},{start:r.span.start,end:v(t)},{hasParentParens:s})}case"PropertyRead":case"SafePropertyRead":{const e="SafePropertyRead"===u,{receiver:t,name:n}=r,i=l(/\S/,r.span.end-1)+1;return D(t,c("Identifier",{name:n},{start:i-n.length,end:i},h(t)?{hasParentParens:s}:{}),{computed:!1,optional:e},{hasParentParens:s})}case"KeyedWrite":{const{key:e,value:t}=r,n=Object.prototype.hasOwnProperty.call(r,"receiver")?r.receiver:r.obj,i=a(e),u=a(t),o=D(n,i,{computed:!0,optional:!1},{end:p(/\]/,v(i))+1});return c("AssignmentExpression",{left:o,operator:"=",right:u},{start:E(o),end:v(u)},{hasParentParens:s})}case"PropertyWrite":{const{receiver:e,name:t,value:n}=r,i=a(n),u=l(/\S/,l(/=/,E(i)-1)-1)+1,o=D(e,c("Identifier",{name:t},{start:u-t.length,end:u}),{computed:!1,optional:!1});return c("AssignmentExpression",{left:o,operator:"=",right:i},{start:E(o),end:v(i)},{hasParentParens:s})}case"Quote":{const{prefix:e,uninterpretedExpression:t}=r;return c("NGQuotedExpression",{prefix:e,value:t},r.span,{hasParentParens:s})}default:throw new Error("Unexpected node ".concat(u))}function a(t){return e.transform(t,i)}function o(t){return e.transform(t,i,!0)}function c(e,t,r){let{processSpan:s=!0,hasParentParens:u=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const a=Object.assign(Object.assign({type:e},n(r,i,s,u)),t);switch(e){case"Identifier":{const e=a;e.loc.identifierName=e.name;break}case"NumericLiteral":{const e=a;e.extra=Object.assign(Object.assign({},e.extra),{raw:i.text.slice(e.start,e.end),rawValue:e.value});break}case"StringLiteral":{const e=a;e.extra=Object.assign(Object.assign({},e.extra),{raw:i.text.slice(e.start,e.end),rawValue:e.value});break}}return a}function D(e,t,n){let{end:r=v(t),hasParentParens:i=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(h(e))return t;const s=a(e),u=d(s);return c(n.optional||u?"OptionalMemberExpression":"MemberExpression",Object.assign({object:s,property:t,computed:n.computed},n.optional?{optional:!0}:u?{optional:!1}:null),{start:E(s),end:r},{hasParentParens:i})}function l(e,n){return t.findFrontChar(e,n,i.text)}function p(e,n){return t.findBackChar(e,n,i.text)}function h(e){return e.span.start>=e.span.end||/^\s+$/.test(i.text.slice(e.span.start,e.span.end))}function d(e){return("OptionalCallExpression"===e.type||"OptionalMemberExpression"===e.type)&&!f(e)}function f(e){return e.extra&&e.extra.parenthesized}function E(e){return f(e)?e.extra.parenStart:e.start}function v(e){return f(e)?e.extra.parenEnd:e.end}},e.transformSpan=n}(_a);var Xo={};Object.defineProperty(Xo,"__esModule",{value:!0}),Xo.transformTemplateBindings=void 0;const zo=go,qo=_a,Qo=Ma;Xo.transformTemplateBindings=function(e,t){e.forEach((function(e){h(e.key.span),p(e)&&e.value&&h(e.value.span)}));const[n]=e,{key:r}=n,i=0===t.text.slice(n.sourceSpan.start,n.sourceSpan.end).trim().length?e.slice(1):e,s=[];let u=null;for(let e=0;e<i.length;e++){const n=i[e];if(u&&l(u)&&p(n)&&n.value&&n.value.source===u.key.source){const e=c("NGMicrosyntaxKey",{name:n.key.source},n.key.span),r=(e,n)=>Object.assign(Object.assign({},e),qo.transformSpan({start:e.start,end:n},t)),i=t=>Object.assign(Object.assign({},r(t,e.end)),{alias:e}),u=s.pop();if("NGMicrosyntaxExpression"===u.type)s.push(i(u));else{if("NGMicrosyntaxKeyedExpression"!==u.type)throw new Error("Unexpected type ".concat(u.type));{const e=i(u.expression);s.push(r(Object.assign(Object.assign({},u),{expression:e}),e.end))}}}else s.push(a(n,e));u=n}return c("NGMicrosyntax",{body:s},0===s.length?e[0].sourceSpan:{start:s[0].start,end:s[s.length-1].end});function a(e,n){if(l(e)){const{key:t,value:r}=e;return r?0===n?c("NGMicrosyntaxExpression",{expression:o(r.ast),alias:null},r.sourceSpan):c("NGMicrosyntaxKeyedExpression",{key:c("NGMicrosyntaxKey",{name:D(t.source)},t.span),expression:c("NGMicrosyntaxExpression",{expression:o(r.ast),alias:null},r.sourceSpan)},{start:t.span.start,end:r.sourceSpan.end}):c("NGMicrosyntaxKey",{name:D(t.source)},t.span)}{const{key:n,sourceSpan:r}=e;if(/^let\s$/.test(t.text.slice(r.start,r.start+4))){const{value:t}=e;return c("NGMicrosyntaxLet",{key:c("NGMicrosyntaxKey",{name:n.source},n.span),value:t?c("NGMicrosyntaxKey",{name:t.source},t.span):null},{start:r.start,end:t?t.span.end:n.span.end})}{const r=function(e){if(!e.value||e.value.source!==Qo.NG_PARSE_TEMPLATE_BINDINGS_FAKE_PREFIX)return e.value;const n=Qo.findBackChar(/\S/,e.sourceSpan.start,t.text);return{source:"$implicit",span:{start:n,end:n}}}(e);return c("NGMicrosyntaxAs",{key:c("NGMicrosyntaxKey",{name:r.source},r.span),alias:c("NGMicrosyntaxKey",{name:n.source},n.span)},{start:r.span.start,end:n.span.end})}}}function o(e){return qo.transform(e,t)}function c(e,n,r){let i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return Object.assign(Object.assign({type:e},qo.transformSpan(r,t,i)),n)}function D(e){return Qo.toLowerCamelCase(e.slice(r.source.length))}function l(e){return e instanceof zo.ExpressionBinding}function p(e){return e instanceof zo.VariableBinding}function h(e){if('"'!==t.text[e.start]&&"'"!==t.text[e.start])return;const n=t.text[e.start];let r=!1;for(let i=e.start+1;i<t.text.length;i++)switch(t.text[i]){case n:if(!r)return void(e.end=i+1);default:r=!1;break;case"\\":r=!r}}},Object.defineProperty(Ba,"__esModule",{value:!0}),Ba.parseTemplateBindings=Ba.parseAction=Ba.parseInterpolation=Ba.parseSimpleBinding=Ba.parseBinding=void 0;const Yo=Pa,Ho=_a,Jo=Xo,Zo=Ma;function ec(e,t){const{ast:n,comments:r}=t(e),i=new Yo.Context(e),s=e=>Ho.transform(e,i),u=s(n);return u.comments=r.map(s),u}Ba.parseBinding=function(e){return ec(e,Zo.parseNgBinding)},Ba.parseSimpleBinding=function(e){return ec(e,Zo.parseNgSimpleBinding)},Ba.parseInterpolation=function(e){return ec(e,Zo.parseNgInterpolation)},Ba.parseAction=function(e){return ec(e,Zo.parseNgAction)},Ba.parseTemplateBindings=function(e){return Jo.transformTemplateBindings(Zo.parseNgTemplateBindings(e),new Yo.Context(e))};const{locStart:tc,locEnd:nc}=Na;function rc(e){return{astFormat:"estree",parse:(t,n,r)=>{const i=e(t,Ba);return{type:"NGRoot",node:"__ng_action"===r.parser&&"NGChainedExpression"!==i.type?Object.assign(Object.assign({},i),{},{type:"NGChainedExpression",expressions:[i]}):i}},locStart:tc,locEnd:nc}}var ic={parsers:{__ng_action:rc(((e,t)=>t.parseAction(e))),__ng_binding:rc(((e,t)=>t.parseBinding(e))),__ng_interpolation:rc(((e,t)=>t.parseInterpolation(e))),__ng_directive:rc(((e,t)=>t.parseTemplateBindings(e)))}};export{ic as default};