10 lines
97 KiB
JavaScript
10 lines
97 KiB
JavaScript
import{a as __toCommonJS,i as __require,n as __esmMin,o as __toESM,r as __exportAll,t as __commonJSMin}from"./chunk-jRWAZmH_.js";import{A as openBlock,B as ref,D as onMounted,I as withCtx,M as renderList,P as resolveComponent,W as toDisplayString,_ as createElementBlock,a as hosts,c as _plugin_vue_export_helper_default,f as Fragment,g as createCommentVNode,h as createBlock,m as createBaseVNode,p as computed,r as $,x as defineComponent,y as createVNode}from"./index-HVdHQ9Gs.js";import{n as g,t as Loading_default}from"./Loading-CJqZJjNt.js";import{t as capitalize}from"./utils-eoENTS7j.js";var emoji_regex_default=()=>/[#*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\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](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\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])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\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-\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]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\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(?:[\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-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\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-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\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\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\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]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\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\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\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]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\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\uDD3C-\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-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\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\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\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]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\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(e){let t=this.exec(e);return this.lastIndex=0,t};function parseExtensions(raw){let lines=raw.replace(`\r
|
|
`,`
|
|
`).split(`
|
|
`),i=0;function findSectionEnd(){let e=re.hashes.find(lines[i]);if(!e)return-1;let t=e[0].length,n=i+1;for(;n<lines.length;n++){let e=re.hashes.find(lines[n]);if(e&&e[0].length<=t)break}return n}function hideSection(){let e=findSectionEnd();e!=-1&&lines.splice(i,e-i),i--}function hideLines(e){lines.splice(i,e),i--}function add(e){lines[i]=lines[i].replace(re.command,e)}function collapseSection(){let e=findSectionEnd(),t=lines[i].substring(lines[i].indexOf(` `)+1).replace(re.command,``);lines[i]=`<Collapse title="${encodeURIComponent(t)}">`,lines.splice(e,0,`</Collapse>
|
|
`)}for(;i<lines.length;){console.log(`Line ${i}`);const r=re.command.find(lines[i]);if(r){let cmd=r[0];cmd=cmd.substring(5,cmd.length-5).trim(),console.log(`Running command`,cmd),eval(cmd)}i++}return raw==`STOP DELETING MY UNUSED FUNCTIONS!!!`&&(hideSection(),hideLines(0),add(``),collapseSection()),console.log(lines.join(`
|
|
`)),lines.join(`
|
|
`)}var hookCallback;function hooks(){return hookCallback.apply(null,arguments)}function setHookCallback(e){hookCallback=e}function isArray(e){return e instanceof Array||Object.prototype.toString.call(e)===`[object Array]`}function isObject(e){return e!=null&&Object.prototype.toString.call(e)===`[object Object]`}function hasOwnProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function isObjectEmpty(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;for(var t in e)if(hasOwnProp(e,t))return!1;return!0}function isUndefined(e){return e===void 0}function isNumber(e){return typeof e==`number`||Object.prototype.toString.call(e)===`[object Number]`}function isDate(e){return e instanceof Date||Object.prototype.toString.call(e)===`[object Date]`}function map(e,t){var n=[],a,o=e.length;for(a=0;a<o;++a)n.push(t(e[a],a));return n}function extend(e,t){for(var n in t)hasOwnProp(t,n)&&(e[n]=t[n]);return hasOwnProp(t,`toString`)&&(e.toString=t.toString),hasOwnProp(t,`valueOf`)&&(e.valueOf=t.valueOf),e}function createUTC(e,t,n,a){return createLocalOrUTC(e,t,n,a,!0).utc()}function defaultParsingFlags(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function getParsingFlags(e){return e._pf??=defaultParsingFlags(),e._pf}var some=Array.prototype.some?Array.prototype.some:function(e){var t=Object(this),n=t.length>>>0,a;for(a=0;a<n;a++)if(a in t&&e.call(this,t[a],a,t))return!0;return!1};function isValid(e){var t=null,n=!1,a=e._d&&!isNaN(e._d.getTime());if(a&&(t=getParsingFlags(e),n=some.call(t.parsedDateParts,function(e){return e!=null}),a=t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(a=a&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=a;else return a;return e._isValid}function createInvalid(e){var t=createUTC(NaN);return e==null?getParsingFlags(t).userInvalidated=!0:extend(getParsingFlags(t),e),t}var momentProperties=hooks.momentProperties=[],updateInProgress=!1;function copyConfig(e,t){var n,a,o,s=momentProperties.length;if(isUndefined(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),isUndefined(t._i)||(e._i=t._i),isUndefined(t._f)||(e._f=t._f),isUndefined(t._l)||(e._l=t._l),isUndefined(t._strict)||(e._strict=t._strict),isUndefined(t._tzm)||(e._tzm=t._tzm),isUndefined(t._isUTC)||(e._isUTC=t._isUTC),isUndefined(t._offset)||(e._offset=t._offset),isUndefined(t._pf)||(e._pf=getParsingFlags(t)),isUndefined(t._locale)||(e._locale=t._locale),s>0)for(n=0;n<s;n++)a=momentProperties[n],o=t[a],isUndefined(o)||(e[a]=o);return e}function Moment(e){copyConfig(this,e),this._d=new Date(e._d==null?NaN:e._d.getTime()),this.isValid()||(this._d=new Date(NaN)),updateInProgress===!1&&(updateInProgress=!0,hooks.updateOffset(this),updateInProgress=!1)}function isMoment(e){return e instanceof Moment||e!=null&&e._isAMomentObject!=null}function warn(e){hooks.suppressDeprecationWarnings===!1&&typeof console<`u`&&console.warn&&console.warn(`Deprecation warning: `+e)}function deprecate(e,t){var n=!0;return extend(function(){if(hooks.deprecationHandler!=null&&hooks.deprecationHandler(null,e),n){var a=[],o,s,c,l=arguments.length;for(s=0;s<l;s++){if(o=``,typeof arguments[s]==`object`){for(c in o+=`
|
|
[`+s+`] `,arguments[0])hasOwnProp(arguments[0],c)&&(o+=c+`: `+arguments[0][c]+`, `);o=o.slice(0,-2)}else o=arguments[s];a.push(o)}warn(e+`
|
|
Arguments: `+Array.prototype.slice.call(a).join(``)+`
|
|
`+Error().stack),n=!1}return t.apply(this,arguments)},t)}var deprecations={};function deprecateSimple(e,t){hooks.deprecationHandler!=null&&hooks.deprecationHandler(e,t),deprecations[e]||(warn(t),deprecations[e]=!0)}hooks.suppressDeprecationWarnings=!1,hooks.deprecationHandler=null;function isFunction(e){return typeof Function<`u`&&e instanceof Function||Object.prototype.toString.call(e)===`[object Function]`}function set(e){var t,n;for(n in e)hasOwnProp(e,n)&&(t=e[n],isFunction(t)?this[n]=t:this[`_`+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+`|\\d{1,2}`)}function mergeConfigs(e,t){var n=extend({},e),a;for(a in t)hasOwnProp(t,a)&&(isObject(e[a])&&isObject(t[a])?(n[a]={},extend(n[a],e[a]),extend(n[a],t[a])):t[a]==null?delete n[a]:n[a]=t[a]);for(a in e)hasOwnProp(e,a)&&!hasOwnProp(t,a)&&isObject(e[a])&&(n[a]=extend({},n[a]));return n}function Locale(e){e!=null&&this.set(e)}var keys=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)hasOwnProp(e,t)&&n.push(t);return n},defaultCalendar={sameDay:`[Today at] LT`,nextDay:`[Tomorrow at] LT`,nextWeek:`dddd [at] LT`,lastDay:`[Yesterday at] LT`,lastWeek:`[Last] dddd [at] LT`,sameElse:`L`};function calendar(e,t,n){var a=this._calendar[e]||this._calendar.sameElse;return isFunction(a)?a.call(t,n):a}function zeroFill(e,t,n){var a=``+Math.abs(e),o=t-a.length;return(e>=0?n?`+`:``:`-`)+(10**Math.max(0,o)).toString().substr(1)+a}var formattingTokens=/(\[[^\[]*\])|(\\)?([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,localFormattingTokens=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,formatFunctions={},formatTokenFunctions={};function addFormatToken(e,t,n,a){var o=a;typeof a==`string`&&(o=function(){return this[a]()}),e&&(formatTokenFunctions[e]=o),t&&(formatTokenFunctions[t[0]]=function(){return zeroFill(o.apply(this,arguments),t[1],t[2])}),n&&(formatTokenFunctions[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function removeFormattingTokens(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,``):e.replace(/\\/g,``)}function makeFormatFunction(e){var t=e.match(formattingTokens),n,a;for(n=0,a=t.length;n<a;n++)formatTokenFunctions[t[n]]?t[n]=formatTokenFunctions[t[n]]:t[n]=removeFormattingTokens(t[n]);return function(n){var o=``,s;for(s=0;s<a;s++)o+=isFunction(t[s])?t[s].call(n,e):t[s];return o}}function formatMoment(e,t){return e.isValid()?(t=expandFormat(t,e.localeData()),formatFunctions[t]=formatFunctions[t]||makeFormatFunction(t),formatFunctions[t](e)):e.localeData().invalidDate()}function expandFormat(e,t){var n=5;function a(e){return t.longDateFormat(e)||e}for(localFormattingTokens.lastIndex=0;n>=0&&localFormattingTokens.test(e);)e=e.replace(localFormattingTokens,a),localFormattingTokens.lastIndex=0,--n;return e}var defaultLongDateFormat={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 longDateFormat(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(formattingTokens).map(function(e){return e===`MMMM`||e===`MM`||e===`DD`||e===`dddd`?e.slice(1):e}).join(``),this._longDateFormat[e])}var defaultInvalidDate=`Invalid date`;function invalidDate(){return this._invalidDate}var defaultOrdinal=`%d`,defaultDayOfMonthOrdinalParse=/\d{1,2}/;function ordinal(e){return this._ordinal.replace(`%d`,e)}var defaultRelativeTime={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 relativeTime(e,t,n,a){var o=this._relativeTime[n];return isFunction(o)?o(e,t,n,a):o.replace(/%d/i,e)}function pastFuture(e,t){var n=this._relativeTime[e>0?`future`:`past`];return isFunction(n)?n(t):n.replace(/%s/i,t)}var aliases={D:`date`,dates:`date`,date:`date`,d:`day`,days:`day`,day:`day`,e:`weekday`,weekdays:`weekday`,weekday:`weekday`,E:`isoWeekday`,isoweekdays:`isoWeekday`,isoweekday:`isoWeekday`,DDD:`dayOfYear`,dayofyears:`dayOfYear`,dayofyear:`dayOfYear`,h:`hour`,hours:`hour`,hour:`hour`,ms:`millisecond`,milliseconds:`millisecond`,millisecond:`millisecond`,m:`minute`,minutes:`minute`,minute:`minute`,M:`month`,months:`month`,month:`month`,Q:`quarter`,quarters:`quarter`,quarter:`quarter`,s:`second`,seconds:`second`,second:`second`,gg:`weekYear`,weekyears:`weekYear`,weekyear:`weekYear`,GG:`isoWeekYear`,isoweekyears:`isoWeekYear`,isoweekyear:`isoWeekYear`,w:`week`,weeks:`week`,week:`week`,W:`isoWeek`,isoweeks:`isoWeek`,isoweek:`isoWeek`,y:`year`,years:`year`,year:`year`};function normalizeUnits(e){return typeof e==`string`?aliases[e]||aliases[e.toLowerCase()]:void 0}function normalizeObjectUnits(e){var t={},n,a;for(a in e)hasOwnProp(e,a)&&(n=normalizeUnits(a),n&&(t[n]=e[a]));return t}var priorities={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function getPrioritizedUnits(e){var t=[],n;for(n in e)hasOwnProp(e,n)&&t.push({unit:n,priority:priorities[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}var match1=/\d/,match2=/\d\d/,match3=/\d{3}/,match4=/\d{4}/,match6=/[+-]?\d{6}/,match1to2=/\d\d?/,match3to4=/\d\d\d\d?/,match5to6=/\d\d\d\d\d\d?/,match1to3=/\d{1,3}/,match1to4=/\d{1,4}/,match1to6=/[+-]?\d{1,6}/,matchUnsigned=/\d+/,matchSigned=/[+-]?\d+/,matchOffset=/Z|[+-]\d\d:?\d\d/gi,matchShortOffset=/Z|[+-]\d\d(?::?\d\d)?/gi,matchTimestamp=/[+-]?\d+(\.\d{1,3})?/,matchWord=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,match1to2NoLeadingZero=/^[1-9]\d?/,match1to2HasZero=/^([1-9]\d|\d)/,regexes={};function addRegexToken(e,t,n){regexes[e]=isFunction(t)?t:function(e,a){return e&&n?n:t}}function getParseRegexForToken(e,t){return hasOwnProp(regexes,e)?regexes[e](t._strict,t._locale):new RegExp(unescapeFormat(e))}function unescapeFormat(e){return regexEscape(e.replace(`\\`,``).replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,a,o){return t||n||a||o}))}function regexEscape(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,`\\$&`)}function absFloor(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function toInt(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=absFloor(t)),n}var tokens={};function addParseToken(e,t){var n,a=t,o;for(typeof e==`string`&&(e=[e]),isNumber(t)&&(a=function(e,n){n[t]=toInt(e)}),o=e.length,n=0;n<o;n++)tokens[e[n]]=a}function addWeekParseToken(e,t){addParseToken(e,function(e,n,a,o){a._w=a._w||{},t(e,a._w,a,o)})}function addTimeToArrayFromToken(e,t,n){t!=null&&hasOwnProp(tokens,e)&&tokens[e](t,n._a,n,e)}function isLeapYear(e){return e%4==0&&e%100!=0||e%400==0}var YEAR=0,MONTH=1,DATE=2,HOUR=3,MINUTE=4,SECOND=5,MILLISECOND=6,WEEK=7,WEEKDAY=8;addFormatToken(`Y`,0,0,function(){var e=this.year();return e<=9999?zeroFill(e,4):`+`+e}),addFormatToken(0,[`YY`,2],0,function(){return this.year()%100}),addFormatToken(0,[`YYYY`,4],0,`year`),addFormatToken(0,[`YYYYY`,5],0,`year`),addFormatToken(0,[`YYYYYY`,6,!0],0,`year`),addRegexToken(`Y`,matchSigned),addRegexToken(`YY`,match1to2,match2),addRegexToken(`YYYY`,match1to4,match4),addRegexToken(`YYYYY`,match1to6,match6),addRegexToken(`YYYYYY`,match1to6,match6),addParseToken([`YYYYY`,`YYYYYY`],YEAR),addParseToken(`YYYY`,function(e,t){t[YEAR]=e.length===2?hooks.parseTwoDigitYear(e):toInt(e)}),addParseToken(`YY`,function(e,t){t[YEAR]=hooks.parseTwoDigitYear(e)}),addParseToken(`Y`,function(e,t){t[YEAR]=parseInt(e,10)});function daysInYear(e){return isLeapYear(e)?366:365}hooks.parseTwoDigitYear=function(e){return toInt(e)+(toInt(e)>68?1900:2e3)};var getSetYear=makeGetSet(`FullYear`,!0);function getIsLeapYear(){return isLeapYear(this.year())}function makeGetSet(e,t){return function(n){return n==null?get(this,e):(set$1(this,e,n),hooks.updateOffset(this,t),this)}}function get(e,t){if(!e.isValid())return NaN;var n=e._d,a=e._isUTC;switch(t){case`Milliseconds`:return a?n.getUTCMilliseconds():n.getMilliseconds();case`Seconds`:return a?n.getUTCSeconds():n.getSeconds();case`Minutes`:return a?n.getUTCMinutes():n.getMinutes();case`Hours`:return a?n.getUTCHours():n.getHours();case`Date`:return a?n.getUTCDate():n.getDate();case`Day`:return a?n.getUTCDay():n.getDay();case`Month`:return a?n.getUTCMonth():n.getMonth();case`FullYear`:return a?n.getUTCFullYear():n.getFullYear();default:return NaN}}function set$1(e,t,n){var a,o,s,c,l;if(!(!e.isValid()||isNaN(n))){switch(a=e._d,o=e._isUTC,t){case`Milliseconds`:o?a.setUTCMilliseconds(n):a.setMilliseconds(n);return;case`Seconds`:o?a.setUTCSeconds(n):a.setSeconds(n);return;case`Minutes`:o?a.setUTCMinutes(n):a.setMinutes(n);return;case`Hours`:o?a.setUTCHours(n):a.setHours(n);return;case`Date`:o?a.setUTCDate(n):a.setDate(n);return;case`FullYear`:break;default:return}s=n,c=e.month(),l=e.date(),l=l===29&&c===1&&!isLeapYear(s)?28:l,o?a.setUTCFullYear(s,c,l):a.setFullYear(s,c,l)}}function stringGet(e){return e=normalizeUnits(e),isFunction(this[e])?this[e]():this}function stringSet(e,t){if(typeof e==`object`){e=normalizeObjectUnits(e);var n=getPrioritizedUnits(e),a,o=n.length;for(a=0;a<o;a++)this[n[a].unit](e[n[a].unit])}else if(e=normalizeUnits(e),isFunction(this[e]))return this[e](t);return this}function mod(e,t){return(e%t+t)%t}var indexOf=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};function daysInMonth(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=mod(t,12);return e+=(t-n)/12,n===1?isLeapYear(e)?29:28:31-n%7%2}addFormatToken(`M`,[`MM`,2],`Mo`,function(){return this.month()+1}),addFormatToken(`MMM`,0,0,function(e){return this.localeData().monthsShort(this,e)}),addFormatToken(`MMMM`,0,0,function(e){return this.localeData().months(this,e)}),addRegexToken(`M`,match1to2,match1to2NoLeadingZero),addRegexToken(`MM`,match1to2,match2),addRegexToken(`MMM`,function(e,t){return t.monthsShortRegex(e)}),addRegexToken(`MMMM`,function(e,t){return t.monthsRegex(e)}),addParseToken([`M`,`MM`],function(e,t){t[MONTH]=toInt(e)-1}),addParseToken([`MMM`,`MMMM`],function(e,t,n,a){var o=n._locale.monthsParse(e,a,n._strict);o==null?getParsingFlags(n).invalidMonth=e:t[MONTH]=o});var defaultLocaleMonths=`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),defaultLocaleMonthsShort=`Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec`.split(`_`),MONTHS_IN_FORMAT=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,defaultMonthsShortRegex=matchWord,defaultMonthsRegex=matchWord;function localeMonths(e,t){return e?isArray(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||MONTHS_IN_FORMAT).test(t)?`format`:`standalone`][e.month()]:isArray(this._months)?this._months:this._months.standalone}function localeMonthsShort(e,t){return e?isArray(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[MONTHS_IN_FORMAT.test(t)?`format`:`standalone`][e.month()]:isArray(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function handleStrictParse(e,t,n){var a,o,s,c=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],a=0;a<12;++a)s=createUTC([2e3,a]),this._shortMonthsParse[a]=this.monthsShort(s,``).toLocaleLowerCase(),this._longMonthsParse[a]=this.months(s,``).toLocaleLowerCase();return n?t===`MMM`?(o=indexOf.call(this._shortMonthsParse,c),o===-1?null:o):(o=indexOf.call(this._longMonthsParse,c),o===-1?null:o):t===`MMM`?(o=indexOf.call(this._shortMonthsParse,c),o===-1?(o=indexOf.call(this._longMonthsParse,c),o===-1?null:o):o):(o=indexOf.call(this._longMonthsParse,c),o===-1?(o=indexOf.call(this._shortMonthsParse,c),o===-1?null:o):o)}function localeMonthsParse(e,t,n){var a,o,s;if(this._monthsParseExact)return handleStrictParse.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),a=0;a<12;a++)if(o=createUTC([2e3,a]),n&&!this._longMonthsParse[a]&&(this._longMonthsParse[a]=RegExp(`^`+this.months(o,``).replace(`.`,``)+`$`,`i`),this._shortMonthsParse[a]=RegExp(`^`+this.monthsShort(o,``).replace(`.`,``)+`$`,`i`)),!n&&!this._monthsParse[a]&&(s=`^`+this.months(o,``)+`|^`+this.monthsShort(o,``),this._monthsParse[a]=new RegExp(s.replace(`.`,``),`i`)),n&&t===`MMMM`&&this._longMonthsParse[a].test(e)||n&&t===`MMM`&&this._shortMonthsParse[a].test(e)||!n&&this._monthsParse[a].test(e))return a}function setMonth(e,t){if(!e.isValid())return e;if(typeof t==`string`){if(/^\d+$/.test(t))t=toInt(t);else if(t=e.localeData().monthsParse(t),!isNumber(t))return e}var n=t,a=e.date();return a=a<29?a:Math.min(a,daysInMonth(e.year(),n)),e._isUTC?e._d.setUTCMonth(n,a):e._d.setMonth(n,a),e}function getSetMonth(e){return e==null?get(this,`Month`):(setMonth(this,e),hooks.updateOffset(this,!0),this)}function getDaysInMonth(){return daysInMonth(this.year(),this.month())}function monthsShortRegex(e){return this._monthsParseExact?(hasOwnProp(this,`_monthsRegex`)||computeMonthsParse.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(hasOwnProp(this,`_monthsShortRegex`)||(this._monthsShortRegex=defaultMonthsShortRegex),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function monthsRegex(e){return this._monthsParseExact?(hasOwnProp(this,`_monthsRegex`)||computeMonthsParse.call(this),e?this._monthsStrictRegex:this._monthsRegex):(hasOwnProp(this,`_monthsRegex`)||(this._monthsRegex=defaultMonthsRegex),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function computeMonthsParse(){function e(e,t){return t.length-e.length}var t=[],n=[],a=[],o,s,c,l;for(o=0;o<12;o++)s=createUTC([2e3,o]),c=regexEscape(this.monthsShort(s,``)),l=regexEscape(this.months(s,``)),t.push(c),n.push(l),a.push(l),a.push(c);t.sort(e),n.sort(e),a.sort(e),this._monthsRegex=RegExp(`^(`+a.join(`|`)+`)`,`i`),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._monthsShortStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function createDate(e,t,n,a,o,s,c){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,a,o,s,c),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,a,o,s,c),l}function createUTCDate(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 firstWeekOffset(e,t,n){var a=7+t-n;return-((7+createUTCDate(e,0,a).getUTCDay()-t)%7)+a-1}function dayOfYearFromWeeks(e,t,n,a,o){var s=(7+n-a)%7,c=firstWeekOffset(e,a,o),l=1+7*(t-1)+s+c,u,d;return l<=0?(u=e-1,d=daysInYear(u)+l):l>daysInYear(e)?(u=e+1,d=l-daysInYear(e)):(u=e,d=l),{year:u,dayOfYear:d}}function weekOfYear(e,t,n){var a=firstWeekOffset(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1,s,c;return o<1?(c=e.year()-1,s=o+weeksInYear(c,t,n)):o>weeksInYear(e.year(),t,n)?(s=o-weeksInYear(e.year(),t,n),c=e.year()+1):(c=e.year(),s=o),{week:s,year:c}}function weeksInYear(e,t,n){var a=firstWeekOffset(e,t,n),o=firstWeekOffset(e+1,t,n);return(daysInYear(e)-a+o)/7}addFormatToken(`w`,[`ww`,2],`wo`,`week`),addFormatToken(`W`,[`WW`,2],`Wo`,`isoWeek`),addRegexToken(`w`,match1to2,match1to2NoLeadingZero),addRegexToken(`ww`,match1to2,match2),addRegexToken(`W`,match1to2,match1to2NoLeadingZero),addRegexToken(`WW`,match1to2,match2),addWeekParseToken([`w`,`ww`,`W`,`WW`],function(e,t,n,a){t[a.substr(0,1)]=toInt(e)});function localeWeek(e){return weekOfYear(e,this._week.dow,this._week.doy).week}var defaultLocaleWeek={dow:0,doy:6};function localeFirstDayOfWeek(){return this._week.dow}function localeFirstDayOfYear(){return this._week.doy}function getSetWeek(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,`d`)}function getSetISOWeek(e){var t=weekOfYear(this,1,4).week;return e==null?t:this.add((e-t)*7,`d`)}addFormatToken(`d`,0,`do`,`day`),addFormatToken(`dd`,0,0,function(e){return this.localeData().weekdaysMin(this,e)}),addFormatToken(`ddd`,0,0,function(e){return this.localeData().weekdaysShort(this,e)}),addFormatToken(`dddd`,0,0,function(e){return this.localeData().weekdays(this,e)}),addFormatToken(`e`,0,0,`weekday`),addFormatToken(`E`,0,0,`isoWeekday`),addRegexToken(`d`,match1to2),addRegexToken(`e`,match1to2),addRegexToken(`E`,match1to2),addRegexToken(`dd`,function(e,t){return t.weekdaysMinRegex(e)}),addRegexToken(`ddd`,function(e,t){return t.weekdaysShortRegex(e)}),addRegexToken(`dddd`,function(e,t){return t.weekdaysRegex(e)}),addWeekParseToken([`dd`,`ddd`,`dddd`],function(e,t,n,a){var o=n._locale.weekdaysParse(e,a,n._strict);o==null?getParsingFlags(n).invalidWeekday=e:t.d=o}),addWeekParseToken([`d`,`e`,`E`],function(e,t,n,a){t[a]=toInt(e)});function parseWeekday(e,t){return typeof e==`string`?isNaN(e)?(e=t.weekdaysParse(e),typeof e==`number`?e:null):parseInt(e,10):e}function parseIsoWeekday(e,t){return typeof e==`string`?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function shiftWeekdays(e,t){return e.slice(t,7).concat(e.slice(0,t))}var defaultLocaleWeekdays=`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),defaultLocaleWeekdaysShort=`Sun_Mon_Tue_Wed_Thu_Fri_Sat`.split(`_`),defaultLocaleWeekdaysMin=`Su_Mo_Tu_We_Th_Fr_Sa`.split(`_`),defaultWeekdaysRegex=matchWord,defaultWeekdaysShortRegex=matchWord,defaultWeekdaysMinRegex=matchWord;function localeWeekdays(e,t){var n=isArray(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?`format`:`standalone`];return e===!0?shiftWeekdays(n,this._week.dow):e?n[e.day()]:n}function localeWeekdaysShort(e){return e===!0?shiftWeekdays(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function localeWeekdaysMin(e){return e===!0?shiftWeekdays(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function handleStrictParse$1(e,t,n){var a,o,s,c=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],a=0;a<7;++a)s=createUTC([2e3,1]).day(a),this._minWeekdaysParse[a]=this.weekdaysMin(s,``).toLocaleLowerCase(),this._shortWeekdaysParse[a]=this.weekdaysShort(s,``).toLocaleLowerCase(),this._weekdaysParse[a]=this.weekdays(s,``).toLocaleLowerCase();return n?t===`dddd`?(o=indexOf.call(this._weekdaysParse,c),o===-1?null:o):t===`ddd`?(o=indexOf.call(this._shortWeekdaysParse,c),o===-1?null:o):(o=indexOf.call(this._minWeekdaysParse,c),o===-1?null:o):t===`dddd`?(o=indexOf.call(this._weekdaysParse,c),o!==-1||(o=indexOf.call(this._shortWeekdaysParse,c),o!==-1)?o:(o=indexOf.call(this._minWeekdaysParse,c),o===-1?null:o)):t===`ddd`?(o=indexOf.call(this._shortWeekdaysParse,c),o!==-1||(o=indexOf.call(this._weekdaysParse,c),o!==-1)?o:(o=indexOf.call(this._minWeekdaysParse,c),o===-1?null:o)):(o=indexOf.call(this._minWeekdaysParse,c),o!==-1||(o=indexOf.call(this._weekdaysParse,c),o!==-1)?o:(o=indexOf.call(this._shortWeekdaysParse,c),o===-1?null:o))}function localeWeekdaysParse(e,t,n){var a,o,s;if(this._weekdaysParseExact)return handleStrictParse$1.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),a=0;a<7;a++)if(o=createUTC([2e3,1]).day(a),n&&!this._fullWeekdaysParse[a]&&(this._fullWeekdaysParse[a]=RegExp(`^`+this.weekdays(o,``).replace(`.`,`\\.?`)+`$`,`i`),this._shortWeekdaysParse[a]=RegExp(`^`+this.weekdaysShort(o,``).replace(`.`,`\\.?`)+`$`,`i`),this._minWeekdaysParse[a]=RegExp(`^`+this.weekdaysMin(o,``).replace(`.`,`\\.?`)+`$`,`i`)),this._weekdaysParse[a]||(s=`^`+this.weekdays(o,``)+`|^`+this.weekdaysShort(o,``)+`|^`+this.weekdaysMin(o,``),this._weekdaysParse[a]=new RegExp(s.replace(`.`,``),`i`)),n&&t===`dddd`&&this._fullWeekdaysParse[a].test(e)||n&&t===`ddd`&&this._shortWeekdaysParse[a].test(e)||n&&t===`dd`&&this._minWeekdaysParse[a].test(e)||!n&&this._weekdaysParse[a].test(e))return a}function getSetDayOfWeek(e){if(!this.isValid())return e==null?NaN:this;var t=get(this,`Day`);return e==null?t:(e=parseWeekday(e,this.localeData()),this.add(e-t,`d`))}function getSetLocaleDayOfWeek(e){if(!this.isValid())return e==null?NaN:this;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,`d`)}function getSetISODayOfWeek(e){if(!this.isValid())return e==null?NaN:this;if(e!=null){var t=parseIsoWeekday(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function weekdaysRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,`_weekdaysRegex`)||computeWeekdaysParse.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(hasOwnProp(this,`_weekdaysRegex`)||(this._weekdaysRegex=defaultWeekdaysRegex),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function weekdaysShortRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,`_weekdaysRegex`)||computeWeekdaysParse.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(hasOwnProp(this,`_weekdaysShortRegex`)||(this._weekdaysShortRegex=defaultWeekdaysShortRegex),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function weekdaysMinRegex(e){return this._weekdaysParseExact?(hasOwnProp(this,`_weekdaysRegex`)||computeWeekdaysParse.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(hasOwnProp(this,`_weekdaysMinRegex`)||(this._weekdaysMinRegex=defaultWeekdaysMinRegex),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function computeWeekdaysParse(){function e(e,t){return t.length-e.length}var t=[],n=[],a=[],o=[],s,c,l,u,d;for(s=0;s<7;s++)c=createUTC([2e3,1]).day(s),l=regexEscape(this.weekdaysMin(c,``)),u=regexEscape(this.weekdaysShort(c,``)),d=regexEscape(this.weekdays(c,``)),t.push(l),n.push(u),a.push(d),o.push(l),o.push(u),o.push(d);t.sort(e),n.sort(e),a.sort(e),o.sort(e),this._weekdaysRegex=RegExp(`^(`+o.join(`|`)+`)`,`i`),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=RegExp(`^(`+a.join(`|`)+`)`,`i`),this._weekdaysShortStrictRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`),this._weekdaysMinStrictRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`)}function hFormat(){return this.hours()%12||12}function kFormat(){return this.hours()||24}addFormatToken(`H`,[`HH`,2],0,`hour`),addFormatToken(`h`,[`hh`,2],0,hFormat),addFormatToken(`k`,[`kk`,2],0,kFormat),addFormatToken(`hmm`,0,0,function(){return``+hFormat.apply(this)+zeroFill(this.minutes(),2)}),addFormatToken(`hmmss`,0,0,function(){return``+hFormat.apply(this)+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)}),addFormatToken(`Hmm`,0,0,function(){return``+this.hours()+zeroFill(this.minutes(),2)}),addFormatToken(`Hmmss`,0,0,function(){return``+this.hours()+zeroFill(this.minutes(),2)+zeroFill(this.seconds(),2)});function meridiem(e,t){addFormatToken(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}meridiem(`a`,!0),meridiem(`A`,!1);function matchMeridiem(e,t){return t._meridiemParse}addRegexToken(`a`,matchMeridiem),addRegexToken(`A`,matchMeridiem),addRegexToken(`H`,match1to2,match1to2HasZero),addRegexToken(`h`,match1to2,match1to2NoLeadingZero),addRegexToken(`k`,match1to2,match1to2NoLeadingZero),addRegexToken(`HH`,match1to2,match2),addRegexToken(`hh`,match1to2,match2),addRegexToken(`kk`,match1to2,match2),addRegexToken(`hmm`,match3to4),addRegexToken(`hmmss`,match5to6),addRegexToken(`Hmm`,match3to4),addRegexToken(`Hmmss`,match5to6),addParseToken([`H`,`HH`],HOUR),addParseToken([`k`,`kk`],function(e,t,n){var a=toInt(e);t[HOUR]=a===24?0:a}),addParseToken([`a`,`A`],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),addParseToken([`h`,`hh`],function(e,t,n){t[HOUR]=toInt(e),getParsingFlags(n).bigHour=!0}),addParseToken(`hmm`,function(e,t,n){var a=e.length-2;t[HOUR]=toInt(e.substr(0,a)),t[MINUTE]=toInt(e.substr(a)),getParsingFlags(n).bigHour=!0}),addParseToken(`hmmss`,function(e,t,n){var a=e.length-4,o=e.length-2;t[HOUR]=toInt(e.substr(0,a)),t[MINUTE]=toInt(e.substr(a,2)),t[SECOND]=toInt(e.substr(o)),getParsingFlags(n).bigHour=!0}),addParseToken(`Hmm`,function(e,t,n){var a=e.length-2;t[HOUR]=toInt(e.substr(0,a)),t[MINUTE]=toInt(e.substr(a))}),addParseToken(`Hmmss`,function(e,t,n){var a=e.length-4,o=e.length-2;t[HOUR]=toInt(e.substr(0,a)),t[MINUTE]=toInt(e.substr(a,2)),t[SECOND]=toInt(e.substr(o))});function localeIsPM(e){return(e+``).toLowerCase().charAt(0)===`p`}var defaultLocaleMeridiemParse=/[ap]\.?m?\.?/i,getSetHour=makeGetSet(`Hours`,!0);function localeMeridiem(e,t,n){return e>11?n?`pm`:`PM`:n?`am`:`AM`}var baseConfig={calendar:defaultCalendar,longDateFormat:defaultLongDateFormat,invalidDate:defaultInvalidDate,ordinal:defaultOrdinal,dayOfMonthOrdinalParse:defaultDayOfMonthOrdinalParse,relativeTime:defaultRelativeTime,months:defaultLocaleMonths,monthsShort:defaultLocaleMonthsShort,week:defaultLocaleWeek,weekdays:defaultLocaleWeekdays,weekdaysMin:defaultLocaleWeekdaysMin,weekdaysShort:defaultLocaleWeekdaysShort,meridiemParse:defaultLocaleMeridiemParse},locales={},localeFamilies={},globalLocale;function commonPrefix(e,t){var n,a=Math.min(e.length,t.length);for(n=0;n<a;n+=1)if(e[n]!==t[n])return n;return a}function normalizeLocale(e){return e&&e.toLowerCase().replace(`_`,`-`)}function chooseLocale(e){for(var t=0,n,a,o,s;t<e.length;){for(s=normalizeLocale(e[t]).split(`-`),n=s.length,a=normalizeLocale(e[t+1]),a=a?a.split(`-`):null;n>0;){if(o=loadLocale(s.slice(0,n).join(`-`)),o)return o;if(a&&a.length>=n&&commonPrefix(s,a)>=n-1)break;n--}t++}return globalLocale}function isLocaleNameSane(e){return!!(e&&e.match(`^[^/\\\\]*$`))}function loadLocale(e){var t=null,n;if(locales[e]===void 0&&typeof module<`u`&&module&&module.exports&&isLocaleNameSane(e))try{t=globalLocale._abbr,n=__require,n(`./locale/`+e),getSetGlobalLocale(t)}catch{locales[e]=null}return locales[e]}function getSetGlobalLocale(e,t){var n;return e&&(n=isUndefined(t)?getLocale(e):defineLocale(e,t),n?globalLocale=n:typeof console<`u`&&console.warn&&console.warn(`Locale `+e+` not found. Did you forget to load it?`)),globalLocale._abbr}function defineLocale(e,t){if(t!==null){var n,a=baseConfig;if(t.abbr=e,locales[e]!=null)deprecateSimple(`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.`),a=locales[e]._config;else if(t.parentLocale!=null)if(locales[t.parentLocale]!=null)a=locales[t.parentLocale]._config;else if(n=loadLocale(t.parentLocale),n!=null)a=n._config;else return localeFamilies[t.parentLocale]||(localeFamilies[t.parentLocale]=[]),localeFamilies[t.parentLocale].push({name:e,config:t}),null;return locales[e]=new Locale(mergeConfigs(a,t)),localeFamilies[e]&&localeFamilies[e].forEach(function(e){defineLocale(e.name,e.config)}),getSetGlobalLocale(e),locales[e]}else return delete locales[e],null}function updateLocale(e,t){if(t!=null){var n,a,o=baseConfig;locales[e]!=null&&locales[e].parentLocale!=null?locales[e].set(mergeConfigs(locales[e]._config,t)):(a=loadLocale(e),a!=null&&(o=a._config),t=mergeConfigs(o,t),a??(t.abbr=e),n=new Locale(t),n.parentLocale=locales[e],locales[e]=n),getSetGlobalLocale(e)}else locales[e]!=null&&(locales[e].parentLocale==null?locales[e]!=null&&delete locales[e]:(locales[e]=locales[e].parentLocale,e===getSetGlobalLocale()&&getSetGlobalLocale(e)));return locales[e]}function getLocale(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return globalLocale;if(!isArray(e)){if(t=loadLocale(e),t)return t;e=[e]}return chooseLocale(e)}function listLocales(){return keys(locales)}function checkOverflow(e){var t,n=e._a;return n&&getParsingFlags(e).overflow===-2&&(t=n[MONTH]<0||n[MONTH]>11?MONTH:n[DATE]<1||n[DATE]>daysInMonth(n[YEAR],n[MONTH])?DATE:n[HOUR]<0||n[HOUR]>24||n[HOUR]===24&&(n[MINUTE]!==0||n[SECOND]!==0||n[MILLISECOND]!==0)?HOUR:n[MINUTE]<0||n[MINUTE]>59?MINUTE:n[SECOND]<0||n[SECOND]>59?SECOND:n[MILLISECOND]<0||n[MILLISECOND]>999?MILLISECOND:-1,getParsingFlags(e)._overflowDayOfYear&&(t<YEAR||t>DATE)&&(t=DATE),getParsingFlags(e)._overflowWeeks&&t===-1&&(t=WEEK),getParsingFlags(e)._overflowWeekday&&t===-1&&(t=WEEKDAY),getParsingFlags(e).overflow=t),e}var extendedIsoRegex=/^\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)?)?$/,basicIsoRegex=/^\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)?)?$/,tzRegex=/Z|[+-]\d\d(?::?\d\d)?/,isoDates=[[`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]],isoTimes=[[`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/]],aspNetJsonRegex=/^\/?Date\((-?\d+)/i,rfc2822=/^(?:(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}))$/,obsOffsets={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function configFromISO(e){var t,n,a=e._i,o=extendedIsoRegex.exec(a)||basicIsoRegex.exec(a),s,c,l,u,d=isoDates.length,f=isoTimes.length;if(o){for(getParsingFlags(e).iso=!0,t=0,n=d;t<n;t++)if(isoDates[t][1].exec(o[1])){c=isoDates[t][0],s=isoDates[t][2]!==!1;break}if(c==null){e._isValid=!1;return}if(o[3]){for(t=0,n=f;t<n;t++)if(isoTimes[t][1].exec(o[3])){l=(o[2]||` `)+isoTimes[t][0];break}if(l==null){e._isValid=!1;return}}if(!s&&l!=null){e._isValid=!1;return}if(o[4])if(tzRegex.exec(o[4]))u=`Z`;else{e._isValid=!1;return}e._f=c+(l||``)+(u||``),configFromStringAndFormat(e)}else e._isValid=!1}function extractFromRFC2822Strings(e,t,n,a,o,s){var c=[untruncateYear(e),defaultLocaleMonthsShort.indexOf(t),parseInt(n,10),parseInt(a,10),parseInt(o,10)];return s&&c.push(parseInt(s,10)),c}function untruncateYear(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g,` `).replace(/(\s\s+)/g,` `).replace(/^\s\s*/,``).replace(/\s\s*$/,``)}function checkWeekday(e,t,n){return e&&defaultLocaleWeekdaysShort.indexOf(e)!==new Date(t[0],t[1],t[2]).getDay()?(getParsingFlags(n).weekdayMismatch=!0,n._isValid=!1,!1):!0}function calculateOffset(e,t,n){if(e)return obsOffsets[e];if(t)return 0;var a=parseInt(n,10),o=a%100;return(a-o)/100*60+o}function configFromRFC2822(e){var t=rfc2822.exec(preprocessRFC2822(e._i)),n;if(t){if(n=extractFromRFC2822Strings(t[4],t[3],t[2],t[5],t[6],t[7]),!checkWeekday(t[1],n,e))return;e._a=n,e._tzm=calculateOffset(t[8],t[9],t[10]),e._d=createUTCDate.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),getParsingFlags(e).rfc2822=!0}else e._isValid=!1}function configFromString(e){var t=aspNetJsonRegex.exec(e._i);if(t!==null){e._d=new Date(+t[1]);return}if(configFromISO(e),e._isValid===!1)delete e._isValid;else return;if(configFromRFC2822(e),e._isValid===!1)delete e._isValid;else return;e._strict?e._isValid=!1:hooks.createFromInputFallback(e)}hooks.createFromInputFallback=deprecate(`value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.`,function(e){e._d=new Date(e._i+(e._useUTC?` UTC`:``))});function defaults(e,t,n){return e??t??n}function currentDateArray(e){var t=new Date(hooks.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function configFromArray(e){var t,n,a=[],o,s,c;if(!e._d){for(o=currentDateArray(e),e._w&&e._a[DATE]==null&&e._a[MONTH]==null&&dayOfYearFromWeekInfo(e),e._dayOfYear!=null&&(c=defaults(e._a[YEAR],o[YEAR]),(e._dayOfYear>daysInYear(c)||e._dayOfYear===0)&&(getParsingFlags(e)._overflowDayOfYear=!0),n=createUTCDate(c,0,e._dayOfYear),e._a[MONTH]=n.getUTCMonth(),e._a[DATE]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=a[t]=o[t];for(;t<7;t++)e._a[t]=a[t]=e._a[t]==null?+(t===2):e._a[t];e._a[HOUR]===24&&e._a[MINUTE]===0&&e._a[SECOND]===0&&e._a[MILLISECOND]===0&&(e._nextDay=!0,e._a[HOUR]=0),e._d=(e._useUTC?createUTCDate:createDate).apply(null,a),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[HOUR]=24),e._w&&e._w.d!==void 0&&e._w.d!==s&&(getParsingFlags(e).weekdayMismatch=!0)}}function dayOfYearFromWeekInfo(e){var t=e._w,n,a,o,s,c,l,u,d;t.GG!=null||t.W!=null||t.E!=null?(s=1,c=4,n=defaults(t.GG,e._a[YEAR],weekOfYear(createLocal(),1,4).year),a=defaults(t.W,1),o=defaults(t.E,1),(o<1||o>7)&&(u=!0)):(s=e._locale._week.dow,c=e._locale._week.doy,d=weekOfYear(createLocal(),s,c),n=defaults(t.gg,e._a[YEAR],d.year),a=defaults(t.w,d.week),t.d==null?t.e==null?o=s:(o=t.e+s,(t.e<0||t.e>6)&&(u=!0)):(o=t.d,(o<0||o>6)&&(u=!0))),a<1||a>weeksInYear(n,s,c)?getParsingFlags(e)._overflowWeeks=!0:u==null?(l=dayOfYearFromWeeks(n,a,o,s,c),e._a[YEAR]=l.year,e._dayOfYear=l.dayOfYear):getParsingFlags(e)._overflowWeekday=!0}hooks.ISO_8601=function(){},hooks.RFC_2822=function(){};function configFromStringAndFormat(e){if(e._f===hooks.ISO_8601){configFromISO(e);return}if(e._f===hooks.RFC_2822){configFromRFC2822(e);return}e._a=[],getParsingFlags(e).empty=!0;var t=``+e._i,n,a,o,s,c,l=t.length,u=0,d,f;for(o=expandFormat(e._f,e._locale).match(formattingTokens)||[],f=o.length,n=0;n<f;n++)s=o[n],a=(t.match(getParseRegexForToken(s,e))||[])[0],a&&(c=t.substr(0,t.indexOf(a)),c.length>0&&getParsingFlags(e).unusedInput.push(c),t=t.slice(t.indexOf(a)+a.length),u+=a.length),formatTokenFunctions[s]?(a?getParsingFlags(e).empty=!1:getParsingFlags(e).unusedTokens.push(s),addTimeToArrayFromToken(s,a,e)):e._strict&&!a&&getParsingFlags(e).unusedTokens.push(s);getParsingFlags(e).charsLeftOver=l-u,t.length>0&&getParsingFlags(e).unusedInput.push(t),e._a[HOUR]<=12&&getParsingFlags(e).bigHour===!0&&e._a[HOUR]>0&&(getParsingFlags(e).bigHour=void 0),getParsingFlags(e).parsedDateParts=e._a.slice(0),getParsingFlags(e).meridiem=e._meridiem,e._a[HOUR]=meridiemFixWrap(e._locale,e._a[HOUR],e._meridiem),d=getParsingFlags(e).era,d!==null&&(e._a[YEAR]=e._locale.erasConvertYear(d,e._a[YEAR])),configFromArray(e),checkOverflow(e)}function meridiemFixWrap(e,t,n){var a;return n==null?t:e.meridiemHour==null?e.isPM==null?t:(a=e.isPM(n),a&&t<12&&(t+=12),!a&&t===12&&(t=0),t):e.meridiemHour(t,n)}function configFromStringAndArray(e){var t,n,a,o,s,c,l=!1,u=e._f.length;if(u===0){getParsingFlags(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;o<u;o++)s=0,c=!1,t=copyConfig({},e),e._useUTC!=null&&(t._useUTC=e._useUTC),t._f=e._f[o],configFromStringAndFormat(t),isValid(t)&&(c=!0),s+=getParsingFlags(t).charsLeftOver,s+=getParsingFlags(t).unusedTokens.length*10,getParsingFlags(t).score=s,l?s<a&&(a=s,n=t):(a==null||s<a||c)&&(a=s,n=t,c&&(l=!0));extend(e,n||t)}function configFromObject(e){if(!e._d){var t=normalizeObjectUnits(e._i),n=t.day===void 0?t.date:t.day;e._a=map([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),configFromArray(e)}}function createFromConfig(e){var t=new Moment(checkOverflow(prepareConfig(e)));return t._nextDay&&=(t.add(1,`d`),void 0),t}function prepareConfig(e){var t=e._i,n=e._f;return e._locale=e._locale||getLocale(e._l),t===null||n===void 0&&t===``?createInvalid({nullInput:!0}):(typeof t==`string`&&(e._i=t=e._locale.preparse(t)),isMoment(t)?new Moment(checkOverflow(t)):(isDate(t)?e._d=t:isArray(n)?configFromStringAndArray(e):n?configFromStringAndFormat(e):configFromInput(e),isValid(e)||(e._d=null),e))}function configFromInput(e){var t=e._i;isUndefined(t)?e._d=new Date(hooks.now()):isDate(t)?e._d=new Date(t.valueOf()):typeof t==`string`?configFromString(e):isArray(t)?(e._a=map(t.slice(0),function(e){return parseInt(e,10)}),configFromArray(e)):isObject(t)?configFromObject(e):isNumber(t)?e._d=new Date(t):hooks.createFromInputFallback(e)}function createLocalOrUTC(e,t,n,a,o){var s={};return(t===!0||t===!1)&&(a=t,t=void 0),(n===!0||n===!1)&&(a=n,n=void 0),(isObject(e)&&isObjectEmpty(e)||isArray(e)&&e.length===0)&&(e=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=e,s._f=t,s._strict=a,createFromConfig(s)}function createLocal(e,t,n,a){return createLocalOrUTC(e,t,n,a,!1)}var prototypeMin=deprecate(`moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=createLocal.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:createInvalid()}),prototypeMax=deprecate(`moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/`,function(){var e=createLocal.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:createInvalid()});function pickBy(e,t){var n,a;if(t.length===1&&isArray(t[0])&&(t=t[0]),!t.length)return createLocal();for(n=t[0],a=1;a<t.length;++a)(!t[a].isValid()||t[a][e](n))&&(n=t[a]);return n}function min(){return pickBy(`isBefore`,[].slice.call(arguments,0))}function max(){return pickBy(`isAfter`,[].slice.call(arguments,0))}var now=function(){return Date.now?Date.now():+new Date},ordering=[`year`,`quarter`,`month`,`week`,`day`,`hour`,`minute`,`second`,`millisecond`];function isDurationValid(e){var t,n=!1,a,o=ordering.length;for(t in e)if(hasOwnProp(e,t)&&!(indexOf.call(ordering,t)!==-1&&(e[t]==null||!isNaN(e[t]))))return!1;for(a=0;a<o;++a)if(e[ordering[a]]){if(n)return!1;parseFloat(e[ordering[a]])!==toInt(e[ordering[a]])&&(n=!0)}return!0}function isValid$1(){return this._isValid}function createInvalid$1(){return createDuration(NaN)}function Duration(e){var t=normalizeObjectUnits(e),n=t.year||0,a=t.quarter||0,o=t.month||0,s=t.week||t.isoWeek||0,c=t.day||0,l=t.hour||0,u=t.minute||0,d=t.second||0,f=t.millisecond||0;this._isValid=isDurationValid(t),this._milliseconds=+f+d*1e3+u*6e4+l*1e3*60*60,this._days=+c+s*7,this._months=+o+a*3+n*12,this._data={},this._locale=getLocale(),this._bubble()}function isDuration(e){return e instanceof Duration}function absRound(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function compareArrays(e,t,n){var a=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0,c;for(c=0;c<a;c++)(n&&e[c]!==t[c]||!n&&toInt(e[c])!==toInt(t[c]))&&s++;return s+o}function offset(e,t){addFormatToken(e,0,0,function(){var e=this.utcOffset(),n=`+`;return e<0&&(e=-e,n=`-`),n+zeroFill(~~(e/60),2)+t+zeroFill(~~e%60,2)})}offset(`Z`,`:`),offset(`ZZ`,``),addRegexToken(`Z`,matchShortOffset),addRegexToken(`ZZ`,matchShortOffset),addParseToken([`Z`,`ZZ`],function(e,t,n){n._useUTC=!0,n._tzm=offsetFromString(matchShortOffset,e)});var chunkOffset=/([\+\-]|\d\d)/gi;function offsetFromString(e,t){var n=(t||``).match(e),a,o,s;return n===null?null:(a=n[n.length-1]||[],o=(a+``).match(chunkOffset)||[`-`,0,0],s=+(o[1]*60)+toInt(o[2]),s===0?0:o[0]===`+`?s:-s)}function cloneWithOffset(e,t){var n,a;return t._isUTC?(n=t.clone(),a=(isMoment(e)||isDate(e)?e.valueOf():createLocal(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+a),hooks.updateOffset(n,!1),n):createLocal(e).local()}function getDateOffset(e){return-Math.round(e._d.getTimezoneOffset())}hooks.updateOffset=function(){};function getSetOffset(e,t,n){var a=this._offset||0,o;if(!this.isValid())return e==null?NaN:this;if(e!=null){if(typeof e==`string`){if(e=offsetFromString(matchShortOffset,e),e===null)return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(o=getDateOffset(this)),this._offset=e,this._isUTC=!0,o!=null&&this.add(o,`m`),a!==e&&(!t||this._changeInProgress?addSubtract(this,createDuration(e-a,`m`),1,!1):this._changeInProgress||=(this._changeInProgress=!0,hooks.updateOffset(this,!0),null)),this}else return this._isUTC?a:getDateOffset(this)}function getSetZone(e,t){return e==null?-this.utcOffset():(typeof e!=`string`&&(e=-e),this.utcOffset(e,t),this)}function setOffsetToUTC(e){return this.utcOffset(0,e)}function setOffsetToLocal(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(getDateOffset(this),`m`)),this}function setOffsetToParsedOffset(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i==`string`){var e=offsetFromString(matchOffset,this._i);e==null?this.utcOffset(0,!0):this.utcOffset(e)}return this}function hasAlignedHourOffset(e){return this.isValid()?(e=e?createLocal(e).utcOffset():0,(this.utcOffset()-e)%60==0):!1}function isDaylightSavingTime(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function isDaylightSavingTimeShifted(){if(!isUndefined(this._isDSTShifted))return this._isDSTShifted;var e={},t;return copyConfig(e,this),e=prepareConfig(e),e._a?(t=e._isUTC?createUTC(e._a):createLocal(e._a),this._isDSTShifted=this.isValid()&&compareArrays(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function isLocal(){return this.isValid()?!this._isUTC:!1}function isUtcOffset(){return this.isValid()?this._isUTC:!1}function isUtc(){return this.isValid()?this._isUTC&&this._offset===0:!1}var aspNetRegex=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,isoRegex=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function createDuration(e,t){var n=e,a=null,o,s,c;return isDuration(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:isNumber(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(a=aspNetRegex.exec(e))?(o=a[1]===`-`?-1:1,n={y:0,d:toInt(a[DATE])*o,h:toInt(a[HOUR])*o,m:toInt(a[MINUTE])*o,s:toInt(a[SECOND])*o,ms:toInt(absRound(a[MILLISECOND]*1e3))*o}):(a=isoRegex.exec(e))?(o=a[1]===`-`?-1:1,n={y:parseIso(a[2],o),M:parseIso(a[3],o),w:parseIso(a[4],o),d:parseIso(a[5],o),h:parseIso(a[6],o),m:parseIso(a[7],o),s:parseIso(a[8],o)}):n==null?n={}:typeof n==`object`&&(`from`in n||`to`in n)&&(c=momentsDifference(createLocal(n.from),createLocal(n.to)),n={},n.ms=c.milliseconds,n.M=c.months),s=new Duration(n),isDuration(e)&&hasOwnProp(e,`_locale`)&&(s._locale=e._locale),isDuration(e)&&hasOwnProp(e,`_isValid`)&&(s._isValid=e._isValid),s}createDuration.fn=Duration.prototype,createDuration.invalid=createInvalid$1;function parseIso(e,t){var n=e&&parseFloat(e.replace(`,`,`.`));return(isNaN(n)?0:n)*t}function positiveMomentsDifference(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 momentsDifference(e,t){var n;return e.isValid()&&t.isValid()?(t=cloneWithOffset(t,e),e.isBefore(t)?n=positiveMomentsDifference(e,t):(n=positiveMomentsDifference(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function createAdder(e,t){return function(n,a){var o,s;return a!==null&&!isNaN(+a)&&(deprecateSimple(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=a,a=s),o=createDuration(n,a),addSubtract(this,o,e),this}}function addSubtract(e,t,n,a){var o=t._milliseconds,s=absRound(t._days),c=absRound(t._months);e.isValid()&&(a??=!0,c&&setMonth(e,get(e,`Month`)+c*n),s&&set$1(e,`Date`,get(e,`Date`)+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),a&&hooks.updateOffset(e,s||c))}var add=createAdder(1,`add`),subtract=createAdder(-1,`subtract`);function isString(e){return typeof e==`string`||e instanceof String}function isMomentInput(e){return isMoment(e)||isDate(e)||isString(e)||isNumber(e)||isNumberOrStringArray(e)||isMomentInputObject(e)||e==null}function isMomentInputObject(e){var t=isObject(e)&&!isObjectEmpty(e),n=!1,a=[`years`,`year`,`y`,`months`,`month`,`M`,`days`,`day`,`d`,`dates`,`date`,`D`,`hours`,`hour`,`h`,`minutes`,`minute`,`m`,`seconds`,`second`,`s`,`milliseconds`,`millisecond`,`ms`],o,s,c=a.length;for(o=0;o<c;o+=1)s=a[o],n||=hasOwnProp(e,s);return t&&n}function isNumberOrStringArray(e){var t=isArray(e),n=!1;return t&&(n=e.filter(function(t){return!isNumber(t)&&isString(e)}).length===0),t&&n}function isCalendarSpec(e){var t=isObject(e)&&!isObjectEmpty(e),n=!1,a=[`sameDay`,`nextDay`,`lastDay`,`nextWeek`,`lastWeek`,`sameElse`],o,s;for(o=0;o<a.length;o+=1)s=a[o],n||=hasOwnProp(e,s);return t&&n}function getCalendarFormat(e,t){var n=e.diff(t,`days`,!0);return n<-6?`sameElse`:n<-1?`lastWeek`:n<0?`lastDay`:n<1?`sameDay`:n<2?`nextDay`:n<7?`nextWeek`:`sameElse`}function calendar$1(e,t){arguments.length===1&&(arguments[0]?isMomentInput(arguments[0])?(e=arguments[0],t=void 0):isCalendarSpec(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||createLocal(),a=cloneWithOffset(n,this).startOf(`day`),o=hooks.calendarFormat(this,a)||`sameElse`,s=t&&(isFunction(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,createLocal(n)))}function clone(){return new Moment(this)}function isAfter(e,t){var n=isMoment(e)?e:createLocal(e);return this.isValid()&&n.isValid()?(t=normalizeUnits(t)||`millisecond`,t===`millisecond`?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf()):!1}function isBefore(e,t){var n=isMoment(e)?e:createLocal(e);return this.isValid()&&n.isValid()?(t=normalizeUnits(t)||`millisecond`,t===`millisecond`?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf()):!1}function isBetween(e,t,n,a){var o=isMoment(e)?e:createLocal(e),s=isMoment(t)?t:createLocal(t);return this.isValid()&&o.isValid()&&s.isValid()?(a||=`()`,(a[0]===`(`?this.isAfter(o,n):!this.isBefore(o,n))&&(a[1]===`)`?this.isBefore(s,n):!this.isAfter(s,n))):!1}function isSame(e,t){var n=isMoment(e)?e:createLocal(e),a;return this.isValid()&&n.isValid()?(t=normalizeUnits(t)||`millisecond`,t===`millisecond`?this.valueOf()===n.valueOf():(a=n.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf())):!1}function isSameOrAfter(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function isSameOrBefore(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function diff(e,t,n){var a,o,s;if(!this.isValid()||(a=cloneWithOffset(e,this),!a.isValid()))return NaN;switch(o=(a.utcOffset()-this.utcOffset())*6e4,t=normalizeUnits(t),t){case`year`:s=monthDiff(this,a)/12;break;case`month`:s=monthDiff(this,a);break;case`quarter`:s=monthDiff(this,a)/3;break;case`second`:s=(this-a)/1e3;break;case`minute`:s=(this-a)/6e4;break;case`hour`:s=(this-a)/36e5;break;case`day`:s=(this-a-o)/864e5;break;case`week`:s=(this-a-o)/6048e5;break;default:s=this-a}return n?s:absFloor(s)}function monthDiff(e,t){if(e.date()<t.date())return-monthDiff(t,e);var n=(t.year()-e.year())*12+(t.month()-e.month()),a=e.clone().add(n,`months`),o,s;return t-a<0?(o=e.clone().add(n-1,`months`),s=(t-a)/(a-o)):(o=e.clone().add(n+1,`months`),s=(t-a)/(o-a)),-(n+s)||0}hooks.defaultFormat=`YYYY-MM-DDTHH:mm:ssZ`,hooks.defaultFormatUtc=`YYYY-MM-DDTHH:mm:ss[Z]`;function toString(){return this.clone().locale(`en`).format(`ddd MMM DD YYYY HH:mm:ss [GMT]ZZ`)}function toISOString(e){if(!this.isValid())return null;var t=e!==!0,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?formatMoment(n,t?`YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYYYY-MM-DD[T]HH:mm:ss.SSSZ`):isFunction(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace(`Z`,formatMoment(n,`Z`)):formatMoment(n,t?`YYYY-MM-DD[T]HH:mm:ss.SSS[Z]`:`YYYY-MM-DD[T]HH:mm:ss.SSSZ`)}function inspect(){if(!this.isValid())return`moment.invalid(/* `+this._i+` */)`;var e=`moment`,t=``,n,a,o,s;return this.isLocal()||(e=this.utcOffset()===0?`moment.utc`:`moment.parseZone`,t=`Z`),n=`[`+e+`("]`,a=0<=this.year()&&this.year()<=9999?`YYYY`:`YYYYYY`,o=`-MM-DD[T]HH:mm:ss.SSS`,s=t+`[")]`,this.format(n+a+o+s)}function format(e){e||=this.isUtc()?hooks.defaultFormatUtc:hooks.defaultFormat;var t=formatMoment(this,e);return this.localeData().postformat(t)}function from(e,t){return this.isValid()&&(isMoment(e)&&e.isValid()||createLocal(e).isValid())?createDuration({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function fromNow(e){return this.from(createLocal(),e)}function to(e,t){return this.isValid()&&(isMoment(e)&&e.isValid()||createLocal(e).isValid())?createDuration({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function toNow(e){return this.to(createLocal(),e)}function locale(e){var t;return e===void 0?this._locale._abbr:(t=getLocale(e),t!=null&&(this._locale=t),this)}var lang=deprecate(`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 localeData(){return this._locale}var MS_PER_SECOND=1e3,MS_PER_MINUTE=60*MS_PER_SECOND,MS_PER_HOUR=60*MS_PER_MINUTE,MS_PER_400_YEARS=146097*24*MS_PER_HOUR;function mod$1(e,t){return(e%t+t)%t}function localStartOfDate(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-MS_PER_400_YEARS:new Date(e,t,n).valueOf()}function utcStartOfDate(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-MS_PER_400_YEARS:Date.UTC(e,t,n)}function startOf(e){var t,n;if(e=normalizeUnits(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?utcStartOfDate:localStartOfDate,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-=mod$1(t+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR);break;case`minute`:t=this._d.valueOf(),t-=mod$1(t,MS_PER_MINUTE);break;case`second`:t=this._d.valueOf(),t-=mod$1(t,MS_PER_SECOND);break}return this._d.setTime(t),hooks.updateOffset(this,!0),this}function endOf(e){var t,n;if(e=normalizeUnits(e),e===void 0||e===`millisecond`||!this.isValid())return this;switch(n=this._isUTC?utcStartOfDate:localStartOfDate,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+=MS_PER_HOUR-mod$1(t+(this._isUTC?0:this.utcOffset()*MS_PER_MINUTE),MS_PER_HOUR)-1;break;case`minute`:t=this._d.valueOf(),t+=MS_PER_MINUTE-mod$1(t,MS_PER_MINUTE)-1;break;case`second`:t=this._d.valueOf(),t+=MS_PER_SECOND-mod$1(t,MS_PER_SECOND)-1;break}return this._d.setTime(t),hooks.updateOffset(this,!0),this}function valueOf(){return this._d.valueOf()-(this._offset||0)*6e4}function unix(){return Math.floor(this.valueOf()/1e3)}function toDate(){return new Date(this.valueOf())}function toArray(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function toObject(){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 toJSON(){return this.isValid()?this.toISOString():null}function isValid$2(){return isValid(this)}function parsingFlags(){return extend({},getParsingFlags(this))}function invalidAt(){return getParsingFlags(this).overflow}function creationData(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}addFormatToken(`N`,0,0,`eraAbbr`),addFormatToken(`NN`,0,0,`eraAbbr`),addFormatToken(`NNN`,0,0,`eraAbbr`),addFormatToken(`NNNN`,0,0,`eraName`),addFormatToken(`NNNNN`,0,0,`eraNarrow`),addFormatToken(`y`,[`y`,1],`yo`,`eraYear`),addFormatToken(`y`,[`yy`,2],0,`eraYear`),addFormatToken(`y`,[`yyy`,3],0,`eraYear`),addFormatToken(`y`,[`yyyy`,4],0,`eraYear`),addRegexToken(`N`,matchEraAbbr),addRegexToken(`NN`,matchEraAbbr),addRegexToken(`NNN`,matchEraAbbr),addRegexToken(`NNNN`,matchEraName),addRegexToken(`NNNNN`,matchEraNarrow),addParseToken([`N`,`NN`,`NNN`,`NNNN`,`NNNNN`],function(e,t,n,a){var o=n._locale.erasParse(e,a,n._strict);o?getParsingFlags(n).era=o:getParsingFlags(n).invalidEra=e}),addRegexToken(`y`,matchUnsigned),addRegexToken(`yy`,matchUnsigned),addRegexToken(`yyy`,matchUnsigned),addRegexToken(`yyyy`,matchUnsigned),addRegexToken(`yo`,matchEraYearOrdinal),addParseToken([`y`,`yy`,`yyy`,`yyyy`],YEAR),addParseToken([`yo`],function(e,t,n,a){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[YEAR]=n._locale.eraYearOrdinalParse(e,o):t[YEAR]=parseInt(e,10)});function localeEras(e,t){var n,a,o,s=this._eras||getLocale(`en`)._eras;for(n=0,a=s.length;n<a;++n){switch(typeof s[n].since){case`string`:o=hooks(s[n].since).startOf(`day`),s[n].since=o.valueOf();break}switch(typeof s[n].until){case`undefined`:s[n].until=1/0;break;case`string`:o=hooks(s[n].until).startOf(`day`).valueOf(),s[n].until=o.valueOf();break}}return s}function localeErasParse(e,t,n){var a,o,s=this.eras(),c,l,u;for(e=e.toUpperCase(),a=0,o=s.length;a<o;++a)if(c=s[a].name.toUpperCase(),l=s[a].abbr.toUpperCase(),u=s[a].narrow.toUpperCase(),n)switch(t){case`N`:case`NN`:case`NNN`:if(l===e)return s[a];break;case`NNNN`:if(c===e)return s[a];break;case`NNNNN`:if(u===e)return s[a];break}else if([c,l,u].indexOf(e)>=0)return s[a]}function localeErasConvertYear(e,t){var n=e.since<=e.until?1:-1;return t===void 0?hooks(e.since).year():hooks(e.since).year()+(t-e.offset)*n}function getEraName(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].name;return``}function getEraNarrow(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].narrow;return``}function getEraAbbr(){var e,t,n,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=this.clone().startOf(`day`).valueOf(),a[e].since<=n&&n<=a[e].until||a[e].until<=n&&n<=a[e].since)return a[e].abbr;return``}function getEraYear(){var e,t,n,a,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,a=this.clone().startOf(`day`).valueOf(),o[e].since<=a&&a<=o[e].until||o[e].until<=a&&a<=o[e].since)return(this.year()-hooks(o[e].since).year())*n+o[e].offset;return this.year()}function erasNameRegex(e){return hasOwnProp(this,`_erasNameRegex`)||computeErasParse.call(this),e?this._erasNameRegex:this._erasRegex}function erasAbbrRegex(e){return hasOwnProp(this,`_erasAbbrRegex`)||computeErasParse.call(this),e?this._erasAbbrRegex:this._erasRegex}function erasNarrowRegex(e){return hasOwnProp(this,`_erasNarrowRegex`)||computeErasParse.call(this),e?this._erasNarrowRegex:this._erasRegex}function matchEraAbbr(e,t){return t.erasAbbrRegex(e)}function matchEraName(e,t){return t.erasNameRegex(e)}function matchEraNarrow(e,t){return t.erasNarrowRegex(e)}function matchEraYearOrdinal(e,t){return t._eraYearOrdinalRegex||matchUnsigned}function computeErasParse(){var e=[],t=[],n=[],a=[],o,s,c,l,u,d=this.eras();for(o=0,s=d.length;o<s;++o)c=regexEscape(d[o].name),l=regexEscape(d[o].abbr),u=regexEscape(d[o].narrow),t.push(c),e.push(l),n.push(u),a.push(c),a.push(l),a.push(u);this._erasRegex=RegExp(`^(`+a.join(`|`)+`)`,`i`),this._erasNameRegex=RegExp(`^(`+t.join(`|`)+`)`,`i`),this._erasAbbrRegex=RegExp(`^(`+e.join(`|`)+`)`,`i`),this._erasNarrowRegex=RegExp(`^(`+n.join(`|`)+`)`,`i`)}addFormatToken(0,[`gg`,2],0,function(){return this.weekYear()%100}),addFormatToken(0,[`GG`,2],0,function(){return this.isoWeekYear()%100});function addWeekYearFormatToken(e,t){addFormatToken(0,[e,e.length],0,t)}addWeekYearFormatToken(`gggg`,`weekYear`),addWeekYearFormatToken(`ggggg`,`weekYear`),addWeekYearFormatToken(`GGGG`,`isoWeekYear`),addWeekYearFormatToken(`GGGGG`,`isoWeekYear`),addRegexToken(`G`,matchSigned),addRegexToken(`g`,matchSigned),addRegexToken(`GG`,match1to2,match2),addRegexToken(`gg`,match1to2,match2),addRegexToken(`GGGG`,match1to4,match4),addRegexToken(`gggg`,match1to4,match4),addRegexToken(`GGGGG`,match1to6,match6),addRegexToken(`ggggg`,match1to6,match6),addWeekParseToken([`gggg`,`ggggg`,`GGGG`,`GGGGG`],function(e,t,n,a){t[a.substr(0,2)]=toInt(e)}),addWeekParseToken([`gg`,`GG`],function(e,t,n,a){t[a]=hooks.parseTwoDigitYear(e)});function getSetWeekYear(e){return getSetWeekYearHelper.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function getSetISOWeekYear(e){return getSetWeekYearHelper.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function getISOWeeksInYear(){return weeksInYear(this.year(),1,4)}function getISOWeeksInISOWeekYear(){return weeksInYear(this.isoWeekYear(),1,4)}function getWeeksInYear(){var e=this.localeData()._week;return weeksInYear(this.year(),e.dow,e.doy)}function getWeeksInWeekYear(){var e=this.localeData()._week;return weeksInYear(this.weekYear(),e.dow,e.doy)}function getSetWeekYearHelper(e,t,n,a,o){var s;return e==null?weekOfYear(this,a,o).year:(s=weeksInYear(e,a,o),t>s&&(t=s),setWeekAll.call(this,e,t,n,a,o))}function setWeekAll(e,t,n,a,o){var s=dayOfYearFromWeeks(e,t,n,a,o),c=createUTCDate(s.year,0,s.dayOfYear);return this.year(c.getUTCFullYear()),this.month(c.getUTCMonth()),this.date(c.getUTCDate()),this}addFormatToken(`Q`,0,`Qo`,`quarter`),addRegexToken(`Q`,match1),addParseToken(`Q`,function(e,t){t[MONTH]=(toInt(e)-1)*3});function getSetQuarter(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}addFormatToken(`D`,[`DD`,2],`Do`,`date`),addRegexToken(`D`,match1to2,match1to2NoLeadingZero),addRegexToken(`DD`,match1to2,match2),addRegexToken(`Do`,function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),addParseToken([`D`,`DD`],DATE),addParseToken(`Do`,function(e,t){t[DATE]=toInt(e.match(match1to2)[0])});var getSetDayOfMonth=makeGetSet(`Date`,!0);addFormatToken(`DDD`,[`DDDD`,3],`DDDo`,`dayOfYear`),addRegexToken(`DDD`,match1to3),addRegexToken(`DDDD`,match3),addParseToken([`DDD`,`DDDD`],function(e,t,n){n._dayOfYear=toInt(e)});function getSetDayOfYear(e){var t=Math.round((this.clone().startOf(`day`)-this.clone().startOf(`year`))/864e5)+1;return e==null?t:this.add(e-t,`d`)}addFormatToken(`m`,[`mm`,2],0,`minute`),addRegexToken(`m`,match1to2,match1to2HasZero),addRegexToken(`mm`,match1to2,match2),addParseToken([`m`,`mm`],MINUTE);var getSetMinute=makeGetSet(`Minutes`,!1);addFormatToken(`s`,[`ss`,2],0,`second`),addRegexToken(`s`,match1to2,match1to2HasZero),addRegexToken(`ss`,match1to2,match2),addParseToken([`s`,`ss`],SECOND);var getSetSecond=makeGetSet(`Seconds`,!1);addFormatToken(`S`,0,0,function(){return~~(this.millisecond()/100)}),addFormatToken(0,[`SS`,2],0,function(){return~~(this.millisecond()/10)}),addFormatToken(0,[`SSS`,3],0,`millisecond`),addFormatToken(0,[`SSSS`,4],0,function(){return this.millisecond()*10}),addFormatToken(0,[`SSSSS`,5],0,function(){return this.millisecond()*100}),addFormatToken(0,[`SSSSSS`,6],0,function(){return this.millisecond()*1e3}),addFormatToken(0,[`SSSSSSS`,7],0,function(){return this.millisecond()*1e4}),addFormatToken(0,[`SSSSSSSS`,8],0,function(){return this.millisecond()*1e5}),addFormatToken(0,[`SSSSSSSSS`,9],0,function(){return this.millisecond()*1e6}),addRegexToken(`S`,match1to3,match1),addRegexToken(`SS`,match1to3,match2),addRegexToken(`SSS`,match1to3,match3);var token,getSetMillisecond;for(token=`SSSS`;token.length<=9;token+=`S`)addRegexToken(token,matchUnsigned);function parseMs(e,t){t[MILLISECOND]=toInt((`0.`+e)*1e3)}for(token=`S`;token.length<=9;token+=`S`)addParseToken(token,parseMs);getSetMillisecond=makeGetSet(`Milliseconds`,!1),addFormatToken(`z`,0,0,`zoneAbbr`),addFormatToken(`zz`,0,0,`zoneName`);function getZoneAbbr(){return this._isUTC?`UTC`:``}function getZoneName(){return this._isUTC?`Coordinated Universal Time`:``}var proto=Moment.prototype;proto.add=add,proto.calendar=calendar$1,proto.clone=clone,proto.diff=diff,proto.endOf=endOf,proto.format=format,proto.from=from,proto.fromNow=fromNow,proto.to=to,proto.toNow=toNow,proto.get=stringGet,proto.invalidAt=invalidAt,proto.isAfter=isAfter,proto.isBefore=isBefore,proto.isBetween=isBetween,proto.isSame=isSame,proto.isSameOrAfter=isSameOrAfter,proto.isSameOrBefore=isSameOrBefore,proto.isValid=isValid$2,proto.lang=lang,proto.locale=locale,proto.localeData=localeData,proto.max=prototypeMax,proto.min=prototypeMin,proto.parsingFlags=parsingFlags,proto.set=stringSet,proto.startOf=startOf,proto.subtract=subtract,proto.toArray=toArray,proto.toObject=toObject,proto.toDate=toDate,proto.toISOString=toISOString,proto.inspect=inspect,typeof Symbol<`u`&&Symbol.for!=null&&(proto[Symbol.for(`nodejs.util.inspect.custom`)]=function(){return`Moment<`+this.format()+`>`}),proto.toJSON=toJSON,proto.toString=toString,proto.unix=unix,proto.valueOf=valueOf,proto.creationData=creationData,proto.eraName=getEraName,proto.eraNarrow=getEraNarrow,proto.eraAbbr=getEraAbbr,proto.eraYear=getEraYear,proto.year=getSetYear,proto.isLeapYear=getIsLeapYear,proto.weekYear=getSetWeekYear,proto.isoWeekYear=getSetISOWeekYear,proto.quarter=proto.quarters=getSetQuarter,proto.month=getSetMonth,proto.daysInMonth=getDaysInMonth,proto.week=proto.weeks=getSetWeek,proto.isoWeek=proto.isoWeeks=getSetISOWeek,proto.weeksInYear=getWeeksInYear,proto.weeksInWeekYear=getWeeksInWeekYear,proto.isoWeeksInYear=getISOWeeksInYear,proto.isoWeeksInISOWeekYear=getISOWeeksInISOWeekYear,proto.date=getSetDayOfMonth,proto.day=proto.days=getSetDayOfWeek,proto.weekday=getSetLocaleDayOfWeek,proto.isoWeekday=getSetISODayOfWeek,proto.dayOfYear=getSetDayOfYear,proto.hour=proto.hours=getSetHour,proto.minute=proto.minutes=getSetMinute,proto.second=proto.seconds=getSetSecond,proto.millisecond=proto.milliseconds=getSetMillisecond,proto.utcOffset=getSetOffset,proto.utc=setOffsetToUTC,proto.local=setOffsetToLocal,proto.parseZone=setOffsetToParsedOffset,proto.hasAlignedHourOffset=hasAlignedHourOffset,proto.isDST=isDaylightSavingTime,proto.isLocal=isLocal,proto.isUtcOffset=isUtcOffset,proto.isUtc=isUtc,proto.isUTC=isUtc,proto.zoneAbbr=getZoneAbbr,proto.zoneName=getZoneName,proto.dates=deprecate(`dates accessor is deprecated. Use date instead.`,getSetDayOfMonth),proto.months=deprecate(`months accessor is deprecated. Use month instead`,getSetMonth),proto.years=deprecate(`years accessor is deprecated. Use year instead`,getSetYear),proto.zone=deprecate(`moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/`,getSetZone),proto.isDSTShifted=deprecate(`isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information`,isDaylightSavingTimeShifted);function createUnix(e){return createLocal(e*1e3)}function createInZone(){return createLocal.apply(null,arguments).parseZone()}function preParsePostFormat(e){return e}var proto$1=Locale.prototype;proto$1.calendar=calendar,proto$1.longDateFormat=longDateFormat,proto$1.invalidDate=invalidDate,proto$1.ordinal=ordinal,proto$1.preparse=preParsePostFormat,proto$1.postformat=preParsePostFormat,proto$1.relativeTime=relativeTime,proto$1.pastFuture=pastFuture,proto$1.set=set,proto$1.eras=localeEras,proto$1.erasParse=localeErasParse,proto$1.erasConvertYear=localeErasConvertYear,proto$1.erasAbbrRegex=erasAbbrRegex,proto$1.erasNameRegex=erasNameRegex,proto$1.erasNarrowRegex=erasNarrowRegex,proto$1.months=localeMonths,proto$1.monthsShort=localeMonthsShort,proto$1.monthsParse=localeMonthsParse,proto$1.monthsRegex=monthsRegex,proto$1.monthsShortRegex=monthsShortRegex,proto$1.week=localeWeek,proto$1.firstDayOfYear=localeFirstDayOfYear,proto$1.firstDayOfWeek=localeFirstDayOfWeek,proto$1.weekdays=localeWeekdays,proto$1.weekdaysMin=localeWeekdaysMin,proto$1.weekdaysShort=localeWeekdaysShort,proto$1.weekdaysParse=localeWeekdaysParse,proto$1.weekdaysRegex=weekdaysRegex,proto$1.weekdaysShortRegex=weekdaysShortRegex,proto$1.weekdaysMinRegex=weekdaysMinRegex,proto$1.isPM=localeIsPM,proto$1.meridiem=localeMeridiem;function get$1(e,t,n,a){var o=getLocale(),s=createUTC().set(a,t);return o[n](s,e)}function listMonthsImpl(e,t,n){if(isNumber(e)&&(t=e,e=void 0),e||=``,t!=null)return get$1(e,t,n,`month`);var a,o=[];for(a=0;a<12;a++)o[a]=get$1(e,a,n,`month`);return o}function listWeekdaysImpl(e,t,n,a){typeof e==`boolean`?(isNumber(t)&&(n=t,t=void 0),t||=``):(t=e,n=t,e=!1,isNumber(t)&&(n=t,t=void 0),t||=``);var o=getLocale(),s=e?o._week.dow:0,c,l=[];if(n!=null)return get$1(t,(n+s)%7,a,`day`);for(c=0;c<7;c++)l[c]=get$1(t,(c+s)%7,a,`day`);return l}function listMonths(e,t){return listMonthsImpl(e,t,`months`)}function listMonthsShort(e,t){return listMonthsImpl(e,t,`monthsShort`)}function listWeekdays(e,t,n){return listWeekdaysImpl(e,t,n,`weekdays`)}function listWeekdaysShort(e,t,n){return listWeekdaysImpl(e,t,n,`weekdaysShort`)}function listWeekdaysMin(e,t,n){return listWeekdaysImpl(e,t,n,`weekdaysMin`)}getSetGlobalLocale(`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;return e+(toInt(e%100/10)===1?`th`:t===1?`st`:t===2?`nd`:t===3?`rd`:`th`)}}),hooks.lang=deprecate(`moment.lang is deprecated. Use moment.locale instead.`,getSetGlobalLocale),hooks.langData=deprecate(`moment.langData is deprecated. Use moment.localeData instead.`,getLocale);var mathAbs=Math.abs;function abs(){var e=this._data;return this._milliseconds=mathAbs(this._milliseconds),this._days=mathAbs(this._days),this._months=mathAbs(this._months),e.milliseconds=mathAbs(e.milliseconds),e.seconds=mathAbs(e.seconds),e.minutes=mathAbs(e.minutes),e.hours=mathAbs(e.hours),e.months=mathAbs(e.months),e.years=mathAbs(e.years),this}function addSubtract$1(e,t,n,a){var o=createDuration(t,n);return e._milliseconds+=a*o._milliseconds,e._days+=a*o._days,e._months+=a*o._months,e._bubble()}function add$1(e,t){return addSubtract$1(this,e,t,1)}function subtract$1(e,t){return addSubtract$1(this,e,t,-1)}function absCeil(e){return e<0?Math.floor(e):Math.ceil(e)}function bubble(){var e=this._milliseconds,t=this._days,n=this._months,a=this._data,o,s,c,l,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=absCeil(monthsToDays(n)+t)*864e5,t=0,n=0),a.milliseconds=e%1e3,o=absFloor(e/1e3),a.seconds=o%60,s=absFloor(o/60),a.minutes=s%60,c=absFloor(s/60),a.hours=c%24,t+=absFloor(c/24),u=absFloor(daysToMonths(t)),n+=u,t-=absCeil(monthsToDays(u)),l=absFloor(n/12),n%=12,a.days=t,a.months=n,a.years=l,this}function daysToMonths(e){return e*4800/146097}function monthsToDays(e){return e*146097/4800}function as(e){if(!this.isValid())return NaN;var t,n,a=this._milliseconds;if(e=normalizeUnits(e),e===`month`||e===`quarter`||e===`year`)switch(t=this._days+a/864e5,n=this._months+daysToMonths(t),e){case`month`:return n;case`quarter`:return n/3;case`year`:return n/12}else switch(t=this._days+Math.round(monthsToDays(this._months)),e){case`week`:return t/7+a/6048e5;case`day`:return t+a/864e5;case`hour`:return t*24+a/36e5;case`minute`:return t*1440+a/6e4;case`second`:return t*86400+a/1e3;case`millisecond`:return Math.floor(t*864e5)+a;default:throw Error(`Unknown unit `+e)}}function makeAs(e){return function(){return this.as(e)}}var asMilliseconds=makeAs(`ms`),asSeconds=makeAs(`s`),asMinutes=makeAs(`m`),asHours=makeAs(`h`),asDays=makeAs(`d`),asWeeks=makeAs(`w`),asMonths=makeAs(`M`),asQuarters=makeAs(`Q`),asYears=makeAs(`y`),valueOf$1=asMilliseconds;function clone$1(){return createDuration(this)}function get$2(e){return e=normalizeUnits(e),this.isValid()?this[e+`s`]():NaN}function makeGetter(e){return function(){return this.isValid()?this._data[e]:NaN}}var milliseconds=makeGetter(`milliseconds`),seconds=makeGetter(`seconds`),minutes=makeGetter(`minutes`),hours=makeGetter(`hours`),days=makeGetter(`days`),months=makeGetter(`months`),years=makeGetter(`years`);function weeks(){return absFloor(this.days()/7)}var round=Math.round,thresholds={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function substituteTimeAgo(e,t,n,a,o){return o.relativeTime(t||1,!!n,e,a)}function relativeTime$1(e,t,n,a){var o=createDuration(e).abs(),s=round(o.as(`s`)),c=round(o.as(`m`)),l=round(o.as(`h`)),u=round(o.as(`d`)),d=round(o.as(`M`)),f=round(o.as(`w`)),p=round(o.as(`y`)),m=s<=n.ss&&[`s`,s]||s<n.s&&[`ss`,s]||c<=1&&[`m`]||c<n.m&&[`mm`,c]||l<=1&&[`h`]||l<n.h&&[`hh`,l]||u<=1&&[`d`]||u<n.d&&[`dd`,u];return n.w!=null&&(m=m||f<=1&&[`w`]||f<n.w&&[`ww`,f]),m=m||d<=1&&[`M`]||d<n.M&&[`MM`,d]||p<=1&&[`y`]||[`yy`,p],m[2]=t,m[3]=+e>0,m[4]=a,substituteTimeAgo.apply(null,m)}function getSetRelativeTimeRounding(e){return e===void 0?round:typeof e==`function`?(round=e,!0):!1}function getSetRelativeTimeThreshold(e,t){return thresholds[e]===void 0?!1:t===void 0?thresholds[e]:(thresholds[e]=t,e===`s`&&(thresholds.ss=t-1),!0)}function humanize(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,a=thresholds,o,s;return typeof e==`object`&&(t=e,e=!1),typeof e==`boolean`&&(n=e),typeof t==`object`&&(a=Object.assign({},thresholds,t),t.s!=null&&t.ss==null&&(a.ss=t.s-1)),o=this.localeData(),s=relativeTime$1(this,!n,a,o),n&&(s=o.pastFuture(+this,s)),o.postformat(s)}var abs$1=Math.abs;function sign(e){return(e>0)-(e<0)||+e}function toISOString$1(){if(!this.isValid())return this.localeData().invalidDate();var e=abs$1(this._milliseconds)/1e3,t=abs$1(this._days),n=abs$1(this._months),a,o,s,c,l=this.asSeconds(),u,d,f,p;return l?(a=absFloor(e/60),o=absFloor(a/60),e%=60,a%=60,s=absFloor(n/12),n%=12,c=e?e.toFixed(3).replace(/\.?0+$/,``):``,u=l<0?`-`:``,d=sign(this._months)===sign(l)?``:`-`,f=sign(this._days)===sign(l)?``:`-`,p=sign(this._milliseconds)===sign(l)?``:`-`,u+`P`+(s?d+s+`Y`:``)+(n?d+n+`M`:``)+(t?f+t+`D`:``)+(o||a||e?`T`:``)+(o?p+o+`H`:``)+(a?p+a+`M`:``)+(e?p+c+`S`:``)):`P0D`}var proto$2=Duration.prototype;proto$2.isValid=isValid$1,proto$2.abs=abs,proto$2.add=add$1,proto$2.subtract=subtract$1,proto$2.as=as,proto$2.asMilliseconds=asMilliseconds,proto$2.asSeconds=asSeconds,proto$2.asMinutes=asMinutes,proto$2.asHours=asHours,proto$2.asDays=asDays,proto$2.asWeeks=asWeeks,proto$2.asMonths=asMonths,proto$2.asQuarters=asQuarters,proto$2.asYears=asYears,proto$2.valueOf=valueOf$1,proto$2._bubble=bubble,proto$2.clone=clone$1,proto$2.get=get$2,proto$2.milliseconds=milliseconds,proto$2.seconds=seconds,proto$2.minutes=minutes,proto$2.hours=hours,proto$2.days=days,proto$2.weeks=weeks,proto$2.months=months,proto$2.years=years,proto$2.humanize=humanize,proto$2.toISOString=toISOString$1,proto$2.toString=toISOString$1,proto$2.toJSON=toISOString$1,proto$2.locale=locale,proto$2.localeData=localeData,proto$2.toIsoString=deprecate(`toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)`,toISOString$1),proto$2.lang=lang,addFormatToken(`X`,0,0,`unix`),addFormatToken(`x`,0,0,`valueOf`),addRegexToken(`x`,matchSigned),addRegexToken(`X`,matchTimestamp),addParseToken(`X`,function(e,t,n){n._d=new Date(parseFloat(e)*1e3)}),addParseToken(`x`,function(e,t,n){n._d=new Date(toInt(e))}),hooks.version=`2.30.1`,setHookCallback(createLocal),hooks.fn=proto,hooks.min=min,hooks.max=max,hooks.now=now,hooks.utc=createUTC,hooks.unix=createUnix,hooks.months=listMonths,hooks.isDate=isDate,hooks.locale=getSetGlobalLocale,hooks.invalid=createInvalid,hooks.duration=createDuration,hooks.isMoment=isMoment,hooks.weekdays=listWeekdays,hooks.parseZone=createInZone,hooks.localeData=getLocale,hooks.isDuration=isDuration,hooks.monthsShort=listMonthsShort,hooks.weekdaysMin=listWeekdaysMin,hooks.defineLocale=defineLocale,hooks.updateLocale=updateLocale,hooks.locales=listLocales,hooks.weekdaysShort=listWeekdaysShort,hooks.normalizeUnits=normalizeUnits,hooks.relativeTimeRounding=getSetRelativeTimeRounding,hooks.relativeTimeThreshold=getSetRelativeTimeThreshold,hooks.calendarFormat=getCalendarFormat,hooks.prototype=proto,hooks.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`};var _hoisted_1$2={class:`meta`},_hoisted_2$1=[`innerHTML`],MetaTable_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`MetaTable`,props:{table:{}},setup(e){let t=e,n=computed(()=>{let e={};return Object.keys(t.table).forEach(n=>{if(!t.table[n])return;let a=n.replace(/([A-Z])/g,` $1`);a=a.charAt(0).toUpperCase()+a.slice(1),e[a]=t.table[n]}),e});return(e,t)=>(openBlock(),createElementBlock(`table`,_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value,(e,t)=>(openBlock(),createElementBlock(`tr`,{key:t},[createBaseVNode(`td`,null,toDisplayString(t),1),createBaseVNode(`td`,{innerHTML:e},null,8,_hoisted_2$1)]))),128))]))}}),MetaTable_default=_plugin_vue_export_helper_default(MetaTable_vue_vue_type_script_setup_true_lang_default,[[`__scopeId`,`data-v-4ae6271b`]]),require_escape_goat=__commonJSMin((e=>{var t=e=>e.replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`);e.htmlEscape=(e,...n)=>{if(typeof e==`string`)return t(e);let a=e[0];for(let[o,s]of n.entries())a=a+t(String(s))+e[o+1];return a}})),import_escape_goat=require_escape_goat();function stringifyAttributes(e){let t=[];for(let[n,a]of Object.entries(e)){if(a===!1)continue;Array.isArray(a)&&(a=a.join(` `));let e=(0,import_escape_goat.htmlEscape)(n);a!==!0&&(e+=`="${(0,import_escape_goat.htmlEscape)(String(a))}"`),t.push(e)}return t.length>0?` `+t.join(` `):``}var html_tags_void_exports=__exportAll({default:()=>html_tags_void_default}),html_tags_void_default,init_html_tags_void=__esmMin((()=>{html_tags_void_default=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`]})),require_void=__commonJSMin(((e,t)=>{t.exports=(init_html_tags_void(),__toCommonJS(html_tags_void_exports).default)})),import_void=__toESM(require_void(),1),_htmlEscape=e=>e.replace(/&/g,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`);function htmlEscape(e,...t){if(typeof e==`string`)return _htmlEscape(e);let n=e[0];for(let[a,o]of t.entries())n=n+_htmlEscape(String(o))+e[a+1];return n}var voidHtmlTags=new Set(import_void.default);function createHtmlElement({name:e=`div`,attributes:t={},html:n=``,text:a}={}){if(n&&a)throw Error("The `html` and `text` options are mutually exclusive");let o=a?htmlEscape(a):n,s=`<${e}${stringifyAttributes(t)}>`;return voidHtmlTags.has(e)||(s+=`${o}</${e}>`),s}function parseUrl(e){let t=/[.?]$/.exec(e)?.[0]??``;return{href:t?e.slice(0,-1):e,punctuation:t}}var urlRegex=()=>/((?<!\+)https?:\/\/(?:www\.)?(?:[-\p{Letter}\d.]+?[.@][a-zA-Z\d]{2,}|localhost|\[[0-9a-fA-F:]+(?:\.[0-9]{1,3}){0,4}\])(?:[-\w\p{Letter}.:%+~#*$!?&/=@]*?(?:,(?!\s))*?)*)/gu,parseValue=(e,t)=>{switch(typeof e){case`function`:return{html:e(t)};case`undefined`:return{text:t};default:return{html:e}}};function linkify(e,t={}){let{href:n,punctuation:a}=parseUrl(e);return createHtmlElement({name:`a`,attributes:{href:n,...t.attributes,href:n},...parseValue(t.value,n)})+a}var isTruncated=(e,t)=>e.endsWith(`...`)||t.startsWith(`…`);function linkifyUrlsToHtml(e,t){return e.replace(urlRegex(),(n,a,o)=>isTruncated(n,e.charAt(o+n.length))?n:linkify(n,t))}var _hoisted_1$1={class:`publication`},_hoisted_2={class:`header fbox-h`},_hoisted_3={class:`fbox-v`},_hoisted_4={id:`title`},_hoisted_5={id:`subtitle`},_hoisted_6={id:`details`},_hoisted_7={key:0,id:`abstract`},_hoisted_8={class:`content`},_hoisted_9={key:1,id:`attachments`},_hoisted_10=[`href`],ZoteroPublication_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`ZoteroPublication`,props:{item:{}},setup(e){let t=e,n=computed(()=>t.item.data),a=computed(()=>hooks(t.item.meta.parsedDate)),o=computed(()=>n.value.creators.map(e=>e.firstName+` `+e.lastName).join(` & `)),s=computed(()=>{let e={...n.value};return e.creators=o.value,delete e.key,delete e.version,delete e.title,delete e.abstractNote,e.itemType&&=capitalize(e.itemType),e.url&&=linkifyUrlsToHtml(e.url),e});return onMounted(()=>{$(`.publication`).accordion({collapsible:!0,header:`div.header`,active:!1,heightStyle:`content`})}),(t,c)=>(openBlock(),createElementBlock(`div`,_hoisted_1$1,[createBaseVNode(`div`,_hoisted_2,[c[0]||=createBaseVNode(`i`,{class:`icon fas fa-caret-right`},null,-1),createBaseVNode(`div`,_hoisted_3,[createBaseVNode(`div`,_hoisted_4,toDisplayString(n.value.title),1),createBaseVNode(`div`,_hoisted_5,`By `+toDisplayString(o.value)+toDisplayString(a.value.year()?`, `+a.value.year():``),1)])]),createBaseVNode(`div`,_hoisted_6,[createVNode(MetaTable_default,{id:`table`,table:s.value},null,8,[`table`]),n.value.abstractNote?(openBlock(),createElementBlock(`div`,_hoisted_7,[c[1]||=createBaseVNode(`div`,{class:`label`},`Abstract`,-1),createBaseVNode(`div`,_hoisted_8,toDisplayString(n.value.abstractNote),1)])):createCommentVNode(``,!0),e.item.attachments.length===0?createCommentVNode(``,!0):(openBlock(),createElementBlock(`div`,_hoisted_9,[c[2]||=createBaseVNode(`div`,{class:`label`},`Attachments`,-1),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.item.attachments,e=>(openBlock(),createElementBlock(`div`,{class:`content`,key:e.data.key},[createBaseVNode(`a`,{href:e.links.enclosure?.href},toDisplayString(e.data.title),9,_hoisted_10)]))),128))]))])]))}}),ZoteroPublication_default=_plugin_vue_export_helper_default(ZoteroPublication_vue_vue_type_script_setup_true_lang_default,[[`__scopeId`,`data-v-b471d893`]]),_hoisted_1={key:0,id:`About`,class:`markdown-content`},About_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`About`,setup(e){let t=ref(``),n=ref([]);return onMounted(()=>{fetch(`${hosts.content}/README.md`).then(e=>e.text()).then(async e=>t.value=await g.parse(parseExtensions(e.replace(emoji_regex_default(),e=>`<span class="emoji">${e}</span>`)))),fetch(`${hosts.api}/zotero.json`).then(e=>e.json()).then(e=>{n.value=e;let t=e;t=t.filter(e=>e.data.itemType===`attachment`),n.value=n.value.filter(e=>e.data.itemType!==`attachment`),n.value.forEach(e=>e.attachments=t.filter(t=>t.data.parentItem==e.key))})}),(e,a)=>{let o=resolveComponent(`Dynamic`),s=resolveComponent(`Collapse`);return t.value?(openBlock(),createElementBlock(`div`,_hoisted_1,[createVNode(o,{template:t.value},null,8,[`template`]),createVNode(s,{title:`<span class='emoji'>🎓</span> Research papers`},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.value,e=>(openBlock(),createBlock(ZoteroPublication_default,{key:e.key,item:e},null,8,[`item`]))),128))]),_:1})])):(openBlock(),createBlock(Loading_default,{key:1}))}}}),About_default=About_vue_vue_type_script_setup_true_lang_default;export{About_default as default}; |