p-elements-core 1.2.0-rc7 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +29 -0
- package/demo/sample.js +20 -0
- package/{screen.css → demo/screen.css} +0 -0
- package/{theme.css → demo/theme.css} +0 -0
- package/dist/p-elements-core-modern.js +3 -4
- package/dist/p-elements-core.js +3 -14
- package/index.html +9 -9
- package/older-browsers-webpack.config.js +60 -0
- package/p-elements-core.d.ts +70 -20
- package/package.json +22 -46
- package/src/cache.ts +34 -0
- package/src/custom-element.ts +303 -0
- package/src/custom-style-element.ts +38 -20
- package/src/dom.ts +133 -0
- package/src/h.ts +86 -0
- package/src/index.ts +40 -0
- package/src/interfaces.ts +15 -0
- package/src/mapping.ts +79 -0
- package/src/projection.ts +730 -0
- package/src/projector.ts +110 -0
- package/src/sample.tsx +112 -50
- package/tsconfig.json +1 -1
- package/webpack.config.js +52 -162
- package/dist/sample.js +0 -2
- package/global.js +0 -1
- package/karma.conf.js +0 -32
- package/src/commonjs.js +0 -182
- package/src/custom-event-polyfill.js +0 -78
- package/src/index.tsx +0 -23
- package/src/sample.css +0 -20
- package/src/sample.spec.ts +0 -112
- package/src/utils/custom-element.ts +0 -241
- package/src/utils/maquette.ts +0 -1328
- package/types/custom-style-element.d.ts +0 -3
- package/types/index.d.ts +0 -1
- package/types/sample.d.ts +0 -1
- package/types/utils/custom-element.d.ts +0 -29
- package/types/utils/maquette.d.ts +0 -521
- package/webpack.config.karma.js +0 -35
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
// [P-ELEMENTS] p-elements-core@1.2.0-rc6 - December 23rd, 2021, 7:49
|
|
2
|
-
!function(e){var t=window.webpackJsonp;window.webpackJsonp=function(n,s,u){for(var i,d,a,l=0,c=[];l<n.length;l++)d=n[l],r[d]&&c.push(r[d][0]),r[d]=0;for(i in s)Object.prototype.hasOwnProperty.call(s,i)&&(e[i]=s[i]);for(t&&t(n,s,u);c.length;)c.shift()();if(u)for(l=0;l<u.length;l++)a=o(o.s=u[l]);return a};var n={},r={1:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=r[e];if(0===t)return new Promise(function(e){e()});if(t)return t[2];var n=new Promise(function(n,o){t=r[e]=[n,o]});t[2]=n;var s=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,o.nc&&u.setAttribute("nonce",o.nc),u.src=o.p+""+{0:"825de1ac02abc569e7c0"}[e]+".js";var i=setTimeout(d,12e4);function d(){u.onerror=u.onload=null,clearTimeout(i);var t=r[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),r[e]=void 0)}return u.onerror=u.onload=d,s.appendChild(u),n},o.m=e,o.c=n,o.i=function(e){return e},o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e},o(o.s=1)}({"../global.js":function(e,t){e.exports=window},"../node_modules/@webcomponents/shadycss/apply-shim.min.js":function(e,t){(function(){"use strict";var e,t,n=!(window.ShadyDOM&&window.ShadyDOM.inUse);function r(t){e=(!t||!t.shimcssproperties)&&(n||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?e=window.ShadyCSS.nativeCss:window.ShadyCSS?(r(window.ShadyCSS),window.ShadyCSS=void 0):r(window.WebComponents&&window.WebComponents.flags);var o=e,s=t;function u(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function i(e){var t=d,n=e=e.replace(m,"").replace(p,""),r=new u;r.start=0,r.end=n.length;for(var o=r,s=0,i=n.length;s<i;s++)if("{"===n[s]){o.rules||(o.rules=[]);var a=o,l=a.rules[a.rules.length-1]||null;(o=new u).start=s+1,o.parent=a,o.previous=l,a.rules.push(o)}else"}"===n[s]&&(o.end=s+1,o=o.parent||r);return t(r,e)}function d(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=(n=(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e})}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1))).replace(b," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=c:n.match(g)&&(e.type=l,e.keyframesName=e.selector.split(b).pop()):e.type=0===n.indexOf("--")?f:a),n=e.rules)for(var r=0,o=n.length,s=void 0;r<o&&(s=n[r]);r++)d(s,t);return e}var a=1,l=7,c=4,f=1e3,m=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,p=/@import[^;]*;/gim,h=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,v=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,_=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,y=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,g=/^@[^\s]*keyframes/,b=/\s+/g,j=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,w=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,S=/@media\s(.*)/,E=new Set;function C(e){return e?("string"==typeof e&&(e=i(e)),function e(t,n,r){r=void 0===r?"":r;var o="";if(t.cssText||t.rules){var s,u=t.rules;if((s=u)&&(s=!((s=u[0])&&s.selector&&0===s.selector.indexOf("--"))),s){s=0;for(var i=u.length,d=void 0;s<i&&(d=u[s]);s++)o=e(d,n,o)}else n=n?t.cssText:(n=(n=t.cssText).replace(h,"").replace(v,"")).replace(_,"").replace(y,""),(o=n.trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" {\n"),r+=o,t.selector&&(r+="}\n\n")),r}(e,o)):""}function T(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=i(e.textContent)),e.__cssRules||null}function N(e,t,n,r){if(e){var o=!1,s=e.type;if(r&&s===c){var u=e.selector.match(S);u&&(window.matchMedia(u[1]).matches||(o=!0))}if(s===a?t(e):n&&s===l?n(e):s===f&&(o=!0),(e=e.rules)&&!o)for(o=0,s=e.length,u=void 0;o<s&&(u=e[o]);o++)N(u,t,n,r)}}function M(e){if(void 0!==s)return s;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}var x=/;\s*/m,L=/^\s*(initial)|(inherit)\s*$/,O=/\s*!important/;function A(){this.a={}}A.prototype.set=function(e,t){e=e.trim(),this.a[e]={h:t,i:{}}},A.prototype.get=function(e){return e=e.trim(),this.a[e]||null};var H=null;function k(){this.b=this.c=null,this.a=new A}function P(e,t){for(var n=t;n.parent;)n=n.parent;var r={},o=!1;return N(n,function(n){(o=o||n===t)||n.selector===t.selector&&Object.assign(r,I(e,n.parsedCssText))}),r}function D(e,t,n){for(var r;r=w.exec(t);){var o=r[0],s=r[1];r=r.index;var u=t.slice(0,r+o.indexOf("@apply"));t=t.slice(r+o.length);var i=n?P(e,n):{};Object.assign(i,I(e,u)),o=void 0;var d=e;s=s.replace(x,"");var a=[],l=d.a.get(s);if(l||(d.a.set(s,{}),l=d.a.get(s)),l){d.c&&(l.i[d.c]=!0);var c=l.h;for(o in c)l=[o,": var(",s,"_-_",o],(d=i&&i[o])&&l.push(",",d.replace(O,"")),l.push(")"),O.test(c[o])&&l.push(" !important"),a.push(l.join(""))}t=u+(o=a.join("; "))+t,w.lastIndex=r+o.length}return t}function I(e,t,n){n=void 0!==n&&n,t=t.split(";");for(var r,o,s,u={},i=0;i<t.length;i++)if((r=t[i])&&1<(s=r.split(":")).length){if(r=s[0].trim(),o=s.slice(1).join(":"),n){var d=e;s=r;var a=L.exec(o);a&&(a[1]?(d.b||(d.b=document.createElement("meta"),d.b.setAttribute("apply-shim-measure",""),d.b.style.all="initial",document.head.appendChild(d.b)),s=window.getComputedStyle(d.b).getPropertyValue(s)):s="apply-shim-inherit",o=s)}u[r]=o}return u}k.prototype.o=function(e){return e=w.test(e)||j.test(e),w.lastIndex=0,j.lastIndex=0,e},k.prototype.m=function(e,t){if(void 0===e._gatheredStyle){for(var r=[],o=e.content.querySelectorAll("style"),s=0;s<o.length;s++){var u=o[s];if(u.hasAttribute("shady-unscoped")){if(!n){var i=u.textContent;E.has(i)||(E.add(i),i=u.cloneNode(!0),document.head.appendChild(i)),u.parentNode.removeChild(u)}}else r.push(u.textContent),u.parentNode.removeChild(u)}(r=r.join("").trim())?((o=document.createElement("style")).textContent=r,e.content.insertBefore(o,e.content.firstChild),r=o):r=null,e._gatheredStyle=r}return(e=e._gatheredStyle)?this.j(e,t):null},k.prototype.j=function(e,t){t=void 0===t?"":t;var n=T(e);return this.l(n,t),e.textContent=C(n),n},k.prototype.f=function(e){var t=this,n=T(e);return N(n,function(e){":root"===e.selector&&(e.selector="html"),t.g(e)}),e.textContent=C(n),n},k.prototype.l=function(e,t){var n=this;this.c=t,N(e,function(e){n.g(e)}),this.c=null},k.prototype.g=function(e){e.cssText=function(e,t,n){return t=t.replace(j,function(t,r,o,s){return function(e,t,n,r,o,s){if(r&&function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");e:{for(var o=0,s=r+3,u=t.length;s<u;s++)if("("===t[s])o++;else if(")"===t[s]&&0==--o)break e;s=-1}return o=t.substring(r+4,s),r=t.substring(0,r),t=e(t.substring(s+1),n),-1===(s=o.indexOf(","))?n(r,o.trim(),"",t):n(r,o.substring(0,s).trim(),o.substring(s+1).trim(),t)}(r,function(t,n){n&&e.a.get(n)&&(o="@apply "+n+";")}),!o)return t;var u=D(e,""+o,s);s=t.slice(0,t.indexOf("--"));var i=u=I(e,u,!0),d=e.a.get(n),a=d&&d.h;a?i=Object.assign(Object.create(a),u):e.a.set(n,i);var l,c=[],f=!1;for(l in i){var m=u[l];void 0===m&&(m="initial"),!a||l in a||(f=!0),c.push(n+"_-_"+l+": "+m)}return f&&function(e,t){if(H)for(var n in t.i)n!==e.c&&H(n)}(e,d),d&&(d.h=i),r&&(s=t+";"+s),s+c.join("; ")+";"}(e,t,r,o,s,n)}),D(e,t,n)}(this,e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")},k.prototype.detectMixin=k.prototype.o,k.prototype.transformStyle=k.prototype.j,k.prototype.transformCustomStyle=k.prototype.f,k.prototype.transformRules=k.prototype.l,k.prototype.transformRule=k.prototype.g,k.prototype.transformTemplate=k.prototype.m,k.prototype._separator="_-_",Object.defineProperty(k.prototype,"invalidCallback",{get:function(){return H},set:function(e){H=e}});var R={},F=Promise.resolve();function B(e){(e=R[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function V(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var q=new k;function U(){this.a=null,q.invalidCallback=B}function W(e){!e.a&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(e){q.f(e)},e.a.validateCallback=function(){requestAnimationFrame(function(){e.a.enqueued&&e.flushCustomStyles()})})}if(U.prototype.prepareTemplate=function(e,t){W(this),""===M(e)&&(R[t]=e,t=q.m(e,t),e._styleAst=t)},U.prototype.flushCustomStyles=function(){if(W(this),this.a){var e=this.a.processStyles();if(this.a.enqueued){for(var t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);n&&q.f(n)}this.a.enqueued=!1}}},U.prototype.styleSubtree=function(e,t){if(W(this),t)for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n]);if(e.shadowRoot)for(this.styleElement(e),e=e.shadowRoot.children||e.shadowRoot.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t]);else for(e=e.children||e.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t])},U.prototype.styleElement=function(e){W(this);var t,n=e.localName;t=n?-1<n.indexOf("-")?n:e.getAttribute&&e.getAttribute("is")||"":e.is,(n=R[t])&&""!==M(n)||!n||V(n)||((V(n)||n._applyShimValidatingVersion!==n._applyShimNextVersion)&&(this.prepareTemplate(n,t),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,F.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}(n)),(e=e.shadowRoot)&&(e=e.querySelector("style"))&&(e.__cssRules=n._styleAst,e.textContent=C(n._styleAst)))},U.prototype.styleDocument=function(e){W(this),this.styleSubtree(document.body,e)},!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var z=new U,$=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(e,t){z.flushCustomStyles(),z.prepareTemplate(e,t)},prepareTemplateStyles:function(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom:function(){},styleSubtree:function(e,t){z.flushCustomStyles(),z.styleSubtree(e,t)},styleElement:function(e){z.flushCustomStyles(),z.styleElement(e)},styleDocument:function(e){z.flushCustomStyles(),z.styleDocument(e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){z.flushCustomStyles()},nativeCss:o,nativeShadow:n,cssBuild:s},$&&(window.ShadyCSS.CustomStyleInterface=$)}window.ShadyCSS.ApplyShim=q}).call(this)},"../node_modules/@webcomponents/shadycss/custom-style-interface.min.js":function(e,t){(function(){"use strict";var e,t=null,n=window.HTMLImports&&window.HTMLImports.whenReady||null;function r(r){requestAnimationFrame(function(){n?n(r):(t||(t=new Promise(function(t){e=t}),"complete"===document.readyState?e():document.addEventListener("readystatechange",function(){"complete"===document.readyState&&e()})),t.then(function(){r&&r()}))})}var o=null,s=null;function u(){this.customStyles=[],this.enqueued=!1,r(function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()})}function i(e){!e.enqueued&&s&&(e.enqueued=!0,r(s))}function d(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}u.prototype.c=function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),i(this))},u.prototype.b=function(e){return e.__shadyCSSCachedStyle?e.__shadyCSSCachedStyle:e.getStyle?e.getStyle():e},u.prototype.a=function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n.__shadyCSSCachedStyle){var r=this.b(n);r&&(r=r.__appliedElement||r,o&&o(r),n.__shadyCSSCachedStyle=r)}}return e},u.prototype.addCustomStyle=u.prototype.c,u.prototype.getStyleForCustomStyle=u.prototype.b,u.prototype.processStyles=u.prototype.a,Object.defineProperties(u.prototype,{transformCallback:{get:function(){return o},set:function(e){o=e}},validateCallback:{get:function(){return s},set:function(e){var t=!1;s||(t=!0),s=e,t&&i(this)}}});var a,l,c=!(window.ShadyDOM&&window.ShadyDOM.inUse);function f(e){a=(!e||!e.shimcssproperties)&&(c||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(l=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?a=window.ShadyCSS.nativeCss:window.ShadyCSS?(f(window.ShadyCSS),window.ShadyCSS=void 0):f(window.WebComponents&&window.WebComponents.flags);var m=a,p=l,h=new u;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTemplateStyles:function(){},styleSubtree:function(e,t){h.a(),d(e,t)},styleElement:function(){h.a()},styleDocument:function(e){h.a(),d(document.body,e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){},nativeCss:m,nativeShadow:c,cssBuild:p}),window.ShadyCSS.CustomStyleInterface=h}).call(this)},"../node_modules/@webcomponents/shadycss/scoping-shim.min.js":function(e,t,n){(function(e){(function(){"use strict";var t,n="undefined"!=typeof window&&window===this?this:void 0!==e&&null!=e?e:this;function r(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function o(e){var t=s,n=e=e.replace(f,"").replace(m,""),o=new r;o.start=0,o.end=n.length;for(var u=o,i=0,d=n.length;i<d;i++)if("{"===n[i]){u.rules||(u.rules=[]);var a=u,l=a.rules[a.rules.length-1]||null;(u=new r).start=i+1,u.parent=a,u.previous=l,a.rules.push(u)}else"}"===n[i]&&(u.end=i+1,u=u.parent||o);return t(o,e)}function s(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=(n=(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e})}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1))).replace(g," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=l:n.match(y)&&(e.type=a,e.keyframesName=e.selector.split(g).pop()):e.type=0===n.indexOf("--")?c:d),n=e.rules)for(var r=0,o=n.length,u=void 0;r<o&&(u=n[r]);r++)s(u,t);return e}var u,i,d=1,a=7,l=4,c=1e3,f=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,m=/@import[^;]*;/gim,p=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,h=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,v=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,_=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,y=/^@[^\s]*keyframes/,g=/\s+/g,b=!(window.ShadyDOM&&window.ShadyDOM.inUse);function j(e){u=(!e||!e.shimcssproperties)&&(b||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(i=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?u=window.ShadyCSS.nativeCss:window.ShadyCSS?(j(window.ShadyCSS),window.ShadyCSS=void 0):j(window.WebComponents&&window.WebComponents.flags);var w=u,S=i,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,C=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,T=/(--[\w-]+)\s*([:,;)]|$)/gi,N=/(animation\s*:)|(animation-name\s*:)/,M=/@media\s(.*)/,x=/\{[^}]*\}/g,L=new Set;function O(e,t){return e?("string"==typeof e&&(e=o(e)),t&&k(e,t),function e(t,n,r){r=void 0===r?"":r;var o="";if(t.cssText||t.rules){var s,u=t.rules;if((s=u)&&(s=!((s=u[0])&&s.selector&&0===s.selector.indexOf("--"))),s){s=0;for(var i=u.length,d=void 0;s<i&&(d=u[s]);s++)o=e(d,n,o)}else n=n?t.cssText:(n=(n=t.cssText).replace(p,"").replace(h,"")).replace(v,"").replace(_,""),(o=n.trim())&&(o=" "+o+"\n")}return o&&(t.selector&&(r+=t.selector+" {\n"),r+=o,t.selector&&(r+="}\n\n")),r}(e,w)):""}function A(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=o(e.textContent)),e.__cssRules||null}function H(e){return!!e.parent&&e.parent.type===a}function k(e,t,n,r){if(e){var o=!1,s=e.type;if(r&&s===l){var u=e.selector.match(M);u&&(window.matchMedia(u[1]).matches||(o=!0))}if(s===d?t(e):n&&s===a?n(e):s===c&&(o=!0),(e=e.rules)&&!o)for(o=0,s=e.length,u=void 0;o<s&&(u=e[o]);o++)k(u,t,n,r)}}function P(e,t,n,r){var o=document.createElement("style");return t&&o.setAttribute("scope",t),o.textContent=e,R(o,n,r),o}var D=null;function I(e){e=document.createComment(" Shady DOM styles for "+e+" ");var t=document.head;return t.insertBefore(e,(D?D.nextSibling:null)||t.firstChild),D=e}function R(e,t,n){(t=t||document.head).insertBefore(e,n&&n.nextSibling||t.firstChild),D?e.compareDocumentPosition(D)===Node.DOCUMENT_POSITION_PRECEDING&&(D=e):D=e}function F(e,t){for(var n=0,r=e.length;t<r;t++)if("("===e[t])n++;else if(")"===e[t]&&0==--n)return t;return-1}function B(e,t){b?e.setAttribute("class",t):window.ShadyDOM.nativeMethods.setAttribute.call(e,"class",t)}function V(e){var t=e.localName,n="";return t?-1<t.indexOf("-")||(n=t,t=e.getAttribute&&e.getAttribute("is")||""):(t=e.is,n=e.extends),{is:t,s:n}}function q(e){for(var t=[],n="",r=0;0<=r&&r<e.length;r++)if("("===e[r]){var o=F(e,r);n+=e.slice(r,o+1),r=o}else","===e[r]?(t.push(n),n=""):n+=e[r];return n&&t.push(n),t}function U(e){if(void 0!==S)return S;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}function W(e){return!(""===(e=void 0===e?"":e)||!w)&&(b?"shadow"===e:"shady"===e)}function z(){}function $(e,t,n){var r;if(t.nodeType===Node.ELEMENT_NODE&&n(t),r="template"===t.localName?(t.content||t._content||t).childNodes:t.children||t.childNodes)for(t=0;t<r.length;t++)$(e,r[t],n)}function K(e,t,n){if(t)if(e.classList)n?(e.classList.remove("style-scope"),e.classList.remove(t)):(e.classList.add("style-scope"),e.classList.add(t));else if(e.getAttribute){var r=e.getAttribute("class");n?r&&B(e,t=r.replace("style-scope","").replace(t,"")):B(e,(r?r+" ":"")+"style-scope "+t)}}function G(e,t,n){$(le,e,function(e){K(e,t,!0),K(e,n)})}function Z(e,t){$(le,e,function(e){K(e,t||"",!0)})}function X(e,t,n,r,o){var s=le;return""===(o=void 0===o?"":o)&&(b||"shady"===(void 0===r?"":r)?o=O(t,n):o=function(e,t,n,r,o){var s=Y(n,r);return n=n?"."+n:"",O(t,function(t){t.c||(t.selector=t.h=J(e,t,e.b,n,s),t.c=!0),o&&o(t,n,s)})}(s,t,(e=V(e)).is,e.s,n)+"\n\n"),o.trim()}function Y(e,t){return t?"[is="+e+"]":e}function J(e,t,n,r,o){var s=q(t.selector);if(!H(t)){t=0;for(var u=s.length,i=void 0;t<u&&(i=s[t]);t++)s[t]=n.call(e,i,r,o)}return s.filter(function(e){return!!e}).join(",")}function Q(e){return e.replace(ne,function(e,t,n){return-1<n.indexOf("+")?n=n.replace(/\+/g,"___"):-1<n.indexOf("___")&&(n=n.replace(/___/g,"+")),":"+t+"("+n+")"})}function ee(e,t){e=e.split(/(\[.+?\])/);for(var n=[],r=0;r<e.length;r++)if(1==r%2)n.push(e[r]);else{var o=e[r];""===o&&r===e.length-1||((o=o.split(":"))[0]+=t,n.push(o.join(":")))}return n.join("")}function te(e){":root"===e.selector&&(e.selector="html")}z.prototype.b=function(e,t,n){var r=!1;e=e.trim();var o=ne.test(e);o&&(e=Q(e=e.replace(ne,function(e,t,n){return":"+t+"("+n.replace(/\s/g,"")+")"})));var s=ae.test(e);if(s){var u=function(e){for(var t,n=[];t=e.match(ae);){var r=t.index,o=F(e,r);if(-1===o)throw Error(t.input+" selector missing ')'");t=e.slice(r,o+1),e=e.replace(t,""),n.push(t)}return{w:e,matches:n}}(e);e=u.w,u=u.matches}return e=(e=e.replace(se,":host $1")).replace(re,function(e,o,s){return r||(e=function(e,t,n,r){var o=e.indexOf("::slotted");if(0<=e.indexOf(":host")?e=function(e,t){var n=e.match(ue);return(n=n&&n[2].trim()||"")?n[0].match(oe)?e.replace(ue,function(e,n,r){return t+r}):n.split(oe)[0]===t?n:"should_not_match":e.replace(":host",t)}(e,r):0!==o&&(e=n?ee(e,n):e),n=!1,0<=o&&(t="",n=!0),n){var s=!0;n&&(e=e.replace(ie,function(e,t){return" > "+t}))}return{value:e=e.replace(de,function(e,t,n){return'[dir="'+n+'"] '+t+", "+t+'[dir="'+n+'"]'}),F:t,stop:s}}(s,o,t,n),r=r||e.stop,o=e.F,s=e.value),o+s}),s&&(e=function(e,t){var n=e.split("");return t.reduce(function(e,t,r){return e+t+n[r+1]},n[0])}(e,u)),o&&(e=Q(e)),e},z.prototype.c=function(e){return e.match(":host")?"":e.match("::slotted")?this.b(e,":not(.style-scope)"):ee(e.trim(),":not(.style-scope)")},n.Object.defineProperties(z.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var ne=/:(nth[-\w]+)\(([^)]+)\)/,re=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,oe=/[[.:#*]/,se=/^(::slotted)/,ue=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,ie=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,de=/(.*):dir\((?:(ltr|rtl))\)/,ae=/:(?:matches|any|-(?:webkit|moz)-any)/,le=new z;function ce(e,t,n,r,o){this.l=e||null,this.b=t||null,this.c=n||[],this.o=null,this.cssBuild=o||"",this.s=r||"",this.a=this.i=this.m=null}function fe(e){return e?e.__styleInfo:null}function me(e,t){return e.__styleInfo=t}function pe(e){var t=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return t&&t.call(this,e)}ce.prototype.g=function(){return this.l},ce.prototype._getStyleRules=ce.prototype.g;var he=navigator.userAgent.match("Trident");function ve(){}function _e(e){if(!e.f){var t={},n={};ye(e,n)&&(t.j=n,e.rules=null),t.cssText=e.parsedCssText.replace(x,"").replace(E,""),e.f=t}}function ye(e,t){var n=e.f;if(!n){n=e.parsedCssText;for(var r;e=E.exec(n);)"inherit"===(r=(e[2]||e[3]).trim())&&"unset"===r||(t[e[1].trim()]=r),r=!0;return r}if(n.j)return Object.assign(t,n.j),!0}function ge(e,t,n){return t&&(t=0<=t.indexOf(";")?be(e,t,n):function e(t,n){var r=t.indexOf("var(");if(-1===r)return n(t,"","","");var o=F(t,r+3),s=t.substring(r+4,o);return r=t.substring(0,r),t=e(t.substring(o+1),n),-1===(o=s.indexOf(","))?n(r,s.trim(),"",t):n(r,s.substring(0,o).trim(),s.substring(o+1).trim(),t)}(t,function(t,r,o,s){return r?((r=ge(e,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=ge(e,n[o]||o,n)||o,t+(r||"")+s):t+s})),t&&t.trim()||""}function be(e,t,n){t=t.split(";");for(var r,o,s=0;s<t.length;s++)if(r=t[s]){if(C.lastIndex=0,o=C.exec(r))r=ge(e,n[o[1]],n);else if(-1!==(o=r.indexOf(":"))){var u=r.substring(o);u=ge(e,u=u.trim(),n)||u,r=r.substring(0,o)+u}t[s]=r&&r.lastIndexOf(";")===r.length-1?r.slice(0,-1):r||""}return t.join(";")}function je(e,t,n){var r={},o={};return k(t,function(t){!function(e,t,n,r){if(t.f||_e(t),t.f.j){var o=V(e);e=o.is,o=o.s,o=e?Y(e,o):"html";var s=t.parsedSelector,u=":host > *"===s||"html"===s,i=0===s.indexOf(":host")&&!u;"shady"===n&&(i=!(u=s===o+" > *."+o||-1!==s.indexOf("html"))&&0===s.indexOf(o)),(u||i)&&(n=o,i&&(t.h||(t.h=J(le,t,le.b,e?"."+e:"",o)),n=t.h||o),r({w:n,J:i,R:u}))}}(e,t,n,function(n){pe.call(e._element||e,n.w)&&(n.J?ye(t,r):ye(t,o))})},null,!0),{K:o,I:r}}function we(e,t,n,r){var o=V(t),s=Y(o.is,o.s),u=new RegExp("(?:^|[^.#[:])"+(t.extends?"\\"+s.slice(0,-1)+"\\]":s)+"($|[.:[\\s>+~])"),i=fe(t);o=i.l,i=i.cssBuild;var d=function(e,t){e=e.b;var n={};if(!b&&e)for(var r=0,o=e[r];r<e.length;o=e[++r]){var s=o,u=t;s.g=new RegExp("\\b"+s.keyframesName+"(?!\\B|-)","g"),s.a=s.keyframesName+"-"+u,s.h=s.h||s.selector,s.selector=s.h.replace(s.keyframesName,s.a),n[o.keyframesName]=Se(o)}return n}(o,r);return X(t,o,function(t){var o="";if(t.f||_e(t),t.f.cssText&&(o=be(e,t.f.cssText,n)),t.cssText=o,!b&&!H(t)&&t.cssText){var i=o=t.cssText;if(null==t.B&&(t.B=N.test(o)),t.B)if(null==t.u)for(var a in t.u=[],d)o!==(i=(i=d[a])(o))&&(o=i,t.u.push(a));else{for(a=0;a<t.u.length;++a)o=(i=d[t.u[a]])(o);i=o}t.cssText=i,t.h=t.h||t.selector,o="."+r,i=0;for(var l=(a=q(t.h)).length,c=void 0;i<l&&(c=a[i]);i++)a[i]=c.match(u)?c.replace(s,o):o+" "+c;t.selector=a.join(",")}},i)}function Se(e){return function(t){return t.replace(e.g,e.a)}}function Ee(e,t){var n=Ce,r=A(e);e.textContent=O(r,function(e){var r=e.cssText=e.parsedCssText;e.f&&e.f.cssText&&(r=r.replace(p,"").replace(h,""),e.cssText=be(n,r,t))})}n.Object.defineProperties(ve.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"x-scope"}}});var Ce=new ve,Te={},Ne=window.customElements;if(Ne&&!b){var Me=Ne.define;Ne.define=function(e,t,n){Te[e]||(Te[e]=I(e)),Me.call(Ne,e,t,n)}}function xe(){this.cache={}}function Le(){}xe.prototype.store=function(e,t,n,r){var o=this.cache[e]||[];o.push({j:t,styleElement:n,i:r}),100<o.length&&o.shift(),this.cache[e]=o};var Oe=new RegExp(le.a+"\\s*([^\\s]*)");function Ae(e){return(e=(e.classList&&e.classList.value?e.classList.value:e.getAttribute("class")||"").match(Oe))?e[1]:""}function He(e){var t=e.getRootNode();return t===e||t===e.ownerDocument?"":(e=t.host)?V(e).is:""}function ke(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.target!==document.documentElement&&n.target!==document.head)for(var r=0;r<n.addedNodes.length;r++){var o=n.addedNodes[r];if(o.nodeType===Node.ELEMENT_NODE){var s=o.getRootNode(),u=Ae(o);if(u&&s===o.ownerDocument&&("style"!==o.localName&&"template"!==o.localName||""===U(o)))Z(o,u);else if(s instanceof ShadowRoot)for((s=He(o))!==u&&G(o,u,s),o=window.ShadyDOM.nativeMethods.querySelectorAll.call(o,":not(."+le.a+")"),u=0;u<o.length;u++){var i=He(s=o[u]);i&&K(s,i)}}}}}if(!(b||window.ShadyDOM&&window.ShadyDOM.handlesDynamicScoping)){var Pe=new MutationObserver(ke),De=function(e){Pe.observe(e,{childList:!0,subtree:!0})};if(window.customElements&&!window.customElements.polyfillWrapFlushCallback)De(document);else{var Ie=function(){De(document.body)};window.HTMLImports?window.HTMLImports.whenReady(Ie):requestAnimationFrame(function(){if("loading"===document.readyState){var e=function(){Ie(),document.removeEventListener("readystatechange",e)};document.addEventListener("readystatechange",e)}else Ie()})}Le=function(){ke(Pe.takeRecords())}}var Re=Le,Fe={},Be=Promise.resolve();function Ve(e){(e=Fe[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function qe(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var Ue=new xe;function We(){this.A={},this.c=document.documentElement;var e=new r;e.rules=[],this.g=me(this.c,new ce(e)),this.v=!1,this.b=this.a=null}function ze(e){!e.a&&window.ShadyCSS&&window.ShadyCSS.ApplyShim&&(e.a=window.ShadyCSS.ApplyShim,e.a.invalidCallback=Ve),function(e){!e.b&&window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface&&(e.b=window.ShadyCSS.CustomStyleInterface,e.b.transformCallback=function(t){e.C(t)},e.b.validateCallback=function(){requestAnimationFrame(function(){(e.b.enqueued||e.v)&&e.flushCustomStyles()})})}(e)}function $e(e,t){return(t=t.getRootNode().host)?fe(t)?t:$e(e,t):e.c}function Ke(e,t,n){var r=fe(e=$e(e,t));e=Object.create(r.m||null);var o=je(t,n.l,n.cssBuild);for(var s in t=function(e,t){var n={},r=[];return k(e,function(e){e.f||_e(e);var o=e.h||e.parsedSelector;t&&e.f.j&&o&&pe.call(t,o)&&(ye(e,n),e=e.index,o=parseInt(e/32,10),r[o]=(r[o]||0)|1<<e%32)},null,!0),{j:n,key:r}}(r.l,t).j,Object.assign(e,o.I,t,o.K),t=n.o)((o=t[s])||0===o)&&(e[s]=o);for(s=Ce,t=Object.getOwnPropertyNames(e),o=0;o<t.length;o++)e[r=t[o]]=ge(s,e[r],e);n.m=e}(t=We.prototype).flush=function(){Re()},t.H=function(e){return A(e)},t.O=function(e){return O(e)},t.prepareTemplate=function(e,t,n){this.prepareTemplateDom(e,t),this.prepareTemplateStyles(e,t,n)},t.prepareTemplateStyles=function(e,t,n){if(!e._prepared){b||Te[t]||(Te[t]=I(t)),e._prepared=!0,e.name=t,e.extends=n,Fe[t]=e;var r=U(e),s=W(r);n={is:t,extends:n};for(var u=[],i=e.content.querySelectorAll("style"),d=0;d<i.length;d++){var a=i[d];if(a.hasAttribute("shady-unscoped")){if(!b){var l=a.textContent;L.has(l)||(L.add(l),l=a.cloneNode(!0),document.head.appendChild(l)),a.parentNode.removeChild(a)}}else u.push(a.textContent),a.parentNode.removeChild(a)}u=u.join("").trim(),ze(this),s||((i=!r)&&(i=C.test(u)||E.test(u),C.lastIndex=0,E.lastIndex=0),d=o(u),i&&w&&this.a&&this.a.transformRules(d,t),e._styleAst=d),i=[],w||(i=function(e){var t={},n=[],r=0;for(var o in k(e,function(e){_e(e),e.index=r++,e=e.f.cssText;for(var n;n=T.exec(e);){var o=n[1];":"!==n[2]&&(t[o]=!0)}},function(e){n.push(e)}),e.b=n,e=[],t)e.push(o);return e}(e._styleAst)),i.length&&!w||(d=b?e.content:null,t=Te[t]||null,r=(r=X(n,e._styleAst,null,r,s?u:"")).length?P(r,n.is,d,t):null,e._style=r),e.a=i}},t.prepareTemplateDom=function(e,t){var n=U(e);b||"shady"===n||e._domPrepared||(e._domPrepared=!0,function(e,t){$(le,e,function(e){K(e,t||"")})}(e.content,t))},t.flushCustomStyles=function(){if(ze(this),this.b){var e=this.b.processStyles();if(this.b.enqueued&&!W(this.g.cssBuild)){if(w){if(!this.g.cssBuild)for(var t=0;t<e.length;t++){var n=this.b.getStyleForCustomStyle(e[t]);if(n&&w&&this.a){var r=A(n);ze(this),this.a.transformRules(r),n.textContent=O(r)}}}else{for(Ke(this,this.c,this.g),t=0;t<e.length;t++)(n=this.b.getStyleForCustomStyle(e[t]))&&Ee(n,this.g.m);this.v&&this.styleDocument()}this.b.enqueued=!1}}},t.styleElement=function(e,t){var n=fe(e);if(!n){var r=V(e);n=r.is,r=r.s;var o=Te[n]||null;if(n=Fe[n])var s=n._styleAst,u=n.a,i=U(n);s=new ce(s,o,u,r,i),n&&me(e,s),n=s}if(e!==this.c&&(this.v=!0),t&&(n.o=n.o||{},Object.assign(n.o,t)),w){if(t=n,s=V(e).is,t.o)for(var d in u=t.o)null===d?e.style.removeProperty(d):e.style.setProperty(d,u[d]);!(d=Fe[s])&&e!==this.c||d&&""!==U(d)||!d||!d._style||qe(d)||((qe(d)||d._applyShimValidatingVersion!==d._applyShimNextVersion)&&(ze(this),this.a&&this.a.transformRules(d._styleAst,s),d._style.textContent=X(e,t.l),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,Be.then(function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1}))}(d)),b&&(s=e.shadowRoot)&&(s=s.querySelector("style"))&&(s.textContent=X(e,t.l)),t.l=d._styleAst)}else if(d=n,this.flush(),Ke(this,e,d),d.c&&d.c.length){t=V(e).is;e:{if(s=Ue.cache[t])for(u=s.length-1;0<=u;u--){i=s[u];t:{for(n=d.c,r=0;r<n.length;r++)if(o=n[r],i.j[o]!==d.m[o]){n=!1;break t}n=!0}if(n){s=i;break e}}s=void 0}n=s?s.styleElement:null,u=d.i,(i=s&&s.i)||(i=t+"-"+(i=this.A[t]=(this.A[t]||0)+1)),d.i=i,i=d.i,r=Ce,r=n?n.textContent||"":we(r,e,d.m,i);var a=(o=fe(e)).a;a&&!b&&a!==n&&(a._useCount--,0>=a._useCount&&a.parentNode&&a.parentNode.removeChild(a)),b?o.a?(o.a.textContent=r,n=o.a):r&&(n=P(r,i,e.shadowRoot,o.b)):n?n.parentNode||(he&&-1<r.indexOf("@media")&&(n.textContent=r),R(n,null,o.b)):r&&(n=P(r,i,null,o.b)),n&&(n._useCount=n._useCount||0,o.a!=n&&n._useCount++,o.a=n),i=n,b||(n=d.i,o=r=e.getAttribute("class")||"",u&&(o=r.replace(new RegExp("\\s*x-scope\\s*"+u+"\\s*","g")," ")),r!==(o+=(o?" ":"")+"x-scope "+n)&&B(e,o)),s||Ue.store(t,d.m,i,d.i)}},t.styleDocument=function(e){this.styleSubtree(this.c,e)},t.styleSubtree=function(e,t){var n=e.shadowRoot;if((n||e===this.c)&&this.styleElement(e,t),t=n&&(n.children||n.childNodes))for(e=0;e<t.length;e++)this.styleSubtree(t[e]);else if(e=e.children||e.childNodes)for(t=0;t<e.length;t++)this.styleSubtree(e[t])},t.C=function(e){var t=this,n=U(e);if(n!==this.g.cssBuild&&(this.g.cssBuild=n),!W(n)){var r=A(e);k(r,function(e){if(b)te(e);else{var r=le;e.selector=e.parsedSelector,te(e),e.selector=e.h=J(r,e,r.c,void 0,void 0)}w&&""===n&&(ze(t),t.a&&t.a.transformRule(e))}),w?e.textContent=O(r):this.g.l.rules.push(r)}},t.getComputedStyleValue=function(e,t){var n;return w||(n=(fe(e)||fe($e(this,e))).m[t]),(n=n||window.getComputedStyle(e).getPropertyValue(t))?n.trim():""},t.N=function(e,t){var n=e.getRootNode();if(t=t?t.split(/\s/):[],!(n=n.host&&n.host.localName)){var r=e.getAttribute("class");if(r){r=r.split(/\s/);for(var o=0;o<r.length;o++)if(r[o]===le.a){n=r[o+1];break}}}n&&t.push(le.a,n),w||(n=fe(e))&&n.i&&t.push(Ce.a,n.i),B(e,t.join(" "))},t.D=function(e){return fe(e)},t.M=function(e,t){K(e,t)},t.P=function(e,t){K(e,t,!0)},t.L=function(e){return He(e)},t.G=function(e){return Ae(e)},We.prototype.flush=We.prototype.flush,We.prototype.prepareTemplate=We.prototype.prepareTemplate,We.prototype.styleElement=We.prototype.styleElement,We.prototype.styleDocument=We.prototype.styleDocument,We.prototype.styleSubtree=We.prototype.styleSubtree,We.prototype.getComputedStyleValue=We.prototype.getComputedStyleValue,We.prototype.setElementClass=We.prototype.N,We.prototype._styleInfoForNode=We.prototype.D,We.prototype.transformCustomStyleForDocument=We.prototype.C,We.prototype.getStyleAst=We.prototype.H,We.prototype.styleAstToString=We.prototype.O,We.prototype.flushCustomStyles=We.prototype.flushCustomStyles,We.prototype.scopeNode=We.prototype.M,We.prototype.unscopeNode=We.prototype.P,We.prototype.scopeForNode=We.prototype.L,We.prototype.currentScopeForNode=We.prototype.G,Object.defineProperties(We.prototype,{nativeShadow:{get:function(){return b}},nativeCss:{get:function(){return w}}});var Ge,Ze,Xe=new We;window.ShadyCSS&&(Ge=window.ShadyCSS.ApplyShim,Ze=window.ShadyCSS.CustomStyleInterface),window.ShadyCSS={ScopingShim:Xe,prepareTemplate:function(e,t,n){Xe.flushCustomStyles(),Xe.prepareTemplate(e,t,n)},prepareTemplateDom:function(e,t){Xe.prepareTemplateDom(e,t)},prepareTemplateStyles:function(e,t,n){Xe.flushCustomStyles(),Xe.prepareTemplateStyles(e,t,n)},styleSubtree:function(e,t){Xe.flushCustomStyles(),Xe.styleSubtree(e,t)},styleElement:function(e){Xe.flushCustomStyles(),Xe.styleElement(e)},styleDocument:function(e){Xe.flushCustomStyles(),Xe.styleDocument(e)},flushCustomStyles:function(){Xe.flushCustomStyles()},getComputedStyleValue:function(e,t){return Xe.getComputedStyleValue(e,t)},nativeCss:w,nativeShadow:b,cssBuild:S},Ge&&(window.ShadyCSS.ApplyShim=Ge),Ze&&(window.ShadyCSS.CustomStyleInterface=Ze)}).call(this)}).call(t,n("../global.js"))},"../node_modules/@webcomponents/shadydom/shadydom.min.js":function(e,t){(function(){"use strict";function e(e,t){return{index:e,j:[],l:t}}function t(t,r,o,s){var u=0,i=0,d=0,a=0,l=Math.min(r-u,s-i);if(0==u&&0==i)e:{for(d=0;d<l;d++)if(t[d]!==o[d])break e;d=l}if(r==t.length&&s==o.length){a=t.length;for(var c=o.length,f=0;f<l-d&&n(t[--a],o[--c]);)f++;a=f}if(i+=d,s-=a,0==(r-=a)-(u+=d)&&0==s-i)return[];if(u==r){for(r=e(u,0);i<s;)r.j.push(o[i++]);return[r]}if(i==s)return[e(u,r-u)];for(s=s-(d=i)+1,a=r-(l=u)+1,r=Array(s),c=0;c<s;c++)r[c]=Array(a),r[c][0]=c;for(c=0;c<a;c++)r[0][c]=c;for(c=1;c<s;c++)for(f=1;f<a;f++)if(t[l+f-1]===o[d+c-1])r[c][f]=r[c-1][f-1];else{var m=r[c-1][f]+1,p=r[c][f-1]+1;r[c][f]=m<p?m:p}for(l=r.length-1,d=r[0].length-1,s=r[l][d],t=[];0<l||0<d;)0==l?(t.push(2),d--):0==d?(t.push(3),l--):(a=r[l-1][d-1],(m=(c=r[l-1][d])<(f=r[l][d-1])?c<a?c:a:f<a?f:a)==a?(a==s?t.push(0):(t.push(1),s=a),l--,d--):m==c?(t.push(3),l--,s=c):(t.push(2),d--,s=f));for(t.reverse(),r=void 0,l=[],d=0;d<t.length;d++)switch(t[d]){case 0:r&&(l.push(r),r=void 0),u++,i++;break;case 1:r||(r=e(u,0)),r.l++,u++,r.j.push(o[i]),i++;break;case 2:r||(r=e(u,0)),r.l++,u++;break;case 3:r||(r=e(u,0)),r.j.push(o[i]),i++}return r&&l.push(r),l}function n(e,t){return e===t}var r=window.ShadyDOM||{};r.P=!(!Element.prototype.attachShadow||!Node.prototype.getRootNode);var o=Object.getOwnPropertyDescriptor(Node.prototype,"firstChild");function s(e){return e.__shady&&void 0!==e.__shady.firstChild}function u(e){return"ShadyRoot"===e.J}function i(e){if(u(e=e.getRootNode()))return e}r.h=!!(o&&o.configurable&&o.get),r.G=r.force||!r.P;var d=Element.prototype,a=d.matches||d.matchesSelector||d.mozMatchesSelector||d.msMatchesSelector||d.oMatchesSelector||d.webkitMatchesSelector;function l(e,t){if(e&&t)for(var n,r=Object.getOwnPropertyNames(t),o=0;o<r.length&&(n=r[o]);o++){var s=Object.getOwnPropertyDescriptor(t,n);s&&Object.defineProperty(e,n,s)}}function c(e,t){for(var n=[],r=1;r<arguments.length;++r)n[r-1]=arguments[r];for(r=0;r<n.length;r++)l(e,n[r]);return e}var f=document.createTextNode(""),m=0,p=[];function h(e){p.push(e),f.textContent=m++}new MutationObserver(function(){for(;p.length;)try{p.shift()()}catch(e){throw f.textContent=m++,e}}).observe(f,{characterData:!0});var v=/[&\u00A0"]/g,_=/[&\u00A0<>]/g;function y(e){switch(e){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function g(e){for(var t={},n=0;n<e.length;n++)t[e[n]]=!0;return t}var b=g("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),j=g("style script xmp iframe noembed noframes plaintext noscript".split(" "));function w(e,t){"template"===e.localName&&(e=e.content);for(var n,r="",o=t?t(e):e.childNodes,s=0,u=o.length;s<u&&(n=o[s]);s++){e:{var i=n,d=e,a=t;switch(i.nodeType){case Node.ELEMENT_NODE:for(var l=i.localName,c="<"+l,f=i.attributes,m=0;d=f[m];m++)c+=" "+d.name+'="'+d.value.replace(v,y)+'"';c+=">",i=b[l]?c:c+w(i,a)+"</"+l+">";break e;case Node.TEXT_NODE:i=i.data,i=d&&j[d.localName]?i:i.replace(_,y);break e;case Node.COMMENT_NODE:i="\x3c!--"+i.data+"--\x3e";break e;default:throw window.console.error(i),Error("not implemented")}}r+=i}return r}var S={},E=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),C=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function T(e){var t=[];for(E.currentNode=e,e=E.firstChild();e;)t.push(e),e=E.nextSibling();return t}S.parentNode=function(e){return E.currentNode=e,E.parentNode()},S.firstChild=function(e){return E.currentNode=e,E.firstChild()},S.lastChild=function(e){return E.currentNode=e,E.lastChild()},S.previousSibling=function(e){return E.currentNode=e,E.previousSibling()},S.nextSibling=function(e){return E.currentNode=e,E.nextSibling()},S.childNodes=T,S.parentElement=function(e){return C.currentNode=e,C.parentNode()},S.firstElementChild=function(e){return C.currentNode=e,C.firstChild()},S.lastElementChild=function(e){return C.currentNode=e,C.lastChild()},S.previousElementSibling=function(e){return C.currentNode=e,C.previousSibling()},S.nextElementSibling=function(e){return C.currentNode=e,C.nextSibling()},S.children=function(e){var t=[];for(C.currentNode=e,e=C.firstChild();e;)t.push(e),e=C.nextSibling();return t},S.innerHTML=function(e){return w(e,function(e){return T(e)})},S.textContent=function(e){switch(e.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:e=document.createTreeWalker(e,NodeFilter.SHOW_TEXT,null,!1);for(var t,n="";t=e.nextNode();)n+=t.nodeValue;return n;default:return e.nodeValue}};var N=Object.getOwnPropertyDescriptor(Element.prototype,"innerHTML")||Object.getOwnPropertyDescriptor(HTMLElement.prototype,"innerHTML"),M=document.implementation.createHTMLDocument("inert").createElement("div"),x=Object.getOwnPropertyDescriptor(Document.prototype,"activeElement"),L={parentElement:{get:function(){var e=this.__shady&&this.__shady.parentNode;return e&&e.nodeType!==Node.ELEMENT_NODE&&(e=null),void 0!==e?e:S.parentElement(this)},configurable:!0},parentNode:{get:function(){var e=this.__shady&&this.__shady.parentNode;return void 0!==e?e:S.parentNode(this)},configurable:!0},nextSibling:{get:function(){var e=this.__shady&&this.__shady.nextSibling;return void 0!==e?e:S.nextSibling(this)},configurable:!0},previousSibling:{get:function(){var e=this.__shady&&this.__shady.previousSibling;return void 0!==e?e:S.previousSibling(this)},configurable:!0},className:{get:function(){return this.getAttribute("class")||""},set:function(e){this.setAttribute("class",e)},configurable:!0},nextElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.nextSibling){for(var e=this.nextSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}return S.nextElementSibling(this)},configurable:!0},previousElementSibling:{get:function(){if(this.__shady&&void 0!==this.__shady.previousSibling){for(var e=this.previousSibling;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}return S.previousElementSibling(this)},configurable:!0}},O={childNodes:{get:function(){if(s(this)){if(!this.__shady.childNodes){this.__shady.childNodes=[];for(var e=this.firstChild;e;e=e.nextSibling)this.__shady.childNodes.push(e)}var t=this.__shady.childNodes}else t=S.childNodes(this);return t.item=function(e){return t[e]},t},configurable:!0},childElementCount:{get:function(){return this.children.length},configurable:!0},firstChild:{get:function(){var e=this.__shady&&this.__shady.firstChild;return void 0!==e?e:S.firstChild(this)},configurable:!0},lastChild:{get:function(){var e=this.__shady&&this.__shady.lastChild;return void 0!==e?e:S.lastChild(this)},configurable:!0},textContent:{get:function(){if(s(this)){for(var e,t=[],n=0,r=this.childNodes;e=r[n];n++)e.nodeType!==Node.COMMENT_NODE&&t.push(e.textContent);return t.join("")}return S.textContent(this)},set:function(e){switch(this.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:for(;this.firstChild;)this.removeChild(this.firstChild);(0<e.length||this.nodeType===Node.ELEMENT_NODE)&&this.appendChild(document.createTextNode(e));break;default:this.nodeValue=e}},configurable:!0},firstElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.firstChild){for(var e=this.firstChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.nextSibling;return e}return S.firstElementChild(this)},configurable:!0},lastElementChild:{get:function(){if(this.__shady&&void 0!==this.__shady.lastChild){for(var e=this.lastChild;e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.previousSibling;return e}return S.lastElementChild(this)},configurable:!0},children:{get:function(){var e;return(e=s(this)?Array.prototype.filter.call(this.childNodes,function(e){return e.nodeType===Node.ELEMENT_NODE}):S.children(this)).item=function(t){return e[t]},e},configurable:!0},innerHTML:{get:function(){var e="template"===this.localName?this.content:this;return s(this)?w(e):S.innerHTML(e)},set:function(e){for(var t="template"===this.localName?this.content:this;t.firstChild;)t.removeChild(t.firstChild);for(N&&N.set?N.set.call(M,e):M.innerHTML=e;M.firstChild;)t.appendChild(M.firstChild)},configurable:!0}},A={shadowRoot:{get:function(){return this.__shady&&this.__shady.R||null},configurable:!0}},H={activeElement:{get:function(){var e=x&&x.get?x.get.call(document):r.h?void 0:document.activeElement;if(e&&e.nodeType){var t=!!u(this);if(this===document||t&&this.host!==e&&this.host.contains(e)){for(t=i(e);t&&t!==this;)t=i(e=t.host);e=this===document?t?null:e:t===this?e:null}else e=null}else e=null;return e},set:function(){},configurable:!0}};function k(e,t,n){for(var r in t){var o=Object.getOwnPropertyDescriptor(e,r);o&&o.configurable||!o&&n?Object.defineProperty(e,r,t[r]):n&&console.warn("Could not define",r,"on",e)}}function P(e){k(e,L),k(e,O),k(e,H)}var D=r.h?function(){}:function(e){e.__shady&&e.__shady.K||(e.__shady=e.__shady||{},e.__shady.K=!0,k(e,L,!0))},I=r.h?function(){}:function(e){e.__shady&&e.__shady.I||(e.__shady=e.__shady||{},e.__shady.I=!0,k(e,O,!0),k(e,A,!0))};function R(e,t,n){D(e),n=n||null,e.__shady=e.__shady||{},t.__shady=t.__shady||{},n&&(n.__shady=n.__shady||{}),e.__shady.previousSibling=n?n.__shady.previousSibling:t.lastChild;var r=e.__shady.previousSibling;r&&r.__shady&&(r.__shady.nextSibling=e),(r=e.__shady.nextSibling=n)&&r.__shady&&(r.__shady.previousSibling=e),e.__shady.parentNode=t,n?n===t.__shady.firstChild&&(t.__shady.firstChild=e):(t.__shady.lastChild=e,t.__shady.firstChild||(t.__shady.firstChild=e)),t.__shady.childNodes=null}function F(e){if(!e.__shady||void 0===e.__shady.firstChild){e.__shady=e.__shady||{},e.__shady.firstChild=S.firstChild(e),e.__shady.lastChild=S.lastChild(e),I(e);for(var t,n=e.__shady.childNodes=S.childNodes(e),r=0;r<n.length&&(t=n[r]);r++)t.__shady=t.__shady||{},t.__shady.parentNode=e,t.__shady.nextSibling=n[r+1]||null,t.__shady.previousSibling=n[r-1]||null,D(t)}}var B={},V=Element.prototype.insertBefore,q=Element.prototype.removeChild,U=Element.prototype.setAttribute,W=Element.prototype.removeAttribute,z=Element.prototype.cloneNode,$=Document.prototype.importNode,K=Element.prototype.addEventListener,G=Element.prototype.removeEventListener,Z=Window.prototype.addEventListener,X=Window.prototype.removeEventListener,Y=Element.prototype.dispatchEvent,J=Element.prototype.querySelector,Q=Element.prototype.querySelectorAll;function ee(e,t,n){if(t===e)throw Error("Failed to execute 'appendChild' on 'Node': The new child element contains the parent.");if(n){var r=n.__shady&&n.__shady.parentNode;if(void 0!==r&&r!==e||void 0===r&&S.parentNode(n)!==e)throw Error("Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.")}if(n===t)return t;var o;if(t.parentNode&&te(t.parentNode,t),o=r=i(e))e:{var d;if(!t.__noInsertionPoint)if("slot"===t.localName?d=[t]:t.querySelectorAll&&(d=t.querySelectorAll("slot")),d&&d.length){o=d;break e}o=void 0}if(d=o,r&&("slot"===e.localName||d)&&pe(r),s(e)){if(o=n,I(e),e.__shady=e.__shady||{},void 0!==e.__shady.firstChild&&(e.__shady.childNodes=null),t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){for(var a=t.childNodes,l=0;l<a.length;l++)R(a[l],e,o);t.__shady=t.__shady||{},o=void 0!==t.__shady.firstChild?null:void 0,t.__shady.firstChild=t.__shady.lastChild=o,t.__shady.childNodes=o}else R(t,e,o);if(ne(e)){pe(e.__shady.root);var c=!0}else e.__shady.root&&(c=!0)}if(c||(c=u(e)?e.host:e,n?(n=function e(t){var n=t;t&&"slot"===t.localName&&(n=(n=t.__shady&&t.__shady.g)&&n.length?n[0]:e(t.nextSibling));return n}(n),B.insertBefore.call(c,t,n)):B.appendChild.call(c,t)),oe(e,t),d){for(r.a=r.a||{},r.b=r.b||[],e=0;e<d.length;e++){if((n=d[e]).__shady=n.__shady||{},F(n),F(n.parentNode),c=ge(n),r.a[c]){var f=f||{};f[c]=!0,r.a[c].push(n)}else r.a[c]=[n];r.b.push(n)}if(f)for(var m in f)r.a[m]=be(r.a[m])}return t}function te(e,t){if(t.parentNode!==e)throw Error("The node to be removed is not a child of this node: "+t);var n=i(t);if(s(e)){t.__shady=t.__shady||{},e.__shady=e.__shady||{},t===e.__shady.firstChild&&(e.__shady.firstChild=t.__shady.nextSibling),t===e.__shady.lastChild&&(e.__shady.lastChild=t.__shady.previousSibling);var r=t.__shady.previousSibling,o=t.__shady.nextSibling;if(r&&(r.__shady=r.__shady||{},r.__shady.nextSibling=o),o&&(o.__shady=o.__shady||{},o.__shady.previousSibling=r),t.__shady.parentNode=t.__shady.previousSibling=t.__shady.nextSibling=void 0,void 0!==e.__shady.childNodes&&(e.__shady.childNodes=null),ne(e)){pe(e.__shady.root);var d=!0}}if(function e(t){if(t.__shady&&void 0!==t.__shady.A)for(var n,r=t.childNodes,o=0,s=r.length;o<s&&(n=r[o]);o++)e(n);t.__shady&&(t.__shady.A=void 0)}(t),n){for(var a in(r=e&&"slot"===e.localName)&&(d=!0),n.a=n.a||{},n.b=n.b||[],o=n.a)for(var l=o[a],c=0;c<l.length;c++){var f,m=l[c];e:{for(f=m;f;){if(f==t){f=!0;break e}f=f.parentNode}f=void 0}if(f){l.splice(c,1);var p=n.b.indexOf(m);if(0<=p&&n.b.splice(p,1),c--,p=m.__shady.g)for(m=0;m<p.length;m++){f=p[m];var h=S.parentNode(f);h&&B.removeChild.call(h,f)}p=!0}}(p||r)&&pe(n)}return d||(d=u(e)?e.host:e,(!e.__shady.root&&"slot"!==t.localName||d===S.parentNode(t))&&B.removeChild.call(d,t)),oe(e,null,t),t}function ne(e){return(e=e&&e.__shady&&e.__shady.root)&&!!e.b.length}function re(e,t){if("slot"===t)ne(e=e.parentNode)&&pe(e.__shady.root);else if("slot"===e.localName&&"name"===t&&(t=i(e))){var n=e.L,r=ge(e);if(r!==n){var o=(n=t.a[n]).indexOf(e);0<=o&&n.splice(o,1),(n=t.a[r]||(t.a[r]=[])).push(e),1<n.length&&(t.a[r]=be(n))}pe(t)}}function oe(e,t,n){(e=e.__shady&&e.__shady.i)&&(t&&e.addedNodes.push(t),n&&e.removedNodes.push(n),function(e){e.c||(e.c=!0,h(function(){!function(e){if(e.c){e.c=!1;var t=e.takeRecords();t.length&&e.m.forEach(function(e){e(t)})}}(e)}))}(e))}function se(e,t,n){var r=[];return function e(t,n,r,o){for(var s,u=0,i=t.length;u<i&&(s=t[u]);u++){var d;if(d=s.nodeType===Node.ELEMENT_NODE){var a=n,l=r,c=o,f=a(d=s);f&&c.push(d),l&&l(f)?d=f:(e(d.childNodes,a,l,c),d=void 0)}if(d)break}}(e.childNodes,t,n,r),r}B.appendChild=Element.prototype.appendChild,B.insertBefore=V,B.removeChild=q,B.setAttribute=U,B.removeAttribute=W,B.cloneNode=z,B.importNode=$,B.addEventListener=K,B.removeEventListener=G,B.S=Z,B.T=X,B.dispatchEvent=Y,B.querySelector=J,B.querySelectorAll=Q;var ue=null;function ie(e,t,n){ue||(ue=window.ShadyCSS&&window.ShadyCSS.ScopingShim),ue&&"class"===t?ue.setElementClass(e,n):(B.setAttribute.call(e,t,n),re(e,t))}var de,ae=[];function le(e){de||(de=!0,h(ce)),ae.push(e)}function ce(){de=!1;for(var e=!!ae.length;ae.length;)ae.shift()();return e}ce.list=ae;var fe={};function me(e,t,n){if(e!==fe)throw new TypeError("Illegal constructor");(e=document.createDocumentFragment()).__proto__=me.prototype,e.J="ShadyRoot",F(t),F(e),e.host=t,e.c=n&&n.mode,t.__shady=t.__shady||{},t.__shady.root=e,t.__shady.R="closed"!==e.c?e:null,e.f=!1,e.b=[],e.a=null;for(var r=0,o=(n=S.childNodes(t)).length;r<o;r++)B.removeChild.call(t,n[r]);return e}function pe(e){e.f||(e.f=!0,le(function(){return he(e)}))}function he(e){if(e.f){for(var t=e;e;){e.f&&(t=e);e:{var n=e;if(u(e=n.host.getRootNode()))for(var r=n.host.childNodes,o=0;o<r.length;o++)if("slot"==(n=r[o]).localName)break e;e=void 0}}t._renderRoot()}}function ve(e,t,n){t.__shady=t.__shady||{};var r=t.__shady.v;t.__shady.v=null,n||(n=(e=e.a[t.slot||"__catchall"])&&e[0]),n?(n.__shady.assignedNodes.push(t),t.__shady.assignedSlot=n):t.__shady.assignedSlot=void 0,r!==t.__shady.assignedSlot&&t.__shady.assignedSlot&&(t.__shady.assignedSlot.__shady.w=!0)}function _e(e,t,n){for(var r,o=0;o<n.length&&(r=n[o]);o++)"slot"==r.localName?_e(e,t,r.__shady.assignedNodes):t.push(n[o])}function ye(e,t){B.dispatchEvent.call(t,new Event("slotchange")),t.__shady.assignedSlot&&ye(e,t.__shady.assignedSlot)}function ge(e){var t=e.name||e.getAttribute("name")||"__catchall";return e.L=t}function be(e){return e.sort(function(e,t){e=je(e);for(var n=je(t),r=0;r<e.length;r++){t=e[r];var o=n[r];if(t!==o)return(e=Array.from(t.parentNode.childNodes)).indexOf(t)-e.indexOf(o)}})}function je(e){var t=[];do{t.unshift(e)}while(e=e.parentNode);return t}me.prototype=Object.create(DocumentFragment.prototype),me.prototype._renderRoot=function(){this.f=!1;for(var e,n=0;n<this.b.length;n++){var r=(e=this.b[n]).__shady.assignedNodes;if(e.__shady.assignedNodes=[],e.__shady.g=[],e.__shady.F=r)for(var o=0;o<r.length;o++){var s=r[o];s.__shady.v=s.__shady.assignedSlot,s.__shady.assignedSlot===e&&(s.__shady.assignedSlot=null)}}for(e=this.host.firstChild;e;e=e.nextSibling)ve(this,e);for(n=0;n<this.b.length;n++){if(!(e=this.b[n]).__shady.assignedNodes.length)for(r=e.firstChild;r;r=r.nextSibling)ve(this,r,e);if((r=(r=e.parentNode).__shady&&r.__shady.root)&&r.b.length&&r._renderRoot(),_e(this,e.__shady.g,e.__shady.assignedNodes),r=e.__shady.F){for(o=0;o<r.length;o++)r[o].__shady.v=null;e.__shady.F=null,r.length>e.__shady.assignedNodes.length&&(e.__shady.w=!0)}e.__shady.w&&(e.__shady.w=!1,ye(this,e))}for(n=this.b,e=[],r=0;r<n.length;r++)(o=n[r].parentNode).__shady&&o.__shady.root||!(0>e.indexOf(o))||e.push(o);for(n=0;n<e.length;n++){o=(r=e[n])===this?this.host:r,s=[],r=r.childNodes;for(var u=0;u<r.length;u++){var i=r[u];if("slot"==i.localName){i=i.__shady.g;for(var d=0;d<i.length;d++)s.push(i[d])}else s.push(i)}r=void 0,u=S.childNodes(o),i=t(s,s.length,u,u.length);for(var a=d=0;d<i.length&&(r=i[d]);d++){for(var l,c=0;c<r.j.length&&(l=r.j[c]);c++)S.parentNode(l)===o&&B.removeChild.call(o,l),u.splice(r.index+a,1);a-=r.l}for(a=0;a<i.length&&(r=i[a]);a++)for(d=u[r.index],c=r.index;c<r.index+r.l;c++)l=s[c],B.insertBefore.call(o,l,d),u.splice(c,0,l)}},me.prototype.addEventListener=function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.u=this,this.host.addEventListener(e,t,n)},me.prototype.removeEventListener=function(e,t,n){"object"!=typeof n&&(n={capture:!!n}),n.u=this,this.host.removeEventListener(e,t,n)},me.prototype.getElementById=function(e){return se(this,function(t){return t.id==e},function(e){return!!e})[0]||null};var we=me.prototype;function Se(){this.c=!1,this.addedNodes=[],this.removedNodes=[],this.m=new Set}k(we,O,!0),k(we,H,!0),Se.prototype.takeRecords=function(){if(this.addedNodes.length||this.removedNodes.length){var e=[{addedNodes:this.addedNodes,removedNodes:this.removedNodes}];return this.addedNodes=[],this.removedNodes=[],e}return[]};var Ee="__eventWrappers"+Date.now(),Ce={blur:!0,focus:!0,focusin:!0,focusout:!0,click:!0,dblclick:!0,mousedown:!0,mouseenter:!0,mouseleave:!0,mousemove:!0,mouseout:!0,mouseover:!0,mouseup:!0,wheel:!0,beforeinput:!0,input:!0,keydown:!0,keyup:!0,compositionstart:!0,compositionupdate:!0,compositionend:!0,touchstart:!0,touchend:!0,touchmove:!0,touchcancel:!0,pointerover:!0,pointerenter:!0,pointerdown:!0,pointermove:!0,pointerup:!0,pointercancel:!0,pointerout:!0,pointerleave:!0,gotpointercapture:!0,lostpointercapture:!0,dragstart:!0,drag:!0,dragenter:!0,dragleave:!0,dragover:!0,drop:!0,dragend:!0,DOMActivate:!0,DOMFocusIn:!0,DOMFocusOut:!0,keypress:!0};function Te(e,t){var n=[],r=e;for(e=e===window?window:e.getRootNode();r;)n.push(r),r=r.assignedSlot?r.assignedSlot:r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&r.host&&(t||r!==e)?r.host:r.parentNode;return n[n.length-1]===document&&n.push(window),n}function Ne(e,t){if(!u)return e;e=Te(e,!0);for(var n,r,o,s,i=0;i<t.length;i++)if((o=(n=t[i])===window?window:n.getRootNode())!==r&&(s=e.indexOf(o),r=o),!u(o)||-1<s)return n}var Me={get composed(){return!1!==this.isTrusted&&void 0===this.o&&(this.o=Ce[this.type]),this.o||!1},composedPath:function(){return this.B||(this.B=Te(this.__target,this.composed)),this.B},get target(){return Ne(this.currentTarget,this.composedPath())},get relatedTarget(){return this.C?(this.D||(this.D=Te(this.C,!0)),Ne(this.currentTarget,this.D)):null},stopPropagation:function(){Event.prototype.stopPropagation.call(this),this.s=!0},stopImmediatePropagation:function(){Event.prototype.stopImmediatePropagation.call(this),this.s=this.H=!0}};function xe(e){function t(t,n){return(t=new e(t,n)).o=n&&!!n.composed,t}return function(e,t){for(var n in t)e[n]=t[n]}(t,e),t.prototype=e.prototype,t}var Le={focus:!0,blur:!0};function Oe(e,t,n){if(n=t.__handlers&&t.__handlers[e.type]&&t.__handlers[e.type][n])for(var r,o=0;(r=n[o])&&e.target!==e.relatedTarget&&(r.call(t,e),!e.H);o++);}function Ae(e){var t,n=e.composedPath();Object.defineProperty(e,"currentTarget",{get:function(){return o},configurable:!0});for(var r=n.length-1;0<=r;r--){var o=n[r];if(Oe(e,o,"capture"),e.s)return}for(Object.defineProperty(e,"eventPhase",{get:function(){return Event.AT_TARGET}}),r=0;r<n.length;r++){var s=(o=n[r]).__shady&&o.__shady.root;if((0===r||s&&s===t)&&(Oe(e,o,"bubble"),o!==window&&(t=o.getRootNode()),e.s))break}}function He(e,t,n,r,o,s){for(var u=0;u<e.length;u++){var i=e[u],d=i.type,a=i.capture,l=i.once,c=i.passive;if(t===i.node&&n===d&&r===a&&o===l&&s===c)return u}return-1}function ke(e,t,n){if(t){if("object"==typeof n)var r=!!n.capture,o=!!n.once,s=!!n.passive;else r=!!n,s=o=!1;var u=n&&n.u||this,i=t[Ee];if(i){if(-1<He(i,u,e,r,o,s))return}else t[Ee]=[];i=function(r){if(o&&this.removeEventListener(e,t,n),r.__target||De(r),u!==this){var s=Object.getOwnPropertyDescriptor(r,"currentTarget");Object.defineProperty(r,"currentTarget",{get:function(){return u},configurable:!0})}if(r.composed||-1<r.composedPath().indexOf(u))if(r.target===r.relatedTarget)r.eventPhase===Event.BUBBLING_PHASE&&r.stopImmediatePropagation();else if(r.eventPhase===Event.CAPTURING_PHASE||r.bubbles||r.target===u){var i="object"==typeof t&&t.handleEvent?t.handleEvent(r):t.call(u,r);return u!==this&&(s?(Object.defineProperty(r,"currentTarget",s),s=null):delete r.currentTarget),i}},t[Ee].push({node:this,type:e,capture:r,once:o,passive:s,U:i}),Le[e]?(this.__handlers=this.__handlers||{},this.__handlers[e]=this.__handlers[e]||{capture:[],bubble:[]},this.__handlers[e][r?"capture":"bubble"].push(i)):(this instanceof Window?B.S:B.addEventListener).call(this,e,i,n)}}function Pe(e,t,n){if(t){if("object"==typeof n)var r=!!n.capture,o=!!n.once,s=!!n.passive;else r=!!n,s=o=!1;var u=n&&n.u||this,i=void 0,d=null;try{d=t[Ee]}catch(e){}d&&(-1<(o=He(d,u,e,r,o,s))&&(i=d.splice(o,1)[0].U,d.length||(t[Ee]=void 0))),(this instanceof Window?B.T:B.removeEventListener).call(this,e,i||t,n),i&&Le[e]&&this.__handlers&&this.__handlers[e]&&(-1<(i=(e=this.__handlers[e][r?"capture":"bubble"]).indexOf(i))&&e.splice(i,1))}}function De(e){if(e.__target=e.target,e.C=e.relatedTarget,r.h){var t=Object.getPrototypeOf(e);if(!t.hasOwnProperty("__patchProto")){var n=Object.create(t);n.V=t,l(n,Me),t.__patchProto=n}e.__proto__=t.__patchProto}else l(e,Me)}var Ie=xe(window.Event),Re=xe(window.CustomEvent),Fe=xe(window.MouseEvent);function Be(e){var t=e.getRootNode();return u(t)&&he(t),e.__shady&&e.__shady.assignedSlot||null}var Ve={addEventListener:ke.bind(window),removeEventListener:Pe.bind(window)},qe={addEventListener:ke,removeEventListener:Pe,appendChild:function(e){return ee(this,e)},insertBefore:function(e,t){return ee(this,e,t)},removeChild:function(e){return te(this,e)},replaceChild:function(e,t){return ee(this,e,t),te(this,t),e},cloneNode:function(e){if("template"==this.localName)var t=B.cloneNode.call(this,e);else if(t=B.cloneNode.call(this,!1),e){e=this.childNodes;for(var n,r=0;r<e.length;r++)n=e[r].cloneNode(!0),t.appendChild(n)}return t},getRootNode:function(){return function e(t){if(t&&t.nodeType){t.__shady=t.__shady||{};var n=t.__shady.A;return void 0===n&&(n=u(t)?t:(n=t.parentNode)?e(n):t,document.documentElement.contains(t)&&(t.__shady.A=n)),n}}(this)},get isConnected(){var e=this.ownerDocument;if(e&&e.contains&&e.contains(this)||(e=e.documentElement)&&e.contains&&e.contains(this))return!0;for(e=this;e&&!(e instanceof Document);)e=e.parentNode||(e instanceof me?e.host:void 0);return!!(e&&e instanceof Document)},dispatchEvent:function(e){return ce(),B.dispatchEvent.call(this,e)}},Ue={get assignedSlot(){return Be(this)}},We={querySelector:function(e){return se(this,function(t){return a.call(t,e)},function(e){return!!e})[0]||null},querySelectorAll:function(e){return se(this,function(t){return a.call(t,e)})}},ze={assignedNodes:function(e){if("slot"===this.localName){var t=this.getRootNode();return u(t)&&he(t),this.__shady&&(e&&e.flatten?this.__shady.g:this.__shady.assignedNodes)||[]}}},$e=c({setAttribute:function(e,t){ie(this,e,t)},removeAttribute:function(e){B.removeAttribute.call(this,e),re(this,e)},attachShadow:function(e){if(!this)throw"Must provide a host.";if(!e)throw"Not enough arguments.";return new me(fe,this,e)},get slot(){return this.getAttribute("slot")},set slot(e){ie(this,"slot",e)},get assignedSlot(){return Be(this)}},We,ze);Object.defineProperties($e,A);var Ke=c({importNode:function(e,t){return function e(t,n){if(t.ownerDocument!==document)return B.importNode.call(document,t,n);var r=B.importNode.call(document,t,!1);if(n){t=t.childNodes,n=0;for(var o;n<t.length;n++)o=e(t[n],!0),r.appendChild(o)}return r}(e,t)},getElementById:function(e){return se(this,function(t){return t.id==e},function(e){return!!e})[0]||null}},We);Object.defineProperties(Ke,{_activeElement:H.activeElement});var Ge=HTMLElement.prototype.blur,Ze=c({blur:function(){var e=this.__shady&&this.__shady.root;(e=e&&e.activeElement)?e.blur():Ge.call(this)}});function Xe(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],s=Object.getOwnPropertyDescriptor(t,o);s.value?e[o]=s.value:Object.defineProperty(e,o,s)}}if(r.G){window.ShadyDOM={inUse:r.G,patch:function(e){return e},isShadyRoot:u,enqueue:le,flush:ce,settings:r,filterMutations:function(e,t){var n=t.getRootNode();return e.map(function(e){var t=n===e.target.getRootNode();if(t&&e.addedNodes){if((t=Array.from(e.addedNodes).filter(function(e){return n===e.getRootNode()})).length)return e=Object.create(e),Object.defineProperty(e,"addedNodes",{value:t,configurable:!0}),e}else if(t)return e}).filter(function(e){return e})},observeChildren:function(e,t){e.__shady=e.__shady||{},e.__shady.i||(e.__shady.i=new Se),e.__shady.i.m.add(t);var n=e.__shady.i;return{M:t,O:n,N:e,takeRecords:function(){return n.takeRecords()}}},unobserveChildren:function(e){var t=e&&e.O;t&&(t.m.delete(e.M),t.m.size||(e.N.__shady.i=null))},nativeMethods:B,nativeTree:S},window.Event=Ie,window.CustomEvent=Re,window.MouseEvent=Fe,function(){for(var e in Le)window.addEventListener(e,function(e){e.__target||(De(e),Ae(e))},!0)}();var Ye=window.customElements&&window.customElements.nativeHTMLElement||HTMLElement;Xe(window.Node.prototype,qe),Xe(window.Window.prototype,Ve),Xe(window.Text.prototype,Ue),Xe(window.DocumentFragment.prototype,We),Xe(window.Element.prototype,$e),Xe(window.Document.prototype,Ke),window.HTMLSlotElement&&Xe(window.HTMLSlotElement.prototype,ze),Xe(Ye.prototype,Ze),r.h&&(P(window.Node.prototype),P(window.Text.prototype),P(window.DocumentFragment.prototype),P(window.Element.prototype),P(Ye.prototype),P(window.Document.prototype),window.HTMLSlotElement&&P(window.HTMLSlotElement.prototype)),window.ShadowRoot=me}}).call(this)},"../node_modules/animejs/anime.min.js":function(e,t,n){(function(n){var r,o,s,u={scope:{}};u.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},u.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n&&null!=n?n:e},u.global=u.getGlobal(this),u.SYMBOL_PREFIX="jscomp_symbol_",u.initSymbol=function(){u.initSymbol=function(){},u.global.Symbol||(u.global.Symbol=u.Symbol)},u.symbolCounter_=0,u.Symbol=function(e){return u.SYMBOL_PREFIX+(e||"")+u.symbolCounter_++},u.initSymbolIterator=function(){u.initSymbol();var e=u.global.Symbol.iterator;e||(e=u.global.Symbol.iterator=u.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&u.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return u.arrayIterator(this)}}),u.initSymbolIterator=function(){}},u.arrayIterator=function(e){var t=0;return u.iteratorPrototype(function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}})},u.iteratorPrototype=function(e){return u.initSymbolIterator(),(e={next:e})[u.global.Symbol.iterator]=function(){return this},e},u.array=u.array||{},u.iteratorFromArray=function(e,t){u.initSymbolIterator(),e instanceof String&&(e+="");var n=0,r={next:function(){if(n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r},u.polyfill=function(e,t,n,r){if(t){for(n=u.global,e=e.split("."),r=0;r<e.length-1;r++){var o=e[r];o in n||(n[o]={}),n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&u.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},u.polyfill("Array.prototype.keys",function(e){return e||function(){return u.iteratorFromArray(this,function(e){return e})}},"es6-impl","es3");var i=this;!function(n,u){o=[],void 0===(s="function"==typeof(r=u)?r.apply(t,o):r)||(e.exports=s)}(0,function(){function e(e){if(!L.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var n=e.length,r=2<=arguments.length?arguments[1]:void 0,o=[],s=0;s<n;s++)if(s in e){var u=e[s];t.call(r,u,s,e)&&o.push(u)}return o}function n(e){return e.reduce(function(e,t){return e.concat(L.arr(t)?n(t):t)},[])}function r(t){return L.arr(t)?t:(L.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function o(e,t){return e.some(function(e){return e===t})}function s(e){var t,n={};for(t in e)n[t]=e[t];return n}function u(e,t){var n,r=s(e);for(n in e)r[n]=t.hasOwnProperty(n)?t[n]:e[n];return r}function d(e,t){var n,r=s(e);for(n in t)r[n]=L.und(e[n])?t[n]:e[n];return r}function a(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function l(e,t){return L.fnc(e)?e(t.target,t.id,t.total):e}function c(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function f(e,t){return L.dom(e)&&o(x,t)?"transform":L.dom(e)&&(e.getAttribute(t)||L.svg(e)&&e[t])?"attribute":L.dom(e)&&"transform"!==t&&c(e,t)?"css":null!=e[t]?"object":void 0}function m(e,n){switch(f(e,n)){case"transform":return function(e,n){var r=function(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}(n);if(r=-1<n.indexOf("scale")?1:0+r,!(e=e.style.transform))return r;for(var o=[],s=[],u=[],i=/(\w+)\((.+?)\)/g;o=i.exec(e);)s.push(o[1]),u.push(o[2]);return(e=t(u,function(e,t){return s[t]===n})).length?e[0]:r}(e,n);case"css":return c(e,n);case"attribute":return e.getAttribute(n)}return e[n]||0}function p(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=a(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(n[0],"")),n[0][0]){case"+":return t+e+r;case"-":return t-e+r;case"*":return t*e+r}}function h(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function v(e){e=e.points;for(var t,n=0,r=0;r<e.numberOfItems;r++){var o=e.getItem(r);0<r&&(n+=h(t,o)),t=o}return n}function _(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return h({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return v(e);case"polygon":var t=e.points;return v(e)+h(t.getItem(t.numberOfItems-1),t.getItem(0))}}function y(e,t){function n(n){return n=void 0===n?0:n,e.el.getPointAtLength(1<=t+n?t+n:0)}var r=n(),o=n(-1),s=n(1);switch(e.property){case"x":return r.x;case"y":return r.y;case"angle":return 180*Math.atan2(s.y-o.y,s.x-o.x)/Math.PI}}function g(e,t){var n,r=/-?\d*\.?\d+/g;if(n=L.pth(e)?e.totalLength:e,L.col(n))if(L.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=L.hex(n)?function(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,r){return t+t+n+n+r+r});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}(n):L.hsl(n)?function(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(n[1])/360;var r=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==r)o=r=e=o;else{var s=.5>o?o*(1+r):o+r-o*r,u=2*o-s;o=t(u,s,e+1/3),r=t(u,s,e),e=t(u,s,e-1/3)}return"rgba("+255*o+","+255*r+","+255*e+","+n+")"}(n):void 0;else o=(o=a(n))?n.substr(0,n.length-o.length):n,n=t&&!/\s/g.test(n)?o+t:o;return{original:n+="",numbers:n.match(r)?n.match(r).map(Number):[0],strings:L.str(e)||t?n.split(r):[]}}function b(e){return t(e=e?n(L.arr(e)?e.map(r):r(e)):[],function(e,t,n){return n.indexOf(e)===t})}function j(e,t){var n=s(t);if(L.arr(e)){var o=e.length;2!==o||L.obj(e[0])?L.fnc(t.duration)||(n.duration=t.duration/o):e={value:e}}return r(e).map(function(e,n){return n=n?0:t.delay,e=L.obj(e)&&!L.pth(e)?e:{value:e},L.und(e.delay)&&(e.delay=n),e}).map(function(e){return d(e,n)})}function w(e,t){var n;return e.tweens.map(function(r){var o=(r=function(e,t){var n,r={};for(n in e){var o=l(e[n],t);L.arr(o)&&1===(o=o.map(function(e){return l(e,t)})).length&&(o=o[0]),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}(r,t)).value,s=m(t.target,e.name),u=n?n.to.original:s,i=(u=L.arr(o)?o[0]:u,p(L.arr(o)?o[1]:o,u));s=a(i)||a(u)||a(s);return r.from=g(u,s),r.to=g(i,s),r.start=n?n.end:e.offset,r.end=r.start+r.delay+r.duration,r.easing=function(e){return L.arr(e)?O.apply(this,e):A[e]}(r.easing),r.elasticity=(1e3-Math.min(Math.max(r.elasticity,1),999))/1e3,r.isPath=L.pth(o),r.isColor=L.col(r.from.original),r.isColor&&(r.round=1),n=r})}function S(e,t,n,r){var o="delay"===e;return t.length?(o?Math.min:Math.max).apply(Math,t.map(function(t){return t[e]})):o?r.delay:n.offset+r.delay+r.duration}function E(e){var r,o=u(N,e),s=u(M,e),i=function(e){var t=b(e);return t.map(function(e,n){return{target:e,id:n,total:t.length}})}(e.targets),a=[],l=d(o,s);for(r in e)l.hasOwnProperty(r)||"targets"===r||a.push({name:r,offset:l.offset,tweens:j(e[r],s)});return e=function(e,r){return t(n(e.map(function(e){return r.map(function(t){var n=f(e.target,t.name);if(n){var r=w(t,e);t={type:n,property:t.name,animatable:e,tweens:r,duration:r[r.length-1].end,delay:r[0].delay}}else t=void 0;return t})})),function(e){return!L.und(e)})}(i,a),d(o,{children:[],animatables:i,animations:e,duration:S("duration",e,o,s),delay:S("delay",e,o,s)})}function C(e){function n(){return window.Promise&&new Promise(function(e){return f=e})}function r(e){return p.reversed?p.duration-e:e}function o(e){for(var n=0,r={},o=p.animations,s=o.length;n<s;){var u=o[n],i=u.animatable,d=(a=u.tweens)[m=a.length-1];m&&(d=t(a,function(t){return e<t.end})[0]||d);for(var a=Math.min(Math.max(e-d.start-d.delay,0),d.duration)/d.duration,l=isNaN(a)?1:d.easing(a,d.elasticity),f=(a=d.to.strings,d.round),m=[],h=void 0,v=(h=d.to.numbers.length,0);v<h;v++){var _=void 0,g=(_=d.to.numbers[v],d.from.numbers[v]);_=d.isPath?y(d.value,l*_):g+l*(_-g);f&&(d.isColor&&2<v||(_=Math.round(_*f)/f)),m.push(_)}if(d=a.length)for(h=a[0],l=0;l<d;l++)f=a[l+1],v=m[l],isNaN(v)||(h=f?h+(v+f):h+(v+" "));else h=m[0];H[u.type](i.target,u.property,h,r,i.id),u.currentValue=h,n++}if(n=Object.keys(r).length)for(o=0;o<n;o++)T||(T=c(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[o].target.style[T]=r[o].join(" ");p.currentTime=e,p.progress=e/p.duration*100}function s(e){p[e]&&p[e](p)}function u(){p.remaining&&!0!==p.remaining&&p.remaining--}function i(e){var t=p.duration,i=p.offset,c=i+p.delay,h=p.currentTime,v=p.reversed,_=r(e);if(p.children.length){var y=p.children,g=y.length;if(_>=p.currentTime)for(var b=0;b<g;b++)y[b].seek(_);else for(;g--;)y[g].seek(_)}(_>=c||!t)&&(p.began||(p.began=!0,s("begin")),s("run")),_>i&&_<t?o(_):(_<=i&&0!==h&&(o(0),v&&u()),(_>=t&&h!==t||!t)&&(o(t),v||u())),s("update"),e>=t&&(p.remaining?(a=d,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,s("complete"),"Promise"in window&&(f(),m=n()))),l=0)}e=void 0===e?{}:e;var d,a,l=0,f=null,m=n(),p=E(e);return p.reset=function(){var e=p.direction,t=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===e,p.remaining="alternate"===e&&1===t?2:t,o(0),e=p.children.length;e--;)p.children[e].reset()},p.tick=function(e){d=e,a||(a=d),i((l+d-a)*C.speed)},p.seek=function(e){i(r(e))},p.pause=function(){var e=k.indexOf(p);-1<e&&k.splice(e,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,a=0,l=r(p.currentTime),k.push(p),P||D())},p.reverse=function(){p.reversed=!p.reversed,a=0,l=r(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=m,p.reset(),p.autoplay&&p.play(),p}var T,N={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},M={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},x="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),L={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return L.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||L.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return L.hex(e)||L.rgb(e)||L.hsl(e)}},O=function(){function e(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}return function(t,n,r,o){if(0<=t&&1>=t&&0<=r&&1>=r){var s=new Float32Array(11);if(t!==n||r!==o)for(var u=0;11>u;++u)s[u]=e(.1*u,t,r);return function(u){if(t===n&&r===o)return u;if(0===u)return 0;if(1===u)return 1;for(var i=0,d=1;10!==d&&s[d]<=u;++d)i+=.1;d=i+(u-s[--d])/(s[d+1]-s[d])*.1;var a=3*(1-3*r+3*t)*d*d+2*(3*r-6*t)*d+3*t;if(.001<=a){for(i=0;4>i&&0!==(a=3*(1-3*r+3*t)*d*d+2*(3*r-6*t)*d+3*t);++i){var l=e(d,t,r)-u;d=d-l/a}u=d}else if(0===a)u=d;else{d=i,i=i+.1;var c=0;do{0<(a=e(l=d+(i-d)/2,t,r)-u)?i=l:d=l}while(1e-7<Math.abs(a)&&10>++c);u=l}return e(u,n,o)}}}}(),A=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,n="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),r={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,n){return 1-e(1-t,n)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,n){return.5>t?e(2*t,n)/2:1-e(-2*t+2,n)/2}]},o={linear:O(.25,.25,.75,.75)},s={};for(t in r)s.type=t,r[s.type].forEach(function(e){return function(t,r){o["ease"+e.type+n[r]]=L.fnc(t)?t:O.apply(i,t)}}(s)),s={type:s.type};return o}(),H={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){r[o]||(r[o]=[]),r[o].push(t+"("+n+")")}},k=[],P=0,D=function(){function e(){P=requestAnimationFrame(t)}function t(t){var n=k.length;if(n){for(var r=0;r<n;)k[r]&&k[r].tick(t),r++;e()}else cancelAnimationFrame(P),P=0}return e}();return C.version="2.2.0",C.speed=1,C.running=k,C.remove=function(e){e=b(e);for(var t=k.length;t--;)for(var n=k[t],r=n.animations,s=r.length;s--;)o(e,r[s].animatable.target)&&(r.splice(s,1),r.length||n.pause())},C.getValue=m,C.path=function(t,n){var r=L.str(t)?e(t)[0]:t,o=n||100;return function(e){return{el:r,property:e,totalLength:_(r)*(o/100)}}},C.setDashoffset=function(e){var t=_(e);return e.setAttribute("stroke-dasharray",t),t},C.bezier=O,C.easings=A,C.timeline=function(e){var t=C(e);return t.pause(),t.duration=0,t.add=function(n){return t.children.forEach(function(e){e.began=!0,e.completed=!0}),r(n).forEach(function(n){var r=d(n,u(M,e||{}));r.targets=r.targets||e.targets,n=t.duration;var o=r.offset;r.autoplay=!1,r.direction=t.direction,r.offset=L.und(o)?n:p(o,n),t.began=!0,t.completed=!0,t.seek(r.offset),(r=C(r)).began=!0,r.completed=!0,r.duration>n&&(t.duration=r.duration),t.children.push(r)}),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},C.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},C})}).call(t,n("../global.js"))},"../node_modules/document-register-element/build/document-register-element.js":function(e,t){
|
|
1
|
+
/*! P-ELEMENTS 1.2.0 - Tue Mar 08 2022 12:40:14 GMT+0100 (Central European Standard Time) */(()=>{var e={259:function(){(function(){"use strict";var e,t,n=!(window.ShadyDOM&&window.ShadyDOM.inUse);function r(t){e=(!t||!t.shimcssproperties)&&(n||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(t=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?e=window.ShadyCSS.nativeCss:window.ShadyCSS?(r(window.ShadyCSS),window.ShadyCSS=void 0):r(window.WebComponents&&window.WebComponents.flags);var o=e,i=t;function a(){this.end=this.start=0,this.rules=this.parent=this.previous=null,this.cssText=this.parsedCssText="",this.atRule=!1,this.type=0,this.parsedSelector=this.selector=this.keyframesName=""}function u(e){var t=l,n=e=e.replace(m,"").replace(h,""),r=new a;r.start=0,r.end=n.length;for(var o=r,i=0,u=n.length;i<u;i++)if("{"===n[i]){o.rules||(o.rules=[]);var c=o,s=c.rules[c.rules.length-1]||null;(o=new a).start=i+1,o.parent=c,o.previous=s,c.rules.push(o)}else"}"===n[i]&&(o.end=i+1,o=o.parent||r);return t(r,e)}function l(e,t){var n=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=n.trim(),e.parent&&(n=function(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(e,t){for(t=6-(e=t).length;t--;)e="0"+e;return"\\"+e}))}(n=t.substring(e.previous?e.previous.end:e.parent.start,e.start-1)),n=(n=n.replace(w," ")).substring(n.lastIndexOf(";")+1),n=e.parsedSelector=e.selector=n.trim(),e.atRule=0===n.indexOf("@"),e.atRule?0===n.indexOf("@media")?e.type=p:n.match(S)&&(e.type=f,e.keyframesName=e.selector.split(w).pop()):e.type=0===n.indexOf("--")?d:s),n=e.rules)for(var r=0,o=n.length,i=void 0;r<o&&(i=n[r]);r++)l(i,t);return e}function c(e,t,n){n=void 0===n?"":n;var r="";if(e.cssText||e.rules){var o,i=e.rules;if((o=i)&&(o=!((o=i[0])&&o.selector&&0===o.selector.indexOf("--"))),o){o=0;for(var a=i.length,u=void 0;o<a&&(u=i[o]);o++)r=c(u,t,r)}else t?t=e.cssText:t=(t=(t=e.cssText).replace(y,"").replace(v,"")).replace(g,"").replace(b,""),(r=t.trim())&&(r=" "+r+"\n")}return r&&(e.selector&&(n+=e.selector+" {\n"),n+=r,e.selector&&(n+="}\n\n")),n}var s=1,f=7,p=4,d=1e3,m=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,h=/@import[^;]*;/gim,y=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,v=/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,g=/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,b=/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,S=/^@[^\s]*keyframes/,w=/\s+/g,E=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gi,T=/(?:^|\W+)@apply\s*\(?([^);\n]*)\)?/gi,C=/@media\s(.*)/,M=new Set;function L(e){return e?("string"==typeof e&&(e=u(e)),c(e,o)):""}function O(e){return!e.__cssRules&&e.textContent&&(e.__cssRules=u(e.textContent)),e.__cssRules||null}function A(e,t,n,r){if(e){var o=!1,i=e.type;if(r&&i===p){var a=e.selector.match(C);a&&(window.matchMedia(a[1]).matches||(o=!0))}if(i===s?t(e):n&&i===f?n(e):i===d&&(o=!0),(e=e.rules)&&!o)for(o=0,i=e.length,a=void 0;o<i&&(a=e[o]);o++)A(a,t,n,r)}}function H(e,t){var n=e.indexOf("var(");if(-1===n)return t(e,"","","");e:{for(var r=0,o=n+3,i=e.length;o<i;o++)if("("===e[o])r++;else if(")"===e[o]&&0==--r)break e;o=-1}return r=e.substring(n+4,o),n=e.substring(0,n),e=H(e.substring(o+1),t),-1===(o=r.indexOf(","))?t(n,r.trim(),"",e):t(n,r.substring(0,o).trim(),r.substring(o+1).trim(),e)}function x(e){if(void 0!==i)return i;if(void 0===e.__cssBuild){var t=e.getAttribute("css-build");if(t)e.__cssBuild=t;else{if(""!==(t=(t="template"===e.localName?e.content.firstChild:e.firstChild)instanceof Comment&&"css-build"===(t=t.textContent.trim().split(":"))[0]?t[1]:"")){var n="template"===e.localName?e.content.firstChild:e.firstChild;n.parentNode.removeChild(n)}e.__cssBuild=t}}return e.__cssBuild||""}var N=/;\s*/m,_=/^\s*(initial)|(inherit)\s*$/,j=/\s*!important/;function I(){this.a={}}I.prototype.set=function(e,t){e=e.trim(),this.a[e]={h:t,i:{}}},I.prototype.get=function(e){return e=e.trim(),this.a[e]||null};var k=null;function P(){this.b=this.c=null,this.a=new I}function R(e,t){for(var n=t;n.parent;)n=n.parent;var r={},o=!1;return A(n,(function(n){(o=o||n===t)||n.selector===t.selector&&Object.assign(r,F(e,n.parsedCssText))})),r}function D(e,t,n){for(var r;r=T.exec(t);){var o=r[0],i=r[1];r=r.index;var a=t.slice(0,r+o.indexOf("@apply"));t=t.slice(r+o.length);var u=n?R(e,n):{};Object.assign(u,F(e,a)),o=void 0;var l=e;i=i.replace(N,"");var c=[],s=l.a.get(i);if(s||(l.a.set(i,{}),s=l.a.get(i)),s){l.c&&(s.i[l.c]=!0);var f=s.h;for(o in f)s=[o,": var(",i,"_-_",o],(l=u&&u[o])&&s.push(",",l.replace(j,"")),s.push(")"),j.test(f[o])&&s.push(" !important"),c.push(s.join(""))}t=a+(o=c.join("; "))+t,T.lastIndex=r+o.length}return t}function F(e,t,n){n=void 0!==n&&n,t=t.split(";");for(var r,o,i,a={},u=0;u<t.length;u++)if((r=t[u])&&1<(i=r.split(":")).length){if(r=i[0].trim(),o=i.slice(1).join(":"),n){var l=e;i=r;var c=_.exec(o);c&&(c[1]?(l.b||(l.b=document.createElement("meta"),l.b.setAttribute("apply-shim-measure",""),l.b.style.all="initial",document.head.appendChild(l.b)),i=window.getComputedStyle(l.b).getPropertyValue(i)):i="apply-shim-inherit",o=i)}a[r]=o}return a}P.prototype.o=function(e){return e=T.test(e)||E.test(e),T.lastIndex=0,E.lastIndex=0,e},P.prototype.m=function(e,t){if(void 0===e._gatheredStyle){for(var r=[],o=e.content.querySelectorAll("style"),i=0;i<o.length;i++){var a=o[i];if(a.hasAttribute("shady-unscoped")){if(!n){var u=a.textContent;M.has(u)||(M.add(u),u=a.cloneNode(!0),document.head.appendChild(u)),a.parentNode.removeChild(a)}}else r.push(a.textContent),a.parentNode.removeChild(a)}(r=r.join("").trim())?((o=document.createElement("style")).textContent=r,e.content.insertBefore(o,e.content.firstChild),r=o):r=null,e._gatheredStyle=r}return(e=e._gatheredStyle)?this.j(e,t):null},P.prototype.j=function(e,t){t=void 0===t?"":t;var n=O(e);return this.l(n,t),e.textContent=L(n),n},P.prototype.f=function(e){var t=this,n=O(e);return A(n,(function(e){":root"===e.selector&&(e.selector="html"),t.g(e)})),e.textContent=L(n),n},P.prototype.l=function(e,t){var n=this;this.c=t,A(e,(function(e){n.g(e)})),this.c=null},P.prototype.g=function(e){e.cssText=function(e,t,n){return t=t.replace(E,(function(t,r,o,i){return function(e,t,n,r,o,i){if(r&&H(r,(function(t,n){n&&e.a.get(n)&&(o="@apply "+n+";")})),!o)return t;var a=D(e,""+o,i);i=t.slice(0,t.indexOf("--"));var u=a=F(e,a,!0),l=e.a.get(n),c=l&&l.h;c?u=Object.assign(Object.create(c),a):e.a.set(n,u);var s,f=[],p=!1;for(s in u){var d=a[s];void 0===d&&(d="initial"),!c||s in c||(p=!0),f.push(n+"_-_"+s+": "+d)}return p&&function(e,t){if(k)for(var n in t.i)n!==e.c&&k(n)}(e,l),l&&(l.h=u),r&&(i=t+";"+i),i+f.join("; ")+";"}(e,t,r,o,i,n)})),D(e,t,n)}(this,e.parsedCssText,e),":root"===e.selector&&(e.selector=":host > *")},P.prototype.detectMixin=P.prototype.o,P.prototype.transformStyle=P.prototype.j,P.prototype.transformCustomStyle=P.prototype.f,P.prototype.transformRules=P.prototype.l,P.prototype.transformRule=P.prototype.g,P.prototype.transformTemplate=P.prototype.m,P.prototype._separator="_-_",Object.defineProperty(P.prototype,"invalidCallback",{get:function(){return k},set:function(e){k=e}});var V={},B=Promise.resolve();function q(e){(e=V[e])&&(e._applyShimCurrentVersion=e._applyShimCurrentVersion||0,e._applyShimValidatingVersion=e._applyShimValidatingVersion||0,e._applyShimNextVersion=(e._applyShimNextVersion||0)+1)}function U(e){return e._applyShimCurrentVersion===e._applyShimNextVersion}var $=new P;function W(){this.a=null,$.invalidCallback=q}function z(e){!e.a&&window.ShadyCSS.CustomStyleInterface&&(e.a=window.ShadyCSS.CustomStyleInterface,e.a.transformCallback=function(e){$.f(e)},e.a.validateCallback=function(){requestAnimationFrame((function(){e.a.enqueued&&e.flushCustomStyles()}))})}if(W.prototype.prepareTemplate=function(e,t){z(this),""===x(e)&&(V[t]=e,t=$.m(e,t),e._styleAst=t)},W.prototype.flushCustomStyles=function(){if(z(this),this.a){var e=this.a.processStyles();if(this.a.enqueued){for(var t=0;t<e.length;t++){var n=this.a.getStyleForCustomStyle(e[t]);n&&$.f(n)}this.a.enqueued=!1}}},W.prototype.styleSubtree=function(e,t){if(z(this),t)for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n]);if(e.shadowRoot)for(this.styleElement(e),e=e.shadowRoot.children||e.shadowRoot.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t]);else for(e=e.children||e.childNodes,t=0;t<e.length;t++)this.styleSubtree(e[t])},W.prototype.styleElement=function(e){z(this);var t,n=e.localName;t=n?-1<n.indexOf("-")?n:e.getAttribute&&e.getAttribute("is")||"":e.is,(n=V[t])&&""!==x(n)||!n||U(n)||((U(n)||n._applyShimValidatingVersion!==n._applyShimNextVersion)&&(this.prepareTemplate(n,t),function(e){e._applyShimValidatingVersion=e._applyShimNextVersion,e._validating||(e._validating=!0,B.then((function(){e._applyShimCurrentVersion=e._applyShimNextVersion,e._validating=!1})))}(n)),(e=e.shadowRoot)&&(e=e.querySelector("style"))&&(e.__cssRules=n._styleAst,e.textContent=L(n._styleAst)))},W.prototype.styleDocument=function(e){z(this),this.styleSubtree(document.body,e)},!window.ShadyCSS||!window.ShadyCSS.ScopingShim){var Z=new W,K=window.ShadyCSS&&window.ShadyCSS.CustomStyleInterface;window.ShadyCSS={prepareTemplate:function(e,t){Z.flushCustomStyles(),Z.prepareTemplate(e,t)},prepareTemplateStyles:function(e,t,n){window.ShadyCSS.prepareTemplate(e,t,n)},prepareTemplateDom:function(){},styleSubtree:function(e,t){Z.flushCustomStyles(),Z.styleSubtree(e,t)},styleElement:function(e){Z.flushCustomStyles(),Z.styleElement(e)},styleDocument:function(e){Z.flushCustomStyles(),Z.styleDocument(e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){Z.flushCustomStyles()},nativeCss:o,nativeShadow:n,cssBuild:i},K&&(window.ShadyCSS.CustomStyleInterface=K)}window.ShadyCSS.ApplyShim=$}).call(this)},659:function(){(function(){"use strict";var e,t=null,n=window.HTMLImports&&window.HTMLImports.whenReady||null;function r(r){requestAnimationFrame((function(){n?n(r):(t||(t=new Promise((function(t){e=t})),"complete"===document.readyState?e():document.addEventListener("readystatechange",(function(){"complete"===document.readyState&&e()}))),t.then((function(){r&&r()})))}))}var o=null,i=null;function a(){this.customStyles=[],this.enqueued=!1,r((function(){window.ShadyCSS.flushCustomStyles&&window.ShadyCSS.flushCustomStyles()}))}function u(e){!e.enqueued&&i&&(e.enqueued=!0,r(i))}function l(e,t){for(var n in t)null===n?e.style.removeProperty(n):e.style.setProperty(n,t[n])}a.prototype.c=function(e){e.__seenByShadyCSS||(e.__seenByShadyCSS=!0,this.customStyles.push(e),u(this))},a.prototype.b=function(e){return e.__shadyCSSCachedStyle?e.__shadyCSSCachedStyle:e.getStyle?e.getStyle():e},a.prototype.a=function(){for(var e=this.customStyles,t=0;t<e.length;t++){var n=e[t];if(!n.__shadyCSSCachedStyle){var r=this.b(n);r&&(r=r.__appliedElement||r,o&&o(r),n.__shadyCSSCachedStyle=r)}}return e},a.prototype.addCustomStyle=a.prototype.c,a.prototype.getStyleForCustomStyle=a.prototype.b,a.prototype.processStyles=a.prototype.a,Object.defineProperties(a.prototype,{transformCallback:{get:function(){return o},set:function(e){o=e}},validateCallback:{get:function(){return i},set:function(e){var t=!1;i||(t=!0),i=e,t&&u(this)}}});var c,s,f=!(window.ShadyDOM&&window.ShadyDOM.inUse);function p(e){c=(!e||!e.shimcssproperties)&&(f||!(navigator.userAgent.match(/AppleWebKit\/601|Edge\/15/)||!window.CSS||!CSS.supports||!CSS.supports("box-shadow","0 0 0 var(--foo)")))}window.ShadyCSS&&void 0!==window.ShadyCSS.cssBuild&&(s=window.ShadyCSS.cssBuild),window.ShadyCSS&&void 0!==window.ShadyCSS.nativeCss?c=window.ShadyCSS.nativeCss:window.ShadyCSS?(p(window.ShadyCSS),window.ShadyCSS=void 0):p(window.WebComponents&&window.WebComponents.flags);var d=c,m=s,h=new a;window.ShadyCSS||(window.ShadyCSS={prepareTemplate:function(){},prepareTemplateDom:function(){},prepareTemplateStyles:function(){},styleSubtree:function(e,t){h.a(),l(e,t)},styleElement:function(){h.a()},styleDocument:function(e){h.a(),l(document.body,e)},getComputedStyleValue:function(e,t){return(e=window.getComputedStyle(e).getPropertyValue(t))?e.trim():""},flushCustomStyles:function(){},nativeCss:d,nativeShadow:f,cssBuild:m}),window.ShadyCSS.CustomStyleInterface=h}).call(this)},277:function(e,t,n){var r,o,i,a={scope:{}};a.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=n.value)},a.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==n.g&&null!=n.g?n.g:e},a.global=a.getGlobal(this),a.SYMBOL_PREFIX="jscomp_symbol_",a.initSymbol=function(){a.initSymbol=function(){},a.global.Symbol||(a.global.Symbol=a.Symbol)},a.symbolCounter_=0,a.Symbol=function(e){return a.SYMBOL_PREFIX+(e||"")+a.symbolCounter_++},a.initSymbolIterator=function(){a.initSymbol();var e=a.global.Symbol.iterator;e||(e=a.global.Symbol.iterator=a.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&a.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return a.arrayIterator(this)}}),a.initSymbolIterator=function(){}},a.arrayIterator=function(e){var t=0;return a.iteratorPrototype((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))},a.iteratorPrototype=function(e){return a.initSymbolIterator(),(e={next:e})[a.global.Symbol.iterator]=function(){return this},e},a.array=a.array||{},a.iteratorFromArray=function(e,t){a.initSymbolIterator(),e instanceof String&&(e+="");var n=0,r={next:function(){if(n<e.length){var o=n++;return{value:t(o,e[o]),done:!1}}return r.next=function(){return{done:!0,value:void 0}},r.next()}};return r[Symbol.iterator]=function(){return r},r},a.polyfill=function(e,t,n,r){if(t){for(n=a.global,e=e.split("."),r=0;r<e.length-1;r++){var o=e[r];o in n||(n[o]={}),n=n[o]}(t=t(r=n[e=e[e.length-1]]))!=r&&null!=t&&a.defineProperty(n,e,{configurable:!0,writable:!0,value:t})}},a.polyfill("Array.prototype.keys",(function(e){return e||function(){return a.iteratorFromArray(this,(function(e){return e}))}}),"es6-impl","es3");var u=this;o=[],r=function(){function e(e){if(!D.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var n=e.length,r=2<=arguments.length?arguments[1]:void 0,o=[],i=0;i<n;i++)if(i in e){var a=e[i];t.call(r,a,i,e)&&o.push(a)}return o}function n(e){return e.reduce((function(e,t){return e.concat(D.arr(t)?n(t):t)}),[])}function r(t){return D.arr(t)?t:(D.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function o(e,t){return e.some((function(e){return e===t}))}function i(e){var t,n={};for(t in e)n[t]=e[t];return n}function a(e,t){var n,r=i(e);for(n in e)r[n]=t.hasOwnProperty(n)?t[n]:e[n];return r}function l(e,t){var n,r=i(e);for(n in t)r[n]=D.und(e[n])?t[n]:e[n];return r}function c(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}function s(e){function t(e,t,n){return 0>n&&(n+=1),1<n&&--n,n<1/6?e+6*(t-e)*n:.5>n?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var n=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(n[1])/360;var r=parseInt(n[2])/100,o=parseInt(n[3])/100;if(n=n[4]||1,0==r)o=r=e=o;else{var i=.5>o?o*(1+r):o+r-o*r,a=2*o-i;o=t(a,i,e+1/3),r=t(a,i,e),e=t(a,i,e-1/3)}return"rgba("+255*o+","+255*r+","+255*e+","+n+")"}function f(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function p(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}function d(e,t){return D.fnc(e)?e(t.target,t.id,t.total):e}function m(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function h(e,t){return D.dom(e)&&o(R,t)?"transform":D.dom(e)&&(e.getAttribute(t)||D.svg(e)&&e[t])?"attribute":D.dom(e)&&"transform"!==t&&m(e,t)?"css":null!=e[t]?"object":void 0}function y(e,n){var r=p(n);if(r=-1<n.indexOf("scale")?1:0+r,!(e=e.style.transform))return r;for(var o=[],i=[],a=[],u=/(\w+)\((.+?)\)/g;o=u.exec(e);)i.push(o[1]),a.push(o[2]);return e=t(a,(function(e,t){return i[t]===n})),e.length?e[0]:r}function v(e,t){switch(h(e,t)){case"transform":return y(e,t);case"css":return m(e,t);case"attribute":return e.getAttribute(t)}return e[t]||0}function g(e,t){var n=/^(\*=|\+=|-=)/.exec(e);if(!n)return e;var r=f(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(n[0],"")),n[0][0]){case"+":return t+e+r;case"-":return t-e+r;case"*":return t*e+r}}function b(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function S(e){e=e.points;for(var t,n=0,r=0;r<e.numberOfItems;r++){var o=e.getItem(r);0<r&&(n+=b(t,o)),t=o}return n}function w(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return b({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return S(e);case"polygon":var t=e.points;return S(e)+b(t.getItem(t.numberOfItems-1),t.getItem(0))}}function E(e,t){function n(n){return n=void 0===n?0:n,e.el.getPointAtLength(1<=t+n?t+n:0)}var r=n(),o=n(-1),i=n(1);switch(e.property){case"x":return r.x;case"y":return r.y;case"angle":return 180*Math.atan2(i.y-o.y,i.x-o.x)/Math.PI}}function T(e,t){var n,r=/-?\d*\.?\d+/g;if(n=D.pth(e)?e.totalLength:e,D.col(n))if(D.rgb(n)){var o=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(n);n=o?"rgba("+o[1]+",1)":n}else n=D.hex(n)?c(n):D.hsl(n)?s(n):void 0;else o=(o=f(n))?n.substr(0,n.length-o.length):n,n=t&&!/\s/g.test(n)?o+t:o;return{original:n+="",numbers:n.match(r)?n.match(r).map(Number):[0],strings:D.str(e)||t?n.split(r):[]}}function C(e){return t(e=e?n(D.arr(e)?e.map(r):r(e)):[],(function(e,t,n){return n.indexOf(e)===t}))}function M(e){var t=C(e);return t.map((function(e,n){return{target:e,id:n,total:t.length}}))}function L(e,t){var n=i(t);if(D.arr(e)){var o=e.length;2!==o||D.obj(e[0])?D.fnc(t.duration)||(n.duration=t.duration/o):e={value:e}}return r(e).map((function(e,n){return n=n?0:t.delay,e=D.obj(e)&&!D.pth(e)?e:{value:e},D.und(e.delay)&&(e.delay=n),e})).map((function(e){return l(e,n)}))}function O(e,t){var n,r={};for(n in e){var o=d(e[n],t);D.arr(o)&&(o=o.map((function(e){return d(e,t)})),1===o.length&&(o=o[0])),r[n]=o}return r.duration=parseFloat(r.duration),r.delay=parseFloat(r.delay),r}function A(e){return D.arr(e)?F.apply(this,e):V[e]}function H(e,t){var n;return e.tweens.map((function(r){var o=(r=O(r,t)).value,i=v(t.target,e.name),a=n?n.to.original:i,u=(a=D.arr(o)?o[0]:a,g(D.arr(o)?o[1]:o,a));return i=f(u)||f(a)||f(i),r.from=T(a,i),r.to=T(u,i),r.start=n?n.end:e.offset,r.end=r.start+r.delay+r.duration,r.easing=A(r.easing),r.elasticity=(1e3-Math.min(Math.max(r.elasticity,1),999))/1e3,r.isPath=D.pth(o),r.isColor=D.col(r.from.original),r.isColor&&(r.round=1),n=r}))}function x(e,r){return t(n(e.map((function(e){return r.map((function(t){var n=h(e.target,t.name);if(n){var r=H(t,e);t={type:n,property:t.name,animatable:e,tweens:r,duration:r[r.length-1].end,delay:r[0].delay}}else t=void 0;return t}))}))),(function(e){return!D.und(e)}))}function N(e,t,n,r){var o="delay"===e;return t.length?(o?Math.min:Math.max).apply(Math,t.map((function(t){return t[e]}))):o?r.delay:n.offset+r.delay+r.duration}function _(e){var t,n=a(k,e),r=a(P,e),o=M(e.targets),i=[],u=l(n,r);for(t in e)u.hasOwnProperty(t)||"targets"===t||i.push({name:t,offset:u.offset,tweens:L(e[t],r)});return l(n,{children:[],animatables:o,animations:e=x(o,i),duration:N("duration",e,n,r),delay:N("delay",e,n,r)})}function j(e){function n(){return window.Promise&&new Promise((function(e){return f=e}))}function r(e){return d.reversed?d.duration-e:e}function o(e){for(var n=0,r={},o=d.animations,i=o.length;n<i;){var a=o[n],u=a.animatable,l=(c=a.tweens)[p=c.length-1];p&&(l=t(c,(function(t){return e<t.end}))[0]||l);for(var c=Math.min(Math.max(e-l.start-l.delay,0),l.duration)/l.duration,s=isNaN(c)?1:l.easing(c,l.elasticity),f=(c=l.to.strings,l.round),p=[],h=void 0,y=(h=l.to.numbers.length,0);y<h;y++){var v=void 0,g=(v=l.to.numbers[y],l.from.numbers[y]);v=l.isPath?E(l.value,s*v):g+s*(v-g),f&&(l.isColor&&2<y||(v=Math.round(v*f)/f)),p.push(v)}if(l=c.length)for(h=c[0],s=0;s<l;s++)f=c[s+1],y=p[s],isNaN(y)||(h=f?h+(y+f):h+(y+" "));else h=p[0];B[a.type](u.target,a.property,h,r,u.id),a.currentValue=h,n++}if(n=Object.keys(r).length)for(o=0;o<n;o++)I||(I=m(document.body,"transform")?"transform":"-webkit-transform"),d.animatables[o].target.style[I]=r[o].join(" ");d.currentTime=e,d.progress=e/d.duration*100}function i(e){d[e]&&d[e](d)}function a(){d.remaining&&!0!==d.remaining&&d.remaining--}function u(e){var t=d.duration,u=d.offset,m=u+d.delay,h=d.currentTime,y=d.reversed,v=r(e);if(d.children.length){var g=d.children,b=g.length;if(v>=d.currentTime)for(var S=0;S<b;S++)g[S].seek(v);else for(;b--;)g[b].seek(v)}(v>=m||!t)&&(d.began||(d.began=!0,i("begin")),i("run")),v>u&&v<t?o(v):(v<=u&&0!==h&&(o(0),y&&a()),(v>=t&&h!==t||!t)&&(o(t),y||a())),i("update"),e>=t&&(d.remaining?(c=l,"alternate"===d.direction&&(d.reversed=!d.reversed)):(d.pause(),d.completed||(d.completed=!0,i("complete"),"Promise"in window&&(f(),p=n()))),s=0)}e=void 0===e?{}:e;var l,c,s=0,f=null,p=n(),d=_(e);return d.reset=function(){var e=d.direction,t=d.loop;for(d.currentTime=0,d.progress=0,d.paused=!0,d.began=!1,d.completed=!1,d.reversed="reverse"===e,d.remaining="alternate"===e&&1===t?2:t,o(0),e=d.children.length;e--;)d.children[e].reset()},d.tick=function(e){l=e,c||(c=l),u((s+l-c)*j.speed)},d.seek=function(e){u(r(e))},d.pause=function(){var e=q.indexOf(d);-1<e&&q.splice(e,1),d.paused=!0},d.play=function(){d.paused&&(d.paused=!1,c=0,s=r(d.currentTime),q.push(d),U||$())},d.reverse=function(){d.reversed=!d.reversed,c=0,s=r(d.currentTime)},d.restart=function(){d.pause(),d.reset(),d.play()},d.finished=p,d.reset(),d.autoplay&&d.play(),d}var I,k={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},P={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},R="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),D={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return D.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||D.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return D.hex(e)||D.rgb(e)||D.hsl(e)}},F=function(){function e(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}return function(t,n,r,o){if(0<=t&&1>=t&&0<=r&&1>=r){var i=new Float32Array(11);if(t!==n||r!==o)for(var a=0;11>a;++a)i[a]=e(.1*a,t,r);return function(a){if(t===n&&r===o)return a;if(0===a)return 0;if(1===a)return 1;for(var u=0,l=1;10!==l&&i[l]<=a;++l)u+=.1;--l,l=u+(a-i[l])/(i[l+1]-i[l])*.1;var c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t;if(.001<=c){for(u=0;4>u&&0!=(c=3*(1-3*r+3*t)*l*l+2*(3*r-6*t)*l+3*t);++u){var s=e(l,t,r)-a;l-=s/c}a=l}else if(0===c)a=l;else{l=u,u+=.1;var f=0;do{0<(c=e(s=l+(u-l)/2,t,r)-a)?u=s:l=s}while(1e-7<Math.abs(c)&&10>++f);a=s}return e(a,n,o)}}}}(),V=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,n="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),r={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,n){return 1-e(1-t,n)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,n){return.5>t?e(2*t,n)/2:1-e(-2*t+2,n)/2}]},o={linear:F(.25,.25,.75,.75)},i={};for(t in r)i.type=t,r[i.type].forEach(function(e){return function(t,r){o["ease"+e.type+n[r]]=D.fnc(t)?t:F.apply(u,t)}}(i)),i={type:i.type};return o}(),B={css:function(e,t,n){return e.style[t]=n},attribute:function(e,t,n){return e.setAttribute(t,n)},object:function(e,t,n){return e[t]=n},transform:function(e,t,n,r,o){r[o]||(r[o]=[]),r[o].push(t+"("+n+")")}},q=[],U=0,$=function(){function e(){U=requestAnimationFrame(t)}function t(t){var n=q.length;if(n){for(var r=0;r<n;)q[r]&&q[r].tick(t),r++;e()}else cancelAnimationFrame(U),U=0}return e}();return j.version="2.2.0",j.speed=1,j.running=q,j.remove=function(e){e=C(e);for(var t=q.length;t--;)for(var n=q[t],r=n.animations,i=r.length;i--;)o(e,r[i].animatable.target)&&(r.splice(i,1),r.length||n.pause())},j.getValue=v,j.path=function(t,n){var r=D.str(t)?e(t)[0]:t,o=n||100;return function(e){return{el:r,property:e,totalLength:w(r)*(o/100)}}},j.setDashoffset=function(e){var t=w(e);return e.setAttribute("stroke-dasharray",t),t},j.bezier=F,j.easings=V,j.timeline=function(e){var t=j(e);return t.pause(),t.duration=0,t.add=function(n){return t.children.forEach((function(e){e.began=!0,e.completed=!0})),r(n).forEach((function(n){var r=l(n,a(P,e||{}));r.targets=r.targets||e.targets,n=t.duration;var o=r.offset;r.autoplay=!1,r.direction=t.direction,r.offset=D.und(o)?n:g(o,n),t.began=!0,t.completed=!0,t.seek(r.offset),(r=j(r)).began=!0,r.completed=!0,r.duration>n&&(t.duration=r.duration),t.children.push(r)})),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},j.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},j},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},239:(e,t,n)=>{"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){var t="function"==typeof Map?new Map:void 0;return i=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return a(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),l(r,e)},i(e)}function a(e,t,n){return a=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&l(o,n.prototype),o},a.apply(null,arguments)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var f=new Map,p=function(e,t,n){var r=n.value;if(console.warn("@Bind decorator is deprecated, use arrow function expression"),"function"!=typeof r)throw new Error("@Bind decorator can only be applied to methods not: ".concat(s(r)));var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),o=!1,n},set:function(e){r=e}}},d=function(e){return function(t){setTimeout((function(){customElements.define(e.tagName,t,e.options)}),10);var n=e.tagName.replace(/-([a-z])/g,(function(e){return e[1].toUpperCase()}));window[n.charAt(0).toUpperCase()+n.slice(1)]=t}};function m(e,t){Reflect.get(e,"_dp_"+t)||Reflect.defineProperty(e,"_dp_"+t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(e){this["_"+t+"_value"]=e}}),e["_dp_setters_"+t]||(e["_dp_setters_"+t]=[]);e["_dp_setters_"+t].push((function(e,t){e&&e.renderNow&&e.renderNow()}));Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(n){var r=this;this["_dp_"+t]=n,e["_dp_setters_"+t]&&e["_dp_setters_"+t].forEach((function(e){e(r,n)}))}})}var h,y=n(425);h=document.registerElement,/\{\s*\[native code\]\s*\}/.test(""+h)||y(window,"auto");var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(d,e);var t,n,i,a,s,p=(t=d,n=u(),function(){var e,r=c(t);if(n){var i=c(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return o(this,e)});function d(e){var t,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),t=n=p.call(this,e),n._projector=void 0,e=t,"function"==typeof n.init&&n.init(),o(n,e)}return i=d,(a=[{key:"useInlineStyle",get:function(){var e=document.querySelector("script[src*='/p-elements-core']");return e&&e.src.indexOf("m=l")<0}},{key:"templateFromString",value:function(e){var t=this;this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML="";var n=this.shadowRoot.adoptedStyleSheets&&CSSStyleSheet,r="<style></style>",o=e.match(/<style[^>]*>([\s\S]*?)<\/style>/);if(o)if(r=o[0],f.has(this.tagName))e=this.useInlineStyle?e.replace(o[0],"<style>".concat(f.get(this.tagName),"</style>")):e.replace(o[0],'<link rel="stylesheet" href="'.concat(f.get(this.tagName),'">'));else if(this.useInlineStyle)e=e.replace(o[0],"<style>".concat(o[1],"</style>"));else if(n){e=e.replace(o[0],"");var i=new CSSStyleSheet;i.replaceSync(o[1]),this.shadowRoot.adoptedStyleSheets=[i]}else{var a=new Blob([o[1]],{type:"text/css"});e=e.replace(o[0],'<link rel="stylesheet" href="'.concat(URL.createObjectURL(a),'" data-tmp="true">'))}var u=document.createElement("template");u.innerHTML=e;var l=document.importNode(u.content,!0),c=function(){if(f.has(t.tagName))return f.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent;return f.set(t.tagName,n),n},s=function(){if(f.has(t.tagName))return f.get(t.tagName);var e=document.createElement("template");e.innerHTML=r,window.ShadyCSS.prepareTemplate(e,"x-tmp");var n=e.content.cloneNode(!0).querySelector("style").textContent,o=new Blob([n],{type:"text/css"}),i=URL.createObjectURL(o);return f.set(t.tagName,i),i};return window.addEventListener("customStyleConnected",(function(){setTimeout((function(){if(t.useInlineStyle){var r=t.shadowRoot.querySelector("style");r&&(r.textContent=c())}else if(n){e=e.replace(o[0],"");var i=new CSSStyleSheet;i.replaceSync(c()),t.shadowRoot.adoptedStyleSheets=[i]}else{var a=t.shadowRoot.querySelector("link");a&&(a.hasAttribute("data-tmp")&&(URL.revokeObjectURL(a.href),a.removeAttribute("data-tmp")),a.href=s())}}),300)})),setTimeout((function(){if(t.useInlineStyle){var e=t.shadowRoot.querySelector("style");e&&(e.textContent=c())}else{var n=t.shadowRoot.querySelector("link");n&&(n.hasAttribute("data-tmp")&&(URL.revokeObjectURL(n.href),n.removeAttribute("data-tmp")),n.href=s())}}),100),l}},{key:"createProjector",value:function(e,t){var n=this;return new Promise((function(r,o){var i;setTimeout((function(){(i=window.Maquette.createProjector()).append(e,t),n._projector=i,r(i),n.dispatchEvent(new CustomEvent("firstRender",{}))}),1)}))}},{key:"renderNow",value:function(){this._projector&&this._projector.renderNow()}}])&&r(i.prototype,a),s&&r(i,s),Object.defineProperty(i,"prototype",{writable:!1}),d}(i(HTMLElement));function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function b(e){return function(e){if(Array.isArray(e))return S(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return S(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return S(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t){if(t&&("object"===g(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function C(e){var t="function"==typeof Map?new Map:void 0;return C=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return M(e,arguments,A(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),O(n,e)},C(e)}function M(e,t,n){return M=L()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&O(o,n.prototype),o},M.apply(null,arguments)}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function O(e,t){return O=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},O(e,t)}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&O(e,t)}(u,e);var t,n,r,o,i,a=(t=u,n=L(),function(){var e,r=A(t);if(n){var o=A(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return T(this,e)});function u(){return w(this,u),a.apply(this,arguments)}return r=u,(o=[{key:"connectedCallback",value:function(){var e=this,t=this.getAttribute("href");fetch(t).then((function(t){t.text().then((function(t){var n=document.createElement("style");if(n.textContent=t,window.ShadyCSS.CustomStyleInterface.addCustomStyle(n),window.ShadyCSS.styleSubtree(e),e.useInlineStyle)document.getElementsByTagName("head")[0].appendChild(n);else if(document.adoptedStyleSheets){var r=new CSSStyleSheet;r.replaceSync(n.textContent),document.adoptedStyleSheets=[].concat(b(document.adoptedStyleSheets),[r])}else{var o=new Blob([n.textContent],{type:"text/css"}),i=document.createElement("link");i.rel="stylesheet",i.href=URL.createObjectURL(o),document.getElementsByTagName("head")[0].appendChild(i)}setTimeout((function(){e.dispatchEvent(new CustomEvent("customStyleConnected",{detail:{customStyle:n},bubbles:!0,cancelable:!1}))}),100)}))}))}},{key:"useInlineStyle",get:function(){var e=document.querySelector("script[src*='/p-elements-core']");return e&&e.src.indexOf("m=l")<0}}])&&E(r.prototype,o),i&&E(r,i),Object.defineProperty(r,"prototype",{writable:!1}),u}(C(HTMLLinkElement));window.customElements.define("custom-style",H,{extends:"link"});var x=n(50),N=n(277),_=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,r){if(e)for(var o=0;o<n.length;o++)e[o]!==n[o]&&(t=void 0);return t||(t=r(),e=n),t}}},j=function(e,t,n){var r=[],o=[];return{results:o,map:function(i){for(var a=i.map(e),u=o.slice(),l=0,c=0;c<i.length;c++){var s=i[c],f=a[c];if(f===r[l])o[c]=u[l],n(s,u[l],c),l++;else{for(var p=!1,d=1;d<r.length+1;d++){var m=(l+d)%r.length;if(r[m]===f){o[c]=u[m],n(i[c],u[m],c),l=m+1,p=!0;break}}p||(o[c]=t(s,c))}}o.length=i.length,r=a}}};function I(e){return I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},I(e)}var k="http://www.w3.org/",P=k+"2000/svg",R=k+"1999/xlink",D=[],F=[],V=!1,B=function e(t){var n;(t.children||[]).forEach(e),null!=t&&null!==(n=t.properties)&&void 0!==n&&n.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},q=function(e,t){return e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties)},U=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},$=function(e,t,n){if(""!==t.vnodeSelector)for(var r=n;r<e.length;r++)if(q(e[r],t))return r;return-1},W=function(e,t,n,r){var o=e[t];if(""!==o.vnodeSelector){var i=o.properties;if(!(i?void 0===i.key?i.bind:i.key:void 0))for(var a=0;a<e.length;a++)if(a!==t){var u=e[a];if(q(u,o))throw"added"===r?new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},z=function(e,t){if(e.properties){var n=e.properties.enterAnimation;n&&("function"==typeof n?n(e.domNode,e.properties):t.enter(e.domNode,e.properties,n))}},Z=function(e,t){var n={};return Object.keys(e).forEach((function(t){n[t]=e[t]})),t&&Object.keys(t).forEach((function(e){n[e]=t[e]})),n},K=function(e,t,n){if(function(e,t,n){if(t)for(var r=0;r<t.length;r++)Y(t[r],e,void 0,n)}(e,t.children,n),t.text&&(e.textContent=t.text),t.properties&&t.properties.eventListeners){if(!Array.isArray(t.properties.eventListeners))throw new Error("eventListeners value must be an array");t.properties.eventListeners.forEach((function(t){e.addEventListener(t[0],t[1],t[2])}))}!function(e,t,n){if(t)for(var r=n.eventHandlerInterceptor,o=Object.keys(t),i=o.length,a=function(i){var a,u=o[i],l=t[u];if("className"===u)throw new Error('Property "className" is not supported, use "class".');if("class"===u)!function(e,t,n){t&&t.split(" ").forEach((function(t){t&&e.classList.toggle(t,n)}))}(e,l,!0);else if("classes"===u)for(var c=Object.keys(l),s=c.length,f=0;f<s;f++){var p=c[f];l[p]&&e.classList.add(p)}else if("styles"===u)for(var d=Object.keys(l),m=d.length,h=0;h<m;h++){var y=d[h],v=l[y];v&&(U(v),n.styleApplyer(e,y,v))}else if("key"!==u&&null!=l){var g=I(l);"function"===g?(0===u.lastIndexOf("on",0)&&(r&&(l=r(u,l,e,t)),"oninput"===u&&(a=l,l=function(e){a.apply(this,[e]),e.target["oninput-value"]=e.target.value})),e[u]=l):n.namespace===P?"href"===u?e.setAttributeNS(R,u,l):e.setAttribute(u,l):"string"===g&&"value"!==u&&"innerHTML"!==u?e.setAttribute(u,l):e[u]=l}},u=0;u<i;u++)a(u)}(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])},X=function(e,t){return{update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");te(e,n,t),e=n},domNode:e.domNode}},Y=function(e,t,n,r){var o,i,a,u,l,c=0,s=e.vnodeSelector,f=t.ownerDocument;if(""===s)o=e.domNode=f.createTextNode(e.text),void 0!==n?t.insertBefore(o,n):t.appendChild(o);else{for(i=0;i<=s.length;++i)if(a=s.charAt(i),i===s.length||"."===a||"#"===a){if(u=s.charAt(c-1),l=s.slice(c,i),"."===u)o.classList.add(l);else if("#"===u)o.id=l;else{if("svg"===l&&(r=Z(r,{namespace:P})),void 0!==r.namespace)o=e.domNode=f.createElementNS(r.namespace,l);else{var p=void 0;e.properties&&e.properties.is?function(){var t=document.createElement("div");t.style.display="none",document.body.appendChild(t),t.innerHTML="<".concat(l,' is="').concat(e.properties.is,'"></').concat(l,">"),setTimeout((function(){document.body.removeChild(t)}),10),p=f.createElement(l,{is:e.properties.is})}():p=f.createElement(l),o=e.domNode=e.domNode||p,"input"===l&&e.properties&&void 0!==e.properties.type&&o.setAttribute("type",e.properties.type)}o&&(void 0!==n?t.insertBefore(o,n):o.parentNode!==t&&t.appendChild(o))}c=i+1}K(o,e,r)}},G=function(e,t){var n=e.domNode;if(e.properties){e.properties.eventListeners&&Array.isArray(e.properties.eventListeners)&&e.properties.eventListeners.forEach((function(e){n.removeEventListener(e[0],e[1])}));var r=e.properties.exitAnimation;if(r){n.style.pointerEvents="none";var o=function(){n.parentNode&&(n.parentNode.removeChild(n),Q(e))};return"function"==typeof r?void r(n,o,e.properties):void t.exit(e.domNode,e.properties,r,o)}}n.parentNode&&(n.parentNode.removeChild(n),Q(e))},Q=function(e){F.push(e),V||(V=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(J,{timeout:16}):setTimeout(J,16))},J=function(){V=!1,F.forEach(B),F.length=0},ee=function(e,t,n,r,o){if(n===r)return!1;r=r||D;for(var i,a=(n=n||D).length,u=r.length,l=o.transitions,c=0,s=0,f=!1;s<u;){var p=c<a?n[c]:void 0,d=r[s];if(void 0!==p&&q(p,d))f=te(p,d,o)||f,c++;else{var m=$(n,d,c+1);if(m>=0){for(i=c;i<m;i++)G(n[i],l),W(n,i,e,"removed");f=te(n[m],d,o)||f,c=m+1}else Y(d,t,c<a?n[c].domNode:void 0,o),z(d,l),W(r,s,e,"added")}s++}if(a>c)for(i=c;i<a;i++)G(n[i],l),W(n,i,e,"removed");return f},te=function(e,t,n){var r=e.domNode,o=!1;if(e===t)return!1;var i=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var a=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(a,r),t.domNode=a,o=!0}}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(n=Z(n,{namespace:P})),e.text!==t.text&&(i=!0,void 0===t.text?r.removeChild(r.firstChild):r.textContent=t.text),i=ee(t,r,e.children,t.children,n)||i,i=ne(r,e.properties,t.properties,n)||i,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,n,t.vnodeSelector,t.properties,t.children]);return i&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),t.domNode=e.domNode,o},ne=function(e,t,n,r){if(n){for(var o=!1,i=Object.keys(n),a=i.length,u=0;u<a;u++){var l=i[u],c=n[l],s=t[l];if("class"===l){if(s!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===l)for(var f=e.classList,p=Object.keys(c),d=p.length,m=0;m<d;m++){var h=p[m],y=!!c[h];y!==!!s[h]&&(o=!0,y?f.add(h):f.remove(h))}else if("styles"===l)for(var v=Object.keys(c),g=v.length,b=0;b<g;b++){var S=v[b],w=c[S];w!==s[S]&&(o=!0,w?(U(w),r.styleApplyer(e,S,w)):r.styleApplyer(e,S,""))}else if(c||"string"!=typeof s||(c=""),"value"===l){var E=e[l];E!==c&&(e["oninput-value"]?E===e["oninput-value"]:c!==s)&&(e[l]=c,e["oninput-value"]=void 0),c!==s&&(o=!0)}else if(c!==s){var T=I(c);if("function"===T)throw new Error("Functions may not be updated on subsequent renders (property: "+l+"). Hint: declare event handler functions outside the render() function.");"string"===T&&"innerHTML"!==l?r.namespace===P&&"href"===l?e.setAttributeNS(R,l,c):"role"===l&&""===c?e.removeAttribute(l):e.setAttribute(l,c):e[l]!==c&&(e[l]=c),o=!0}}return o}},re=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},oe={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){e.style[t]=n},transitions:{enter:re,exit:re}},ie=function(e){return Z(oe,e)},ae={create:function(e,t){return t=ie(t),Y(e,document.createElement("div"),void 0,t),X(e,t)},append:function(e,t,n){return n=ie(n),Y(t,e,void 0,n),X(t,n)},insertBefore:function(e,t,n){return n=ie(n),Y(t,e.parentNode,e,n),X(t,n)},merge:function(e,t,n){return n=ie(n),t.domNode=e,K(e,t,n),X(t,n)},replace:function(e,t,n){return n=ie(n),Y(t,e.parentNode,e,n),e.parentNode.removeChild(e),X(t,n)}},ue=function(e){var t,n=ie(e);n.eventHandlerInterceptor=function(e,n,r,o){return function(){return t.scheduleRender(),n.apply(o.bind||this,arguments)}};var r,o=!0,i=!1,a=[],u=[],l=function(){if(r=void 0,o){o=!1;for(var e=0;e<a.length;e++){var t=u[e]();a[e].update(t)}o=!0}};return t={renderNow:l,scheduleRender:function(){r||i||(r=requestAnimationFrame(l))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),i=!0},resume:function(){i=!1,o=!0,t.scheduleRender()},append:function(e,t){a.push(ae.append(e,t(),n)),u.push(t)},insertBefore:function(e,t){a.push(ae.insertBefore(e,t(),n)),u.push(t)},merge:function(e,t){a.push(ae.merge(e,t(),n)),u.push(t)},replace:function(e,t){a.push(ae.replace(e,t(),n)),u.push(t)},detach:function(e){for(var t=0;t<u.length;t++)if(u[t]===e)return u.splice(t,1),a.splice(t,1)[0];throw new Error("renderMaquetteFunction was not found")}}};function le(e){return le="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le(e)}var ce=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},se=function e(t,n,r){for(var o=0,i=n.length;o<i;o++){var a=n[o];Array.isArray(a)?e(t,a,r):null!=a&&(a.hasOwnProperty("vnodeSelector")||(a=ce(a)),r.push(a))}},fe=function(e){var t=arguments[1];if("string"!=typeof e)throw new Error;var n,r,o=1;!t||t.hasOwnProperty("vnodeSelector")||Array.isArray(t)||"object"!==le(t)?t=void 0:o=2;var i=arguments.length;if(i===o+1){var a=arguments[o];"string"==typeof a?n=a:null!=a&&1===a.length&&"string"==typeof a[0]&&(n=a[0])}if(void 0===n)for(r=[];o<i;o++){var u=arguments[o];null==u||(Array.isArray(u)?se(e,u,r):u.hasOwnProperty("vnodeSelector")?r.push(u):r.push(ce(u)))}return{vnodeSelector:e,properties:t,children:r,text:""===n?void 0:n,domNode:null}};!function(e){e._=x,e.Maquette={createCache:_,createMapping:j,createProjector:ue,dom:ae,h:fe},e.h=fe,e.anime=N,e.customElements.whenDefined("custom-style").then((function(){return document.body.parentElement.classList.add("custom-style-defined")})),e.CustomElement=v,e.CustomElementConfig=d,e.CustomStyleElement=H,e.PropertyRenderOnSet=m,e.RenderOnSet=m,e.Bind=p}(window)},765:()=>{
|
|
3
2
|
/*! (C) Andrea Giammarchi - @WebReflection - ISC Style License */
|
|
4
|
-
!function(e,t){"use strict";function n(){var e=C.splice(0,C.length);for(Ze=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)p(e[n],t)}function o(e){return function(t){Pe(t)&&(p(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function s(e){var t=Be.call(e,"is"),n=e.nodeName.toUpperCase(),r=ue.call(ne,t?Q+t.toUpperCase():J+n);return t&&-1<r&&!u(n,t)?-1:r}function u(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function i(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,s=e[K]||2,u=e[G]||3;!tt||o&&o!==t||!t[V]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==s&&n!==u)||t[V](r,n===s?null:e.prevValue,n===u?null:e.newValue)}function d(e){var t=o(e);return function(e){C.push(t,e.target),Ze&&clearTimeout(Ze),Ze=setTimeout(n,1)}}function a(e){et&&(et=!1,e.currentTarget.removeEventListener(X,a)),oe.length&&r((e.target||w).querySelectorAll(oe),e.detail===F?F:I),He&&function(){for(var e,t=0,n=De.length;t<n;t++)e=De[t],se.contains(e)||(n--,De.splice(t--,1),p(e,F))}()}function l(e,t){var n=this;Ue.call(n,e,t),T.call(n,{target:n})}function c(e,t,n){var r=t.apply(e,n),o=s(r);return-1<o&&A(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],A(t,re[s(t)])}(r.querySelectorAll(oe)),r}function f(e,t){xe(e,t),x?x.observe(e,Ke):(Qe&&(e.setAttribute=l,e[P]=M(e),e[D](Y,T)),e[D](Z,i)),e[z]&&tt&&(e.created=!0,e[z](),e.created=!1)}function m(e){throw new Error("A "+e+" type is already registered")}function p(e,t){var n,r,o=s(e);-1<o&&(O(e,re[o]),o=0,t!==I||e[I]?t!==F||e[F]||(e[I]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[I]=!0,r="connected",o=1,He&&ue.call(De,e)<0&&De.push(e)),o&&(n=e[t+R]||e[r+R])&&n.call(e))}function h(){}function v(e,t,n){var r=n&&n[B]||"",o=t.prototype,s=Me(o),u=t.observedAttributes||ce,i={prototype:s};ke(s,z,{value:function(){if(Se)Se=!1;else if(!this[_e]){this[_e]=!0,new t(this),o[z]&&o[z].call(this);var e=Ee[Te.get(t)];(!ge||e.create.length>1)&&g(this)}}}),ke(s,V,{value:function(e){-1<ue.call(u,e)&&o[V]&&o[V].apply(this,arguments)}}),o[U]&&ke(s,q,{value:o[U]}),o[W]&&ke(s,$,{value:o[W]}),r&&(i[B]=r),e=e.toUpperCase(),Ee[e]={constructor:t,create:r?[r,Ne(e)]:[e]},Te.set(t,e),w[k](e.toLowerCase(),i),b(e),Ce[e].r()}function _(e){var t=Ee[e.toUpperCase()];return t&&t.constructor}function y(e){return"string"==typeof e?e:e&&e.is||""}function g(e){for(var t,n=e[V],r=n?e.attributes:ce,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function b(e){return(e=e.toUpperCase())in Ce||(Ce[e]={},Ce[e].p=new we(function(t){Ce[e].r=t})),Ce[e].p}function j(){ye&&delete e.customElements,le(e,"customElements",{configurable:!0,value:new h}),le(e,"CustomElementRegistry",{configurable:!0,value:h});for(var t=E.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[_e]||(Se=!0,t=Ee[Te.get(e.constructor)],(e=(r=ge&&1===t.create.length)?Reflect.construct(n,ce,t.constructor):w.createElement.apply(w,t.create))[_e]=!0,Se=!1,r||g(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){!0,le(n,_e,{value:e[t]})}}}(t[n]));w.createElement=function(e,t){var n=y(t);return n?$e.call(this,e,Ne(n)):$e.call(this,e)},Xe||(Je=!0,w[k](""))}var w=e.document,S=e.Object,E=function(e){var t,n,r,o,s=/^[A-Z]+[a-z]/,u=function(e,t){(t=t.toLowerCase())in i||(i[e]=(i[e]||[]).concat(t),i[t]=i[t.toUpperCase()]=e)},i=(S.create||S)(null),d={};for(n in e)for(o in e[n])for(r=e[n][o],i[o]=r,t=0;t<r.length;t++)i[r[t].toLowerCase()]=i[r[t].toUpperCase()]=o;return d.get=function(e){return"string"==typeof e?i[e]||(s.test(e)?[]:""):function(e){var t,n=[];for(t in i)e.test(t)&&n.push(t);return n}(e)},d.set=function(e,t){return s.test(e)?u(e,t):u(t,e),d},d}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var C,T,N,M,x,L,O,A,H,k="registerElement",P="__"+k+(1e5*e.Math.random()>>0),D="addEventListener",I="attached",R="Callback",F="detached",B="extends",V="attributeChanged"+R,q=I+R,U="connected"+R,W="disconnected"+R,z="created"+R,$=F+R,K="ADDITION",G="REMOVAL",Z="DOMAttrModified",X="DOMContentLoaded",Y="DOMSubtreeModified",J="<",Q="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",se=w.documentElement,ue=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ie=S.prototype,de=ie.hasOwnProperty,ae=ie.isPrototypeOf,le=S.defineProperty,ce=[],fe=S.getOwnPropertyDescriptor,me=S.getOwnPropertyNames,pe=S.getPrototypeOf,he=S.setPrototypeOf,ve=!!S.__proto__,_e="__dreCEv1",ye=e.customElements,ge=!/^force/.test(t.type)&&!!(ye&&ye.define&&ye.get&&ye.whenDefined),be=S.create||S,je=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ue.call(t,e)]},set:function(r,o){(e=ue.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},we=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Se=!1,Ee=be(null),Ce=be(null),Te=new je,Ne=function(e){return e.toLowerCase()},Me=S.create||function e(t){return t?(e.prototype=t,new e):this},xe=he||(ve?function(e,t){return e.__proto__=t,e}:me&&fe?function(){function e(e,t){for(var n,r=me(t),o=0,s=r.length;o<s;o++)n=r[o],de.call(e,n)||le(e,n,fe(t,n))}return function(t,n){do{e(t,n)}while((n=pe(n))&&!ae.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),Le=e.MutationObserver||e.WebKitMutationObserver,Oe=e.HTMLAnchorElement,Ae=(e.HTMLElement||e.Element||e.Node).prototype,He=!ae.call(Ae,se),ke=He?function(e,t,n){return e[t]=n.value,e}:le,Pe=He?function(e){return 1===e.nodeType}:function(e){return ae.call(Ae,e)},De=He&&[],Ie=Ae.attachShadow,Re=Ae.cloneNode,Fe=Ae.dispatchEvent,Be=Ae.getAttribute,Ve=Ae.hasAttribute,qe=Ae.removeAttribute,Ue=Ae.setAttribute,We=w.createElement,ze=w.importNode,$e=We,Ke=Le&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ge=Le||function(e){Qe=!1,se.removeEventListener(Z,Ge)},Ze=0,Xe=k in w&&!/^force-all/.test(t.type),Ye=!0,Je=!1,Qe=!0,et=!0,tt=!0;if(Le&&((H=w.createElement("div")).innerHTML="<div><div></div></div>",new Le(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(H=fe(Ae,"innerHTML"))&&H.set;n&&le(Ae,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),H=null}).observe(H,{childList:!0,subtree:!0}),H.innerHTML=""),Xe||(he||ve?(O=function(e,t){ae.call(t,e)||f(e,t)},A=f):A=O=function(e,t){e[P]||(e[P]=S(!0),f(e,t))},He?(Qe=!1,function(){var e=fe(Ae,D),t=e.value,n=function(e){var t=new CustomEvent(Z,{bubbles:!0});t.attrName=e,t.prevValue=Be.call(this,e),t.newValue=null,t[G]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Ve.call(this,e),r=n&&Be.call(this,e),o=new CustomEvent(Z,{bubbles:!0});Ue.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[K]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[P],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(Z,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[K]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,s,u){e===Z&&this[V]&&this.setAttribute!==r&&(this[P]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,s,u)},le(Ae,D,e)}()):Le||(se[D](Z,Ge),se.setAttribute(P,1),se.removeAttribute(P),Qe&&(T=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[P],o[P]=n=M(o),n){if(!(r in t))return N(0,o,r,t[r],n[r],K);if(n[r]!==t[r])return N(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return N(2,o,r,t[r],n[r],G)}},N=function(e,t,n,r,o,s){var u={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};u[s]=e,i(u)},M=function(e){for(var t,n,r={},o=e.attributes,s=0,u=o.length;s<u;s++)"setAttribute"!==(n=(t=o[s]).name)&&(r[n]=t.value);return r})),w[k]=function(e,t){if(n=e.toUpperCase(),Ye&&(Ye=!1,Le?(x=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new Le(function(r){for(var o,s,u,i=0,d=r.length;i<d;i++)"childList"===(o=r[i]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(s=o.target,tt&&s[V]&&"style"!==o.attributeName&&(u=Be.call(s,o.attributeName))!==o.oldValue&&s[V](o.attributeName,o.oldValue,u))})}(o(I),o(F)),(L=function(e){return x.observe(e,{childList:!0,subtree:!0}),e})(w),Ie&&(Ae.attachShadow=function(){return L(Ie.apply(this,arguments))})):(C=[],w[D]("DOMNodeInserted",d(I)),w[D]("DOMNodeRemoved",d(F))),w[D](X,a),w[D]("readystatechange",a),w.importNode=function(e,t){switch(e.nodeType){case 1:return c(w,ze,[e,!!t]);case 11:for(var n=w.createDocumentFragment(),r=e.childNodes,o=r.length,s=0;s<o;s++)n.appendChild(w.importNode(r[s],!!t));return n;default:return Re.call(e,!!t)}},Ae.cloneNode=function(e){return c(this,Re,[!!e])}),Je)return Je=!1;if(-2<ue.call(ne,Q+n)+ue.call(ne,J+n)&&m(e),!ee.test(n)||-1<ue.call(te,n))throw new Error("The type "+e+" is invalid");var n,s,u=function(){return l?w.createElement(f,n):w.createElement(f)},i=t||ie,l=de.call(i,B),f=l?t[B].toUpperCase():n;return l&&-1<ue.call(ne,J+f)&&m(f),s=ne.push((l?Q:J)+n)-1,oe=oe.concat(oe.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),u.prototype=re[s]=de.call(i,"prototype")?i.prototype:Me(Ae),oe.length&&r(w.querySelectorAll(oe),I),u},w.createElement=$e=function(e,t){var n=y(t),r=n?We.call(w,e,Ne(n)):We.call(w,e),o=""+e,s=ue.call(ne,(n?Q:J)+(n||o).toUpperCase()),i=-1<s;return n&&(r.setAttribute("is",n=n.toLowerCase()),i&&(i=u(o.toUpperCase(),n))),tt=!w.createElement.innerHTMLHelper,i&&A(r,re[s]),r}),h.prototype={constructor:h,define:ge?function(e,t,n){if(n)v(e,t,n);else{var r=e.toUpperCase();Ee[r]={constructor:t,create:[r]},Te.set(t,r),ye.define(e,t)}}:v,get:ge?function(e){return ye.get(e)||_(e)}:_,whenDefined:ge?function(e){return we.race([ye.whenDefined(e),b(e)])}:b},!ye||/^force/.test(t.type))j();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[B]="a",(t.prototype=Me(Oe.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(w.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}(function e(){return Reflect.construct(Oe,[],e)},{},"document-register-element-a")}catch(e){j()}if(!t.noBuiltIn)try{if(We.call(w,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){Ne=function(e){return{is:e.toLowerCase()}}}}(window)},"../node_modules/document-register-element/pony/index.js":function(e,t){e.exports=
|
|
3
|
+
!function(e,t){"use strict";function n(){var e=M.splice(0,M.length);for(Xe=0;e.length;)e.shift().call(null,e.shift())}function r(e,t){for(var n=0,r=e.length;n<r;n++)m(e[n],t)}function o(e){return function(t){ke(t)&&(m(t,e),oe.length&&r(t.querySelectorAll(oe),e))}}function i(e){var t=Ve.call(e,"is"),n=e.nodeName.toUpperCase(),r=ae.call(ne,t?J+t.toUpperCase():Q+n);return t&&-1<r&&!a(n,t)?-1:r}function a(e,t){return-1<oe.indexOf(e+'[is="'+t+'"]')}function u(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e[Z]||2,a=e[K]||3;!tt||o&&o!==t||!t[B]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t[B](r,n===i?null:e.prevValue,n===a?null:e.newValue)}function l(e){var t=o(e);return function(e){M.push(t,e.target),Xe&&clearTimeout(Xe),Xe=setTimeout(n,1)}}function c(e){et&&(et=!1,e.currentTarget.removeEventListener(Y,c)),oe.length&&r((e.target||E).querySelectorAll(oe),e.detail===F?F:R),je&&function(){for(var e,t=0,n=Pe.length;t<n;t++)e=Pe[t],ie.contains(e)||(n--,Pe.splice(t--,1),m(e,F))}()}function s(e,t){var n=this;Ue.call(n,e,t),L.call(n,{target:n})}function f(e,t,n){var r=t.apply(e,n),o=i(r);return-1<o&&_(r,re[o]),n.pop()&&oe.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],_(t,re[i(t)])}(r.querySelectorAll(oe)),r}function p(e,t){He(e,t),H?H.observe(e,Ze):(Je&&(e.setAttribute=s,e[k]=A(e),e[P](G,L)),e[P](X,u)),e[W]&&tt&&(e.created=!0,e[W](),e.created=!1)}function d(e){throw new Error("A "+e+" type is already registered")}function m(e,t){var n,r,o=i(e);-1<o&&(N(e,re[o]),o=0,t!==R||e[R]?t!==F||e[F]||(e[R]=!1,e[F]=!0,r="disconnected",o=1):(e[F]=!1,e[R]=!0,r="connected",o=1,je&&ae.call(Pe,e)<0&&Pe.push(e)),o&&(n=e[t+D]||e[r+D])&&n.call(e))}function h(){}function y(e,t,n){var r=n&&n[V]||"",o=t.prototype,i=Ae(o),a=t.observedAttributes||fe,u={prototype:i};Ie(i,W,{value:function(){if(Te)Te=!1;else if(!this[ve]){this[ve]=!0,new t(this),o[W]&&o[W].call(this);var e=Ce[Le.get(t)];(!be||e.create.length>1)&&b(this)}}}),Ie(i,B,{value:function(e){-1<ae.call(a,e)&&o[B]&&o[B].apply(this,arguments)}}),o[U]&&Ie(i,q,{value:o[U]}),o[$]&&Ie(i,z,{value:o[$]}),r&&(u[V]=r),e=e.toUpperCase(),Ce[e]={constructor:t,create:r?[r,Oe(e)]:[e]},Le.set(t,e),E[I](e.toLowerCase(),u),S(e),Me[e].r()}function v(e){var t=Ce[e.toUpperCase()];return t&&t.constructor}function g(e){return"string"==typeof e?e:e&&e.is||""}function b(e){for(var t,n=e[B],r=n?e.attributes:fe,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function S(e){return(e=e.toUpperCase())in Me||(Me[e]={},Me[e].p=new Ee((function(t){Me[e].r=t}))),Me[e].p}function w(){ge&&delete e.customElements,se(e,"customElements",{configurable:!0,value:new h}),se(e,"CustomElementRegistry",{configurable:!0,value:h});for(var t=C.get(/^HTML[A-Z]*[a-z]/),n=t.length;n--;function(t){var n=e[t];if(n){e[t]=function(e){var t,r;return e||(e=this),e[ve]||(Te=!0,t=Ce[Le.get(e.constructor)],(e=(r=be&&1===t.create.length)?Reflect.construct(n,fe,t.constructor):E.createElement.apply(E,t.create))[ve]=!0,Te=!1,r||b(e)),e},e[t].prototype=n.prototype;try{n.prototype.constructor=e[t]}catch(r){!0,se(n,ve,{value:e[t]})}}}(t[n]));E.createElement=function(e,t){var n=g(t);return n?ze.call(this,e,Oe(n)):ze.call(this,e)},Ye||(Qe=!0,E[I](""))}var E=e.document,T=e.Object,C=function(e){var t,n,r,o,i=/^[A-Z]+[a-z]/,a=function(e,t){(t=t.toLowerCase())in u||(u[e]=(u[e]||[]).concat(t),u[t]=u[t.toUpperCase()]=e)},u=(T.create||T)(null),l={};for(n in e)for(o in e[n])for(r=e[n][o],u[o]=r,t=0;t<r.length;t++)u[r[t].toLowerCase()]=u[r[t].toUpperCase()]=o;return l.get=function(e){return"string"==typeof e?u[e]||(i.test(e)?[]:""):function(e){var t,n=[];for(t in u)e.test(t)&&n.push(t);return n}(e)},l.set=function(e,t){return i.test(e)?a(e,t):a(t,e),l},l}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var M,L,O,A,H,x,N,_,j,I="registerElement",k="__"+I+(1e5*e.Math.random()>>0),P="addEventListener",R="attached",D="Callback",F="detached",V="extends",B="attributeChanged"+D,q=R+D,U="connected"+D,$="disconnected"+D,W="created"+D,z=F+D,Z="ADDITION",K="REMOVAL",X="DOMAttrModified",Y="DOMContentLoaded",G="DOMSubtreeModified",Q="<",J="=",ee=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,te=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],ne=[],re=[],oe="",ie=E.documentElement,ae=ne.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ue=T.prototype,le=ue.hasOwnProperty,ce=ue.isPrototypeOf,se=T.defineProperty,fe=[],pe=T.getOwnPropertyDescriptor,de=T.getOwnPropertyNames,me=T.getPrototypeOf,he=T.setPrototypeOf,ye=!!T.__proto__,ve="__dreCEv1",ge=e.customElements,be=!/^force/.test(t.type)&&!!(ge&&ge.define&&ge.get&&ge.whenDefined),Se=T.create||T,we=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[ae.call(t,e)]},set:function(r,o){(e=ae.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Ee=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,o={catch:function(){return o},then:function(e){return n.push(e),r&&setTimeout(t,1),o}};return e(t),o},Te=!1,Ce=Se(null),Me=Se(null),Le=new we,Oe=function(e){return e.toLowerCase()},Ae=T.create||function e(t){return t?(e.prototype=t,new e):this},He=he||(ye?function(e,t){return e.__proto__=t,e}:de&&pe?function(){function e(e,t){for(var n,r=de(t),o=0,i=r.length;o<i;o++)n=r[o],le.call(e,n)||se(e,n,pe(t,n))}return function(t,n){do{e(t,n)}while((n=me(n))&&!ce.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),xe=e.MutationObserver||e.WebKitMutationObserver,Ne=e.HTMLAnchorElement,_e=(e.HTMLElement||e.Element||e.Node).prototype,je=!ce.call(_e,ie),Ie=je?function(e,t,n){return e[t]=n.value,e}:se,ke=je?function(e){return 1===e.nodeType}:function(e){return ce.call(_e,e)},Pe=je&&[],Re=_e.attachShadow,De=_e.cloneNode,Fe=_e.dispatchEvent,Ve=_e.getAttribute,Be=_e.hasAttribute,qe=_e.removeAttribute,Ue=_e.setAttribute,$e=E.createElement,We=E.importNode,ze=$e,Ze=xe&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ke=xe||function(e){Je=!1,ie.removeEventListener(X,Ke)},Xe=0,Ye=I in E&&!/^force-all/.test(t.type),Ge=!0,Qe=!1,Je=!0,et=!0,tt=!0;if(xe&&((j=E.createElement("div")).innerHTML="<div><div></div></div>",new xe((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(j=pe(_e,"innerHTML"))&&j.set;n&&se(_e,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),j=null})).observe(j,{childList:!0,subtree:!0}),j.innerHTML=""),Ye||(he||ye?(N=function(e,t){ce.call(t,e)||p(e,t)},_=p):(N=function(e,t){e[k]||(e[k]=T(!0),p(e,t))},_=N),je?(Je=!1,function(){var e=pe(_e,P),t=e.value,n=function(e){var t=new CustomEvent(X,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[K]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},r=function(e,t){var n=Be.call(this,e),r=n&&Ve.call(this,e),o=new CustomEvent(X,{bubbles:!0});Ue.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[Z]=o.attrChange=0,Fe.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[k],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(X,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[Z]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,i,a){e===X&&this[B]&&this.setAttribute!==r&&(this[k]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},se(_e,P,e)}()):xe||(ie[P](X,Ke),ie.setAttribute(k,1),ie.removeAttribute(k),Je&&(L=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[k],o[k]=n=A(o),n){if(!(r in t))return O(0,o,r,t[r],n[r],Z);if(n[r]!==t[r])return O(1,o,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return O(2,o,r,t[r],n[r],K)}},O=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,u(a)},A=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),E[I]=function(e,t){if(n=e.toUpperCase(),Ge&&(Ge=!1,xe?(H=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new xe((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,tt&&i[B]&&"style"!==o.attributeName&&(a=Ve.call(i,o.attributeName))!==o.oldValue&&i[B](o.attributeName,o.oldValue,a))}))}(o(R),o(F)),x=function(e){return H.observe(e,{childList:!0,subtree:!0}),e},x(E),Re&&(_e.attachShadow=function(){return x(Re.apply(this,arguments))})):(M=[],E[P]("DOMNodeInserted",l(R)),E[P]("DOMNodeRemoved",l(F))),E[P](Y,c),E[P]("readystatechange",c),E.importNode=function(e,t){switch(e.nodeType){case 1:return f(E,We,[e,!!t]);case 11:for(var n=E.createDocumentFragment(),r=e.childNodes,o=r.length,i=0;i<o;i++)n.appendChild(E.importNode(r[i],!!t));return n;default:return De.call(e,!!t)}},_e.cloneNode=function(e){return f(this,De,[!!e])}),Qe)return Qe=!1;if(-2<ae.call(ne,J+n)+ae.call(ne,Q+n)&&d(e),!ee.test(n)||-1<ae.call(te,n))throw new Error("The type "+e+" is invalid");var n,i,a=function(){return s?E.createElement(p,n):E.createElement(p)},u=t||ue,s=le.call(u,V),p=s?t[V].toUpperCase():n;return s&&-1<ae.call(ne,Q+p)&&d(p),i=ne.push((s?J:Q)+n)-1,oe=oe.concat(oe.length?",":"",s?p+'[is="'+e.toLowerCase()+'"]':p),a.prototype=re[i]=le.call(u,"prototype")?u.prototype:Ae(_e),oe.length&&r(E.querySelectorAll(oe),R),a},E.createElement=ze=function(e,t){var n=g(t),r=n?$e.call(E,e,Oe(n)):$e.call(E,e),o=""+e,i=ae.call(ne,(n?J:Q)+(n||o).toUpperCase()),u=-1<i;return n&&(r.setAttribute("is",n=n.toLowerCase()),u&&(u=a(o.toUpperCase(),n))),tt=!E.createElement.innerHTMLHelper,u&&_(r,re[i]),r}),h.prototype={constructor:h,define:be?function(e,t,n){if(n)y(e,t,n);else{var r=e.toUpperCase();Ce[r]={constructor:t,create:[r]},Le.set(t,r),ge.define(e,t)}}:y,get:be?function(e){return ge.get(e)||v(e)}:v,whenDefined:be?function(e){return Ee.race([ge.whenDefined(e),S(e)])}:S},!ge||/^force/.test(t.type))w();else if(!t.noBuiltIn)try{!function(t,n,r){var o=new RegExp("^<a\\s+is=('|\")"+r+"\\1></a>$");if(n[V]="a",(t.prototype=Ae(Ne.prototype)).constructor=t,e.customElements.define(r,t,n),!o.test(E.createElement("a",{is:r}).outerHTML)||!o.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ne,[],e)}),{},"document-register-element-a")}catch(e){w()}if(!t.noBuiltIn)try{if($e.call(E,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){Oe=function(e){return{is:e.toLowerCase()}}}}(window)},425:e=>{e.exports=
|
|
5
4
|
/*!
|
|
6
5
|
ISC License
|
|
7
6
|
|
|
@@ -20,4 +19,4 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
20
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
21
20
|
|
|
22
21
|
*/
|
|
23
|
-
function(e,t){"use strict";var n=e.document,r=e.Object,o=function(e){var t,n,o,s,u=/^[A-Z]+[a-z]/,i=function(e,t){(t=t.toLowerCase())in d||(d[e]=(d[e]||[]).concat(t),d[t]=d[t.toUpperCase()]=e)},d=(r.create||r)(null),a={};for(n in e)for(s in e[n])for(o=e[n][s],d[s]=o,t=0;t<o.length;t++)d[o[t].toLowerCase()]=d[o[t].toUpperCase()]=s;return a.get=function(e){return"string"==typeof e?d[e]||(u.test(e)?[]:""):function(e){var t,n=[];for(t in d)e.test(t)&&n.push(t);return n}(e)},a.set=function(e,t){return u.test(e)?i(e,t):i(t,e),a},a}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var s,u,i,d,a,l,c,f,m,p="registerElement",h="__"+p+(1e5*e.Math.random()>>0),v="addEventListener",_="attached",y="Callback",g="detached",b="extends",j="attributeChanged"+y,w=_+y,S="connected"+y,E="disconnected"+y,C="created"+y,T=g+y,N="ADDITION",M="REMOVAL",x="DOMAttrModified",L="DOMContentLoaded",O="DOMSubtreeModified",A="<",H="=",k=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,P=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],D=[],I=[],R="",F=n.documentElement,B=D.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},V=r.prototype,q=V.hasOwnProperty,U=V.isPrototypeOf,W=r.defineProperty,z=[],$=r.getOwnPropertyDescriptor,K=r.getOwnPropertyNames,G=r.getPrototypeOf,Z=r.setPrototypeOf,X=!!r.__proto__,Y="__dreCEv1",J=e.customElements,Q=!/^force/.test(t.type)&&!!(J&&J.define&&J.get&&J.whenDefined),ee=r.create||r,te=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[B.call(t,e)]},set:function(r,o){(e=B.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},ne=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},re=!1,oe=ee(null),se=ee(null),ue=new te,ie=function(e){return e.toLowerCase()},de=r.create||function e(t){return t?(e.prototype=t,new e):this},ae=Z||(X?function(e,t){return e.__proto__=t,e}:K&&$?function(){function e(e,t){for(var n,r=K(t),o=0,s=r.length;o<s;o++)n=r[o],q.call(e,n)||W(e,n,$(t,n))}return function(t,n){do{e(t,n)}while((n=G(n))&&!U.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),le=e.MutationObserver||e.WebKitMutationObserver,ce=e.HTMLAnchorElement,fe=(e.HTMLElement||e.Element||e.Node).prototype,me=!U.call(fe,F),pe=me?function(e,t,n){return e[t]=n.value,e}:W,he=me?function(e){return 1===e.nodeType}:function(e){return U.call(fe,e)},ve=me&&[],_e=fe.attachShadow,ye=fe.cloneNode,ge=fe.dispatchEvent,be=fe.getAttribute,je=fe.hasAttribute,we=fe.removeAttribute,Se=fe.setAttribute,Ee=n.createElement,Ce=n.importNode,Te=Ee,Ne=le&&{attributes:!0,characterData:!0,attributeOldValue:!0},Me=le||function(e){He=!1,F.removeEventListener(x,Me)},xe=0,Le=p in n&&!/^force-all/.test(t.type),Oe=!0,Ae=!1,He=!0,ke=!0,Pe=!0;function De(){var e=s.splice(0,s.length);for(xe=0;e.length;)e.shift().call(null,e.shift())}function Ie(e,t){for(var n=0,r=e.length;n<r;n++)Ge(e[n],t)}function Re(e){return function(t){he(t)&&(Ge(t,e),R.length&&Ie(t.querySelectorAll(R),e))}}function Fe(e){var t=be.call(e,"is"),n=e.nodeName.toUpperCase(),r=B.call(D,t?H+t.toUpperCase():A+n);return t&&-1<r&&!Be(n,t)?-1:r}function Be(e,t){return-1<R.indexOf(e+'[is="'+t+'"]')}function Ve(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,s=e[N]||2,u=e[M]||3;!Pe||o&&o!==t||!t[j]||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==s&&n!==u)||t[j](r,n===s?null:e.prevValue,n===u?null:e.newValue)}function qe(e){var t=Re(e);return function(e){s.push(t,e.target),xe&&clearTimeout(xe),xe=setTimeout(De,1)}}function Ue(e){ke&&(ke=!1,e.currentTarget.removeEventListener(L,Ue)),R.length&&Ie((e.target||n).querySelectorAll(R),e.detail===g?g:_),me&&function(){for(var e,t=0,n=ve.length;t<n;t++)e=ve[t],F.contains(e)||(n--,ve.splice(t--,1),Ge(e,g))}()}function We(e,t){Se.call(this,e,t),u.call(this,{target:this})}function ze(e,t,n){var r=t.apply(e,n),o=Fe(r);return-1<o&&f(r,I[o]),n.pop()&&R.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],f(t,I[Fe(t)])}(r.querySelectorAll(R)),r}function $e(e,t){ae(e,t),a?a.observe(e,Ne):(He&&(e.setAttribute=We,e[h]=d(e),e[v](O,u)),e[v](x,Ve)),e[C]&&Pe&&(e.created=!0,e[C](),e.created=!1)}function Ke(e){throw new Error("A "+e+" type is already registered")}function Ge(e,t){var n,r,o=Fe(e);-1<o&&(c(e,I[o]),o=0,t!==_||e[_]?t!==g||e[g]||(e[_]=!1,e[g]=!0,r="disconnected",o=1):(e[g]=!1,e[_]=!0,r="connected",o=1,me&&B.call(ve,e)<0&&ve.push(e)),o&&(n=e[t+y]||e[r+y])&&n.call(e))}function Ze(){}function Xe(e,t,r){var o=r&&r[b]||"",s=t.prototype,u=de(s),i=t.observedAttributes||z,d={prototype:u};pe(u,C,{value:function(){if(re)re=!1;else if(!this[Y]){this[Y]=!0,new t(this),s[C]&&s[C].call(this);var e=oe[ue.get(t)];(!Q||e.create.length>1)&&Qe(this)}}}),pe(u,j,{value:function(e){-1<B.call(i,e)&&s[j]&&s[j].apply(this,arguments)}}),s[S]&&pe(u,w,{value:s[S]}),s[E]&&pe(u,T,{value:s[E]}),o&&(d[b]=o),e=e.toUpperCase(),oe[e]={constructor:t,create:o?[o,ie(e)]:[e]},ue.set(t,e),n[p](e.toLowerCase(),d),et(e),se[e].r()}function Ye(e){var t=oe[e.toUpperCase()];return t&&t.constructor}function Je(e){return"string"==typeof e?e:e&&e.is||""}function Qe(e){for(var t,n=e[j],r=n?e.attributes:z,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function et(e){return(e=e.toUpperCase())in se||(se[e]={},se[e].p=new ne(function(t){se[e].r=t})),se[e].p}function tt(){J&&delete e.customElements,W(e,"customElements",{configurable:!0,value:new Ze}),W(e,"CustomElementRegistry",{configurable:!0,value:Ze});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[Y]||(re=!0,t=oe[ue.get(e.constructor)],(e=(o=Q&&1===t.create.length)?Reflect.construct(r,z,t.constructor):n.createElement.apply(n,t.create))[Y]=!0,re=!1,o||Qe(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){W(r,Y,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),s=r.length;s--;t(r[s]));n.createElement=function(e,t){var n=Je(t);return n?Te.call(this,e,ie(n)):Te.call(this,e)},Le||(Ae=!0,n[p](""))}if(le&&((m=n.createElement("div")).innerHTML="<div><div></div></div>",new le(function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(m=$(fe,"innerHTML"))&&m.set;n&&W(fe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),m=null}).observe(m,{childList:!0,subtree:!0}),m.innerHTML=""),Le||(Z||X?(c=function(e,t){U.call(t,e)||$e(e,t)},f=$e):f=c=function(e,t){e[h]||(e[h]=r(!0),$e(e,t))},me?(He=!1,function(){var e=$(fe,v),t=e.value,n=function(e){var t=new CustomEvent(x,{bubbles:!0});t.attrName=e,t.prevValue=be.call(this,e),t.newValue=null,t[M]=t.attrChange=2,we.call(this,e),ge.call(this,t)},r=function(e,t){var n=je.call(this,e),r=n&&be.call(this,e),o=new CustomEvent(x,{bubbles:!0});Se.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o[N]=o.attrChange=0,ge.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(x,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t[N]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,ge.call(n,t))};e.value=function(e,s,u){e===x&&this[j]&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,s,u)},W(fe,v,e)}()):le||(F[v](x,Me),F.setAttribute(h,1),F.removeAttribute(h),He&&(u=function(e){var t,n,r;if(this===e.target){for(r in t=this[h],this[h]=n=d(this),n){if(!(r in t))return i(0,this,r,t[r],n[r],N);if(n[r]!==t[r])return i(1,this,r,t[r],n[r],"MODIFICATION")}for(r in t)if(!(r in n))return i(2,this,r,t[r],n[r],M)}},i=function(e,t,n,r,o,s){var u={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};u[s]=e,Ve(u)},d=function(e){for(var t,n,r={},o=e.attributes,s=0,u=o.length;s<u;s++)"setAttribute"!==(n=(t=o[s]).name)&&(r[n]=t.value);return r})),n[p]=function(e,t){if(r=e.toUpperCase(),Oe&&(Oe=!1,le?(a=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new le(function(r){for(var o,s,u,i=0,d=r.length;i<d;i++)"childList"===(o=r[i]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(s=o.target,Pe&&s[j]&&"style"!==o.attributeName&&(u=be.call(s,o.attributeName))!==o.oldValue&&s[j](o.attributeName,o.oldValue,u))})}(Re(_),Re(g)),(l=function(e){return a.observe(e,{childList:!0,subtree:!0}),e})(n),_e&&(fe.attachShadow=function(){return l(_e.apply(this,arguments))})):(s=[],n[v]("DOMNodeInserted",qe(_)),n[v]("DOMNodeRemoved",qe(g))),n[v](L,Ue),n[v]("readystatechange",Ue),n.importNode=function(e,t){switch(e.nodeType){case 1:return ze(n,Ce,[e,!!t]);case 11:for(var r=n.createDocumentFragment(),o=e.childNodes,s=o.length,u=0;u<s;u++)r.appendChild(n.importNode(o[u],!!t));return r;default:return ye.call(e,!!t)}},fe.cloneNode=function(e){return ze(this,ye,[!!e])}),Ae)return Ae=!1;if(-2<B.call(D,H+r)+B.call(D,A+r)&&Ke(e),!k.test(r)||-1<B.call(P,r))throw new Error("The type "+e+" is invalid");var r,o,u=function(){return d?n.createElement(c,r):n.createElement(c)},i=t||V,d=q.call(i,b),c=d?t[b].toUpperCase():r;return d&&-1<B.call(D,A+c)&&Ke(c),o=D.push((d?H:A)+r)-1,R=R.concat(R.length?",":"",d?c+'[is="'+e.toLowerCase()+'"]':c),u.prototype=I[o]=q.call(i,"prototype")?i.prototype:de(fe),R.length&&Ie(n.querySelectorAll(R),_),u},n.createElement=Te=function(e,t){var r=Je(t),o=r?Ee.call(n,e,ie(r)):Ee.call(n,e),s=""+e,u=B.call(D,(r?H:A)+(r||s).toUpperCase()),i=-1<u;return r&&(o.setAttribute("is",r=r.toLowerCase()),i&&(i=Be(s.toUpperCase(),r))),Pe=!n.createElement.innerHTMLHelper,i&&f(o,I[u]),o}),Ze.prototype={constructor:Ze,define:Q?function(e,t,n){if(n)Xe(e,t,n);else{var r=e.toUpperCase();oe[r]={constructor:t,create:[r]},ue.set(t,r),J.define(e,t)}}:Xe,get:Q?function(e){return J.get(e)||Ye(e)}:Ye,whenDefined:Q?function(e){return ne.race([J.whenDefined(e),et(e)])}:et},!J||/^force/.test(t.type))tt();else if(!t.noBuiltIn)try{!function(t,r,o){var s=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r[b]="a",(t.prototype=de(ce.prototype)).constructor=t,e.customElements.define(o,t,r),!s.test(n.createElement("a",{is:o}).outerHTML)||!s.test((new t).outerHTML))throw r}(function e(){return Reflect.construct(ce,[],e)},{},"document-register-element-a")}catch(e){tt()}if(!t.noBuiltIn)try{if(Ee.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){ie=function(e){return{is:e.toLowerCase()}}}}},"../node_modules/underscore/modules/_baseCreate.js":function(e,t,n){"use strict";t.a=function(e){if(!n.i(r.a)(e))return{};if(o.g)return n.i(o.g)(e);var t=function(){};t.prototype=e;var s=new t;return t.prototype=null,s};var r=n("../node_modules/underscore/modules/isObject.js"),o=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/_baseIteratee.js":function(e,t,n){"use strict";t.a=function(e,t,l){return null==e?r.a:n.i(o.a)(e)?n.i(a.a)(e,t,l):n.i(s.a)(e)&&!n.i(u.a)(e)?n.i(i.a)(e):n.i(d.a)(e)};var r=n("../node_modules/underscore/modules/identity.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/isObject.js"),u=n("../node_modules/underscore/modules/isArray.js"),i=n("../node_modules/underscore/modules/matcher.js"),d=n("../node_modules/underscore/modules/property.js"),a=n("../node_modules/underscore/modules/_optimizeCb.js")},"../node_modules/underscore/modules/_cb.js":function(e,t,n){"use strict";t.a=function(e,t,u){return r.a.iteratee!==s.a?r.a.iteratee(e,t):n.i(o.a)(e,t,u)};var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/_baseIteratee.js"),s=n("../node_modules/underscore/modules/iteratee.js")},"../node_modules/underscore/modules/_chainResult.js":function(e,t,n){"use strict";t.a=function(e,t){return e._chain?n.i(r.a)(t).chain():t};var r=n("../node_modules/underscore/modules/underscore.js")},"../node_modules/underscore/modules/_collectNonEnumProps.js":function(e,t,n){"use strict";t.a=function(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var u=r.i.length,i=e.constructor,d=n.i(o.a)(i)&&i.prototype||r.j,a="constructor";n.i(s.a)(e,a)&&!t.contains(a)&&t.push(a);for(;u--;)(a=r.i[u])in e&&e[a]!==d[a]&&!t.contains(a)&&t.push(a)};var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/_has.js")},"../node_modules/underscore/modules/_createAssigner.js":function(e,t,n){"use strict";t.a=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var s=arguments[o],u=e(s),i=u.length,d=0;d<i;d++){var a=u[d];t&&void 0!==n[a]||(n[a]=s[a])}return n}}},"../node_modules/underscore/modules/_createEscaper.js":function(e,t,n){"use strict";t.a=function(e){var t=function(t){return e[t]},o="(?:"+n.i(r.a)(e).join("|")+")",s=RegExp(o),u=RegExp(o,"g");return function(e){return e=null==e?"":""+e,s.test(e)?e.replace(u,t):e}};var r=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/_createIndexFinder.js":function(e,t,n){"use strict";t.a=function(e,t,u){return function(i,d,a){var l=0,c=n.i(r.a)(i);if("number"==typeof a)e>0?l=a>=0?a:Math.max(a+c,l):c=a>=0?Math.min(a+1,c):a+c+1;else if(u&&a&&c)return a=u(i,d),i[a]===d?a:-1;if(d!=d)return(a=t(o.d.call(i,l,c),s.a))>=0?a+l:-1;for(a=e>0?l:c-1;a>=0&&a<c;a+=e)if(i[a]===d)return a;return-1}};var r=n("../node_modules/underscore/modules/_getLength.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n("../node_modules/underscore/modules/isNaN.js")},"../node_modules/underscore/modules/_createPredicateIndexFinder.js":function(e,t,n){"use strict";t.a=function(e){return function(t,s,u){s=n.i(r.a)(s,u);for(var i=n.i(o.a)(t),d=e>0?0:i-1;d>=0&&d<i;d+=e)if(s(t[d],d,t))return d;return-1}};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/_getLength.js")},"../node_modules/underscore/modules/_createReduce.js":function(e,t,n){"use strict";t.a=function(e){return function(t,u,i,d){var a=arguments.length>=3;return function(t,s,u,i){var d=!n.i(r.a)(t)&&n.i(o.a)(t),a=(d||t).length,l=e>0?0:a-1;i||(u=t[d?d[l]:l],l+=e);for(;l>=0&&l<a;l+=e){var c=d?d[l]:l;u=s(u,t[c],c,t)}return u}(t,n.i(s.a)(u,d,4),i,a)}};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/keys.js"),s=n("../node_modules/underscore/modules/_optimizeCb.js")},"../node_modules/underscore/modules/_createSizePropertyCheck.js":function(e,t,n){"use strict";t.a=function(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=r.e}};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/_deepGet.js":function(e,t,n){"use strict";t.a=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}},"../node_modules/underscore/modules/_escapeMap.js":function(e,t,n){"use strict";t.a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}},"../node_modules/underscore/modules/_executeBound.js":function(e,t,n){"use strict";t.a=function(e,t,s,u,i){if(!(u instanceof t))return e.apply(s,i);var d=n.i(r.a)(e.prototype),a=e.apply(d,i);return n.i(o.a)(a)?a:d};var r=n("../node_modules/underscore/modules/_baseCreate.js"),o=n("../node_modules/underscore/modules/isObject.js")},"../node_modules/underscore/modules/_flatten.js":function(e,t,n){"use strict";t.a=function e(t,i,d,a){a=a||[];if(i||0===i){if(i<=0)return a.concat(t)}else i=1/0;var l=a.length;for(var c=0,f=n.i(r.a)(t);c<f;c++){var m=t[c];if(n.i(o.a)(m)&&(n.i(s.a)(m)||n.i(u.a)(m)))if(i>1)e(m,i-1,d,a),l=a.length;else for(var p=0,h=m.length;p<h;)a[l++]=m[p++];else d||(a[l++]=m)}return a};var r=n("../node_modules/underscore/modules/_getLength.js"),o=n("../node_modules/underscore/modules/_isArrayLike.js"),s=n("../node_modules/underscore/modules/isArray.js"),u=n("../node_modules/underscore/modules/isArguments.js")},"../node_modules/underscore/modules/_getByteLength.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_shallowProperty.js");t.a=n.i(r.a)("byteLength")},"../node_modules/underscore/modules/_getLength.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_shallowProperty.js");t.a=n.i(r.a)("length")},"../node_modules/underscore/modules/_group.js":function(e,t,n){"use strict";t.a=function(e,t){return function(s,u,i){var d=t?[[],[]]:{};return u=n.i(r.a)(u,i),n.i(o.a)(s,function(t,n){var r=u(t,n,s);e(d,t,r)}),d}};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/each.js")},"../node_modules/underscore/modules/_has.js":function(e,t,n){"use strict";t.a=function(e,t){return null!=e&&r.f.call(e,t)};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/_hasObjectTag.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("Object")},"../node_modules/underscore/modules/_isArrayLike.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createSizePropertyCheck.js"),o=n("../node_modules/underscore/modules/_getLength.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/_isBufferLike.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createSizePropertyCheck.js"),o=n("../node_modules/underscore/modules/_getByteLength.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/_keyInObj.js":function(e,t,n){"use strict";t.a=function(e,t,n){return t in n}},"../node_modules/underscore/modules/_methodFingerprint.js":function(e,t,n){"use strict";t.a=function(e){var t=n.i(r.a)(e);return function(i){if(null==i)return!1;var d=n.i(s.a)(i);if(n.i(r.a)(d))return!1;for(var a=0;a<t;a++)if(!n.i(o.a)(i[e[a]]))return!1;return e!==l||!n.i(o.a)(i[u])}},n.d(t,"d",function(){return a}),n.d(t,"c",function(){return l}),n.d(t,"b",function(){return c});var r=n("../node_modules/underscore/modules/_getLength.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/allKeys.js");var u="forEach",i=["clear","delete"],d=["get","has","set"],a=i.concat(u,d),l=i.concat(d),c=["add"].concat(i,u,"has")},"../node_modules/underscore/modules/_optimizeCb.js":function(e,t,n){"use strict";t.a=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,s){return e.call(t,n,r,o,s)}}return function(){return e.apply(t,arguments)}}},"../node_modules/underscore/modules/_setup.js":function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return r}),n.d(t,"s",function(){return o}),n.d(t,"b",function(){return s}),n.d(t,"j",function(){return u}),n.d(t,"n",function(){return i}),n.d(t,"c",function(){return d}),n.d(t,"d",function(){return a}),n.d(t,"l",function(){return l}),n.d(t,"f",function(){return c}),n.d(t,"p",function(){return f}),n.d(t,"m",function(){return m}),n.d(t,"t",function(){return p}),n.d(t,"k",function(){return h}),n.d(t,"g",function(){return v}),n.d(t,"o",function(){return _}),n.d(t,"q",function(){return y}),n.d(t,"r",function(){return g}),n.d(t,"h",function(){return b}),n.d(t,"i",function(){return j}),n.d(t,"e",function(){return w});var r="1.13.1",o="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},s=Array.prototype,u=Object.prototype,i="undefined"!=typeof Symbol?Symbol.prototype:null,d=s.push,a=s.slice,l=u.toString,c=u.hasOwnProperty,f="undefined"!=typeof ArrayBuffer,m="undefined"!=typeof DataView,p=Array.isArray,h=Object.keys,v=Object.create,_=f&&ArrayBuffer.isView,y=isNaN,g=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1}).call(t,n("../global.js"))},"../node_modules/underscore/modules/_shallowProperty.js":function(e,t,n){"use strict";t.a=function(e){return function(t){return null==t?void 0:t[e]}}},"../node_modules/underscore/modules/_stringTagBug.js":function(e,t,n){"use strict";n.d(t,"b",function(){return s}),n.d(t,"a",function(){return u});var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/_hasObjectTag.js"),s=r.m&&n.i(o.a)(new DataView(new ArrayBuffer(8))),u="undefined"!=typeof Map&&n.i(o.a)(new Map)},"../node_modules/underscore/modules/_tagTester.js":function(e,t,n){"use strict";t.a=function(e){var t="[object "+e+"]";return function(e){return r.l.call(e)===t}};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/_toBufferView.js":function(e,t,n){"use strict";t.a=function(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,n.i(r.a)(e))};var r=n("../node_modules/underscore/modules/_getByteLength.js")},"../node_modules/underscore/modules/_toPath.js":function(e,t,n){"use strict";t.a=function(e){return r.a.toPath(e)};var r=n("../node_modules/underscore/modules/underscore.js");n("../node_modules/underscore/modules/toPath.js")},"../node_modules/underscore/modules/_unescapeMap.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/invert.js"),o=n("../node_modules/underscore/modules/_escapeMap.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/after.js":function(e,t,n){"use strict";t.a=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}},"../node_modules/underscore/modules/allKeys.js":function(e,t,n){"use strict";t.a=function(e){if(!n.i(r.a)(e))return[];var t=[];for(var u in e)t.push(u);o.h&&n.i(s.a)(e,t);return t};var r=n("../node_modules/underscore/modules/isObject.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n("../node_modules/underscore/modules/_collectNonEnumProps.js")},"../node_modules/underscore/modules/before.js":function(e,t,n){"use strict";t.a=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}},"../node_modules/underscore/modules/bind.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/_executeBound.js");t.a=n.i(r.a)(function(e,t,u){if(!n.i(o.a)(e))throw new TypeError("Bind must be called on a function");var i=n.i(r.a)(function(r){return n.i(s.a)(e,i,t,this,u.concat(r))});return i})},"../node_modules/underscore/modules/bindAll.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/_flatten.js"),s=n("../node_modules/underscore/modules/bind.js");t.a=n.i(r.a)(function(e,t){var r=(t=n.i(o.a)(t,!1,!1)).length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var u=t[r];e[u]=n.i(s.a)(e[u],e)}return e})},"../node_modules/underscore/modules/chain.js":function(e,t,n){"use strict";t.a=function(e){var t=n.i(r.a)(e);return t._chain=!0,t};var r=n("../node_modules/underscore/modules/underscore.js")},"../node_modules/underscore/modules/chunk.js":function(e,t,n){"use strict";t.a=function(e,t){if(null==t||t<1)return[];var n=[],o=0,s=e.length;for(;o<s;)n.push(r.d.call(e,o,o+=t));return n};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/clone.js":function(e,t,n){"use strict";t.a=function(e){return n.i(r.a)(e)?n.i(o.a)(e)?e.slice():n.i(s.a)({},e):e};var r=n("../node_modules/underscore/modules/isObject.js"),o=n("../node_modules/underscore/modules/isArray.js"),s=n("../node_modules/underscore/modules/extend.js")},"../node_modules/underscore/modules/compact.js":function(e,t,n){"use strict";t.a=function(e){return n.i(r.a)(e,Boolean)};var r=n("../node_modules/underscore/modules/filter.js")},"../node_modules/underscore/modules/compose.js":function(e,t,n){"use strict";t.a=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}},"../node_modules/underscore/modules/constant.js":function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},"../node_modules/underscore/modules/contains.js":function(e,t,n){"use strict";t.a=function(e,t,u,i){n.i(r.a)(e)||(e=n.i(o.a)(e));("number"!=typeof u||i)&&(u=0);return n.i(s.a)(e,t,u)>=0};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/values.js"),s=n("../node_modules/underscore/modules/indexOf.js")},"../node_modules/underscore/modules/countBy.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_group.js"),o=n("../node_modules/underscore/modules/_has.js");t.a=n.i(r.a)(function(e,t,r){n.i(o.a)(e,r)?e[r]++:e[r]=1})},"../node_modules/underscore/modules/create.js":function(e,t,n){"use strict";t.a=function(e,t){var s=n.i(r.a)(e);t&&n.i(o.a)(s,t);return s};var r=n("../node_modules/underscore/modules/_baseCreate.js"),o=n("../node_modules/underscore/modules/extendOwn.js")},"../node_modules/underscore/modules/debounce.js":function(e,t,n){"use strict";t.a=function(e,t,s){var u,i,d,a,l,c=function(){var r=n.i(o.a)()-i;t>r?u=setTimeout(c,t-r):(u=null,s||(a=e.apply(l,d)),u||(d=l=null))},f=n.i(r.a)(function(r){return l=this,d=r,i=n.i(o.a)(),u||(u=setTimeout(c,t),s&&(a=e.apply(l,d))),a});return f.cancel=function(){clearTimeout(u),u=d=l=null},f};var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/now.js")},"../node_modules/underscore/modules/defaults.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createAssigner.js"),o=n("../node_modules/underscore/modules/allKeys.js");t.a=n.i(r.a)(o.a,!0)},"../node_modules/underscore/modules/defer.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/partial.js"),o=n("../node_modules/underscore/modules/delay.js"),s=n("../node_modules/underscore/modules/underscore.js");t.a=n.i(r.a)(o.a,s.a,1)},"../node_modules/underscore/modules/delay.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js");t.a=n.i(r.a)(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)})},"../node_modules/underscore/modules/difference.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/_flatten.js"),s=n("../node_modules/underscore/modules/filter.js"),u=n("../node_modules/underscore/modules/contains.js");t.a=n.i(r.a)(function(e,t){return t=n.i(o.a)(t,!0,!0),n.i(s.a)(e,function(e){return!n.i(u.a)(t,e)})})},"../node_modules/underscore/modules/each.js":function(e,t,n){"use strict";t.a=function(e,t,u){var i,d;if(t=n.i(r.a)(t,u),n.i(o.a)(e))for(i=0,d=e.length;i<d;i++)t(e[i],i,e);else{var a=n.i(s.a)(e);for(i=0,d=a.length;i<d;i++)t(e[a[i]],a[i],e)}return e};var r=n("../node_modules/underscore/modules/_optimizeCb.js"),o=n("../node_modules/underscore/modules/_isArrayLike.js"),s=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/escape.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createEscaper.js"),o=n("../node_modules/underscore/modules/_escapeMap.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/every.js":function(e,t,n){"use strict";t.a=function(e,t,u){t=n.i(r.a)(t,u);for(var i=!n.i(o.a)(e)&&n.i(s.a)(e),d=(i||e).length,a=0;a<d;a++){var l=i?i[a]:a;if(!t(e[l],l,e))return!1}return!0};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/_isArrayLike.js"),s=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/extend.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createAssigner.js"),o=n("../node_modules/underscore/modules/allKeys.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/extendOwn.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createAssigner.js"),o=n("../node_modules/underscore/modules/keys.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/filter.js":function(e,t,n){"use strict";t.a=function(e,t,s){var u=[];return t=n.i(r.a)(t,s),n.i(o.a)(e,function(e,n,r){t(e,n,r)&&u.push(e)}),u};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/each.js")},"../node_modules/underscore/modules/find.js":function(e,t,n){"use strict";t.a=function(e,t,u){var i=(n.i(r.a)(e)?o.a:s.a)(e,t,u);if(void 0!==i&&-1!==i)return e[i]};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/findIndex.js"),s=n("../node_modules/underscore/modules/findKey.js")},"../node_modules/underscore/modules/findIndex.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createPredicateIndexFinder.js");t.a=n.i(r.a)(1)},"../node_modules/underscore/modules/findKey.js":function(e,t,n){"use strict";t.a=function(e,t,s){t=n.i(r.a)(t,s);for(var u,i=n.i(o.a)(e),d=0,a=i.length;d<a;d++)if(u=i[d],t(e[u],u,e))return u};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/findLastIndex.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createPredicateIndexFinder.js");t.a=n.i(r.a)(-1)},"../node_modules/underscore/modules/findWhere.js":function(e,t,n){"use strict";t.a=function(e,t){return n.i(r.a)(e,n.i(o.a)(t))};var r=n("../node_modules/underscore/modules/find.js"),o=n("../node_modules/underscore/modules/matcher.js")},"../node_modules/underscore/modules/first.js":function(e,t,n){"use strict";t.a=function(e,t,o){return null==e||e.length<1?null==t||o?void 0:[]:null==t||o?e[0]:n.i(r.a)(e,e.length-t)};var r=n("../node_modules/underscore/modules/initial.js")},"../node_modules/underscore/modules/flatten.js":function(e,t,n){"use strict";t.a=function(e,t){return n.i(r.a)(e,t,!1)};var r=n("../node_modules/underscore/modules/_flatten.js")},"../node_modules/underscore/modules/functions.js":function(e,t,n){"use strict";t.a=function(e){var t=[];for(var o in e)n.i(r.a)(e[o])&&t.push(o);return t.sort()};var r=n("../node_modules/underscore/modules/isFunction.js")},"../node_modules/underscore/modules/get.js":function(e,t,n){"use strict";t.a=function(e,t,u){var i=n.i(o.a)(e,n.i(r.a)(t));return n.i(s.a)(i)?u:i};var r=n("../node_modules/underscore/modules/_toPath.js"),o=n("../node_modules/underscore/modules/_deepGet.js"),s=n("../node_modules/underscore/modules/isUndefined.js")},"../node_modules/underscore/modules/groupBy.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_group.js"),o=n("../node_modules/underscore/modules/_has.js");t.a=n.i(r.a)(function(e,t,r){n.i(o.a)(e,r)?e[r].push(t):e[r]=[t]})},"../node_modules/underscore/modules/has.js":function(e,t,n){"use strict";t.a=function(e,t){for(var s=(t=n.i(o.a)(t)).length,u=0;u<s;u++){var i=t[u];if(!n.i(r.a)(e,i))return!1;e=e[i]}return!!s};var r=n("../node_modules/underscore/modules/_has.js"),o=n("../node_modules/underscore/modules/_toPath.js")},"../node_modules/underscore/modules/identity.js":function(e,t,n){"use strict";t.a=function(e){return e}},"../node_modules/underscore/modules/index-all.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("../node_modules/underscore/modules/index-default.js");n.d(t,"default",function(){return r.a});var o=n("../node_modules/underscore/modules/index.js");n.d(t,"VERSION",function(){return o.VERSION}),n.d(t,"restArguments",function(){return o.restArguments}),n.d(t,"isObject",function(){return o.isObject}),n.d(t,"isNull",function(){return o.isNull}),n.d(t,"isUndefined",function(){return o.isUndefined}),n.d(t,"isBoolean",function(){return o.isBoolean}),n.d(t,"isElement",function(){return o.isElement}),n.d(t,"isString",function(){return o.isString}),n.d(t,"isNumber",function(){return o.isNumber}),n.d(t,"isDate",function(){return o.isDate}),n.d(t,"isRegExp",function(){return o.isRegExp}),n.d(t,"isError",function(){return o.isError}),n.d(t,"isSymbol",function(){return o.isSymbol}),n.d(t,"isArrayBuffer",function(){return o.isArrayBuffer}),n.d(t,"isDataView",function(){return o.isDataView}),n.d(t,"isArray",function(){return o.isArray}),n.d(t,"isFunction",function(){return o.isFunction}),n.d(t,"isArguments",function(){return o.isArguments}),n.d(t,"isFinite",function(){return o.isFinite}),n.d(t,"isNaN",function(){return o.isNaN}),n.d(t,"isTypedArray",function(){return o.isTypedArray}),n.d(t,"isEmpty",function(){return o.isEmpty}),n.d(t,"isMatch",function(){return o.isMatch}),n.d(t,"isEqual",function(){return o.isEqual}),n.d(t,"isMap",function(){return o.isMap}),n.d(t,"isWeakMap",function(){return o.isWeakMap}),n.d(t,"isSet",function(){return o.isSet}),n.d(t,"isWeakSet",function(){return o.isWeakSet}),n.d(t,"keys",function(){return o.keys}),n.d(t,"allKeys",function(){return o.allKeys}),n.d(t,"values",function(){return o.values}),n.d(t,"pairs",function(){return o.pairs}),n.d(t,"invert",function(){return o.invert}),n.d(t,"functions",function(){return o.functions}),n.d(t,"methods",function(){return o.methods}),n.d(t,"extend",function(){return o.extend}),n.d(t,"extendOwn",function(){return o.extendOwn}),n.d(t,"assign",function(){return o.assign}),n.d(t,"defaults",function(){return o.defaults}),n.d(t,"create",function(){return o.create}),n.d(t,"clone",function(){return o.clone}),n.d(t,"tap",function(){return o.tap}),n.d(t,"get",function(){return o.get}),n.d(t,"has",function(){return o.has}),n.d(t,"mapObject",function(){return o.mapObject}),n.d(t,"identity",function(){return o.identity}),n.d(t,"constant",function(){return o.constant}),n.d(t,"noop",function(){return o.noop}),n.d(t,"toPath",function(){return o.toPath}),n.d(t,"property",function(){return o.property}),n.d(t,"propertyOf",function(){return o.propertyOf}),n.d(t,"matcher",function(){return o.matcher}),n.d(t,"matches",function(){return o.matches}),n.d(t,"times",function(){return o.times}),n.d(t,"random",function(){return o.random}),n.d(t,"now",function(){return o.now}),n.d(t,"escape",function(){return o.escape}),n.d(t,"unescape",function(){return o.unescape}),n.d(t,"templateSettings",function(){return o.templateSettings}),n.d(t,"template",function(){return o.template}),n.d(t,"result",function(){return o.result}),n.d(t,"uniqueId",function(){return o.uniqueId}),n.d(t,"chain",function(){return o.chain}),n.d(t,"iteratee",function(){return o.iteratee}),n.d(t,"partial",function(){return o.partial}),n.d(t,"bind",function(){return o.bind}),n.d(t,"bindAll",function(){return o.bindAll}),n.d(t,"memoize",function(){return o.memoize}),n.d(t,"delay",function(){return o.delay}),n.d(t,"defer",function(){return o.defer}),n.d(t,"throttle",function(){return o.throttle}),n.d(t,"debounce",function(){return o.debounce}),n.d(t,"wrap",function(){return o.wrap}),n.d(t,"negate",function(){return o.negate}),n.d(t,"compose",function(){return o.compose}),n.d(t,"after",function(){return o.after}),n.d(t,"before",function(){return o.before}),n.d(t,"once",function(){return o.once}),n.d(t,"findKey",function(){return o.findKey}),n.d(t,"findIndex",function(){return o.findIndex}),n.d(t,"findLastIndex",function(){return o.findLastIndex}),n.d(t,"sortedIndex",function(){return o.sortedIndex}),n.d(t,"indexOf",function(){return o.indexOf}),n.d(t,"lastIndexOf",function(){return o.lastIndexOf}),n.d(t,"find",function(){return o.find}),n.d(t,"detect",function(){return o.detect}),n.d(t,"findWhere",function(){return o.findWhere}),n.d(t,"each",function(){return o.each}),n.d(t,"forEach",function(){return o.forEach}),n.d(t,"map",function(){return o.map}),n.d(t,"collect",function(){return o.collect}),n.d(t,"reduce",function(){return o.reduce}),n.d(t,"foldl",function(){return o.foldl}),n.d(t,"inject",function(){return o.inject}),n.d(t,"reduceRight",function(){return o.reduceRight}),n.d(t,"foldr",function(){return o.foldr}),n.d(t,"filter",function(){return o.filter}),n.d(t,"select",function(){return o.select}),n.d(t,"reject",function(){return o.reject}),n.d(t,"every",function(){return o.every}),n.d(t,"all",function(){return o.all}),n.d(t,"some",function(){return o.some}),n.d(t,"any",function(){return o.any}),n.d(t,"contains",function(){return o.contains}),n.d(t,"includes",function(){return o.includes}),n.d(t,"include",function(){return o.include}),n.d(t,"invoke",function(){return o.invoke}),n.d(t,"pluck",function(){return o.pluck}),n.d(t,"where",function(){return o.where}),n.d(t,"max",function(){return o.max}),n.d(t,"min",function(){return o.min}),n.d(t,"shuffle",function(){return o.shuffle}),n.d(t,"sample",function(){return o.sample}),n.d(t,"sortBy",function(){return o.sortBy}),n.d(t,"groupBy",function(){return o.groupBy}),n.d(t,"indexBy",function(){return o.indexBy}),n.d(t,"countBy",function(){return o.countBy}),n.d(t,"partition",function(){return o.partition}),n.d(t,"toArray",function(){return o.toArray}),n.d(t,"size",function(){return o.size}),n.d(t,"pick",function(){return o.pick}),n.d(t,"omit",function(){return o.omit}),n.d(t,"first",function(){return o.first}),n.d(t,"head",function(){return o.head}),n.d(t,"take",function(){return o.take}),n.d(t,"initial",function(){return o.initial}),n.d(t,"last",function(){return o.last}),n.d(t,"rest",function(){return o.rest}),n.d(t,"tail",function(){return o.tail}),n.d(t,"drop",function(){return o.drop}),n.d(t,"compact",function(){return o.compact}),n.d(t,"flatten",function(){return o.flatten}),n.d(t,"without",function(){return o.without}),n.d(t,"uniq",function(){return o.uniq}),n.d(t,"unique",function(){return o.unique}),n.d(t,"union",function(){return o.union}),n.d(t,"intersection",function(){return o.intersection}),n.d(t,"difference",function(){return o.difference}),n.d(t,"unzip",function(){return o.unzip}),n.d(t,"transpose",function(){return o.transpose}),n.d(t,"zip",function(){return o.zip}),n.d(t,"object",function(){return o.object}),n.d(t,"range",function(){return o.range}),n.d(t,"chunk",function(){return o.chunk}),n.d(t,"mixin",function(){return o.mixin})},"../node_modules/underscore/modules/index-default.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/index.js"),o=n.i(r.mixin)(r);o._=o,t.a=o},"../node_modules/underscore/modules/index.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("../node_modules/underscore/modules/_setup.js");n.d(t,"VERSION",function(){return r.a});var o=n("../node_modules/underscore/modules/restArguments.js");n.d(t,"restArguments",function(){return o.a});var s=n("../node_modules/underscore/modules/isObject.js");n.d(t,"isObject",function(){return s.a});var u=n("../node_modules/underscore/modules/isNull.js");n.d(t,"isNull",function(){return u.a});var i=n("../node_modules/underscore/modules/isUndefined.js");n.d(t,"isUndefined",function(){return i.a});var d=n("../node_modules/underscore/modules/isBoolean.js");n.d(t,"isBoolean",function(){return d.a});var a=n("../node_modules/underscore/modules/isElement.js");n.d(t,"isElement",function(){return a.a});var l=n("../node_modules/underscore/modules/isString.js");n.d(t,"isString",function(){return l.a});var c=n("../node_modules/underscore/modules/isNumber.js");n.d(t,"isNumber",function(){return c.a});var f=n("../node_modules/underscore/modules/isDate.js");n.d(t,"isDate",function(){return f.a});var m=n("../node_modules/underscore/modules/isRegExp.js");n.d(t,"isRegExp",function(){return m.a});var p=n("../node_modules/underscore/modules/isError.js");n.d(t,"isError",function(){return p.a});var h=n("../node_modules/underscore/modules/isSymbol.js");n.d(t,"isSymbol",function(){return h.a});var v=n("../node_modules/underscore/modules/isArrayBuffer.js");n.d(t,"isArrayBuffer",function(){return v.a});var _=n("../node_modules/underscore/modules/isDataView.js");n.d(t,"isDataView",function(){return _.a});var y=n("../node_modules/underscore/modules/isArray.js");n.d(t,"isArray",function(){return y.a});var g=n("../node_modules/underscore/modules/isFunction.js");n.d(t,"isFunction",function(){return g.a});var b=n("../node_modules/underscore/modules/isArguments.js");n.d(t,"isArguments",function(){return b.a});var j=n("../node_modules/underscore/modules/isFinite.js");n.d(t,"isFinite",function(){return j.a});var w=n("../node_modules/underscore/modules/isNaN.js");n.d(t,"isNaN",function(){return w.a});var S=n("../node_modules/underscore/modules/isTypedArray.js");n.d(t,"isTypedArray",function(){return S.a});var E=n("../node_modules/underscore/modules/isEmpty.js");n.d(t,"isEmpty",function(){return E.a});var C=n("../node_modules/underscore/modules/isMatch.js");n.d(t,"isMatch",function(){return C.a});var T=n("../node_modules/underscore/modules/isEqual.js");n.d(t,"isEqual",function(){return T.a});var N=n("../node_modules/underscore/modules/isMap.js");n.d(t,"isMap",function(){return N.a});var M=n("../node_modules/underscore/modules/isWeakMap.js");n.d(t,"isWeakMap",function(){return M.a});var x=n("../node_modules/underscore/modules/isSet.js");n.d(t,"isSet",function(){return x.a});var L=n("../node_modules/underscore/modules/isWeakSet.js");n.d(t,"isWeakSet",function(){return L.a});var O=n("../node_modules/underscore/modules/keys.js");n.d(t,"keys",function(){return O.a});var A=n("../node_modules/underscore/modules/allKeys.js");n.d(t,"allKeys",function(){return A.a});var H=n("../node_modules/underscore/modules/values.js");n.d(t,"values",function(){return H.a});var k=n("../node_modules/underscore/modules/pairs.js");n.d(t,"pairs",function(){return k.a});var P=n("../node_modules/underscore/modules/invert.js");n.d(t,"invert",function(){return P.a});var D=n("../node_modules/underscore/modules/functions.js");n.d(t,"functions",function(){return D.a}),n.d(t,"methods",function(){return D.a});var I=n("../node_modules/underscore/modules/extend.js");n.d(t,"extend",function(){return I.a});var R=n("../node_modules/underscore/modules/extendOwn.js");n.d(t,"extendOwn",function(){return R.a}),n.d(t,"assign",function(){return R.a});var F=n("../node_modules/underscore/modules/defaults.js");n.d(t,"defaults",function(){return F.a});var B=n("../node_modules/underscore/modules/create.js");n.d(t,"create",function(){return B.a});var V=n("../node_modules/underscore/modules/clone.js");n.d(t,"clone",function(){return V.a});var q=n("../node_modules/underscore/modules/tap.js");n.d(t,"tap",function(){return q.a});var U=n("../node_modules/underscore/modules/get.js");n.d(t,"get",function(){return U.a});var W=n("../node_modules/underscore/modules/has.js");n.d(t,"has",function(){return W.a});var z=n("../node_modules/underscore/modules/mapObject.js");n.d(t,"mapObject",function(){return z.a});var $=n("../node_modules/underscore/modules/identity.js");n.d(t,"identity",function(){return $.a});var K=n("../node_modules/underscore/modules/constant.js");n.d(t,"constant",function(){return K.a});var G=n("../node_modules/underscore/modules/noop.js");n.d(t,"noop",function(){return G.a});var Z=n("../node_modules/underscore/modules/toPath.js");n.d(t,"toPath",function(){return Z.a});var X=n("../node_modules/underscore/modules/property.js");n.d(t,"property",function(){return X.a});var Y=n("../node_modules/underscore/modules/propertyOf.js");n.d(t,"propertyOf",function(){return Y.a});var J=n("../node_modules/underscore/modules/matcher.js");n.d(t,"matcher",function(){return J.a}),n.d(t,"matches",function(){return J.a});var Q=n("../node_modules/underscore/modules/times.js");n.d(t,"times",function(){return Q.a});var ee=n("../node_modules/underscore/modules/random.js");n.d(t,"random",function(){return ee.a});var te=n("../node_modules/underscore/modules/now.js");n.d(t,"now",function(){return te.a});var ne=n("../node_modules/underscore/modules/escape.js");n.d(t,"escape",function(){return ne.a});var re=n("../node_modules/underscore/modules/unescape.js");n.d(t,"unescape",function(){return re.a});var oe=n("../node_modules/underscore/modules/templateSettings.js");n.d(t,"templateSettings",function(){return oe.a});var se=n("../node_modules/underscore/modules/template.js");n.d(t,"template",function(){return se.a});var ue=n("../node_modules/underscore/modules/result.js");n.d(t,"result",function(){return ue.a});var ie=n("../node_modules/underscore/modules/uniqueId.js");n.d(t,"uniqueId",function(){return ie.a});var de=n("../node_modules/underscore/modules/chain.js");n.d(t,"chain",function(){return de.a});var ae=n("../node_modules/underscore/modules/iteratee.js");n.d(t,"iteratee",function(){return ae.a});var le=n("../node_modules/underscore/modules/partial.js");n.d(t,"partial",function(){return le.a});var ce=n("../node_modules/underscore/modules/bind.js");n.d(t,"bind",function(){return ce.a});var fe=n("../node_modules/underscore/modules/bindAll.js");n.d(t,"bindAll",function(){return fe.a});var me=n("../node_modules/underscore/modules/memoize.js");n.d(t,"memoize",function(){return me.a});var pe=n("../node_modules/underscore/modules/delay.js");n.d(t,"delay",function(){return pe.a});var he=n("../node_modules/underscore/modules/defer.js");n.d(t,"defer",function(){return he.a});var ve=n("../node_modules/underscore/modules/throttle.js");n.d(t,"throttle",function(){return ve.a});var _e=n("../node_modules/underscore/modules/debounce.js");n.d(t,"debounce",function(){return _e.a});var ye=n("../node_modules/underscore/modules/wrap.js");n.d(t,"wrap",function(){return ye.a});var ge=n("../node_modules/underscore/modules/negate.js");n.d(t,"negate",function(){return ge.a});var be=n("../node_modules/underscore/modules/compose.js");n.d(t,"compose",function(){return be.a});var je=n("../node_modules/underscore/modules/after.js");n.d(t,"after",function(){return je.a});var we=n("../node_modules/underscore/modules/before.js");n.d(t,"before",function(){return we.a});var Se=n("../node_modules/underscore/modules/once.js");n.d(t,"once",function(){return Se.a});var Ee=n("../node_modules/underscore/modules/findKey.js");n.d(t,"findKey",function(){return Ee.a});var Ce=n("../node_modules/underscore/modules/findIndex.js");n.d(t,"findIndex",function(){return Ce.a});var Te=n("../node_modules/underscore/modules/findLastIndex.js");n.d(t,"findLastIndex",function(){return Te.a});var Ne=n("../node_modules/underscore/modules/sortedIndex.js");n.d(t,"sortedIndex",function(){return Ne.a});var Me=n("../node_modules/underscore/modules/indexOf.js");n.d(t,"indexOf",function(){return Me.a});var xe=n("../node_modules/underscore/modules/lastIndexOf.js");n.d(t,"lastIndexOf",function(){return xe.a});var Le=n("../node_modules/underscore/modules/find.js");n.d(t,"find",function(){return Le.a}),n.d(t,"detect",function(){return Le.a});var Oe=n("../node_modules/underscore/modules/findWhere.js");n.d(t,"findWhere",function(){return Oe.a});var Ae=n("../node_modules/underscore/modules/each.js");n.d(t,"each",function(){return Ae.a}),n.d(t,"forEach",function(){return Ae.a});var He=n("../node_modules/underscore/modules/map.js");n.d(t,"map",function(){return He.a}),n.d(t,"collect",function(){return He.a});var ke=n("../node_modules/underscore/modules/reduce.js");n.d(t,"reduce",function(){return ke.a}),n.d(t,"foldl",function(){return ke.a}),n.d(t,"inject",function(){return ke.a});var Pe=n("../node_modules/underscore/modules/reduceRight.js");n.d(t,"reduceRight",function(){return Pe.a}),n.d(t,"foldr",function(){return Pe.a});var De=n("../node_modules/underscore/modules/filter.js");n.d(t,"filter",function(){return De.a}),n.d(t,"select",function(){return De.a});var Ie=n("../node_modules/underscore/modules/reject.js");n.d(t,"reject",function(){return Ie.a});var Re=n("../node_modules/underscore/modules/every.js");n.d(t,"every",function(){return Re.a}),n.d(t,"all",function(){return Re.a});var Fe=n("../node_modules/underscore/modules/some.js");n.d(t,"some",function(){return Fe.a}),n.d(t,"any",function(){return Fe.a});var Be=n("../node_modules/underscore/modules/contains.js");n.d(t,"contains",function(){return Be.a}),n.d(t,"includes",function(){return Be.a}),n.d(t,"include",function(){return Be.a});var Ve=n("../node_modules/underscore/modules/invoke.js");n.d(t,"invoke",function(){return Ve.a});var qe=n("../node_modules/underscore/modules/pluck.js");n.d(t,"pluck",function(){return qe.a});var Ue=n("../node_modules/underscore/modules/where.js");n.d(t,"where",function(){return Ue.a});var We=n("../node_modules/underscore/modules/max.js");n.d(t,"max",function(){return We.a});var ze=n("../node_modules/underscore/modules/min.js");n.d(t,"min",function(){return ze.a});var $e=n("../node_modules/underscore/modules/shuffle.js");n.d(t,"shuffle",function(){return $e.a});var Ke=n("../node_modules/underscore/modules/sample.js");n.d(t,"sample",function(){return Ke.a});var Ge=n("../node_modules/underscore/modules/sortBy.js");n.d(t,"sortBy",function(){return Ge.a});var Ze=n("../node_modules/underscore/modules/groupBy.js");n.d(t,"groupBy",function(){return Ze.a});var Xe=n("../node_modules/underscore/modules/indexBy.js");n.d(t,"indexBy",function(){return Xe.a});var Ye=n("../node_modules/underscore/modules/countBy.js");n.d(t,"countBy",function(){return Ye.a});var Je=n("../node_modules/underscore/modules/partition.js");n.d(t,"partition",function(){return Je.a});var Qe=n("../node_modules/underscore/modules/toArray.js");n.d(t,"toArray",function(){return Qe.a});var et=n("../node_modules/underscore/modules/size.js");n.d(t,"size",function(){return et.a});var tt=n("../node_modules/underscore/modules/pick.js");n.d(t,"pick",function(){return tt.a});var nt=n("../node_modules/underscore/modules/omit.js");n.d(t,"omit",function(){return nt.a});var rt=n("../node_modules/underscore/modules/first.js");n.d(t,"first",function(){return rt.a}),n.d(t,"head",function(){return rt.a}),n.d(t,"take",function(){return rt.a});var ot=n("../node_modules/underscore/modules/initial.js");n.d(t,"initial",function(){return ot.a});var st=n("../node_modules/underscore/modules/last.js");n.d(t,"last",function(){return st.a});var ut=n("../node_modules/underscore/modules/rest.js");n.d(t,"rest",function(){return ut.a}),n.d(t,"tail",function(){return ut.a}),n.d(t,"drop",function(){return ut.a});var it=n("../node_modules/underscore/modules/compact.js");n.d(t,"compact",function(){return it.a});var dt=n("../node_modules/underscore/modules/flatten.js");n.d(t,"flatten",function(){return dt.a});var at=n("../node_modules/underscore/modules/without.js");n.d(t,"without",function(){return at.a});var lt=n("../node_modules/underscore/modules/uniq.js");n.d(t,"uniq",function(){return lt.a}),n.d(t,"unique",function(){return lt.a});var ct=n("../node_modules/underscore/modules/union.js");n.d(t,"union",function(){return ct.a});var ft=n("../node_modules/underscore/modules/intersection.js");n.d(t,"intersection",function(){return ft.a});var mt=n("../node_modules/underscore/modules/difference.js");n.d(t,"difference",function(){return mt.a});var pt=n("../node_modules/underscore/modules/unzip.js");n.d(t,"unzip",function(){return pt.a}),n.d(t,"transpose",function(){return pt.a});var ht=n("../node_modules/underscore/modules/zip.js");n.d(t,"zip",function(){return ht.a});var vt=n("../node_modules/underscore/modules/object.js");n.d(t,"object",function(){return vt.a});var _t=n("../node_modules/underscore/modules/range.js");n.d(t,"range",function(){return _t.a});var yt=n("../node_modules/underscore/modules/chunk.js");n.d(t,"chunk",function(){return yt.a});var gt=n("../node_modules/underscore/modules/mixin.js");n.d(t,"mixin",function(){return gt.a});var bt=n("../node_modules/underscore/modules/underscore-array-methods.js");n.d(t,"default",function(){return bt.a})},"../node_modules/underscore/modules/indexBy.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_group.js");t.a=n.i(r.a)(function(e,t,n){e[n]=t})},"../node_modules/underscore/modules/indexOf.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/sortedIndex.js"),o=n("../node_modules/underscore/modules/findIndex.js"),s=n("../node_modules/underscore/modules/_createIndexFinder.js");t.a=n.i(s.a)(1,o.a,r.a)},"../node_modules/underscore/modules/initial.js":function(e,t,n){"use strict";t.a=function(e,t,n){return r.d.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/intersection.js":function(e,t,n){"use strict";t.a=function(e){for(var t=[],s=arguments.length,u=0,i=n.i(r.a)(e);u<i;u++){var d=e[u];if(!n.i(o.a)(t,d)){var a;for(a=1;a<s&&n.i(o.a)(arguments[a],d);a++);a===s&&t.push(d)}}return t};var r=n("../node_modules/underscore/modules/_getLength.js"),o=n("../node_modules/underscore/modules/contains.js")},"../node_modules/underscore/modules/invert.js":function(e,t,n){"use strict";t.a=function(e){for(var t={},o=n.i(r.a)(e),s=0,u=o.length;s<u;s++)t[e[o[s]]]=o[s];return t};var r=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/invoke.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/map.js"),u=n("../node_modules/underscore/modules/_deepGet.js"),i=n("../node_modules/underscore/modules/_toPath.js");t.a=n.i(r.a)(function(e,t,r){var d,a;return n.i(o.a)(t)?a=t:(t=n.i(i.a)(t),d=t.slice(0,-1),t=t[t.length-1]),n.i(s.a)(e,function(e){var o=a;if(!o){if(d&&d.length&&(e=n.i(u.a)(e,d)),null==e)return;o=e[t]}return null==o?o:o.apply(e,r)})})},"../node_modules/underscore/modules/isArguments.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/_has.js"),s=n.i(r.a)("Arguments");!function(){s(arguments)||(s=function(e){return n.i(o.a)(e,"callee")})}(),t.a=s},"../node_modules/underscore/modules/isArray.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/_tagTester.js");t.a=r.t||n.i(o.a)("Array")},"../node_modules/underscore/modules/isArrayBuffer.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("ArrayBuffer")},"../node_modules/underscore/modules/isBoolean.js":function(e,t,n){"use strict";t.a=function(e){return!0===e||!1===e||"[object Boolean]"===r.l.call(e)};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/isDataView.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/isArrayBuffer.js"),u=n("../node_modules/underscore/modules/_stringTagBug.js"),i=n.i(r.a)("DataView");t.a=u.b?function(e){return null!=e&&n.i(o.a)(e.getInt8)&&n.i(s.a)(e.buffer)}:i},"../node_modules/underscore/modules/isDate.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("Date")},"../node_modules/underscore/modules/isElement.js":function(e,t,n){"use strict";t.a=function(e){return!(!e||1!==e.nodeType)}},"../node_modules/underscore/modules/isEmpty.js":function(e,t,n){"use strict";t.a=function(e){if(null==e)return!0;var t=n.i(r.a)(e);return"number"==typeof t&&(n.i(o.a)(e)||n.i(s.a)(e)||n.i(u.a)(e))?0===t:0===n.i(r.a)(n.i(i.a)(e))};var r=n("../node_modules/underscore/modules/_getLength.js"),o=n("../node_modules/underscore/modules/isArray.js"),s=n("../node_modules/underscore/modules/isString.js"),u=n("../node_modules/underscore/modules/isArguments.js"),i=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/isEqual.js":function(e,t,n){"use strict";t.a=function(e,t){return p(e,t)};var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n("../node_modules/underscore/modules/_getByteLength.js"),u=n("../node_modules/underscore/modules/isTypedArray.js"),i=n("../node_modules/underscore/modules/isFunction.js"),d=n("../node_modules/underscore/modules/_stringTagBug.js"),a=n("../node_modules/underscore/modules/isDataView.js"),l=n("../node_modules/underscore/modules/keys.js"),c=n("../node_modules/underscore/modules/_has.js"),f=n("../node_modules/underscore/modules/_toBufferView.js"),m="[object DataView]";function p(e,t,h,v){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var _=typeof e;return("function"===_||"object"===_||"object"==typeof t)&&function e(t,h,v,_){t instanceof r.a&&(t=t._wrapped);h instanceof r.a&&(h=h._wrapped);var y=o.l.call(t);if(y!==o.l.call(h))return!1;if(d.b&&"[object Object]"==y&&n.i(a.a)(t)){if(!n.i(a.a)(h))return!1;y=m}switch(y){case"[object RegExp]":case"[object String]":return""+t==""+h;case"[object Number]":return+t!=+t?+h!=+h:0==+t?1/+t==1/h:+t==+h;case"[object Date]":case"[object Boolean]":return+t==+h;case"[object Symbol]":return o.n.valueOf.call(t)===o.n.valueOf.call(h);case"[object ArrayBuffer]":case m:return e(n.i(f.a)(t),n.i(f.a)(h),v,_)}var g="[object Array]"===y;if(!g&&n.i(u.a)(t)){var b=n.i(s.a)(t);if(b!==n.i(s.a)(h))return!1;if(t.buffer===h.buffer&&t.byteOffset===h.byteOffset)return!0;g=!0}if(!g){if("object"!=typeof t||"object"!=typeof h)return!1;var j=t.constructor,w=h.constructor;if(j!==w&&!(n.i(i.a)(j)&&j instanceof j&&n.i(i.a)(w)&&w instanceof w)&&"constructor"in t&&"constructor"in h)return!1}v=v||[];_=_||[];var S=v.length;for(;S--;)if(v[S]===t)return _[S]===h;v.push(t);_.push(h);if(g){if((S=t.length)!==h.length)return!1;for(;S--;)if(!p(t[S],h[S],v,_))return!1}else{var E,C=n.i(l.a)(t);if(S=C.length,n.i(l.a)(h).length!==S)return!1;for(;S--;)if(E=C[S],!n.i(c.a)(h,E)||!p(t[E],h[E],v,_))return!1}v.pop();_.pop();return!0}(e,t,h,v)}},"../node_modules/underscore/modules/isError.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("Error")},"../node_modules/underscore/modules/isFinite.js":function(e,t,n){"use strict";t.a=function(e){return!n.i(o.a)(e)&&n.i(r.r)(e)&&!isNaN(parseFloat(e))};var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/isSymbol.js")},"../node_modules/underscore/modules/isFunction.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n.i(r.a)("Function"),u=o.s.document&&o.s.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof u&&(s=function(e){return"function"==typeof e||!1}),t.a=s},"../node_modules/underscore/modules/isMap.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/_stringTagBug.js"),s=n("../node_modules/underscore/modules/_methodFingerprint.js");t.a=o.a?n.i(s.a)(s.d):n.i(r.a)("Map")},"../node_modules/underscore/modules/isMatch.js":function(e,t,n){"use strict";t.a=function(e,t){var o=n.i(r.a)(t),s=o.length;if(null==e)return!s;for(var u=Object(e),i=0;i<s;i++){var d=o[i];if(t[d]!==u[d]||!(d in u))return!1}return!0};var r=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/isNaN.js":function(e,t,n){"use strict";t.a=function(e){return n.i(o.a)(e)&&n.i(r.q)(e)};var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/isNumber.js")},"../node_modules/underscore/modules/isNull.js":function(e,t,n){"use strict";t.a=function(e){return null===e}},"../node_modules/underscore/modules/isNumber.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("Number")},"../node_modules/underscore/modules/isObject.js":function(e,t,n){"use strict";t.a=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e}},"../node_modules/underscore/modules/isRegExp.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("RegExp")},"../node_modules/underscore/modules/isSet.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/_stringTagBug.js"),s=n("../node_modules/underscore/modules/_methodFingerprint.js");t.a=o.a?n.i(s.a)(s.b):n.i(r.a)("Set")},"../node_modules/underscore/modules/isString.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("String")},"../node_modules/underscore/modules/isSymbol.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("Symbol")},"../node_modules/underscore/modules/isTypedArray.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_setup.js"),o=n("../node_modules/underscore/modules/isDataView.js"),s=n("../node_modules/underscore/modules/constant.js"),u=n("../node_modules/underscore/modules/_isBufferLike.js"),i=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;t.a=r.p?function(e){return r.o?n.i(r.o)(e)&&!n.i(o.a)(e):n.i(u.a)(e)&&i.test(r.l.call(e))}:n.i(s.a)(!1)},"../node_modules/underscore/modules/isUndefined.js":function(e,t,n){"use strict";t.a=function(e){return void 0===e}},"../node_modules/underscore/modules/isWeakMap.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js"),o=n("../node_modules/underscore/modules/_stringTagBug.js"),s=n("../node_modules/underscore/modules/_methodFingerprint.js");t.a=o.a?n.i(s.a)(s.c):n.i(r.a)("WeakMap")},"../node_modules/underscore/modules/isWeakSet.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_tagTester.js");t.a=n.i(r.a)("WeakSet")},"../node_modules/underscore/modules/iteratee.js":function(e,t,n){"use strict";t.a=s;var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/_baseIteratee.js");function s(e,t){return n.i(o.a)(e,t,1/0)}r.a.iteratee=s},"../node_modules/underscore/modules/keys.js":function(e,t,n){"use strict";t.a=function(e){if(!n.i(r.a)(e))return[];if(o.k)return n.i(o.k)(e);var t=[];for(var i in e)n.i(s.a)(e,i)&&t.push(i);o.h&&n.i(u.a)(e,t);return t};var r=n("../node_modules/underscore/modules/isObject.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n("../node_modules/underscore/modules/_has.js"),u=n("../node_modules/underscore/modules/_collectNonEnumProps.js")},"../node_modules/underscore/modules/last.js":function(e,t,n){"use strict";t.a=function(e,t,o){return null==e||e.length<1?null==t||o?void 0:[]:null==t||o?e[e.length-1]:n.i(r.a)(e,Math.max(0,e.length-t))};var r=n("../node_modules/underscore/modules/rest.js")},"../node_modules/underscore/modules/lastIndexOf.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/findLastIndex.js"),o=n("../node_modules/underscore/modules/_createIndexFinder.js");t.a=n.i(o.a)(-1,r.a)},"../node_modules/underscore/modules/map.js":function(e,t,n){"use strict";t.a=function(e,t,u){t=n.i(r.a)(t,u);for(var i=!n.i(o.a)(e)&&n.i(s.a)(e),d=(i||e).length,a=Array(d),l=0;l<d;l++){var c=i?i[l]:l;a[l]=t(e[c],c,e)}return a};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/_isArrayLike.js"),s=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/mapObject.js":function(e,t,n){"use strict";t.a=function(e,t,s){t=n.i(r.a)(t,s);for(var u=n.i(o.a)(e),i=u.length,d={},a=0;a<i;a++){var l=u[a];d[l]=t(e[l],l,e)}return d};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/matcher.js":function(e,t,n){"use strict";t.a=function(e){return e=n.i(r.a)({},e),function(t){return n.i(o.a)(t,e)}};var r=n("../node_modules/underscore/modules/extendOwn.js"),o=n("../node_modules/underscore/modules/isMatch.js")},"../node_modules/underscore/modules/max.js":function(e,t,n){"use strict";t.a=function(e,t,i){var d,a,l=-1/0,c=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var f=0,m=(e=n.i(r.a)(e)?e:n.i(o.a)(e)).length;f<m;f++)null!=(d=e[f])&&d>l&&(l=d);else t=n.i(s.a)(t,i),n.i(u.a)(e,function(e,n,r){((a=t(e,n,r))>c||a===-1/0&&l===-1/0)&&(l=e,c=a)});return l};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/values.js"),s=n("../node_modules/underscore/modules/_cb.js"),u=n("../node_modules/underscore/modules/each.js")},"../node_modules/underscore/modules/memoize.js":function(e,t,n){"use strict";t.a=function(e,t){var o=function(s){var u=o.cache,i=""+(t?t.apply(this,arguments):s);return n.i(r.a)(u,i)||(u[i]=e.apply(this,arguments)),u[i]};return o.cache={},o};var r=n("../node_modules/underscore/modules/_has.js")},"../node_modules/underscore/modules/min.js":function(e,t,n){"use strict";t.a=function(e,t,i){var d,a,l=1/0,c=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var f=0,m=(e=n.i(r.a)(e)?e:n.i(o.a)(e)).length;f<m;f++)null!=(d=e[f])&&d<l&&(l=d);else t=n.i(s.a)(t,i),n.i(u.a)(e,function(e,n,r){((a=t(e,n,r))<c||a===1/0&&l===1/0)&&(l=e,c=a)});return l};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/values.js"),s=n("../node_modules/underscore/modules/_cb.js"),u=n("../node_modules/underscore/modules/each.js")},"../node_modules/underscore/modules/mixin.js":function(e,t,n){"use strict";t.a=function(e){return n.i(o.a)(n.i(s.a)(e),function(t){var o=r.a[t]=e[t];r.a.prototype[t]=function(){var e=[this._wrapped];return u.c.apply(e,arguments),n.i(i.a)(this,o.apply(r.a,e))}}),r.a};var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/each.js"),s=n("../node_modules/underscore/modules/functions.js"),u=n("../node_modules/underscore/modules/_setup.js"),i=n("../node_modules/underscore/modules/_chainResult.js")},"../node_modules/underscore/modules/negate.js":function(e,t,n){"use strict";t.a=function(e){return function(){return!e.apply(this,arguments)}}},"../node_modules/underscore/modules/noop.js":function(e,t,n){"use strict";t.a=function(){}},"../node_modules/underscore/modules/now.js":function(e,t,n){"use strict";t.a=Date.now||function(){return(new Date).getTime()}},"../node_modules/underscore/modules/object.js":function(e,t,n){"use strict";t.a=function(e,t){for(var o={},s=0,u=n.i(r.a)(e);s<u;s++)t?o[e[s]]=t[s]:o[e[s][0]]=e[s][1];return o};var r=n("../node_modules/underscore/modules/_getLength.js")},"../node_modules/underscore/modules/omit.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/negate.js"),u=n("../node_modules/underscore/modules/map.js"),i=n("../node_modules/underscore/modules/_flatten.js"),d=n("../node_modules/underscore/modules/contains.js"),a=n("../node_modules/underscore/modules/pick.js");t.a=n.i(r.a)(function(e,t){var r,l=t[0];return n.i(o.a)(l)?(l=n.i(s.a)(l),t.length>1&&(r=t[1])):(t=n.i(u.a)(n.i(i.a)(t,!1,!1),String),l=function(e,r){return!n.i(d.a)(t,r)}),n.i(a.a)(e,l,r)})},"../node_modules/underscore/modules/once.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/partial.js"),o=n("../node_modules/underscore/modules/before.js");t.a=n.i(r.a)(o.a,2)},"../node_modules/underscore/modules/pairs.js":function(e,t,n){"use strict";t.a=function(e){for(var t=n.i(r.a)(e),o=t.length,s=Array(o),u=0;u<o;u++)s[u]=[t[u],e[t[u]]];return s};var r=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/partial.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/_executeBound.js"),s=n("../node_modules/underscore/modules/underscore.js"),u=n.i(r.a)(function(e,t){var r=u.placeholder,s=function(){for(var u=0,i=t.length,d=Array(i),a=0;a<i;a++)d[a]=t[a]===r?arguments[u++]:t[a];for(;u<arguments.length;)d.push(arguments[u++]);return n.i(o.a)(e,s,this,this,d)};return s});u.placeholder=s.a,t.a=u},"../node_modules/underscore/modules/partition.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_group.js");t.a=n.i(r.a)(function(e,t,n){e[n?0:1].push(t)},!0)},"../node_modules/underscore/modules/pick.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/isFunction.js"),s=n("../node_modules/underscore/modules/_optimizeCb.js"),u=n("../node_modules/underscore/modules/allKeys.js"),i=n("../node_modules/underscore/modules/_keyInObj.js"),d=n("../node_modules/underscore/modules/_flatten.js");t.a=n.i(r.a)(function(e,t){var r={},a=t[0];if(null==e)return r;n.i(o.a)(a)?(t.length>1&&(a=n.i(s.a)(a,t[1])),t=n.i(u.a)(e)):(a=i.a,t=n.i(d.a)(t,!1,!1),e=Object(e));for(var l=0,c=t.length;l<c;l++){var f=t[l],m=e[f];a(m,f,e)&&(r[f]=m)}return r})},"../node_modules/underscore/modules/pluck.js":function(e,t,n){"use strict";t.a=function(e,t){return n.i(r.a)(e,n.i(o.a)(t))};var r=n("../node_modules/underscore/modules/map.js"),o=n("../node_modules/underscore/modules/property.js")},"../node_modules/underscore/modules/property.js":function(e,t,n){"use strict";t.a=function(e){return e=n.i(o.a)(e),function(t){return n.i(r.a)(t,e)}};var r=n("../node_modules/underscore/modules/_deepGet.js"),o=n("../node_modules/underscore/modules/_toPath.js")},"../node_modules/underscore/modules/propertyOf.js":function(e,t,n){"use strict";t.a=function(e){return null==e?r.a:function(t){return n.i(o.a)(e,t)}};var r=n("../node_modules/underscore/modules/noop.js"),o=n("../node_modules/underscore/modules/get.js")},"../node_modules/underscore/modules/random.js":function(e,t,n){"use strict";t.a=function(e,t){null==t&&(t=e,e=0);return e+Math.floor(Math.random()*(t-e+1))}},"../node_modules/underscore/modules/range.js":function(e,t,n){"use strict";t.a=function(e,t,n){null==t&&(t=e||0,e=0);n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),s=0;s<r;s++,e+=n)o[s]=e;return o}},"../node_modules/underscore/modules/reduce.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createReduce.js");t.a=n.i(r.a)(1)},"../node_modules/underscore/modules/reduceRight.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createReduce.js");t.a=n.i(r.a)(-1)},"../node_modules/underscore/modules/reject.js":function(e,t,n){"use strict";t.a=function(e,t,u){return n.i(r.a)(e,n.i(o.a)(n.i(s.a)(t)),u)};var r=n("../node_modules/underscore/modules/filter.js"),o=n("../node_modules/underscore/modules/negate.js"),s=n("../node_modules/underscore/modules/_cb.js")},"../node_modules/underscore/modules/rest.js":function(e,t,n){"use strict";t.a=function(e,t,n){return r.d.call(e,null==t||n?1:t)};var r=n("../node_modules/underscore/modules/_setup.js")},"../node_modules/underscore/modules/restArguments.js":function(e,t,n){"use strict";t.a=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var s=Array(t+1);for(o=0;o<t;o++)s[o]=arguments[o];return s[t]=r,e.apply(this,s)}}},"../node_modules/underscore/modules/result.js":function(e,t,n){"use strict";t.a=function(e,t,s){var u=(t=n.i(o.a)(t)).length;if(!u)return n.i(r.a)(s)?s.call(e):s;for(var i=0;i<u;i++){var d=null==e?void 0:e[t[i]];void 0===d&&(d=s,i=u),e=n.i(r.a)(d)?d.call(e):d}return e};var r=n("../node_modules/underscore/modules/isFunction.js"),o=n("../node_modules/underscore/modules/_toPath.js")},"../node_modules/underscore/modules/sample.js":function(e,t,n){"use strict";t.a=function(e,t,d){if(null==t||d)return n.i(r.a)(e)||(e=n.i(s.a)(e)),e[n.i(i.a)(e.length-1)];var a=n.i(r.a)(e)?n.i(o.a)(e):n.i(s.a)(e),l=n.i(u.a)(a);t=Math.max(Math.min(t,l),0);for(var c=l-1,f=0;f<t;f++){var m=n.i(i.a)(f,c),p=a[f];a[f]=a[m],a[m]=p}return a.slice(0,t)};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/clone.js"),s=n("../node_modules/underscore/modules/values.js"),u=n("../node_modules/underscore/modules/_getLength.js"),i=n("../node_modules/underscore/modules/random.js")},"../node_modules/underscore/modules/shuffle.js":function(e,t,n){"use strict";t.a=function(e){return n.i(r.a)(e,1/0)};var r=n("../node_modules/underscore/modules/sample.js")},"../node_modules/underscore/modules/size.js":function(e,t,n){"use strict";t.a=function(e){return null==e?0:n.i(r.a)(e)?e.length:n.i(o.a)(e).length};var r=n("../node_modules/underscore/modules/_isArrayLike.js"),o=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/some.js":function(e,t,n){"use strict";t.a=function(e,t,u){t=n.i(r.a)(t,u);for(var i=!n.i(o.a)(e)&&n.i(s.a)(e),d=(i||e).length,a=0;a<d;a++){var l=i?i[a]:a;if(t(e[l],l,e))return!0}return!1};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/_isArrayLike.js"),s=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/sortBy.js":function(e,t,n){"use strict";t.a=function(e,t,u){var i=0;return t=n.i(r.a)(t,u),n.i(o.a)(n.i(s.a)(e,function(e,n,r){return{value:e,index:i++,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/pluck.js"),s=n("../node_modules/underscore/modules/map.js")},"../node_modules/underscore/modules/sortedIndex.js":function(e,t,n){"use strict";t.a=function(e,t,s,u){var i=(s=n.i(r.a)(s,u,1))(t),d=0,a=n.i(o.a)(e);for(;d<a;){var l=Math.floor((d+a)/2);s(e[l])<i?d=l+1:a=l}return d};var r=n("../node_modules/underscore/modules/_cb.js"),o=n("../node_modules/underscore/modules/_getLength.js")},"../node_modules/underscore/modules/tap.js":function(e,t,n){"use strict";t.a=function(e,t){return t(e),e}},"../node_modules/underscore/modules/template.js":function(e,t,n){"use strict";t.a=function(e,t,u){!t&&u&&(t=u);t=n.i(r.a)({},t,o.a.templateSettings);var l=RegExp([(t.escape||s).source,(t.interpolate||s).source,(t.evaluate||s).source].join("|")+"|$","g"),c=0,f="__p+='";e.replace(l,function(t,n,r,o,s){return f+=e.slice(c,s).replace(i,d),c=s+t.length,n?f+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?f+="'+\n((__t=("+r+"))==null?'':__t)+\n'":o&&(f+="';\n"+o+"\n__p+='"),t}),f+="';\n";var m,p=t.variable;if(p){if(!a.test(p))throw new Error("variable is not a bare identifier: "+p)}else f="with(obj||{}){\n"+f+"}\n",p="obj";f="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+f+"return __p;\n";try{m=new Function(p,"_",f)}catch(e){throw e.source=f,e}var h=function(e){return m.call(this,e,o.a)};return h.source="function("+p+"){\n"+f+"}",h};var r=n("../node_modules/underscore/modules/defaults.js"),o=n("../node_modules/underscore/modules/underscore.js"),s=(n("../node_modules/underscore/modules/templateSettings.js"),/(.)^/),u={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},i=/\\|'|\r|\n|\u2028|\u2029/g;function d(e){return"\\"+u[e]}var a=/^\s*(\w|\$)+\s*$/},"../node_modules/underscore/modules/templateSettings.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/underscore.js");t.a=r.a.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}},"../node_modules/underscore/modules/throttle.js":function(e,t,n){"use strict";t.a=function(e,t,o){var s,u,i,d,a=0;o||(o={});var l=function(){a=!1===o.leading?0:n.i(r.a)(),s=null,d=e.apply(u,i),s||(u=i=null)},c=function(){var c=n.i(r.a)();a||!1!==o.leading||(a=c);var f=t-(c-a);return u=this,i=arguments,f<=0||f>t?(s&&(clearTimeout(s),s=null),a=c,d=e.apply(u,i),s||(u=i=null)):s||!1===o.trailing||(s=setTimeout(l,f)),d};return c.cancel=function(){clearTimeout(s),a=0,s=u=i=null},c};var r=n("../node_modules/underscore/modules/now.js")},"../node_modules/underscore/modules/times.js":function(e,t,n){"use strict";t.a=function(e,t,o){var s=Array(Math.max(0,e));t=n.i(r.a)(t,o,1);for(var u=0;u<e;u++)s[u]=t(u);return s};var r=n("../node_modules/underscore/modules/_optimizeCb.js")},"../node_modules/underscore/modules/toArray.js":function(e,t,n){"use strict";t.a=function(e){if(!e)return[];if(n.i(r.a)(e))return o.d.call(e);if(n.i(s.a)(e))return e.match(l);return n.i(u.a)(e)?n.i(i.a)(e,d.a):n.i(a.a)(e)};var r=n("../node_modules/underscore/modules/isArray.js"),o=n("../node_modules/underscore/modules/_setup.js"),s=n("../node_modules/underscore/modules/isString.js"),u=n("../node_modules/underscore/modules/_isArrayLike.js"),i=n("../node_modules/underscore/modules/map.js"),d=n("../node_modules/underscore/modules/identity.js"),a=n("../node_modules/underscore/modules/values.js"),l=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g},"../node_modules/underscore/modules/toPath.js":function(e,t,n){"use strict";t.a=s;var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/isArray.js");function s(e){return n.i(o.a)(e)?e:[e]}r.a.toPath=s},"../node_modules/underscore/modules/underscore-array-methods.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/underscore.js"),o=n("../node_modules/underscore/modules/each.js"),s=n("../node_modules/underscore/modules/_setup.js"),u=n("../node_modules/underscore/modules/_chainResult.js");n.i(o.a)(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s.b[e];r.a.prototype[e]=function(){var r=this._wrapped;return null!=r&&(t.apply(r,arguments),"shift"!==e&&"splice"!==e||0!==r.length||delete r[0]),n.i(u.a)(this,r)}}),n.i(o.a)(["concat","join","slice"],function(e){var t=s.b[e];r.a.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),n.i(u.a)(this,e)}}),t.a=r.a},"../node_modules/underscore/modules/underscore.js":function(e,t,n){"use strict";t.a=o;var r=n("../node_modules/underscore/modules/_setup.js");function o(e){return e instanceof o?e:this instanceof o?void(this._wrapped=e):new o(e)}o.VERSION=r.a,o.prototype.value=function(){return this._wrapped},o.prototype.valueOf=o.prototype.toJSON=o.prototype.value,o.prototype.toString=function(){return String(this._wrapped)}},"../node_modules/underscore/modules/unescape.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/_createEscaper.js"),o=n("../node_modules/underscore/modules/_unescapeMap.js");t.a=n.i(r.a)(o.a)},"../node_modules/underscore/modules/union.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/uniq.js"),s=n("../node_modules/underscore/modules/_flatten.js");t.a=n.i(r.a)(function(e){return n.i(o.a)(n.i(s.a)(e,!0,!0))})},"../node_modules/underscore/modules/uniq.js":function(e,t,n){"use strict";t.a=function(e,t,i,d){n.i(r.a)(t)||(d=i,i=t,t=!1);null!=i&&(i=n.i(o.a)(i,d));for(var a=[],l=[],c=0,f=n.i(s.a)(e);c<f;c++){var m=e[c],p=i?i(m,c,e):m;t&&!i?(c&&l===p||a.push(m),l=p):i?n.i(u.a)(l,p)||(l.push(p),a.push(m)):n.i(u.a)(a,m)||a.push(m)}return a};var r=n("../node_modules/underscore/modules/isBoolean.js"),o=n("../node_modules/underscore/modules/_cb.js"),s=n("../node_modules/underscore/modules/_getLength.js"),u=n("../node_modules/underscore/modules/contains.js")},"../node_modules/underscore/modules/uniqueId.js":function(e,t,n){"use strict";t.a=function(e){var t=++r+"";return e?e+t:t};var r=0},"../node_modules/underscore/modules/unzip.js":function(e,t,n){"use strict";t.a=function(e){for(var t=e&&n.i(r.a)(e,o.a).length||0,u=Array(t),i=0;i<t;i++)u[i]=n.i(s.a)(e,i);return u};var r=n("../node_modules/underscore/modules/max.js"),o=n("../node_modules/underscore/modules/_getLength.js"),s=n("../node_modules/underscore/modules/pluck.js")},"../node_modules/underscore/modules/values.js":function(e,t,n){"use strict";t.a=function(e){for(var t=n.i(r.a)(e),o=t.length,s=Array(o),u=0;u<o;u++)s[u]=e[t[u]];return s};var r=n("../node_modules/underscore/modules/keys.js")},"../node_modules/underscore/modules/where.js":function(e,t,n){"use strict";t.a=function(e,t){return n.i(r.a)(e,n.i(o.a)(t))};var r=n("../node_modules/underscore/modules/filter.js"),o=n("../node_modules/underscore/modules/matcher.js")},"../node_modules/underscore/modules/without.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/difference.js");t.a=n.i(r.a)(function(e,t){return n.i(o.a)(e,t)})},"../node_modules/underscore/modules/wrap.js":function(e,t,n){"use strict";t.a=function(e,t){return n.i(r.a)(t,e)};var r=n("../node_modules/underscore/modules/partial.js")},"../node_modules/underscore/modules/zip.js":function(e,t,n){"use strict";var r=n("../node_modules/underscore/modules/restArguments.js"),o=n("../node_modules/underscore/modules/unzip.js");t.a=n.i(r.a)(o.a)},"./custom-style-element.ts":function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e){var t=d();return function(){var n,o=l(e);if(t){var s=l(this).constructor;n=Reflect.construct(o,arguments,s)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return i(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)})(e)}function i(e,t,n){return(i=d()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o}).apply(null,arguments)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return c});var c=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(n,u(HTMLLinkElement));var t=s(n);function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t.apply(this,arguments)}return function(e,t,n){t&&o(e.prototype,t),n&&o(e,n)}(n,[{key:"connectedCallback",value:function(){var e=this,t=this.getAttribute("href");fetch(t).then(function(t){t.text().then(function(t){var n=document.createElement("style");n.textContent=t,n.setAttribute("id","CustomStyle"+Math.floor(999999*Math.random())+1),window.ShadyCSS.CustomStyleInterface.addCustomStyle(n),window.ShadyCSS.styleSubtree(e);var r=new Blob([n.textContent],{type:"text/css"}),o=document.createElement("link");o.rel="stylesheet",o.href=URL.createObjectURL(r),document.getElementsByTagName("head")[0].appendChild(o),setTimeout(function(){e.dispatchEvent(new CustomEvent("customStyleConnected",{detail:{customStyle:n},bubbles:!0,cancelable:!1}))},1)})})}}]),n}();window.customElements.define("custom-style",c,{extends:"link"})},"./index.tsx":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./utils/custom-element.ts"),o=n("./custom-style-element.ts"),s=n("../node_modules/underscore/modules/index-all.js"),u=n("../node_modules/animejs/anime.min.js"),i=(n.n(u),n("./utils/maquette.ts"));!function(e){e._=s,e.Maquette=i,e.h=i.h,e.anime=u,e.customElements.whenDefined("custom-style").then(function(){document.body.parentElement.classList.add("custom-style-defined")}),e.CustomElement=r.a,e.CustomElementConfig=r.c,e.CustomStyleElement=o.a,e.PropertyRenderOnSet=r.b,e.RenderOnSet=r.b,e.Bind=r.d}(window)},"./utils/custom-element.ts":function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function s(e){var t="function"==typeof Map?new Map:void 0;return(s=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,a(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)})(e)}function u(e,t,n){return(u=i()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&d(o,n.prototype),o}).apply(null,arguments)}function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e){"@babel/helpers - typeof";return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"d",function(){return f}),n.d(t,"c",function(){return m}),t.b=function(e,t){Reflect.get(e,"_dp_"+t)||Reflect.defineProperty(e,"_dp_"+t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(e){this["_"+t+"_value"]=e}});e["_dp_setters_"+t]||(e["_dp_setters_"+t]=[]);e["_dp_setters_"+t].push(function(e,t){e&&e.renderNow&&e.renderNow()});Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return this["_"+t+"_value"]},set:function(n){var r=this;this["_dp_"+t]=n,e["_dp_setters_"+t]&&e["_dp_setters_"+t].forEach(function(e){e(r,n)})}})},n.d(t,"a",function(){return h});var c=new Map,f=function(e,t,n){var r=n.value;if("function"!=typeof r)throw new Error("@Bind decorator can only be applied to methods not: ".concat(l(r)));var o=!1;return{configurable:!0,get:function(){if(o||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof r)return r;var n=r.bind(this);return o=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){r=e,delete this[t]}}),o=!1,n},set:function(e){r=e}}},m=function(e){return function(t){setTimeout(function(){customElements.define(e.tagName,t,e.options)},10);var n=e.tagName.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()});window[n.charAt(0).toUpperCase()+n.slice(1)]=t}};var p=n("../node_modules/document-register-element/pony/index.js");(function(e){return/\{\s*\[native code\]\s*\}/.test(""+e)})(document.registerElement)||p(window,"auto");var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(n,s(HTMLElement));var t=function(e){var t=i();return function(){var n,r=a(e);if(t){var s=a(this).constructor;n=Reflect.construct(r,arguments,s)}else n=r.apply(this,arguments);return o(this,n)}}(n);function n(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),e=r=t.call(this,e),"function"==typeof r.init&&r.init(),o(r,e)}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(n,[{key:"templateFromString",value:function(e){var t=this;this.shadowRoot||this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML="";var n="<style></style>",r=e.match(/<style[^>]*>([\s\S]*?)<\/style>/);if(r)if(n=r[0],c.has(this.tagName))e=e.replace(r[0],'<link rel="stylesheet" href="'.concat(c.get(this.tagName),'">'));else{var o=new Blob([r[1]],{type:"text/css"});e=e.replace(r[0],'<link rel="stylesheet" href="'.concat(URL.createObjectURL(o),'" data-tmp="true">'))}var s=document.createElement("template");s.innerHTML=e;var u=document.importNode(s.content,!0),i=function(){if(c.has(t.tagName))return c.get(t.tagName);var e=document.createElement("template");e.innerHTML=n;window.ShadyCSS.prepareTemplate(e,"x-tmp");var r=e.content.cloneNode(!0).querySelector("style").textContent,o=new Blob([r],{type:"text/css"}),s=URL.createObjectURL(o);return c.set(t.tagName,s),s};return window.addEventListener("customStyleConnected",function(){setTimeout(function(){var e=t.shadowRoot.querySelector("link");e&&(e.hasAttribute("data-tmp")&&(URL.revokeObjectURL(e.href),e.removeAttribute("data-tmp")),e.href=i())},1)}),setTimeout(function(){var e=t.shadowRoot.querySelector("link");e&&(e.hasAttribute("data-tmp")&&(URL.revokeObjectURL(e.href),e.removeAttribute("data-tmp")),e.href=i())},1),u}},{key:"createProjector",value:function(e,t){var n=this;return new Promise(function(r,o){var s,u=1;if(-1!=navigator.userAgent.indexOf("Trident"))u=400;else{var i=parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||!1;u=!1!==i&&i<10.4?1500:u,u=!1!==i&&i<10?2e3:u}setTimeout(function(){(s=window.Maquette.createProjector()).append(e,t),n._projector=s,r(s),n.dispatchEvent(new CustomEvent("firstRender",{}))},u)})}},{key:"renderNow",value:function(){this._projector&&this._projector.renderNow()}}]),n}()},"./utils/maquette.ts":function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"h",function(){return N}),n.d(t,"dom",function(){return x}),n.d(t,"createCache",function(){return L}),n.d(t,"createMapping",function(){return O}),n.d(t,"createProjector",function(){return A});var o,s,u="http://www.w3.org/2000/svg",i=[],d=function(e,t){var n={};return Object.keys(e).forEach(function(t){n[t]=e[t]}),t&&Object.keys(t).forEach(function(e){n[e]=t[e]}),n},a=function(e,t){return e.vnodeSelector===t.vnodeSelector&&(e.properties&&t.properties?e.properties.key===t.properties.key&&e.properties.bind===t.properties.bind:!e.properties&&!t.properties)},l=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},c=function e(t,n,r){for(var o=0,s=n.length;o<s;o++){var u=n[o];Array.isArray(u)?e(t,u,r):null!==u&&void 0!==u&&(u.hasOwnProperty("vnodeSelector")||(u=l(u)),r.push(u))}},f=function(){throw new Error("Provide a transitions object to the projectionOptions to do animations")},m={namespace:void 0,eventHandlerInterceptor:void 0,styleApplyer:function(e,t,n){e.style[t]=n},transitions:{enter:f,exit:f}},p=function(e){return d(m,e)},h=function(e){if("string"!=typeof e)throw new Error("Style values must be strings")},v=function(e,t,n){if(""!==t.vnodeSelector)for(var r=n;r<e.length;r++)if(a(e[r],t))return r;return-1},_=function(e,t){if(e.properties){var n=e.properties.enterAnimation;n&&("function"==typeof n?n(e.domNode,e.properties):t.enter(e.domNode,e.properties,n))}},y=[],g=!1,b=function e(t){(t.children||[]).forEach(e),t.properties&&t.properties.afterRemoved&&t.properties.afterRemoved.apply(t.properties.bind||t.properties,[t.domNode])},j=function(){g=!1,y.forEach(b),y.length=0},w=function(e){y.push(e),g||(g=!0,"undefined"!=typeof window&&"requestIdleCallback"in window?window.requestIdleCallback(j,{timeout:16}):setTimeout(j,16))},S=function(e,t){var n=e.domNode;if(e.properties){var r=e.properties.exitAnimation;if(r){n.style.pointerEvents="none";var o=function(){n.parentNode&&(n.parentNode.removeChild(n),w(e))};return"function"==typeof r?void r(n,o,e.properties):void t.exit(e.domNode,e.properties,r,o)}}n.parentNode&&(n.parentNode.removeChild(n),w(e))},E=function(e,t,n,r){var o=e[t];if(""!==o.vnodeSelector){var s=o.properties;if(!(s?void 0===s.key?s.bind:s.key:void 0))for(var u=0;u<e.length;u++)if(u!==t){var i=e[u];if(a(i,o))throw"added"===r?new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child added, but there is now more than one. You must add unique key properties to make them distinguishable."):new Error(n.vnodeSelector+" had a "+o.vnodeSelector+" child removed, but there were more than one. You must add unique key properties to make them distinguishable.")}}},C=function(e,t,n,r,u){if(n===r)return!1;n=n||i,r=r||i;for(var d,l=n.length,c=r.length,f=u.transitions,m=0,p=0,h=!1;p<c;){var y=m<l?n[m]:void 0,g=r[p];if(void 0!==y&&a(y,g))h=s(y,g,u)||h,m++;else{var b=v(n,g,m+1);if(b>=0){for(d=m;d<b;d++)S(n[d],f),E(n,d,e,"removed");h=s(n[b],g,u)||h,m=b+1}else o(g,t,m<l?n[m].domNode:void 0,u),_(g,f),E(r,p,e,"added")}p++}if(l>m)for(d=m;d<l;d++)S(n[d],f),E(n,d,e,"removed");return h},T=function(e,t,n){!function(e,t,n){if(t)for(var r=0;r<t.length;r++)o(t[r],e,void 0,n)}(e,t.children,n),t.text&&(e.textContent=t.text),function(e,t,n){if(t)for(var o=n.eventHandlerInterceptor,s=Object.keys(t),i=s.length,d=function(i){var d=s[i],a=t[d];if("className"===d)throw new Error('Property "className" is not supported, use "class".');if("class"===d)a.split(/\s+/).forEach(function(t){return e.classList.add(t)});else if("classes"===d)for(var l=Object.keys(a),c=l.length,f=0;f<c;f++){var m=l[f];a[m]&&e.classList.add(m)}else if("styles"===d)for(var p=Object.keys(a),v=p.length,_=0;_<v;_++){var y=p[_],g=a[y];g&&(h(g),n.styleApplyer(e,y,g))}else if("key"!==d&&null!==a&&void 0!==a){var b=r(a);"function"===b?0===d.lastIndexOf("on",0)&&(o&&(a=o(d,a,e,t)),"oninput"===d&&function(){var e=a;a=function(t){e.apply(this,[t]),t.target["oninput-value"]=t.target.value}}(),e[d]=a):"string"===b&&"value"!==d&&"innerHTML"!==d?n.namespace===u&&"href"===d?e.setAttributeNS("http://www.w3.org/1999/xlink",d,a):e.setAttribute(d,a):e[d]=a}},a=0;a<i;a++)d(a)}(e,t.properties,n),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,n,t.vnodeSelector,t.properties,t.children])};o=function(e,t,n,r){var o,s,i,a,l,c=0,f=e.vnodeSelector,m=t.ownerDocument;if(""===f)o=e.domNode=m.createTextNode(e.text),void 0!==n?t.insertBefore(o,n):t.appendChild(o);else{for(s=0;s<=f.length;++s)if(i=f.charAt(s),s===f.length||"."===i||"#"===i){if(a=f.charAt(c-1),l=f.slice(c,s),"."===a)o.classList.add(l);else if("#"===a)o.id=l;else{if("svg"===l&&(r=d(r,{namespace:u})),void 0!==r.namespace)o=e.domNode=m.createElementNS(r.namespace,l);else{var p=void 0;e.properties&&e.properties.is?function(){var t=document.createElement("div");t.style.display="none",document.body.appendChild(t),t.innerHTML="<".concat(l,' is="').concat(e.properties.is,'"></').concat(l,">"),setTimeout(function(){document.body.removeChild(t)},10),p=m.createElement(l,{is:e.properties.is})}():p=m.createElement(l),o=e.domNode=e.domNode||p,"input"===l&&e.properties&&void 0!==e.properties.type&&o.setAttribute("type",e.properties.type)}o&&(void 0!==n?t.insertBefore(o,n):o.parentNode!==t&&t.appendChild(o))}c=s+1}T(o,e,r)}},s=function(e,t,n){var o=e.domNode,s=!1;if(e===t)return!1;var i=!1;if(""===t.vnodeSelector){if(t.text!==e.text){var a=o.ownerDocument.createTextNode(t.text);return o.parentNode.replaceChild(a,o),t.domNode=a,s=!0}}else 0===t.vnodeSelector.lastIndexOf("svg",0)&&(n=d(n,{namespace:u})),e.text!==t.text&&(i=!0,void 0===t.text?o.removeChild(o.firstChild):o.textContent=t.text),i=C(t,o,e.children,t.children,n)||i,i=function(e,t,n,o){if(n){for(var s=!1,i=Object.keys(n),d=i.length,a=0;a<d;a++){var l=i[a],c=n[l],f=t[l];if("class"===l){if(f!==c)throw new Error('"class" property may not be updated. Use the "classes" property for conditional css classes.')}else if("classes"===l)for(var m=e.classList,p=Object.keys(c),v=p.length,_=0;_<v;_++){var y=p[_],g=!!c[y];g!==!!f[y]&&(s=!0,g?m.add(y):m.remove(y))}else if("styles"===l)for(var b=Object.keys(c),j=b.length,w=0;w<j;w++){var S=b[w],E=c[S];E!==f[S]&&(s=!0,E?(h(E),o.styleApplyer(e,S,E)):o.styleApplyer(e,S,""))}else if(c||"string"!=typeof f||(c=""),"value"===l){var C=e[l];C!==c&&(e["oninput-value"]?C===e["oninput-value"]:c!==f)&&(e[l]=c,e["oninput-value"]=void 0),c!==f&&(s=!0)}else if(c!==f){var T=r(c);if("function"===T)throw new Error("Functions may not be updated on subsequent renders (property: "+l+"). Hint: declare event handler functions outside the render() function.");"string"===T&&"innerHTML"!==l?o.namespace===u&&"href"===l?e.setAttributeNS("http://www.w3.org/1999/xlink",l,c):"role"===l&&""===c?e.removeAttribute(l):e.setAttribute(l,c):e[l]!==c&&(e[l]=c),s=!0}}return s}}(o,e.properties,t.properties,n)||i,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[o,n,t.vnodeSelector,t.properties,t.children]);return i&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(o,t.properties,e.properties),t.domNode=e.domNode,s};var N,M=function(e,t){return{update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");s(e,n,t),e=n},domNode:e.domNode}};N=function(e){var t=arguments[1];if("string"!=typeof e)throw new Error;var n,o,s=1;!t||t.hasOwnProperty("vnodeSelector")||Array.isArray(t)||"object"!==r(t)?t=void 0:s=2;var u=arguments.length;if(u===s+1){var i=arguments[s];"string"==typeof i?n=i:void 0!==i&&null!==i&&1===i.length&&"string"==typeof i[0]&&(n=i[0])}if(void 0===n)for(o=[];s<u;s++){var d=arguments[s];null===d||void 0===d||(Array.isArray(d)?c(e,d,o):d.hasOwnProperty("vnodeSelector")?o.push(d):o.push(l(d)))}return{vnodeSelector:e,properties:t,children:o,text:""===n?void 0:n,domNode:null}};var x={create:function(e,t){return t=p(t),o(e,document.createElement("div"),void 0,t),M(e,t)},append:function(e,t,n){return n=p(n),o(t,e,void 0,n),M(t,n)},insertBefore:function(e,t,n){return n=p(n),o(t,e.parentNode,e,n),M(t,n)},merge:function(e,t,n){return n=p(n),t.domNode=e,T(e,t,n),M(t,n)},replace:function(e,t,n){return n=p(n),o(t,e.parentNode,e,n),e.parentNode.removeChild(e),M(t,n)}},L=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(n,r){if(e)for(var o=0;o<n.length;o++)e[o]!==n[o]&&(t=void 0);return t||(t=r(),e=n),t}}},O=function(e,t,n){var r=[],o=[];return{results:o,map:function(s){for(var u=s.map(e),i=o.slice(),d=0,a=0;a<s.length;a++){var l=s[a],c=u[a];if(c===r[d])o[a]=i[d],n(l,i[d],a),d++;else{for(var f=!1,m=1;m<r.length+1;m++){var p=(d+m)%r.length;if(r[p]===c){o[a]=i[p],n(s[a],i[p],a),d=p+1,f=!0;break}}f||(o[a]=t(l,a))}}o.length=s.length,r=u}}},A=function(e){var t,n=p(e);n.eventHandlerInterceptor=function(e,n,r,o){return function(){return t.scheduleRender(),n.apply(o.bind||this,arguments)}};var r,o=!0,s=!1,u=[],i=[],d=function(){if(r=void 0,o){o=!1;for(var e=0;e<u.length;e++){var t=i[e]();u[e].update(t)}o=!0}};return t={renderNow:d,scheduleRender:function(){r||s||(r=requestAnimationFrame(d))},stop:function(){r&&(cancelAnimationFrame(r),r=void 0),s=!0},resume:function(){s=!1,o=!0,t.scheduleRender()},append:function(e,t){u.push(x.append(e,t(),n)),i.push(t)},insertBefore:function(e,t){u.push(x.insertBefore(e,t(),n)),i.push(t)},merge:function(e,t){u.push(x.merge(e,t(),n)),i.push(t)},replace:function(e,t){u.push(x.replace(e,t(),n)),i.push(t)},detach:function(e){for(var t=0;t<i.length;t++)if(i[t]===e)return i.splice(t,1),u.splice(t,1)[0];throw new Error("renderMaquetteFunction was not found")}}}},1:function(e,t,n){n("../node_modules/@webcomponents/shadydom/shadydom.min.js"),n("../node_modules/@webcomponents/shadycss/scoping-shim.min.js"),n("../node_modules/@webcomponents/shadycss/apply-shim.min.js"),n("../node_modules/@webcomponents/shadycss/custom-style-interface.min.js"),n("../node_modules/document-register-element/build/document-register-element.js"),n("../node_modules/underscore/modules/index-all.js"),e.exports=n("./index.tsx")}});
|
|
22
|
+
function(e,t){"use strict";var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,u=function(e,t){(t=t.toLowerCase())in l||(l[e]=(l[e]||[]).concat(t),l[t]=l[t.toUpperCase()]=e)},l=(r.create||r)(null),c={};for(n in e)for(i in e[n])for(o=e[n][i],l[i]=o,t=0;t<o.length;t++)l[o[t].toLowerCase()]=l[o[t].toUpperCase()]=i;return c.get=function(e){return"string"==typeof e?l[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in l)e.test(t)&&n.push(t);return n}(e)},c.set=function(e,t){return a.test(e)?u(e,t):u(t,e),c},c}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof t&&(t={type:t||"auto"});var i,a,u,l,c,s,f,p,d,m="registerElement",h="__registerElement"+(1e5*e.Math.random()>>0),y="addEventListener",v="attached",g="Callback",b="detached",S="extends",w="attributeChangedCallback",E="createdCallback",T="ADDITION",C="MODIFICATION",M="REMOVAL",L="DOMAttrModified",O="DOMContentLoaded",A="<",H="=",x=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,N=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],_=[],j=[],I="",k=n.documentElement,P=_.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},R=r.prototype,D=R.hasOwnProperty,F=R.isPrototypeOf,V=r.defineProperty,B=[],q=r.getOwnPropertyDescriptor,U=r.getOwnPropertyNames,$=r.getPrototypeOf,W=r.setPrototypeOf,z=!!r.__proto__,Z="__dreCEv1",K=e.customElements,X=!/^force/.test(t.type)&&!!(K&&K.define&&K.get&&K.whenDefined),Y=r.create||r,G=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[P.call(t,e)]},set:function(r,o){(e=P.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},Q=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},J=!1,ee=Y(null),te=Y(null),ne=new G,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=W||(z?function(e,t){return e.__proto__=t,e}:U&&q?function(){function e(e,t){for(var n,r=U(t),o=0,i=r.length;o<i;o++)n=r[o],D.call(e,n)||V(e,n,q(t,n))}return function(t,n){do{e(t,n)}while((n=$(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,ue=e.HTMLAnchorElement,le=(e.HTMLElement||e.Element||e.Node).prototype,ce=!F.call(le,k),se=ce?function(e,t,n){return e[t]=n.value,e}:V,fe=ce?function(e){return 1===e.nodeType}:function(e){return F.call(le,e)},pe=ce&&[],de=le.attachShadow,me=le.cloneNode,he=le.dispatchEvent,ye=le.getAttribute,ve=le.hasAttribute,ge=le.removeAttribute,be=le.setAttribute,Se=n.createElement,we=n.importNode,Ee=Se,Te=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ce=ae||function(e){He=!1,k.removeEventListener(L,Ce)},Me=0,Le=m in n&&!/^force-all/.test(t.type),Oe=!0,Ae=!1,He=!0,xe=!0,Ne=!0;function _e(){var e=i.splice(0,i.length);for(Me=0;e.length;)e.shift().call(null,e.shift())}function je(e,t){for(var n=0,r=e.length;n<r;n++)$e(e[n],t)}function Ie(e){return function(t){fe(t)&&($e(t,e),I.length&&je(t.querySelectorAll(I),e))}}function ke(e){var t=ye.call(e,"is"),n=e.nodeName.toUpperCase(),r=P.call(_,t?H+t.toUpperCase():A+n);return t&&-1<r&&!Pe(n,t)?-1:r}function Pe(e,t){return-1<I.indexOf(e+'[is="'+t+'"]')}function Re(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Ne||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function De(e){var t=Ie(e);return function(e){i.push(t,e.target),Me&&clearTimeout(Me),Me=setTimeout(_e,1)}}function Fe(e){xe&&(xe=!1,e.currentTarget.removeEventListener(O,Fe)),I.length&&je((e.target||n).querySelectorAll(I),e.detail===b?b:v),ce&&function(){for(var e,t=0,n=pe.length;t<n;t++)e=pe[t],k.contains(e)||(n--,pe.splice(t--,1),$e(e,b))}()}function Ve(e,t){var n=this;be.call(n,e,t),a.call(n,{target:n})}function Be(e,t,n){var r=t.apply(e,n),o=ke(r);return-1<o&&p(r,j[o]),n.pop()&&I.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],p(t,j[ke(t)])}(r.querySelectorAll(I)),r}function qe(e,t){ie(e,t),c?c.observe(e,Te):(He&&(e.setAttribute=Ve,e[h]=l(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(L,Re)),e.createdCallback&&Ne&&(e.created=!0,e.createdCallback(),e.created=!1)}function Ue(e){throw new Error("A "+e+" type is already registered")}function $e(e,t){var n,r,o=ke(e);-1<o&&(f(e,j[o]),o=0,t!==v||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,ce&&P.call(pe,e)<0&&pe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function We(){}function ze(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),u=t.observedAttributes||B,l={prototype:a};se(a,E,{value:function(){if(J)J=!1;else if(!this[Z]){this[Z]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!X||e.create.length>1)&&Xe(this)}}}),se(a,w,{value:function(e){-1<P.call(u,e)&&i.attributeChangedCallback&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&se(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&se(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(l.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),l),Ye(e),te[e].r()}function Ze(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function Ke(e){return"string"==typeof e?e:e&&e.is||""}function Xe(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function Ye(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new Q((function(t){te[e].r=t}))),te[e].p}function Ge(){K&&delete e.customElements,V(e,"customElements",{configurable:!0,value:new We}),V(e,"CustomElementRegistry",{configurable:!0,value:We});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[Z]||(J=!0,t=ee[ne.get(e.constructor)],(e=(o=X&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[Z]=!0,J=!1,o||Xe(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){!0,V(r,Z,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=Ke(t);return n?Ee.call(this,e,re(n)):Ee.call(this,e)},Le||(Ae=!0,n.registerElement(""))}if(ae&&((d=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(d=q(le,"innerHTML"))&&d.set;n&&V(le,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),d=null})).observe(d,{childList:!0,subtree:!0}),d.innerHTML=""),Le||(W||z?(f=function(e,t){F.call(t,e)||qe(e,t)},p=qe):p=f=function(e,t){e[h]||(e[h]=r(!0),qe(e,t))},ce?(He=!1,function(){var e=q(le,y),t=e.value,n=function(e){var t=new CustomEvent(L,{bubbles:!0});t.attrName=e,t.prevValue=ye.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,ge.call(this,e),he.call(this,t)},r=function(e,t){var n=ve.call(this,e),r=n&&ye.call(this,e),o=new CustomEvent(L,{bubbles:!0});be.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,he.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[h],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(L,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,he.call(n,t))};e.value=function(e,i,a){e===L&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[h]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},V(le,y,e)}()):ae||(k.addEventListener(L,Ce),k.setAttribute(h,1),k.removeAttribute(h),He&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[h],o[h]=n=l(o),n){if(!(r in t))return u(0,o,r,t[r],n[r],T);if(n[r]!==t[r])return u(1,o,r,t[r],n[r],C)}for(r in t)if(!(r in n))return u(2,o,r,t[r],n[r],M)}},u=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,Re(a)},l=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),Oe&&(Oe=!1,ae?(c=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,u=0,l=r.length;u<l;u++)"childList"===(o=r[u]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Ne&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=ye.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ie(v),Ie(b)),(s=function(e){return c.observe(e,{childList:!0,subtree:!0}),e})(n),de&&(le.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",De(v)),n.addEventListener("DOMNodeRemoved",De(b))),n.addEventListener(O,Fe),n.addEventListener("readystatechange",Fe),n.importNode=function(e,t){switch(e.nodeType){case 1:return Be(n,we,[e,!!t]);case 11:for(var r=n.createDocumentFragment(),o=e.childNodes,i=o.length,a=0;a<i;a++)r.appendChild(n.importNode(o[a],!!t));return r;default:return me.call(e,!!t)}},le.cloneNode=function(e){return Be(this,me,[!!e])}),Ae)return Ae=!1;if(-2<P.call(_,H+r)+P.call(_,A+r)&&Ue(e),!x.test(r)||-1<P.call(N,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return l?n.createElement(f,r):n.createElement(f)},u=t||R,l=D.call(u,S),f=l?t.extends.toUpperCase():r;return l&&-1<P.call(_,A+f)&&Ue(f),o=_.push((l?H:A)+r)-1,I=I.concat(I.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=j[o]=D.call(u,"prototype")?u.prototype:oe(le),I.length&&je(n.querySelectorAll(I),v),a},n.createElement=Ee=function(e,t){var r=Ke(t),o=r?Se.call(n,e,re(r)):Se.call(n,e),i=""+e,a=P.call(_,(r?H:A)+(r||i).toUpperCase()),u=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),u&&(u=Pe(i.toUpperCase(),r))),Ne=!n.createElement.innerHTMLHelper,u&&p(o,j[a]),o}),We.prototype={constructor:We,define:X?function(e,t,n){if(n)ze(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),K.define(e,t)}}:ze,get:X?function(e){return K.get(e)||Ze(e)}:Ze,whenDefined:X?function(e){return Q.race([K.whenDefined(e),Ye(e)])}:Ye},!K||/^force/.test(t.type))Ge();else if(!t.noBuiltIn)try{!function(t,r,o){var i=new RegExp("^<a\\s+is=('|\")"+o+"\\1></a>$");if(r.extends="a",(t.prototype=oe(ue.prototype)).constructor=t,e.customElements.define(o,t,r),!i.test(n.createElement("a",{is:o}).outerHTML)||!i.test((new t).outerHTML))throw r}((function e(){return Reflect.construct(ue,[],e)}),{},"document-register-element-a")}catch(e){Ge()}if(!t.noBuiltIn)try{if(Se.call(n,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(e){re=function(e){return{is:e.toLowerCase()}}}}},50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{VERSION:()=>o,after:()=>It,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>Ie,before:()=>kt,bind:()=>Et,bindAll:()=>Mt,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>On,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>hn,create:()=>Re,debounce:()=>xt,default:()=>Un,defaults:()=>ke,defer:()=>At,delay:()=>Ot,detect:()=>Wt,difference:()=>Hn,drop:()=>Mn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>Ie,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Cn,flatten:()=>An,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>Ne,get:()=>Ue,groupBy:()=>dn,has:()=>$e,head:()=>Cn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>Ut,initial:()=>Tn,inject:()=>Yt,intersection:()=>jn,invert:()=>xe,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>A,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>he,isError:()=>k,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Ce,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>_,isObject:()=>M,isRegExp:()=>I,isSet:()=>Le,isString:()=>N,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>O,isWeakMap:()=>Me,isWeakSet:()=>Oe,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>Ne,min:()=>ln,mixin:()=>Vn,negate:()=>_t,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Mn,restArguments:()=>C,result:()=>ht,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Mn,take:()=>Cn,tap:()=>Fe,template:()=>mt,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>In,unescape:()=>ut,union:()=>_n,uniq:()=>Nn,unique:()=>Nn,uniqueId:()=>vt,unzip:()=>In,values:()=>Ae,where:()=>an,without:()=>xn,wrap:()=>Nt,zip:()=>kn});var r={};n.r(r),n.d(r,{VERSION:()=>o,after:()=>It,all:()=>en,allKeys:()=>ye,any:()=>tn,assign:()=>Ie,before:()=>kt,bind:()=>Et,bindAll:()=>Mt,chain:()=>gt,chunk:()=>Dn,clone:()=>De,collect:()=>Kt,compact:()=>On,compose:()=>jt,constant:()=>Q,contains:()=>nn,countBy:()=>hn,create:()=>Re,debounce:()=>xt,default:()=>Bn,defaults:()=>ke,defer:()=>At,delay:()=>Ot,detect:()=>Wt,difference:()=>Hn,drop:()=>Mn,each:()=>Zt,escape:()=>at,every:()=>en,extend:()=>je,extendOwn:()=>Ie,filter:()=>Qt,find:()=>Wt,findIndex:()=>Ft,findKey:()=>Rt,findLastIndex:()=>Vt,findWhere:()=>zt,first:()=>Cn,flatten:()=>An,foldl:()=>Yt,foldr:()=>Gt,forEach:()=>Zt,functions:()=>Ne,get:()=>Ue,groupBy:()=>dn,has:()=>$e,head:()=>Cn,identity:()=>We,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>Ut,initial:()=>Tn,inject:()=>Yt,intersection:()=>jn,invert:()=>xe,invoke:()=>rn,isArguments:()=>X,isArray:()=>z,isArrayBuffer:()=>R,isBoolean:()=>A,isDataView:()=>W,isDate:()=>j,isElement:()=>H,isEmpty:()=>le,isEqual:()=>he,isError:()=>k,isFinite:()=>Y,isFunction:()=>V,isMap:()=>Ce,isMatch:()=>ce,isNaN:()=>G,isNull:()=>L,isNumber:()=>_,isObject:()=>M,isRegExp:()=>I,isSet:()=>Le,isString:()=>N,isSymbol:()=>P,isTypedArray:()=>oe,isUndefined:()=>O,isWeakMap:()=>Me,isWeakSet:()=>Oe,iteratee:()=>Ye,keys:()=>ue,last:()=>Ln,lastIndexOf:()=>$t,map:()=>Kt,mapObject:()=>Qe,matcher:()=>ze,matches:()=>ze,max:()=>un,memoize:()=>Lt,methods:()=>Ne,min:()=>ln,mixin:()=>Vn,negate:()=>_t,noop:()=>Je,now:()=>rt,object:()=>Pn,omit:()=>En,once:()=>Pt,pairs:()=>He,partial:()=>wt,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Ze,propertyOf:()=>et,random:()=>nt,range:()=>Rn,reduce:()=>Yt,reduceRight:()=>Gt,reject:()=>Jt,rest:()=>Mn,restArguments:()=>C,result:()=>ht,sample:()=>cn,select:()=>Qt,shuffle:()=>sn,size:()=>bn,some:()=>tn,sortBy:()=>fn,sortedIndex:()=>Bt,tail:()=>Mn,take:()=>Cn,tap:()=>Fe,template:()=>mt,templateSettings:()=>lt,throttle:()=>Ht,times:()=>tt,toArray:()=>gn,toPath:()=>Ve,transpose:()=>In,unescape:()=>ut,union:()=>_n,uniq:()=>Nn,unique:()=>Nn,uniqueId:()=>vt,unzip:()=>In,values:()=>Ae,where:()=>an,without:()=>xn,wrap:()=>Nt,zip:()=>kn});var o="1.13.1",i="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},a=Array.prototype,u=Object.prototype,l="undefined"!=typeof Symbol?Symbol.prototype:null,c=a.push,s=a.slice,f=u.toString,p=u.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,m="undefined"!=typeof DataView,h=Array.isArray,y=Object.keys,v=Object.create,g=d&&ArrayBuffer.isView,b=isNaN,S=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),E=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],T=Math.pow(2,53)-1;function C(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function M(e){var t=typeof e;return"function"===t||"object"===t&&!!e}function L(e){return null===e}function O(e){return void 0===e}function A(e){return!0===e||!1===e||"[object Boolean]"===f.call(e)}function H(e){return!(!e||1!==e.nodeType)}function x(e){var t="[object "+e+"]";return function(e){return f.call(e)===t}}const N=x("String"),_=x("Number"),j=x("Date"),I=x("RegExp"),k=x("Error"),P=x("Symbol"),R=x("ArrayBuffer");var D=x("Function"),F=i.document&&i.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof F&&(D=function(e){return"function"==typeof e||!1});const V=D,B=x("Object");var q=m&&B(new DataView(new ArrayBuffer(8))),U="undefined"!=typeof Map&&B(new Map),$=x("DataView");const W=q?function(e){return null!=e&&V(e.getInt8)&&R(e.buffer)}:$,z=h||x("Array");function Z(e,t){return null!=e&&p.call(e,t)}var K=x("Arguments");!function(){K(arguments)||(K=function(e){return Z(e,"callee")})}();const X=K;function Y(e){return!P(e)&&S(e)&&!isNaN(parseFloat(e))}function G(e){return _(e)&&b(e)}function Q(e){return function(){return e}}function J(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=T}}function ee(e){return function(t){return null==t?void 0:t[e]}}const te=ee("byteLength"),ne=J(te);var re=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const oe=d?function(e){return g?g(e)&&!W(e):ne(e)&&re.test(f.call(e))}:Q(!1),ie=ee("length");function ae(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=E.length,r=e.constructor,o=V(r)&&r.prototype||u,i="constructor";for(Z(e,i)&&!t.contains(i)&&t.push(i);n--;)(i=E[n])in e&&e[i]!==o[i]&&!t.contains(i)&&t.push(i)}function ue(e){if(!M(e))return[];if(y)return y(e);var t=[];for(var n in e)Z(e,n)&&t.push(n);return w&&ae(e,t),t}function le(e){if(null==e)return!0;var t=ie(e);return"number"==typeof t&&(z(e)||N(e)||X(e))?0===t:0===ie(ue(e))}function ce(e,t){var n=ue(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function se(e){return e instanceof se?e:this instanceof se?void(this._wrapped=e):new se(e)}function fe(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,te(e))}se.VERSION=o,se.prototype.value=function(){return this._wrapped},se.prototype.valueOf=se.prototype.toJSON=se.prototype.value,se.prototype.toString=function(){return String(this._wrapped)};var pe="[object DataView]";function de(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&me(e,t,n,r)}function me(e,t,n,r){e instanceof se&&(e=e._wrapped),t instanceof se&&(t=t._wrapped);var o=f.call(e);if(o!==f.call(t))return!1;if(q&&"[object Object]"==o&&W(e)){if(!W(t))return!1;o=pe}switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return l.valueOf.call(e)===l.valueOf.call(t);case"[object ArrayBuffer]":case pe:return me(fe(e),fe(t),n,r)}var i="[object Array]"===o;if(!i&&oe(e)){if(te(e)!==te(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;i=!0}if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,u=t.constructor;if(a!==u&&!(V(a)&&a instanceof a&&V(u)&&u instanceof u)&&"constructor"in e&&"constructor"in t)return!1}r=r||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return r[c]===t;if(n.push(e),r.push(t),i){if((c=e.length)!==t.length)return!1;for(;c--;)if(!de(e[c],t[c],n,r))return!1}else{var s,p=ue(e);if(c=p.length,ue(t).length!==c)return!1;for(;c--;)if(!Z(t,s=p[c])||!de(e[s],t[s],n,r))return!1}return n.pop(),r.pop(),!0}function he(e,t){return de(e,t)}function ye(e){if(!M(e))return[];var t=[];for(var n in e)t.push(n);return w&&ae(e,t),t}function ve(e){var t=ie(e);return function(n){if(null==n)return!1;var r=ye(n);if(ie(r))return!1;for(var o=0;o<t;o++)if(!V(n[e[o]]))return!1;return e!==Ee||!V(n[ge])}}var ge="forEach",be=["clear","delete"],Se=["get","has","set"],we=be.concat(ge,Se),Ee=be.concat(Se),Te=["add"].concat(be,ge,"has");const Ce=U?ve(we):x("Map"),Me=U?ve(Ee):x("WeakMap"),Le=U?ve(Te):x("Set"),Oe=x("WeakSet");function Ae(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function He(e){for(var t=ue(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r}function xe(e){for(var t={},n=ue(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function Ne(e){var t=[];for(var n in e)V(e[n])&&t.push(n);return t.sort()}function _e(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),u=a.length,l=0;l<u;l++){var c=a[l];t&&void 0!==n[c]||(n[c]=i[c])}return n}}const je=_e(ye),Ie=_e(ue),ke=_e(ye,!0);function Pe(e){if(!M(e))return{};if(v)return v(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Re(e,t){var n=Pe(e);return t&&Ie(n,t),n}function De(e){return M(e)?z(e)?e.slice():je({},e):e}function Fe(e,t){return t(e),e}function Ve(e){return z(e)?e:[e]}function Be(e){return se.toPath(e)}function qe(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Ue(e,t,n){var r=qe(e,Be(t));return O(r)?n:r}function $e(e,t){for(var n=(t=Be(t)).length,r=0;r<n;r++){var o=t[r];if(!Z(e,o))return!1;e=e[o]}return!!n}function We(e){return e}function ze(e){return e=Ie({},e),function(t){return ce(t,e)}}function Ze(e){return e=Be(e),function(t){return qe(t,e)}}function Ke(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Xe(e,t,n){return null==e?We:V(e)?Ke(e,t,n):M(e)&&!z(e)?ze(e):Ze(e)}function Ye(e,t){return Xe(e,t,1/0)}function Ge(e,t,n){return se.iteratee!==Ye?se.iteratee(e,t):Xe(e,t,n)}function Qe(e,t,n){t=Ge(t,n);for(var r=ue(e),o=r.length,i={},a=0;a<o;a++){var u=r[a];i[u]=t(e[u],u,e)}return i}function Je(){}function et(e){return null==e?Je:function(t){return Ue(e,t)}}function tt(e,t,n){var r=Array(Math.max(0,e));t=Ke(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r}function nt(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}se.toPath=Ve,se.iteratee=Ye;const rt=Date.now||function(){return(new Date).getTime()};function ot(e){var t=function(t){return e[t]},n="(?:"+ue(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}const it={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},at=ot(it),ut=ot(xe(it)),lt=se.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var ct=/(.)^/,st={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},ft=/\\|'|\r|\n|\u2028|\u2029/g;function pt(e){return"\\"+st[e]}var dt=/^\s*(\w|\$)+\s*$/;function mt(e,t,n){!t&&n&&(t=n),t=ke({},t,se.templateSettings);var r=RegExp([(t.escape||ct).source,(t.interpolate||ct).source,(t.evaluate||ct).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,u){return i+=e.slice(o,u).replace(ft,pt),o=u+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,u=t.variable;if(u){if(!dt.test(u))throw new Error("variable is not a bare identifier: "+u)}else i="with(obj||{}){\n"+i+"}\n",u="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(u,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return a.call(this,e,se)};return l.source="function("+u+"){\n"+i+"}",l}function ht(e,t,n){var r=(t=Be(t)).length;if(!r)return V(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=V(i)?i.call(e):i}return e}var yt=0;function vt(e){var t=++yt+"";return e?e+t:t}function gt(e){var t=se(e);return t._chain=!0,t}function bt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Pe(e.prototype),a=e.apply(i,o);return M(a)?a:i}var St=C((function(e,t){var n=St.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),u=0;u<i;u++)a[u]=t[u]===n?arguments[o++]:t[u];for(;o<arguments.length;)a.push(arguments[o++]);return bt(e,r,this,this,a)};return r}));St.placeholder=se;const wt=St,Et=C((function(e,t,n){if(!V(e))throw new TypeError("Bind must be called on a function");var r=C((function(o){return bt(e,r,t,this,n.concat(o))}));return r})),Tt=J(ie);function Ct(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ie(e);i<a;i++){var u=e[i];if(Tt(u)&&(z(u)||X(u)))if(t>1)Ct(u,t-1,n,r),o=r.length;else for(var l=0,c=u.length;l<c;)r[o++]=u[l++];else n||(r[o++]=u)}return r}const Mt=C((function(e,t){var n=(t=Ct(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Et(e[r],e)}return e}));function Lt(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return Z(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n}const Ot=C((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),At=wt(Ot,se,1);function Ht(e,t,n){var r,o,i,a,u=0;n||(n={});var l=function(){u=!1===n.leading?0:rt(),r=null,a=e.apply(o,i),r||(o=i=null)},c=function(){var c=rt();u||!1!==n.leading||(u=c);var s=t-(c-u);return o=this,i=arguments,s<=0||s>t?(r&&(clearTimeout(r),r=null),u=c,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,s)),a};return c.cancel=function(){clearTimeout(r),u=0,r=o=i=null},c}function xt(e,t,n){var r,o,i,a,u,l=function(){var c=rt()-o;t>c?r=setTimeout(l,t-c):(r=null,n||(a=e.apply(u,i)),r||(i=u=null))},c=C((function(c){return u=this,i=c,o=rt(),r||(r=setTimeout(l,t),n&&(a=e.apply(u,i))),a}));return c.cancel=function(){clearTimeout(r),r=i=u=null},c}function Nt(e,t){return wt(t,e)}function _t(e){return function(){return!e.apply(this,arguments)}}function jt(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}function It(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function kt(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}const Pt=wt(kt,2);function Rt(e,t,n){t=Ge(t,n);for(var r,o=ue(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function Dt(e){return function(t,n,r){n=Ge(n,r);for(var o=ie(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}const Ft=Dt(1),Vt=Dt(-1);function Bt(e,t,n,r){for(var o=(n=Ge(n,r,1))(t),i=0,a=ie(e);i<a;){var u=Math.floor((i+a)/2);n(e[u])<o?i=u+1:a=u}return i}function qt(e,t,n){return function(r,o,i){var a=0,u=ie(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+u,a):u=i>=0?Math.min(i+1,u):i+u+1;else if(n&&i&&u)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(s.call(r,a,u),G))>=0?i+a:-1;for(i=e>0?a:u-1;i>=0&&i<u;i+=e)if(r[i]===o)return i;return-1}}const Ut=qt(1,Ft,Bt),$t=qt(-1,Vt);function Wt(e,t,n){var r=(Tt(e)?Ft:Rt)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function zt(e,t){return Wt(e,ze(t))}function Zt(e,t,n){var r,o;if(t=Ke(t,n),Tt(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ue(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function Kt(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var u=r?r[a]:a;i[a]=t(e[u],u,e)}return i}function Xt(e){var t=function(t,n,r,o){var i=!Tt(t)&&ue(t),a=(i||t).length,u=e>0?0:a-1;for(o||(r=t[i?i[u]:u],u+=e);u>=0&&u<a;u+=e){var l=i?i[u]:u;r=n(r,t[l],l,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,Ke(n,o,4),r,i)}}const Yt=Xt(1),Gt=Xt(-1);function Qt(e,t,n){var r=[];return t=Ge(t,n),Zt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Jt(e,t,n){return Qt(e,_t(Ge(t)),n)}function en(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function tn(e,t,n){t=Ge(t,n);for(var r=!Tt(e)&&ue(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function nn(e,t,n,r){return Tt(e)||(e=Ae(e)),("number"!=typeof n||r)&&(n=0),Ut(e,t,n)>=0}const rn=C((function(e,t,n){var r,o;return V(t)?o=t:(t=Be(t),r=t.slice(0,-1),t=t[t.length-1]),Kt(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=qe(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function on(e,t){return Kt(e,Ze(t))}function an(e,t){return Qt(e,ze(t))}function un(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Tt(e)?e:Ae(e)).length;u<l;u++)null!=(r=e[u])&&r>i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)}));return i}function ln(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var u=0,l=(e=Tt(e)?e:Ae(e)).length;u<l;u++)null!=(r=e[u])&&r<i&&(i=r);else t=Ge(t,n),Zt(e,(function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)}));return i}function cn(e,t,n){if(null==t||n)return Tt(e)||(e=Ae(e)),e[nt(e.length-1)];var r=Tt(e)?De(e):Ae(e),o=ie(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var u=nt(a,i),l=r[a];r[a]=r[u],r[u]=l}return r.slice(0,t)}function sn(e){return cn(e,1/0)}function fn(e,t,n){var r=0;return t=Ge(t,n),on(Kt(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")}function pn(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=Ge(r,o),Zt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}const dn=pn((function(e,t,n){Z(e,n)?e[n].push(t):e[n]=[t]})),mn=pn((function(e,t,n){e[n]=t})),hn=pn((function(e,t,n){Z(e,n)?e[n]++:e[n]=1})),yn=pn((function(e,t,n){e[n?0:1].push(t)}),!0);var vn=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function gn(e){return e?z(e)?s.call(e):N(e)?e.match(vn):Tt(e)?Kt(e,We):Ae(e):[]}function bn(e){return null==e?0:Tt(e)?e.length:ue(e).length}function Sn(e,t,n){return t in n}const wn=C((function(e,t){var n={},r=t[0];if(null==e)return n;V(r)?(t.length>1&&(r=Ke(r,t[1])),t=ye(e)):(r=Sn,t=Ct(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],u=e[a];r(u,a,e)&&(n[a]=u)}return n})),En=C((function(e,t){var n,r=t[0];return V(r)?(r=_t(r),t.length>1&&(n=t[1])):(t=Kt(Ct(t,!1,!1),String),r=function(e,n){return!nn(t,n)}),wn(e,r,n)}));function Tn(e,t,n){return s.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Cn(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Tn(e,e.length-t)}function Mn(e,t,n){return s.call(e,null==t||n?1:t)}function Ln(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Mn(e,Math.max(0,e.length-t))}function On(e){return Qt(e,Boolean)}function An(e,t){return Ct(e,t,!1)}const Hn=C((function(e,t){return t=Ct(t,!0,!0),Qt(e,(function(e){return!nn(t,e)}))})),xn=C((function(e,t){return Hn(e,t)}));function Nn(e,t,n,r){A(t)||(r=n,n=t,t=!1),null!=n&&(n=Ge(n,r));for(var o=[],i=[],a=0,u=ie(e);a<u;a++){var l=e[a],c=n?n(l,a,e):l;t&&!n?(a&&i===c||o.push(l),i=c):n?nn(i,c)||(i.push(c),o.push(l)):nn(o,l)||o.push(l)}return o}const _n=C((function(e){return Nn(Ct(e,!0,!0))}));function jn(e){for(var t=[],n=arguments.length,r=0,o=ie(e);r<o;r++){var i=e[r];if(!nn(t,i)){var a;for(a=1;a<n&&nn(arguments[a],i);a++);a===n&&t.push(i)}}return t}function In(e){for(var t=e&&un(e,ie).length||0,n=Array(t),r=0;r<t;r++)n[r]=on(e,r);return n}const kn=C(In);function Pn(e,t){for(var n={},r=0,o=ie(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}function Rn(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}function Dn(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(s.call(e,r,r+=t));return n}function Fn(e,t){return e._chain?se(t).chain():t}function Vn(e){return Zt(Ne(e),(function(t){var n=se[t]=e[t];se.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Fn(this,n.apply(se,e))}})),se}Zt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=a[e];se.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Fn(this,n)}})),Zt(["concat","join","slice"],(function(e){var t=a[e];se.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Fn(this,e)}}));const Bn=se;var qn=Vn(r);qn._=qn;const Un=qn}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(259),n(659),n(765),n(50);n(239)})();
|