diff --git a/assets/About.6caa5508.js b/assets/About.a1121b3d.js similarity index 99% rename from assets/About.6caa5508.js rename to assets/About.a1121b3d.js index a6d8113..c67ce47 100644 --- a/assets/About.6caa5508.js +++ b/assets/About.a1121b3d.js @@ -1,4 +1,4 @@ -import{P as Prop,O as Options,V as Vue,_ as _export_sfc,o as openBlock,c as createElementBlock,F as Fragment,r as renderList,a as createBaseVNode,t as toDisplayString,M as hooks,$,e as resolveComponent,x as createVNode,d as createCommentVNode,p as pushScopeId,f as popScopeId,N as hosts,Q as marked,R as Loading,G as withCtx,b as createBlock}from"./index.6d814e8f.js";import{c as capitalize}from"./utils.f7161a61.js";function getDefaultExportFromCjs(D){return D&&D.__esModule&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D}const emojiRegex=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,re={command://g,hashes:/^#+/g};RegExp.prototype.find=function(D){const u=this.exec(D);return this.lastIndex=0,u};function parseExtensions(raw){let lines=raw.replace(`\r +import{P as Prop,O as Options,V as Vue,_ as _export_sfc,o as openBlock,c as createElementBlock,F as Fragment,r as renderList,a as createBaseVNode,t as toDisplayString,M as hooks,$,e as resolveComponent,x as createVNode,d as createCommentVNode,p as pushScopeId,f as popScopeId,N as hosts,Q as marked,R as Loading,G as withCtx,b as createBlock}from"./index.710b8de0.js";import{c as capitalize}from"./utils.0ccd6bd5.js";function getDefaultExportFromCjs(D){return D&&D.__esModule&&Object.prototype.hasOwnProperty.call(D,"default")?D.default:D}const emojiRegex=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,re={command://g,hashes:/^#+/g};RegExp.prototype.find=function(D){const u=this.exec(D);return this.lastIndex=0,u};function parseExtensions(raw){let lines=raw.replace(`\r `,` `).split(` `),i=0;function findSectionEnd(){const D=re.hashes.find(lines[i]);if(!D)return-1;const u=D[0].length;let F=i+1;for(;F`,lines.splice(D,0,` diff --git a/assets/Blog.7c7a198f.js b/assets/Blog.8a328ce9.js similarity index 88% rename from assets/Blog.7c7a198f.js rename to assets/Blog.8a328ce9.js index 72c0f36..ca05bb1 100644 --- a/assets/Blog.7c7a198f.js +++ b/assets/Blog.8a328ce9.js @@ -1 +1 @@ -import{_ as p,Y as g,c as s,a as o,t as r,d as n,F as B,r as v,b as i,o as t,p as _,f as m,e as c}from"./index.6d814e8f.js";import{Z as V}from"./index.6d814e8f.js";const k=e=>(_("data-v-3e1b94a7"),e=e(),m(),e),y={key:0,id:"Blog",class:"general-page"},f=k(()=>o("div",{class:"title"},[o("h2",null,"\u8BB0\u4E8B\u672C"),o("div",{class:"subtitle"},"\u4E00\u4E9B\u503C\u5F97\u7559\u4E0B\u6765\u7684\u6587\u5B57")],-1)),h={id:"breadcrumb"},F={key:0},P={key:1},b={key:2,class:"no-after"};function C(e,u,E,$,I,S){const l=c("BlogPostPreview"),d=c("Loading");return e.meta?(t(),s("div",y,[f,o("div",h,[o("span",{class:"clickable",onClick:u[0]||(u[0]=()=>e.$router.push({query:{}}))},"\u7D22\u5F15"),e.tag?(t(),s("span",F,"\u{1F3F7}\uFE0F"+r(e.tag),1)):n("",!0),e.category?(t(),s("span",P,"\u{1F4C2}"+r(e.category),1)):n("",!0),e.post&&e.activePost?(t(),s("span",b,r(e.activePost.title),1)):n("",!0)]),(t(!0),s(B,null,v(e.filteredPosts,a=>(t(),i(l,{key:a,meta:a,active:a===e.activePost},null,8,["meta","active"]))),128))])):(t(),i(d,{key:1}))}const L=p(g,[["render",C],["__scopeId","data-v-3e1b94a7"]]);export{L as default,V as staticMeta}; +import{_ as p,Y as g,c as s,a as o,t as r,d as n,F as B,r as v,b as i,o as t,p as _,f as m,e as c}from"./index.710b8de0.js";import{Z as V}from"./index.710b8de0.js";const k=e=>(_("data-v-3e1b94a7"),e=e(),m(),e),y={key:0,id:"Blog",class:"general-page"},f=k(()=>o("div",{class:"title"},[o("h2",null,"\u8BB0\u4E8B\u672C"),o("div",{class:"subtitle"},"\u4E00\u4E9B\u503C\u5F97\u7559\u4E0B\u6765\u7684\u6587\u5B57")],-1)),h={id:"breadcrumb"},F={key:0},P={key:1},b={key:2,class:"no-after"};function C(e,u,E,$,I,S){const l=c("BlogPostPreview"),d=c("Loading");return e.meta?(t(),s("div",y,[f,o("div",h,[o("span",{class:"clickable",onClick:u[0]||(u[0]=()=>e.$router.push({query:{}}))},"\u7D22\u5F15"),e.tag?(t(),s("span",F,"\u{1F3F7}\uFE0F"+r(e.tag),1)):n("",!0),e.category?(t(),s("span",P,"\u{1F4C2}"+r(e.category),1)):n("",!0),e.post&&e.activePost?(t(),s("span",b,r(e.activePost.title),1)):n("",!0)]),(t(!0),s(B,null,v(e.filteredPosts,a=>(t(),i(l,{key:a,meta:a,active:a===e.activePost},null,8,["meta","active"]))),128))])):(t(),i(d,{key:1}))}const L=p(g,[["render",C],["__scopeId","data-v-3e1b94a7"]]);export{L as default,V as staticMeta}; diff --git a/assets/ColorPicker.6aaaaad1.js b/assets/ColorPicker.46cff875.js similarity index 99% rename from assets/ColorPicker.6aaaaad1.js rename to assets/ColorPicker.46cff875.js index ab3c193..1897a06 100644 --- a/assets/ColorPicker.6aaaaad1.js +++ b/assets/ColorPicker.46cff875.js @@ -1,4 +1,4 @@ -import{g as Mn,h as ks,w as ze,i as ai,j as oi,k as Es,l as Ps,u as Xt,s as Ts,m as U,q as he,v as ee,x as Pe,y as xe,z as Rs,A as ii,o as E,c as H,a as x,B as ce,n as X,F as Xe,r as Jt,d as z,e as V,b as Y,C as jn,D as si,t as ka,E as Ms,G as Ea,H as Pa,I as Ta,T as js,p as $t,f as kt,P as Is,O as Ds,V as Hs,_ as Ls,J as fr,K as Bs,L as Ns}from"./index.6d814e8f.js";import{r as qr}from"./utils.f7161a61.js";const Fs=/\B([A-Z])/g,Vs=e=>e.replace(Fs,"-$1").toLowerCase();function In(e){return Mn((t,r)=>{const n=e||Vs(r);t.emits||(t.emits=[]),t.emits.push(n);const a=t.methods[r];t.methods[r]=function(...l){const i=c=>{c===void 0?l.length===0?this.$emit(n):l.length===1?this.$emit(n,l[0]):this.$emit(n,...l):(l.unshift(c),this.$emit(n,...l))},s=a.apply(this,l);return zs(s)?s.then(i):i(s),s}})}function zs(e){return e instanceof Promise||e&&typeof e.then=="function"}function Ws(e,t){return Mn((r,n)=>{const a=`update:${e}`;r.props||(r.props=Object.create(null)),r.props[e]=t,r.emits||(r.emits=[]),r.emits.push(a),r.computed||(r.computed=Object.create(null)),r.computed[n]={get(){return this[e]},set(o){this.$emit(a,o)}}})}function Us(e){return Mn((t,r)=>{t.computed||(t.computed=Object.create(null)),t.computed[r]={cache:!1,get(){return this.$refs[e||r]}}})}/*! +import{g as Mn,h as ks,w as ze,i as ai,j as oi,k as Es,l as Ps,u as Xt,s as Ts,m as U,q as he,v as ee,x as Pe,y as xe,z as Rs,A as ii,o as E,c as H,a as x,B as ce,n as X,F as Xe,r as Jt,d as z,e as V,b as Y,C as jn,D as si,t as ka,E as Ms,G as Ea,H as Pa,I as Ta,T as js,p as $t,f as kt,P as Is,O as Ds,V as Hs,_ as Ls,J as fr,K as Bs,L as Ns}from"./index.710b8de0.js";import{r as qr}from"./utils.0ccd6bd5.js";const Fs=/\B([A-Z])/g,Vs=e=>e.replace(Fs,"-$1").toLowerCase();function In(e){return Mn((t,r)=>{const n=e||Vs(r);t.emits||(t.emits=[]),t.emits.push(n);const a=t.methods[r];t.methods[r]=function(...l){const i=c=>{c===void 0?l.length===0?this.$emit(n):l.length===1?this.$emit(n,l[0]):this.$emit(n,...l):(l.unshift(c),this.$emit(n,...l))},s=a.apply(this,l);return zs(s)?s.then(i):i(s),s}})}function zs(e){return e instanceof Promise||e&&typeof e.then=="function"}function Ws(e,t){return Mn((r,n)=>{const a=`update:${e}`;r.props||(r.props=Object.create(null)),r.props[e]=t,r.emits||(r.emits=[]),r.emits.push(a),r.computed||(r.computed=Object.create(null)),r.computed[n]={get(){return this[e]},set(o){this.$emit(a,o)}}})}function Us(e){return Mn((t,r)=>{t.computed||(t.computed=Object.create(null)),t.computed[r]={cache:!1,get(){return this.$refs[e||r]}}})}/*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. diff --git a/assets/ColorPickerTest.96071e4a.js b/assets/ColorPickerTest.a963b361.js similarity index 83% rename from assets/ColorPickerTest.96071e4a.js rename to assets/ColorPickerTest.a963b361.js index 62979ae..e988ac1 100644 --- a/assets/ColorPickerTest.96071e4a.js +++ b/assets/ColorPickerTest.a963b361.js @@ -1 +1 @@ -import{V as a,O as f,_ as i,c as u,x as m,a as P,e as d,o as _}from"./index.6d814e8f.js";import{M as v}from"./ColorPicker.6aaaaad1.js";import"./utils.f7161a61.js";var C=Object.defineProperty,O=Object.getOwnPropertyDescriptor,g=(r,o,l,s)=>{for(var e=s>1?void 0:s?O(o,l):o,n=r.length-1,t;n>=0;n--)(t=r[n])&&(e=(s?t(o,l,e):t(e))||e);return s&&e&&C(o,l,e),e};let p=class extends a{constructor(){super(...arguments),this.color="#ffffff"}log(){console.log(this.color)}};p=g([f({components:{MyColorPicker:v}})],p);const j={id:"Projects"};function M(r,o,l,s,e,n){const t=d("MyColorPicker");return _(),u("div",j,[m(t,{color:r.color,"onUpdate:color":o[0]||(o[0]=c=>r.color=c)},null,8,["color"]),P("button",{onClick:o[1]||(o[1]=(...c)=>r.log&&r.log(...c))})])}const y=i(p,[["render",M]]);export{y as default}; +import{V as a,O as f,_ as i,c as u,x as m,a as P,e as d,o as _}from"./index.710b8de0.js";import{M as v}from"./ColorPicker.46cff875.js";import"./utils.0ccd6bd5.js";var C=Object.defineProperty,O=Object.getOwnPropertyDescriptor,g=(r,o,l,s)=>{for(var e=s>1?void 0:s?O(o,l):o,n=r.length-1,t;n>=0;n--)(t=r[n])&&(e=(s?t(o,l,e):t(e))||e);return s&&e&&C(o,l,e),e};let p=class extends a{constructor(){super(...arguments),this.color="#ffffff"}log(){console.log(this.color)}};p=g([f({components:{MyColorPicker:v}})],p);const j={id:"Projects"};function M(r,o,l,s,e,n){const t=d("MyColorPicker");return _(),u("div",j,[m(t,{color:r.color,"onUpdate:color":o[0]||(o[0]=c=>r.color=c)},null,8,["color"]),P("button",{onClick:o[1]||(o[1]=(...c)=>r.log&&r.log(...c))})])}const y=i(p,[["render",M]]);export{y as default}; diff --git a/assets/Friends.450c0f81.js b/assets/Friends.450c0f81.js new file mode 100644 index 0000000..4a6f56a --- /dev/null +++ b/assets/Friends.450c0f81.js @@ -0,0 +1 @@ +import{V as b,N as d,a0 as m,O as F,_ as g,c as r,F as h,r as f,d as B,o as i,a as t,n as $,t as y,B as C,p as E,f as S,W as p}from"./index.710b8de0.js";import{s as O}from"./utils.0ccd6bd5.js";var k=Object.defineProperty,w=Object.getOwnPropertyDescriptor,j=(e,s,c,o)=>{for(var a=o>1?void 0:o?w(s,c):s,u=e.length-1,n;u>=0;u--)(n=e[u])&&(a=(o?n(s,c,a):n(a))||a);return o&&a&&k(s,c,a),a};const V=new Set(["name","avatar","banner","desc"]),v={blog:"fas fa-book"};let l=class extends b{constructor(){super(...arguments),this.friends=[]}async created(){this.friends=await(await fetch(`${d.content}/content/generated/friends/friends.json`)).json(),this.friends.forEach(e=>{e.avatar.startsWith("http")||(e.avatar=`${d.content}/${e.avatar}`),e.banner&&!e.banner.startsWith("http")&&(e.banner=`${d.content}/${e.banner}`)}),this.friends=O(this.friends)}bgStyle(e){return e.banner?{"background-image":`url("${e.banner}")`}:{}}getFriendLinks(e){return Object.entries(e).filter(s=>!V.has(s[0].toString())).map(s=>({link:s[1],icon:m.includes(s[0])?`fab fa-${s[0]}`:s[0]in v?v[s[0]]:s[0]}))}};l=j([F({components:{}})],l);const D=e=>(E("data-v-c9ba4715"),e=e(),S(),e),I={id:"Friends",class:"general-page"},N=D(()=>t("div",{class:"title"},[t("h2",null,"\u670B\u53CB\u4EEC"),t("div",{class:"subtitle"},[p(" \u662F\u5C0F\u6842\u6842\u7684\u670B\u53CB\u4EEC\uFF08\u6B22\u8FCE\u8865\u5145"),t("br"),p(" \u6BCF\u6B21\u5237\u65B0\u90FD\u4F1A\u6253\u4E71\u987A\u5E8F\uFF01 ")])],-1)),P={key:0,class:"friends"},x=["src"],L={class:"info"},W={class:"name unselectable"},z={class:"links"},A=["href"];function T(e,s,c,o,a,u){return i(),r("div",I,[N,e.friends?(i(),r("div",P,[(i(!0),r(h,null,f(e.friends,n=>(i(),r("div",{class:"friend card",key:n.name},[t("div",{class:"banner",style:$(e.bgStyle(n))},null,4),t("img",{class:"avatar",src:n.avatar,alt:""},null,8,x),t("div",L,[t("div",W,y(n.name),1),t("div",z,[(i(!0),r(h,null,f(e.getFriendLinks(n),_=>(i(),r("a",{href:_.link},[t("i",{class:C(_.icon)},null,2)],8,A))),256))])])]))),128))])):B("",!0)])}const H=g(l,[["render",T],["__scopeId","data-v-c9ba4715"]]);export{H as default}; diff --git a/assets/Friends.76bac6fa.css b/assets/Friends.76bac6fa.css new file mode 100644 index 0000000..a665ae3 --- /dev/null +++ b/assets/Friends.76bac6fa.css @@ -0,0 +1 @@ +.general-page[data-v-c9ba4715]{text-align:left;width:600px;margin:2em auto 0}.title[data-v-c9ba4715]{margin-bottom:2em}.title h2[data-v-c9ba4715]{margin-bottom:0}.title .subtitle[data-v-c9ba4715]{color:#a68659d6}@media screen and (max-width: 640px){.general-page[data-v-c9ba4715]{margin:2em 20px 0;width:unset}}.friend[data-v-c9ba4715]{display:flex;position:relative;min-width:320px}.friend .banner[data-v-c9ba4715]{position:absolute;left:0;top:0;z-index:1;width:100%;height:calc(68px + max(min(100vw,600px),360px)*.1);background-color:#a6865957;background-size:cover;background-position:center}.friend .banner[data-v-c9ba4715]:after{content:" ";position:absolute;z-index:2;width:100%;height:100%;background:linear-gradient(0deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 50%)}.friend .info[data-v-c9ba4715]{z-index:10;display:flex;align-items:end;width:100%}.friend .info .name[data-v-c9ba4715]{font-size:1.2em;white-space:nowrap;overflow:hidden;flex:1}.friend .info a[data-v-c9ba4715]{color:#70512a}.friend .info a+a[data-v-c9ba4715]{margin-left:10px}.friend .avatar[data-v-c9ba4715]{margin-top:calc(8px + max(min(100vw,600px),360px)*.1);width:80px;height:80px;object-fit:contain;border-radius:100%;margin-right:20px;z-index:10} diff --git a/assets/Friends.c006a50a.css b/assets/Friends.c006a50a.css deleted file mode 100644 index 2769a76..0000000 --- a/assets/Friends.c006a50a.css +++ /dev/null @@ -1 +0,0 @@ -.general-page[data-v-d791e020]{text-align:left;width:600px;margin:2em auto 0}.title[data-v-d791e020]{margin-bottom:2em}.title h2[data-v-d791e020]{margin-bottom:0}.title .subtitle[data-v-d791e020]{color:#a68659d6}@media screen and (max-width: 640px){.general-page[data-v-d791e020]{margin:2em 20px 0;width:unset}}.friend[data-v-d791e020]{display:flex;position:relative;min-width:335px}.friend .banner[data-v-d791e020]{position:absolute;left:0;top:0;z-index:1;width:100%;height:100px;background-color:#a6865957;background-size:cover;background-position:center}.friend .banner[data-v-d791e020]:after{content:" ";position:absolute;z-index:2;width:100%;height:100%;background:linear-gradient(0deg,rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 50%)}.friend .info[data-v-d791e020]{z-index:10;display:flex;align-items:end;width:100%}.friend .info .name[data-v-d791e020]{font-size:1.2em}.friend .info .space[data-v-d791e020]{flex-grow:1}.friend .info a[data-v-d791e020]{color:#70512a;margin-left:10px}.friend .avatar[data-v-d791e020]{margin-top:40px;width:80px;height:80px;object-fit:contain;border-radius:100%;margin-right:20px;z-index:10} diff --git a/assets/Friends.e377414c.js b/assets/Friends.e377414c.js deleted file mode 100644 index fc99435..0000000 --- a/assets/Friends.e377414c.js +++ /dev/null @@ -1 +0,0 @@ -import{V as b,N as l,a0 as m,O as g,_ as F,c as r,F as h,r as p,d as $,o as i,a as n,n as y,t as B,B as C,p as S,f as k}from"./index.6d814e8f.js";var E=Object.defineProperty,O=Object.getOwnPropertyDescriptor,w=(e,s,c,o)=>{for(var a=o>1?void 0:o?O(s,c):s,d=e.length-1,t;d>=0;d--)(t=e[d])&&(a=(o?t(s,c,a):t(a))||a);return o&&a&&E(s,c,a),a};const j=new Set(["name","avatar","banner","desc"]),v={blog:"fas fa-book"};let u=class extends b{constructor(){super(...arguments),this.friends=[]}async created(){this.friends=await(await fetch(`${l.content}/content/generated/friends/friends.json`)).json(),this.friends.forEach(e=>{e.avatar.startsWith("http")||(e.avatar=`${l.content}/${e.avatar}`),e.banner&&!e.banner.startsWith("http")&&(e.banner=`${l.content}/${e.banner}`)})}bgStyle(e){return e.banner?{"background-image":`url("${e.banner}")`}:{}}getFriendLinks(e){return Object.entries(e).filter(s=>!j.has(s[0].toString())).map(s=>({link:s[1],icon:m.includes(s[0])?`fab fa-${s[0]}`:s[0]in v?v[s[0]]:s[0]}))}};u=w([g({components:{}})],u);const f=e=>(S("data-v-d791e020"),e=e(),k(),e),I={id:"Friends",class:"general-page"},P=f(()=>n("div",{class:"title"},[n("h2",null,"\u670B\u53CB\u4EEC"),n("div",{class:"subtitle"},"\u662F\u5C0F\u6842\u6842\u7684\u670B\u53CB\u4EEC\uFF08\u6B22\u8FCE\u8865\u5145")],-1)),V={key:0,class:"friends"},D=["src"],L={class:"info"},N={class:"name"},x=f(()=>n("div",{class:"space"},null,-1)),z={class:"links"},W=["href"];function q(e,s,c,o,a,d){return i(),r("div",I,[P,e.friends?(i(),r("div",V,[(i(!0),r(h,null,p(e.friends,t=>(i(),r("div",{class:"friend card clickable",key:t.name},[n("div",{class:"banner",style:y(e.bgStyle(t))},null,4),n("img",{class:"avatar",src:t.avatar,alt:""},null,8,D),n("div",L,[n("div",N,B(t.name),1),x,n("div",z,[(i(!0),r(h,null,p(e.getFriendLinks(t),_=>(i(),r("a",{href:_.link},[n("i",{class:C(_.icon)},null,2)],8,W))),256))])])]))),128))])):$("",!0)])}const G=F(u,[["render",q],["__scopeId","data-v-d791e020"]]);export{G as default}; diff --git a/assets/Life.c5aadab3.js b/assets/Life.93359620.js similarity index 99% rename from assets/Life.c5aadab3.js rename to assets/Life.93359620.js index 098d9ed..e60e953 100644 --- a/assets/Life.c5aadab3.js +++ b/assets/Life.93359620.js @@ -1,4 +1,4 @@ -import{S as Gr,U as ps,e as ct,o as C,c as I,a as E,b as ye,d as $,t as ie,B as Ot,F as Yn,W as Vt,n as Zr,r as Qr,x as Ct,E as El,C as Dl,m as Ml,X as fs,p as sn,f as on,h as ms,V as Al,O as Il,_ as Nl,G as Ll}from"./index.6d814e8f.js";var Pl=Object.defineProperty,Rl=(e,t,n)=>t in e?Pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t,n)=>(Rl(e,typeof t!="symbol"?t+"":t,n),n),jl=typeof global=="object"&&global&&global.Object===Object&&global;const ql=jl;var Bl=typeof self=="object"&&self&&self.Object===Object&&self,Ul=ql||Bl||Function("return this")();const fo=Ul;var Fl=fo.Symbol;const zn=Fl;var mo=Object.prototype,Yl=mo.hasOwnProperty,zl=mo.toString,Ut=zn?zn.toStringTag:void 0;function Hl(e){var t=Yl.call(e,Ut),n=e[Ut];try{e[Ut]=void 0;var r=!0}catch{}var i=zl.call(e);return r&&(t?e[Ut]=n:delete e[Ut]),i}var Vl=Object.prototype,$l=Vl.toString;function Wl(e){return $l.call(e)}var Gl="[object Null]",Zl="[object Undefined]",gs=zn?zn.toStringTag:void 0;function Ql(e){return e==null?e===void 0?Zl:Gl:gs&&gs in Object(e)?Hl(e):Wl(e)}function Jl(e){return e!=null&&typeof e=="object"}var Xl="[object Symbol]";function Kl(e){return typeof e=="symbol"||Jl(e)&&Ql(e)==Xl}var ec=/\s/;function tc(e){for(var t=e.length;t--&&ec.test(e.charAt(t)););return t}var nc=/^\s+/;function rc(e){return e&&e.slice(0,tc(e)+1).replace(nc,"")}function Hn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ys=0/0,ic=/^[-+]0x[0-9a-f]+$/i,sc=/^0b[01]+$/i,oc=/^0o[0-7]+$/i,ac=parseInt;function bs(e){if(typeof e=="number")return e;if(Kl(e))return ys;if(Hn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=rc(e);var n=sc.test(e);return n||oc.test(e)?ac(e.slice(2),n?2:8):ic.test(e)?ys:+e}var lc=function(){return fo.Date.now()};const Rr=lc;var cc="Expected a function",uc=Math.max,hc=Math.min;function dc(e,t,n){var r,i,s,o,a,l,u=0,d=!1,f=!1,c=!0;if(typeof e!="function")throw new TypeError(cc);t=bs(t)||0,Hn(n)&&(d=!!n.leading,f="maxWait"in n,s=f?uc(bs(n.maxWait)||0,t):s,c="trailing"in n?!!n.trailing:c);function h(_){var N=r,Y=i;return r=i=void 0,u=_,o=e.apply(Y,N),o}function m(_){return u=_,a=setTimeout(T,t),d?h(_):o}function p(_){var N=_-l,Y=_-u,ee=t-N;return f?hc(ee,s-Y):ee}function g(_){var N=_-l,Y=_-u;return l===void 0||N>=t||N<0||f&&Y>=s}function T(){var _=Rr();if(g(_))return j(_);a=setTimeout(T,p(_))}function j(_){return a=void 0,c&&r?h(_):(r=i=void 0,o)}function w(){a!==void 0&&clearTimeout(a),u=0,r=l=i=a=void 0}function b(){return a===void 0?o:j(Rr())}function O(){var _=Rr(),N=g(_);if(r=arguments,i=this,l=_,N){if(a===void 0)return m(l);if(f)return clearTimeout(a),a=setTimeout(T,t),h(l)}return a===void 0&&(a=setTimeout(T,t)),o}return O.cancel=w,O.flush=b,O}var pc="Expected a function";function vs(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(pc);return Hn(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),dc(e,t,{leading:r,maxWait:t,trailing:i})}var ws;const cr=typeof window<"u";cr&&(ws=window==null?void 0:window.navigator)!=null&&ws.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const xs=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},fc=(e,t)=>Math.abs(xs(e)-xs(t)),mc=e=>typeof e=="function",gc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yc=/-(\w)/g,bc=gc(e=>e.replace(yc,(t,n)=>n?n.toUpperCase():""));class vc extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function wc(e,t){throw new vc(`[${e}] ${t}`)}const xc=(e,t)=>{var n;if(!cr||!e||!t)return"";let r=bc(t);r==="float"&&(r="cssFloat");try{const i=e.style[r];if(i)return i;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[r]:""}catch{return e.style[r]}},kc=(e,t)=>{if(!cr)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=xc(e,n);return["scroll","auto","overlay"].some(i=>r.includes(i))},_c=(e,t)=>{if(!cr)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(kc(n,t))return n;n=n.parentNode}return n};var P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function go(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var s=Function.bind.apply(t,i);return new s}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}const Se="ElInfiniteScroll",Sc=50,Tc=200,Oc=0,Cc={delay:{type:Number,default:Tc},distance:{type:Number,default:Oc},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Ci=(e,t)=>Object.entries(Cc).reduce((n,[r,i])=>{var s,o;const{type:a,default:l}=i,u=e.getAttribute(`infinite-scroll-${r}`);let d=(o=(s=t[u])!=null?s:u)!=null?o:l;return d=d==="false"?!1:d,d=a(d),n[r]=Number.isNaN(d)?l:d,n},{}),yo=e=>{const{observer:t}=e[Se];t&&(t.disconnect(),delete e[Se].observer)},Ec=(e,t)=>{const{container:n,containerEl:r,instance:i,observer:s,lastScrollTop:o}=e[Se],{disabled:a,distance:l}=Ci(e,i),{clientHeight:u,scrollHeight:d,scrollTop:f}=r,c=f-o;if(e[Se].lastScrollTop=f,s||a||c<0)return;let h=!1;if(n===e)h=d-(u+f)<=l;else{const{clientTop:m,scrollHeight:p}=e,g=fc(e,r);h=f+u>=g+m+p-l}h&&t.call(i)};function jr(e,t){const{containerEl:n,instance:r}=e[Se],{disabled:i}=Ci(e,r);i||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):yo(e))}const Dc={async mounted(e,t){const{instance:n,value:r}=t;mc(r)||wc(Se,"'v-infinite-scroll' binding value must be a function"),await ms();const{delay:i,immediate:s}=Ci(e,n),o=_c(e,!0),a=o===window?document.documentElement:o,l=vs(Ec.bind(null,e,r),i);if(o){if(e[Se]={instance:n,container:o,containerEl:a,delay:i,cb:r,onScroll:l,lastScrollTop:a.scrollTop},s){const u=new MutationObserver(vs(jr.bind(null,e,r),Sc));e[Se].observer=u,u.observe(e,{childList:!0,subtree:!0}),jr(e,r)}o.addEventListener("scroll",l)}},unmounted(e){const{container:t,onScroll:n}=e[Se];t==null||t.removeEventListener("scroll",n),yo(e)},async updated(e){e[Se]||await ms();const{containerEl:t,cb:n,observer:r}=e[Se];t.clientHeight&&r&&jr(e,n)}},Jr=Dc;Jr.install=e=>{e.directive("InfiniteScroll",Jr)};const Mc=Jr;/** +import{S as Gr,U as ps,e as ct,o as C,c as I,a as E,b as ye,d as $,t as ie,B as Ot,F as Yn,W as Vt,n as Zr,r as Qr,x as Ct,E as El,C as Dl,m as Ml,X as fs,p as sn,f as on,h as ms,V as Al,O as Il,_ as Nl,G as Ll}from"./index.710b8de0.js";var Pl=Object.defineProperty,Rl=(e,t,n)=>t in e?Pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t,n)=>(Rl(e,typeof t!="symbol"?t+"":t,n),n),jl=typeof global=="object"&&global&&global.Object===Object&&global;const ql=jl;var Bl=typeof self=="object"&&self&&self.Object===Object&&self,Ul=ql||Bl||Function("return this")();const fo=Ul;var Fl=fo.Symbol;const zn=Fl;var mo=Object.prototype,Yl=mo.hasOwnProperty,zl=mo.toString,Ut=zn?zn.toStringTag:void 0;function Hl(e){var t=Yl.call(e,Ut),n=e[Ut];try{e[Ut]=void 0;var r=!0}catch{}var i=zl.call(e);return r&&(t?e[Ut]=n:delete e[Ut]),i}var Vl=Object.prototype,$l=Vl.toString;function Wl(e){return $l.call(e)}var Gl="[object Null]",Zl="[object Undefined]",gs=zn?zn.toStringTag:void 0;function Ql(e){return e==null?e===void 0?Zl:Gl:gs&&gs in Object(e)?Hl(e):Wl(e)}function Jl(e){return e!=null&&typeof e=="object"}var Xl="[object Symbol]";function Kl(e){return typeof e=="symbol"||Jl(e)&&Ql(e)==Xl}var ec=/\s/;function tc(e){for(var t=e.length;t--&&ec.test(e.charAt(t)););return t}var nc=/^\s+/;function rc(e){return e&&e.slice(0,tc(e)+1).replace(nc,"")}function Hn(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ys=0/0,ic=/^[-+]0x[0-9a-f]+$/i,sc=/^0b[01]+$/i,oc=/^0o[0-7]+$/i,ac=parseInt;function bs(e){if(typeof e=="number")return e;if(Kl(e))return ys;if(Hn(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hn(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=rc(e);var n=sc.test(e);return n||oc.test(e)?ac(e.slice(2),n?2:8):ic.test(e)?ys:+e}var lc=function(){return fo.Date.now()};const Rr=lc;var cc="Expected a function",uc=Math.max,hc=Math.min;function dc(e,t,n){var r,i,s,o,a,l,u=0,d=!1,f=!1,c=!0;if(typeof e!="function")throw new TypeError(cc);t=bs(t)||0,Hn(n)&&(d=!!n.leading,f="maxWait"in n,s=f?uc(bs(n.maxWait)||0,t):s,c="trailing"in n?!!n.trailing:c);function h(_){var N=r,Y=i;return r=i=void 0,u=_,o=e.apply(Y,N),o}function m(_){return u=_,a=setTimeout(T,t),d?h(_):o}function p(_){var N=_-l,Y=_-u,ee=t-N;return f?hc(ee,s-Y):ee}function g(_){var N=_-l,Y=_-u;return l===void 0||N>=t||N<0||f&&Y>=s}function T(){var _=Rr();if(g(_))return j(_);a=setTimeout(T,p(_))}function j(_){return a=void 0,c&&r?h(_):(r=i=void 0,o)}function w(){a!==void 0&&clearTimeout(a),u=0,r=l=i=a=void 0}function b(){return a===void 0?o:j(Rr())}function O(){var _=Rr(),N=g(_);if(r=arguments,i=this,l=_,N){if(a===void 0)return m(l);if(f)return clearTimeout(a),a=setTimeout(T,t),h(l)}return a===void 0&&(a=setTimeout(T,t)),o}return O.cancel=w,O.flush=b,O}var pc="Expected a function";function vs(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(pc);return Hn(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),dc(e,t,{leading:r,maxWait:t,trailing:i})}var ws;const cr=typeof window<"u";cr&&(ws=window==null?void 0:window.navigator)!=null&&ws.userAgent&&/iP(ad|hone|od)/.test(window.navigator.userAgent);const xs=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},fc=(e,t)=>Math.abs(xs(e)-xs(t)),mc=e=>typeof e=="function",gc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yc=/-(\w)/g,bc=gc(e=>e.replace(yc,(t,n)=>n?n.toUpperCase():""));class vc extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function wc(e,t){throw new vc(`[${e}] ${t}`)}const xc=(e,t)=>{var n;if(!cr||!e||!t)return"";let r=bc(t);r==="float"&&(r="cssFloat");try{const i=e.style[r];if(i)return i;const s=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return s?s[r]:""}catch{return e.style[r]}},kc=(e,t)=>{if(!cr)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=xc(e,n);return["scroll","auto","overlay"].some(i=>r.includes(i))},_c=(e,t)=>{if(!cr)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(kc(n,t))return n;n=n.parentNode}return n};var P=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function go(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var s=Function.bind.apply(t,i);return new s}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}const Se="ElInfiniteScroll",Sc=50,Tc=200,Oc=0,Cc={delay:{type:Number,default:Tc},distance:{type:Number,default:Oc},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},Ci=(e,t)=>Object.entries(Cc).reduce((n,[r,i])=>{var s,o;const{type:a,default:l}=i,u=e.getAttribute(`infinite-scroll-${r}`);let d=(o=(s=t[u])!=null?s:u)!=null?o:l;return d=d==="false"?!1:d,d=a(d),n[r]=Number.isNaN(d)?l:d,n},{}),yo=e=>{const{observer:t}=e[Se];t&&(t.disconnect(),delete e[Se].observer)},Ec=(e,t)=>{const{container:n,containerEl:r,instance:i,observer:s,lastScrollTop:o}=e[Se],{disabled:a,distance:l}=Ci(e,i),{clientHeight:u,scrollHeight:d,scrollTop:f}=r,c=f-o;if(e[Se].lastScrollTop=f,s||a||c<0)return;let h=!1;if(n===e)h=d-(u+f)<=l;else{const{clientTop:m,scrollHeight:p}=e,g=fc(e,r);h=f+u>=g+m+p-l}h&&t.call(i)};function jr(e,t){const{containerEl:n,instance:r}=e[Se],{disabled:i}=Ci(e,r);i||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):yo(e))}const Dc={async mounted(e,t){const{instance:n,value:r}=t;mc(r)||wc(Se,"'v-infinite-scroll' binding value must be a function"),await ms();const{delay:i,immediate:s}=Ci(e,n),o=_c(e,!0),a=o===window?document.documentElement:o,l=vs(Ec.bind(null,e,r),i);if(o){if(e[Se]={instance:n,container:o,containerEl:a,delay:i,cb:r,onScroll:l,lastScrollTop:a.scrollTop},s){const u=new MutationObserver(vs(jr.bind(null,e,r),Sc));e[Se].observer=u,u.observe(e,{childList:!0,subtree:!0}),jr(e,r)}o.addEventListener("scroll",l)}},unmounted(e){const{container:t,onScroll:n}=e[Se];t==null||t.removeEventListener("scroll",n),yo(e)},async updated(e){e[Se]||await ms();const{containerEl:t,cb:n,observer:r}=e[Se];t.clientHeight&&r&&jr(e,n)}},Jr=Dc;Jr.install=e=>{e.directive("InfiniteScroll",Jr)};const Mc=Jr;/** * vue-class-component v8.0.0-rc.1 * (c) 2015-present Evan You * @license MIT @@ -12,7 +12,7 @@ var vo;function v(){return vo.apply(null,arguments)}function Vc(e){vo=e}function [`+s+"] ";for(o in arguments[0])U(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[s];r.push(i)}xo(e+` Arguments: `+Array.prototype.slice.call(r).join("")+` `+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Os={};function ko(e,t){v.deprecationHandler!=null&&v.deprecationHandler(e,t),Os[e]||(xo(t),Os[e]=!0)}v.suppressDeprecationWarnings=!1;v.deprecationHandler=null;function je(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Wc(e){var t,n;for(n in e)U(e,n)&&(t=e[n],je(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function ti(e,t){var n=Ke({},e),r;for(r in t)U(t,r)&&(ut(e[r])&&ut(t[r])?(n[r]={},Ke(n[r],e[r]),Ke(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)U(e,r)&&!U(t,r)&&ut(e[r])&&(n[r]=Ke({},n[r]));return n}function Ai(e){e!=null&&this.set(e)}var ni;Object.keys?ni=Object.keys:ni=function(e){var t,n=[];for(t in e)U(e,t)&&n.push(t);return n};var Gc={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Zc(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return je(r)?r.call(t,n):r}function Le(e,t,n){var r=""+Math.abs(e),i=t-r.length,s=e>=0;return(s?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var Ii=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,xn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ur={},_t={};function D(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(_t[e]=i),t&&(_t[t[0]]=function(){return Le(i.apply(this,arguments),t[1],t[2])}),n&&(_t[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Qc(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Jc(e){var t=e.match(Ii),n,r;for(n=0,r=t.length;n=0&&xn.test(e);)e=e.replace(xn,r),xn.lastIndex=0,n-=1;return e}var Xc={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Kc(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Ii).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var eu="Invalid date";function tu(){return this._invalidDate}var nu="%d",ru=/\d{1,2}/;function iu(e){return this._ordinal.replace("%d",e)}var su={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ou(e,t,n,r){var i=this._relativeTime[n];return je(i)?i(e,t,n,r):i.replace(/%d/i,e)}function au(e,t){var n=this._relativeTime[e>0?"future":"past"];return je(n)?n(t):n.replace(/%s/i,t)}var $t={};function le(e,t){var n=e.toLowerCase();$t[n]=$t[n+"s"]=$t[t]=e}function _e(e){return typeof e=="string"?$t[e]||$t[e.toLowerCase()]:void 0}function Ni(e){var t={},n,r;for(r in e)U(e,r)&&(n=_e(r),n&&(t[n]=e[r]));return t}var So={};function ce(e,t){So[e]=t}function lu(e){var t=[],n;for(n in e)U(e,n)&&t.push({unit:n,priority:So[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}function dr(e){return e%4===0&&e%100!==0||e%400===0}function xe(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function R(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=xe(t)),n}function Lt(e,t){return function(n){return n!=null?(To(this,e,n),v.updateOffset(this,t),this):$n(this,e)}}function $n(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function To(e,t,n){e.isValid()&&!isNaN(n)&&(t==="FullYear"&&dr(e.year())&&e.month()===1&&e.date()===29?(n=R(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),br(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function cu(e){return e=_e(e),je(this[e])?this[e]():this}function uu(e,t){if(typeof e=="object"){e=Ni(e);var n=lu(e),r,i=n.length;for(r=0;r68?1900:2e3)};var Po=Lt("FullYear",!0);function Du(){return dr(this.year())}function Mu(e,t,n,r,i,s,o){var a;return e<100&&e>=0?(a=new Date(e+400,t,n,r,i,s,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,s,o),a}function Zt(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Gn(e,t,n){var r=7+t-n,i=(7+Zt(e,0,r).getUTCDay()-t)%7;return-i+r-1}function Ro(e,t,n,r,i){var s=(7+n-r)%7,o=Gn(e,r,i),a=1+7*(t-1)+s+o,l,u;return a<=0?(l=e-1,u=Wt(l)+a):a>Wt(e)?(l=e+1,u=a-Wt(e)):(l=e,u=a),{year:l,dayOfYear:u}}function Qt(e,t,n){var r=Gn(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,s,o;return i<1?(o=e.year()-1,s=i+Ve(o,t,n)):i>Ve(e.year(),t,n)?(s=i-Ve(e.year(),t,n),o=e.year()+1):(o=e.year(),s=i),{week:s,year:o}}function Ve(e,t,n){var r=Gn(e,t,n),i=Gn(e+1,t,n);return(Wt(e)-r+i)/7}D("w",["ww",2],"wo","week");D("W",["WW",2],"Wo","isoWeek");le("week","w");le("isoWeek","W");ce("week",5);ce("isoWeek",5);x("w",J);x("ww",J,we);x("W",J);x("WW",J,we);hn(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=R(e)});function Au(e){return Qt(e,this._week.dow,this._week.doy).week}var Iu={dow:0,doy:6};function Nu(){return this._week.dow}function Lu(){return this._week.doy}function Pu(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Ru(e){var t=Qt(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}D("d",0,"do","day");D("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});D("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});D("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});D("e",0,0,"weekday");D("E",0,0,"isoWeekday");le("day","d");le("weekday","e");le("isoWeekday","E");ce("day",11);ce("weekday",11);ce("isoWeekday",11);x("d",J);x("e",J);x("E",J);x("dd",function(e,t){return t.weekdaysMinRegex(e)});x("ddd",function(e,t){return t.weekdaysShortRegex(e)});x("dddd",function(e,t){return t.weekdaysRegex(e)});hn(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:L(n).invalidWeekday=e});hn(["d","e","E"],function(e,t,n,r){t[r]=R(e)});function ju(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function qu(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ri(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Bu="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),jo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Uu="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Fu=un,Yu=un,zu=un;function Hu(e,t){var n=Oe(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Ri(n,this._week.dow):e?n[e.day()]:n}function Vu(e){return e===!0?Ri(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function $u(e){return e===!0?Ri(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Wu(e,t,n){var r,i,s,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)s=Re([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(s,"").toLocaleLowerCase();return n?t==="dddd"?(i=K.call(this._weekdaysParse,o),i!==-1?i:null):t==="ddd"?(i=K.call(this._shortWeekdaysParse,o),i!==-1?i:null):(i=K.call(this._minWeekdaysParse,o),i!==-1?i:null):t==="dddd"?(i=K.call(this._weekdaysParse,o),i!==-1||(i=K.call(this._shortWeekdaysParse,o),i!==-1)?i:(i=K.call(this._minWeekdaysParse,o),i!==-1?i:null)):t==="ddd"?(i=K.call(this._shortWeekdaysParse,o),i!==-1||(i=K.call(this._weekdaysParse,o),i!==-1)?i:(i=K.call(this._minWeekdaysParse,o),i!==-1?i:null)):(i=K.call(this._minWeekdaysParse,o),i!==-1||(i=K.call(this._weekdaysParse,o),i!==-1)?i:(i=K.call(this._shortWeekdaysParse,o),i!==-1?i:null))}function Gu(e,t,n){var r,i,s;if(this._weekdaysParseExact)return Wu.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++)if(i=Re([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(s.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e)||n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e)||n&&t==="dd"&&this._minWeekdaysParse[r].test(e)||!n&&this._weekdaysParse[r].test(e))return r}function Zu(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=ju(e,this.localeData()),this.add(e-t,"d")):t}function Qu(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Ju(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=qu(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Xu(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||ji.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(U(this,"_weekdaysRegex")||(this._weekdaysRegex=Fu),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ku(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||ji.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(U(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Yu),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function eh(e){return this._weekdaysParseExact?(U(this,"_weekdaysRegex")||ji.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(U(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zu),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ji(){function e(d,f){return f.length-d.length}var t=[],n=[],r=[],i=[],s,o,a,l,u;for(s=0;s<7;s++)o=Re([2e3,1]).day(s),a=ge(this.weekdaysMin(o,"")),l=ge(this.weekdaysShort(o,"")),u=ge(this.weekdays(o,"")),t.push(a),n.push(l),r.push(u),i.push(a),i.push(l),i.push(u);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function qi(){return this.hours()%12||12}function th(){return this.hours()||24}D("H",["HH",2],0,"hour");D("h",["hh",2],0,qi);D("k",["kk",2],0,th);D("hmm",0,0,function(){return""+qi.apply(this)+Le(this.minutes(),2)});D("hmmss",0,0,function(){return""+qi.apply(this)+Le(this.minutes(),2)+Le(this.seconds(),2)});D("Hmm",0,0,function(){return""+this.hours()+Le(this.minutes(),2)});D("Hmmss",0,0,function(){return""+this.hours()+Le(this.minutes(),2)+Le(this.seconds(),2)});function qo(e,t){D(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}qo("a",!0);qo("A",!1);le("hour","h");ce("hour",13);function Bo(e,t){return t._meridiemParse}x("a",Bo);x("A",Bo);x("H",J);x("h",J);x("k",J);x("HH",J,we);x("hh",J,we);x("kk",J,we);x("hmm",Eo);x("hmmss",Do);x("Hmm",Eo);x("Hmmss",Do);V(["H","HH"],ne);V(["k","kk"],function(e,t,n){var r=R(e);t[ne]=r===24?0:r});V(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});V(["h","hh"],function(e,t,n){t[ne]=R(e),L(n).bigHour=!0});V("hmm",function(e,t,n){var r=e.length-2;t[ne]=R(e.substr(0,r)),t[Te]=R(e.substr(r)),L(n).bigHour=!0});V("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ne]=R(e.substr(0,r)),t[Te]=R(e.substr(r,2)),t[He]=R(e.substr(i)),L(n).bigHour=!0});V("Hmm",function(e,t,n){var r=e.length-2;t[ne]=R(e.substr(0,r)),t[Te]=R(e.substr(r))});V("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ne]=R(e.substr(0,r)),t[Te]=R(e.substr(r,2)),t[He]=R(e.substr(i))});function nh(e){return(e+"").toLowerCase().charAt(0)==="p"}var rh=/[ap]\.?m?\.?/i,ih=Lt("Hours",!0);function sh(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Uo={calendar:Gc,longDateFormat:Xc,invalidDate:eu,ordinal:nu,dayOfMonthOrdinalParse:ru,relativeTime:su,months:vu,monthsShort:Mo,week:Iu,weekdays:Bu,weekdaysMin:Uu,weekdaysShort:jo,meridiemParse:rh},X={},Ft={},Jt;function oh(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=vr(s.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&oh(s,r)>=n-1)break;n--}t++}return Jt}function lh(e){return e.match("^[^/\\\\]*$")!=null}function vr(e){var t=null,n;if(X[e]===void 0&&typeof module<"u"&&module&&module.exports&&lh(e))try{t=Jt._abbr,n=require,n("./locale/"+e),tt(t)}catch{X[e]=null}return X[e]}function tt(e,t){var n;return e&&(de(t)?n=Qe(e):n=Bi(e,t),n?Jt=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Jt._abbr}function Bi(e,t){if(t!==null){var n,r=Uo;if(t.abbr=e,X[e]!=null)ko("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=X[e]._config;else if(t.parentLocale!=null)if(X[t.parentLocale]!=null)r=X[t.parentLocale]._config;else if(n=vr(t.parentLocale),n!=null)r=n._config;else return Ft[t.parentLocale]||(Ft[t.parentLocale]=[]),Ft[t.parentLocale].push({name:e,config:t}),null;return X[e]=new Ai(ti(r,t)),Ft[e]&&Ft[e].forEach(function(i){Bi(i.name,i.config)}),tt(e),X[e]}else return delete X[e],null}function ch(e,t){if(t!=null){var n,r,i=Uo;X[e]!=null&&X[e].parentLocale!=null?X[e].set(ti(X[e]._config,t)):(r=vr(e),r!=null&&(i=r._config),t=ti(i,t),r==null&&(t.abbr=e),n=new Ai(t),n.parentLocale=X[e],X[e]=n),tt(e)}else X[e]!=null&&(X[e].parentLocale!=null?(X[e]=X[e].parentLocale,e===tt()&&tt(e)):X[e]!=null&&delete X[e]);return X[e]}function Qe(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Jt;if(!Oe(e)){if(t=vr(e),t)return t;e=[e]}return ah(e)}function uh(){return ni(X)}function Ui(e){var t,n=e._a;return n&&L(e).overflow===-2&&(t=n[ze]<0||n[ze]>11?ze:n[Ie]<1||n[Ie]>br(n[ae],n[ze])?Ie:n[ne]<0||n[ne]>24||n[ne]===24&&(n[Te]!==0||n[He]!==0||n[at]!==0)?ne:n[Te]<0||n[Te]>59?Te:n[He]<0||n[He]>59?He:n[at]<0||n[at]>999?at:-1,L(e)._overflowDayOfYear&&(tIe)&&(t=Ie),L(e)._overflowWeeks&&t===-1&&(t=gu),L(e)._overflowWeekday&&t===-1&&(t=yu),L(e).overflow=t),e}var hh=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,dh=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ph=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Fr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fh=/^\/?Date\((-?\d+)/i,mh=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,gh={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Fo(e){var t,n,r=e._i,i=hh.exec(r)||dh.exec(r),s,o,a,l,u=kn.length,d=Fr.length;if(i){for(L(e).iso=!0,t=0,n=u;tWt(o)||e._dayOfYear===0)&&(L(e)._overflowDayOfYear=!0),n=Zt(o,0,e._dayOfYear),e._a[ze]=n.getUTCMonth(),e._a[Ie]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ne]===24&&e._a[Te]===0&&e._a[He]===0&&e._a[at]===0&&(e._nextDay=!0,e._a[ne]=0),e._d=(e._useUTC?Zt:Mu).apply(null,r),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ne]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==s&&(L(e).weekdayMismatch=!0)}}function Sh(e){var t,n,r,i,s,o,a,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(s=1,o=4,n=wt(t.GG,e._a[ae],Qt(Q(),1,4).year),r=wt(t.W,1),i=wt(t.E,1),(i<1||i>7)&&(l=!0)):(s=e._locale._week.dow,o=e._locale._week.doy,u=Qt(Q(),s,o),n=wt(t.gg,e._a[ae],u.year),r=wt(t.w,u.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+s,(t.e<0||t.e>6)&&(l=!0)):i=s),r<1||r>Ve(n,s,o)?L(e)._overflowWeeks=!0:l!=null?L(e)._overflowWeekday=!0:(a=Ro(n,r,i,s,o),e._a[ae]=a.year,e._dayOfYear=a.dayOfYear)}v.ISO_8601=function(){};v.RFC_2822=function(){};function Yi(e){if(e._f===v.ISO_8601){Fo(e);return}if(e._f===v.RFC_2822){Yo(e);return}e._a=[],L(e).empty=!0;var t=""+e._i,n,r,i,s,o,a=t.length,l=0,u,d;for(i=_o(e._f,e._locale).match(Ii)||[],d=i.length,n=0;n0&&L(e).unusedInput.push(o),t=t.slice(t.indexOf(r)+r.length),l+=r.length),_t[s]?(r?L(e).empty=!1:L(e).unusedTokens.push(s),mu(s,r,e)):e._strict&&!r&&L(e).unusedTokens.push(s);L(e).charsLeftOver=a-l,t.length>0&&L(e).unusedInput.push(t),e._a[ne]<=12&&L(e).bigHour===!0&&e._a[ne]>0&&(L(e).bigHour=void 0),L(e).parsedDateParts=e._a.slice(0),L(e).meridiem=e._meridiem,e._a[ne]=Th(e._locale,e._a[ne],e._meridiem),u=L(e).era,u!==null&&(e._a[ae]=e._locale.erasConvertYear(u,e._a[ae])),Fi(e),Ui(e)}function Th(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Oh(e){var t,n,r,i,s,o,a=!1,l=e._f.length;if(l===0){L(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:hr()});function Vo(e,t){var n,r;if(t.length===1&&Oe(t[0])&&(t=t[0]),!t.length)return Q();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Wh(){if(!de(this._isDSTShifted))return this._isDSTShifted;var e={},t;return Mi(e,this),e=zo(e),e._a?(t=e._isUTC?Re(e._a):Q(e._a),this._isDSTShifted=this.isValid()&&qh(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Gh(){return this.isValid()?!this._isUTC:!1}function Zh(){return this.isValid()?this._isUTC:!1}function Wo(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Qh=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Jh=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ee(e,t){var n=e,r=null,i,s,o;return Rn(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:We(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Qh.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:R(r[Ie])*i,h:R(r[ne])*i,m:R(r[Te])*i,s:R(r[He])*i,ms:R(ii(r[at]*1e3))*i}):(r=Jh.exec(e))?(i=r[1]==="-"?-1:1,n={y:st(r[2],i),M:st(r[3],i),w:st(r[4],i),d:st(r[5],i),h:st(r[6],i),m:st(r[7],i),s:st(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(o=Xh(Q(n.from),Q(n.to)),n={},n.ms=o.milliseconds,n.M=o.months),s=new wr(n),Rn(e)&&U(e,"_locale")&&(s._locale=e._locale),Rn(e)&&U(e,"_isValid")&&(s._isValid=e._isValid),s}Ee.fn=wr.prototype;Ee.invalid=jh;function st(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Es(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Xh(e,t){var n;return e.isValid()&&t.isValid()?(t=Hi(t,e),e.isBefore(t)?n=Es(e,t):(n=Es(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Go(e,t){return function(n,r){var i,s;return r!==null&&!isNaN(+r)&&(ko(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),s=n,n=r,r=s),i=Ee(n,r),Zo(this,i,e),this}}function Zo(e,t,n,r){var i=t._milliseconds,s=ii(t._days),o=ii(t._months);e.isValid()&&(r=r!=null?r:!0,o&&Io(e,$n(e,"Month")+o*n),s&&To(e,"Date",$n(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&v.updateOffset(e,s||o))}var Kh=Go(1,"add"),ed=Go(-1,"subtract");function Qo(e){return typeof e=="string"||e instanceof String}function td(e){return Ce(e)||ln(e)||Qo(e)||We(e)||rd(e)||nd(e)||e===null||e===void 0}function nd(e){var t=ut(e)&&!Ei(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,s,o=r.length;for(i=0;in.valueOf():n.valueOf()9999?Pn(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):je(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Pn(n,"Z")):Pn(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function yd(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,s;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",s=t+'[")]',this.format(n+r+i+s)}function bd(e){e||(e=this.isUtc()?v.defaultFormatUtc:v.defaultFormat);var t=Pn(this,e);return this.localeData().postformat(t)}function vd(e,t){return this.isValid()&&(Ce(e)&&e.isValid()||Q(e).isValid())?Ee({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wd(e){return this.from(Q(),e)}function xd(e,t){return this.isValid()&&(Ce(e)&&e.isValid()||Q(e).isValid())?Ee({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function kd(e){return this.to(Q(),e)}function Jo(e){var t;return e===void 0?this._locale._abbr:(t=Qe(e),t!=null&&(this._locale=t),this)}var Xo=ke("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Ko(){return this._locale}var Zn=1e3,St=60*Zn,Qn=60*St,ea=(365*400+97)*24*Qn;function Tt(e,t){return(e%t+t)%t}function ta(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ea:new Date(e,t,n).valueOf()}function na(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ea:Date.UTC(e,t,n)}function _d(e){var t,n;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?na:ta,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Tt(t+(this._isUTC?0:this.utcOffset()*St),Qn);break;case"minute":t=this._d.valueOf(),t-=Tt(t,St);break;case"second":t=this._d.valueOf(),t-=Tt(t,Zn);break}return this._d.setTime(t),v.updateOffset(this,!0),this}function Sd(e){var t,n;if(e=_e(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?na:ta,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=Qn-Tt(t+(this._isUTC?0:this.utcOffset()*St),Qn)-1;break;case"minute":t=this._d.valueOf(),t+=St-Tt(t,St)-1;break;case"second":t=this._d.valueOf(),t+=Zn-Tt(t,Zn)-1;break}return this._d.setTime(t),v.updateOffset(this,!0),this}function Td(){return this._d.valueOf()-(this._offset||0)*6e4}function Od(){return Math.floor(this.valueOf()/1e3)}function Cd(){return new Date(this.valueOf())}function Ed(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dd(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Md(){return this.isValid()?this.toISOString():null}function Ad(){return Di(this)}function Id(){return Ke({},L(this))}function Nd(){return L(this).overflow}function Ld(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}D("N",0,0,"eraAbbr");D("NN",0,0,"eraAbbr");D("NNN",0,0,"eraAbbr");D("NNNN",0,0,"eraName");D("NNNNN",0,0,"eraNarrow");D("y",["y",1],"yo","eraYear");D("y",["yy",2],0,"eraYear");D("y",["yyy",3],0,"eraYear");D("y",["yyyy",4],0,"eraYear");x("N",Vi);x("NN",Vi);x("NNN",Vi);x("NNNN",Vd);x("NNNNN",$d);V(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?L(n).era=i:L(n).invalidEra=e});x("y",Pt);x("yy",Pt);x("yyy",Pt);x("yyyy",Pt);x("yo",Wd);V(["y","yy","yyy","yyyy"],ae);V(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ae]=n._locale.eraYearOrdinalParse(e,i):t[ae]=parseInt(e,10)});function Pd(e,t){var n,r,i,s=this._eras||Qe("en")._eras;for(n=0,r=s.length;n=0)return s[r]}function jd(e,t){var n=e.since<=e.until?1:-1;return t===void 0?v(e.since).year():v(e.since).year()+(t-e.offset)*n}function qd(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;es&&(t=s),ep.call(this,e,t,n,r,i))}function ep(e,t,n,r,i){var s=Ro(e,t,n,r,i),o=Zt(s.year,0,s.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}D("Q",0,"Qo","quarter");le("quarter","Q");ce("quarter",7);x("Q",Oo);V("Q",function(e,t){t[ze]=(R(e)-1)*3});function tp(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}D("D",["DD",2],"Do","date");le("date","D");ce("date",9);x("D",J);x("DD",J,we);x("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});V(["D","DD"],Ie);V("Do",function(e,t){t[Ie]=R(e.match(J)[0])});var ia=Lt("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear");le("dayOfYear","DDD");ce("dayOfYear",4);x("DDD",fr);x("DDDD",Co);V(["DDD","DDDD"],function(e,t,n){n._dayOfYear=R(e)});function np(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}D("m",["mm",2],0,"minute");le("minute","m");ce("minute",14);x("m",J);x("mm",J,we);V(["m","mm"],Te);var rp=Lt("Minutes",!1);D("s",["ss",2],0,"second");le("second","s");ce("second",15);x("s",J);x("ss",J,we);V(["s","ss"],He);var ip=Lt("Seconds",!1);D("S",0,0,function(){return~~(this.millisecond()/100)});D(0,["SS",2],0,function(){return~~(this.millisecond()/10)});D(0,["SSS",3],0,"millisecond");D(0,["SSSS",4],0,function(){return this.millisecond()*10});D(0,["SSSSS",5],0,function(){return this.millisecond()*100});D(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});D(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});D(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});D(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});le("millisecond","ms");ce("millisecond",16);x("S",fr,Oo);x("SS",fr,we);x("SSS",fr,Co);var et,sa;for(et="SSSS";et.length<=9;et+="S")x(et,Pt);function sp(e,t){t[at]=R(("0."+e)*1e3)}for(et="S";et.length<=9;et+="S")V(et,sp);sa=Lt("Milliseconds",!1);D("z",0,0,"zoneAbbr");D("zz",0,0,"zoneName");function op(){return this._isUTC?"UTC":""}function ap(){return this._isUTC?"Coordinated Universal Time":""}var y=cn.prototype;y.add=Kh;y.calendar=od;y.clone=ad;y.diff=fd;y.endOf=Sd;y.format=bd;y.from=vd;y.fromNow=wd;y.to=xd;y.toNow=kd;y.get=cu;y.invalidAt=Nd;y.isAfter=ld;y.isBefore=cd;y.isBetween=ud;y.isSame=hd;y.isSameOrAfter=dd;y.isSameOrBefore=pd;y.isValid=Ad;y.lang=Xo;y.locale=Jo;y.localeData=Ko;y.max=Ah;y.min=Mh;y.parsingFlags=Id;y.set=uu;y.startOf=_d;y.subtract=ed;y.toArray=Ed;y.toObject=Dd;y.toDate=Cd;y.toISOString=gd;y.inspect=yd;typeof Symbol<"u"&&Symbol.for!=null&&(y[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});y.toJSON=Md;y.toString=md;y.unix=Od;y.valueOf=Td;y.creationData=Ld;y.eraName=qd;y.eraNarrow=Bd;y.eraAbbr=Ud;y.eraYear=Fd;y.year=Po;y.isLeapYear=Du;y.weekYear=Gd;y.isoWeekYear=Zd;y.quarter=y.quarters=tp;y.month=No;y.daysInMonth=Ou;y.week=y.weeks=Pu;y.isoWeek=y.isoWeeks=Ru;y.weeksInYear=Xd;y.weeksInWeekYear=Kd;y.isoWeeksInYear=Qd;y.isoWeeksInISOWeekYear=Jd;y.date=ia;y.day=y.days=Zu;y.weekday=Qu;y.isoWeekday=Ju;y.dayOfYear=np;y.hour=y.hours=ih;y.minute=y.minutes=rp;y.second=y.seconds=ip;y.millisecond=y.milliseconds=sa;y.utcOffset=Uh;y.utc=Yh;y.local=zh;y.parseZone=Hh;y.hasAlignedHourOffset=Vh;y.isDST=$h;y.isLocal=Gh;y.isUtcOffset=Zh;y.isUtc=Wo;y.isUTC=Wo;y.zoneAbbr=op;y.zoneName=ap;y.dates=ke("dates accessor is deprecated. Use date instead.",ia);y.months=ke("months accessor is deprecated. Use month instead",No);y.years=ke("years accessor is deprecated. Use year instead",Po);y.zone=ke("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Fh);y.isDSTShifted=ke("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Wh);function lp(e){return Q(e*1e3)}function cp(){return Q.apply(null,arguments).parseZone()}function oa(e){return e}var F=Ai.prototype;F.calendar=Zc;F.longDateFormat=Kc;F.invalidDate=tu;F.ordinal=iu;F.preparse=oa;F.postformat=oa;F.relativeTime=ou;F.pastFuture=au;F.set=Wc;F.eras=Pd;F.erasParse=Rd;F.erasConvertYear=jd;F.erasAbbrRegex=zd;F.erasNameRegex=Yd;F.erasNarrowRegex=Hd;F.months=ku;F.monthsShort=_u;F.monthsParse=Tu;F.monthsRegex=Eu;F.monthsShortRegex=Cu;F.week=Au;F.firstDayOfYear=Lu;F.firstDayOfWeek=Nu;F.weekdays=Hu;F.weekdaysMin=$u;F.weekdaysShort=Vu;F.weekdaysParse=Gu;F.weekdaysRegex=Xu;F.weekdaysShortRegex=Ku;F.weekdaysMinRegex=eh;F.isPM=nh;F.meridiem=sh;function Jn(e,t,n,r){var i=Qe(),s=Re().set(r,t);return i[n](s,e)}function aa(e,t,n){if(We(e)&&(t=e,e=void 0),e=e||"",t!=null)return Jn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Jn(e,r,n,"month");return i}function Wi(e,t,n,r){typeof e=="boolean"?(We(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,We(t)&&(n=t,t=void 0),t=t||"");var i=Qe(),s=e?i._week.dow:0,o,a=[];if(n!=null)return Jn(t,(n+s)%7,r,"day");for(o=0;o<7;o++)a[o]=Jn(t,(o+s)%7,r,"day");return a}function up(e,t){return aa(e,t,"months")}function hp(e,t){return aa(e,t,"monthsShort")}function dp(e,t,n){return Wi(e,t,n,"weekdays")}function pp(e,t,n){return Wi(e,t,n,"weekdaysShort")}function fp(e,t,n){return Wi(e,t,n,"weekdaysMin")}tt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=R(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});v.lang=ke("moment.lang is deprecated. Use moment.locale instead.",tt);v.langData=ke("moment.langData is deprecated. Use moment.localeData instead.",Qe);var Ue=Math.abs;function mp(){var e=this._data;return this._milliseconds=Ue(this._milliseconds),this._days=Ue(this._days),this._months=Ue(this._months),e.milliseconds=Ue(e.milliseconds),e.seconds=Ue(e.seconds),e.minutes=Ue(e.minutes),e.hours=Ue(e.hours),e.months=Ue(e.months),e.years=Ue(e.years),this}function la(e,t,n,r){var i=Ee(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function gp(e,t){return la(this,e,t,1)}function yp(e,t){return la(this,e,t,-1)}function Ds(e){return e<0?Math.floor(e):Math.ceil(e)}function bp(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,s,o,a,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Ds(oi(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=xe(e/1e3),r.seconds=i%60,s=xe(i/60),r.minutes=s%60,o=xe(s/60),r.hours=o%24,t+=xe(o/24),l=xe(ca(t)),n+=l,t-=Ds(oi(l)),a=xe(n/12),n%=12,r.days=t,r.months=n,r.years=a,this}function ca(e){return e*4800/146097}function oi(e){return e*146097/4800}function vp(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=_e(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+ca(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(oi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function wp(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+R(this._months/12)*31536e6:NaN}function Je(e){return function(){return this.as(e)}}var xp=Je("ms"),kp=Je("s"),_p=Je("m"),Sp=Je("h"),Tp=Je("d"),Op=Je("w"),Cp=Je("M"),Ep=Je("Q"),Dp=Je("y");function Mp(){return Ee(this)}function Ap(e){return e=_e(e),this.isValid()?this[e+"s"]():NaN}function ft(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ip=ft("milliseconds"),Np=ft("seconds"),Lp=ft("minutes"),Pp=ft("hours"),Rp=ft("days"),jp=ft("months"),qp=ft("years");function Bp(){return xe(this.days()/7)}var Ye=Math.round,xt={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Up(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function Fp(e,t,n,r){var i=Ee(e).abs(),s=Ye(i.as("s")),o=Ye(i.as("m")),a=Ye(i.as("h")),l=Ye(i.as("d")),u=Ye(i.as("M")),d=Ye(i.as("w")),f=Ye(i.as("y")),c=s<=n.ss&&["s",s]||s0,c[4]=r,Up.apply(null,c)}function Yp(e){return e===void 0?Ye:typeof e=="function"?(Ye=e,!0):!1}function zp(e,t){return xt[e]===void 0?!1:t===void 0?xt[e]:(xt[e]=t,e==="s"&&(xt.ss=t-1),!0)}function Hp(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=xt,i,s;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},xt,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),s=Fp(this,!n,r,i),n&&(s=i.pastFuture(+this,s)),i.postformat(s)}var Yr=Math.abs;function bt(e){return(e>0)-(e<0)||+e}function kr(){if(!this.isValid())return this.localeData().invalidDate();var e=Yr(this._milliseconds)/1e3,t=Yr(this._days),n=Yr(this._months),r,i,s,o,a=this.asSeconds(),l,u,d,f;return a?(r=xe(e/60),i=xe(r/60),e%=60,r%=60,s=xe(n/12),n%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=a<0?"-":"",u=bt(this._months)!==bt(a)?"-":"",d=bt(this._days)!==bt(a)?"-":"",f=bt(this._milliseconds)!==bt(a)?"-":"",l+"P"+(s?u+s+"Y":"")+(n?u+n+"M":"")+(t?d+t+"D":"")+(i||r||e?"T":"")+(i?f+i+"H":"")+(r?f+r+"M":"")+(e?f+o+"S":"")):"P0D"}var B=wr.prototype;B.isValid=Rh;B.abs=mp;B.add=gp;B.subtract=yp;B.as=vp;B.asMilliseconds=xp;B.asSeconds=kp;B.asMinutes=_p;B.asHours=Sp;B.asDays=Tp;B.asWeeks=Op;B.asMonths=Cp;B.asQuarters=Ep;B.asYears=Dp;B.valueOf=wp;B._bubble=bp;B.clone=Mp;B.get=Ap;B.milliseconds=Ip;B.seconds=Np;B.minutes=Lp;B.hours=Pp;B.days=Rp;B.weeks=Bp;B.months=jp;B.years=qp;B.humanize=Hp;B.toISOString=kr;B.toString=kr;B.toJSON=kr;B.locale=Jo;B.localeData=Ko;B.toIsoString=ke("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",kr);B.lang=Xo;D("X",0,0,"unix");D("x",0,0,"valueOf");x("x",gr);x("X",du);V("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});V("x",function(e,t,n){n._d=new Date(R(e))});//! moment.js -v.version="2.29.4";Vc(Q);v.fn=y;v.min=Ih;v.max=Nh;v.now=Lh;v.utc=Re;v.unix=lp;v.months=up;v.isDate=ln;v.locale=tt;v.invalid=hr;v.duration=Ee;v.isMoment=Ce;v.weekdays=dp;v.parseZone=cp;v.localeData=Qe;v.isDuration=Rn;v.monthsShort=hp;v.weekdaysMin=fp;v.defineLocale=Bi;v.updateLocale=ch;v.locales=uh;v.weekdaysShort=pp;v.normalizeUnits=_e;v.relativeTimeRounding=Yp;v.relativeTimeThreshold=zp;v.calendarFormat=sd;v.prototype=y;v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Vp=/\B([A-Z])/g,$p=e=>e.replace(Vp,"-$1").toLowerCase();function Xe(e){return ur((t,n)=>{const r=e||$p(n);t.emits||(t.emits=[]),t.emits.push(r);const i=t.methods[n];t.methods[n]=function(...s){const o=l=>{l===void 0?s.length===0?this.$emit(r):s.length===1?this.$emit(r,s[0]):this.$emit(r,...s):(s.unshift(l),this.$emit(r,...s))},a=i.apply(this,s);return Wp(a)?a.then(o):o(a),a}})}function Wp(e){return e instanceof Promise||e&&typeof e.then=="function"}function qe(e){return ur((t,n)=>{t.props||(t.props=Object.create(null)),t.props[n]=e})}function Gp(e){return ur((t,n)=>{t.computed||(t.computed=Object.create(null)),t.computed[n]={cache:!1,get(){return this.$refs[e||n]}}})}function Zp(e,t){return ur((n,r)=>{n.watch||(n.watch=Object.create(null));const i=n.watch;typeof i[e]=="object"&&!Array.isArray(i[e])?i[e]=[i[e]]:typeof i[e]>"u"&&(i[e]=[]),i[e].push(Object.assign({handler:r},t))})}const Qp={viewBox:"0 0 576 512",width:"1.2em",height:"1.2em"},Jp=E("path",{fill:"currentColor",d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zm144 224c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-144-64c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6.1-8.4.4c5.3 9.3 8.4 20.1 8.4 31.6z"},null,-1),Xp=[Jp];function Kp(e,t){return C(),I("svg",Qp,Xp)}const ef={name:"fa6-solid-eye",render:Kp},tf={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},nf=E("path",{fill:"currentColor",d:"M96 0C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h288c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zm112 288h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zm-16 112c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64z"},null,-1),rf=[nf];function sf(e,t){return C(),I("svg",tf,rf)}const of={name:"fa6-solid-address-book",render:sf},af={viewBox:"0 0 384 512",width:"1.2em",height:"1.2em"},lf=E("path",{fill:"currentColor",d:"M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80v352c0 17.4 9.4 33.4 24.5 41.9S58.2 482 73 473l288-176c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"},null,-1),cf=[lf];function uf(e,t){return C(),I("svg",af,cf)}const ua={name:"fa6-solid-play",render:uf},hf={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},df=E("path",{fill:"currentColor",d:"M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32v242.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64v-32c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 104c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"},null,-1),pf=[df];function ff(e,t){return C(),I("svg",hf,pf)}const mf={name:"fa6-solid-download",render:ff};function ai(e){return v.utc(v.duration(e,"seconds").asMilliseconds()).format("mm:ss")}function gf(e){for(const t of["B","KiB","MiB","GiB","TiB","PiB"]){if(Math.abs(e)<1024)return`${e.toFixed(1)} ${t}`;e/=1024}return"> 1024 PiB"}var ha=function(e,t,n,r){var i=typeof r<"u"?[r,e]:[e],s=new Blob(i,{type:n||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(s,t);else{var o=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(s):window.webkitURL.createObjectURL(s),a=document.createElement("a");a.style.display="none",a.href=o,a.setAttribute("download",t),typeof a.download>"u"&&a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),setTimeout(function(){document.body.removeChild(a),window.URL.revokeObjectURL(o)},200)}},yf=Object.defineProperty,bf=Object.getOwnPropertyDescriptor,_r=(e,t,n,r)=>{for(var i=r>1?void 0:r?bf(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&yf(t,n,i),i};let Et=class extends Nt{constructor(){super(...arguments),G(this,"f"),G(this,"hasHead")}get pollFile(){return this.f}get locationFile(){return this.f}fileThumbClick(){if(!this.f.media_type)return ha(this.f.url,this.f.url.split("/").slice(-1)[0]);this.play()}play(){return this.f}get shouldDisplayDetail(){return!this.f.media_type||this.isAudioOrVoice||this.f.media_type=="contact"}get isAudioOrVoice(){return this.f.media_type=="audio_file"||this.f.media_type=="voice_message"}get fileTitle(){var t,n;const e=this.f;if(!e.media_type)return(t=e.original_name)!=null?t:e.url.split("/").slice(-1)[0];if(e.media_type=="voice_message")return"Voice Message";if(e.media_type=="audio_file"){let r="";return e.performer&&(r+=e.performer+" - "),e.title&&(r+=e.title),r}if(e.media_type=="contact"){let r=(n=e.first_name)!=null?n:"";return e.last_name&&(r+=" "+e.last_name),r}}get duration(){return ai(this.f.duration)}get size(){return gf(this.f.size)}};_r([qe({required:!0})],Et.prototype,"f",2);_r([qe({required:!0})],Et.prototype,"hasHead",2);_r([Xe("play")],Et.prototype,"play",1);Et=_r([an({components:{Location:Gr(()=>ps(()=>import("./Location-d7867b06.7cc2192e.js"),["assets/Location-d7867b06.7cc2192e.js","assets/index.6d814e8f.js","assets/index.6f1bfdb5.css"])),Poll:Gr(()=>ps(()=>import("./Poll-e903e06f.e072db67.js"),["assets/Poll-e903e06f.e072db67.js","assets/index.6d814e8f.js","assets/index.6f1bfdb5.css"]))}})],Et);const dn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},vf={key:0,class:"file"},wf=["src"],xf={class:"icon fbox-center"},kf={class:"detail fbox-vcenter"},_f={key:0,class:"title"},Sf={class:"file-detail"},Tf={key:0,class:"duration"},Of={key:1,class:"size"},Cf={key:2,class:"phone"},Ef={key:1,class:"sticker"},Df=["src"],Mf=["src"],Af=["src"],If=["src"],Nf=["src"];function Lf(e,t,n,r,i,s){var f;const o=mf,a=ua,l=of,u=ct("Poll"),d=ct("Location");return C(),I(Yn,null,[e.shouldDisplayDetail?(C(),I("div",vf,[E("div",{class:"thumb clickable",onClick:t[0]||(t[0]=(...c)=>e.fileThumbClick&&e.fileThumbClick(...c))},[E("img",{src:(f=e.f.thumb)!=null?f:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",alt:""},null,8,wf),E("div",xf,[e.f.media_type?e.isAudioOrVoice?(C(),ye(a,{key:1})):e.f.media_type==="contact"?(C(),ye(l,{key:2})):$("",!0):(C(),ye(o,{key:0}))])]),E("div",kf,[e.fileTitle?(C(),I("div",_f,ie(e.fileTitle),1)):$("",!0),E("div",Sf,[e.f.duration?(C(),I("span",Tf,ie(e.duration),1)):$("",!0),e.f.size?(C(),I("span",Of,ie(e.size),1)):$("",!0),e.f.phone_number?(C(),I("span",Cf,ie(e.f.phone_number),1)):$("",!0)])])])):$("",!0),e.f.media_type==="sticker"?(C(),I("div",Ef,[e.f.url.toLowerCase().endsWith("webm")?(C(),I("video",{key:0,src:e.f.url,preload:"auto",muted:"",autoplay:"",loop:"",playsinline:"",disablepictureinpicture:""},[e.f.thumb?(C(),I("img",{key:0,src:e.f.thumb,alt:""},null,8,Mf)):$("",!0)],8,Df)):(C(),I("img",{key:1,src:e.f.url,alt:""},null,8,Af))])):$("",!0),e.f.media_type==="video_file"||e.f.media_type==="animation"?(C(),I("div",{key:2,class:Ot(["video no-head",{"has-head":e.hasHead}])},[E("video",{src:e.f.url,preload:"auto",muted:"",autoplay:"",loop:"",playsinline:"",disablepictureinpicture:""},[e.f.thumb?(C(),I("img",{key:0,src:e.f.thumb,alt:""},null,8,Nf)):$("",!0)],8,If)],2)):$("",!0),e.f.media_type==="poll"?(C(),ye(u,{key:3,f:e.pollFile},null,8,["f"])):$("",!0),e.f.media_type==="location"?(C(),ye(d,{key:4,class:Ot(["location no-head",{"has-head":e.hasHead}]),f:e.locationFile},null,8,["class","f"])):$("",!0)],64)}const Pf=dn(Et,[["render",Lf],["__scopeId","data-v-0ae951e3"]]);parseInt(getComputedStyle(document.documentElement).fontSize,10);const Ms=(e,t,n)=>Math.min(n,Math.max(t,e)),S={None:0,Top:1,Right:2,Bottom:4,Left:8};function Rf(e){return e.map(t=>t>1.2?"w":t<.8?"n":"q").join("")}function jf(e){return e.reduce((t,n)=>n+t,1)/e.length}function As(e,t){return e.reduce((n,r)=>n+r,t)}function qf(e,t){return e.map(n=>t>1.1?Ms(n,1,2.75):Ms(n,.6667,1))}function Bf(e){const t={width:0,height:0};return e.forEach(({dimensions:n,sides:r})=>{r&S.Right&&(t.width=n.width+n.x),r&S.Bottom&&(t.height=n.height+n.y)}),t}function Uf(e,t,n){const r=e.map(d=>d.width/d.height),i=Rf(r),s=jf(r),o=r.length,a=r.some(d=>d>2);let l;const u={ratios:r,proportions:i,averageRatio:s,maxWidth:t,minWidth:100,maxHeight:n,spacing:2};if(o===1){const d=r[0];l=[{dimensions:{x:0,y:0,width:t,height:d>1?n/d:n},sides:4}]}else o>=5||a?l=Ff(u):o===2?l=Yf(u):o===3?l=$f(u):l=Zf(u);return{layout:l,containerStyle:Bf(l)}}function Ff({ratios:e,averageRatio:t,maxWidth:n,minWidth:r,spacing:i,maxHeight:s=4*n/3}){const o=qf(e,t),a=e.length,l=new Array(a),u=[],d=(w,b)=>{const O=o.slice(w,w+b),_=As(O,0);return(n-(b-1)*i)/_},f=w=>{const b=[];let O=0;w.forEach(_=>{b.push(d(O,_)),O+=_}),u.push({lineCounts:w,heights:b})};for(let w=1;w!==a;++w){const b=a-w;w<=3&&b<=3&&f([w,b])}for(let w=1;w!==a-1;++w)for(let b=1;b!==a-w;++b){const O=a-w-b;w<=3&&b<=(t<.85?4:3)&&O<=3&&f([w,b,O])}for(let w=1;w!==a-1;++w)for(let b=1;b!==a-w;++b)for(let O=1;O!==a-w-b;++O){const _=a-w-b-O;w<=3&&b<=3&&O<=3&&_<=4&&f([w,b,O,_])}let c,h=0;for(let w=0;w{for(let oe=1;oe!==_;++oe)if(O[oe-1]>O[oe])return 1.5;return 1})(),te=Math.abs(N-s)*Y*ee;(!c||te1.4&&t[1]-t[0]<.2?zf(e):n==="ww"||n==="qq"?Hf(e):Vf(e)}function zf(e){const{ratios:t,maxWidth:n,spacing:r,maxHeight:i}=e,s=Math.round(Math.min(n/t[0],Math.min(n/t[1],(i-r)/2)));return[{dimensions:{x:0,y:0,width:n,height:s},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:s+r,width:n,height:s},sides:S.Left|S.Bottom|S.Right}]}function Hf(e){const{ratios:t,maxWidth:n,spacing:r,maxHeight:i}=e,s=(n-r)/2,o=Math.round(Math.min(s/t[0],Math.min(s/t[1],i)));return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:s+r,y:0,width:s,height:o},sides:S.Top|S.Right|S.Bottom}]}function Vf(e){const{ratios:t,minWidth:n,maxWidth:r,spacing:i,maxHeight:s}=e,o=Math.round(1.5*n),a=Math.min(Math.round(Math.max(.4*(r-i),(r-i)/t[0]/(1/t[0]+1/t[1]))),r-i-o),l=r-a-i,u=Math.min(s,Math.round(Math.min(l/t[0],a/t[1])));return[{dimensions:{x:0,y:0,width:l,height:u},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:l+i,y:0,width:a,height:u},sides:S.Top|S.Right|S.Bottom}]}function $f(e){const{proportions:t}=e;return t[0]==="n"?Wf(e):Gf(e)}function Wf(e){const{maxHeight:t,spacing:n,ratios:r,maxWidth:i,minWidth:s}=e,o=t,a=Math.round(Math.min((t-n)/2,r[1]*(i-n)/(r[2]+r[1]))),l=o-a-n,u=Math.max(s,Math.round(Math.min((i-n)/2,Math.min(a*r[2],l*r[1])))),d=Math.min(Math.round(o*r[0]),i-n-u);return[{dimensions:{x:0,y:0,width:d,height:o},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:d+n,y:0,width:u,height:l},sides:S.Top|S.Right},{dimensions:{x:d+n,y:l+n,width:u,height:a},sides:S.Bottom|S.Right}]}function Gf(e){const{maxWidth:t,ratios:n,maxHeight:r,spacing:i}=e,s=t,o=Math.round(Math.min(s/n[0],.66*(r-i))),a=(t-i)/2,l=Math.min(r-o-i,Math.round(Math.min(a/n[1],a/n[2]))),u=s-a-i;return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:o+i,width:a,height:l},sides:S.Bottom|S.Left},{dimensions:{x:a+i,y:o+i,width:u,height:l},sides:S.Bottom|S.Right}]}function Zf(e){const{proportions:t}=e;return t[0]==="w"?Qf(e):Jf(e)}function Qf({maxWidth:e,ratios:t,spacing:n,maxHeight:r,minWidth:i}){const s=e,o=Math.round(Math.min(s/t[0],.66*(r-n))),a=Math.round((e-2*n)/(t[1]+t[2]+t[3])),l=Math.max(i,Math.round(Math.min(.4*(e-2*n),a*t[1]))),u=Math.round(Math.max(Math.max(i,.33*(e-2*n)),a*t[3])),d=s-l-u-2*n,f=Math.min(r-o-n,a);return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:o+n,width:l,height:f},sides:S.Bottom|S.Left},{dimensions:{x:l+n,y:o+n,width:d,height:f},sides:S.Bottom},{dimensions:{x:l+n+d+n,y:o+n,width:u,height:f},sides:S.Right|S.Bottom}]}function Jf({maxHeight:e,ratios:t,maxWidth:n,spacing:r,minWidth:i}){const s=e,o=Math.round(Math.min(s*t[0],.6*(n-r))),a=Math.round((e-2*r)/(1/t[1]+1/t[2]+1/t[3])),l=Math.round(a/t[1]),u=Math.round(a/t[2]),d=s-l-u-2*r,f=Math.max(i,Math.min(n-o-r,a));return[{dimensions:{x:0,y:0,width:o,height:s},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:o+r,y:0,width:f,height:l},sides:S.Top|S.Right},{dimensions:{x:o+r,y:l+r,width:f,height:u},sides:S.Right},{dimensions:{x:o+r,y:l+u+2*r,width:f,height:d},sides:S.Bottom|S.Right}]}var Xf=Object.defineProperty,Kf=Object.getOwnPropertyDescriptor,Rt=(e,t,n,r)=>{for(var i=r>1?void 0:r?Kf(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Xf(t,n,i),i};let nt=class extends Nt{constructor(){super(...arguments),G(this,"p"),G(this,"postsUrl"),G(this,"el"),G(this,"sizeScale",1)}get text(){if(this.p.text)return this.p.text}get fwdUrl(){return typeof this.p.forwarded_from=="string"?void 0:this.p.forwarded_from.url}get fwdName(){return typeof this.p.forwarded_from=="string"?this.p.forwarded_from:this.p.forwarded_from.name}get dims(){return console.log(`Calculating dimensions for ${this.p.id}...`),Uf(this.p.images,450,450)}get containerStyle(){const e=this.sizeScale,t=this.dims.containerStyle;return{width:t.width*e+"px",height:t.height*e+"px"}}getImageStyle(e){const t=this.sizeScale,n=this.dims.layout[e].dimensions;return{left:n.x*t+"px",top:n.y*t+"px",width:n.width*t+"px",height:n.height*t+"px"}}clickReply(){return this.p.reply.id}refreshSize(){this.sizeScale=this.el.clientWidth/450}mounted(){this.initEmoji(),this.refreshSize(),window.addEventListener("resize",this.refreshSize)}unmounted(){window.removeEventListener("resize",this.refreshSize)}replaceUrl(e){return new URL(e,this.postsUrl).toString()}initEmoji(){document.querySelectorAll("i.custom-emoji:not(.init)").forEach(e=>{const t=this.replaceUrl(e.getAttribute("emoji-src"));e.classList.add("init"),t.endsWith("webm")?e.innerHTML=``:e.innerHTML=``})}clickImg(e){return e}};Rt([qe({required:!0})],nt.prototype,"p",2);Rt([qe({required:!0})],nt.prototype,"postsUrl",2);Rt([Gp("post")],nt.prototype,"el",2);Rt([Xe("click-reply")],nt.prototype,"clickReply",1);Rt([Xe("click-img")],nt.prototype,"clickImg",1);nt=Rt([an({components:{FileView:Pf}})],nt);const da=e=>(sn("data-v-aa926228"),e=e(),on(),e),e0=["id"],t0={class:"head unselectable"},n0={key:0,class:"forward"},r0=["href"],i0={key:0,class:"thumb-wrap"},s0=["src"],o0={class:"mtext"},a0=da(()=>E("div",{class:"reply-to"},"Reply to:",-1)),l0=["innerHTML"],c0=["src","onClick"],u0={key:2,class:"files"},h0=["innerHTML"],d0={class:"info font-code unselectable"},p0={class:"id"},f0=da(()=>E("div",{class:"f-grow1"},null,-1)),m0={key:0,class:"author"},g0={class:"date"},y0={key:1,class:"views"};function b0(e,t,n,r,i,s){const o=ct("FileView"),a=ef;return C(),I("div",{class:Ot(["post tgb-card",{service:e.p.type==="service"}]),id:`message-${e.p.id}`,ref:"post"},[E("div",t0,[e.p.forwarded_from?(C(),I("div",n0,[Vt(" Forwarded from: "),E("a",{href:e.fwdUrl},ie(e.fwdName),9,r0)])):$("",!0)]),e.p.reply?(C(),I("div",{key:0,class:"reply undraggable clickable",onClick:t[0]||(t[0]=(...l)=>e.clickReply&&e.clickReply(...l))},[e.p.reply.thumb?(C(),I("div",i0,[E("img",{class:"thumb",src:e.p.reply.thumb,alt:"",loading:"lazy"},null,8,s0)])):$("",!0),E("div",o0,[a0,E("div",{class:"reply-text",innerHTML:e.p.reply.text},null,8,l0)])])):$("",!0),e.p.images?(C(),I("div",{key:1,class:Ot(["images",{"has-head":e.p.reply||e.p.forwarded_from}]),style:Zr(e.containerStyle)},[(C(!0),I(Yn,null,Qr(e.p.images,(l,u)=>(C(),I("img",{key:u,src:l.url,alt:"image",loading:"lazy",class:"clickable",onClick:d=>e.clickImg(u),style:Zr(e.getImageStyle(u))},null,12,c0))),128))],6)):$("",!0),e.p.files?(C(),I("div",u0,[(C(!0),I(Yn,null,Qr(e.p.files,l=>(C(),ye(o,{f:l,"has-head":!!(e.p.reply||e.p.forwarded_from||e.p.images),onPlay:t[1]||(t[1]=u=>e.$emit("play",u))},null,8,["f","has-head"]))),256))])):$("",!0),E("div",{class:"text",innerHTML:e.text},null,8,h0),E("div",d0,[E("div",p0,"#"+ie(e.p.id),1),f0,e.p.author?(C(),I("div",m0,ie(e.p.author),1)):$("",!0),E("div",g0,ie(e.p.date),1),e.p.views?(C(),I("div",y0,[Vt(ie(e.p.views)+" ",1),Ct(a)])):$("",!0)])],10,e0)}const v0=dn(nt,[["render",b0],["__scopeId","data-v-aa926228"]]);function Is(){const e=document.querySelectorAll(".spoiler");console.log("Spoilers initialized."),e.forEach(t=>{t.classList.contains("spoiler-init")||(t.classList.add("spoiler-init"),t.addEventListener("click",()=>{t.classList.toggle("spoiler-visible"),console.log(`Spoiler clicked: ${t}`)}))})}const w0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},x0=E("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512L340.864 831.872a30.592 30.592 0 0 0 0 42.752a29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),k0=[x0];function _0(e,t){return C(),I("svg",w0,k0)}const S0={name:"ep-arrow-right",render:_0},T0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},O0=E("path",{fill:"currentColor",d:"M609.408 149.376L277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0a30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688a29.12 29.12 0 0 0-41.728 0z"},null,-1),C0=[O0];function E0(e,t){return C(),I("svg",T0,C0)}const D0={name:"ep-arrow-left",render:E0},M0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},A0=E("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696l236.288-236.352l45.248 45.248L508.8 704L192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1),I0=[A0];function N0(e,t){return C(),I("svg",M0,I0)}const L0={name:"ep-download",render:N0},P0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},R0=E("path",{fill:"currentColor",d:"M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),j0=[R0];function q0(e,t){return C(),I("svg",P0,j0)}const B0={name:"ep-close",render:q0};var Ns="Control",Ls="Meta",U0="Escape",F0="ArrowLeft",Y0="ArrowRight",z0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,pn=(e,t,n,r)=>{for(var i=r>1?void 0:r?H0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&z0(t,n,i),i};let ht=class extends Nt{constructor(){super(...arguments),G(this,"imgs"),G(this,"index"),G(this,"ctrlDown",!1),G(this,"zoom",1)}get img(){if(this.imgs)return this.imgs[this.index]}get isOpen(){return!!this.img}get hasPrev(){return this.index>0}get hasNext(){return this.index+1=this.imgs.length||(this.zoom=1,this._rawUpdateIndex(t))}_rawUpdateIndex(e){return e}keydown(e){if(this.isOpen){if(e.code===U0)return this.close();if(e.code===F0)return this.updateIndex(-1);if(e.code===Y0)return this.updateIndex(1);if(e.key==Ns||e.key===Ls)return this.ctrlDown=!0}}keyup(e){if(e.key==Ns||e.key===Ls)return this.ctrlDown=!1}wheel(e){if(!this.isOpen)return;e.preventDefault();const t=Math.sign(e.deltaY);this.ctrlDown?this.zoom=Math.min(Math.max(this.zoom*=1+t*-.1,.1),5):this.updateIndex(t)}get imgStyle(){return{transform:`scale(${this.zoom.toFixed(2)})`}}mounted(){document.addEventListener("keydown",this.keydown),document.addEventListener("keyup",this.keyup),document.addEventListener("wheel",this.wheel,{passive:!1})}unmounted(){document.removeEventListener("keydown",this.keydown),document.removeEventListener("keyup",this.keyup),document.removeEventListener("wheel",this.wheel)}};pn([qe({required:!0})],ht.prototype,"imgs",2);pn([qe({required:!0})],ht.prototype,"index",2);pn([Xe("close")],ht.prototype,"close",1);pn([Xe("update:index")],ht.prototype,"_rawUpdateIndex",1);ht=pn([an({components:{}})],ht);const pa=e=>(sn("data-v-88a4605c"),e=e(),on(),e),V0={key:0,id:"ImageViewer"},$0={class:"img-container"},W0=["src"],G0={class:"top"},Z0=pa(()=>E("span",{class:"f-grow1"},null,-1)),Q0={class:"bottom"},J0={class:"left unselectable"},X0={class:"index"},K0={class:"detail"},em={key:0,class:"date"},tm={class:"right"},nm={class:"description unselectable"},rm={key:0,class:"text"},im=["innerHTML"],sm={class:"arrows"},om=pa(()=>E("div",{class:"f-grow1"},null,-1));function am(e,t,n,r,i,s){const o=B0,a=L0,l=D0,u=S0;return e.img?(C(),I("div",V0,[E("div",$0,[E("img",{src:e.img.url,alt:"Photo",class:"undraggable",style:Zr(e.imgStyle)},null,12,W0)]),E("div",G0,[Z0,Ct(o,{class:"icn close clickable",onClick:e.close},null,8,["onClick"])]),E("div",Q0,[E("div",J0,[E("div",X0,"Photo "+ie(e.index+1)+" of "+ie(e.imgs.length),1),E("div",K0,[e.img.date?(C(),I("span",em,ie(e.img.date),1)):$("",!0)])]),E("div",tm,[Ct(a,{class:"icn download clickable",onClick:e.download},null,8,["onClick"])]),E("div",nm,[e.img.text?(C(),I("div",rm,[E("div",{innerHTML:e.textHtml},null,8,im)])):$("",!0)])]),E("div",sm,[e.hasPrev?(C(),ye(l,{key:0,class:"icn left clickable",onClick:t[0]||(t[0]=d=>e.updateIndex(-1))})):$("",!0),om,e.hasNext?(C(),ye(u,{key:1,class:"icn right clickable",onClick:t[1]||(t[1]=d=>e.updateIndex(1))})):$("",!0)])])):$("",!0)}const lm=dn(ht,[["render",am],["__scopeId","data-v-88a4605c"]]);var cm=Object.defineProperty,um=Object.getOwnPropertyDescriptor,Sr=(e,t,n,r)=>{for(var i=r>1?void 0:r?um(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&cm(t,n,i),i};let Dt=class extends Nt{constructor(){super(...arguments),G(this,"postsUrl"),G(this,"postsData"),G(this,"margins"),G(this,"posts",[]),G(this,"imgList",null),G(this,"postImgIndex"),G(this,"count",20),G(this,"audio",null),G(this,"img",-1),G(this,"replyShake",[]),G(this,"replyLoading",!1),G(this,"fail",null)}get purl(){return new URL(this.postsUrl,document.location.href).href}get audios(){return this.posts.filter(e=>{var t,n;return((n=(t=e.files)==null?void 0:t.at(0))==null?void 0:n.media_type)=="audio_file"}).flatMap(e=>e.files)}audioNext(e){this.audio=this.audios.at(this.audios.indexOf(this.audio)+e)}replaceUrl(e){return new URL(e,this.purl).toString()}infiniteScroll(){console.log("Infinite Scroll - Load more"),this.count=Math.min(this.count+10,this.posts.length)}get postIdIndex(){return Object.fromEntries(this.posts.map((e,t)=>[e.id,t]))}clickReply(e){if(this.replyLoading)return;const t=this.postIdIndex[e];t>this.count&&(this.replyLoading=!0,this.count=Math.min(t+10,this.posts.length)),this.jumpToReply(e,t)}jumpToReply(e,t){const n=document.getElementById(`message-${e}`);if(!n)return setTimeout(()=>this.jumpToReply(e,t),50);n.scrollIntoView({behavior:"smooth",block:"center"}),this.replyLoading=!1;const r=()=>{this.replyShake=[...this.replyShake,t],setTimeout(()=>this.replyShake=this.replyShake.filter(a=>a!=t),1500)};let i;const s=setTimeout(()=>{r(),window.removeEventListener("scroll",i)},1e3);let o;i=a=>{clearTimeout(o),o=setTimeout(()=>{clearTimeout(s),r(),window.removeEventListener("scroll",i)},100)},window.addEventListener("scroll",i)}async created(){try{this.postsData?this.posts=this.postsData:this.posts=await(await fetch(this.purl)).json(),this.posts.forEach(e=>e.date=v(e.date).format("YYYY-MM-DD h:mm")),this.posts.reverse(),this.posts=this.posts.filter(e=>e.type!=="service"),this.count=Math.min(this.count,this.posts.length),this.posts.forEach(e=>{var t,n,r;(t=e.images)==null||t.forEach(i=>i.url=this.replaceUrl(i.url)),(n=e.reply)!=null&&n.thumb&&(e.reply.thumb=this.replaceUrl(e.reply.thumb)),(r=e.files)==null||r.forEach(i=>{i.url=this.replaceUrl(i.url),i.thumb&&(i.thumb=this.replaceUrl(i.thumb))})}),this.imgList=this.posts.flatMap((e,t)=>{var n;return((n=e.images)!=null?n:[]).map(r=>{var s;var i;return{url:r.url,text:e.text,author:(s=e.author)!=null?s:typeof e.forwarded_from=="string"?e.forwarded_from:(i=e.forwarded_from)==null?void 0:i.name,date:e.date,postIndex:t}})}),this.postImgIndex=new Array(this.posts.length).fill(null),this.imgList.forEach((e,t)=>{this.postImgIndex[e.postIndex]===null&&(this.postImgIndex[e.postIndex]=t)}),console.log(this.imgList),console.log(this.postImgIndex),setTimeout(()=>Is(),100)}catch(e){console.log(e),this.fail=e}}updated(){Is()}};Sr([qe({required:!0})],Dt.prototype,"postsUrl",2);Sr([qe()],Dt.prototype,"postsData",2);Sr([qe({default:!0})],Dt.prototype,"margins",2);Dt=Sr([an({components:{PostView:v0,ImageViewer:lm,AudioPlayer:Gr(()=>Promise.resolve().then(()=>Ym))}})],Dt);const hm=e=>(sn("data-v-f2514daf"),e=e(),on(),e),dm={key:0,class:"error tgb-card"},pm=hm(()=>E("br",null,null,-1)),fm={key:1};function mm(e,t,n,r,i,s){const o=ct("PostView"),a=ct("AudioPlayer"),l=ct("ImageViewer"),u=Mc;return C(),I("div",{class:Ot(["tg-blog",{margins:e.margins}])},[El(e.$slots,"default",{},void 0,!0),e.fail?(C(),I("div",dm,[E("h2",null,[Vt("Failed loading posts from: "),pm,Vt(ie(e.purl),1)]),Vt(" "+ie(e.fail),1)])):$("",!0),e.posts.length!==0?Dl((C(),I("div",fm,[(C(!0),I(Yn,null,Qr(e.count,(d,f)=>(C(),ye(o,{p:e.posts[f],postsUrl:e.purl,key:f,onPlay:t[0]||(t[0]=c=>e.audio=c),onClickImg:c=>e.img=e.postImgIndex[f]+c,onClickReply:e.clickReply,class:Ot({shake:e.replyShake.includes(f)})},null,8,["p","postsUrl","onClickImg","onClickReply","class"]))),128))])),[[u,e.infiniteScroll]]):$("",!0),e.audio?(C(),ye(a,{key:2,audio:e.audio,onPrev:t[1]||(t[1]=d=>e.audioNext(-1)),onNext:t[2]||(t[2]=d=>e.audioNext(1))},null,8,["audio"])):$("",!0),Ct(l,{imgs:e.imgList,index:e.img,"onUpdate:index":t[3]||(t[3]=d=>e.img=d)},null,8,["imgs","index"])],2)}const gm=dn(Dt,[["render",mm],["__scopeId","data-v-f2514daf"]]),ym={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},bm=E("path",{fill:"currentColor",d:"M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96c0-12.4 7.2-23.7 18.4-29s24.5-3.6 34.1 4.4L224 214.3v83.4L52.5 440.6zM256 352V96c0-12.4 7.2-23.7 18.4-29s24.5-3.6 34.1 4.4l192 160c7.3 6.1 11.5 15.1 11.5 24.6s-4.2 18.5-11.5 24.6l-192 160c-9.5 7.9-22.8 9.7-34.1 4.4S256 428.4 256 416v-64z"},null,-1),vm=[bm];function wm(e,t){return C(),I("svg",ym,vm)}const xm={name:"fa6-solid-forward",render:wm},km={viewBox:"0 0 320 512",width:"1.2em",height:"1.2em"},_m=E("path",{fill:"currentColor",d:"M48 64C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48h-32z"},null,-1),Sm=[_m];function Tm(e,t){return C(),I("svg",km,Sm)}const Om={name:"fa6-solid-pause",render:Tm},Cm={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},Em=E("path",{fill:"currentColor",d:"M459.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4L288 214.3v83.4l171.5 142.9zM256 352V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160C4.2 237.5 0 246.5 0 256s4.2 18.5 11.5 24.6l192 160c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29v-64z"},null,-1),Dm=[Em];function Mm(e,t){return C(),I("svg",Cm,Dm)}const Am={name:"fa6-solid-backward",render:Mm};var Im=Object.defineProperty,Nm=Object.getOwnPropertyDescriptor,mt=(e,t,n,r)=>{for(var i=r>1?void 0:r?Nm(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Im(t,n,i),i};let Ge=class extends Nt{constructor(){super(...arguments),G(this,"audio"),G(this,"playing",null),G(this,"duration","00:00"),G(this,"time","00:00")}mounted(){this.init()}pause(){this.playing.pause(),this.$forceUpdate()}play(){this.playing.play(),this.$forceUpdate()}next(){}prev(){}unmounted(){this.playing&&this.playing.pause()}init(){this.playing&&!this.playing.paused&&this.playing.pause(),this.playing=new Audio,this.playing.src=this.audio.url,this.playing.onloadedmetadata=()=>{this.duration=ai(this.playing.duration)},this.playing.ontimeupdate=()=>{this.time=ai(this.playing.currentTime)},this.playing.onended=()=>{this.$forceUpdate(),this.next()},this.playing.play()}};mt([qe({required:!0})],Ge.prototype,"audio",2);mt([Xe("pause")],Ge.prototype,"pause",1);mt([Xe("play")],Ge.prototype,"play",1);mt([Xe("next")],Ge.prototype,"next",1);mt([Xe("prev")],Ge.prototype,"prev",1);mt([Zp("audio")],Ge.prototype,"init",1);Ge=mt([an({components:{}})],Ge);const fa=e=>(sn("data-v-dcaa915d"),e=e(),on(),e),Lm={id:"AudioPlayer"},Pm={class:"wrap"},Rm={class:"unselectable"},jm={class:"control"},qm=fa(()=>E("span",{class:"f-grow1"},null,-1)),Bm=fa(()=>E("span",{class:"f-grow1"},null,-1));function Um(e,t,n,r,i,s){var o;const a=Am,l=ua,u=Om,d=xm;return C(),I("div",Lm,[E("div",Pm,[E("div",Rm,ie(e.audio.performer)+" - "+ie(e.audio.title),1),E("div",jm,[E("span",null,ie(this.time),1),qm,Ct(a,{class:"clickable",onClick:e.prev},null,8,["onClick"]),(o=e.playing)!=null&&o.paused?(C(),ye(l,{key:0,onClick:e.play},null,8,["onClick"])):(C(),ye(u,{key:1,onClick:e.pause},null,8,["onClick"])),Ct(d,{class:"clickable",onClick:e.next},null,8,["onClick"]),Bm,E("span",null,ie(this.duration),1)])])])}const Fm=dn(Ge,[["render",Um],["__scopeId","data-v-dcaa915d"]]),Ym=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function ma(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let jt=ma();function zm(e){jt=e}const ga=/[&<>"']/,Hm=new RegExp(ga.source,"g"),ya=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Vm=new RegExp(ya.source,"g"),$m={"&":"&","<":"<",">":">",'"':""","'":"'"},Ps=e=>$m[e];function se(e,t){if(t){if(ga.test(e))return e.replace(Hm,Ps)}else if(ya.test(e))return e.replace(Vm,Ps);return e}const Wm=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ba(e){return e.replace(Wm,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Gm=/(^|[^\[])\^/g;function W(e,t){e=typeof e=="string"?e:e.source,t=t||"";const n={replace:(r,i)=>(i=i.source||i,i=i.replace(Gm,"$1"),e=e.replace(r,i),n),getRegex:()=>new RegExp(e,t)};return n}const Zm=/[^\w:]/g,Qm=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Rs(e,t,n){if(e){let r;try{r=decodeURIComponent(ba(n)).replace(Zm,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}t&&!Qm.test(n)&&(n=eg(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const _n={},Jm=/^[^:]+:\/*[^/]*$/,Xm=/^([^:]+:)[\s\S]*$/,Km=/^([^:]+:\/*[^/]*)[\s\S]*$/;function eg(e,t){_n[" "+e]||(Jm.test(e)?_n[" "+e]=e+"/":_n[" "+e]=qn(e,"/",!0)),e=_n[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace(Xm,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(Km,"$1")+t:e+t}const Xn={exec:function(){}};function De(e){let t=1,n,r;for(;t{let l=!1,u=o;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Bs(e,t,n,r){const i=t.href,s=t.title?se(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:se(o)}}function ng(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(` +v.version="2.29.4";Vc(Q);v.fn=y;v.min=Ih;v.max=Nh;v.now=Lh;v.utc=Re;v.unix=lp;v.months=up;v.isDate=ln;v.locale=tt;v.invalid=hr;v.duration=Ee;v.isMoment=Ce;v.weekdays=dp;v.parseZone=cp;v.localeData=Qe;v.isDuration=Rn;v.monthsShort=hp;v.weekdaysMin=fp;v.defineLocale=Bi;v.updateLocale=ch;v.locales=uh;v.weekdaysShort=pp;v.normalizeUnits=_e;v.relativeTimeRounding=Yp;v.relativeTimeThreshold=zp;v.calendarFormat=sd;v.prototype=y;v.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Vp=/\B([A-Z])/g,$p=e=>e.replace(Vp,"-$1").toLowerCase();function Xe(e){return ur((t,n)=>{const r=e||$p(n);t.emits||(t.emits=[]),t.emits.push(r);const i=t.methods[n];t.methods[n]=function(...s){const o=l=>{l===void 0?s.length===0?this.$emit(r):s.length===1?this.$emit(r,s[0]):this.$emit(r,...s):(s.unshift(l),this.$emit(r,...s))},a=i.apply(this,s);return Wp(a)?a.then(o):o(a),a}})}function Wp(e){return e instanceof Promise||e&&typeof e.then=="function"}function qe(e){return ur((t,n)=>{t.props||(t.props=Object.create(null)),t.props[n]=e})}function Gp(e){return ur((t,n)=>{t.computed||(t.computed=Object.create(null)),t.computed[n]={cache:!1,get(){return this.$refs[e||n]}}})}function Zp(e,t){return ur((n,r)=>{n.watch||(n.watch=Object.create(null));const i=n.watch;typeof i[e]=="object"&&!Array.isArray(i[e])?i[e]=[i[e]]:typeof i[e]>"u"&&(i[e]=[]),i[e].push(Object.assign({handler:r},t))})}const Qp={viewBox:"0 0 576 512",width:"1.2em",height:"1.2em"},Jp=E("path",{fill:"currentColor",d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zm144 224c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zm-144-64c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6.1-8.4.4c5.3 9.3 8.4 20.1 8.4 31.6z"},null,-1),Xp=[Jp];function Kp(e,t){return C(),I("svg",Qp,Xp)}const ef={name:"fa6-solid-eye",render:Kp},tf={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},nf=E("path",{fill:"currentColor",d:"M96 0C60.7 0 32 28.7 32 64v384c0 35.3 28.7 64 64 64h288c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H96zm112 288h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H144c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM512 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16V80zm-16 112c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64c0-8.8-7.2-16-16-16zm16 144c0-8.8-7.2-16-16-16s-16 7.2-16 16v64c0 8.8 7.2 16 16 16s16-7.2 16-16v-64z"},null,-1),rf=[nf];function sf(e,t){return C(),I("svg",tf,rf)}const of={name:"fa6-solid-address-book",render:sf},af={viewBox:"0 0 384 512",width:"1.2em",height:"1.2em"},lf=E("path",{fill:"currentColor",d:"M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80v352c0 17.4 9.4 33.4 24.5 41.9S58.2 482 73 473l288-176c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"},null,-1),cf=[lf];function uf(e,t){return C(),I("svg",af,cf)}const ua={name:"fa6-solid-play",render:uf},hf={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},df=E("path",{fill:"currentColor",d:"M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32v242.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64h384c35.3 0 64-28.7 64-64v-32c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 104c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"},null,-1),pf=[df];function ff(e,t){return C(),I("svg",hf,pf)}const mf={name:"fa6-solid-download",render:ff};function ai(e){return v.utc(v.duration(e,"seconds").asMilliseconds()).format("mm:ss")}function gf(e){for(const t of["B","KiB","MiB","GiB","TiB","PiB"]){if(Math.abs(e)<1024)return`${e.toFixed(1)} ${t}`;e/=1024}return"> 1024 PiB"}var ha=function(e,t,n,r){var i=typeof r<"u"?[r,e]:[e],s=new Blob(i,{type:n||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(s,t);else{var o=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(s):window.webkitURL.createObjectURL(s),a=document.createElement("a");a.style.display="none",a.href=o,a.setAttribute("download",t),typeof a.download>"u"&&a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),setTimeout(function(){document.body.removeChild(a),window.URL.revokeObjectURL(o)},200)}},yf=Object.defineProperty,bf=Object.getOwnPropertyDescriptor,_r=(e,t,n,r)=>{for(var i=r>1?void 0:r?bf(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&yf(t,n,i),i};let Et=class extends Nt{constructor(){super(...arguments),G(this,"f"),G(this,"hasHead")}get pollFile(){return this.f}get locationFile(){return this.f}fileThumbClick(){if(!this.f.media_type)return ha(this.f.url,this.f.url.split("/").slice(-1)[0]);this.play()}play(){return this.f}get shouldDisplayDetail(){return!this.f.media_type||this.isAudioOrVoice||this.f.media_type=="contact"}get isAudioOrVoice(){return this.f.media_type=="audio_file"||this.f.media_type=="voice_message"}get fileTitle(){var t,n;const e=this.f;if(!e.media_type)return(t=e.original_name)!=null?t:e.url.split("/").slice(-1)[0];if(e.media_type=="voice_message")return"Voice Message";if(e.media_type=="audio_file"){let r="";return e.performer&&(r+=e.performer+" - "),e.title&&(r+=e.title),r}if(e.media_type=="contact"){let r=(n=e.first_name)!=null?n:"";return e.last_name&&(r+=" "+e.last_name),r}}get duration(){return ai(this.f.duration)}get size(){return gf(this.f.size)}};_r([qe({required:!0})],Et.prototype,"f",2);_r([qe({required:!0})],Et.prototype,"hasHead",2);_r([Xe("play")],Et.prototype,"play",1);Et=_r([an({components:{Location:Gr(()=>ps(()=>import("./Location-d7867b06.6ebaa7f6.js"),["assets/Location-d7867b06.6ebaa7f6.js","assets/index.710b8de0.js","assets/index.470adf07.css"])),Poll:Gr(()=>ps(()=>import("./Poll-e903e06f.7010b732.js"),["assets/Poll-e903e06f.7010b732.js","assets/index.710b8de0.js","assets/index.470adf07.css"]))}})],Et);const dn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n},vf={key:0,class:"file"},wf=["src"],xf={class:"icon fbox-center"},kf={class:"detail fbox-vcenter"},_f={key:0,class:"title"},Sf={class:"file-detail"},Tf={key:0,class:"duration"},Of={key:1,class:"size"},Cf={key:2,class:"phone"},Ef={key:1,class:"sticker"},Df=["src"],Mf=["src"],Af=["src"],If=["src"],Nf=["src"];function Lf(e,t,n,r,i,s){var f;const o=mf,a=ua,l=of,u=ct("Poll"),d=ct("Location");return C(),I(Yn,null,[e.shouldDisplayDetail?(C(),I("div",vf,[E("div",{class:"thumb clickable",onClick:t[0]||(t[0]=(...c)=>e.fileThumbClick&&e.fileThumbClick(...c))},[E("img",{src:(f=e.f.thumb)!=null?f:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",alt:""},null,8,wf),E("div",xf,[e.f.media_type?e.isAudioOrVoice?(C(),ye(a,{key:1})):e.f.media_type==="contact"?(C(),ye(l,{key:2})):$("",!0):(C(),ye(o,{key:0}))])]),E("div",kf,[e.fileTitle?(C(),I("div",_f,ie(e.fileTitle),1)):$("",!0),E("div",Sf,[e.f.duration?(C(),I("span",Tf,ie(e.duration),1)):$("",!0),e.f.size?(C(),I("span",Of,ie(e.size),1)):$("",!0),e.f.phone_number?(C(),I("span",Cf,ie(e.f.phone_number),1)):$("",!0)])])])):$("",!0),e.f.media_type==="sticker"?(C(),I("div",Ef,[e.f.url.toLowerCase().endsWith("webm")?(C(),I("video",{key:0,src:e.f.url,preload:"auto",muted:"",autoplay:"",loop:"",playsinline:"",disablepictureinpicture:""},[e.f.thumb?(C(),I("img",{key:0,src:e.f.thumb,alt:""},null,8,Mf)):$("",!0)],8,Df)):(C(),I("img",{key:1,src:e.f.url,alt:""},null,8,Af))])):$("",!0),e.f.media_type==="video_file"||e.f.media_type==="animation"?(C(),I("div",{key:2,class:Ot(["video no-head",{"has-head":e.hasHead}])},[E("video",{src:e.f.url,preload:"auto",muted:"",autoplay:"",loop:"",playsinline:"",disablepictureinpicture:""},[e.f.thumb?(C(),I("img",{key:0,src:e.f.thumb,alt:""},null,8,Nf)):$("",!0)],8,If)],2)):$("",!0),e.f.media_type==="poll"?(C(),ye(u,{key:3,f:e.pollFile},null,8,["f"])):$("",!0),e.f.media_type==="location"?(C(),ye(d,{key:4,class:Ot(["location no-head",{"has-head":e.hasHead}]),f:e.locationFile},null,8,["class","f"])):$("",!0)],64)}const Pf=dn(Et,[["render",Lf],["__scopeId","data-v-0ae951e3"]]);parseInt(getComputedStyle(document.documentElement).fontSize,10);const Ms=(e,t,n)=>Math.min(n,Math.max(t,e)),S={None:0,Top:1,Right:2,Bottom:4,Left:8};function Rf(e){return e.map(t=>t>1.2?"w":t<.8?"n":"q").join("")}function jf(e){return e.reduce((t,n)=>n+t,1)/e.length}function As(e,t){return e.reduce((n,r)=>n+r,t)}function qf(e,t){return e.map(n=>t>1.1?Ms(n,1,2.75):Ms(n,.6667,1))}function Bf(e){const t={width:0,height:0};return e.forEach(({dimensions:n,sides:r})=>{r&S.Right&&(t.width=n.width+n.x),r&S.Bottom&&(t.height=n.height+n.y)}),t}function Uf(e,t,n){const r=e.map(d=>d.width/d.height),i=Rf(r),s=jf(r),o=r.length,a=r.some(d=>d>2);let l;const u={ratios:r,proportions:i,averageRatio:s,maxWidth:t,minWidth:100,maxHeight:n,spacing:2};if(o===1){const d=r[0];l=[{dimensions:{x:0,y:0,width:t,height:d>1?n/d:n},sides:4}]}else o>=5||a?l=Ff(u):o===2?l=Yf(u):o===3?l=$f(u):l=Zf(u);return{layout:l,containerStyle:Bf(l)}}function Ff({ratios:e,averageRatio:t,maxWidth:n,minWidth:r,spacing:i,maxHeight:s=4*n/3}){const o=qf(e,t),a=e.length,l=new Array(a),u=[],d=(w,b)=>{const O=o.slice(w,w+b),_=As(O,0);return(n-(b-1)*i)/_},f=w=>{const b=[];let O=0;w.forEach(_=>{b.push(d(O,_)),O+=_}),u.push({lineCounts:w,heights:b})};for(let w=1;w!==a;++w){const b=a-w;w<=3&&b<=3&&f([w,b])}for(let w=1;w!==a-1;++w)for(let b=1;b!==a-w;++b){const O=a-w-b;w<=3&&b<=(t<.85?4:3)&&O<=3&&f([w,b,O])}for(let w=1;w!==a-1;++w)for(let b=1;b!==a-w;++b)for(let O=1;O!==a-w-b;++O){const _=a-w-b-O;w<=3&&b<=3&&O<=3&&_<=4&&f([w,b,O,_])}let c,h=0;for(let w=0;w{for(let oe=1;oe!==_;++oe)if(O[oe-1]>O[oe])return 1.5;return 1})(),te=Math.abs(N-s)*Y*ee;(!c||te1.4&&t[1]-t[0]<.2?zf(e):n==="ww"||n==="qq"?Hf(e):Vf(e)}function zf(e){const{ratios:t,maxWidth:n,spacing:r,maxHeight:i}=e,s=Math.round(Math.min(n/t[0],Math.min(n/t[1],(i-r)/2)));return[{dimensions:{x:0,y:0,width:n,height:s},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:s+r,width:n,height:s},sides:S.Left|S.Bottom|S.Right}]}function Hf(e){const{ratios:t,maxWidth:n,spacing:r,maxHeight:i}=e,s=(n-r)/2,o=Math.round(Math.min(s/t[0],Math.min(s/t[1],i)));return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:s+r,y:0,width:s,height:o},sides:S.Top|S.Right|S.Bottom}]}function Vf(e){const{ratios:t,minWidth:n,maxWidth:r,spacing:i,maxHeight:s}=e,o=Math.round(1.5*n),a=Math.min(Math.round(Math.max(.4*(r-i),(r-i)/t[0]/(1/t[0]+1/t[1]))),r-i-o),l=r-a-i,u=Math.min(s,Math.round(Math.min(l/t[0],a/t[1])));return[{dimensions:{x:0,y:0,width:l,height:u},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:l+i,y:0,width:a,height:u},sides:S.Top|S.Right|S.Bottom}]}function $f(e){const{proportions:t}=e;return t[0]==="n"?Wf(e):Gf(e)}function Wf(e){const{maxHeight:t,spacing:n,ratios:r,maxWidth:i,minWidth:s}=e,o=t,a=Math.round(Math.min((t-n)/2,r[1]*(i-n)/(r[2]+r[1]))),l=o-a-n,u=Math.max(s,Math.round(Math.min((i-n)/2,Math.min(a*r[2],l*r[1])))),d=Math.min(Math.round(o*r[0]),i-n-u);return[{dimensions:{x:0,y:0,width:d,height:o},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:d+n,y:0,width:u,height:l},sides:S.Top|S.Right},{dimensions:{x:d+n,y:l+n,width:u,height:a},sides:S.Bottom|S.Right}]}function Gf(e){const{maxWidth:t,ratios:n,maxHeight:r,spacing:i}=e,s=t,o=Math.round(Math.min(s/n[0],.66*(r-i))),a=(t-i)/2,l=Math.min(r-o-i,Math.round(Math.min(a/n[1],a/n[2]))),u=s-a-i;return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:o+i,width:a,height:l},sides:S.Bottom|S.Left},{dimensions:{x:a+i,y:o+i,width:u,height:l},sides:S.Bottom|S.Right}]}function Zf(e){const{proportions:t}=e;return t[0]==="w"?Qf(e):Jf(e)}function Qf({maxWidth:e,ratios:t,spacing:n,maxHeight:r,minWidth:i}){const s=e,o=Math.round(Math.min(s/t[0],.66*(r-n))),a=Math.round((e-2*n)/(t[1]+t[2]+t[3])),l=Math.max(i,Math.round(Math.min(.4*(e-2*n),a*t[1]))),u=Math.round(Math.max(Math.max(i,.33*(e-2*n)),a*t[3])),d=s-l-u-2*n,f=Math.min(r-o-n,a);return[{dimensions:{x:0,y:0,width:s,height:o},sides:S.Left|S.Top|S.Right},{dimensions:{x:0,y:o+n,width:l,height:f},sides:S.Bottom|S.Left},{dimensions:{x:l+n,y:o+n,width:d,height:f},sides:S.Bottom},{dimensions:{x:l+n+d+n,y:o+n,width:u,height:f},sides:S.Right|S.Bottom}]}function Jf({maxHeight:e,ratios:t,maxWidth:n,spacing:r,minWidth:i}){const s=e,o=Math.round(Math.min(s*t[0],.6*(n-r))),a=Math.round((e-2*r)/(1/t[1]+1/t[2]+1/t[3])),l=Math.round(a/t[1]),u=Math.round(a/t[2]),d=s-l-u-2*r,f=Math.max(i,Math.min(n-o-r,a));return[{dimensions:{x:0,y:0,width:o,height:s},sides:S.Top|S.Left|S.Bottom},{dimensions:{x:o+r,y:0,width:f,height:l},sides:S.Top|S.Right},{dimensions:{x:o+r,y:l+r,width:f,height:u},sides:S.Right},{dimensions:{x:o+r,y:l+u+2*r,width:f,height:d},sides:S.Bottom|S.Right}]}var Xf=Object.defineProperty,Kf=Object.getOwnPropertyDescriptor,Rt=(e,t,n,r)=>{for(var i=r>1?void 0:r?Kf(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Xf(t,n,i),i};let nt=class extends Nt{constructor(){super(...arguments),G(this,"p"),G(this,"postsUrl"),G(this,"el"),G(this,"sizeScale",1)}get text(){if(this.p.text)return this.p.text}get fwdUrl(){return typeof this.p.forwarded_from=="string"?void 0:this.p.forwarded_from.url}get fwdName(){return typeof this.p.forwarded_from=="string"?this.p.forwarded_from:this.p.forwarded_from.name}get dims(){return console.log(`Calculating dimensions for ${this.p.id}...`),Uf(this.p.images,450,450)}get containerStyle(){const e=this.sizeScale,t=this.dims.containerStyle;return{width:t.width*e+"px",height:t.height*e+"px"}}getImageStyle(e){const t=this.sizeScale,n=this.dims.layout[e].dimensions;return{left:n.x*t+"px",top:n.y*t+"px",width:n.width*t+"px",height:n.height*t+"px"}}clickReply(){return this.p.reply.id}refreshSize(){this.sizeScale=this.el.clientWidth/450}mounted(){this.initEmoji(),this.refreshSize(),window.addEventListener("resize",this.refreshSize)}unmounted(){window.removeEventListener("resize",this.refreshSize)}replaceUrl(e){return new URL(e,this.postsUrl).toString()}initEmoji(){document.querySelectorAll("i.custom-emoji:not(.init)").forEach(e=>{const t=this.replaceUrl(e.getAttribute("emoji-src"));e.classList.add("init"),t.endsWith("webm")?e.innerHTML=``:e.innerHTML=``})}clickImg(e){return e}};Rt([qe({required:!0})],nt.prototype,"p",2);Rt([qe({required:!0})],nt.prototype,"postsUrl",2);Rt([Gp("post")],nt.prototype,"el",2);Rt([Xe("click-reply")],nt.prototype,"clickReply",1);Rt([Xe("click-img")],nt.prototype,"clickImg",1);nt=Rt([an({components:{FileView:Pf}})],nt);const da=e=>(sn("data-v-aa926228"),e=e(),on(),e),e0=["id"],t0={class:"head unselectable"},n0={key:0,class:"forward"},r0=["href"],i0={key:0,class:"thumb-wrap"},s0=["src"],o0={class:"mtext"},a0=da(()=>E("div",{class:"reply-to"},"Reply to:",-1)),l0=["innerHTML"],c0=["src","onClick"],u0={key:2,class:"files"},h0=["innerHTML"],d0={class:"info font-code unselectable"},p0={class:"id"},f0=da(()=>E("div",{class:"f-grow1"},null,-1)),m0={key:0,class:"author"},g0={class:"date"},y0={key:1,class:"views"};function b0(e,t,n,r,i,s){const o=ct("FileView"),a=ef;return C(),I("div",{class:Ot(["post tgb-card",{service:e.p.type==="service"}]),id:`message-${e.p.id}`,ref:"post"},[E("div",t0,[e.p.forwarded_from?(C(),I("div",n0,[Vt(" Forwarded from: "),E("a",{href:e.fwdUrl},ie(e.fwdName),9,r0)])):$("",!0)]),e.p.reply?(C(),I("div",{key:0,class:"reply undraggable clickable",onClick:t[0]||(t[0]=(...l)=>e.clickReply&&e.clickReply(...l))},[e.p.reply.thumb?(C(),I("div",i0,[E("img",{class:"thumb",src:e.p.reply.thumb,alt:"",loading:"lazy"},null,8,s0)])):$("",!0),E("div",o0,[a0,E("div",{class:"reply-text",innerHTML:e.p.reply.text},null,8,l0)])])):$("",!0),e.p.images?(C(),I("div",{key:1,class:Ot(["images",{"has-head":e.p.reply||e.p.forwarded_from}]),style:Zr(e.containerStyle)},[(C(!0),I(Yn,null,Qr(e.p.images,(l,u)=>(C(),I("img",{key:u,src:l.url,alt:"image",loading:"lazy",class:"clickable",onClick:d=>e.clickImg(u),style:Zr(e.getImageStyle(u))},null,12,c0))),128))],6)):$("",!0),e.p.files?(C(),I("div",u0,[(C(!0),I(Yn,null,Qr(e.p.files,l=>(C(),ye(o,{f:l,"has-head":!!(e.p.reply||e.p.forwarded_from||e.p.images),onPlay:t[1]||(t[1]=u=>e.$emit("play",u))},null,8,["f","has-head"]))),256))])):$("",!0),E("div",{class:"text",innerHTML:e.text},null,8,h0),E("div",d0,[E("div",p0,"#"+ie(e.p.id),1),f0,e.p.author?(C(),I("div",m0,ie(e.p.author),1)):$("",!0),E("div",g0,ie(e.p.date),1),e.p.views?(C(),I("div",y0,[Vt(ie(e.p.views)+" ",1),Ct(a)])):$("",!0)])],10,e0)}const v0=dn(nt,[["render",b0],["__scopeId","data-v-aa926228"]]);function Is(){const e=document.querySelectorAll(".spoiler");console.log("Spoilers initialized."),e.forEach(t=>{t.classList.contains("spoiler-init")||(t.classList.add("spoiler-init"),t.addEventListener("click",()=>{t.classList.toggle("spoiler-visible"),console.log(`Spoiler clicked: ${t}`)}))})}const w0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},x0=E("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512L340.864 831.872a30.592 30.592 0 0 0 0 42.752a29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"},null,-1),k0=[x0];function _0(e,t){return C(),I("svg",w0,k0)}const S0={name:"ep-arrow-right",render:_0},T0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},O0=E("path",{fill:"currentColor",d:"M609.408 149.376L277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0a30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688a29.12 29.12 0 0 0-41.728 0z"},null,-1),C0=[O0];function E0(e,t){return C(),I("svg",T0,C0)}const D0={name:"ep-arrow-left",render:E0},M0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},A0=E("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64zm384-253.696l236.288-236.352l45.248 45.248L508.8 704L192 387.2l45.248-45.248L480 584.704V128h64v450.304z"},null,-1),I0=[A0];function N0(e,t){return C(),I("svg",M0,I0)}const L0={name:"ep-download",render:N0},P0={viewBox:"0 0 1024 1024",width:"1.2em",height:"1.2em"},R0=E("path",{fill:"currentColor",d:"M764.288 214.592L512 466.88L259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512L214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"},null,-1),j0=[R0];function q0(e,t){return C(),I("svg",P0,j0)}const B0={name:"ep-close",render:q0};var Ns="Control",Ls="Meta",U0="Escape",F0="ArrowLeft",Y0="ArrowRight",z0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,pn=(e,t,n,r)=>{for(var i=r>1?void 0:r?H0(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&z0(t,n,i),i};let ht=class extends Nt{constructor(){super(...arguments),G(this,"imgs"),G(this,"index"),G(this,"ctrlDown",!1),G(this,"zoom",1)}get img(){if(this.imgs)return this.imgs[this.index]}get isOpen(){return!!this.img}get hasPrev(){return this.index>0}get hasNext(){return this.index+1=this.imgs.length||(this.zoom=1,this._rawUpdateIndex(t))}_rawUpdateIndex(e){return e}keydown(e){if(this.isOpen){if(e.code===U0)return this.close();if(e.code===F0)return this.updateIndex(-1);if(e.code===Y0)return this.updateIndex(1);if(e.key==Ns||e.key===Ls)return this.ctrlDown=!0}}keyup(e){if(e.key==Ns||e.key===Ls)return this.ctrlDown=!1}wheel(e){if(!this.isOpen)return;e.preventDefault();const t=Math.sign(e.deltaY);this.ctrlDown?this.zoom=Math.min(Math.max(this.zoom*=1+t*-.1,.1),5):this.updateIndex(t)}get imgStyle(){return{transform:`scale(${this.zoom.toFixed(2)})`}}mounted(){document.addEventListener("keydown",this.keydown),document.addEventListener("keyup",this.keyup),document.addEventListener("wheel",this.wheel,{passive:!1})}unmounted(){document.removeEventListener("keydown",this.keydown),document.removeEventListener("keyup",this.keyup),document.removeEventListener("wheel",this.wheel)}};pn([qe({required:!0})],ht.prototype,"imgs",2);pn([qe({required:!0})],ht.prototype,"index",2);pn([Xe("close")],ht.prototype,"close",1);pn([Xe("update:index")],ht.prototype,"_rawUpdateIndex",1);ht=pn([an({components:{}})],ht);const pa=e=>(sn("data-v-88a4605c"),e=e(),on(),e),V0={key:0,id:"ImageViewer"},$0={class:"img-container"},W0=["src"],G0={class:"top"},Z0=pa(()=>E("span",{class:"f-grow1"},null,-1)),Q0={class:"bottom"},J0={class:"left unselectable"},X0={class:"index"},K0={class:"detail"},em={key:0,class:"date"},tm={class:"right"},nm={class:"description unselectable"},rm={key:0,class:"text"},im=["innerHTML"],sm={class:"arrows"},om=pa(()=>E("div",{class:"f-grow1"},null,-1));function am(e,t,n,r,i,s){const o=B0,a=L0,l=D0,u=S0;return e.img?(C(),I("div",V0,[E("div",$0,[E("img",{src:e.img.url,alt:"Photo",class:"undraggable",style:Zr(e.imgStyle)},null,12,W0)]),E("div",G0,[Z0,Ct(o,{class:"icn close clickable",onClick:e.close},null,8,["onClick"])]),E("div",Q0,[E("div",J0,[E("div",X0,"Photo "+ie(e.index+1)+" of "+ie(e.imgs.length),1),E("div",K0,[e.img.date?(C(),I("span",em,ie(e.img.date),1)):$("",!0)])]),E("div",tm,[Ct(a,{class:"icn download clickable",onClick:e.download},null,8,["onClick"])]),E("div",nm,[e.img.text?(C(),I("div",rm,[E("div",{innerHTML:e.textHtml},null,8,im)])):$("",!0)])]),E("div",sm,[e.hasPrev?(C(),ye(l,{key:0,class:"icn left clickable",onClick:t[0]||(t[0]=d=>e.updateIndex(-1))})):$("",!0),om,e.hasNext?(C(),ye(u,{key:1,class:"icn right clickable",onClick:t[1]||(t[1]=d=>e.updateIndex(1))})):$("",!0)])])):$("",!0)}const lm=dn(ht,[["render",am],["__scopeId","data-v-88a4605c"]]);var cm=Object.defineProperty,um=Object.getOwnPropertyDescriptor,Sr=(e,t,n,r)=>{for(var i=r>1?void 0:r?um(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&cm(t,n,i),i};let Dt=class extends Nt{constructor(){super(...arguments),G(this,"postsUrl"),G(this,"postsData"),G(this,"margins"),G(this,"posts",[]),G(this,"imgList",null),G(this,"postImgIndex"),G(this,"count",20),G(this,"audio",null),G(this,"img",-1),G(this,"replyShake",[]),G(this,"replyLoading",!1),G(this,"fail",null)}get purl(){return new URL(this.postsUrl,document.location.href).href}get audios(){return this.posts.filter(e=>{var t,n;return((n=(t=e.files)==null?void 0:t.at(0))==null?void 0:n.media_type)=="audio_file"}).flatMap(e=>e.files)}audioNext(e){this.audio=this.audios.at(this.audios.indexOf(this.audio)+e)}replaceUrl(e){return new URL(e,this.purl).toString()}infiniteScroll(){console.log("Infinite Scroll - Load more"),this.count=Math.min(this.count+10,this.posts.length)}get postIdIndex(){return Object.fromEntries(this.posts.map((e,t)=>[e.id,t]))}clickReply(e){if(this.replyLoading)return;const t=this.postIdIndex[e];t>this.count&&(this.replyLoading=!0,this.count=Math.min(t+10,this.posts.length)),this.jumpToReply(e,t)}jumpToReply(e,t){const n=document.getElementById(`message-${e}`);if(!n)return setTimeout(()=>this.jumpToReply(e,t),50);n.scrollIntoView({behavior:"smooth",block:"center"}),this.replyLoading=!1;const r=()=>{this.replyShake=[...this.replyShake,t],setTimeout(()=>this.replyShake=this.replyShake.filter(a=>a!=t),1500)};let i;const s=setTimeout(()=>{r(),window.removeEventListener("scroll",i)},1e3);let o;i=a=>{clearTimeout(o),o=setTimeout(()=>{clearTimeout(s),r(),window.removeEventListener("scroll",i)},100)},window.addEventListener("scroll",i)}async created(){try{this.postsData?this.posts=this.postsData:this.posts=await(await fetch(this.purl)).json(),this.posts.forEach(e=>e.date=v(e.date).format("YYYY-MM-DD h:mm")),this.posts.reverse(),this.posts=this.posts.filter(e=>e.type!=="service"),this.count=Math.min(this.count,this.posts.length),this.posts.forEach(e=>{var t,n,r;(t=e.images)==null||t.forEach(i=>i.url=this.replaceUrl(i.url)),(n=e.reply)!=null&&n.thumb&&(e.reply.thumb=this.replaceUrl(e.reply.thumb)),(r=e.files)==null||r.forEach(i=>{i.url=this.replaceUrl(i.url),i.thumb&&(i.thumb=this.replaceUrl(i.thumb))})}),this.imgList=this.posts.flatMap((e,t)=>{var n;return((n=e.images)!=null?n:[]).map(r=>{var s;var i;return{url:r.url,text:e.text,author:(s=e.author)!=null?s:typeof e.forwarded_from=="string"?e.forwarded_from:(i=e.forwarded_from)==null?void 0:i.name,date:e.date,postIndex:t}})}),this.postImgIndex=new Array(this.posts.length).fill(null),this.imgList.forEach((e,t)=>{this.postImgIndex[e.postIndex]===null&&(this.postImgIndex[e.postIndex]=t)}),console.log(this.imgList),console.log(this.postImgIndex),setTimeout(()=>Is(),100)}catch(e){console.log(e),this.fail=e}}updated(){Is()}};Sr([qe({required:!0})],Dt.prototype,"postsUrl",2);Sr([qe()],Dt.prototype,"postsData",2);Sr([qe({default:!0})],Dt.prototype,"margins",2);Dt=Sr([an({components:{PostView:v0,ImageViewer:lm,AudioPlayer:Gr(()=>Promise.resolve().then(()=>Ym))}})],Dt);const hm=e=>(sn("data-v-f2514daf"),e=e(),on(),e),dm={key:0,class:"error tgb-card"},pm=hm(()=>E("br",null,null,-1)),fm={key:1};function mm(e,t,n,r,i,s){const o=ct("PostView"),a=ct("AudioPlayer"),l=ct("ImageViewer"),u=Mc;return C(),I("div",{class:Ot(["tg-blog",{margins:e.margins}])},[El(e.$slots,"default",{},void 0,!0),e.fail?(C(),I("div",dm,[E("h2",null,[Vt("Failed loading posts from: "),pm,Vt(ie(e.purl),1)]),Vt(" "+ie(e.fail),1)])):$("",!0),e.posts.length!==0?Dl((C(),I("div",fm,[(C(!0),I(Yn,null,Qr(e.count,(d,f)=>(C(),ye(o,{p:e.posts[f],postsUrl:e.purl,key:f,onPlay:t[0]||(t[0]=c=>e.audio=c),onClickImg:c=>e.img=e.postImgIndex[f]+c,onClickReply:e.clickReply,class:Ot({shake:e.replyShake.includes(f)})},null,8,["p","postsUrl","onClickImg","onClickReply","class"]))),128))])),[[u,e.infiniteScroll]]):$("",!0),e.audio?(C(),ye(a,{key:2,audio:e.audio,onPrev:t[1]||(t[1]=d=>e.audioNext(-1)),onNext:t[2]||(t[2]=d=>e.audioNext(1))},null,8,["audio"])):$("",!0),Ct(l,{imgs:e.imgList,index:e.img,"onUpdate:index":t[3]||(t[3]=d=>e.img=d)},null,8,["imgs","index"])],2)}const gm=dn(Dt,[["render",mm],["__scopeId","data-v-f2514daf"]]),ym={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},bm=E("path",{fill:"currentColor",d:"M52.5 440.6c-9.5 7.9-22.8 9.7-34.1 4.4S0 428.4 0 416V96c0-12.4 7.2-23.7 18.4-29s24.5-3.6 34.1 4.4L224 214.3v83.4L52.5 440.6zM256 352V96c0-12.4 7.2-23.7 18.4-29s24.5-3.6 34.1 4.4l192 160c7.3 6.1 11.5 15.1 11.5 24.6s-4.2 18.5-11.5 24.6l-192 160c-9.5 7.9-22.8 9.7-34.1 4.4S256 428.4 256 416v-64z"},null,-1),vm=[bm];function wm(e,t){return C(),I("svg",ym,vm)}const xm={name:"fa6-solid-forward",render:wm},km={viewBox:"0 0 320 512",width:"1.2em",height:"1.2em"},_m=E("path",{fill:"currentColor",d:"M48 64C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48h-32z"},null,-1),Sm=[_m];function Tm(e,t){return C(),I("svg",km,Sm)}const Om={name:"fa6-solid-pause",render:Tm},Cm={viewBox:"0 0 512 512",width:"1.2em",height:"1.2em"},Em=E("path",{fill:"currentColor",d:"M459.5 440.6c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4L288 214.3v83.4l171.5 142.9zM256 352V96c0-12.4-7.2-23.7-18.4-29s-24.5-3.6-34.1 4.4l-192 160C4.2 237.5 0 246.5 0 256s4.2 18.5 11.5 24.6l192 160c9.5 7.9 22.8 9.7 34.1 4.4s18.4-16.6 18.4-29v-64z"},null,-1),Dm=[Em];function Mm(e,t){return C(),I("svg",Cm,Dm)}const Am={name:"fa6-solid-backward",render:Mm};var Im=Object.defineProperty,Nm=Object.getOwnPropertyDescriptor,mt=(e,t,n,r)=>{for(var i=r>1?void 0:r?Nm(t,n):t,s=e.length-1,o;s>=0;s--)(o=e[s])&&(i=(r?o(t,n,i):o(i))||i);return r&&i&&Im(t,n,i),i};let Ge=class extends Nt{constructor(){super(...arguments),G(this,"audio"),G(this,"playing",null),G(this,"duration","00:00"),G(this,"time","00:00")}mounted(){this.init()}pause(){this.playing.pause(),this.$forceUpdate()}play(){this.playing.play(),this.$forceUpdate()}next(){}prev(){}unmounted(){this.playing&&this.playing.pause()}init(){this.playing&&!this.playing.paused&&this.playing.pause(),this.playing=new Audio,this.playing.src=this.audio.url,this.playing.onloadedmetadata=()=>{this.duration=ai(this.playing.duration)},this.playing.ontimeupdate=()=>{this.time=ai(this.playing.currentTime)},this.playing.onended=()=>{this.$forceUpdate(),this.next()},this.playing.play()}};mt([qe({required:!0})],Ge.prototype,"audio",2);mt([Xe("pause")],Ge.prototype,"pause",1);mt([Xe("play")],Ge.prototype,"play",1);mt([Xe("next")],Ge.prototype,"next",1);mt([Xe("prev")],Ge.prototype,"prev",1);mt([Zp("audio")],Ge.prototype,"init",1);Ge=mt([an({components:{}})],Ge);const fa=e=>(sn("data-v-dcaa915d"),e=e(),on(),e),Lm={id:"AudioPlayer"},Pm={class:"wrap"},Rm={class:"unselectable"},jm={class:"control"},qm=fa(()=>E("span",{class:"f-grow1"},null,-1)),Bm=fa(()=>E("span",{class:"f-grow1"},null,-1));function Um(e,t,n,r,i,s){var o;const a=Am,l=ua,u=Om,d=xm;return C(),I("div",Lm,[E("div",Pm,[E("div",Rm,ie(e.audio.performer)+" - "+ie(e.audio.title),1),E("div",jm,[E("span",null,ie(this.time),1),qm,Ct(a,{class:"clickable",onClick:e.prev},null,8,["onClick"]),(o=e.playing)!=null&&o.paused?(C(),ye(l,{key:0,onClick:e.play},null,8,["onClick"])):(C(),ye(u,{key:1,onClick:e.pause},null,8,["onClick"])),Ct(d,{class:"clickable",onClick:e.next},null,8,["onClick"]),Bm,E("span",null,ie(this.duration),1)])])])}const Fm=dn(Ge,[["render",Um],["__scopeId","data-v-dcaa915d"]]),Ym=Object.freeze(Object.defineProperty({__proto__:null,default:Fm},Symbol.toStringTag,{value:"Module"}));function ma(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let jt=ma();function zm(e){jt=e}const ga=/[&<>"']/,Hm=new RegExp(ga.source,"g"),ya=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Vm=new RegExp(ya.source,"g"),$m={"&":"&","<":"<",">":">",'"':""","'":"'"},Ps=e=>$m[e];function se(e,t){if(t){if(ga.test(e))return e.replace(Hm,Ps)}else if(ya.test(e))return e.replace(Vm,Ps);return e}const Wm=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function ba(e){return e.replace(Wm,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Gm=/(^|[^\[])\^/g;function W(e,t){e=typeof e=="string"?e:e.source,t=t||"";const n={replace:(r,i)=>(i=i.source||i,i=i.replace(Gm,"$1"),e=e.replace(r,i),n),getRegex:()=>new RegExp(e,t)};return n}const Zm=/[^\w:]/g,Qm=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Rs(e,t,n){if(e){let r;try{r=decodeURIComponent(ba(n)).replace(Zm,"").toLowerCase()}catch{return null}if(r.indexOf("javascript:")===0||r.indexOf("vbscript:")===0||r.indexOf("data:")===0)return null}t&&!Qm.test(n)&&(n=eg(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch{return null}return n}const _n={},Jm=/^[^:]+:\/*[^/]*$/,Xm=/^([^:]+:)[\s\S]*$/,Km=/^([^:]+:\/*[^/]*)[\s\S]*$/;function eg(e,t){_n[" "+e]||(Jm.test(e)?_n[" "+e]=e+"/":_n[" "+e]=qn(e,"/",!0)),e=_n[" "+e];const n=e.indexOf(":")===-1;return t.substring(0,2)==="//"?n?t:e.replace(Xm,"$1")+t:t.charAt(0)==="/"?n?t:e.replace(Km,"$1")+t:e+t}const Xn={exec:function(){}};function De(e){let t=1,n,r;for(;t{let l=!1,u=o;for(;--u>=0&&a[u]==="\\";)l=!l;return l?"|":" |"}),r=n.split(/ \|/);let i=0;if(r[0].trim()||r.shift(),r.length>0&&!r[r.length-1].trim()&&r.pop(),r.length>t)r.splice(t);else for(;r.length1;)t&1&&(n+=e),t>>=1,e+=e;return n+e}function Bs(e,t,n,r){const i=t.href,s=t.title?se(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if(e[0].charAt(0)!=="!"){r.state.inLink=!0;const a={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,a}return{type:"image",raw:n,href:i,title:s,text:se(o)}}function ng(e,t){const n=e.match(/^(\s+)(?:```)/);if(n===null)return t;const r=n[1];return t.split(` `).map(i=>{const s=i.match(/^\s+/);if(s===null)return i;const[o]=s;return o.length>=r.length?i.slice(r.length):i}).join(` `)}let Gi=class{constructor(e){this.options=e||jt}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:qn(n,` `)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],r=ng(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:r}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const r=qn(n,"#");(this.options.pedantic||!r||/ $/.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,""),r=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(n);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,r,i,s,o,a,l,u,d,f,c,h,m=t[1].trim();const p=m.length>1,g={type:"list",raw:"",ordered:p,start:p?+m.slice(0,-1):"",loose:!1,items:[]};m=p?`\\d{1,9}\\${m.slice(-1)}`:`\\${m}`,this.options.pedantic&&(m=p?m:"[*+-]");const T=new RegExp(`^( {0,3}${m})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(h=!1,!(!(t=T.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),u=t[2].split(` diff --git a/assets/Location-d7867b06.7cc2192e.js b/assets/Location-d7867b06.6ebaa7f6.js similarity index 99% rename from assets/Location-d7867b06.7cc2192e.js rename to assets/Location-d7867b06.6ebaa7f6.js index b816605..32e91b3 100644 --- a/assets/Location-d7867b06.7cc2192e.js +++ b/assets/Location-d7867b06.6ebaa7f6.js @@ -1,4 +1,4 @@ -import{m as ne,y as Ls,z as gt,j as vi,U as Nt,h as yi,a1 as Ps,v as In,a2 as jn,A as jt,e as pi,o as ze,c as Ce,a as Ts,x as mi,G as Ms,t as Rn,d as fi,w as Nn,a3 as zs}from"./index.6d814e8f.js";import{U as Cs,T as Ss,Q as Zs,v as Es,W as ks}from"./Life.c5aadab3.js";var As=Object.defineProperty,Os=(u,_,h)=>_ in u?As(u,_,{enumerable:!0,configurable:!0,writable:!0,value:h}):u[_]=h,gi=(u,_,h)=>(Os(u,typeof _!="symbol"?_+"":_,h),h);function Bs(u,_){for(var h=0;h<_.length;h++){const d=_[h];if(typeof d!="string"&&!Array.isArray(d)){for(const m in d)if(m!=="default"&&!(m in u)){const S=Object.getOwnPropertyDescriptor(d,m);S&&Object.defineProperty(u,m,S.get?S:{enumerable:!0,get:()=>d[m]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var oe={},Is={get exports(){return oe},set exports(u){oe=u}};/* @preserve +import{m as ne,y as Ls,z as gt,j as vi,U as Nt,h as yi,a1 as Ps,v as In,a2 as jn,A as jt,e as pi,o as ze,c as Ce,a as Ts,x as mi,G as Ms,t as Rn,d as fi,w as Nn,a3 as zs}from"./index.710b8de0.js";import{U as Cs,T as Ss,Q as Zs,v as Es,W as ks}from"./Life.93359620.js";var As=Object.defineProperty,Os=(u,_,h)=>_ in u?As(u,_,{enumerable:!0,configurable:!0,writable:!0,value:h}):u[_]=h,gi=(u,_,h)=>(Os(u,typeof _!="symbol"?_+"":_,h),h);function Bs(u,_){for(var h=0;h<_.length;h++){const d=_[h];if(typeof d!="string"&&!Array.isArray(d)){for(const m in d)if(m!=="default"&&!(m in u)){const S=Object.getOwnPropertyDescriptor(d,m);S&&Object.defineProperty(u,m,S.get?S:{enumerable:!0,get:()=>d[m]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var oe={},Is={get exports(){return oe},set exports(u){oe=u}};/* @preserve * Leaflet 1.9.3, a JS library for interactive maps. https://leafletjs.com * (c) 2010-2022 Vladimir Agafonkin, (c) 2010-2011 CloudMade */(function(u,_){(function(h,d){d(_)})(Cs,function(h){var d="1.9.3";function m(t){var e,i,n,o;for(i=1,n=arguments.length;i"u"||!L||!L.Mixin)){t=X(t)?t:[t];for(var e=0;e0?Math.floor(t):Math.ceil(t)};w.prototype={clone:function(){return new w(this.x,this.y)},add:function(t){return this.clone()._add(x(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(x(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new w(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new w(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=Pi(this.x),this.y=Pi(this.y),this},distanceTo:function(t){t=x(t);var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},equals:function(t){return t=x(t),t.x===this.x&&t.y===this.y},contains:function(t){return t=x(t),Math.abs(t.x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+G(this.x)+", "+G(this.y)+")"}};function x(t,e,i){return t instanceof w?t:X(t)?new w(t[0],t[1]):t==null?t:typeof t=="object"&&"x"in t&&"y"in t?new w(t.x,t.y):new w(t,e,i)}function R(t,e){if(t)for(var i=e?[t,e]:t,n=0,o=i.length;n=this.min.x&&i.x<=this.max.x&&e.y>=this.min.y&&i.y<=this.max.y},intersects:function(t){t=K(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>=e.x&&n.x<=i.x,r=o.y>=e.y&&n.y<=i.y;return s&&r},overlaps:function(t){t=K(t);var e=this.min,i=this.max,n=t.min,o=t.max,s=o.x>e.x&&n.xe.y&&n.y=e.lat&&o.lat<=i.lat&&n.lng>=e.lng&&o.lng<=i.lng},intersects:function(t){t=W(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>=e.lat&&n.lat<=i.lat,r=o.lng>=e.lng&&n.lng<=i.lng;return s&&r},overlaps:function(t){t=W(t);var e=this._southWest,i=this._northEast,n=t.getSouthWest(),o=t.getNorthEast(),s=o.lat>e.lat&&n.late.lng&&n.lng1,co=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",T,e),window.removeEventListener("testPassiveEventSupport",T,e)}catch{}return t}(),_o=function(){return!!document.createElement("canvas").getContext}(),He=!!(document.createElementNS&&Mi("svg").createSVGRect),po=!!He&&function(){var t=document.createElement("div");return t.innerHTML="",(t.firstChild&&t.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),mo=!He&&function(){try{var t=document.createElement("div");t.innerHTML='';var e=t.firstChild;return e.style.behavior="url(#default#VML)",e&&typeof e.adj=="object"}catch{return!1}}(),fo=navigator.platform.indexOf("Mac")===0,go=navigator.platform.indexOf("Linux")===0;function st(t){return navigator.userAgent.toLowerCase().indexOf(t)>=0}var f={ie:ae,ielt9:Qn,edge:Ci,webkit:Ne,android:Si,android23:Zi,androidStock:eo,opera:je,chrome:Ei,gecko:ki,safari:io,phantom:Ai,opera12:Oi,win:no,ie3d:Bi,webkit3d:De,gecko3d:Ii,any3d:oo,mobile:Wt,mobileWebkit:so,mobileWebkit3d:ro,msPointer:Ri,pointer:Ni,touch:ao,touchNative:ji,mobileOpera:ho,mobileGecko:lo,retina:uo,passiveEvents:co,canvas:_o,svg:He,vml:mo,inlineSvg:po,mac:fo,linux:go},Di=f.msPointer?"MSPointerDown":"pointerdown",Hi=f.msPointer?"MSPointerMove":"pointermove",Fi=f.msPointer?"MSPointerUp":"pointerup",Wi=f.msPointer?"MSPointerCancel":"pointercancel",Fe={touchstart:Di,touchmove:Hi,touchend:Fi,touchcancel:Wi},Vi={touchstart:Lo,touchmove:he,touchend:he,touchcancel:he},St={},Ui=!1;function vo(t,e,i){return e==="touchstart"&&wo(),Vi[e]?(i=Vi[e].bind(this,i),t.addEventListener(Fe[e],i,!1),i):(console.warn("wrong event specified:",e),T)}function yo(t,e,i){if(!Fe[e]){console.warn("wrong event specified:",e);return}t.removeEventListener(Fe[e],i,!1)}function xo(t){St[t.pointerId]=t}function bo(t){St[t.pointerId]&&(St[t.pointerId]=t)}function Gi(t){delete St[t.pointerId]}function wo(){Ui||(document.addEventListener(Di,xo,!0),document.addEventListener(Hi,bo,!0),document.addEventListener(Fi,Gi,!0),document.addEventListener(Wi,Gi,!0),Ui=!0)}function he(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){e.touches=[];for(var i in St)e.touches.push(St[i]);e.changedTouches=[e],t(e)}}function Lo(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&V(e),he(t,e)}function Po(t){var e={},i,n;for(n in t)i=t[n],e[n]=i&&i.bind?i.bind(t):i;return t=e,e.type="dblclick",e.detail=2,e.isTrusted=!1,e._simulated=!0,e}var To=200;function Mo(t,e){t.addEventListener("dblclick",e);var i=0,n;function o(s){if(s.detail!==1){n=s.detail;return}if(!(s.pointerType==="mouse"||s.sourceCapabilities&&!s.sourceCapabilities.firesTouchEvents)){var r=Xi(s);if(!(r.some(function(l){return l instanceof HTMLLabelElement&&l.attributes.for})&&!r.some(function(l){return l instanceof HTMLInputElement||l instanceof HTMLSelectElement}))){var a=Date.now();a-i<=To?(n++,n===2&&e(Po(s))):n=1,i=a}}}return t.addEventListener("click",o),{dblclick:e,simDblclick:o}}function zo(t,e){t.removeEventListener("dblclick",e.dblclick),t.removeEventListener("click",e.simDblclick)}var We=ce(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Vt=ce(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),qi=Vt==="webkitTransition"||Vt==="OTransition"?Vt+"End":"transitionend";function Ki(t){return typeof t=="string"?document.getElementById(t):t}function Ut(t,e){var i=t.style[e]||t.currentStyle&&t.currentStyle[e];if((!i||i==="auto")&&document.defaultView){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return i==="auto"?null:i}function Z(t,e,i){var n=document.createElement(t);return n.className=e||"",i&&i.appendChild(n),n}function N(t){var e=t.parentNode;e&&e.removeChild(t)}function le(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function Zt(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function Et(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function Ve(t,e){if(t.classList!==void 0)return t.classList.contains(e);var i=ue(t);return i.length>0&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(i)}function M(t,e){if(t.classList!==void 0)for(var i=U(e),n=0,o=i.length;n0?2*window.devicePixelRatio:1;function Qi(t){return f.edge?t.wheelDeltaY/2:t.deltaY&&t.deltaMode===0?-t.deltaY/Zo:t.deltaY&&t.deltaMode===1?-t.deltaY*20:t.deltaY&&t.deltaMode===2?-t.deltaY*60:t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&Math.abs(t.detail)<32765?-t.detail*20:t.detail?t.detail/-32765*60:0}function ii(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch{return!1}return i!==t}var Eo={__proto__:null,on:P,off:O,stopPropagation:Pt,disableScrollPropagation:ei,disableClickPropagation:Yt,preventDefault:V,stop:Tt,getPropagationPath:Xi,getMousePosition:$i,getWheelDelta:Qi,isExternalTarget:ii,addListener:P,removeListener:O},tn=Ht.extend({run:function(t,e,i,n){this.stop(),this._el=t,this._inProgress=!0,this._duration=i||.25,this._easeOutPower=1/Math.max(n||.5,.2),this._startPos=Lt(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=q(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,i=this._duration*1e3;ethis.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var i=this.getCenter(),n=this._limitCenter(i,this._zoom,W(t));return i.equals(n)||this.panTo(n,e),this._enforcingBounds=!1,this},panInside:function(t,e){e=e||{};var i=x(e.paddingTopLeft||e.padding||[0,0]),n=x(e.paddingBottomRight||e.padding||[0,0]),o=this.project(this.getCenter()),s=this.project(t),r=this.getPixelBounds(),a=K([r.min.add(i),r.max.subtract(n)]),l=a.getSize();if(!a.contains(s)){this._enforcingBounds=!0;var c=s.subtract(a.getCenter()),p=a.extend(s).getSize().subtract(l);o.x+=c.x<0?-p.x:p.x,o.y+=c.y<0?-p.y:p.y,this.panTo(this.unproject(o),e),this._enforcingBounds=!1}return this},invalidateSize:function(t){if(!this._loaded)return this;t=m({animate:!1,pan:!0},t===!0?{animate:!0}:t);var e=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var i=this.getSize(),n=e.divideBy(2).round(),o=i.divideBy(2).round(),s=n.subtract(o);return!s.x&&!s.y?this:(t.animate&&t.pan?this.panBy(s):(t.pan&&this._rawPanBy(s),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(y(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:e,newSize:i}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){if(t=this._locateOptions=m({timeout:1e4,watch:!1},t),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var e=y(this._handleGeolocationResponse,this),i=y(this._handleGeolocationError,this);return t.watch?this._locationWatchId=navigator.geolocation.watchPosition(e,i,t):navigator.geolocation.getCurrentPosition(e,i,t),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){if(this._container._leaflet_id){var e=t.code,i=t.message||(e===1?"permission denied":e===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+i+"."})}},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e=t.coords.latitude,i=t.coords.longitude,n=new k(e,i),o=n.toBounds(t.coords.accuracy*2),s=this._locateOptions;if(s.setView){var r=this.getBoundsZoom(o);this.setView(n,s.maxZoom?Math.min(r,s.maxZoom):r)}var a={latlng:n,bounds:o,timestamp:t.timestamp};for(var l in t.coords)typeof t.coords[l]=="number"&&(a[l]=t.coords[l]);this.fire("locationfound",a)}},addHandler:function(t,e){if(!e)return this;var i=this[t]=new e(this);return this._handlers.push(i),this.options[t]&&i.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),N(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(Q(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var t;for(t in this._layers)this._layers[t].remove();for(t in this._panes)N(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){var i="leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),n=Z("div",i,e||this._mapPane);return t&&(this._panes[t]=n),n},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds(),e=this.unproject(t.getBottomLeft()),i=this.unproject(t.getTopRight());return new Y(e,i)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,i){t=W(t),i=x(i||[0,0]);var n=this.getZoom()||0,o=this.getMinZoom(),s=this.getMaxZoom(),r=t.getNorthWest(),a=t.getSouthEast(),l=this.getSize().subtract(i),c=K(this.project(a,n),this.project(r,n)).getSize(),p=f.any3d?this.options.zoomSnap:1,v=l.x/c.x,z=l.y/c.y,it=e?Math.max(v,z):Math.min(v,z);return n=this.getScaleZoom(it,n),p&&(n=Math.round(n/(p/100))*(p/100),n=e?Math.ceil(n/p)*p:Math.floor(n/p)*p),Math.max(o,Math.min(s,n))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new w(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){var i=this._getTopLeftPoint(t,e);return new R(i,i.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(t===void 0?this.getZoom():t)},getPane:function(t){return typeof t=="string"?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var i=this.options.crs;return e=e===void 0?this._zoom:e,i.scale(t)/i.scale(e)},getScaleZoom:function(t,e){var i=this.options.crs;e=e===void 0?this._zoom:e;var n=i.zoom(t*i.scale(e));return isNaN(n)?1/0:n},project:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.latLngToPoint(A(t),e)},unproject:function(t,e){return e=e===void 0?this._zoom:e,this.options.crs.pointToLatLng(x(t),e)},layerPointToLatLng:function(t){var e=x(t).add(this.getPixelOrigin());return this.unproject(e)},latLngToLayerPoint:function(t){var e=this.project(A(t))._round();return e._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(A(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(W(t))},distance:function(t,e){return this.options.crs.distance(A(t),A(e))},containerPointToLayerPoint:function(t){return x(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return x(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){var e=this.containerPointToLayerPoint(x(t));return this.layerPointToLatLng(e)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(A(t)))},mouseEventToContainerPoint:function(t){return $i(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){var e=this._container=Ki(t);if(e){if(e._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");P(e,"scroll",this._onScroll,this),this._containerId=g(e)},_initLayout:function(){var t=this._container;this._fadeAnimated=this.options.fadeAnimation&&f.any3d,M(t,"leaflet-container"+(f.touch?" leaflet-touch":"")+(f.retina?" leaflet-retina":"")+(f.ielt9?" leaflet-oldie":"")+(f.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var e=Ut(t,"position");e!=="absolute"&&e!=="relative"&&e!=="fixed"&&e!=="sticky"&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),D(this._mapPane,new w(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(M(t.markerPane,"leaflet-zoom-hide"),M(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,i){D(this._mapPane,new w(0,0));var n=!this._loaded;this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset");var o=this._zoom!==e;this._moveStart(o,i)._move(t,e)._moveEnd(o),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,i,n){e===void 0&&(e=this._zoom);var o=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),n?i&&i.pinch&&this.fire("zoom",i):((o||i&&i.pinch)&&this.fire("zoom",i),this.fire("move",i)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return Q(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){D(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={},this._targets[g(this._container)]=this;var e=t?O:P;e(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),f.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){Q(this._resizeRequest),this._resizeRequest=q(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var i=[],n,o=e==="mouseout"||e==="mouseover",s=t.target||t.srcElement,r=!1;s;){if(n=this._targets[g(s)],n&&(e==="click"||e==="preclick")&&this._draggableMoved(n)){r=!0;break}if(n&&n.listens(e,!0)&&(o&&!ii(s,t)||(i.push(n),o))||s===this._container)break;s=s.parentNode}return!i.length&&!r&&!o&&this.listens(e,!0)&&(i=[this]),i},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e=t.target||t.srcElement;if(!(!this._loaded||e._leaflet_disable_events||t.type==="click"&&this._isClickDisabled(e))){var i=t.type;i==="mousedown"&&Je(e),this._fireDOMEvent(t,i)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,e,i){if(t.type==="click"){var n=m({},t);n.type="preclick",this._fireDOMEvent(n,n.type,i)}var o=this._findEventTargets(t,e);if(i){for(var s=[],r=0;r0?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),i=this.getMaxZoom(),n=f.any3d?this.options.zoomSnap:1;return n&&(t=Math.round(t/n)*n),Math.max(e,Math.min(i,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){j(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){var i=this._getCenterOffset(t)._trunc();return(e&&e.animate)!==!0&&!this.getSize().contains(i)?!1:(this.panBy(i,e),!0)},_createAnimProxy:function(){var t=this._proxy=Z("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(e){var i=We,n=this._proxy.style[i];wt(this._proxy,this.project(e.center,e.zoom),this.getZoomScale(e.zoom,1)),n===this._proxy.style[i]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){N(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();wt(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&t.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,i){if(this._animatingZoom)return!0;if(i=i||{},!this._zoomAnimated||i.animate===!1||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var n=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/n);return i.animate!==!0&&!this.getSize().contains(o)?!1:(q(function(){this._moveStart(!0,!1)._animateZoom(t,e,!0)},this),!0)},_animateZoom:function(t,e,i,n){this._mapPane&&(i&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,M(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:n}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(y(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&j(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function ko(t,e){return new C(t,e)}var nt=ct.extend({options:{position:"topright"},initialize:function(t){E(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),i=this.getPosition(),n=t._controlCorners[i];return M(e,"leaflet-control"),i.indexOf("bottom")!==-1?n.insertBefore(e,n.firstChild):n.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(N(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(t){this._map&&t&&t.screenX>0&&t.screenY>0&&this._map.getContainer().focus()}}),Jt=function(t){return new nt(t)};C.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this},_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",i=this._controlContainer=Z("div",e+"control-container",this._container);function n(o,s){var r=e+o+" "+e+s;t[o+s]=Z("div",r,i)}n("top","left"),n("top","right"),n("bottom","left"),n("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)N(this._controlCorners[t]);N(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var en=nt.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,i,n){return i1,this._baseLayersList.style.display=t?"":"none"),this._separator.style.display=e&&t?"":"none",this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(g(t.target)),i=e.overlay?t.type==="add"?"overlayadd":"overlayremove":t.type==="add"?"baselayerchange":null;i&&this._map.fire(i,e)},_createRadioElement:function(t,e){var i='",n=document.createElement("div");return n.innerHTML=i,n.firstChild},_addItem:function(t){var e=document.createElement("label"),i=this._map.hasLayer(t.layer),n;t.overlay?(n=document.createElement("input"),n.type="checkbox",n.className="leaflet-control-layers-selector",n.defaultChecked=i):n=this._createRadioElement("leaflet-base-layers_"+g(this),i),this._layerControlInputs.push(n),n.layerId=g(t.layer),P(n,"click",this._onInputClick,this);var o=document.createElement("span");o.innerHTML=" "+t.name;var s=document.createElement("span");e.appendChild(s),s.appendChild(n),s.appendChild(o);var r=t.overlay?this._overlaysList:this._baseLayersList;return r.appendChild(e),this._checkDisabledLayers(),e},_onInputClick:function(){var t=this._layerControlInputs,e,i,n=[],o=[];this._handlingClick=!0;for(var s=t.length-1;s>=0;s--)e=t[s],i=this._getLayer(e.layerId).layer,e.checked?n.push(i):e.checked||o.push(i);for(s=0;s=0;o--)e=t[o],i=this._getLayer(e.layerId).layer,e.disabled=i.options.minZoom!==void 0&&ni.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section;P(t,"click",V),this.expand(),setTimeout(function(){O(t,"click",V)})}}),Ao=function(t,e,i){return new en(t,e,i)},ni=nt.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",i=Z("div",e+" leaflet-bar"),n=this.options;return this._zoomInButton=this._createButton(n.zoomInText,n.zoomInTitle,e+"-in",i,this._zoomIn),this._zoomOutButton=this._createButton(n.zoomOutText,n.zoomOutTitle,e+"-out",i,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),i},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,i,n,o){var s=Z("a",i,n);return s.innerHTML=t,s.href="#",s.title=e,s.setAttribute("role","button"),s.setAttribute("aria-label",e),Yt(s),P(s,"click",Tt),P(s,"click",o,this),P(s,"click",this._refocusOnMap,this),s},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";j(this._zoomInButton,e),j(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(M(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(M(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}});C.mergeOptions({zoomControl:!0}),C.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new ni,this.addControl(this.zoomControl))});var Oo=function(t){return new ni(t)},nn=nt.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",i=Z("div",e),n=this.options;return this._addScales(n,e+"-line",i),t.on(n.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),i},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,i){t.metric&&(this._mScale=Z("div",e,i)),t.imperial&&(this._iScale=Z("div",e,i))},_update:function(){var t=this._map,e=t.getSize().y/2,i=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(i)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t),i=e<1e3?e+" m":e/1e3+" km";this._updateScale(this._mScale,i,e/t)},_updateImperial:function(t){var e=t*3.2808399,i,n,o;e>5280?(i=e/5280,n=this._getRoundNum(i),this._updateScale(this._iScale,n+" mi",n/i)):(o=this._getRoundNum(e),this._updateScale(this._iScale,o+" ft",o/e))},_updateScale:function(t,e,i){t.style.width=Math.round(this.options.maxWidth*i)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),i=t/e;return i=i>=10?10:i>=5?5:i>=3?3:i>=2?2:1,e*i}}),Bo=function(t){return new nn(t)},Io='',oi=nt.extend({options:{position:"bottomright",prefix:''+(f.inlineSvg?Io+" ":"")+"Leaflet"},initialize:function(t){E(this,t),this._attributions={}},onAdd:function(t){t.attributionControl=this,this._container=Z("div","leaflet-control-attribution"),Yt(this._container);for(var e in t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t?(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update(),this):this},removeAttribution:function(t){return t?(this._attributions[t]&&(this._attributions[t]--,this._update()),this):this},_update:function(){if(this._map){var t=[];for(var e in this._attributions)this._attributions[e]&&t.push(e);var i=[];this.options.prefix&&i.push(this.options.prefix),t.length&&i.push(t.join(", ")),this._container.innerHTML=i.join(' ')}}});C.mergeOptions({attributionControl:!0}),C.addInitHook(function(){this.options.attributionControl&&new oi().addTo(this)});var Ro=function(t){return new oi(t)};nt.Layers=en,nt.Zoom=ni,nt.Scale=nn,nt.Attribution=oi,Jt.layers=Ao,Jt.zoom=Oo,Jt.scale=Bo,Jt.attribution=Ro;var at=ct.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});at.addTo=function(t,e){return t.addHandler(e,this),this};var No={Events:$},on=f.touch?"touchstart mousedown":"mousedown",yt=Ht.extend({options:{clickTolerance:3},initialize:function(t,e,i,n){E(this,n),this._element=t,this._dragStartTarget=e||t,this._preventOutline=i},enable:function(){this._enabled||(P(this._dragStartTarget,on,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(yt._dragging===this&&this.finishDrag(!0),O(this._dragStartTarget,on,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){if(this._enabled&&(this._moved=!1,!Ve(this._element,"leaflet-zoom-anim"))){if(t.touches&&t.touches.length!==1){yt._dragging===this&&this.finishDrag();return}if(!(yt._dragging||t.shiftKey||t.which!==1&&t.button!==1&&!t.touches)&&(yt._dragging=this,this._preventOutline&&Je(this._element),qe(),Gt(),!this._moving)){this.fire("down");var e=t.touches?t.touches[0]:t,i=Yi(this._element);this._startPoint=new w(e.clientX,e.clientY),this._startPos=Lt(this._element),this._parentScale=Xe(i);var n=t.type==="mousedown";P(document,n?"mousemove":"touchmove",this._onMove,this),P(document,n?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(t){if(this._enabled){if(t.touches&&t.touches.length>1){this._moved=!0;return}var e=t.touches&&t.touches.length===1?t.touches[0]:t,i=new w(e.clientX,e.clientY)._subtract(this._startPoint);!i.x&&!i.y||Math.abs(i.x)+Math.abs(i.y)s&&(r=a,s=l);s>i&&(e[r]=1,si(t,e,i,n,r),si(t,e,i,r,o))}function Ho(t,e){for(var i=[t[0]],n=1,o=0,s=t.length;ne&&(i.push(t[n]),o=n);return oe.max.x&&(i|=2),t.ye.max.y&&(i|=8),i}function Fo(t,e){var i=e.x-t.x,n=e.y-t.y;return i*i+n*n}function Xt(t,e,i,n){var o=e.x,s=e.y,r=i.x-o,a=i.y-s,l=r*r+a*a,c;return l>0&&(c=((t.x-o)*r+(t.y-s)*a)/l,c>1?(o=i.x,s=i.y):c>0&&(o+=r*c,s+=a*c)),r=t.x-o,a=t.y-s,n?r*r+a*a:new w(o,s)}function et(t){return!X(t[0])||typeof t[0][0]!="object"&&typeof t[0][0]<"u"}function ln(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),et(t)}function un(t,e){var i,n,o,s,r,a,l,c;if(!t||t.length===0)throw new Error("latlngs not passed");et(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);var p=[];for(var v in t)p.push(e.project(A(t[v])));var z=p.length;for(i=0,n=0;in){l=(s-n)/o,c=[a.x-l*(a.x-r.x),a.y-l*(a.y-r.y)];break}return e.unproject(x(c))}var Wo={__proto__:null,simplify:sn,pointToSegmentDistance:rn,closestPointOnSegment:jo,clipSegment:hn,_getEdgeIntersection:pe,_getBitCode:Mt,_sqClosestPointOnSegment:Xt,isFlat:et,_flat:ln,polylineCenter:un};function cn(t,e,i){var n,o=[1,4,2,8],s,r,a,l,c,p,v,z;for(s=0,p=t.length;s1e-7;a++)c=o*Math.sin(r),c=Math.pow((1-c)/(1+c),o/2),l=Math.PI/2-2*Math.atan(s*c)-r,r+=l;return new k(r*e,t.x*e/i)}},Uo={__proto__:null,LonLat:ri,Mercator:ai,SphericalMercator:Oe},Go=m({},vt,{code:"EPSG:3395",projection:ai,transformation:function(){var t=.5/(Math.PI*ai.R);return Ft(t,.5,-t,.5)}()}),_n=m({},vt,{code:"EPSG:4326",projection:ri,transformation:Ft(1/180,1,-1/180,.5)}),qo=m({},dt,{projection:ri,transformation:Ft(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var i=e.lng-t.lng,n=e.lat-t.lat;return Math.sqrt(i*i+n*n)},infinite:!0});dt.Earth=vt,dt.EPSG3395=Go,dt.EPSG3857=Ie,dt.EPSG900913=$n,dt.EPSG4326=_n,dt.Simple=qo;var ot=Ht.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[g(t)]=this,this},removeInteractiveTarget:function(t){return delete this._map._targets[g(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e=t.target;if(e.hasLayer(this)){if(this._map=e,this._zoomAnimated=e._zoomAnimated,this.getEvents){var i=this.getEvents();e.on(i,this),this.once("remove",function(){e.off(i,this)},this)}this.onAdd(e),this.fire("add"),e.fire("layeradd",{layer:this})}}});C.include({addLayer:function(t){if(!t._layerAdd)throw new Error("The provided object is not a Layer.");var e=g(t);return this._layers[e]?this:(this._layers[e]=t,t._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t),this)},removeLayer:function(t){var e=g(t);return this._layers[e]?(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null,this):this},hasLayer:function(t){return g(t)in this._layers},eachLayer:function(t,e){for(var i in this._layers)t.call(e,this._layers[i]);return this},_addLayers:function(t){t=t?X(t)?t:[t]:[];for(var e=0,i=t.length;ethis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&e[0]instanceof k&&e[0].equals(e[i-1])&&e.pop(),e},_setLatLngs:function(t){pt.prototype._setLatLngs.call(this,t),et(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return et(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,i=new w(e,e);if(t=new R(t.min.subtract(i),t.max.add(i)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(t))){if(this.options.noClip){this._parts=this._rings;return}for(var n=0,o=this._rings.length,s;nt.y!=o.y>t.y&&t.x<(o.x-n.x)*(t.y-n.y)/(o.y-n.y)+n.x&&(e=!e);return e||pt.prototype._containsPoint.call(this,t,!0)}});function es(t,e){return new Ot(t,e)}var mt=_t.extend({initialize:function(t,e){E(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e=X(t)?t:t.features,i,n,o;if(e){for(i=0,n=e.length;i0?n:[e.src];return}X(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var s=0;so?(e.height=o+"px",M(t,s)):j(t,s),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var e=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),i=this._getAnchor();D(this._container,e.add(i))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var t=this._map,e=parseInt(Ut(this._container,"marginBottom"),10)||0,i=this._container.offsetHeight+e,n=this._containerWidth,o=new w(this._containerLeft,-i-this._containerBottom);o._add(Lt(this._container));var s=t.layerPointToContainerPoint(o),r=x(this.options.autoPanPadding),a=x(this.options.autoPanPaddingTopLeft||r),l=x(this.options.autoPanPaddingBottomRight||r),c=t.getSize(),p=0,v=0;s.x+n+l.x>c.x&&(p=s.x+n-c.x+l.x),s.x-p-a.x<0&&(p=s.x-a.x),s.y+i+l.y>c.y&&(v=s.y+i-c.y+l.y),s.y-v-a.y<0&&(v=s.y-a.y),(p||v)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([p,v]))}},_getAnchor:function(){return x(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),rs=function(t,e){return new we(t,e)};C.mergeOptions({closePopupOnClick:!0}),C.include({openPopup:function(t,e,i){return this._initOverlay(we,t,e,i).openOn(this),this},closePopup:function(t){return t=arguments.length?t:this._popup,t&&t.close(),this}}),ot.include({bindPopup:function(t,e){return this._popup=this._initOverlay(we,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof _t||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){if(!(!this._popup||!this._map)){Tt(t);var e=t.layer||t.target;if(this._popup._source===e&&!(e instanceof xt)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng);return}this._popup._source=e,this.openPopup(t.latlng)}},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){t.originalEvent.keyCode===13&&this._openPopup(t)}});var Le=ht.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){ht.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){ht.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=ht.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip",e=t+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=Z("div",e),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+g(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,i,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),r=n.layerPointToContainerPoint(t),a=this.options.direction,l=o.offsetWidth,c=o.offsetHeight,p=x(this.options.offset),v=this._getAnchor();a==="top"?(e=l/2,i=c):a==="bottom"?(e=l/2,i=0):a==="center"?(e=l/2,i=c/2):a==="right"?(e=0,i=c/2):a==="left"?(e=l,i=c/2):r.xthis.options.maxZoom||in?this._retainParent(o,s,r,n):!1)},_retainChildren:function(t,e,i,n){for(var o=2*t;o<2*t+2;o++)for(var s=2*e;s<2*e+2;s++){var r=new w(o,s);r.z=i+1;var a=this._tileCoordsToKey(r),l=this._tiles[a];if(l&&l.active){l.retain=!0;continue}else l&&l.loaded&&(l.retain=!0);i+1this.options.maxZoom||this.options.minZoom!==void 0&&o1){this._setView(t,i);return}for(var v=o.min.y;v<=o.max.y;v++)for(var z=o.min.x;z<=o.max.x;z++){var it=new w(z,v);if(it.z=this._tileZoom,!!this._isValidTile(it)){var zt=this._tiles[this._tileCoordsToKey(it)];zt?zt.current=!0:r.push(it)}}if(r.sort(function(bt,di){return bt.distanceTo(s)-di.distanceTo(s)}),r.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var Te=document.createDocumentFragment();for(z=0;zi.max.x)||!e.wrapLat&&(t.yi.max.y))return!1}if(!this.options.bounds)return!0;var n=this._tileCoordsToBounds(t);return W(this.options.bounds).overlaps(n)},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,i=this.getTileSize(),n=t.scaleBy(i),o=n.add(i),s=e.unproject(n,t.z),r=e.unproject(o,t.z);return[s,r]},_tileCoordsToBounds:function(t){var e=this._tileCoordsToNwSe(t),i=new Y(e[0],e[1]);return this.options.noWrap||(i=this._map.wrapLatLngBounds(i)),i},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var e=t.split(":"),i=new w(+e[0],+e[1]);return i.z=+e[2],i},_removeTile:function(t){var e=this._tiles[t];e&&(N(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){M(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=T,t.onmousemove=T,f.ielt9&&this.options.opacity<1&&tt(t,this.options.opacity)},_addTile:function(t,e){var i=this._getTilePos(t),n=this._tileCoordsToKey(t),o=this.createTile(this._wrapCoords(t),y(this._tileReady,this,t));this._initTile(o),this.createTile.length<2&&q(y(this._tileReady,this,t,null,o)),D(o,i),this._tiles[n]={el:o,coords:t,current:!0},e.appendChild(o),this.fire("tileloadstart",{tile:o,coords:t})},_tileReady:function(t,e,i){e&&this.fire("tileerror",{error:e,tile:i,coords:t});var n=this._tileCoordsToKey(t);i=this._tiles[n],i&&(i.loaded=+new Date,this._map._fadeAnimated?(tt(i.el,0),Q(this._fadeFrame),this._fadeFrame=q(this._updateOpacity,this)):(i.active=!0,this._pruneTiles()),e||(M(i.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:i.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),f.ielt9||!this._map._fadeAnimated?q(this._pruneTiles,this):setTimeout(y(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new w(this._wrapX?F(t.x,this._wrapX):t.x,this._wrapY?F(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new R(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}});function ls(t){return new Qt(t)}var It=Qt.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,e=E(this,e),e.detectRetina&&f.retina&&e.maxZoom>0?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),typeof e.subdomains=="string"&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&e===void 0&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var i=document.createElement("img");return P(i,"load",y(this._tileOnLoad,this,e,i)),P(i,"error",y(this._tileOnError,this,e,i)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(i.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(i.referrerPolicy=this.options.referrerPolicy),i.alt="",i.src=this.getTileUrl(t),i},getTileUrl:function(t){var e={r:f.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var i=this._globalTileRange.max.y-t.y;this.options.tms&&(e.y=i),e["-y"]=i}return re(this._url,m(e,this.options))},_tileOnLoad:function(t,e){f.ielt9?setTimeout(y(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,i){var n=this.options.errorTileUrl;n&&e.getAttribute("src")!==n&&(e.src=n),t(i,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom,i=this.options.zoomReverse,n=this.options.zoomOffset;return i&&(t=e-t),t+n},_getSubdomain:function(t){var e=Math.abs(t.x+t.y)%this.options.subdomains.length;return this.options.subdomains[e]},_abortLoading:function(){var t,e;for(t in this._tiles)if(this._tiles[t].coords.z!==this._tileZoom&&(e=this._tiles[t].el,e.onload=T,e.onerror=T,!e.complete)){e.src=Ct;var i=this._tiles[t].coords;N(e),delete this._tiles[t],this.fire("tileabort",{tile:e,coords:i})}},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",Ct),Qt.prototype._removeTile.call(this,t)},_tileReady:function(t,e,i){if(!(!this._map||i&&i.getAttribute("src")===Ct))return Qt.prototype._tileReady.call(this,t,e,i)}});function xn(t,e){return new It(t,e)}var bn=It.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,e){this._url=t;var i=m({},this.defaultWmsParams);for(var n in e)n in this.options||(i[n]=e[n]);e=E(this,e);var o=e.detectRetina&&f.retina?2:1,s=this.getTileSize();i.width=s.x*o,i.height=s.y*o,this.wmsParams=i},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[e]=this._crs.code,It.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),i=this._crs,n=K(i.project(e[0]),i.project(e[1])),o=n.min,s=n.max,r=(this._wmsVersion>=1.3&&this._crs===_n?[o.y,o.x,s.y,s.x]:[o.x,o.y,s.x,s.y]).join(","),a=It.prototype.getTileUrl.call(this,t);return a+se(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+r},setParams:function(t,e){return m(this.wmsParams,t),e||this.redraw(),this}});function us(t,e){return new bn(t,e)}It.WMS=bn,xn.wms=us;var ft=ot.extend({options:{padding:.1},initialize:function(t){E(this,t),g(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),this._zoomAnimated&&M(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var i=this._map.getZoomScale(e,this._zoom),n=this._map.getSize().multiplyBy(.5+this.options.padding),o=this._map.project(this._center,e),s=n.multiplyBy(-i).add(o).subtract(this._map._getNewPixelOrigin(t,e));f.any3d?wt(this._container,s,i):D(this._container,s)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var t in this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),i=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new R(i,i.add(e.multiplyBy(1+t*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),wn=ft.extend({options:{tolerance:0},getEvents:function(){var t=ft.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){ft.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");P(t,"mousemove",this._onMouseMove,this),P(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),P(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){Q(this._redrawRequest),delete this._ctx,N(this._container),O(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var t;this._redrawBounds=null;for(var e in this._layers)t=this._layers[e],t._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ft.prototype._update.call(this);var t=this._bounds,e=this._container,i=t.getSize(),n=f.retina?2:1;D(e,t.min),e.width=n*i.x,e.height=n*i.y,e.style.width=i.x+"px",e.style.height=i.y+"px",f.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update")}},_reset:function(){ft.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),this._layers[g(t)]=t;var e=t._order={layer:t,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=e),this._drawLast=e,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,i=e.next,n=e.prev;i?i.prev=n:this._drawLast=n,n?n.next=i:this._drawFirst=i,delete t._order,delete this._layers[g(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if(typeof t.options.dashArray=="string"){var e=t.options.dashArray.split(/[, ]+/),i=[],n,o;for(o=0;o')}}catch{}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),cs={_initContainer:function(){this._container=Z("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(ft.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=te("shape");M(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=te("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[g(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;N(e),t.removeInteractiveTarget(e),delete this._layers[g(t)]},_updateStyle:function(t){var e=t._stroke,i=t._fill,n=t.options,o=t._container;o.stroked=!!n.stroke,o.filled=!!n.fill,n.stroke?(e||(e=t._stroke=te("stroke")),o.appendChild(e),e.weight=n.weight+"px",e.color=n.color,e.opacity=n.opacity,n.dashArray?e.dashStyle=X(n.dashArray)?n.dashArray.join(" "):n.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=n.lineCap.replace("butt","flat"),e.joinstyle=n.lineJoin):e&&(o.removeChild(e),t._stroke=null),n.fill?(i||(i=t._fill=te("fill")),o.appendChild(i),i.color=n.fillColor||n.color,i.opacity=n.fillOpacity):i&&(o.removeChild(i),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),i=Math.round(t._radius),n=Math.round(t._radiusY||i);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+i+","+n+" 0,"+65535*360)},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){Zt(t._container)},_bringToBack:function(t){Et(t._container)}},Pe=f.vml?te:Mi,ee=ft.extend({_initContainer:function(){this._container=Pe("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Pe("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){N(this._container),O(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){ft.prototype._update.call(this);var t=this._bounds,e=t.getSize(),i=this._container;(!this._svgSize||!this._svgSize.equals(e))&&(this._svgSize=e,i.setAttribute("width",e.x),i.setAttribute("height",e.y)),D(i,t.min),i.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update")}},_initPath:function(t){var e=t._path=Pe("path");t.options.className&&M(e,t.options.className),t.options.interactive&&M(e,"leaflet-interactive"),this._updateStyle(t),this._layers[g(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){N(t._path),t.removeInteractiveTarget(t._path),delete this._layers[g(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,i=t.options;e&&(i.stroke?(e.setAttribute("stroke",i.color),e.setAttribute("stroke-opacity",i.opacity),e.setAttribute("stroke-width",i.weight),e.setAttribute("stroke-linecap",i.lineCap),e.setAttribute("stroke-linejoin",i.lineJoin),i.dashArray?e.setAttribute("stroke-dasharray",i.dashArray):e.removeAttribute("stroke-dasharray"),i.dashOffset?e.setAttribute("stroke-dashoffset",i.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),i.fill?(e.setAttribute("fill",i.fillColor||i.color),e.setAttribute("fill-opacity",i.fillOpacity),e.setAttribute("fill-rule",i.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,zi(t._parts,e))},_updateCircle:function(t){var e=t._point,i=Math.max(Math.round(t._radius),1),n=Math.max(Math.round(t._radiusY),1)||i,o="a"+i+","+n+" 0 1,0 ",s=t._empty()?"M0 0":"M"+(e.x-i)+","+e.y+o+i*2+",0 "+o+-i*2+",0 ";this._setPath(t,s)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){Zt(t._path)},_bringToBack:function(t){Et(t._path)}});f.vml&&ee.include(cs);function Pn(t){return f.svg||f.vml?new ee(t):null}C.include({getRenderer:function(t){var e=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer;return e||(e=this._renderer=this._createRenderer()),this.hasLayer(e)||this.addLayer(e),e},_getPaneRenderer:function(t){if(t==="overlayPane"||t===void 0)return!1;var e=this._paneRenderers[t];return e===void 0&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e},_createRenderer:function(t){return this.options.preferCanvas&&Ln(t)||Pn(t)}});var Tn=Ot.extend({initialize:function(t,e){Ot.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))},_boundsToLatLngs:function(t){return t=W(t),[t.getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});function ds(t,e){return new Tn(t,e)}ee.create=Pe,ee.pointsToPath=zi,mt.geometryToLayer=ge,mt.coordsToLatLng=li,mt.coordsToLatLngs=ve,mt.latLngToCoords=ui,mt.latLngsToCoords=ye,mt.getFeature=Bt,mt.asFeature=xe,C.mergeOptions({boxZoom:!0});var Mn=at.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){P(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){O(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){N(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||t.which!==1&&t.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Gt(),qe(),this._startPoint=this._map.mouseEventToContainerPoint(t),P(document,{contextmenu:Tt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=Z("div","leaflet-zoom-box",this._container),M(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var e=new R(this._point,this._startPoint),i=e.getSize();D(this._box,e.min),this._box.style.width=i.x+"px",this._box.style.height=i.y+"px"},_finish:function(){this._moved&&(N(this._box),j(this._container,"leaflet-crosshair")),qt(),Ke(),O(document,{contextmenu:Tt,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){if(!(t.which!==1&&t.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(y(this._resetState,this),0);var e=new Y(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(e).fire("boxzoomend",{boxZoomBounds:e})}},_onKeyDown:function(t){t.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});C.addInitHook("addHandler","boxZoom",Mn),C.mergeOptions({doubleClickZoom:!0});var zn=at.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,i=e.getZoom(),n=e.options.zoomDelta,o=t.originalEvent.shiftKey?i-n:i+n;e.options.doubleClickZoom==="center"?e.setZoom(o):e.setZoomAround(t.containerPoint,o)}});C.addInitHook("addHandler","doubleClickZoom",zn),C.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Cn=at.extend({addHooks:function(){if(!this._draggable){var t=this._map;this._draggable=new yt(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))}M(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){j(this._map._container,"leaflet-grab"),j(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t=this._map;if(t._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var e=W(this._map.options.maxBounds);this._offsetLimit=K(this._map.latLngToContainerPoint(e.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(e.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;t.fire("movestart").fire("dragstart"),t.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){if(this._map.options.inertia){var e=this._lastTime=+new Date,i=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(i),this._times.push(e),this._prunePositions(e)}this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;this._positions.length>1&&t-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit;t.xe.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t)}},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),i=this._initialWorldOffset,n=this._draggable._newPos.x,o=(n-e+i)%t+e-i,s=(n+e+i)%t-e-i,r=Math.abs(o+i)0?s:-s))-e;this._delta=0,this._startTime=null,r&&(t.options.scrollWheelZoom==="center"?t.setZoom(e+r):t.setZoomAround(this._lastMousePos,e+r))}});C.addInitHook("addHandler","scrollWheelZoom",Zn);var _s=600;C.mergeOptions({tapHold:f.touchNative&&f.safari&&f.mobile,tapTolerance:15});var En=at.extend({addHooks:function(){P(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){O(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){if(clearTimeout(this._holdTimeout),t.touches.length===1){var e=t.touches[0];this._startPos=this._newPos=new w(e.clientX,e.clientY),this._holdTimeout=setTimeout(y(function(){this._cancel(),this._isTapValid()&&(P(document,"touchend",V),P(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),_s),P(document,"touchend touchcancel contextmenu",this._cancel,this),P(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function t(){O(document,"touchend",V),O(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),O(document,"touchend touchcancel contextmenu",this._cancel,this),O(document,"touchmove",this._onMove,this)},_onMove:function(t){var e=t.touches[0];this._newPos=new w(e.clientX,e.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){var i=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY});i._simulated=!0,e.target.dispatchEvent(i)}});C.addInitHook("addHandler","tapHold",En),C.mergeOptions({touchZoom:f.touch,bounceAtZoomLimits:!0});var kn=at.extend({addHooks:function(){M(this._map._container,"leaflet-touch-zoom"),P(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){j(this._map._container,"leaflet-touch-zoom"),O(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e=this._map;if(!(!t.touches||t.touches.length!==2||e._animatingZoom||this._zooming)){var i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]);this._centerPoint=e.getSize()._divideBy(2),this._startLatLng=e.containerPointToLatLng(this._centerPoint),e.options.touchZoom!=="center"&&(this._pinchStartLatLng=e.containerPointToLatLng(i.add(n)._divideBy(2))),this._startDist=i.distanceTo(n),this._startZoom=e.getZoom(),this._moved=!1,this._zooming=!0,e._stop(),P(document,"touchmove",this._onTouchMove,this),P(document,"touchend touchcancel",this._onTouchEnd,this),V(t)}},_onTouchMove:function(t){if(!(!t.touches||t.touches.length!==2||!this._zooming)){var e=this._map,i=e.mouseEventToContainerPoint(t.touches[0]),n=e.mouseEventToContainerPoint(t.touches[1]),o=i.distanceTo(n)/this._startDist;if(this._zoom=e.getScaleZoom(o,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoome.getMaxZoom()&&o>1)&&(this._zoom=e._limitZoom(this._zoom)),e.options.touchZoom==="center"){if(this._center=this._startLatLng,o===1)return}else{var s=i._add(n)._divideBy(2)._subtract(this._centerPoint);if(o===1&&s.x===0&&s.y===0)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(s),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),Q(this._animRequest);var r=y(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=q(r,this,!0),V(t)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,Q(this._animRequest),O(document,"touchmove",this._onTouchMove,this),O(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});C.addInitHook("addHandler","touchZoom",kn),C.BoxZoom=Mn,C.DoubleClickZoom=zn,C.Drag=Cn,C.Keyboard=Sn,C.ScrollWheelZoom=Zn,C.TapHold=En,C.TouchZoom=kn,h.Bounds=R,h.Browser=f,h.CRS=dt,h.Canvas=wn,h.Circle=hi,h.CircleMarker=fe,h.Class=ct,h.Control=nt,h.DivIcon=yn,h.DivOverlay=ht,h.DomEvent=Eo,h.DomUtil=So,h.Draggable=yt,h.Evented=Ht,h.FeatureGroup=_t,h.GeoJSON=mt,h.GridLayer=Qt,h.Handler=at,h.Icon=At,h.ImageOverlay=be,h.LatLng=k,h.LatLngBounds=Y,h.Layer=ot,h.LayerGroup=kt,h.LineUtil=Wo,h.Map=C,h.Marker=me,h.Mixin=No,h.Path=xt,h.Point=w,h.PolyUtil=Vo,h.Polygon=Ot,h.Polyline=pt,h.Popup=we,h.PosAnimation=tn,h.Projection=Uo,h.Rectangle=Tn,h.Renderer=ft,h.SVG=ee,h.SVGOverlay=vn,h.TileLayer=It,h.Tooltip=Le,h.Transformation=Be,h.Util=Jn,h.VideoOverlay=gn,h.bind=y,h.bounds=K,h.canvas=Ln,h.circle=Qo,h.circleMarker=$o,h.control=Jt,h.divIcon=hs,h.extend=m,h.featureGroup=Yo,h.geoJSON=fn,h.geoJson=is,h.gridLayer=ls,h.icon=Jo,h.imageOverlay=ns,h.latLng=A,h.latLngBounds=W,h.layerGroup=Ko,h.map=ko,h.marker=Xo,h.point=x,h.polygon=es,h.polyline=ts,h.popup=rs,h.rectangle=ds,h.setOptions=E,h.stamp=g,h.svg=Pn,h.svgOverlay=ss,h.tileLayer=xn,h.tooltip=as,h.transformation=Ft,h.version=d,h.videoOverlay=os;var ps=window.L;h.noConflict=function(){return window.L=ps,this},window.L=h})})(Is,oe);const Rs=oe,Ns=Bs({__proto__:null,default:Rs},[oe]),Dn=(u,_)=>{let h;return function(...d){const m=this;h&&clearTimeout(h),h=setTimeout(()=>{u.apply(m,d),h=null},_)}},js=u=>!u||typeof u.charAt!="function"?u:u.charAt(0).toUpperCase()+u.slice(1),Rt=u=>typeof u=="function",xi=(u,_,h)=>{for(const d in h){const m="set"+js(d);u[m]?Nn(()=>h[d],(S,y)=>{u[m](S,y)}):_[m]&&Nn(()=>h[d],S=>{_[m](S)})}},bi=u=>{const _={};for(const h in u)if(h.startsWith("on")&&!h.startsWith("onUpdate")&&h!=="onReady"){const d=h.slice(2).toLocaleLowerCase();_[d]=u[h]}return _},Ds=async u=>{const _=await Promise.all([Nt(()=>import("./marker-icon-2x-b9d2094a.7516c8d7.js"),[]),Nt(()=>import("./marker-icon-b2ca459f.bec69c82.js"),[]),Nt(()=>import("./marker-shadow-eea80fe0.7fb62c10.js"),[])]);delete u.Default.prototype._getIconUrl,u.Default.mergeOptions({iconRetinaUrl:_[0].default,iconUrl:_[1].default,shadowUrl:_[2].default})},Se=u=>{const _=ne(()=>console.warn(`Method ${u} has been invoked without being replaced`)),h=(...d)=>_.value(...d);return h.wrapped=_,gt(u,h),h},Ze=(u,_)=>u.wrapped.value=_,ie=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||void 0,wi="useGlobalLeaflet",Hn={options:{type:Object,default:()=>({})}},Fn=u=>({options:u.options,methods:{}}),Wn={...Hn,pane:{type:String,default:"overlayPane"},attribution:{type:String,default:null},name:{type:String,custom:!0,default:void 0},layerType:{type:String,custom:!0,default:void 0},visible:{type:Boolean,custom:!0,default:!0}},Vn=(u,_,h)=>{const d=jt("addLayer"),m=jt("removeLayer"),{options:S,methods:y}=Fn(u),I={...S,attribution:u.attribution,pane:u.pane},g=()=>d({leafletObject:_.value}),J=()=>m({leafletObject:_.value}),F={...y,setAttribution(T,G){this.$parent.leafletObject.attributionControl.removeAttribution(G).addAttribution(T)},setName(){J(),u.visible&&g()},setLayerType(){J(),u.visible&&g()},setVisible(T){_.value&&(T?g():J())},bindPopup({leafletObject:T}){if(!_.value||!Rt(_.value.bindPopup)){console.warn("Attempt to bind popup before bindPopup method available on layer.");return}_.value.bindPopup(T)},bindTooltip({leafletObject:T}){if(!_.value||!Rt(_.value.bindTooltip)){console.warn("Attempt to bind tooltip before bindTooltip method available on layer.");return}_.value.bindTooltip(T)},unbindTooltip(){const T=_.value&&Rt(_.value.getTooltip)?_.value.getTooltip():null;T&&Rt(T.unbindTooltip)&&T.unbindTooltip()},unbindPopup(){const T=_.value&&Rt(_.value.getPopup)?_.value.getPopup():null;T&&Rt(T.unbindPopup)&&T.unbindPopup()},updateVisibleProp(T){h.emit("update:visible",T)}};return gt("bindPopup",F.bindPopup),gt("bindTooltip",F.bindTooltip),gt("unbindTooltip",F.unbindTooltip),gt("unbindPopup",F.unbindPopup),zs(()=>{F.unbindPopup(),F.unbindTooltip(),J()}),{options:I,methods:F}},Hs=(u,_)=>{if(u&&_.default)return jn("div",{style:{display:"none"}},_.default())},Fs={...Wn,pane:{type:String,default:"tilePane"},opacity:{type:Number,custom:!1,default:1},zIndex:{type:Number,default:1},tileSize:{type:Number,default:256},noWrap:{type:Boolean,default:!1},minZoom:{type:Number,default:0},maxZoom:{type:Number,default:void 0}},Ws=(u,_,h)=>{const{options:d,methods:m}=Vn(u,_,h);return{options:{...d,pane:u.pane,opacity:u.opacity,zIndex:u.zIndex,tileSize:u.tileSize,noWrap:u.noWrap,minZoom:u.minZoom,maxZoom:u.maxZoom},methods:{...m}}};var Un={emits:["ready","update:zoom","update:center","update:bounds"],props:{...Hn,center:{type:[Object,Array],default:()=>[0,0]},bounds:{type:[Array,Object],default:void 0},maxBounds:{type:[Array,Object],default:void 0},zoom:{type:Number,default:0},minZoom:{type:Number,default:void 0},maxZoom:{type:Number,default:void 0},paddingBottomRight:{type:Array,default:void 0},paddingTopLeft:{type:Array,default:void 0},padding:{type:Array,default:void 0},worldCopyJump:{type:Boolean,default:!1},crs:{type:[String,Object],default:"EPSG3857"},maxBoundsViscosity:{type:Number,default:void 0},inertia:{type:Boolean,default:void 0},inertiaDeceleration:{type:Number,default:void 0},inertiaMaxSpeed:{type:Number,default:void 0},easeLinearity:{type:Number,default:void 0},zoomAnimation:{type:Boolean,default:void 0},zoomAnimationThreshold:{type:Number,default:void 0},fadeAnimation:{type:Boolean,default:void 0},markerZoomAnimation:{type:Boolean,default:void 0},noBlockingAnimations:{type:Boolean,default:!1},useGlobalLeaflet:{type:Boolean,default:!0}},setup(u,_){const h=ne(null),d=Ls({ready:!1,leafletRef:{},layersToAdd:[],layersInControl:[]}),{options:m}=Fn(u),S={...m,minZoom:u.minZoom,maxZoom:u.maxZoom,maxBounds:u.maxBounds,maxBoundsViscosity:u.maxBoundsViscosity,worldCopyJump:u.worldCopyJump,crs:u.crs,center:u.center,zoom:u.zoom,inertia:u.inertia,inertiaDeceleration:u.inertiaDeceleration,inertiaMaxSpeed:u.inertiaMaxSpeed,easeLinearity:u.easeLinearity,zoomAnimation:u.zoomAnimation,zoomAnimationThreshold:u.zoomAnimationThreshold,fadeAnimation:u.fadeAnimation,markerZoomAnimation:u.markerZoomAnimation},y=Se("addLayer"),I=Se("removeLayer"),g=Se("registerControl"),J=Se("registerLayerControl");gt(wi,u.useGlobalLeaflet);const F={moveEndHandler(){_.emit("update:zoom",d.leafletRef.getZoom()),_.emit("update:center",d.leafletRef.getCenter()),_.emit("update:bounds",d.leafletRef.getBounds())},overlayAddHandler(lt){const U=d.layersInControl.find(E=>E.name===lt.name);U&&U.updateVisibleProp(!0)},overlayRemoveHandler(lt){const U=d.layersInControl.find(E=>E.name===lt.name);U&&U.updateVisibleProp(!1)}};vi(async()=>{u.useGlobalLeaflet&&(ie.L=ie.L||await Promise.resolve().then(()=>Ns));const{map:lt,CRS:U,Icon:E,latLngBounds:se,latLng:ke,DomEvent:re}=u.useGlobalLeaflet?ie.L:await Nt(()=>import("./leaflet-src.esm-114b2dcb.846aa0e9.js"),[]);try{S.beforeMapMount&&await S.beforeMapMount()}catch(b){console.error(`The following error occurred running the provided beforeMapMount hook ${b.message}`)}await Ds(E);const X=typeof S.crs=="string"?U[S.crs]:S.crs;S.crs=X||U.EPSG3857;const ut={addLayer(b){b.layerType!==void 0&&(d.layerControl===void 0?d.layersToAdd.push(b):d.layersInControl.find(B=>B.leafletObject._leaflet_id===b.leafletObject._leaflet_id)||(d.layerControl.addLayer(b),d.layersInControl.push(b))),b.visible!==!1&&d.leafletRef.addLayer(b.leafletObject)},removeLayer(b){b.layerType!==void 0&&(d.layerControl===void 0?d.layersToAdd=d.layersToAdd.filter(B=>B.name!==b.name):(d.layerControl.removeLayer(b.leafletObject),d.layersInControl=d.layersInControl.filter(B=>B.leafletObject._leaflet_id!==b.leafletObject._leaflet_id))),d.leafletRef.removeLayer(b.leafletObject)},registerLayerControl(b){d.layerControl=b,d.layersToAdd.forEach(B=>{d.layerControl.addLayer(B)}),d.layersToAdd=[],g(b)},registerControl(b){d.leafletRef.addControl(b.leafletObject)},setZoom(b){const B=d.leafletRef.getZoom();b!==B&&d.leafletRef.setZoom(b,{animate:u.noBlockingAnimations?!1:null})},setPaddingBottomRight(b){d.paddingBottomRight=b},setPaddingTopLeft(b){d.paddingTopLeft=b},setPadding(b){d.padding=b},setCrs(b){const B=d.leafletRef.getBounds();d.leafletRef.options.crs=b,d.leafletRef.fitBounds(B,{animate:!1,padding:[0,0]})},fitBounds(b){d.leafletRef.fitBounds(b,{animate:this.noBlockingAnimations?!1:null})},setBounds(b){if(!b)return;const B=se(b);!B.isValid()||!(d.lastSetBounds||d.leafletRef.getBounds()).equals(B,0)&&(d.lastSetBounds=B,d.leafletRef.fitBounds(B,this.fitBoundsOptions))},setCenter(b){if(b==null)return;const B=ke(b),Dt=d.lastSetCenter||d.leafletRef.getCenter();(Dt.lat!==B.lat||Dt.lng!==B.lng)&&(d.lastSetCenter=B,d.leafletRef.panTo(B,{animate:this.noBlockingAnimations?!1:null}))}};Ze(y,ut.addLayer),Ze(I,ut.removeLayer),Ze(g,ut.registerControl),Ze(J,ut.registerLayerControl),d.leafletRef=lt(h.value,S),xi(ut,d.leafletRef,u);const Ct=bi(_.attrs);d.leafletRef.on("moveend",Dn(F.moveEndHandler,100)),d.leafletRef.on("overlayadd",F.overlayAddHandler),d.leafletRef.on("overlayremove",F.overlayRemoveHandler),re.on(d.leafletRef,Ct),d.ready=!0,yi(()=>_.emit("ready",d.leafletRef))}),Ps(()=>{d.leafletRef&&d.leafletRef.remove()});const T=In(()=>d.leafletRef),G=In(()=>d.ready);return{root:h,ready:G,leafletObject:T}},render(){return jn("div",{style:{width:"100%",height:"100%"},ref:"root"},this.ready?this.$slots.default():{})}};Un.__file="src/components/LMap.vue";const Vs={...Wn,pane:{type:String,default:"markerPane"},draggable:{type:Boolean,custom:!0,default:!1},latLng:{type:[Object,Array],custom:!0,default:null},icon:{type:[Object],default:()=>{},custom:!1},zIndexOffset:{type:Number,custom:!1,default:null}},Us=(u,_,h)=>{const{options:d,methods:m}=Vn(u,_,h),S={...d,...u},y={...m,setDraggable(I){_.value.dragging&&(I?_.value.dragging.enable():_.value.dragging.disable())},latLngSync(I){h.emit("update:latLng",I.latlng),h.emit("update:lat-lng",I.latlng)},setLatLng(I){if(I!=null&&_.value){const g=_.value.getLatLng();(!g||!g.equals(I))&&_.value.setLatLng(I)}}};return{options:S,methods:y}};var Gn={name:"LMarker",props:Vs,setup(u,_){const h=ne({}),d=ne(!1),m=jt(wi),S=jt("addLayer");gt("canSetParentHtml",()=>!!h.value.getElement()),gt("setParentHtml",g=>h.value.getElement().innerHTML=g),gt("setIcon",g=>h.value.setIcon&&h.value.setIcon(g));const{options:y,methods:I}=Us(u,h,_);return y.icon===void 0&&delete y.icon,vi(async()=>{const{marker:g,DomEvent:J}=m?ie.L:await Nt(()=>import("./leaflet-src.esm-114b2dcb.846aa0e9.js"),[]);h.value=g(u.latLng,y);const F=bi(_.attrs);J.on(h.value,F),h.value.on("move",Dn(I.latLngSync,100)),xi(I,h.value,u),S({...u,...I,leafletObject:h.value}),d.value=!0,yi(()=>_.emit("ready",h.value))}),{ready:d,leafletObject:h}},render(){return Hs(this.ready,this.$slots)}};Gn.__file="src/components/LMarker.vue";const qn={...Fs,tms:{type:Boolean,default:!1},subdomains:{type:String,default:"abc"},detectRetina:{type:Boolean,default:!1},url:{type:String,default:null}},Gs=(u,_,h)=>{const{options:d,methods:m}=Ws(u,_,h);return{options:{...d,tms:u.tms,subdomains:u.subdomains,detectRetina:u.detectRetina},methods:{...m}}};var Kn={props:qn,setup(u,_){const h=ne({}),d=jt(wi),m=jt("addLayer"),{options:S,methods:y}=Gs(u,h,_);return vi(async()=>{const{tileLayer:I,DomEvent:g}=d?ie.L:await Nt(()=>import("./leaflet-src.esm-114b2dcb.846aa0e9.js"),[]);h.value=I(u.url,S);const J=bi(_.attrs);g.on(h.value,J),xi(y,h.value,u),m({...u,...y,leafletObject:h.value}),yi(()=>_.emit("ready",h.value))}),{leafletObject:h}},render(){return null}};Kn.__file="src/components/LTileLayer.vue";({...qn});var qs=Object.defineProperty,Ks=Object.getOwnPropertyDescriptor,Yn=(u,_,h,d)=>{for(var m=d>1?void 0:d?Ks(_,h):_,S=u.length-1,y;S>=0;S--)(y=u[S])&&(m=(d?y(_,h,m):y(m))||m);return d&&m&&qs(_,h,m),m};let Ee=class extends ks{constructor(){super(...arguments),gi(this,"f"),gi(this,"marker"),gi(this,"zoom",14)}get options(){return{scrollWheelZoom:!1}}get center(){return[this.f.latitude,this.f.longitude]}created(){this.marker=this.center}};Yn([Zs({required:!0})],Ee.prototype,"f",2);Ee=Yn([Es({components:{LMap:Un,LTileLayer:Kn,LMarker:Gn}})],Ee);const Ys={id:"Location"},Js={class:"map"},Xs={key:0,class:"info"},$s={key:0,class:"title"},Qs={key:1,class:"address"};function tr(u,_,h,d,m,S){const y=pi("LMarker"),I=pi("LTileLayer"),g=pi("LMap");return ze(),Ce("div",Ys,[Ts("div",Js,[mi(g,{options:u.options,zoom:u.zoom,center:u.center,minZoom:3,maxZoom:16},{default:Ms(()=>[mi(y,{"lat-lng":u.marker},null,8,["lat-lng"]),mi(I,{url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","layer-type":"base",name:"OpenStreetMap"})]),_:1},8,["options","zoom","center"])]),u.f.title?(ze(),Ce("div",Xs,[u.f.title?(ze(),Ce("div",$s,Rn(u.f.title),1)):fi("",!0),u.f.address?(ze(),Ce("div",Qs,Rn(u.f.address),1)):fi("",!0)])):fi("",!0)])}const nr=Ss(Ee,[["render",tr],["__scopeId","data-v-b4275981"]]);export{nr as default}; diff --git a/assets/Menu.ebefe650.js b/assets/Menu.4421aa88.js similarity index 98% rename from assets/Menu.ebefe650.js rename to assets/Menu.4421aa88.js index ee348cb..e03665f 100644 --- a/assets/Menu.ebefe650.js +++ b/assets/Menu.4421aa88.js @@ -1 +1 @@ -import{V as D,O as p,_ as h,c as n,a,F as d,r as E,o as m,t as l,B as A,d as f,p as g,f as v}from"./index.6d814e8f.js";var b=Object.defineProperty,y=Object.getOwnPropertyDescriptor,x=(u,t,o,e)=>{for(var s=e>1?void 0:e?y(t,o):t,r=u.length-1,i;r>=0;r--)(i=u[r])&&(s=(e?i(t,o,s):i(s))||s);return e&&s&&b(t,o,s),s},O=(u=>(u[u.light=0]="light",u[u.normal=1]="normal",u[u.salty=2]="salty",u))(O||{});const B=[{cat:"\u{1F356} \u732A\u8089",items:[{name:"\u7389\u7C73\u6392\u9AA8\u6C64",recommend:!0},{name:"\u7EA2\u70E7\u871C\u6C41\u4E94\u82B1\u8089",sub:"+\u5364\u86CB",recommend:!0},{name:"\u849C\u9999\u70B8\u6392\u9AA8"},{name:"\u6912\u76D0\u6392\u9AA8"},{name:"\u9171\u9999\u6392\u9AA8"},{name:"\u56DB\u5DDD\u56DE\u9505\u8089"},{name:"\u849C\u84C9\u7C89\u4E1D\u84B8\u6392\u9AA8"}]},{cat:"\u{1F357} \u9E21\u8089",items:[{name:"\u571F\u8C46\u7096\u9E21\u817F",recommend:!0},{name:"\u9999\u70E4\u9E21\u817F",recommend:!0},{name:"\u53EF\u4E50\u9E21\u7FC5"},{name:"\u7167\u70E7\u9E21\u7FC5"}]},{cat:"\u{1F969} \u725B\u8089",items:[{name:"\u714E\u725B\u6392"},{name:"\u725B\u8089\u7C89\u4E1D\u6C64"}]},{cat:"\u{1F41F} \u6D77\u9C9C",items:[{name:"\u714E\u4E09\u6587\u9C7C\u76AE"}]},{cat:"\u{1F957} \u83DC",items:[{name:"\u8089\u4E01\u7092\u82B9\u83DC",recommend:!0},{name:"\u5E72\u9505\u83DC\u82B1",recommend:!0},{name:"\u97ED\u83DC\u7092\u86CB"},{name:"\u7EA2\u70E7\u571F\u8C46"},{name:"\u8471\u82B1\u9E21\u86CB"},{name:"\u767D\u83DC\u7096\u7C89\u6761"},{name:"\u7D20\u7092\u7EFF\u53F6\u83DC",sub:"\u5927\u767D\u83DC/\u5C0F\u6CB9\u83DC"}]},{cat:"\u{1F35C} \u9762\u6761",items:[{name:"\u5473\u564C\u53C9\u70E7\u8C5A\u9AA8\u9762"},{name:"\u756A\u8304\u725B\u8089\u9762"},{name:"\u9ED1\u6912\u7092\u610F\u9762"},{name:"\u7092\u9762",sub:"\u6302\u9762/\u4E4C\u51AC/\u610F\u9762/\u65B9\u4FBF\u9762"}]},{cat:"\u{1F365} \u5176\u4ED6\u7684",items:[{name:"\u9E21\u86CB\u706B\u817F\u5410\u53F8",recommend:!0},{name:"\u8336\u53F6\u86CB"}]},{cat:"\u{1F35B} \u4E3B\u98DF",items:[{name:"\u7167\u70E7\u80A5\u725B\u996D",sub:"\u80A5\u725B\u7247/\u4E94\u82B1\u8089",recommend:!0},{name:"\u5496\u55B1\u996D",sub:"\u725B\u8089\u5757/\u80A5\u725B\u7247/\u4E94\u82B1\u8089"},{name:"\u7092\u996D"}]},{cat:"\u{1F370} \u86CB\u7CD5",subtitle:"\uFF08\u8981\u63D0\u524D\u51E0\u5929\u9884\u5B9A\u54E6\uFF01 qwq",items:[{name:"\u63D0\u62C9\u7C73\u82CF",recommend:!0}]},{cat:"\u{1F378} \u996E\u6599",items:[{name:"\u767D\u6843\u5976\u6CB9\u9E21\u5C3E\u9152",recommend:!0,original:!0},{name:"\u706B\u9F99\u679C\u8461\u8404\u9152",original:!0},{name:"\u6C34\u679C\u5BBE\u6CBB\u9E21\u5C3E\u9152"}]}];let _=class extends D{constructor(){super(...arguments),this.max_cols=2,this.cols=new Array(this.max_cols)}created(){const u=Array.from(B);u.sort((e,s)=>s.items.length-e.items.length);let t=new Array(this.max_cols).fill(0);for(const e of u){let s=t.indexOf(Math.min(...t));e.column=s,t[s]+=e.items.length}for(let e=0;es.column==e);let o=0;this.cols.forEach(e=>e.forEach(s=>s.items.forEach(r=>r.id=o++)))}};_=x([p({components:{}})],_);const w=u=>(g("data-v-704a0694"),u=u(),v(),u),M={id:"Menu",class:"general-page"},$=w(()=>a("div",{class:"title"},[a("h2",null,"\u5C0F\u6842\u6842\u7684\u79C1\u623F\u83DC \u83DC\u5355"),a("div",{class:"subtitle"},"\u5728\u6842\u6842\u5BB6\u91CC\u53EF\u4EE5\u5403\u5230\u8FD9\u4E9B\u54E6")],-1)),I={class:"columns"},P={class:"cat"},S={class:"subtitle"},V={class:"items"},j={class:"number"},q={class:"name"},N={key:0,class:"sub"};function k(u,t,o,e,s,r){return m(),n("div",M,[$,a("div",I,[(m(!0),n(d,null,E(u.cols,(i,F)=>(m(),n("div",{class:"column",key:F},[(m(!0),n(d,null,E(i,C=>(m(),n("div",{class:"category",key:C.cat},[a("div",P,l(C.cat)+"\uFF01",1),a("div",S,l(C.subtitle),1),a("div",V,[(m(!0),n(d,null,E(C.items,c=>(m(),n("div",{class:A(["item",{recommend:c.recommend,original:c.original}]),key:c.name},[a("span",j,l(c.id)+". ",1),a("span",q,l(c.name),1),c.sub?(m(),n("span",N,"\uFF08"+l(c.sub)+"\uFF09",1)):f("",!0)],2))),128))])]))),128))]))),128))])])}const L=h(_,[["render",k],["__scopeId","data-v-704a0694"]]);export{O as Flavor,L as default,B as menu}; +import{V as D,O as p,_ as h,c as n,a,F as d,r as E,o as m,t as l,B as A,d as f,p as g,f as v}from"./index.710b8de0.js";var b=Object.defineProperty,y=Object.getOwnPropertyDescriptor,x=(u,t,o,e)=>{for(var s=e>1?void 0:e?y(t,o):t,r=u.length-1,i;r>=0;r--)(i=u[r])&&(s=(e?i(t,o,s):i(s))||s);return e&&s&&b(t,o,s),s},O=(u=>(u[u.light=0]="light",u[u.normal=1]="normal",u[u.salty=2]="salty",u))(O||{});const B=[{cat:"\u{1F356} \u732A\u8089",items:[{name:"\u7389\u7C73\u6392\u9AA8\u6C64",recommend:!0},{name:"\u7EA2\u70E7\u871C\u6C41\u4E94\u82B1\u8089",sub:"+\u5364\u86CB",recommend:!0},{name:"\u849C\u9999\u70B8\u6392\u9AA8"},{name:"\u6912\u76D0\u6392\u9AA8"},{name:"\u9171\u9999\u6392\u9AA8"},{name:"\u56DB\u5DDD\u56DE\u9505\u8089"},{name:"\u849C\u84C9\u7C89\u4E1D\u84B8\u6392\u9AA8"}]},{cat:"\u{1F357} \u9E21\u8089",items:[{name:"\u571F\u8C46\u7096\u9E21\u817F",recommend:!0},{name:"\u9999\u70E4\u9E21\u817F",recommend:!0},{name:"\u53EF\u4E50\u9E21\u7FC5"},{name:"\u7167\u70E7\u9E21\u7FC5"}]},{cat:"\u{1F969} \u725B\u8089",items:[{name:"\u714E\u725B\u6392"},{name:"\u725B\u8089\u7C89\u4E1D\u6C64"}]},{cat:"\u{1F41F} \u6D77\u9C9C",items:[{name:"\u714E\u4E09\u6587\u9C7C\u76AE"}]},{cat:"\u{1F957} \u83DC",items:[{name:"\u8089\u4E01\u7092\u82B9\u83DC",recommend:!0},{name:"\u5E72\u9505\u83DC\u82B1",recommend:!0},{name:"\u97ED\u83DC\u7092\u86CB"},{name:"\u7EA2\u70E7\u571F\u8C46"},{name:"\u8471\u82B1\u9E21\u86CB"},{name:"\u767D\u83DC\u7096\u7C89\u6761"},{name:"\u7D20\u7092\u7EFF\u53F6\u83DC",sub:"\u5927\u767D\u83DC/\u5C0F\u6CB9\u83DC"}]},{cat:"\u{1F35C} \u9762\u6761",items:[{name:"\u5473\u564C\u53C9\u70E7\u8C5A\u9AA8\u9762"},{name:"\u756A\u8304\u725B\u8089\u9762"},{name:"\u9ED1\u6912\u7092\u610F\u9762"},{name:"\u7092\u9762",sub:"\u6302\u9762/\u4E4C\u51AC/\u610F\u9762/\u65B9\u4FBF\u9762"}]},{cat:"\u{1F365} \u5176\u4ED6\u7684",items:[{name:"\u9E21\u86CB\u706B\u817F\u5410\u53F8",recommend:!0},{name:"\u8336\u53F6\u86CB"}]},{cat:"\u{1F35B} \u4E3B\u98DF",items:[{name:"\u7167\u70E7\u80A5\u725B\u996D",sub:"\u80A5\u725B\u7247/\u4E94\u82B1\u8089",recommend:!0},{name:"\u5496\u55B1\u996D",sub:"\u725B\u8089\u5757/\u80A5\u725B\u7247/\u4E94\u82B1\u8089"},{name:"\u7092\u996D"}]},{cat:"\u{1F370} \u86CB\u7CD5",subtitle:"\uFF08\u8981\u63D0\u524D\u51E0\u5929\u9884\u5B9A\u54E6\uFF01 qwq",items:[{name:"\u63D0\u62C9\u7C73\u82CF",recommend:!0}]},{cat:"\u{1F378} \u996E\u6599",items:[{name:"\u767D\u6843\u5976\u6CB9\u9E21\u5C3E\u9152",recommend:!0,original:!0},{name:"\u706B\u9F99\u679C\u8461\u8404\u9152",original:!0},{name:"\u6C34\u679C\u5BBE\u6CBB\u9E21\u5C3E\u9152"}]}];let _=class extends D{constructor(){super(...arguments),this.max_cols=2,this.cols=new Array(this.max_cols)}created(){const u=Array.from(B);u.sort((e,s)=>s.items.length-e.items.length);let t=new Array(this.max_cols).fill(0);for(const e of u){let s=t.indexOf(Math.min(...t));e.column=s,t[s]+=e.items.length}for(let e=0;es.column==e);let o=0;this.cols.forEach(e=>e.forEach(s=>s.items.forEach(r=>r.id=o++)))}};_=x([p({components:{}})],_);const w=u=>(g("data-v-704a0694"),u=u(),v(),u),M={id:"Menu",class:"general-page"},$=w(()=>a("div",{class:"title"},[a("h2",null,"\u5C0F\u6842\u6842\u7684\u79C1\u623F\u83DC \u83DC\u5355"),a("div",{class:"subtitle"},"\u5728\u6842\u6842\u5BB6\u91CC\u53EF\u4EE5\u5403\u5230\u8FD9\u4E9B\u54E6")],-1)),I={class:"columns"},P={class:"cat"},S={class:"subtitle"},V={class:"items"},j={class:"number"},q={class:"name"},N={key:0,class:"sub"};function k(u,t,o,e,s,r){return m(),n("div",M,[$,a("div",I,[(m(!0),n(d,null,E(u.cols,(i,F)=>(m(),n("div",{class:"column",key:F},[(m(!0),n(d,null,E(i,C=>(m(),n("div",{class:"category",key:C.cat},[a("div",P,l(C.cat)+"\uFF01",1),a("div",S,l(C.subtitle),1),a("div",V,[(m(!0),n(d,null,E(C.items,c=>(m(),n("div",{class:A(["item",{recommend:c.recommend,original:c.original}]),key:c.name},[a("span",j,l(c.id)+". ",1),a("span",q,l(c.name),1),c.sub?(m(),n("span",N,"\uFF08"+l(c.sub)+"\uFF09",1)):f("",!0)],2))),128))])]))),128))]))),128))])])}const L=h(_,[["render",k],["__scopeId","data-v-704a0694"]]);export{O as Flavor,L as default,B as menu}; diff --git a/assets/NewHome.80180d91.js b/assets/NewHome.69f5532f.js similarity index 99% rename from assets/NewHome.80180d91.js rename to assets/NewHome.69f5532f.js index b94efbb..b461765 100644 --- a/assets/NewHome.80180d91.js +++ b/assets/NewHome.69f5532f.js @@ -1,4 +1,4 @@ -import{O as _o,_ as vo,c as Ki,a as Ce,F as xo,r as yo,b as Mo,d as So,e as bo,o as _i,n as wo,t as To,p as Ao,f as Eo}from"./index.6d814e8f.js";import{m as Co,K as Lo,r as us}from"./utils.f7161a61.js";import{M as Po}from"./ColorPicker.6aaaaad1.js";/** +import{O as _o,_ as vo,c as Ki,a as Ce,F as xo,r as yo,b as Mo,d as So,e as bo,o as _i,n as wo,t as To,p as Ao,f as Eo}from"./index.710b8de0.js";import{m as Co,K as Lo,r as us}from"./utils.0ccd6bd5.js";import{M as Po}from"./ColorPicker.46cff875.js";/** * @license * Copyright 2010-2022 Three.js Authors * SPDX-License-Identifier: MIT diff --git a/assets/Others.3646a6d1.css b/assets/Others.3646a6d1.css deleted file mode 100644 index 9076b3d..0000000 --- a/assets/Others.3646a6d1.css +++ /dev/null @@ -1 +0,0 @@ -@import"https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Shadows+Into+Light&display=swap";@import"https://fonts.googleapis.com/css2?family=Inconsolata&display=swap";@import"https://fonts.googleapis.com/css2?family=Caveat&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap";.font-code[data-v-337b0017]{font-family:Inconsolata,Monaco,Monospaced,serif}.font-script-en[data-v-337b0017]{font-family:Caveat,Shadows Into Light,cursive}.bold[data-v-337b0017]{font-weight:700}body[data-v-337b0017]{margin:0}.unselectable[data-v-337b0017]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable[data-v-337b0017]:hover,a[data-v-337b0017]:hover,.ui-accordion-header[data-v-337b0017]:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v[data-v-337b0017]{display:flex;flex-flow:column;height:100%}.mh0[data-v-337b0017]{min-height:0}.fbox-h[data-v-337b0017]{display:flex;flex-flow:row}.mw0[data-v-337b0017]{min-width:0}.f-no-grow[data-v-337b0017]{flex-grow:0}.f-grow1[data-v-337b0017]{flex-grow:1}.f-no-shrink[data-v-337b0017]{flex-shrink:0}.f-shrink1[data-v-337b0017]{flex-shrink:1}.f-v-expand[data-v-337b0017]{flex:1 0;min-height:0}.f-h-expand[data-v-337b0017]{flex:1 0;min-width:0}.h100[data-v-337b0017]{height:100%}.w100[data-v-337b0017]{width:100%}.fbox-center[data-v-337b0017]{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter[data-v-337b0017]{display:flex;flex-flow:column;justify-content:center}.nowrap[data-v-337b0017]{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e[data-v-337b0017]{text-overflow:ellipsis}#app[data-v-337b0017]{font-family:Noto Sans SC,Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#70512a;max-width:900px;margin:auto;display:flex;flex-flow:column;height:100%}img[data-v-337b0017]{user-drag:none;-webkit-user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}body[data-v-337b0017]{background:#f9f2e0;height:100%;overscroll-behavior-y:none}html[data-v-337b0017]{height:100%}.vc-hue-slider__bar[data-v-337b0017]{background:linear-gradient(to right,red 0%,yellow 16.66%,lime 33.33%,aqua 50%,blue 66.66%,fuchsia 83.33%,red 100%)}.card[data-v-337b0017],a[data-v-337b0017]{width:100%;background:#fdf9f1;border-radius:20px;margin-bottom:20px;padding:15px 20px;overflow:auto;overflow-x:hidden;box-sizing:border-box;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.markdown-content[data-v-337b0017]{text-align:justify;text-justify:inter-word}.markdown-content a[data-v-337b0017]{color:#ff8373;text-decoration:none}.markdown-content h1[data-v-337b0017],.markdown-content h2[data-v-337b0017]{border-bottom:1px solid #ff8373;font-size:1.5em;margin-top:1em}.markdown-content h1[data-v-337b0017],.markdown-content h2[data-v-337b0017]{line-height:1.3;margin-bottom:.25em;padding:0}.markdown-content h3[data-v-337b0017]{font-size:1.2em}.markdown-content p[data-v-337b0017]{font-size:.9em;margin:.5em 0;line-height:1.6}.markdown-content p[data-v-337b0017]:last-child{margin-bottom:0}.markdown-content li[data-v-337b0017]{font-size:.9em;margin-bottom:.25em}.general-page[data-v-337b0017]{text-align:left;width:600px;margin:2em auto 0}.title[data-v-337b0017]{margin-bottom:2em}.title h2[data-v-337b0017]{margin-bottom:0}.title .subtitle[data-v-337b0017]{color:#a68659d6}@media screen and (max-width: 640px){.general-page[data-v-337b0017]{margin:2em 20px 0;width:unset}}.links[data-v-337b0017]{display:flex;gap:10px;flex-direction:column;align-items:flex-start}a[data-v-337b0017]{color:#70512a;text-decoration:none} diff --git a/assets/Others.a3213c93.js b/assets/Others.4f931aa1.js similarity index 94% rename from assets/Others.a3213c93.js rename to assets/Others.4f931aa1.js index c50adde..d33d6e5 100644 --- a/assets/Others.a3213c93.js +++ b/assets/Others.4f931aa1.js @@ -1 +1 @@ -import{V as i,O as h,_ as v,c as f,a as u,x as l,G as d,e as F,o as C,W as p,p as B,f as E}from"./index.6d814e8f.js";var O=Object.defineProperty,x=Object.getOwnPropertyDescriptor,D=(s,o,r,a)=>{for(var e=a>1?void 0:a?x(o,r):o,_=s.length-1,t;_>=0;_--)(t=s[_])&&(e=(a?t(o,r,e):t(e))||e);return a&&e&&O(o,r,e),e};let c=class extends i{};c=D([h({})],c);const n=s=>(B("data-v-337b0017"),s=s(),E(),s),b={id:"Others",class:"general-page"},m=n(()=>u("div",{class:"title"},[u("h2",null,"\u66F4\u591A\u94FE\u63A5"),u("div",{class:"subtitle"},"\u6B22\u8FCE\u70B9\u8FDB\u6765\u770B\u770B")],-1)),g={class:"links"},V=n(()=>u("a",{href:"https://cast.hydev.org"},"\u{1F4F9} \u516C\u5F00\u76F4\u64AD\u95F4",-1)),$=n(()=>u("a",{href:"http://status.hydev.org/"},"\u{1F50C} \u770B\u770B\u670D\u52A1\u5668\u4EEC\u8FC7\u5F97\u600E\u4E48\u6837",-1));function w(s,o,r,a,e,_){const t=F("router-link");return C(),f("div",b,[m,u("div",g,[l(t,{class:"rlink",to:"/kitchen-menu"},{default:d(()=>[p("\u{1F373} \u5C0F\u6842\u6842\u7684\u79C1\u623F\u83DC \u83DC\u5355")]),_:1}),l(t,{class:"rlink",to:"/friends"},{default:d(()=>[p("\u{1F38E} \u670B\u53CB\u4EEC")]),_:1}),V,$])])}const A=v(c,[["render",w],["__scopeId","data-v-337b0017"]]);export{A as default}; +import{V as i,O as h,_ as v,c as f,a as u,x as l,G as d,e as F,o as C,W as p,p as B,f as E}from"./index.710b8de0.js";var O=Object.defineProperty,x=Object.getOwnPropertyDescriptor,D=(s,o,r,a)=>{for(var e=a>1?void 0:a?x(o,r):o,_=s.length-1,t;_>=0;_--)(t=s[_])&&(e=(a?t(o,r,e):t(e))||e);return a&&e&&O(o,r,e),e};let c=class extends i{};c=D([h({})],c);const n=s=>(B("data-v-337b0017"),s=s(),E(),s),b={id:"Others",class:"general-page"},m=n(()=>u("div",{class:"title"},[u("h2",null,"\u66F4\u591A\u94FE\u63A5"),u("div",{class:"subtitle"},"\u6B22\u8FCE\u70B9\u8FDB\u6765\u770B\u770B")],-1)),g={class:"links"},V=n(()=>u("a",{href:"https://cast.hydev.org"},"\u{1F4F9} \u516C\u5F00\u76F4\u64AD\u95F4",-1)),$=n(()=>u("a",{href:"http://status.hydev.org/"},"\u{1F50C} \u770B\u770B\u670D\u52A1\u5668\u4EEC\u8FC7\u5F97\u600E\u4E48\u6837",-1));function w(s,o,r,a,e,_){const t=F("router-link");return C(),f("div",b,[m,u("div",g,[l(t,{class:"rlink",to:"/kitchen-menu"},{default:d(()=>[p("\u{1F373} \u5C0F\u6842\u6842\u7684\u79C1\u623F\u83DC \u83DC\u5355")]),_:1}),l(t,{class:"rlink",to:"/friends"},{default:d(()=>[p("\u{1F38E} \u670B\u53CB\u4EEC")]),_:1}),V,$])])}const A=v(c,[["render",w],["__scopeId","data-v-337b0017"]]);export{A as default}; diff --git a/assets/Others.9849e5af.css b/assets/Others.9849e5af.css new file mode 100644 index 0000000..bdeca6a --- /dev/null +++ b/assets/Others.9849e5af.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Shadows+Into+Light&display=swap";@import"https://fonts.googleapis.com/css2?family=Inconsolata&display=swap";@import"https://fonts.googleapis.com/css2?family=Caveat&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap";@font-face{font-family:WenKai;src:url(/fonts/LXGWWenKai-Regular.woff2) format("woff2"),url(/fonts/LXGWWenKai-Regular.woff) format("woff")}.font-custom[data-v-337b0017],html[data-v-337b0017]{font-family:"WenKai",var(--font-fallback)}html[data-v-337b0017]{--font-fallback: "Noto Sans SC", Avenir, Helvetica, Arial, sans-serif}.font-code[data-v-337b0017]{font-family:Inconsolata,Monaco,Monospaced,serif}.font-script-en[data-v-337b0017]{font-family:Caveat,Shadows Into Light,cursive}.bold[data-v-337b0017]{font-weight:700}body[data-v-337b0017]{margin:0}.unselectable[data-v-337b0017]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable[data-v-337b0017]:hover,a[data-v-337b0017]:hover,.ui-accordion-header[data-v-337b0017]:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v[data-v-337b0017]{display:flex;flex-flow:column;height:100%}.mh0[data-v-337b0017]{min-height:0}.fbox-h[data-v-337b0017]{display:flex;flex-flow:row}.mw0[data-v-337b0017]{min-width:0}.f-no-grow[data-v-337b0017]{flex-grow:0}.f-grow1[data-v-337b0017]{flex-grow:1}.f-no-shrink[data-v-337b0017]{flex-shrink:0}.f-shrink1[data-v-337b0017]{flex-shrink:1}.f-v-expand[data-v-337b0017]{flex:1 0;min-height:0}.f-h-expand[data-v-337b0017]{flex:1 0;min-width:0}.h100[data-v-337b0017]{height:100%}.w100[data-v-337b0017]{width:100%}.fbox-center[data-v-337b0017]{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter[data-v-337b0017]{display:flex;flex-flow:column;justify-content:center}.nowrap[data-v-337b0017]{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e[data-v-337b0017]{text-overflow:ellipsis}#app[data-v-337b0017]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#70512a;max-width:900px;margin:auto;display:flex;flex-flow:column;height:100%}img[data-v-337b0017]{user-drag:none;-webkit-user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}body[data-v-337b0017]{background:#f9f2e0;height:100%;overscroll-behavior-y:none}html[data-v-337b0017]{height:100%}.vc-hue-slider__bar[data-v-337b0017]{background:linear-gradient(to right,red 0%,yellow 16.66%,lime 33.33%,aqua 50%,blue 66.66%,fuchsia 83.33%,red 100%)}.card[data-v-337b0017],a[data-v-337b0017]{width:100%;background:#fdf9f1;border-radius:20px;margin-bottom:20px;padding:15px 20px;overflow:auto;overflow-x:hidden;box-sizing:border-box;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.markdown-content[data-v-337b0017]{text-align:justify;text-justify:inter-word}.markdown-content a[data-v-337b0017]{color:#ff8373;text-decoration:none}.markdown-content h1[data-v-337b0017],.markdown-content h2[data-v-337b0017]{border-bottom:1px solid #ff8373;font-size:1.5em;margin-top:1em}.markdown-content h1[data-v-337b0017],.markdown-content h2[data-v-337b0017]{line-height:1.3;margin-bottom:.25em;padding:0}.markdown-content h3[data-v-337b0017]{font-size:1.2em}.markdown-content p[data-v-337b0017]{font-size:.9em;margin:.5em 0;line-height:1.6}.markdown-content p[data-v-337b0017]:last-child{margin-bottom:0}.markdown-content li[data-v-337b0017]{font-size:.9em;margin-bottom:.25em}.general-page[data-v-337b0017]{text-align:left;width:600px;margin:2em auto 0}.title[data-v-337b0017]{margin-bottom:2em}.title h2[data-v-337b0017]{margin-bottom:0}.title .subtitle[data-v-337b0017]{color:#a68659d6}@media screen and (max-width: 640px){.general-page[data-v-337b0017]{margin:2em 20px 0;width:unset}}.links[data-v-337b0017]{display:flex;gap:10px;flex-direction:column;align-items:flex-start}a[data-v-337b0017]{color:#70512a;text-decoration:none} diff --git a/assets/Poll-e903e06f.e072db67.js b/assets/Poll-e903e06f.7010b732.js similarity index 92% rename from assets/Poll-e903e06f.e072db67.js rename to assets/Poll-e903e06f.7010b732.js index fec9966..c33d7bf 100644 --- a/assets/Poll-e903e06f.e072db67.js +++ b/assets/Poll-e903e06f.7010b732.js @@ -1 +1 @@ -import{T as v,Q as f,v as m,W as y}from"./Life.c5aadab3.js";import{o as p,c as u,a as o,t as l,F as _,r as b,B as g,n as h,p as x,f as F}from"./index.6d814e8f.js";var P=Object.defineProperty,R=(e,t,s)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,j=(e,t,s)=>(R(e,typeof t!="symbol"?t+"":t,s),s),q=Object.defineProperty,w=Object.getOwnPropertyDescriptor,d=(e,t,s,n)=>{for(var a=n>1?void 0:n?w(t,s):t,i=e.length-1,r;i>=0;i--)(r=e[i])&&(a=(n?r(t,s,a):r(a))||a);return n&&a&&q(t,s,a),a};let c=class extends y{constructor(){super(...arguments),j(this,"f")}get max(){return Math.max(...this.f.options.map(e=>e.voter_count))}percent(e){return this.f.total_voter_count==0?"0%":(e.voter_count/this.f.total_voter_count*100).toFixed(0)+"%"}get subtitle(){let e=this.f.type=="REGULAR"?"Poll":"Quiz";return this.f.is_anonymous&&(e="Anonymous "+e),e}};d([f({required:!0})],c.prototype,"f",2);c=d([m({components:{}})],c);const z=e=>(x("data-v-c8a557d5"),e=e(),F(),e),B={id:"Poll"},I={class:"question"},O={class:"subtitle"},S={class:"text"},A=z(()=>o("span",{class:"f-grow1"},null,-1)),D={class:"percentage"},E={class:"tail"};function Q(e,t,s,n,a,i){return p(),u("div",B,[o("div",I,l(e.f.question),1),o("div",O,l(e.subtitle),1),(p(!0),u(_,null,b(e.f.options,r=>(p(),u("div",{class:g(["options",{dominant:r.voter_count===e.max&&e.max!==0}])},[o("span",S,l(r.text),1),A,o("span",D,l(e.percent(r)),1),o("div",{class:"bar",style:h({width:e.percent(r)})},null,4)],2))),256)),o("div",E,"Final Results - "+l(e.f.total_voter_count)+" Responses",1)])}const M=v(c,[["render",Q],["__scopeId","data-v-c8a557d5"]]);export{M as default}; +import{T as v,Q as f,v as m,W as y}from"./Life.93359620.js";import{o as p,c as u,a as o,t as l,F as _,r as b,B as g,n as h,p as x,f as F}from"./index.710b8de0.js";var P=Object.defineProperty,R=(e,t,s)=>t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,j=(e,t,s)=>(R(e,typeof t!="symbol"?t+"":t,s),s),q=Object.defineProperty,w=Object.getOwnPropertyDescriptor,d=(e,t,s,n)=>{for(var a=n>1?void 0:n?w(t,s):t,i=e.length-1,r;i>=0;i--)(r=e[i])&&(a=(n?r(t,s,a):r(a))||a);return n&&a&&q(t,s,a),a};let c=class extends y{constructor(){super(...arguments),j(this,"f")}get max(){return Math.max(...this.f.options.map(e=>e.voter_count))}percent(e){return this.f.total_voter_count==0?"0%":(e.voter_count/this.f.total_voter_count*100).toFixed(0)+"%"}get subtitle(){let e=this.f.type=="REGULAR"?"Poll":"Quiz";return this.f.is_anonymous&&(e="Anonymous "+e),e}};d([f({required:!0})],c.prototype,"f",2);c=d([m({components:{}})],c);const z=e=>(x("data-v-c8a557d5"),e=e(),F(),e),B={id:"Poll"},I={class:"question"},O={class:"subtitle"},S={class:"text"},A=z(()=>o("span",{class:"f-grow1"},null,-1)),D={class:"percentage"},E={class:"tail"};function Q(e,t,s,n,a,i){return p(),u("div",B,[o("div",I,l(e.f.question),1),o("div",O,l(e.subtitle),1),(p(!0),u(_,null,b(e.f.options,r=>(p(),u("div",{class:g(["options",{dominant:r.voter_count===e.max&&e.max!==0}])},[o("span",S,l(r.text),1),A,o("span",D,l(e.percent(r)),1),o("div",{class:"bar",style:h({width:e.percent(r)})},null,4)],2))),256)),o("div",E,"Final Results - "+l(e.f.total_voter_count)+" Responses",1)])}const M=v(c,[["render",Q],["__scopeId","data-v-c8a557d5"]]);export{M as default}; diff --git a/assets/Projects.3cbb13a0.js b/assets/Projects.bef33955.js similarity index 85% rename from assets/Projects.3cbb13a0.js rename to assets/Projects.bef33955.js index 28bb4ce..efa5867 100644 --- a/assets/Projects.3cbb13a0.js +++ b/assets/Projects.bef33955.js @@ -1 +1 @@ -import{V as _,O as a,_ as f,c as l,o as i}from"./index.6d814e8f.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,P=(c,s,t,r)=>{for(var e=r>1?void 0:r?v(s,t):s,o=c.length-1,n;o>=0;o--)(n=c[o])&&(e=(r?n(s,t,e):n(e))||e);return r&&e&&u(s,t,e),e};let p=class extends _{};p=P([a({components:{}})],p);const d={id:"Projects"};function O(c,s,t,r,e,o){return i(),l("div",d)}const $=f(p,[["render",O]]);export{$ as default}; +import{V as _,O as a,_ as f,c as l,o as i}from"./index.710b8de0.js";var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,P=(c,s,t,r)=>{for(var e=r>1?void 0:r?v(s,t):s,o=c.length-1,n;o>=0;o--)(n=c[o])&&(e=(r?n(s,t,e):n(e))||e);return r&&e&&u(s,t,e),e};let p=class extends _{};p=P([a({components:{}})],p);const d={id:"Projects"};function O(c,s,t,r,e,o){return i(),l("div",d)}const $=f(p,[["render",O]]);export{$ as default}; diff --git a/assets/index.6f1bfdb5.css b/assets/index.470adf07.css similarity index 94% rename from assets/index.6f1bfdb5.css rename to assets/index.470adf07.css index 54c9feb..87023ba 100644 --- a/assets/index.6f1bfdb5.css +++ b/assets/index.470adf07.css @@ -1,4 +1,4 @@ -@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Shadows+Into+Light&display=swap";@import"https://fonts.googleapis.com/css2?family=Inconsolata&display=swap";@import"https://fonts.googleapis.com/css2?family=Caveat&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap";#box[data-v-5f688a7c]{font-size:3em}#Home[data-v-5f688a7c]{text-align:left}.font-code{font-family:Inconsolata,Monaco,Monospaced,serif}.font-script-en{font-family:Caveat,Shadows Into Light,cursive}.bold{font-weight:700}body{margin:0}.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable:hover,.ui-accordion-header:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v{display:flex;flex-flow:column;height:100%}.mh0{min-height:0}.fbox-h{display:flex;flex-flow:row}.mw0{min-width:0}.f-no-grow{flex-grow:0}.f-grow1{flex-grow:1}.f-no-shrink{flex-shrink:0}.f-shrink1{flex-shrink:1}.f-v-expand{flex:1 0;min-height:0}.f-h-expand{flex:1 0;min-width:0}.h100{height:100%}.w100{width:100%}.fbox-center{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter{display:flex;flex-flow:column;justify-content:center}.nowrap{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e{text-overflow:ellipsis}#app{font-family:Noto Sans SC,Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#70512a;max-width:900px;margin:auto;display:flex;flex-flow:column;height:100%}img{user-drag:none;-webkit-user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}body{background:#f9f2e0;height:100%;overscroll-behavior-y:none}html{height:100%}.vc-hue-slider__bar{background:linear-gradient(to right,red 0%,yellow 16.66%,lime 33.33%,aqua 50%,blue 66.66%,fuchsia 83.33%,red 100%)}.card{width:100%;background:#fdf9f1;border-radius:20px;margin-bottom:20px;padding:15px 20px;overflow:auto;overflow-x:hidden;box-sizing:border-box;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.markdown-content{text-align:justify;text-justify:inter-word}.markdown-content a{color:#ff8373;text-decoration:none}.markdown-content h1,.markdown-content h2{border-bottom:1px solid #ff8373;font-size:1.5em;margin-top:1em}.markdown-content h1,.markdown-content h2{line-height:1.3;margin-bottom:.25em;padding:0}.markdown-content h3{font-size:1.2em}.markdown-content p{font-size:.9em;margin:.5em 0;line-height:1.6}.markdown-content p:last-child{margin-bottom:0}.markdown-content li{font-size:.9em;margin-bottom:.25em}.fade-in-left{animation:fade-in-left .5s cubic-bezier(.39,.575,.565,1) both}@keyframes fade-in-left{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}.fade-in-top{animation:fade-in-top .5s cubic-bezier(.39,.575,.565,1) both}@keyframes fade-in-top{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fade-in-top-delayed{0%{opacity:0}50%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}.fade-out-left{animation:fade-out-left .5s cubic-bezier(.25,.46,.45,.94) both}@keyframes fade-out-left{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes slideInFromLeft{0%{transform:translate(-100%)}to{transform:translate(0)}}#nav{position:fixed;left:0;height:100%;font-size:1.4em;align-items:flex-start;z-index:2;pointer-events:none;font-family:Microsoft YaHei UI,Noto Sans SC,Avenir,Helvetica,Arial,sans-serif}#nav #menu{padding:5px 10px;margin:15px 10px;background-color:#ffffff7d;border-radius:10px;text-shadow:-1px -1px 1px rgba(255,255,255,.1),1px 1px 1px rgba(0,0,0,.5);filter:drop-shadow(0 0 30px rgb(255,255,255));z-index:100;pointer-events:auto;opacity:0}#nav #nav-bookmark{position:absolute;left:0;width:20px;height:0;z-index:5;--bookmark-color: rgb(255, 225, 230);border-color:var(--bookmark-color) transparent var(--bookmark-color) var(--bookmark-color);border-style:solid;border-width:20px}#nav #items{justify-content:flex-end;z-index:10}#nav .router-link{color:#80705cb5;position:relative;z-index:100;pointer-events:auto}#nav .dot{content:"\b7";margin:20px 0;user-select:none}#nav .router-link,#nav .dot{text-decoration:none;writing-mode:vertical-rl;text-orientation:sideways;transform:scale(-1);padding-right:20px}#nav #nav-background{position:absolute;height:100%;width:100px;left:0;border-left:20px solid #f9f2e0;background:linear-gradient(to right,#f9f2e0,transparent);z-index:4;pointer-events:none}#nav #meru{height:160px;z-index:100;pointer-events:auto}#nav svg{display:inline-block;height:1em;transform:rotate(180deg)}#nav svg *{box-sizing:inherit}@media screen and (max-width: 800px){#nav #menu{opacity:1}#nav.home #menu,#nav.home #nav-background{opacity:0}#nav:not(.home).open #items,#nav:not(.home).open #nav-bookmark,#nav:not(.home).open #nav-background,#nav:not(.home).open #meru{opacity:1;animation:fade-in-left .5s cubic-bezier(.25,.46,.45,.94) both}#nav:not(.home) #items,#nav:not(.home) #nav-bookmark,#nav:not(.home) #nav-background,#nav:not(.home) #meru{opacity:0;animation:fade-out-left 1s .5s cubic-bezier(.25,.46,.45,.94) both}}@media screen and (max-width: 500px),(max-height: 660px){#app{font-size:14px}#nav #nav-bookmark{width:10px}#nav #meru{height:120px}}@media screen and (max-width: 370px){#nav #menu,#nav.home #menu,#nav.home #nav-background{opacity:unset}#nav.open #items,#nav.open #nav-bookmark,#nav.open #nav-background,#nav.open #meru{opacity:1;animation:fade-in-left .5s cubic-bezier(.25,.46,.45,.94) both}#nav #items,#nav #nav-bookmark,#nav #nav-background,#nav #meru{opacity:0;animation:fade-out-left 1s .5s cubic-bezier(.25,.46,.45,.94) both}}@media screen and (max-height: 600px){#nav .dot{margin:10px 0}}@media screen and (max-height: 500px){#nav .router-link{margin-bottom:10px}#nav .dot{display:none}}/*! +@charset "UTF-8";@import"https://fonts.googleapis.com/css2?family=Inconsolata:wght@300&family=Shadows+Into+Light&display=swap";@import"https://fonts.googleapis.com/css2?family=Inconsolata&display=swap";@import"https://fonts.googleapis.com/css2?family=Caveat&display=swap";@import"https://fonts.googleapis.com/css2?family=Noto+Sans+SC&display=swap";#box[data-v-5f688a7c]{font-size:3em}#Home[data-v-5f688a7c]{text-align:left}@font-face{font-family:WenKai;src:url(/fonts/LXGWWenKai-Regular.woff2) format("woff2"),url(/fonts/LXGWWenKai-Regular.woff) format("woff")}.font-custom,html{font-family:"WenKai",var(--font-fallback)}html{--font-fallback: "Noto Sans SC", Avenir, Helvetica, Arial, sans-serif}.font-code{font-family:Inconsolata,Monaco,Monospaced,serif}.font-script-en{font-family:Caveat,Shadows Into Light,cursive}.bold{font-weight:700}body{margin:0}.unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.clickable:hover,.ui-accordion-header:hover{cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fbox-v{display:flex;flex-flow:column;height:100%}.mh0{min-height:0}.fbox-h{display:flex;flex-flow:row}.mw0{min-width:0}.f-no-grow{flex-grow:0}.f-grow1{flex-grow:1}.f-no-shrink{flex-shrink:0}.f-shrink1{flex-shrink:1}.f-v-expand{flex:1 0;min-height:0}.f-h-expand{flex:1 0;min-width:0}.h100{height:100%}.w100{width:100%}.fbox-center{display:flex;flex-flow:column;justify-content:center;align-items:center}.fbox-vcenter{display:flex;flex-flow:column;justify-content:center}.nowrap{overflow:hidden;white-space:nowrap;text-overflow:clip}.nowrap.e{text-overflow:ellipsis}#app{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#70512a;max-width:900px;margin:auto;display:flex;flex-flow:column;height:100%}img{user-drag:none;-webkit-user-drag:none;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}body{background:#f9f2e0;height:100%;overscroll-behavior-y:none}html{height:100%}.vc-hue-slider__bar{background:linear-gradient(to right,red 0%,yellow 16.66%,lime 33.33%,aqua 50%,blue 66.66%,fuchsia 83.33%,red 100%)}.card{width:100%;background:#fdf9f1;border-radius:20px;margin-bottom:20px;padding:15px 20px;overflow:auto;overflow-x:hidden;box-sizing:border-box;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}.markdown-content{text-align:justify;text-justify:inter-word}.markdown-content a{color:#ff8373;text-decoration:none}.markdown-content h1,.markdown-content h2{border-bottom:1px solid #ff8373;font-size:1.5em;margin-top:1em}.markdown-content h1,.markdown-content h2{line-height:1.3;margin-bottom:.25em;padding:0}.markdown-content h3{font-size:1.2em}.markdown-content p{font-size:.9em;margin:.5em 0;line-height:1.6}.markdown-content p:last-child{margin-bottom:0}.markdown-content li{font-size:.9em;margin-bottom:.25em}.fade-in-left{animation:fade-in-left .5s cubic-bezier(.39,.575,.565,1) both}@keyframes fade-in-left{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}.fade-in-top{animation:fade-in-top .5s cubic-bezier(.39,.575,.565,1) both}@keyframes fade-in-top{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fade-in-top-delayed{0%{opacity:0}50%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}.fade-out-left{animation:fade-out-left .5s cubic-bezier(.25,.46,.45,.94) both}@keyframes fade-out-left{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes slideInFromLeft{0%{transform:translate(-100%)}to{transform:translate(0)}}#nav{position:fixed;left:0;height:100%;font-size:1.4em;align-items:flex-start;z-index:100;pointer-events:none}#nav #menu{padding:5px 10px;margin:15px 10px;background-color:#ffffff7d;border-radius:10px;text-shadow:-1px -1px 1px rgba(255,255,255,.1),1px 1px 1px rgba(0,0,0,.5);filter:drop-shadow(0 0 30px rgb(255,255,255));z-index:100;pointer-events:auto;opacity:0}#nav #nav-bookmark{position:absolute;left:0;width:20px;height:0;z-index:5;--bookmark-color: rgb(255, 225, 230);border-color:var(--bookmark-color) transparent var(--bookmark-color) var(--bookmark-color);border-style:solid;border-width:20px}#nav #items{justify-content:flex-end;z-index:10}#nav .router-link{color:#80705cb5;position:relative;z-index:100;pointer-events:auto}#nav .dot{content:"\b7";margin:20px 0;user-select:none}#nav .router-link,#nav .dot{text-decoration:none;writing-mode:vertical-rl;text-orientation:sideways;transform:scale(-1);padding-right:20px}#nav #nav-background{position:absolute;height:100%;width:100px;left:0;border-left:20px solid #f9f2e0;background:linear-gradient(to right,#f9f2e0,transparent);z-index:4;pointer-events:none}#nav #meru{height:160px;z-index:100;pointer-events:auto}#nav svg{display:inline-block;height:1em;transform:rotate(180deg)}#nav svg *{box-sizing:inherit}@media screen and (max-width: 800px){#nav #menu{opacity:1}#nav.home #menu,#nav.home #nav-background{opacity:0}#nav:not(.home).open #items,#nav:not(.home).open #nav-bookmark,#nav:not(.home).open #nav-background,#nav:not(.home).open #meru{opacity:1;animation:fade-in-left .5s cubic-bezier(.25,.46,.45,.94) both}#nav:not(.home) #items,#nav:not(.home) #nav-bookmark,#nav:not(.home) #nav-background,#nav:not(.home) #meru{opacity:0;animation:fade-out-left 1s .5s cubic-bezier(.25,.46,.45,.94) both}}@media screen and (max-width: 500px),(max-height: 660px){#app{font-size:14px}#nav #nav-bookmark{width:10px}#nav #meru{height:120px}}@media screen and (max-width: 370px){#nav #menu,#nav.home #menu,#nav.home #nav-background{opacity:unset}#nav.open #items,#nav.open #nav-bookmark,#nav.open #nav-background,#nav.open #meru{opacity:1;animation:fade-in-left .5s cubic-bezier(.25,.46,.45,.94) both}#nav #items,#nav #nav-bookmark,#nav #nav-background,#nav #meru{opacity:0;animation:fade-out-left 1s .5s cubic-bezier(.25,.46,.45,.94) both}}@media screen and (max-height: 600px){#nav .dot{margin:10px 0}}@media screen and (max-height: 500px){#nav .router-link{margin-bottom:10px}#nav .dot{display:none}}/*! * Font Awesome Free 6.2.1 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2022 Fonticons, Inc. diff --git a/assets/index.6d814e8f.js b/assets/index.710b8de0.js similarity index 98% rename from assets/index.6d814e8f.js rename to assets/index.710b8de0.js index 540a2be..3de47b2 100644 --- a/assets/index.6d814e8f.js +++ b/assets/index.710b8de0.js @@ -13,7 +13,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Jr=typeof window<"u";function ak(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Me=Object.assign;function Va(e,t){const n={};for(const r in t){const s=t[r];n[r]=sn(s)?s.map(e):e(s)}return n}const Qs=()=>{},sn=Array.isArray,ok=/\/$/,ck=e=>e.replace(ok,"");function ja(e,t,n="/"){let r,s={},i="",l="";const a=t.indexOf("#");let o=t.indexOf("?");return a=0&&(o=-1),o>-1&&(r=t.slice(0,o),i=t.slice(o+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=hk(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+l,path:r,query:s,hash:l}}function uk(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Af(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fk(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Es(t.matched[r],n.matched[s])&&rm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!dk(e[n],t[n]))return!1;return!0}function dk(e,t){return sn(e)?xf(e,t):sn(t)?xf(t,e):e===t}function xf(e,t){return sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function hk(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,l;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var bi;(function(e){e.pop="pop",e.push="push"})(bi||(bi={}));var ei;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ei||(ei={}));function pk(e){if(!e)if(Jr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ck(e)}const mk=/^[^#]+#/;function gk(e,t){return e.replace(mk,"#")+t}function _k(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pa=()=>({left:window.pageXOffset,top:window.pageYOffset});function yk(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=_k(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ff(e,t){return(history.state?history.state.position-t:-1)+e}const Co=new Map;function bk(e,t){Co.set(e,t)}function vk(e){const t=Co.get(e);return Co.delete(e),t}let kk=()=>location.protocol+"//"+location.host;function sm(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,o=s.slice(a);return o[0]!=="/"&&(o="/"+o),Af(o,"")}return Af(n,e)+r+s}function wk(e,t,n,r){let s=[],i=[],l=null;const a=({state:d})=>{const _=sm(e,location),k=n.value,E=t.value;let T=0;if(d){if(n.value=_,t.value=d,l&&l===k){l=null;return}T=E?d.position-E.position:0}else r(_);s.forEach(m=>{m(n.value,k,{delta:T,type:bi.pop,direction:T?T>0?ei.forward:ei.back:ei.unknown})})};function o(){l=n.value}function c(d){s.push(d);const _=()=>{const k=s.indexOf(d);k>-1&&s.splice(k,1)};return i.push(_),_}function u(){const{history:d}=window;!d.state||d.replaceState(Me({},d.state,{scroll:pa()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:o,listen:c,destroy:f}}function $f(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?pa():null}}function Ek(e){const{history:t,location:n}=window,r={value:sm(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(o,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+o:kk()+e+o;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(_){console.error(_),n[u?"replace":"assign"](d)}}function l(o,c){const u=Me({},t.state,$f(s.value.back,o,s.value.forward,!0),c,{position:s.value.position});i(o,u,!0),r.value=o}function a(o,c){const u=Me({},s.value,t.state,{forward:o,scroll:pa()});i(u.current,u,!0);const f=Me({},$f(r.value,o,null),{position:u.position+1},c);i(o,f,!1),r.value=o}return{location:r,state:s,push:a,replace:l}}function Sk(e){e=pk(e);const t=Ek(e),n=wk(e,t.state,t.location,t.replace);function r(i,l=!0){l||n.pauseListeners(),history.go(i)}const s=Me({location:"",base:e,go:r,createHref:gk.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Tk(e){return typeof e=="string"||e&&typeof e=="object"}function im(e){return typeof e=="string"||typeof e=="symbol"}const Gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lm=Symbol("");var Yf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Yf||(Yf={}));function Ss(e,t){return Me(new Error,{type:e,[lm]:!0},t)}function Tn(e,t){return e instanceof Error&&lm in e&&(t==null||!!(e.type&t))}const Wf="[^/]+?",Ok={sensitive:!1,strict:!1,start:!0,end:!0},Ck=/[.+*?^${}()[\]/\\]/g;function Nk(e,t){const n=Me({},Ok,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Mk(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Rk={type:0,value:""},Lk=/[a-zA-Z0-9_]/;function Ik(e){if(!e)return[[]];if(e==="/")return[[Rk]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=0,r=n;const s=[];let i;function l(){i&&s.push(i),i=[]}let a=0,o,c="",u="";function f(){!c||(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(o==="*"||o==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:o==="*"||o==="+",optional:o==="*"||o==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=o}for(;a{l(g)}:Qs}function l(u){if(im(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(l),f.alias.forEach(l))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function o(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!am(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Vf(u)&&r.set(u.record.name,u)}function c(u,f){let d,_={},k,E;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ss(1,{location:u});E=d.record.name,_=Me(Hf(f.params,d.keys.filter(g=>!g.optional).map(g=>g.name)),u.params&&Hf(u.params,d.keys.map(g=>g.name))),k=d.stringify(_)}else if("path"in u)k=u.path,d=n.find(g=>g.re.test(k)),d&&(_=d.parse(k),E=d.record.name);else{if(d=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!d)throw Ss(1,{location:u,currentLocation:f});E=d.record.name,_=Me({},f.params,u.params),k=d.stringify(_)}const T=[];let m=d;for(;m;)T.unshift(m.record),m=m.parent;return{name:E,path:k,params:_,matched:T,meta:$k(T)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:s}}function Hf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xk(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Fk(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Fk(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Vf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $k(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function jf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function am(e,t){return t.children.some(n=>n===e||am(e,n))}const om=/#/g,Yk=/&/g,Wk=/\//g,Uk=/=/g,Hk=/\?/g,cm=/\+/g,Vk=/%5B/g,jk=/%5D/g,um=/%5E/g,Bk=/%60/g,fm=/%7B/g,zk=/%7C/g,dm=/%7D/g,Kk=/%20/g;function zc(e){return encodeURI(""+e).replace(zk,"|").replace(Vk,"[").replace(jk,"]")}function Gk(e){return zc(e).replace(fm,"{").replace(dm,"}").replace(um,"^")}function No(e){return zc(e).replace(cm,"%2B").replace(Kk,"+").replace(om,"%23").replace(Yk,"%26").replace(Bk,"`").replace(fm,"{").replace(dm,"}").replace(um,"^")}function qk(e){return No(e).replace(Uk,"%3D")}function Zk(e){return zc(e).replace(om,"%23").replace(Hk,"%3F")}function Xk(e){return e==null?"":Zk(e).replace(Wk,"%2F")}function Ll(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jk(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&No(i)):[r&&No(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Qk(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=sn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const e1=Symbol(""),zf=Symbol(""),Kc=Symbol(""),hm=Symbol(""),Po=Symbol("");function Ws(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Qn(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const o=f=>{f===!1?a(Ss(4,{from:n,to:t})):f instanceof Error?a(f):Tk(f)?a(Ss(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),l())},c=e.call(r&&r.instances[s],t,n,o);let u=Promise.resolve(c);e.length<3&&(u=u.then(o)),u.catch(f=>a(f))})}function Ba(e,t,n,r){const s=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(t1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Qn(c,n,r,i,l))}else{let o=a();s.push(()=>o.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const u=ak(c)?c.default:c;i.components[l]=u;const d=(u.__vccOpts||u)[t];return d&&Qn(d,n,r,i,l)()}))}}return s}function t1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kf(e){const t=nn(Kc),n=nn(hm),r=je(()=>t.resolve(Mr(e.to))),s=je(()=>{const{matched:o}=r.value,{length:c}=o,u=o[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Es.bind(null,u));if(d>-1)return d;const _=Gf(o[c-2]);return c>1&&Gf(u)===_&&f[f.length-1].path!==_?f.findIndex(Es.bind(null,o[c-2])):d}),i=je(()=>s.value>-1&&i1(n.params,r.value.params)),l=je(()=>s.value>-1&&s.value===n.matched.length-1&&rm(n.params,r.value.params));function a(o={}){return s1(o)?t[Mr(e.replace)?"replace":"push"](Mr(e.to)).catch(Qs):Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:i,isExactActive:l,navigate:a}}const n1=Ms({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Kf,setup(e,{slots:t}){const n=Ps(Kf(e)),{options:r}=nn(Kc),s=je(()=>({[qf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[qf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Vr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),r1=n1;function s1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function i1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!sn(s)||s.length!==r.length||r.some((i,l)=>i!==s[l]))return!1}return!0}function Gf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qf=(e,t,n)=>e!=null?e:t!=null?t:n,l1=Ms({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=nn(Po),s=je(()=>e.route||r.value),i=nn(zf,0),l=je(()=>{let c=Mr(i);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=je(()=>s.value.matched[l.value]);zs(zf,je(()=>l.value+1)),zs(e1,a),zs(Po,s);const o=dt();return An(()=>[o.value,a.value,e.name],([c,u,f],[d,_,k])=>{u&&(u.instances[f]=c,_&&_!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=_.leaveGuards),u.updateGuards.size||(u.updateGuards=_.updateGuards))),c&&u&&(!_||!Es(u,_)||!d)&&(u.enterCallbacks[f]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Zf(n.default,{Component:d,route:c});const _=f.props[u],k=_?_===!0?c.params:typeof _=="function"?_(c):_:null,T=Vr(d,Me({},k,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:o}));return Zf(n.default,{Component:T,route:c})||T}}});function Zf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const a1=l1;function o1(e){const t=Ak(e.routes,e),n=e.parseQuery||Jk,r=e.stringifyQuery||Bf,s=e.history,i=Ws(),l=Ws(),a=Ws(),o=cc(Gn);let c=Gn;Jr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Va.bind(null,A=>""+A),f=Va.bind(null,Xk),d=Va.bind(null,Ll);function _(A,z){let B,Q;return im(A)?(B=t.getRecordMatcher(A),Q=z):Q=A,t.addRoute(Q,B)}function k(A){const z=t.getRecordMatcher(A);z&&t.removeRoute(z)}function E(){return t.getRoutes().map(A=>A.record)}function T(A){return!!t.getRecordMatcher(A)}function m(A,z){if(z=Me({},z||o.value),typeof A=="string"){const y=ja(n,A,z.path),h=t.resolve({path:y.path},z),p=s.createHref(y.fullPath);return Me(y,h,{params:d(h.params),hash:Ll(y.hash),redirectedFrom:void 0,href:p})}let B;if("path"in A)B=Me({},A,{path:ja(n,A.path,z.path).path});else{const y=Me({},A.params);for(const h in y)y[h]==null&&delete y[h];B=Me({},A,{params:f(A.params)}),z.params=f(z.params)}const Q=t.resolve(B,z),ce=A.hash||"";Q.params=u(d(Q.params));const Ee=uk(r,Me({},A,{hash:Gk(ce),path:Q.path})),ie=s.createHref(Ee);return Me({fullPath:Ee,hash:ce,query:r===Bf?Qk(A.query):A.query||{}},Q,{redirectedFrom:void 0,href:ie})}function g(A){return typeof A=="string"?ja(n,A,o.value.path):Me({},A)}function v(A,z){if(c!==A)return Ss(8,{from:z,to:A})}function w(A){return P(A)}function S(A){return w(Me(g(A),{replace:!0}))}function M(A){const z=A.matched[A.matched.length-1];if(z&&z.redirect){const{redirect:B}=z;let Q=typeof B=="function"?B(A):B;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=g(Q):{path:Q},Q.params={}),Me({query:A.query,hash:A.hash,params:"path"in Q?{}:A.params},Q)}}function P(A,z){const B=c=m(A),Q=o.value,ce=A.state,Ee=A.force,ie=A.replace===!0,y=M(B);if(y)return P(Me(g(y),{state:typeof y=="object"?Me({},ce,y.state):ce,force:Ee,replace:ie}),z||B);const h=B;h.redirectedFrom=z;let p;return!Ee&&fk(r,Q,B)&&(p=Ss(16,{to:h,from:Q}),Mt(Q,Q,!0,!1)),(p?Promise.resolve(p):I(h,Q)).catch(b=>Tn(b)?Tn(b,2)?b:Be(b):oe(b,h,Q)).then(b=>{if(b){if(Tn(b,2))return P(Me({replace:ie},g(b.to),{state:typeof b.to=="object"?Me({},ce,b.to.state):ce,force:Ee}),z||h)}else b=F(h,Q,!0,ie,ce);return $(h,Q,b),b})}function C(A,z){const B=v(A,z);return B?Promise.reject(B):Promise.resolve()}function I(A,z){let B;const[Q,ce,Ee]=c1(A,z);B=Ba(Q.reverse(),"beforeRouteLeave",A,z);for(const y of Q)y.leaveGuards.forEach(h=>{B.push(Qn(h,A,z))});const ie=C.bind(null,A,z);return B.push(ie),qr(B).then(()=>{B=[];for(const y of i.list())B.push(Qn(y,A,z));return B.push(ie),qr(B)}).then(()=>{B=Ba(ce,"beforeRouteUpdate",A,z);for(const y of ce)y.updateGuards.forEach(h=>{B.push(Qn(h,A,z))});return B.push(ie),qr(B)}).then(()=>{B=[];for(const y of A.matched)if(y.beforeEnter&&!z.matched.includes(y))if(sn(y.beforeEnter))for(const h of y.beforeEnter)B.push(Qn(h,A,z));else B.push(Qn(y.beforeEnter,A,z));return B.push(ie),qr(B)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),B=Ba(Ee,"beforeRouteEnter",A,z),B.push(ie),qr(B))).then(()=>{B=[];for(const y of l.list())B.push(Qn(y,A,z));return B.push(ie),qr(B)}).catch(y=>Tn(y,8)?y:Promise.reject(y))}function $(A,z,B){for(const Q of a.list())Q(A,z,B)}function F(A,z,B,Q,ce){const Ee=v(A,z);if(Ee)return Ee;const ie=z===Gn,y=Jr?history.state:{};B&&(Q||ie?s.replace(A.fullPath,Me({scroll:ie&&y&&y.scroll},ce)):s.push(A.fullPath,ce)),o.value=A,Mt(A,z,B,ie),Be()}let x;function j(){x||(x=s.listen((A,z,B)=>{if(!Jt.listening)return;const Q=m(A),ce=M(Q);if(ce){P(Me(ce,{replace:!0}),Q).catch(Qs);return}c=Q;const Ee=o.value;Jr&&bk(Ff(Ee.fullPath,B.delta),pa()),I(Q,Ee).catch(ie=>Tn(ie,12)?ie:Tn(ie,2)?(P(ie.to,Q).then(y=>{Tn(y,20)&&!B.delta&&B.type===bi.pop&&s.go(-1,!1)}).catch(Qs),Promise.reject()):(B.delta&&s.go(-B.delta,!1),oe(ie,Q,Ee))).then(ie=>{ie=ie||F(Q,Ee,!1),ie&&(B.delta&&!Tn(ie,8)?s.go(-B.delta,!1):B.type===bi.pop&&Tn(ie,20)&&s.go(-1,!1)),$(Q,Ee,ie)}).catch(Qs)}))}let H=Ws(),he=Ws(),re;function oe(A,z,B){Be(A);const Q=he.list();return Q.length?Q.forEach(ce=>ce(A,z,B)):console.error(A),Promise.reject(A)}function pe(){return re&&o.value!==Gn?Promise.resolve():new Promise((A,z)=>{H.add([A,z])})}function Be(A){return re||(re=!A,j(),H.list().forEach(([z,B])=>A?B(A):z()),H.reset()),A}function Mt(A,z,B,Q){const{scrollBehavior:ce}=e;if(!Jr||!ce)return Promise.resolve();const Ee=!B&&vk(Ff(A.fullPath,0))||(Q||!B)&&history.state&&history.state.scroll||null;return Zl().then(()=>ce(A,z,Ee)).then(ie=>ie&&yk(ie)).catch(ie=>oe(ie,A,z))}const at=A=>s.go(A);let Xe;const Xt=new Set,Jt={currentRoute:o,listening:!0,addRoute:_,removeRoute:k,hasRoute:T,getRoutes:E,resolve:m,options:e,push:w,replace:S,go:at,back:()=>at(-1),forward:()=>at(1),beforeEach:i.add,beforeResolve:l.add,afterEach:a.add,onError:he.add,isReady:pe,install(A){const z=this;A.component("RouterLink",r1),A.component("RouterView",a1),A.config.globalProperties.$router=z,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Mr(o)}),Jr&&!Xe&&o.value===Gn&&(Xe=!0,w(s.location).catch(ce=>{}));const B={};for(const ce in Gn)B[ce]=je(()=>o.value[ce]);A.provide(Kc,z),A.provide(hm,Ps(B)),A.provide(Po,o);const Q=A.unmount;Xt.add(A),A.unmount=function(){Xt.delete(A),Xt.size<1&&(c=Gn,x&&x(),x=null,o.value=Gn,Xe=!1,re=!1),Q()}}};return Jt}function qr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function c1(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lEs(c,a))?r.push(a):n.push(a));const o=e.matched[l];o&&(t.matched.find(c=>Es(c,o))||s.push(o))}return[n,r,s]}var u1=Object.defineProperty,f1=Object.getOwnPropertyDescriptor,d1=(e,t,n,r)=>{for(var s=r>1?void 0:r?f1(t,n):t,i=e.length-1,l;i>=0;i--)(l=e[i])&&(s=(r?l(t,n,s):l(s))||s);return r&&s&&u1(t,n,s),s};let Mo=class extends mr{};Mo=d1([jr({components:{}})],Mo);const Br=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},h1=e=>(ea("data-v-5f688a7c"),e=e(),ta(),e),p1={id:"Home",class:"fbox-center f-grow1"},m1=h1(()=>Te("div",{id:"box"},[Te("div",{class:"font-script-en"},"Hykilpikonna's"),Te("div",{class:"font-script-en bold"},"Road Less Traveled")],-1)),g1=[m1];function _1(e,t,n,r,s,i){return Ae(),qe("div",p1,g1)}const y1=Br(Mo,[["render",_1],["__scopeId","data-v-5f688a7c"]]),b1=[{path:"/",name:"Home",meta:{title:"Home",nav:!0},component:y1},{path:"/new-home",name:"New Home",meta:{title:"Home"},component:()=>Sn(()=>import("./NewHome.80180d91.js"),["assets/NewHome.80180d91.js","assets/NewHome.19d6eeff.css","assets/utils.f7161a61.js","assets/ColorPicker.6aaaaad1.js","assets/ColorPicker.b45bc4c5.css"])},{path:"/about",name:"About",meta:{title:"\u5173\u4E8E",nav:!0},component:()=>Sn(()=>import("./About.6caa5508.js"),["assets/About.6caa5508.js","assets/About.c2ac88aa.css","assets/utils.f7161a61.js"])},{path:"/life",name:"Life",meta:{title:"\u751F\u6D3B",nav:!0},component:()=>Sn(()=>import("./Life.c5aadab3.js").then(e=>e.L),["assets/Life.c5aadab3.js","assets/Life.04afdab8.css"])},{path:"/blog",name:"Blog",meta:{title:"\u8BB0\u4E8B\u672C",nav:!0},component:()=>Sn(()=>import("./Blog.7c7a198f.js"),[]),props:e=>e.query},{path:"/others",name:"Others",meta:{title:"\u66F4\u591A",nav:!0},component:()=>Sn(()=>import("./Others.a3213c93.js"),["assets/Others.a3213c93.js","assets/Others.3646a6d1.css"])},{path:"/kitchen-menu",name:"Menu",meta:{title:"\u83DC\u5355",navBookmark:"Others"},component:()=>Sn(()=>import("./Menu.ebefe650.js"),["assets/Menu.ebefe650.js","assets/Menu.8c8222c7.css"])},{path:"/friends",name:"Friends",meta:{title:"\u670B\u53CB\u4EEC",navBookmark:"Others"},component:()=>Sn(()=>import("./Friends.e377414c.js"),["assets/Friends.e377414c.js","assets/Friends.c006a50a.css"])},{path:"/projects",name:"Projects",meta:{title:"\u6211\u505A\u7684",navBookmark:"Others"},component:()=>Sn(()=>import("./Projects.3cbb13a0.js"),[])},{path:"/color",name:"ColorPicker",meta:{title:"Color Picker"},component:()=>Sn(()=>import("./ColorPickerTest.96071e4a.js"),["assets/ColorPickerTest.96071e4a.js","assets/ColorPicker.6aaaaad1.js","assets/ColorPicker.b45bc4c5.css","assets/utils.f7161a61.js"])}],Il=o1({history:Sk(),routes:b1});function Dl(e){var n;const t={...(n=Il.currentRoute.value.query)!=null?n:{}};console.log(e);for(const r of Object.keys(e))e[r]==null?delete t[r]:t[r]=e[r];return Il.push({query:t})}var v1=Object.defineProperty,k1=Object.getOwnPropertyDescriptor,w1=(e,t,n,r)=>{for(var s=r>1?void 0:r?k1(t,n):t,i=e.length-1,l;i>=0;i--)(l=e[i])&&(s=(r?l(t,n,s):l(s))||s);return r&&s&&v1(t,n,s),s};let Ro=class extends mr{constructor(){super(...arguments),this.currentRoute="",this.currentLink=null,this.bookmarkCss="",this.lastTop=0,this.menuOpen=!1}showMenu(){this.menuOpen=!this.menuOpen,this.menuOpen&&setTimeout(()=>this.menuOpen=!1,2e3)}updateBookmark(e){var t,n;this.$nextTick(()=>{e.name=="Blog"&&Object.keys(e.query).length!=0||(document.title=e.meta.title?`Hykilpikonna - ${e.meta.title}`:"Hykilpikonna - Home")}),console.log("AfterEach called",e),this.currentRoute=((n=(t=e.meta)==null?void 0:t.navBookmark)!=null?n:e.name).toLowerCase(),this.calculateBookmarkCss(),this.menuOpen=!1}mounted(){var e,t;console.log("Mounted called",this.$route),Il.afterEach(this.updateBookmark),this.$route.name&&(this.currentRoute=((t=(e=this.$route.meta)==null?void 0:e.navBookmark)!=null?t:this.$route.name).toLowerCase()),window.addEventListener("resize",this.calculateBookmarkCss,!0),this.bookmarkUpdateIntervalId=window.setInterval(this.calculateBookmarkCss,1e3)}unmounted(){window.removeEventListener("resize",this.calculateBookmarkCss),window.clearInterval(this.bookmarkUpdateIntervalId)}calculateBookmarkCss(){if(this.currentRoute in this.$refs)this.currentLink=this.$refs[this.currentRoute].$el;else return;let e=this.currentLink.getBoundingClientRect();if(e.top==this.lastTop)return;this.lastTop=e.top;let t=e.bottom-e.top,n=Math.round(t/2)+8;this.bookmarkCss=`top: ${e.top-8}px;border-width: ${n}px 20px ${n}px 50px;`}};Ro=w1([jr({components:{}})],Ro);const E1="/meru_256px.png";const S1=Te("i",{class:"fas fa-bars"},null,-1),T1=[S1],O1={id:"items",class:"fbox-v"},C1=Te("div",{class:"dot"},"\xB7",-1),N1=Te("div",{class:"dot"},"\xB7",-1),P1=Te("div",{class:"dot"},"\xB7",-1),M1=Te("div",{class:"dot"},"\xB7",-1),R1=Te("svg",{focusable:"false","data-prefix":"fal","data-icon":"house-night",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",class:"svg-inline--fa fa-house-night fa-w-20"},[Te("path",{fill:"currentColor",d:"M112,224a111.5,111.5,0,0,0,87-41.45,20.51,20.51,0,0,0-19.75-33.08A59.2,59.2,0,0,1,138.84,39.85a20.3,20.3,0,0,0,10.07-21.27,20.26,20.26,0,0,0-16.47-16.7A136,136,0,0,0,112,0a112,112,0,0,0,0,224ZM97.78,33.27a91.21,91.21,0,0,0,54.47,147.9A80,80,0,1,1,97.78,33.27Zm97.15,35.51,39.72,16.56,16.56,39.72a5.33,5.33,0,0,0,9.55,0l16.56-39.72L317,68.78a5.33,5.33,0,0,0,0-9.54L277.32,42.68,260.76,3a5.33,5.33,0,0,0-9.55,0L234.65,42.68,194.93,59.24a5.34,5.34,0,0,0,0,9.54ZM157,379.24l-39.72-16.57L100.76,323a5.34,5.34,0,0,0-9.55,0L74.65,362.67,34.93,379.24a5.34,5.34,0,0,0,0,9.54l39.72,16.56,16.56,39.72a5.33,5.33,0,0,0,9.55,0l16.56-39.72L157,388.78a5.33,5.33,0,0,0,0-9.54Zm179-101.9v85.33A21.39,21.39,0,0,0,357.36,384h85.31A21.39,21.39,0,0,0,464,362.67V277.34A21.4,21.4,0,0,0,442.67,256H357.36A21.4,21.4,0,0,0,336,277.34ZM368,288H432v64H368Zm266.49,8L576,244.75V144a16,16,0,0,0-32,0v72.75L410.53,100a16,16,0,0,0-21.07,0l-224,196a16,16,0,0,0,21.07,24.09L224,287.28V464a48.05,48.05,0,0,0,48,48H528a48.06,48.06,0,0,0,48-48V287.28l37.46,32.78A16,16,0,0,0,634.53,296ZM544,464a16,16,0,0,1-16,16H272a16,16,0,0,1-16-16V264a15.94,15.94,0,0,0-.81-4L400,133.27l144,126Z",class:""})],-1),L1=Te("div",{class:"dot"},"\xB7",-1),I1=Te("div",{id:"nav-background"},null,-1),D1=Te("img",{id:"meru",src:E1,alt:""},null,-1);function A1(e,t,n,r,s,i){const l=ms("router-link"),a=ms("router-view");return Ae(),qe(Ve,null,[e.currentRoute!=="colorpicker"?(Ae(),qe("div",{key:0,id:"nav",class:pr(["fbox-v",e.currentRoute+" "+(e.menuOpen?"open":"")])},[Te("div",{id:"menu",onClick:t[0]||(t[0]=(...o)=>e.showMenu&&e.showMenu(...o))},T1),Te("div",O1,[ke(l,{class:"router-link",ref:"others",to:"/others"},{default:en(()=>[_n(Ot(e.$t("nav.others")),1)]),_:1},512),C1,ke(l,{class:"router-link",ref:"blog",to:"/blog"},{default:en(()=>[_n(Ot(e.$t("nav.blog")),1)]),_:1},512),N1,ke(l,{class:"router-link",ref:"life",to:"/life"},{default:en(()=>[_n(Ot(e.$t("nav.life")),1)]),_:1},512),P1,ke(l,{class:"router-link",ref:"about",to:"/about"},{default:en(()=>[_n(Ot(e.$t("nav.about")),1)]),_:1},512),M1,ke(l,{class:"router-link",ref:"home",to:"/"},{default:en(()=>[R1]),_:1},512),L1]),Te("div",{id:"nav-bookmark",ref:"bookmark",style:Os(e.bookmarkCss)},null,4),I1,D1],2)):Xn("",!0),ke(a)],64)}const x1=Br(Ro,[["render",A1]]);/*! + */const Jr=typeof window<"u";function ak(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Me=Object.assign;function Va(e,t){const n={};for(const r in t){const s=t[r];n[r]=sn(s)?s.map(e):e(s)}return n}const Qs=()=>{},sn=Array.isArray,ok=/\/$/,ck=e=>e.replace(ok,"");function ja(e,t,n="/"){let r,s={},i="",l="";const a=t.indexOf("#");let o=t.indexOf("?");return a=0&&(o=-1),o>-1&&(r=t.slice(0,o),i=t.slice(o+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),l=t.slice(a,t.length)),r=hk(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+l,path:r,query:s,hash:l}}function uk(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Af(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function fk(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Es(t.matched[r],n.matched[s])&&rm(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function rm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!dk(e[n],t[n]))return!1;return!0}function dk(e,t){return sn(e)?xf(e,t):sn(t)?xf(t,e):e===t}function xf(e,t){return sn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function hk(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,i,l;for(i=0;i1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var bi;(function(e){e.pop="pop",e.push="push"})(bi||(bi={}));var ei;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ei||(ei={}));function pk(e){if(!e)if(Jr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ck(e)}const mk=/^[^#]+#/;function gk(e,t){return e.replace(mk,"#")+t}function _k(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const pa=()=>({left:window.pageXOffset,top:window.pageYOffset});function yk(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=_k(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ff(e,t){return(history.state?history.state.position-t:-1)+e}const Co=new Map;function bk(e,t){Co.set(e,t)}function vk(e){const t=Co.get(e);return Co.delete(e),t}let kk=()=>location.protocol+"//"+location.host;function sm(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,o=s.slice(a);return o[0]!=="/"&&(o="/"+o),Af(o,"")}return Af(n,e)+r+s}function wk(e,t,n,r){let s=[],i=[],l=null;const a=({state:d})=>{const _=sm(e,location),k=n.value,E=t.value;let T=0;if(d){if(n.value=_,t.value=d,l&&l===k){l=null;return}T=E?d.position-E.position:0}else r(_);s.forEach(m=>{m(n.value,k,{delta:T,type:bi.pop,direction:T?T>0?ei.forward:ei.back:ei.unknown})})};function o(){l=n.value}function c(d){s.push(d);const _=()=>{const k=s.indexOf(d);k>-1&&s.splice(k,1)};return i.push(_),_}function u(){const{history:d}=window;!d.state||d.replaceState(Me({},d.state,{scroll:pa()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:o,listen:c,destroy:f}}function $f(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?pa():null}}function Ek(e){const{history:t,location:n}=window,r={value:sm(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(o,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+o:kk()+e+o;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(_){console.error(_),n[u?"replace":"assign"](d)}}function l(o,c){const u=Me({},t.state,$f(s.value.back,o,s.value.forward,!0),c,{position:s.value.position});i(o,u,!0),r.value=o}function a(o,c){const u=Me({},s.value,t.state,{forward:o,scroll:pa()});i(u.current,u,!0);const f=Me({},$f(r.value,o,null),{position:u.position+1},c);i(o,f,!1),r.value=o}return{location:r,state:s,push:a,replace:l}}function Sk(e){e=pk(e);const t=Ek(e),n=wk(e,t.state,t.location,t.replace);function r(i,l=!0){l||n.pauseListeners(),history.go(i)}const s=Me({location:"",base:e,go:r,createHref:gk.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Tk(e){return typeof e=="string"||e&&typeof e=="object"}function im(e){return typeof e=="string"||typeof e=="symbol"}const Gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lm=Symbol("");var Yf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Yf||(Yf={}));function Ss(e,t){return Me(new Error,{type:e,[lm]:!0},t)}function Tn(e,t){return e instanceof Error&&lm in e&&(t==null||!!(e.type&t))}const Wf="[^/]+?",Ok={sensitive:!1,strict:!1,start:!0,end:!0},Ck=/[.+*?^${}()[\]/\\]/g;function Nk(e,t){const n=Me({},Ok,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function Mk(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const Rk={type:0,value:""},Lk=/[a-zA-Z0-9_]/;function Ik(e){if(!e)return[[]];if(e==="/")return[[Rk]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=0,r=n;const s=[];let i;function l(){i&&s.push(i),i=[]}let a=0,o,c="",u="";function f(){!c||(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(o==="*"||o==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:o==="*"||o==="+",optional:o==="*"||o==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=o}for(;a{l(g)}:Qs}function l(u){if(im(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(l),f.alias.forEach(l))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(l),u.alias.forEach(l))}}function a(){return n}function o(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!am(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Vf(u)&&r.set(u.record.name,u)}function c(u,f){let d,_={},k,E;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Ss(1,{location:u});E=d.record.name,_=Me(Hf(f.params,d.keys.filter(g=>!g.optional).map(g=>g.name)),u.params&&Hf(u.params,d.keys.map(g=>g.name))),k=d.stringify(_)}else if("path"in u)k=u.path,d=n.find(g=>g.re.test(k)),d&&(_=d.parse(k),E=d.record.name);else{if(d=f.name?r.get(f.name):n.find(g=>g.re.test(f.path)),!d)throw Ss(1,{location:u,currentLocation:f});E=d.record.name,_=Me({},f.params,u.params),k=d.stringify(_)}const T=[];let m=d;for(;m;)T.unshift(m.record),m=m.parent;return{name:E,path:k,params:_,matched:T,meta:$k(T)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:l,getRoutes:a,getRecordMatcher:s}}function Hf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xk(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Fk(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Fk(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Vf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $k(e){return e.reduce((t,n)=>Me(t,n.meta),{})}function jf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function am(e,t){return t.children.some(n=>n===e||am(e,n))}const om=/#/g,Yk=/&/g,Wk=/\//g,Uk=/=/g,Hk=/\?/g,cm=/\+/g,Vk=/%5B/g,jk=/%5D/g,um=/%5E/g,Bk=/%60/g,fm=/%7B/g,zk=/%7C/g,dm=/%7D/g,Kk=/%20/g;function zc(e){return encodeURI(""+e).replace(zk,"|").replace(Vk,"[").replace(jk,"]")}function Gk(e){return zc(e).replace(fm,"{").replace(dm,"}").replace(um,"^")}function No(e){return zc(e).replace(cm,"%2B").replace(Kk,"+").replace(om,"%23").replace(Yk,"%26").replace(Bk,"`").replace(fm,"{").replace(dm,"}").replace(um,"^")}function qk(e){return No(e).replace(Uk,"%3D")}function Zk(e){return zc(e).replace(om,"%23").replace(Hk,"%3F")}function Xk(e){return e==null?"":Zk(e).replace(Wk,"%2F")}function Ll(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jk(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&No(i)):[r&&No(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Qk(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=sn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const e1=Symbol(""),zf=Symbol(""),Kc=Symbol(""),hm=Symbol(""),Po=Symbol("");function Ws(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Qn(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((l,a)=>{const o=f=>{f===!1?a(Ss(4,{from:n,to:t})):f instanceof Error?a(f):Tk(f)?a(Ss(2,{from:t,to:f})):(i&&r.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),l())},c=e.call(r&&r.instances[s],t,n,o);let u=Promise.resolve(c);e.length<3&&(u=u.then(o)),u.catch(f=>a(f))})}function Ba(e,t,n,r){const s=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(t1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Qn(c,n,r,i,l))}else{let o=a();s.push(()=>o.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const u=ak(c)?c.default:c;i.components[l]=u;const d=(u.__vccOpts||u)[t];return d&&Qn(d,n,r,i,l)()}))}}return s}function t1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kf(e){const t=nn(Kc),n=nn(hm),r=je(()=>t.resolve(Mr(e.to))),s=je(()=>{const{matched:o}=r.value,{length:c}=o,u=o[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(Es.bind(null,u));if(d>-1)return d;const _=Gf(o[c-2]);return c>1&&Gf(u)===_&&f[f.length-1].path!==_?f.findIndex(Es.bind(null,o[c-2])):d}),i=je(()=>s.value>-1&&i1(n.params,r.value.params)),l=je(()=>s.value>-1&&s.value===n.matched.length-1&&rm(n.params,r.value.params));function a(o={}){return s1(o)?t[Mr(e.replace)?"replace":"push"](Mr(e.to)).catch(Qs):Promise.resolve()}return{route:r,href:je(()=>r.value.href),isActive:i,isExactActive:l,navigate:a}}const n1=Ms({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Kf,setup(e,{slots:t}){const n=Ps(Kf(e)),{options:r}=nn(Kc),s=je(()=>({[qf(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[qf(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Vr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),r1=n1;function s1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function i1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!sn(s)||s.length!==r.length||r.some((i,l)=>i!==s[l]))return!1}return!0}function Gf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const qf=(e,t,n)=>e!=null?e:t!=null?t:n,l1=Ms({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=nn(Po),s=je(()=>e.route||r.value),i=nn(zf,0),l=je(()=>{let c=Mr(i);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=je(()=>s.value.matched[l.value]);zs(zf,je(()=>l.value+1)),zs(e1,a),zs(Po,s);const o=dt();return An(()=>[o.value,a.value,e.name],([c,u,f],[d,_,k])=>{u&&(u.instances[f]=c,_&&_!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=_.leaveGuards),u.updateGuards.size||(u.updateGuards=_.updateGuards))),c&&u&&(!_||!Es(u,_)||!d)&&(u.enterCallbacks[f]||[]).forEach(E=>E(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Zf(n.default,{Component:d,route:c});const _=f.props[u],k=_?_===!0?c.params:typeof _=="function"?_(c):_:null,T=Vr(d,Me({},k,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[u]=null)},ref:o}));return Zf(n.default,{Component:T,route:c})||T}}});function Zf(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const a1=l1;function o1(e){const t=Ak(e.routes,e),n=e.parseQuery||Jk,r=e.stringifyQuery||Bf,s=e.history,i=Ws(),l=Ws(),a=Ws(),o=cc(Gn);let c=Gn;Jr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Va.bind(null,A=>""+A),f=Va.bind(null,Xk),d=Va.bind(null,Ll);function _(A,z){let B,Q;return im(A)?(B=t.getRecordMatcher(A),Q=z):Q=A,t.addRoute(Q,B)}function k(A){const z=t.getRecordMatcher(A);z&&t.removeRoute(z)}function E(){return t.getRoutes().map(A=>A.record)}function T(A){return!!t.getRecordMatcher(A)}function m(A,z){if(z=Me({},z||o.value),typeof A=="string"){const y=ja(n,A,z.path),h=t.resolve({path:y.path},z),p=s.createHref(y.fullPath);return Me(y,h,{params:d(h.params),hash:Ll(y.hash),redirectedFrom:void 0,href:p})}let B;if("path"in A)B=Me({},A,{path:ja(n,A.path,z.path).path});else{const y=Me({},A.params);for(const h in y)y[h]==null&&delete y[h];B=Me({},A,{params:f(A.params)}),z.params=f(z.params)}const Q=t.resolve(B,z),ce=A.hash||"";Q.params=u(d(Q.params));const Ee=uk(r,Me({},A,{hash:Gk(ce),path:Q.path})),ie=s.createHref(Ee);return Me({fullPath:Ee,hash:ce,query:r===Bf?Qk(A.query):A.query||{}},Q,{redirectedFrom:void 0,href:ie})}function g(A){return typeof A=="string"?ja(n,A,o.value.path):Me({},A)}function v(A,z){if(c!==A)return Ss(8,{from:z,to:A})}function w(A){return P(A)}function S(A){return w(Me(g(A),{replace:!0}))}function M(A){const z=A.matched[A.matched.length-1];if(z&&z.redirect){const{redirect:B}=z;let Q=typeof B=="function"?B(A):B;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=g(Q):{path:Q},Q.params={}),Me({query:A.query,hash:A.hash,params:"path"in Q?{}:A.params},Q)}}function P(A,z){const B=c=m(A),Q=o.value,ce=A.state,Ee=A.force,ie=A.replace===!0,y=M(B);if(y)return P(Me(g(y),{state:typeof y=="object"?Me({},ce,y.state):ce,force:Ee,replace:ie}),z||B);const h=B;h.redirectedFrom=z;let p;return!Ee&&fk(r,Q,B)&&(p=Ss(16,{to:h,from:Q}),Mt(Q,Q,!0,!1)),(p?Promise.resolve(p):I(h,Q)).catch(b=>Tn(b)?Tn(b,2)?b:Be(b):oe(b,h,Q)).then(b=>{if(b){if(Tn(b,2))return P(Me({replace:ie},g(b.to),{state:typeof b.to=="object"?Me({},ce,b.to.state):ce,force:Ee}),z||h)}else b=F(h,Q,!0,ie,ce);return $(h,Q,b),b})}function C(A,z){const B=v(A,z);return B?Promise.reject(B):Promise.resolve()}function I(A,z){let B;const[Q,ce,Ee]=c1(A,z);B=Ba(Q.reverse(),"beforeRouteLeave",A,z);for(const y of Q)y.leaveGuards.forEach(h=>{B.push(Qn(h,A,z))});const ie=C.bind(null,A,z);return B.push(ie),qr(B).then(()=>{B=[];for(const y of i.list())B.push(Qn(y,A,z));return B.push(ie),qr(B)}).then(()=>{B=Ba(ce,"beforeRouteUpdate",A,z);for(const y of ce)y.updateGuards.forEach(h=>{B.push(Qn(h,A,z))});return B.push(ie),qr(B)}).then(()=>{B=[];for(const y of A.matched)if(y.beforeEnter&&!z.matched.includes(y))if(sn(y.beforeEnter))for(const h of y.beforeEnter)B.push(Qn(h,A,z));else B.push(Qn(y.beforeEnter,A,z));return B.push(ie),qr(B)}).then(()=>(A.matched.forEach(y=>y.enterCallbacks={}),B=Ba(Ee,"beforeRouteEnter",A,z),B.push(ie),qr(B))).then(()=>{B=[];for(const y of l.list())B.push(Qn(y,A,z));return B.push(ie),qr(B)}).catch(y=>Tn(y,8)?y:Promise.reject(y))}function $(A,z,B){for(const Q of a.list())Q(A,z,B)}function F(A,z,B,Q,ce){const Ee=v(A,z);if(Ee)return Ee;const ie=z===Gn,y=Jr?history.state:{};B&&(Q||ie?s.replace(A.fullPath,Me({scroll:ie&&y&&y.scroll},ce)):s.push(A.fullPath,ce)),o.value=A,Mt(A,z,B,ie),Be()}let x;function j(){x||(x=s.listen((A,z,B)=>{if(!Jt.listening)return;const Q=m(A),ce=M(Q);if(ce){P(Me(ce,{replace:!0}),Q).catch(Qs);return}c=Q;const Ee=o.value;Jr&&bk(Ff(Ee.fullPath,B.delta),pa()),I(Q,Ee).catch(ie=>Tn(ie,12)?ie:Tn(ie,2)?(P(ie.to,Q).then(y=>{Tn(y,20)&&!B.delta&&B.type===bi.pop&&s.go(-1,!1)}).catch(Qs),Promise.reject()):(B.delta&&s.go(-B.delta,!1),oe(ie,Q,Ee))).then(ie=>{ie=ie||F(Q,Ee,!1),ie&&(B.delta&&!Tn(ie,8)?s.go(-B.delta,!1):B.type===bi.pop&&Tn(ie,20)&&s.go(-1,!1)),$(Q,Ee,ie)}).catch(Qs)}))}let H=Ws(),he=Ws(),re;function oe(A,z,B){Be(A);const Q=he.list();return Q.length?Q.forEach(ce=>ce(A,z,B)):console.error(A),Promise.reject(A)}function pe(){return re&&o.value!==Gn?Promise.resolve():new Promise((A,z)=>{H.add([A,z])})}function Be(A){return re||(re=!A,j(),H.list().forEach(([z,B])=>A?B(A):z()),H.reset()),A}function Mt(A,z,B,Q){const{scrollBehavior:ce}=e;if(!Jr||!ce)return Promise.resolve();const Ee=!B&&vk(Ff(A.fullPath,0))||(Q||!B)&&history.state&&history.state.scroll||null;return Zl().then(()=>ce(A,z,Ee)).then(ie=>ie&&yk(ie)).catch(ie=>oe(ie,A,z))}const at=A=>s.go(A);let Xe;const Xt=new Set,Jt={currentRoute:o,listening:!0,addRoute:_,removeRoute:k,hasRoute:T,getRoutes:E,resolve:m,options:e,push:w,replace:S,go:at,back:()=>at(-1),forward:()=>at(1),beforeEach:i.add,beforeResolve:l.add,afterEach:a.add,onError:he.add,isReady:pe,install(A){const z=this;A.component("RouterLink",r1),A.component("RouterView",a1),A.config.globalProperties.$router=z,Object.defineProperty(A.config.globalProperties,"$route",{enumerable:!0,get:()=>Mr(o)}),Jr&&!Xe&&o.value===Gn&&(Xe=!0,w(s.location).catch(ce=>{}));const B={};for(const ce in Gn)B[ce]=je(()=>o.value[ce]);A.provide(Kc,z),A.provide(hm,Ps(B)),A.provide(Po,o);const Q=A.unmount;Xt.add(A),A.unmount=function(){Xt.delete(A),Xt.size<1&&(c=Gn,x&&x(),x=null,o.value=Gn,Xe=!1,re=!1),Q()}}};return Jt}function qr(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function c1(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let l=0;lEs(c,a))?r.push(a):n.push(a));const o=e.matched[l];o&&(t.matched.find(c=>Es(c,o))||s.push(o))}return[n,r,s]}var u1=Object.defineProperty,f1=Object.getOwnPropertyDescriptor,d1=(e,t,n,r)=>{for(var s=r>1?void 0:r?f1(t,n):t,i=e.length-1,l;i>=0;i--)(l=e[i])&&(s=(r?l(t,n,s):l(s))||s);return r&&s&&u1(t,n,s),s};let Mo=class extends mr{};Mo=d1([jr({components:{}})],Mo);const Br=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},h1=e=>(ea("data-v-5f688a7c"),e=e(),ta(),e),p1={id:"Home",class:"fbox-center f-grow1"},m1=h1(()=>Te("div",{id:"box"},[Te("div",{class:"font-script-en"},"Hykilpikonna's"),Te("div",{class:"font-script-en bold"},"Road Less Traveled")],-1)),g1=[m1];function _1(e,t,n,r,s,i){return Ae(),qe("div",p1,g1)}const y1=Br(Mo,[["render",_1],["__scopeId","data-v-5f688a7c"]]),b1=[{path:"/",name:"Home",meta:{title:"Home",nav:!0},component:y1},{path:"/new-home",name:"New Home",meta:{title:"Home"},component:()=>Sn(()=>import("./NewHome.69f5532f.js"),["assets/NewHome.69f5532f.js","assets/NewHome.19d6eeff.css","assets/utils.0ccd6bd5.js","assets/ColorPicker.46cff875.js","assets/ColorPicker.b45bc4c5.css"])},{path:"/about",name:"About",meta:{title:"\u5173\u4E8E",nav:!0},component:()=>Sn(()=>import("./About.a1121b3d.js"),["assets/About.a1121b3d.js","assets/About.c2ac88aa.css","assets/utils.0ccd6bd5.js"])},{path:"/life",name:"Life",meta:{title:"\u751F\u6D3B",nav:!0},component:()=>Sn(()=>import("./Life.93359620.js").then(e=>e.L),["assets/Life.93359620.js","assets/Life.04afdab8.css"])},{path:"/blog",name:"Blog",meta:{title:"\u8BB0\u4E8B\u672C",nav:!0},component:()=>Sn(()=>import("./Blog.8a328ce9.js"),[]),props:e=>e.query},{path:"/others",name:"Others",meta:{title:"\u66F4\u591A",nav:!0},component:()=>Sn(()=>import("./Others.4f931aa1.js"),["assets/Others.4f931aa1.js","assets/Others.9849e5af.css"])},{path:"/kitchen-menu",name:"Menu",meta:{title:"\u83DC\u5355",navBookmark:"Others"},component:()=>Sn(()=>import("./Menu.4421aa88.js"),["assets/Menu.4421aa88.js","assets/Menu.8c8222c7.css"])},{path:"/friends",name:"Friends",meta:{title:"\u670B\u53CB\u4EEC",navBookmark:"Others"},component:()=>Sn(()=>import("./Friends.450c0f81.js"),["assets/Friends.450c0f81.js","assets/Friends.76bac6fa.css","assets/utils.0ccd6bd5.js"])},{path:"/projects",name:"Projects",meta:{title:"\u6211\u505A\u7684",navBookmark:"Others"},component:()=>Sn(()=>import("./Projects.bef33955.js"),[])},{path:"/color",name:"ColorPicker",meta:{title:"Color Picker"},component:()=>Sn(()=>import("./ColorPickerTest.a963b361.js"),["assets/ColorPickerTest.a963b361.js","assets/ColorPicker.46cff875.js","assets/ColorPicker.b45bc4c5.css","assets/utils.0ccd6bd5.js"])}],Il=o1({history:Sk(),routes:b1});function Dl(e){var n;const t={...(n=Il.currentRoute.value.query)!=null?n:{}};console.log(e);for(const r of Object.keys(e))e[r]==null?delete t[r]:t[r]=e[r];return Il.push({query:t})}var v1=Object.defineProperty,k1=Object.getOwnPropertyDescriptor,w1=(e,t,n,r)=>{for(var s=r>1?void 0:r?k1(t,n):t,i=e.length-1,l;i>=0;i--)(l=e[i])&&(s=(r?l(t,n,s):l(s))||s);return r&&s&&v1(t,n,s),s};let Ro=class extends mr{constructor(){super(...arguments),this.currentRoute="",this.currentLink=null,this.bookmarkCss="",this.lastTop=0,this.menuOpen=!1}showMenu(){this.menuOpen=!this.menuOpen,this.menuOpen&&setTimeout(()=>this.menuOpen=!1,2e3)}updateBookmark(e){var t,n;this.$nextTick(()=>{e.name=="Blog"&&Object.keys(e.query).length!=0||(document.title=e.meta.title?`Hykilpikonna - ${e.meta.title}`:"Hykilpikonna - Home")}),console.log("AfterEach called",e),this.currentRoute=((n=(t=e.meta)==null?void 0:t.navBookmark)!=null?n:e.name).toLowerCase(),this.calculateBookmarkCss(),this.menuOpen=!1}mounted(){var e,t;console.log("Mounted called",this.$route),Il.afterEach(this.updateBookmark),this.$route.name&&(this.currentRoute=((t=(e=this.$route.meta)==null?void 0:e.navBookmark)!=null?t:this.$route.name).toLowerCase()),window.addEventListener("resize",this.calculateBookmarkCss,!0),this.bookmarkUpdateIntervalId=window.setInterval(this.calculateBookmarkCss,1e3)}unmounted(){window.removeEventListener("resize",this.calculateBookmarkCss),window.clearInterval(this.bookmarkUpdateIntervalId)}calculateBookmarkCss(){if(this.currentRoute in this.$refs)this.currentLink=this.$refs[this.currentRoute].$el;else return;let e=this.currentLink.getBoundingClientRect();if(e.top==this.lastTop)return;this.lastTop=e.top;let t=e.bottom-e.top,n=Math.round(t/2)+8;this.bookmarkCss=`top: ${e.top-8}px;border-width: ${n}px 20px ${n}px 50px;`}};Ro=w1([jr({components:{}})],Ro);const E1="/meru_256px.png";const S1=Te("i",{class:"fas fa-bars"},null,-1),T1=[S1],O1={id:"items",class:"fbox-v"},C1=Te("div",{class:"dot"},"\xB7",-1),N1=Te("div",{class:"dot"},"\xB7",-1),P1=Te("div",{class:"dot"},"\xB7",-1),M1=Te("div",{class:"dot"},"\xB7",-1),R1=Te("svg",{focusable:"false","data-prefix":"fal","data-icon":"house-night",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 512",class:"svg-inline--fa fa-house-night fa-w-20"},[Te("path",{fill:"currentColor",d:"M112,224a111.5,111.5,0,0,0,87-41.45,20.51,20.51,0,0,0-19.75-33.08A59.2,59.2,0,0,1,138.84,39.85a20.3,20.3,0,0,0,10.07-21.27,20.26,20.26,0,0,0-16.47-16.7A136,136,0,0,0,112,0a112,112,0,0,0,0,224ZM97.78,33.27a91.21,91.21,0,0,0,54.47,147.9A80,80,0,1,1,97.78,33.27Zm97.15,35.51,39.72,16.56,16.56,39.72a5.33,5.33,0,0,0,9.55,0l16.56-39.72L317,68.78a5.33,5.33,0,0,0,0-9.54L277.32,42.68,260.76,3a5.33,5.33,0,0,0-9.55,0L234.65,42.68,194.93,59.24a5.34,5.34,0,0,0,0,9.54ZM157,379.24l-39.72-16.57L100.76,323a5.34,5.34,0,0,0-9.55,0L74.65,362.67,34.93,379.24a5.34,5.34,0,0,0,0,9.54l39.72,16.56,16.56,39.72a5.33,5.33,0,0,0,9.55,0l16.56-39.72L157,388.78a5.33,5.33,0,0,0,0-9.54Zm179-101.9v85.33A21.39,21.39,0,0,0,357.36,384h85.31A21.39,21.39,0,0,0,464,362.67V277.34A21.4,21.4,0,0,0,442.67,256H357.36A21.4,21.4,0,0,0,336,277.34ZM368,288H432v64H368Zm266.49,8L576,244.75V144a16,16,0,0,0-32,0v72.75L410.53,100a16,16,0,0,0-21.07,0l-224,196a16,16,0,0,0,21.07,24.09L224,287.28V464a48.05,48.05,0,0,0,48,48H528a48.06,48.06,0,0,0,48-48V287.28l37.46,32.78A16,16,0,0,0,634.53,296ZM544,464a16,16,0,0,1-16,16H272a16,16,0,0,1-16-16V264a15.94,15.94,0,0,0-.81-4L400,133.27l144,126Z",class:""})],-1),L1=Te("div",{class:"dot"},"\xB7",-1),I1=Te("div",{id:"nav-background"},null,-1),D1=Te("img",{id:"meru",src:E1,alt:""},null,-1);function A1(e,t,n,r,s,i){const l=ms("router-link"),a=ms("router-view");return Ae(),qe(Ve,null,[e.currentRoute!=="colorpicker"?(Ae(),qe("div",{key:0,id:"nav",class:pr(["fbox-v",e.currentRoute+" "+(e.menuOpen?"open":"")])},[Te("div",{id:"menu",onClick:t[0]||(t[0]=(...o)=>e.showMenu&&e.showMenu(...o))},T1),Te("div",O1,[ke(l,{class:"router-link",ref:"others",to:"/others"},{default:en(()=>[_n(Ot(e.$t("nav.others")),1)]),_:1},512),C1,ke(l,{class:"router-link",ref:"blog",to:"/blog"},{default:en(()=>[_n(Ot(e.$t("nav.blog")),1)]),_:1},512),N1,ke(l,{class:"router-link",ref:"life",to:"/life"},{default:en(()=>[_n(Ot(e.$t("nav.life")),1)]),_:1},512),P1,ke(l,{class:"router-link",ref:"about",to:"/about"},{default:en(()=>[_n(Ot(e.$t("nav.about")),1)]),_:1},512),M1,ke(l,{class:"router-link",ref:"home",to:"/"},{default:en(()=>[R1]),_:1},512),L1]),Te("div",{id:"nav-bookmark",ref:"bookmark",style:Os(e.bookmarkCss)},null,4),I1,D1],2)):Xn("",!0),ke(a)],64)}const x1=Br(Ro,[["render",A1]]);/*! * shared v9.2.2 * (c) 2022 kazuya kawaguchi * Released under the MIT License. diff --git a/assets/utils.f7161a61.js b/assets/utils.0ccd6bd5.js similarity index 50% rename from assets/utils.f7161a61.js rename to assets/utils.0ccd6bd5.js index 02d2261..689f8ce 100644 --- a/assets/utils.f7161a61.js +++ b/assets/utils.0ccd6bd5.js @@ -1 +1 @@ -import{V as a}from"./index.6d814e8f.js";function d(i,e,t=1){const n=e!==void 0?i:0;if(e=e!==void 0?e:i,e==n)return[];const s=e>n?1:-1;return[...Array(Math.floor(Math.abs(e-n)/t))].map((o,r)=>n+r*t*s)}function u(i,e,t){return i>t?t:ithis._keybinds[e.toLowerCase()]=this.keybinds[e])}unmounted(){document.removeEventListener("keydown",this.keyListener)}keyListener(e){let t=e.key;e.shiftKey&&(t="Shift"+t),e.altKey&&(t="Alt"+t),e.ctrlKey&&(t="Ctrl"+t),e.metaKey&&(t="Cmd"+t),t=t.toLowerCase(),console.log(t),t in this._keybinds&&this._keybinds[t](e)!==!1&&e.preventDefault()}}function f(i){return i.charAt(0).toUpperCase()+i.slice(1)}export{c as K,f as c,u as m,d as r}; +import{V as o}from"./index.710b8de0.js";function f(n,e,t=1){const i=e!==void 0?n:0;if(e=e!==void 0?e:n,e==i)return[];const s=e>i?1:-1;return[...Array(Math.floor(Math.abs(e-i)/t))].map((d,r)=>i+r*t*s)}function h(n,e,t){return n>t?t:nthis._keybinds[e.toLowerCase()]=this.keybinds[e])}unmounted(){document.removeEventListener("keydown",this.keyListener)}keyListener(e){let t=e.key;e.shiftKey&&(t="Shift"+t),e.altKey&&(t="Alt"+t),e.ctrlKey&&(t="Ctrl"+t),e.metaKey&&(t="Cmd"+t),t=t.toLowerCase(),console.log(t),t in this._keybinds&&this._keybinds[t](e)!==!1&&e.preventDefault()}}function a(n){return n.charAt(0).toUpperCase()+n.slice(1)}function l(n){let e=n.length,t;for(;e!=0;)t=Math.floor(Math.random()*e),e--,[n[e],n[t]]=[n[t],n[e]];return n}export{c as K,a as c,h as m,f as r,l as s}; diff --git a/fonts/LXGWWenKai-Regular.woff b/fonts/LXGWWenKai-Regular.woff new file mode 100644 index 0000000..b145579 Binary files /dev/null and b/fonts/LXGWWenKai-Regular.woff differ diff --git a/fonts/LXGWWenKai-Regular.woff2 b/fonts/LXGWWenKai-Regular.woff2 new file mode 100644 index 0000000..fbcae0a Binary files /dev/null and b/fonts/LXGWWenKai-Regular.woff2 differ diff --git a/index.html b/index.html index 170d3b1..23f31cf 100644 --- a/index.html +++ b/index.html @@ -11,8 +11,8 @@ - - + +