From 16244eb5036a1e21a1ae97226cac2d034eccb568 Mon Sep 17 00:00:00 2001 From: Sandeep Rao Date: Sun, 15 Dec 2024 01:22:19 +0530 Subject: [PATCH] make external dependencies locally available (#3) --- docker-compose.yml | 2 - gulpfile.js | 4 +- public/ext/css/select2-4.1.0-beta.1.min.css | 1 + public/ext/js/alpine-v2.8.0-ie11.min.js | 20 + public/ext/js/alpine-v2.8.0.min.js | 8 + public/ext/js/jQuery-dotdotdot-4.0.11.js | 12 + public/ext/js/jquery-3.2.1.min.js | 4 + public/ext/js/jquery-ui-1.12.1.min.js | 13 + public/ext/js/jquery.inview-1.1.2.min.js | 1 + public/ext/js/moment-2.24.0.min.js | 1 + public/ext/js/redoc.standalone.js | 1826 +++++++++++++++++++ public/ext/js/select2-4.1.0-beta.1.min.js | 2 + public/ext/js/uikit-3.5.9.min.js | 3 + public/ext/js/uikit-icons-3.5.9.min.js | 3 + src/util/util.cr | 4 +- src/views/api.html.ecr | 2 +- src/views/components/dots.html.ecr | 4 +- src/views/components/head.html.ecr | 7 +- src/views/components/jquery-ui.html.ecr | 2 +- src/views/components/moment.html.ecr | 2 +- src/views/components/uikit.html.ecr | 4 +- src/views/reader.html.ecr | 2 +- src/views/title.html.ecr | 4 +- 23 files changed, 1913 insertions(+), 18 deletions(-) create mode 100644 public/ext/css/select2-4.1.0-beta.1.min.css create mode 100644 public/ext/js/alpine-v2.8.0-ie11.min.js create mode 100644 public/ext/js/alpine-v2.8.0.min.js create mode 100644 public/ext/js/jQuery-dotdotdot-4.0.11.js create mode 100644 public/ext/js/jquery-3.2.1.min.js create mode 100644 public/ext/js/jquery-ui-1.12.1.min.js create mode 100644 public/ext/js/jquery.inview-1.1.2.min.js create mode 100644 public/ext/js/moment-2.24.0.min.js create mode 100644 public/ext/js/redoc.standalone.js create mode 100644 public/ext/js/select2-4.1.0-beta.1.min.js create mode 100644 public/ext/js/uikit-3.5.9.min.js create mode 100644 public/ext/js/uikit-icons-3.5.9.min.js diff --git a/docker-compose.yml b/docker-compose.yml index f5761e3e..4c4553e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3' - services: mango: container_name: mango diff --git a/gulpfile.js b/gulpfile.js index 75b866d1..49e7ef81 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -62,7 +62,7 @@ gulp.task('minify-css', () => { .pipe(gulp.dest('dist/css')); }); -// Copy static files (includeing images) to dist +// Copy static files (including images) to dist gulp.task('copy-files', () => { return gulp .src( @@ -71,6 +71,8 @@ gulp.task('copy-files', () => { 'public/img/**', 'public/webfonts/*', 'public/js/*.min.js', + 'public/ext/js/*.min.js', + 'public/ext/css/*.min.css', ], { base: 'public', diff --git a/public/ext/css/select2-4.1.0-beta.1.min.css b/public/ext/css/select2-4.1.0-beta.1.min.css new file mode 100644 index 00000000..3e2b9b08 --- /dev/null +++ b/public/ext/css/select2-4.1.0-beta.1.min.css @@ -0,0 +1 @@ +.select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select2-container .select2-selection--single .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline;list-style:none;padding:0}.select2-container .select2-selection--multiple .select2-selection__clear{background-color:transparent;border:none;font-size:1em}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;margin-left:5px;padding:0}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051}.select2-results{display:block}.select2-results__options{list-style:none;margin:0;padding:0}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none}.select2-results__option--selectable{cursor:pointer}.select2-container--open .select2-dropdown{left:0}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-search--dropdown{display:block;padding:4px}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none}.select2-search--dropdown.select2-search--hide{display:none}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0)}.select2-hidden-accessible{border:0 !important;clip:rect(0 0 0 0) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px;padding-right:0px}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;padding-bottom:5px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:20px;margin-right:10px;margin-top:5px;padding:1px}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--default .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-right:1px solid #aaa;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#999;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{background-color:#f1f1f1;color:#333;outline:none}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-left:1px solid #aaa;border-right:none;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__clear{float:left;margin-left:10px;margin-right:auto}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;box-shadow:none;-webkit-appearance:textfield}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em}.select2-container--default .select2-results__option--group{padding:0}.select2-container--default .select2-results__option--disabled{color:#999}.select2-container--default .select2-results__option--selected{background-color:#ddd}.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{background-color:#5897fb;color:white}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic .select2-selection--single{background-color:#f7f7f7;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #fff 50%, #eee 100%);background-image:-o-linear-gradient(top, #fff 50%, #eee 100%);background-image:linear-gradient(to bottom, #fff 50%, #eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;height:26px;margin-right:20px}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eee 50%, #ccc 100%);background-image:-o-linear-gradient(top, #eee 50%, #ccc 100%);background-image:linear-gradient(to bottom, #eee 50%, #ccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0)}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #fff 0%, #eee 50%);background-image:-o-linear-gradient(top, #fff 0%, #eee 50%);background-image:linear-gradient(to bottom, #fff 0%, #eee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0)}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eee 50%, #fff 100%);background-image:-o-linear-gradient(top, #eee 50%, #fff 100%);background-image:linear-gradient(to bottom, #eee 50%, #fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0)}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;padding-bottom:5px;padding-right:5px}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;display:inline-block;margin-left:5px;margin-top:5px;padding:0}.select2-container--classic .select2-selection--multiple .select2-selection__choice__display{cursor:default;padding-left:2px;padding-right:5px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{background-color:transparent;border:none;border-top-left-radius:4px;border-bottom-left-radius:4px;color:#888;cursor:pointer;font-size:1em;font-weight:bold;padding:0 4px}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;outline:none}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display{padding-left:5px;padding-right:2px}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;box-shadow:none}.select2-container--classic .select2-dropdown{background-color:#fff;border:1px solid transparent}.select2-container--classic .select2-dropdown--above{border-bottom:none}.select2-container--classic .select2-dropdown--below{border-top:none}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto}.select2-container--classic .select2-results__option--group{padding:0}.select2-container--classic .select2-results__option--disabled{color:grey}.select2-container--classic .select2-results__option--highlighted.select2-results__option--selectable{background-color:#3875d7;color:#fff}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb} diff --git a/public/ext/js/alpine-v2.8.0-ie11.min.js b/public/ext/js/alpine-v2.8.0-ie11.min.js new file mode 100644 index 00000000..3c81733f --- /dev/null +++ b/public/ext/js/alpine-v2.8.0-ie11.min.js @@ -0,0 +1,20 @@ +/** + * Minified by jsDelivr using Terser v5.19.2. + * Original file: /gh/alpinejs/alpine@2.8.0/dist/alpine-ie11.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";var t;(t=HTMLSelectElement.prototype).hasOwnProperty("selectedOptions")||Object.defineProperty(t,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")},enumerable:!0,configurable:!0});var e,n,r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t,e){return t(e={exports:{}},e.exports),e.exports}(e="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)||"undefined"!=typeof navigator&&"ReactNative"===navigator.product?r:self).Proxy||(e.Proxy=function(){function t(){return null}function e(t){return!!t&&("object"==typeof t||"function"==typeof t)}function n(t){if(null!==t&&!e(t))throw new TypeError("Object prototype may only be an Object or null: "+t)}var r=null,i=Object,o=!(!i.create&&{__proto__:null}instanceof i),a=i.create||(o?function(t){return n(t),{__proto__:t}}:function(t){function e(){}if(n(t),null===t)throw new SyntaxError("Native Object.create is required to create objects with null prototype");return e.prototype=t,new e}),s=i.getPrototypeOf||([].__proto__===Array.prototype?function(t){return e(t=t.__proto__)?t:null}:t),c=function(u,l){function f(){}if(void 0===(this&&this instanceof c?this.constructor:void 0))throw new TypeError("Constructor Proxy requires 'new'");if(!e(u)||!e(l))throw new TypeError("Cannot create proxy with a non-object as target or handler");r=function(){u=null,f=function(t){throw new TypeError("Cannot perform '"+t+"' on a proxy that has been revoked")}},setTimeout((function(){r=null}),0);var h=l;for(var d in l={get:null,set:null,apply:null,construct:null},h){if(!(d in l))throw new TypeError("Proxy polyfill does not support trap '"+d+"'");l[d]=h[d]}"function"==typeof h&&(l.apply=h.apply.bind(h)),h=s(u);var p=!1,v=!1;if("function"==typeof u){var y=function(){var t=this&&this.constructor===y,e=Array.prototype.slice.call(arguments);return f(t?"construct":"apply"),t&&l.construct?l.construct.call(this,u,e):!t&&l.apply?l.apply(u,this,e):t?(e.unshift(u),new(u.bind.apply(u,e))):u.apply(this,e)};p=!0}else u instanceof Array?(y=[],v=!0):y=o||null!==h?a(h):{};var m=l.get?function(t){return f("get"),l.get(this,t,y)}:function(t){return f("get"),this[t]},g=l.set?function(t,e){f("set"),l.set(this,t,e,y)}:function(t,e){f("set"),this[t]=e},b={};if(i.getOwnPropertyNames(u).forEach((function(t){if(!p&&!v||!(t in y)){var e=i.getOwnPropertyDescriptor(u,t);i.defineProperty(y,t,{enumerable:!!e.enumerable,get:m.bind(u,t),set:g.bind(u,t)}),b[t]=!0}})),d=!0,p||v){var x=i.setPrototypeOf||([].__proto__===Array.prototype?function(t,e){return n(e),t.__proto__=e,t}:t);h&&x(y,h)||(d=!1)}if(l.get||!d)for(var w in u)b[w]||i.defineProperty(y,w,{get:m.bind(u,w)});return i.seal(u),i.seal(y),y};return c.revocable=function(t,e){return{proxy:new c(t,e),revoke:r}},c}(),e.Proxy.revocable=e.Proxy.revocable),"function"!=typeof(n=window.Element.prototype).matches&&(n.matches=n.msMatchesSelector||n.mozMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=0;e[n]&&e[n]!==this;)++n;return Boolean(e[n])}),"function"!=typeof n.closest&&(n.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),[Element.prototype,CharacterData.prototype,DocumentType.prototype].filter(Boolean).forEach((function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode&&this.parentNode.removeChild(this)}})})), +/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */ +"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(t){if("Element"in t){var e="classList",n="prototype",r=t.Element[n],i=Object,o=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},a=Array[n].indexOf||function(t){for(var e=0,n=this.length;e\x20\t\r\n\f]+)/i.exec(t)||["",""])[1].toLowerCase()}(t)];if(e)for(var n=0;n"+t+"";for(b.body.innerHTML=t,g.bootstrap(b);this.content.firstChild;)a.call(this.content,this.content.firstChild);var r=b.body;if(e)for(var i=0;i"+this.innerHTML+""},set:function(t){if(!this.parentNode)throw new Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");b.body.innerHTML=t;for(var e=this.ownerDocument.createDocumentFragment();b.body.firstChild;)s.call(e,b.body.firstChild);c.call(this.parentNode,e,this)},configurable:!0})};S(g.prototype),A(g.prototype),g.bootstrap=function(t){for(var e,n=v(t,m),r=0,i=n.length;r]/g,N=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},T=function(t){return t.replace(L,N)},j=function(t){for(var e={},n=0;n";case Node.TEXT_NODE:var c=t.data;return e&&P[e.localName]?c:function(t){return t.replace(k,N)}(c);case Node.COMMENT_NODE:return"\x3c!--"+t.data+"--\x3e";default:throw window.console.error(t),new Error("not implemented")}},R=function(t,e){"template"===t.localName&&(t=t.content);for(var n,r="",i=e?e(t):f.get.call(t),o=0,a=i.length;o0?pt:dt)(t)},yt=Math.min,mt=function(t){return t>0?yt(vt(t),9007199254740991):0},gt=Math.max,bt=Math.min,xt=function(t,e){var n=vt(t);return n<0?gt(n+e,0):bt(n,e)},wt=function(t){return function(e,n,r){var i,o=E(e),a=mt(o.length),s=xt(r,a);if(t&&n!=n){for(;a>s;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===n)return t||s||0;return!t&&-1}},Et={includes:wt(!0),indexOf:wt(!1)},_t=Et.indexOf,Ot=function(t,e){var n,r=E(t),i=0,o=[];for(n in r)!A(J,n)&&A(r,n)&&o.push(n);for(;e.length>i;)A(r,n=e[i++])&&(~_t(o,n)||o.push(n));return o},St=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],At=St.concat("length","prototype"),Lt={f:Object.getOwnPropertyNames||function(t){return Ot(t,At)}},kt={f:Object.getOwnPropertySymbols},Nt=ht("Reflect","ownKeys")||function(t){var e=Lt.f(P(t)),n=kt.f;return n?e.concat(n(t)):e},Tt=function(t,e){for(var n=Nt(e),r=R.f,i=C.f,o=0;om;m++)if((a||m in p)&&(h=v(f=p[m],m,d),t))if(e)b[m]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return m;case 2:Zt.call(b,f)}else if(i)return!1;return o?-1:r||i?i:b}},te={forEach:Jt(0),map:Jt(1),filter:Jt(2),some:Jt(3),every:Jt(4),find:Jt(5),findIndex:Jt(6)},ee=ht("navigator","userAgent")||"",ne=u.process,re=ne&&ne.versions,ie=re&&re.v8;ie?st=(at=ie.split("."))[0]+at[1]:ee&&(!(at=ee.match(/Edge\/(\d+)/))||at[1]>=74)&&(at=ee.match(/Chrome\/(\d+)/))&&(st=at[1]);var oe=st&&+st,ae=Yt("species"),se=function(t){return oe>=51||!l((function(){var e=[];return(e.constructor={})[ae]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},ce=Object.defineProperty,ue={},le=function(t){throw t},fe=function(t,e){if(A(ue,t))return ue[t];e||(e={});var n=[][t],r=!!A(e,"ACCESSORS")&&e.ACCESSORS,i=A(e,0)?e[0]:le,o=A(e,1)?e[1]:void 0;return ue[t]=!!n&&!l((function(){if(r&&!f)return!0;var t={length:-1};r?ce(t,1,{enumerable:!0,get:le}):t[1]=1,n.call(t,i,o)}))},he=te.filter,de=se("filter"),pe=fe("filter");$t({target:"Array",proto:!0,forced:!de||!pe},{filter:function(t){return he(this,t,arguments.length>1?arguments[1]:void 0)}});var ve=function(t,e){var n=[][t];return!!n&&l((function(){n.call(null,e||function(){throw 1},1)}))},ye=te.forEach,me=ve("forEach"),ge=fe("forEach"),be=me&&ge?[].forEach:function(t){return ye(this,t,arguments.length>1?arguments[1]:void 0)};$t({target:"Array",proto:!0,forced:[].forEach!=be},{forEach:be});var xe=function(t,e,n,r){try{return r?e(P(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&P(i.call(t)),e}},we={},Ee=Yt("iterator"),_e=Array.prototype,Oe=function(t){return void 0!==t&&(we.Array===t||_e[Ee]===t)},Se=function(t,e,n){var r=O(e);r in t?R.f(t,r,y(0,n)):t[r]=n},Ae={};Ae[Yt("toStringTag")]="z";var Le="[object z]"===String(Ae),ke=Yt("toStringTag"),Ne="Arguments"==g(function(){return arguments}()),Te=Le?g:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),ke))?n:Ne?g(e):"Object"==(r=g(e))&&"function"==typeof e.callee?"Arguments":r},je=Yt("iterator"),Ce=function(t){if(null!=t)return t[je]||t["@@iterator"]||we[Te(t)]},Pe=Yt("iterator"),De=!1;try{var Re=0,Ie={next:function(){return{done:!!Re++}},return:function(){De=!0}};Ie[Pe]=function(){return this},Array.from(Ie,(function(){throw 2}))}catch(t){}var Me=function(t,e){if(!e&&!De)return!1;var n=!1;try{var r={};r[Pe]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(t){}return n},Fe=!Me((function(t){Array.from(t)}));$t({target:"Array",stat:!0,forced:Fe},{from:function(t){var e,n,r,i,o,a,s=Gt(t),c="function"==typeof this?this:Array,u=arguments.length,l=u>1?arguments[1]:void 0,f=void 0!==l,h=Ce(s),d=0;if(f&&(l=Ut(l,u>2?arguments[2]:void 0,2)),null==h||c==Array&&Oe(h))for(n=new c(e=mt(s.length));e>d;d++)a=f?l(s[d],d):s[d],Se(n,d,a);else for(o=(i=h.call(s)).next,n=new c;!(r=o.call(i)).done;d++)a=f?xe(i,l,[r.value,d],!0):r.value,Se(n,d,a);return n.length=d,n}});var $e,ze,Ue,Ge=function(t){return function(e,n){var r,i,o=String(w(e)),a=vt(n),s=o.length;return a<0||a>=s?t?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===s||(i=o.charCodeAt(a+1))<56320||i>57343?t?o.charAt(a):r:t?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},Be={codeAt:Ge(!1),charAt:Ge(!0)},He=!l((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),qe=Z("IE_PROTO"),Ve=Object.prototype,We=He?Object.getPrototypeOf:function(t){return t=Gt(t),A(t,qe)?t[qe]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?Ve:null},Ke=Yt("iterator"),Ye=!1;[].keys&&("next"in(Ue=[].keys())?(ze=We(We(Ue)))!==Object.prototype&&($e=ze):Ye=!0),null==$e&&($e={}),A($e,Ke)||I($e,Ke,(function(){return this}));var Xe,Qe={IteratorPrototype:$e,BUGGY_SAFARI_ITERATORS:Ye},Ze=Object.keys||function(t){return Ot(t,St)},Je=f?Object.defineProperties:function(t,e){P(t);for(var n,r=Ze(e),i=r.length,o=0;i>o;)R.f(t,n=r[o++],e[n]);return t},tn=ht("document","documentElement"),en="prototype",nn="script",rn=Z("IE_PROTO"),on=function(){},an=function(t){return"<"+nn+">"+t+""},sn=function(){try{Xe=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e,n;sn=Xe?function(t){t.write(an("")),t.close();var e=t.parentWindow.Object;return t=null,e}(Xe):(e=N("iframe"),n="java"+nn+":",e.style.display="none",tn.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(an("document.F=Object")),t.close(),t.F);for(var r=St.length;r--;)delete sn[en][St[r]];return sn()};J[rn]=!0;var cn=Object.create||function(t,e){var n;return null!==t?(on[en]=P(t),n=new on,on[en]=null,n[rn]=t):n=sn(),void 0===e?n:Je(n,e)},un=R.f,ln=Yt("toStringTag"),fn=function(t,e,n){t&&!A(t=n?t:t.prototype,ln)&&un(t,ln,{configurable:!0,value:e})},hn=Qe.IteratorPrototype,dn=function(){return this},pn=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return P(n),function(t){if(!_(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype")}(r),e?t.call(n,r):n.__proto__=r,n}}():void 0),vn=Qe.IteratorPrototype,yn=Qe.BUGGY_SAFARI_ITERATORS,mn=Yt("iterator"),gn="keys",bn="values",xn="entries",wn=function(){return this},En=function(t,e,n,r,i,o,a){!function(t,e,n){var r=e+" Iterator";t.prototype=cn(hn,{next:y(1,n)}),fn(t,r,!1),we[r]=dn}(n,e,r);var s,c,u,l=function(t){if(t===i&&v)return v;if(!yn&&t in d)return d[t];switch(t){case gn:case bn:case xn:return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",h=!1,d=t.prototype,p=d[mn]||d["@@iterator"]||i&&d[i],v=!yn&&p||l(i),m="Array"==e&&d.entries||p;if(m&&(s=We(m.call(new t)),vn!==Object.prototype&&s.next&&(We(s)!==vn&&(pn?pn(s,vn):"function"!=typeof s[mn]&&I(s,mn,wn)),fn(s,f,!0))),i==bn&&p&&p.name!==bn&&(h=!0,v=function(){return p.call(this)}),d[mn]!==v&&I(d,mn,v),we[e]=v,i)if(c={values:l(bn),keys:o?v:l(gn),entries:l(xn)},a)for(u in c)(yn||h||!(u in d))&&ut(d,u,c[u]);else $t({target:e,proto:!0,forced:yn||h},c);return c},_n=Be.charAt,On="String Iterator",Sn=ct.set,An=ct.getterFor(On);En(String,"String",(function(t){Sn(this,{type:On,string:String(t),index:0})}),(function(){var t,e=An(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=_n(n,r),e.index+=t.length,{value:t,done:!1})}));var Ln={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var kn in Ln){var Nn=u[kn],Tn=Nn&&Nn.prototype;if(Tn&&Tn.forEach!==be)try{I(Tn,"forEach",be)}catch(t){Tn.forEach=be}}function jn(t){return jn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},jn(t)}function Cn(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function Pn(t,e){for(var n=0;nt.length)&&(e=t.length);for(var n=0,r=new Array(e);n=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:k(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),p}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));var Gn=Yt("unscopables"),Bn=Array.prototype;null==Bn[Gn]&&R.f(Bn,Gn,{configurable:!0,value:cn(null)});var Hn=function(t){Bn[Gn][t]=!0},qn=Et.includes,Vn=fe("indexOf",{ACCESSORS:!0,1:0});$t({target:"Array",proto:!0,forced:!Vn},{includes:function(t){return qn(this,t,arguments.length>1?arguments[1]:void 0)}}),Hn("includes");var Wn=te.map,Kn=se("map"),Yn=fe("map");$t({target:"Array",proto:!0,forced:!Kn||!Yn},{map:function(t){return Wn(this,t,arguments.length>1?arguments[1]:void 0)}});var Xn=function(t){return function(e,n,r,i){zt(n);var o=Gt(e),a=x(o),s=mt(o.length),c=t?s-1:0,u=t?-1:1;if(r<2)for(;;){if(c in a){i=a[c],c+=u;break}if(c+=u,t?c<0:s<=c)throw TypeError("Reduce of empty array with no initial value")}for(;t?c>=0:s>c;c+=u)c in a&&(i=n(i,a[c],c,o));return i}},Qn={left:Xn(!1),right:Xn(!0)}.left,Zn=ve("reduce"),Jn=fe("reduce",{1:0});$t({target:"Array",proto:!0,forced:!Zn||!Jn},{reduce:function(t){return Qn(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}});var tr=[].reverse,er=[1,2];$t({target:"Array",proto:!0,forced:String(er)===String(er.reverse())},{reverse:function(){return Bt(this)&&(this.length=this.length),tr.call(this)}});var nr=te.some,rr=ve("some"),ir=fe("some");$t({target:"Array",proto:!0,forced:!rr||!ir},{some:function(t){return nr(this,t,arguments.length>1?arguments[1]:void 0)}});var or=v.f,ar=function(t){return function(e){for(var n,r=E(e),i=Ze(r),o=i.length,a=0,s=[];o>a;)n=i[a++],f&&!or.call(r,n)||s.push(t?[n,r[n]]:r[n]);return s}},sr={entries:ar(!0),values:ar(!1)},cr=sr.entries;$t({target:"Object",stat:!0},{entries:function(t){return cr(t)}});var ur=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e};$t({target:"Object",stat:!0},{is:ur});var lr=l((function(){Ze(1)}));$t({target:"Object",stat:!0,forced:lr},{keys:function(t){return Ze(Gt(t))}});var fr=Le?{}.toString:function(){return"[object "+Te(this)+"]"};Le||ut(Object.prototype,"toString",fr,{unsafe:!0});var hr,dr,pr,vr=u.Promise,yr=function(t,e,n){for(var r in e)ut(t,r,e[r],n);return t},mr=Yt("species"),gr=function(t){var e=ht(t),n=R.f;f&&e&&!e[mr]&&n(e,mr,{configurable:!0,get:function(){return this}})},br=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t},xr=i((function(t){var e=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,n,r,i,o){var a,s,c,u,l,f,h,d=Ut(n,r,i?2:1);if(o)a=t;else{if("function"!=typeof(s=Ce(t)))throw TypeError("Target is not iterable");if(Oe(s)){for(c=0,u=mt(t.length);u>c;c++)if((l=i?d(P(h=t[c])[0],h[1]):d(t[c]))&&l instanceof e)return l;return new e(!1)}a=s.call(t)}for(f=a.next;!(h=f.call(a)).done;)if("object"==typeof(l=xe(a,d,h.value,i))&&l&&l instanceof e)return l;return new e(!1)}).stop=function(t){return new e(!0,t)}})),wr=Yt("species"),Er=function(t,e){var n,r=P(t).constructor;return void 0===r||null==(n=P(r)[wr])?e:zt(n)},_r=/(iphone|ipod|ipad).*applewebkit/i.test(ee),Or=u.location,Sr=u.setImmediate,Ar=u.clearImmediate,Lr=u.process,kr=u.MessageChannel,Nr=u.Dispatch,Tr=0,jr={},Cr="onreadystatechange",Pr=function(t){if(jr.hasOwnProperty(t)){var e=jr[t];delete jr[t],e()}},Dr=function(t){return function(){Pr(t)}},Rr=function(t){Pr(t.data)},Ir=function(t){u.postMessage(t+"",Or.protocol+"//"+Or.host)};Sr&&Ar||(Sr=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return jr[++Tr]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},hr(Tr),Tr},Ar=function(t){delete jr[t]},"process"==g(Lr)?hr=function(t){Lr.nextTick(Dr(t))}:Nr&&Nr.now?hr=function(t){Nr.now(Dr(t))}:kr&&!_r?(pr=(dr=new kr).port2,dr.port1.onmessage=Rr,hr=Ut(pr.postMessage,pr,1)):!u.addEventListener||"function"!=typeof postMessage||u.importScripts||l(Ir)||"file:"===Or.protocol?hr=Cr in N("script")?function(t){tn.appendChild(N("script"))[Cr]=function(){tn.removeChild(this),Pr(t)}}:function(t){setTimeout(Dr(t),0)}:(hr=Ir,u.addEventListener("message",Rr,!1)));var Mr,Fr,$r,zr,Ur,Gr,Br,Hr,qr={set:Sr,clear:Ar},Vr=C.f,Wr=qr.set,Kr=u.MutationObserver||u.WebKitMutationObserver,Yr=u.process,Xr=u.Promise,Qr="process"==g(Yr),Zr=Vr(u,"queueMicrotask"),Jr=Zr&&Zr.value;Jr||(Mr=function(){var t,e;for(Qr&&(t=Yr.domain)&&t.exit();Fr;){e=Fr.fn,Fr=Fr.next;try{e()}catch(t){throw Fr?zr():$r=void 0,t}}$r=void 0,t&&t.enter()},Qr?zr=function(){Yr.nextTick(Mr)}:Kr&&!_r?(Ur=!0,Gr=document.createTextNode(""),new Kr(Mr).observe(Gr,{characterData:!0}),zr=function(){Gr.data=Ur=!Ur}):Xr&&Xr.resolve?(Br=Xr.resolve(void 0),Hr=Br.then,zr=function(){Hr.call(Br,Mr)}):zr=function(){Wr.call(u,Mr)});var ti,ei,ni,ri,ii=Jr||function(t){var e={fn:t,next:void 0};$r&&($r.next=e),Fr||(Fr=e,zr()),$r=e},oi=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=zt(e),this.reject=zt(n)},ai={f:function(t){return new oi(t)}},si=function(t,e){if(P(t),_(e)&&e.constructor===t)return e;var n=ai.f(t);return(0,n.resolve)(e),n.promise},ci=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}},ui=qr.set,li=Yt("species"),fi="Promise",hi=ct.get,di=ct.set,pi=ct.getterFor(fi),vi=vr,yi=u.TypeError,mi=u.document,gi=u.process,bi=ht("fetch"),xi=ai.f,wi=xi,Ei="process"==g(gi),_i=!!(mi&&mi.createEvent&&u.dispatchEvent),Oi="unhandledrejection",Si=Mt(fi,(function(){if(!(H(vi)!==String(vi))){if(66===oe)return!0;if(!Ei&&"function"!=typeof PromiseRejectionEvent)return!0}if(oe>=51&&/native code/.test(vi))return!1;var t=vi.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[li]=e,!(t.then((function(){}))instanceof e)})),Ai=Si||!Me((function(t){vi.all(t).catch((function(){}))})),Li=function(t){var e;return!(!_(t)||"function"!=typeof(e=t.then))&&e},ki=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;ii((function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var s,c,u,l=r[a++],f=o?l.ok:l.fail,h=l.resolve,d=l.reject,p=l.domain;try{f?(o||(2===e.rejection&&Ci(t,e),e.rejection=1),!0===f?s=i:(p&&p.enter(),s=f(i),p&&(p.exit(),u=!0)),s===l.promise?d(yi("Promise-chain cycle")):(c=Li(s))?c.call(s,h,d):h(s)):d(i)}catch(t){p&&!u&&p.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&Ti(t,e)}))}},Ni=function(t,e,n){var r,i;_i?((r=mi.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),u.dispatchEvent(r)):r={promise:e,reason:n},(i=u["on"+t])?i(r):t===Oi&&function(t,e){var n=u.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}("Unhandled promise rejection",n)},Ti=function(t,e){ui.call(u,(function(){var n,r=e.value;if(ji(e)&&(n=ci((function(){Ei?gi.emit("unhandledRejection",r,t):Ni(Oi,t,r)})),e.rejection=Ei||ji(e)?2:1,n.error))throw n.value}))},ji=function(t){return 1!==t.rejection&&!t.parent},Ci=function(t,e){ui.call(u,(function(){Ei?gi.emit("rejectionHandled",t):Ni("rejectionhandled",t,e.value)}))},Pi=function(t,e,n,r){return function(i){t(e,n,i,r)}},Di=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,ki(t,e,!0))},Ri=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw yi("Promise can't be resolved itself");var i=Li(n);i?ii((function(){var r={done:!1};try{i.call(n,Pi(Ri,t,r,e),Pi(Di,t,r,e))}catch(n){Di(t,r,n,e)}})):(e.value=n,e.state=1,ki(t,e,!1))}catch(n){Di(t,{done:!1},n,e)}}};Si&&(vi=function(t){br(this,vi,fi),zt(t),ti.call(this);var e=hi(this);try{t(Pi(Ri,this,e),Pi(Di,this,e))}catch(t){Di(this,e,t)}},(ti=function(t){di(this,{type:fi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=yr(vi.prototype,{then:function(t,e){var n=pi(this),r=xi(Er(this,vi));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Ei?gi.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&ki(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),ei=function(){var t=new ti,e=hi(t);this.promise=t,this.resolve=Pi(Ri,t,e),this.reject=Pi(Di,t,e)},ai.f=xi=function(t){return t===vi||t===ni?new ei(t):wi(t)},"function"==typeof vr&&(ri=vr.prototype.then,ut(vr.prototype,"then",(function(t,e){var n=this;return new vi((function(t,e){ri.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof bi&&$t({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return si(vi,bi.apply(u,arguments))}}))),$t({global:!0,wrap:!0,forced:Si},{Promise:vi}),fn(vi,fi,!1),gr(fi),ni=ht(fi),$t({target:fi,stat:!0,forced:Si},{reject:function(t){var e=xi(this);return e.reject.call(void 0,t),e.promise}}),$t({target:fi,stat:!0,forced:Si},{resolve:function(t){return si(this,t)}}),$t({target:fi,stat:!0,forced:Ai},{all:function(t){var e=this,n=xi(e),r=n.resolve,i=n.reject,o=ci((function(){var n=zt(e.resolve),o=[],a=0,s=1;xr(t,(function(t){var c=a++,u=!1;o.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,o[c]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=xi(e),r=n.reject,i=ci((function(){var i=zt(e.resolve);xr(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Ii=function(){var t=P(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e};function Mi(t,e){return RegExp(t,e)}var Fi,$i,zi={UNSUPPORTED_Y:l((function(){var t=Mi("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),BROKEN_CARET:l((function(){var t=Mi("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},Ui=RegExp.prototype.exec,Gi=String.prototype.replace,Bi=Ui,Hi=(Fi=/a/,$i=/b*/g,Ui.call(Fi,"a"),Ui.call($i,"a"),0!==Fi.lastIndex||0!==$i.lastIndex),qi=zi.UNSUPPORTED_Y||zi.BROKEN_CARET,Vi=void 0!==/()??/.exec("")[1];(Hi||Vi||qi)&&(Bi=function(t){var e,n,r,i,o=this,a=qi&&o.sticky,s=Ii.call(o),c=o.source,u=0,l=t;return a&&(-1===(s=s.replace("y","")).indexOf("g")&&(s+="g"),l=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(c="(?: "+c+")",l=" "+l,u++),n=new RegExp("^(?:"+c+")",s)),Vi&&(n=new RegExp("^"+c+"$(?!\\s)",s)),Hi&&(e=o.lastIndex),r=Ui.call(a?n:o,l),a?r?(r.input=r.input.slice(u),r[0]=r[0].slice(u),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:Hi&&r&&(o.lastIndex=o.global?r.index+r[0].length:e),Vi&&r&&r.length>1&&Gi.call(r[0],n,(function(){for(i=1;i1?arguments[1]:void 0)}});var Ji=Yt("species"),to=!l((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),eo="$0"==="a".replace(/./,"$0"),no=Yt("replace"),ro=!!/./[no]&&""===/./[no]("a","$0"),io=!l((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),oo=function(t,e,n,r){var i=Yt(t),o=!l((function(){var e={};return e[i]=function(){return 7},7!=""[t](e)})),a=o&&!l((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[Ji]=function(){return n},n.flags="",n[i]=/./[i]),n.exec=function(){return e=!0,null},n[i](""),!e}));if(!o||!a||"replace"===t&&(!to||!eo||ro)||"split"===t&&!io){var s=/./[i],c=n(i,""[t],(function(t,e,n,r,i){return e.exec===Wi?o&&!i?{done:!0,value:s.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:eo,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ro}),u=c[0],f=c[1];ut(String.prototype,t,u),ut(RegExp.prototype,i,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)})}r&&I(RegExp.prototype[i],"sham",!0)},ao=Be.charAt,so=function(t,e,n){return e+(n?ao(t,e).length:1)},co=function(t,e){var n=t.exec;if("function"==typeof n){var r=n.call(t,e);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==g(t))throw TypeError("RegExp#exec called on incompatible receiver");return Wi.call(t,e)},uo=[].push,lo=Math.min,fo=4294967295,ho=!l((function(){return!RegExp(fo,"y")}));oo("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(w(this)),i=void 0===n?fo:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!Yi(t))return e.call(r,t,i);for(var o,a,s,c=[],u=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,f=new RegExp(t.source,u+"g");(o=Wi.call(f,r))&&!((a=f.lastIndex)>l&&(c.push(r.slice(l,o.index)),o.length>1&&o.index=i));)f.lastIndex===o.index&&f.lastIndex++;return l===r.length?!s&&f.test("")||c.push(""):c.push(r.slice(l)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=w(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var o=n(r,t,this,i,r!==e);if(o.done)return o.value;var a=P(t),s=String(this),c=Er(a,RegExp),u=a.unicode,l=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(ho?"y":"g"),f=new c(ho?a:"^(?:"+a.source+")",l),h=void 0===i?fo:i>>>0;if(0===h)return[];if(0===s.length)return null===co(f,s)?[s]:[];for(var d=0,p=0,v=[];p=51||!l((function(){var t=[];return t[po]=!1,t.concat()[0]!==t})),go=se("concat"),bo=function(t){if(!_(t))return!1;var e=t[po];return void 0!==e?!!e:Bt(t)};$t({target:"Array",proto:!0,forced:!mo||!go},{concat:function(t){var e,n,r,i,o,a=Gt(this),s=Qt(a,0),c=0;for(e=-1,r=arguments.length;evo)throw TypeError(yo);for(n=0;n=vo)throw TypeError(yo);Se(s,c++,o)}return s.length=c,s}});var xo=te.find,wo="find",Eo=!0,_o=fe(wo);wo in[]&&Array(1)[wo]((function(){Eo=!1})),$t({target:"Array",proto:!0,forced:Eo||!_o},{find:function(t){return xo(this,t,arguments.length>1?arguments[1]:void 0)}}),Hn(wo);var Oo=Et.indexOf,So=[].indexOf,Ao=!!So&&1/[1].indexOf(1,-0)<0,Lo=ve("indexOf"),ko=fe("indexOf",{ACCESSORS:!0,1:0});$t({target:"Array",proto:!0,forced:Ao||!Lo||!ko},{indexOf:function(t){return Ao?So.apply(this,arguments)||0:Oo(this,t,arguments.length>1?arguments[1]:void 0)}});var No="Array Iterator",To=ct.set,jo=ct.getterFor(No),Co=En(Array,"Array",(function(t,e){To(this,{type:No,target:E(t),index:0,kind:e})}),(function(){var t=jo(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values");we.Arguments=we.Array,Hn("keys"),Hn("values"),Hn("entries");var Po=[].join,Do=x!=Object,Ro=ve("join",",");$t({target:"Array",proto:!0,forced:Do||!Ro},{join:function(t){return Po.call(E(this),void 0===t?",":t)}});var Io=R.f,Mo=Function.prototype,Fo=Mo.toString,$o=/^\s*function ([^ (]*)/,zo="name";f&&!(zo in Mo)&&Io(Mo,zo,{configurable:!0,get:function(){try{return Fo.call(this).match($o)[1]}catch(t){return""}}});var Uo=function(t,e,n){var r,i;return pn&&"function"==typeof(r=e.constructor)&&r!==n&&_(i=r.prototype)&&i!==n.prototype&&pn(t,i),t},Go="\t\n\v\f\r                 \u2028\u2029\ufeff",Bo="["+Go+"]",Ho=RegExp("^"+Bo+Bo+"*"),qo=RegExp(Bo+Bo+"*$"),Vo=function(t){return function(e){var n=String(w(e));return 1&t&&(n=n.replace(Ho,"")),2&t&&(n=n.replace(qo,"")),n}},Wo={start:Vo(1),end:Vo(2),trim:Vo(3)},Ko=Lt.f,Yo=C.f,Xo=R.f,Qo=Wo.trim,Zo="Number",Jo=u[Zo],ta=Jo.prototype,ea=g(cn(ta))==Zo,na=function(t){var e,n,r,i,o,a,s,c,u=O(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=Qo(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+u}for(a=(o=u.slice(2)).length,s=0;si)return NaN;return parseInt(o,r)}return+u};if(Mt(Zo,!Jo(" 0o1")||!Jo("0b1")||Jo("+0x1"))){for(var ra,ia=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof ia&&(ea?l((function(){ta.valueOf.call(n)})):g(n)!=Zo)?Uo(new Jo(na(e)),n,ia):na(e)},oa=f?Ko(Jo):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),aa=0;oa.length>aa;aa++)A(Jo,ra=oa[aa])&&!A(ia,ra)&&Xo(ia,ra,Yo(Jo,ra));ia.prototype=ta,ta.constructor=ia,ut(u,Zo,ia)}var sa=sr.values;$t({target:"Object",stat:!0},{values:function(t){return sa(t)}});var ca=!l((function(){return Object.isExtensible(Object.preventExtensions({}))})),ua=i((function(t){var e=R.f,n=X("meta"),r=0,i=Object.isExtensible||function(){return!0},o=function(t){e(t,n,{value:{objectID:"O"+ ++r,weakData:{}}})},a=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!_(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!A(t,n)){if(!i(t))return"F";if(!e)return"E";o(t)}return t[n].objectID},getWeakData:function(t,e){if(!A(t,n)){if(!i(t))return!0;if(!e)return!1;o(t)}return t[n].weakData},onFreeze:function(t){return ca&&a.REQUIRED&&i(t)&&!A(t,n)&&o(t),t}};J[n]=!0})),la=(ua.REQUIRED,ua.fastKey,ua.getWeakData,ua.onFreeze,R.f),fa=ua.fastKey,ha=ct.set,da=ct.getterFor,pa={getConstructor:function(t,e,n,r){var i=t((function(t,o){br(t,i,e),ha(t,{type:e,index:cn(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=o&&xr(o,t[r],t,n)})),o=da(e),a=function(t,e,n){var r,i,a=o(t),c=s(t,e);return c?c.value=n:(a.last=c={index:i=fa(e,!0),key:e,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=c),r&&(r.next=c),f?a.size++:t.size++,"F"!==i&&(a.index[i]=c)),t},s=function(t,e){var n,r=o(t),i=fa(e);if("F"!==i)return r.index[i];for(n=r.first;n;n=n.next)if(n.key==e)return n};return yr(i.prototype,{clear:function(){for(var t=o(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=this,n=o(e),r=s(e,t);if(r){var i=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=i),i&&(i.previous=a),n.first==r&&(n.first=i),n.last==r&&(n.last=a),f?n.size--:e.size--}return!!r},forEach:function(t){for(var e,n=o(this),r=Ut(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!s(this,t)}}),yr(i.prototype,n?{get:function(t){var e=s(this,t);return e&&e.value},set:function(t,e){return a(this,0===t?0:t,e)}}:{add:function(t){return a(this,t=0===t?0:t,t)}}),f&&la(i.prototype,"size",{get:function(){return o(this).size}}),i},setStrong:function(t,e,n){var r=e+" Iterator",i=da(e),o=da(r);En(t,e,(function(t,e){ha(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),gr(e)}};!function(t,e,n){var r=-1!==t.indexOf("Map"),i=-1!==t.indexOf("Weak"),o=r?"set":"add",a=u[t],s=a&&a.prototype,c=a,f={},h=function(t){var e=s[t];ut(s,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(i&&!_(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return i&&!_(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(i&&!_(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(Mt(t,"function"!=typeof a||!(i||s.forEach&&!l((function(){(new a).entries().next()})))))c=n.getConstructor(e,t,r,o),ua.REQUIRED=!0;else if(Mt(t,!0)){var d=new c,p=d[o](i?{}:-0,1)!=d,v=l((function(){d.has(1)})),y=Me((function(t){new a(t)})),m=!i&&l((function(){for(var t=new a,e=5;e--;)t[o](e,e);return!t.has(-0)}));y||((c=e((function(e,n){br(e,c,t);var i=Uo(new a,e,c);return null!=n&&xr(n,i[o],i,r),i}))).prototype=s,s.constructor=c),(v||m)&&(h("delete"),h("has"),r&&h("get")),(m||p)&&h(o),i&&s.clear&&delete s.clear}f[t]=c,$t({global:!0,forced:c!=a},f),fn(c,t),i||n.setStrong(c,t,r)}("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),pa);oo("match",1,(function(t,e,n){return[function(e){var n=w(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=P(t),o=String(this);if(!i.global)return co(i,o);var a=i.unicode;i.lastIndex=0;for(var s,c=[],u=0;null!==(s=co(i,o));){var l=String(s[0]);c[u]=l,""===l&&(i.lastIndex=so(o,mt(i.lastIndex),a)),u++}return 0===u?null:c}]}));var va=Math.max,ya=Math.min,ma=Math.floor,ga=/\$([$&'`]|\d\d?|<[^>]*>)/g,ba=/\$([$&'`]|\d\d?)/g;oo("replace",2,(function(t,e,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=w(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var c=n(e,t,this,r);if(c.done)return c.value}var u=P(t),l=String(this),f="function"==typeof r;f||(r=String(r));var h=u.global;if(h){var d=u.unicode;u.lastIndex=0}for(var p=[];;){var v=co(u,l);if(null===v)break;if(p.push(v),!h)break;""===String(v[0])&&(u.lastIndex=so(l,mt(u.lastIndex),d))}for(var y,m="",g=0,b=0;b=g&&(m+=l.slice(g,w)+A,g=w+x.length)}return m+l.slice(g)}];function s(t,n,r,i,o,a){var s=r+t.length,c=i.length,u=ba;return void 0!==o&&(o=Gt(o),u=ga),e.call(a,u,(function(e,a){var u;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(s);case"<":u=o[a.slice(1,-1)];break;default:var l=+a;if(0===l)return e;if(l>c){var f=ma(l/10);return 0===f?e:f<=c?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):e}u=i[l-1]}return void 0===u?"":u}))}}));var xa,wa=C.f,Ea="".startsWith,_a=Math.min,Oa=Zi("startsWith"),Sa=!(Oa||(xa=wa(String.prototype,"startsWith"),!xa||xa.writable));$t({target:"String",proto:!0,forced:!Sa&&!Oa},{startsWith:function(t){var e=String(w(this));Xi(t);var n=mt(_a(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return Ea?Ea.call(e,r,n):e.slice(n,n+r.length)===r}});var Aa=Wo.trim;$t({target:"String",proto:!0,forced:function(t){return l((function(){return!!Go[t]()||"​…᠎"!="​…᠎"[t]()||Go[t].name!==t}))}("trim")},{trim:function(){return Aa(this)}});var La=Yt("iterator"),ka=Yt("toStringTag"),Na=Co.values;for(var Ta in Ln){var ja=u[Ta],Ca=ja&&ja.prototype;if(Ca){if(Ca[La]!==Na)try{I(Ca,La,Na)}catch(t){Ca[La]=Na}if(Ca[ka]||I(Ca,ka,Ta),Ln[Ta])for(var Pa in Co)if(Ca[Pa]!==Co[Pa])try{I(Ca,Pa,Co[Pa])}catch(t){Ca[Pa]=Co[Pa]}}}var Da=void 0;function Ra(){var t=this;return new Promise(function(e){Mn(this,t),"loading"==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}.bind(this))}function Ia(t){return Array.from(new Set(t))}function Ma(){return navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")}function Fa(t,e){return t==e}function $a(t,e){"template"!==t.tagName.toLowerCase()?console.warn("Alpine: [".concat(e,"] directive should only be added to